@eliseubatista99/react-scaffold-core 0.1.90 → 0.1.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js
CHANGED
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
<%s {...props} />
|
|
20
20
|
React keys must be passed directly to JSX without using spread:
|
|
21
21
|
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,$,V,K,V),m[V+$]=!0)}if(V=null,S!==void 0&&(r(S),V=""+S),c(f)&&(r(f.key),V=""+f.key),"key"in f){S={};for(var
|
|
22
|
+
<%s key={someKey} {...props} />`,$,V,K,V),m[V+$]=!0)}if(V=null,S!==void 0&&(r(S),V=""+S),c(f)&&(r(f.key),V=""+f.key),"key"in f){S={};for(var G in f)G!=="key"&&(S[G]=f[G])}else S=f;return V&&l(S,typeof n=="function"?n.displayName||n.name||"Unknown":n),h(n,V,z,L,a(),S,N,W)}function x(n){typeof n=="object"&&n!==null&&n.$$typeof===D&&n._store&&(n._store.validated=1)}var _=Y,D=Symbol.for("react.transitional.element"),P=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),U=Symbol.for("react.context"),q=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),d=Symbol.for("react.client.reference"),k=_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A=Object.prototype.hasOwnProperty,R=Array.isArray,T=console.createTask?console.createTask:function(){return null};_={"react-stack-bottom-frame":function(n){return n()}};var C,j={},o=_["react-stack-bottom-frame"].bind(_,s)(),H=T(i(s)),m={};He.Fragment=p,He.jsx=function(n,f,S,$,L){var z=1e4>k.recentlyCreatedOwnerStacks++;return g(n,f,S,!1,$,L,z?Error("react-stack-top-frame"):o,z?T(i(n)):H)},He.jsxs=function(n,f,S,$,L){var z=1e4>k.recentlyCreatedOwnerStacks++;return g(n,f,S,!0,$,L,z?Error("react-stack-top-frame"):o,z?T(i(n)):H)}}()),He}var nr;function Tn(){return nr||(nr=1,process.env.NODE_ENV==="production"?nt.exports=En():nt.exports=Rn()),nt.exports}var X=Tn();const _n=({children:e,onClick:t,styles:r})=>X.jsx("button",{style:{border:"none",borderRadius:"1000px",background:"#d6d6d6ff",padding:"12px 18px",fontSize:"16px",width:"fit-content",alignItems:"center",justifyContent:"center",display:"flex",flexDirection:"row",...r},onClick:i=>{i.preventDefault(),i.stopPropagation(),t?.()},children:e});var Ct={},Pt={},ze={},Et={},ir;function jn(){return ir||(ir=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};e.default=t}(Et)),Et}var Rt,ar;function Dn(){if(ar)return Rt;ar=1;var e="Expected a function",t=NaN,r="[object Symbol]",i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,u=typeof rt=="object"&&rt&&rt.Object===Object&&rt,h=typeof self=="object"&&self&&self.Object===Object&&self,g=u||h||Function("return this")(),x=Object.prototype,_=x.toString,D=Math.max,P=Math.min,p=function(){return g.Date.now()};function I(v,b,w){var E,y,d,k,A,R,T=0,C=!1,j=!1,o=!0;if(typeof v!="function")throw new TypeError(e);b=q(b)||0,O(w)&&(C=!!w.leading,j="maxWait"in w,d=j?D(q(w.maxWait)||0,b):d,o="trailing"in w?!!w.trailing:o);function H(W){var V=E,K=y;return E=y=void 0,T=W,k=v.apply(K,V),k}function m(W){return T=W,A=setTimeout(S,b),C?H(W):k}function n(W){var V=W-R,K=W-T,G=b-V;return j?P(G,d-K):G}function f(W){var V=W-R,K=W-T;return R===void 0||V>=b||V<0||j&&K>=d}function S(){var W=p();if(f(W))return $(W);A=setTimeout(S,n(W))}function $(W){return A=void 0,o&&E?H(W):(E=y=void 0,k)}function L(){A!==void 0&&clearTimeout(A),T=0,E=R=y=A=void 0}function z(){return A===void 0?k:$(p())}function N(){var W=p(),V=f(W);if(E=arguments,y=this,R=W,V){if(A===void 0)return m(R);if(j)return A=setTimeout(S,b),H(R)}return A===void 0&&(A=setTimeout(S,b)),k}return N.cancel=L,N.flush=z,N}function O(v){var b=typeof v;return!!v&&(b=="object"||b=="function")}function F(v){return!!v&&typeof v=="object"}function U(v){return typeof v=="symbol"||F(v)&&_.call(v)==r}function q(v){if(typeof v=="number")return v;if(U(v))return t;if(O(v)){var b=typeof v.valueOf=="function"?v.valueOf():v;v=O(b)?b+"":b}if(typeof v!="string")return v===0?v:+v;v=v.replace(i,"");var w=s.test(v);return w||c.test(v)?l(v.slice(2),w?2:8):a.test(v)?t:+v}return Rt=I,Rt}var Tt={exports:{}};/*!
|
|
23
23
|
Copyright (c) 2018 Jed Watson.
|
|
24
24
|
Licensed under the MIT License (MIT), see
|
|
25
25
|
http://jedwatson.github.io/classnames
|
|
26
|
-
*/var or;function yt(){return or||(or=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var s="",c=0;c<arguments.length;c++){var l=arguments[c];l&&(s=a(s,i(l)))}return s}function i(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return r.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var c="";for(var l in s)t.call(s,l)&&s[l]&&(c=a(c,l));return c}function a(s,c){return c?s?s+" "+c:s+c:s}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(Tt)),Tt.exports}var B={},_t={},sr;function $r(){return sr||(sr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Y);function r(a){return a&&a.__esModule?a:{default:a}}var i={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(s){return t.default.createElement("ul",{style:{display:"block"}},s)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(s){return t.default.createElement("button",null,s+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,asNavFor:null,unslick:!1};e.default=i}(_t)),_t}var lr;function Ge(){if(lr)return B;lr=1,Object.defineProperty(B,"__esModule",{value:!0}),B.checkSpecKeys=B.checkNavigable=B.changeSlide=B.canUseDOM=B.canGoNext=void 0,B.clamp=h,B.extractObject=void 0,B.filterSettings=H,B.validSettings=B.swipeStart=B.swipeMove=B.swipeEnd=B.slidesOnRight=B.slidesOnLeft=B.slideHandler=B.siblingDirection=B.safePreventDefault=B.lazyStartIndex=B.lazySlidesOnRight=B.lazySlidesOnLeft=B.lazyEndIndex=B.keyHandler=B.initializedState=B.getWidth=B.getTrackLeft=B.getTrackCSS=B.getTrackAnimateCSS=B.getTotalSlides=B.getSwipeDirection=B.getSlideCount=B.getRequiredLazySlides=B.getPreClones=B.getPostClones=B.getOnDemandLazySlides=B.getNavigableIndexes=B.getHeight=void 0;var e=r(Y),t=r($r());function r(m){return m&&m.__esModule?m:{default:m}}function i(m){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},i(m)}function a(m,n){var f=Object.keys(m);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(m);n&&(S=S.filter(function($){return Object.getOwnPropertyDescriptor(m,$).enumerable})),f.push.apply(f,S)}return f}function s(m){for(var n=1;n<arguments.length;n++){var f=arguments[n]!=null?arguments[n]:{};n%2?a(Object(f),!0).forEach(function(S){c(m,S,f[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(f)):a(Object(f)).forEach(function(S){Object.defineProperty(m,S,Object.getOwnPropertyDescriptor(f,S))})}return m}function c(m,n,f){return(n=l(n))in m?Object.defineProperty(m,n,{value:f,enumerable:!0,configurable:!0,writable:!0}):m[n]=f,m}function l(m){var n=u(m,"string");return i(n)=="symbol"?n:n+""}function u(m,n){if(i(m)!="object"||!m)return m;var f=m[Symbol.toPrimitive];if(f!==void 0){var S=f.call(m,n);if(i(S)!="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(m)}function h(m,n,f){return Math.max(n,Math.min(m,f))}var g=B.safePreventDefault=function(n){var f=["onTouchStart","onTouchMove","onWheel"];f.includes(n._reactName)||n.preventDefault()},x=B.getOnDemandLazySlides=function(n){for(var f=[],S=_(n),$=D(n),L=S;L<$;L++)n.lazyLoadedList.indexOf(L)<0&&f.push(L);return f};B.getRequiredLazySlides=function(n){for(var f=[],S=_(n),$=D(n),L=S;L<$;L++)f.push(L);return f};var _=B.lazyStartIndex=function(n){return n.currentSlide-P(n)},D=B.lazyEndIndex=function(n){return n.currentSlide+p(n)},P=B.lazySlidesOnLeft=function(n){return n.centerMode?Math.floor(n.slidesToShow/2)+(parseInt(n.centerPadding)>0?1:0):0},p=B.lazySlidesOnRight=function(n){return n.centerMode?Math.floor((n.slidesToShow-1)/2)+1+(parseInt(n.centerPadding)>0?1:0):n.slidesToShow},I=B.getWidth=function(n){return n&&n.offsetWidth||0},O=B.getHeight=function(n){return n&&n.offsetHeight||0},F=B.getSwipeDirection=function(n){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,S,$,L,z;return S=n.startX-n.curX,$=n.startY-n.curY,L=Math.atan2($,S),z=Math.round(L*180/Math.PI),z<0&&(z=360-Math.abs(z)),z<=45&&z>=0||z<=360&&z>=315?"left":z>=135&&z<=225?"right":f===!0?z>=35&&z<=135?"up":"down":"vertical"},U=B.canGoNext=function(n){var f=!0;return n.infinite||(n.centerMode&&n.currentSlide>=n.slideCount-1||n.slideCount<=n.slidesToShow||n.currentSlide>=n.slideCount-n.slidesToShow)&&(f=!1),f};B.extractObject=function(n,f){var S={};return f.forEach(function($){return S[$]=n[$]}),S},B.initializedState=function(n){var f=e.default.Children.count(n.children),S=n.listRef,$=Math.ceil(I(S)),L=n.trackRef&&n.trackRef.node,z=Math.ceil(I(L)),N;if(n.vertical)N=$;else{var W=n.centerMode&&parseInt(n.centerPadding)*2;typeof n.centerPadding=="string"&&n.centerPadding.slice(-1)==="%"&&(W*=$/100),N=Math.ceil(($-W)/n.slidesToShow)}var V=S&&O(S.querySelector('[data-index="0"]')),K=V*n.slidesToShow,X=n.currentSlide===void 0?n.initialSlide:n.currentSlide;n.rtl&&n.currentSlide===void 0&&(X=f-1-n.initialSlide);var J=n.lazyLoadedList||[],te=x(s(s({},n),{},{currentSlide:X,lazyLoadedList:J}));J=J.concat(te);var Z={slideCount:f,slideWidth:N,listWidth:$,trackWidth:z,currentSlide:X,slideHeight:V,listHeight:K,lazyLoadedList:J};return n.autoplaying===null&&n.autoplay&&(Z.autoplaying="playing"),Z},B.slideHandler=function(n){var f=n.waitForAnimate,S=n.animating,$=n.fade,L=n.infinite,z=n.index,N=n.slideCount,W=n.lazyLoad,V=n.currentSlide,K=n.centerMode,X=n.slidesToScroll,J=n.slidesToShow,te=n.useCSS,Z=n.lazyLoadedList;if(f&&S)return{};var ee=z,ie,le,Q,oe={},ue={},ce=L?z:h(z,0,N-1);if($){if(!L&&(z<0||z>=N))return{};z<0?ee=z+N:z>=N&&(ee=z-N),W&&Z.indexOf(ee)<0&&(Z=Z.concat(ee)),oe={animating:!0,currentSlide:ee,lazyLoadedList:Z,targetSlide:ee},ue={animating:!1,targetSlide:ee}}else ie=ee,ee<0?(ie=ee+N,L?N%X!==0&&(ie=N-N%X):ie=0):!U(n)&&ee>V?ee=ie=V:K&&ee>=N?(ee=L?N:N-1,ie=L?0:N-1):ee>=N&&(ie=ee-N,L?N%X!==0&&(ie=0):ie=N-J),!L&&ee+J>=N&&(ie=N-J),le=d(s(s({},n),{},{slideIndex:ee})),Q=d(s(s({},n),{},{slideIndex:ie})),L||(le===Q&&(ee=ie),le=Q),W&&(Z=Z.concat(x(s(s({},n),{},{currentSlide:ee})))),te?(oe={animating:!0,currentSlide:ie,trackStyle:y(s(s({},n),{},{left:le})),lazyLoadedList:Z,targetSlide:ce},ue={animating:!1,currentSlide:ie,trackStyle:E(s(s({},n),{},{left:Q})),swipeLeft:null,targetSlide:ce}):oe={currentSlide:ie,trackStyle:E(s(s({},n),{},{left:Q})),lazyLoadedList:Z,targetSlide:ce};return{state:oe,nextState:ue}},B.changeSlide=function(n,f){var S,$,L,z,N,W=n.slidesToScroll,V=n.slidesToShow,K=n.slideCount,X=n.currentSlide,J=n.targetSlide,te=n.lazyLoad,Z=n.infinite;if(z=K%W!==0,S=z?0:(K-X)%W,f.message==="previous")L=S===0?W:V-S,N=X-L,te&&!Z&&($=X-L,N=$===-1?K-1:$),Z||(N=J-W);else if(f.message==="next")L=S===0?W:S,N=X+L,te&&!Z&&(N=(X+W)%K+S),Z||(N=J+W);else if(f.message==="dots")N=f.index*f.slidesToScroll;else if(f.message==="children"){if(N=f.index,Z){var ee=T(s(s({},n),{},{targetSlide:N}));N>f.currentSlide&&ee==="left"?N=N-K:N<f.currentSlide&&ee==="right"&&(N=N+K)}}else f.message==="index"&&(N=Number(f.index));return N},B.keyHandler=function(n,f,S){return n.target.tagName.match("TEXTAREA|INPUT|SELECT")||!f?"":n.keyCode===37?S?"next":"previous":n.keyCode===39?S?"previous":"next":""},B.swipeStart=function(n,f,S){return n.target.tagName==="IMG"&&g(n),!f||!S&&n.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:n.touches?n.touches[0].pageX:n.clientX,startY:n.touches?n.touches[0].pageY:n.clientY,curX:n.touches?n.touches[0].pageX:n.clientX,curY:n.touches?n.touches[0].pageY:n.clientY}}},B.swipeMove=function(n,f){var S=f.scrolling,$=f.animating,L=f.vertical,z=f.swipeToSlide,N=f.verticalSwiping,W=f.rtl,V=f.currentSlide,K=f.edgeFriction,X=f.edgeDragged,J=f.onEdge,te=f.swiped,Z=f.swiping,ee=f.slideCount,ie=f.slidesToScroll,le=f.infinite,Q=f.touchObject,oe=f.swipeEvent,ue=f.listHeight,ce=f.listWidth;if(!S){if($)return g(n);L&&z&&N&&g(n);var pe,Ee={},tt=d(f);Q.curX=n.touches?n.touches[0].pageX:n.clientX,Q.curY=n.touches?n.touches[0].pageY:n.clientY,Q.swipeLength=Math.round(Math.sqrt(Math.pow(Q.curX-Q.startX,2)));var er=Math.round(Math.sqrt(Math.pow(Q.curY-Q.startY,2)));if(!N&&!Z&&er>10)return{scrolling:!0};N&&(Q.swipeLength=er);var $e=(W?-1:1)*(Q.curX>Q.startX?1:-1);N&&($e=Q.curY>Q.startY?1:-1);var kn=Math.ceil(ee/ie),Ce=F(f.touchObject,N),Ie=Q.swipeLength;return le||(V===0&&(Ce==="right"||Ce==="down")||V+1>=kn&&(Ce==="left"||Ce==="up")||!U(f)&&(Ce==="left"||Ce==="up"))&&(Ie=Q.swipeLength*K,X===!1&&J&&(J(Ce),Ee.edgeDragged=!0)),!te&&oe&&(oe(Ce),Ee.swiped=!0),L?pe=tt+Ie*(ue/ce)*$e:W?pe=tt-Ie*$e:pe=tt+Ie*$e,N&&(pe=tt+Ie*$e),Ee=s(s({},Ee),{},{touchObject:Q,swipeLeft:pe,trackStyle:E(s(s({},f),{},{left:pe}))}),Math.abs(Q.curX-Q.startX)<Math.abs(Q.curY-Q.startY)*.8||Q.swipeLength>10&&(Ee.swiping=!0,g(n)),Ee}},B.swipeEnd=function(n,f){var S=f.dragging,$=f.swipe,L=f.touchObject,z=f.listWidth,N=f.touchThreshold,W=f.verticalSwiping,V=f.listHeight,K=f.swipeToSlide,X=f.scrolling,J=f.onSwipe,te=f.targetSlide,Z=f.currentSlide,ee=f.infinite;if(!S)return $&&g(n),{};var ie=W?V/N:z/N,le=F(L,W),Q={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(X||!L.swipeLength)return Q;if(L.swipeLength>ie){g(n),J&&J(le);var oe,ue,ce=ee?Z:te;switch(le){case"left":case"up":ue=ce+b(f),oe=K?v(f,ue):ue,Q.currentDirection=0;break;case"right":case"down":ue=ce-b(f),oe=K?v(f,ue):ue,Q.currentDirection=1;break;default:oe=ce}Q.triggerSlideHandler=oe}else{var pe=d(f);Q.trackStyle=y(s(s({},f),{},{left:pe}))}return Q};var q=B.getNavigableIndexes=function(n){for(var f=n.infinite?n.slideCount*2:n.slideCount,S=n.infinite?n.slidesToShow*-1:0,$=n.infinite?n.slidesToShow*-1:0,L=[];S<f;)L.push(S),S=$+n.slidesToScroll,$+=Math.min(n.slidesToScroll,n.slidesToShow);return L},v=B.checkNavigable=function(n,f){var S=q(n),$=0;if(f>S[S.length-1])f=S[S.length-1];else for(var L in S){if(f<S[L]){f=$;break}$=S[L]}return f},b=B.getSlideCount=function(n){var f=n.centerMode?n.slideWidth*Math.floor(n.slidesToShow/2):0;if(n.swipeToSlide){var S,$=n.listRef,L=$.querySelectorAll&&$.querySelectorAll(".slick-slide")||[];if(Array.from(L).every(function(W){if(n.vertical){if(W.offsetTop+O(W)/2>n.swipeLeft*-1)return S=W,!1}else if(W.offsetLeft-f+I(W)/2>n.swipeLeft*-1)return S=W,!1;return!0}),!S)return 0;var z=n.rtl===!0?n.slideCount-n.currentSlide:n.currentSlide,N=Math.abs(S.dataset.index-z)||1;return N}else return n.slidesToScroll},w=B.checkSpecKeys=function(n,f){return f.reduce(function(S,$){return S&&n.hasOwnProperty($)},!0)?null:console.error("Keys Missing:",n)},E=B.getTrackCSS=function(n){w(n,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var f,S;if(!n.vertical)f=R(n)*n.slideWidth;else{var $=n.unslick?n.slideCount:n.slideCount+2*n.slidesToShow;S=$*n.slideHeight}var L={opacity:1,transition:"",WebkitTransition:""};if(n.useTransform){var z=n.vertical?"translate3d(0px, "+n.left+"px, 0px)":"translate3d("+n.left+"px, 0px, 0px)",N=n.vertical?"translate3d(0px, "+n.left+"px, 0px)":"translate3d("+n.left+"px, 0px, 0px)",W=n.vertical?"translateY("+n.left+"px)":"translateX("+n.left+"px)";L=s(s({},L),{},{WebkitTransform:z,transform:N,msTransform:W})}else n.vertical?L.top=n.left:L.left=n.left;return n.fade&&(L={opacity:1}),f&&(L.width=f),S&&(L.height=S),window&&!window.addEventListener&&window.attachEvent&&(n.vertical?L.marginTop=n.left+"px":L.marginLeft=n.left+"px"),L},y=B.getTrackAnimateCSS=function(n){w(n,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var f=E(n);return n.useTransform?(f.WebkitTransition="-webkit-transform "+n.speed+"ms "+n.cssEase,f.transition="transform "+n.speed+"ms "+n.cssEase):n.vertical?f.transition="top "+n.speed+"ms "+n.cssEase:f.transition="left "+n.speed+"ms "+n.cssEase,f},d=B.getTrackLeft=function(n){if(n.unslick)return 0;w(n,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var f=n.slideIndex,S=n.trackRef,$=n.infinite,L=n.centerMode,z=n.slideCount,N=n.slidesToShow,W=n.slidesToScroll,V=n.slideWidth,K=n.listWidth,X=n.variableWidth,J=n.slideHeight,te=n.fade,Z=n.vertical,ee=0,ie,le,Q=0;if(te||n.slideCount===1)return 0;var oe=0;if($?(oe=-k(n),z%W!==0&&f+W>z&&(oe=-(f>z?N-(f-z):z%W)),L&&(oe+=parseInt(N/2))):(z%W!==0&&f+W>z&&(oe=N-z%W),L&&(oe=parseInt(N/2))),ee=oe*V,Q=oe*J,Z?ie=f*J*-1+Q:ie=f*V*-1+ee,X===!0){var ue,ce=S&&S.node;if(ue=f+k(n),le=ce&&ce.childNodes[ue],ie=le?le.offsetLeft*-1:0,L===!0){ue=$?f+k(n):f,le=ce&&ce.children[ue],ie=0;for(var pe=0;pe<ue;pe++)ie-=ce&&ce.children[pe]&&ce.children[pe].offsetWidth;ie-=parseInt(n.centerPadding),ie+=le&&(K-le.offsetWidth)/2}}return ie},k=B.getPreClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},A=B.getPostClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},R=B.getTotalSlides=function(n){return n.slideCount===1?1:k(n)+n.slideCount+A(n)},T=B.siblingDirection=function(n){return n.targetSlide>n.currentSlide?n.targetSlide>n.currentSlide+C(n)?"left":"right":n.targetSlide<n.currentSlide-j(n)?"right":"left"},C=B.slidesOnRight=function(n){var f=n.slidesToShow,S=n.centerMode,$=n.rtl,L=n.centerPadding;if(S){var z=(f-1)/2+1;return parseInt(L)>0&&(z+=1),$&&f%2===0&&(z+=1),z}return $?0:f-1},j=B.slidesOnLeft=function(n){var f=n.slidesToShow,S=n.centerMode,$=n.rtl,L=n.centerPadding;if(S){var z=(f-1)/2+1;return parseInt(L)>0&&(z+=1),!$&&f%2===0&&(z+=1),z}return $?f-1:0};B.canUseDOM=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)};var o=B.validSettings=Object.keys(t.default);function H(m){return o.reduce(function(n,f){return m.hasOwnProperty(f)&&(n[f]=m[f]),n},{})}return B}var Ne={},ur;function Ln(){if(ur)return Ne;ur=1,Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.Track=void 0;var e=i(Y),t=i(yt()),r=Ge();function i(y){return y&&y.__esModule?y:{default:y}}function a(y){"@babel/helpers - typeof";return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},a(y)}function s(){return s=Object.assign?Object.assign.bind():function(y){for(var d=1;d<arguments.length;d++){var k=arguments[d];for(var A in k)({}).hasOwnProperty.call(k,A)&&(y[A]=k[A])}return y},s.apply(null,arguments)}function c(y,d){if(!(y instanceof d))throw new TypeError("Cannot call a class as a function")}function l(y,d){for(var k=0;k<d.length;k++){var A=d[k];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(y,U(A.key),A)}}function u(y,d,k){return d&&l(y.prototype,d),Object.defineProperty(y,"prototype",{writable:!1}),y}function h(y,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(d&&d.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),d&&g(y,d)}function g(y,d){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,A){return k.__proto__=A,k},g(y,d)}function x(y){var d=P();return function(){var k,A=p(y);if(d){var R=p(this).constructor;k=Reflect.construct(A,arguments,R)}else k=A.apply(this,arguments);return _(this,k)}}function _(y,d){if(d&&(a(d)=="object"||typeof d=="function"))return d;if(d!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return D(y)}function D(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}function P(){try{var y=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(P=function(){return!!y})()}function p(y){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(d){return d.__proto__||Object.getPrototypeOf(d)},p(y)}function I(y,d){var k=Object.keys(y);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(y);d&&(A=A.filter(function(R){return Object.getOwnPropertyDescriptor(y,R).enumerable})),k.push.apply(k,A)}return k}function O(y){for(var d=1;d<arguments.length;d++){var k=arguments[d]!=null?arguments[d]:{};d%2?I(Object(k),!0).forEach(function(A){F(y,A,k[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(k)):I(Object(k)).forEach(function(A){Object.defineProperty(y,A,Object.getOwnPropertyDescriptor(k,A))})}return y}function F(y,d,k){return(d=U(d))in y?Object.defineProperty(y,d,{value:k,enumerable:!0,configurable:!0,writable:!0}):y[d]=k,y}function U(y){var d=q(y,"string");return a(d)=="symbol"?d:d+""}function q(y,d){if(a(y)!="object"||!y)return y;var k=y[Symbol.toPrimitive];if(k!==void 0){var A=k.call(y,d);if(a(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(d==="string"?String:Number)(y)}var v=function(d){var k,A,R,T,C;d.rtl?C=d.slideCount-1-d.index:C=d.index,R=C<0||C>=d.slideCount,d.centerMode?(T=Math.floor(d.slidesToShow/2),A=(C-d.currentSlide)%d.slideCount===0,C>d.currentSlide-T-1&&C<=d.currentSlide+T&&(k=!0)):k=d.currentSlide<=C&&C<d.currentSlide+d.slidesToShow;var j;d.targetSlide<0?j=d.targetSlide+d.slideCount:d.targetSlide>=d.slideCount?j=d.targetSlide-d.slideCount:j=d.targetSlide;var o=C===j;return{"slick-slide":!0,"slick-active":k,"slick-center":A,"slick-cloned":R,"slick-current":o}},b=function(d){var k={};return(d.variableWidth===void 0||d.variableWidth===!1)&&(k.width=d.slideWidth),d.fade&&(k.position="relative",d.vertical?k.top=-d.index*parseInt(d.slideHeight):k.left=-d.index*parseInt(d.slideWidth),k.opacity=d.currentSlide===d.index?1:0,k.zIndex=d.currentSlide===d.index?999:998,d.useCSS&&(k.transition="opacity "+d.speed+"ms "+d.cssEase+", visibility "+d.speed+"ms "+d.cssEase)),k},w=function(d,k){return d.key||k},E=function(d){var k,A=[],R=[],T=[],C=e.default.Children.count(d.children),j=(0,r.lazyStartIndex)(d),o=(0,r.lazyEndIndex)(d);return e.default.Children.forEach(d.children,function(H,m){var n,f={message:"children",index:m,slidesToScroll:d.slidesToScroll,currentSlide:d.currentSlide};!d.lazyLoad||d.lazyLoad&&d.lazyLoadedList.indexOf(m)>=0?n=H:n=e.default.createElement("div",null);var S=b(O(O({},d),{},{index:m})),$=n.props.className||"",L=v(O(O({},d),{},{index:m}));if(A.push(e.default.cloneElement(n,{key:"original"+w(n,m),"data-index":m,className:(0,t.default)(L,$),tabIndex:"-1","aria-hidden":!L["slick-active"],style:O(O({outline:"none"},n.props.style||{}),S),onClick:function(W){n.props&&n.props.onClick&&n.props.onClick(W),d.focusOnSelect&&d.focusOnSelect(f)}})),d.infinite&&C>1&&d.fade===!1&&!d.unslick){var z=C-m;z<=(0,r.getPreClones)(d)&&(k=-z,k>=j&&(n=H),L=v(O(O({},d),{},{index:k})),R.push(e.default.cloneElement(n,{key:"precloned"+w(n,k),"data-index":k,tabIndex:"-1",className:(0,t.default)(L,$),"aria-hidden":!L["slick-active"],style:O(O({},n.props.style||{}),S),onClick:function(W){n.props&&n.props.onClick&&n.props.onClick(W),d.focusOnSelect&&d.focusOnSelect(f)}}))),m<(0,r.getPostClones)(d)&&(k=C+m,k<o&&(n=H),L=v(O(O({},d),{},{index:k})),T.push(e.default.cloneElement(n,{key:"postcloned"+w(n,k),"data-index":k,tabIndex:"-1",className:(0,t.default)(L,$),"aria-hidden":!L["slick-active"],style:O(O({},n.props.style||{}),S),onClick:function(W){n.props&&n.props.onClick&&n.props.onClick(W),d.focusOnSelect&&d.focusOnSelect(f)}})))}}),d.rtl?R.concat(A,T).reverse():R.concat(A,T)};return Ne.Track=function(y){h(k,y);var d=x(k);function k(){var A;c(this,k);for(var R=arguments.length,T=new Array(R),C=0;C<R;C++)T[C]=arguments[C];return A=d.call.apply(d,[this].concat(T)),F(D(A),"node",null),F(D(A),"handleRef",function(j){A.node=j}),A}return u(k,[{key:"render",value:function(){var R=E(this.props),T=this.props,C=T.onMouseEnter,j=T.onMouseOver,o=T.onMouseLeave,H={onMouseEnter:C,onMouseOver:j,onMouseLeave:o};return e.default.createElement("div",s({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},H),R)}}]),k}(e.default.PureComponent),Ne}var Fe={},cr;function Mn(){if(cr)return Fe;cr=1;function e(v){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},e(v)}Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.Dots=void 0;var t=a(Y),r=a(yt()),i=Ge();function a(v){return v&&v.__esModule?v:{default:v}}function s(v,b){var w=Object.keys(v);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(v);b&&(E=E.filter(function(y){return Object.getOwnPropertyDescriptor(v,y).enumerable})),w.push.apply(w,E)}return w}function c(v){for(var b=1;b<arguments.length;b++){var w=arguments[b]!=null?arguments[b]:{};b%2?s(Object(w),!0).forEach(function(E){l(v,E,w[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(w)):s(Object(w)).forEach(function(E){Object.defineProperty(v,E,Object.getOwnPropertyDescriptor(w,E))})}return v}function l(v,b,w){return(b=x(b))in v?Object.defineProperty(v,b,{value:w,enumerable:!0,configurable:!0,writable:!0}):v[b]=w,v}function u(v,b){if(!(v instanceof b))throw new TypeError("Cannot call a class as a function")}function h(v,b){for(var w=0;w<b.length;w++){var E=b[w];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(v,x(E.key),E)}}function g(v,b,w){return b&&h(v.prototype,b),Object.defineProperty(v,"prototype",{writable:!1}),v}function x(v){var b=_(v,"string");return e(b)=="symbol"?b:b+""}function _(v,b){if(e(v)!="object"||!v)return v;var w=v[Symbol.toPrimitive];if(w!==void 0){var E=w.call(v,b);if(e(E)!="object")return E;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(v)}function D(v,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(b&&b.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),b&&P(v,b)}function P(v,b){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,E){return w.__proto__=E,w},P(v,b)}function p(v){var b=F();return function(){var w,E=U(v);if(b){var y=U(this).constructor;w=Reflect.construct(E,arguments,y)}else w=E.apply(this,arguments);return I(this,w)}}function I(v,b){if(b&&(e(b)=="object"||typeof b=="function"))return b;if(b!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return O(v)}function O(v){if(v===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v}function F(){try{var v=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(F=function(){return!!v})()}function U(v){return U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},U(v)}var q=function(b){var w;return b.infinite?w=Math.ceil(b.slideCount/b.slidesToScroll):w=Math.ceil((b.slideCount-b.slidesToShow)/b.slidesToScroll)+1,w};return Fe.Dots=function(v){D(w,v);var b=p(w);function w(){return u(this,w),b.apply(this,arguments)}return g(w,[{key:"clickHandler",value:function(y,d){d.preventDefault(),this.props.clickHandler(y)}},{key:"render",value:function(){for(var y=this.props,d=y.onMouseEnter,k=y.onMouseOver,A=y.onMouseLeave,R=y.infinite,T=y.slidesToScroll,C=y.slidesToShow,j=y.slideCount,o=y.currentSlide,H=q({slideCount:j,slidesToScroll:T,slidesToShow:C,infinite:R}),m={onMouseEnter:d,onMouseOver:k,onMouseLeave:A},n=[],f=0;f<H;f++){var S=(f+1)*T-1,$=R?S:(0,i.clamp)(S,0,j-1),L=$-(T-1),z=R?L:(0,i.clamp)(L,0,j-1),N=(0,r.default)({"slick-active":R?o>=z&&o<=$:o===z}),W={message:"dots",index:f,slidesToScroll:T,currentSlide:o},V=this.clickHandler.bind(this,W);n=n.concat(t.default.createElement("li",{key:f,className:N},t.default.cloneElement(this.props.customPaging(f),{onClick:V})))}return t.default.cloneElement(this.props.appendDots(n),c({className:this.props.dotsClass},m))}}]),w}(t.default.PureComponent),Fe}var Re={},fr;function $n(){if(fr)return Re;fr=1;function e(v){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},e(v)}Object.defineProperty(Re,"__esModule",{value:!0}),Re.PrevArrow=Re.NextArrow=void 0;var t=a(Y),r=a(yt()),i=Ge();function a(v){return v&&v.__esModule?v:{default:v}}function s(){return s=Object.assign?Object.assign.bind():function(v){for(var b=1;b<arguments.length;b++){var w=arguments[b];for(var E in w)({}).hasOwnProperty.call(w,E)&&(v[E]=w[E])}return v},s.apply(null,arguments)}function c(v,b){var w=Object.keys(v);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(v);b&&(E=E.filter(function(y){return Object.getOwnPropertyDescriptor(v,y).enumerable})),w.push.apply(w,E)}return w}function l(v){for(var b=1;b<arguments.length;b++){var w=arguments[b]!=null?arguments[b]:{};b%2?c(Object(w),!0).forEach(function(E){u(v,E,w[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(w)):c(Object(w)).forEach(function(E){Object.defineProperty(v,E,Object.getOwnPropertyDescriptor(w,E))})}return v}function u(v,b,w){return(b=_(b))in v?Object.defineProperty(v,b,{value:w,enumerable:!0,configurable:!0,writable:!0}):v[b]=w,v}function h(v,b){if(!(v instanceof b))throw new TypeError("Cannot call a class as a function")}function g(v,b){for(var w=0;w<b.length;w++){var E=b[w];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(v,_(E.key),E)}}function x(v,b,w){return b&&g(v.prototype,b),Object.defineProperty(v,"prototype",{writable:!1}),v}function _(v){var b=D(v,"string");return e(b)=="symbol"?b:b+""}function D(v,b){if(e(v)!="object"||!v)return v;var w=v[Symbol.toPrimitive];if(w!==void 0){var E=w.call(v,b);if(e(E)!="object")return E;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(v)}function P(v,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(b&&b.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),b&&p(v,b)}function p(v,b){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,E){return w.__proto__=E,w},p(v,b)}function I(v){var b=U();return function(){var w,E=q(v);if(b){var y=q(this).constructor;w=Reflect.construct(E,arguments,y)}else w=E.apply(this,arguments);return O(this,w)}}function O(v,b){if(b&&(e(b)=="object"||typeof b=="function"))return b;if(b!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return F(v)}function F(v){if(v===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v}function U(){try{var v=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(U=function(){return!!v})()}function q(v){return q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},q(v)}return Re.PrevArrow=function(v){P(w,v);var b=I(w);function w(){return h(this,w),b.apply(this,arguments)}return x(w,[{key:"clickHandler",value:function(y,d){d&&d.preventDefault(),this.props.clickHandler(y,d)}},{key:"render",value:function(){var y={"slick-arrow":!0,"slick-prev":!0},d=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(y["slick-disabled"]=!0,d=null);var k={key:"0","data-role":"none",className:(0,r.default)(y),style:{display:"block"},onClick:d},A={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},R;return this.props.prevArrow?R=t.default.cloneElement(this.props.prevArrow,l(l({},k),A)):R=t.default.createElement("button",s({key:"0",type:"button"},k)," ","Previous"),R}}]),w}(t.default.PureComponent),Re.NextArrow=function(v){P(w,v);var b=I(w);function w(){return h(this,w),b.apply(this,arguments)}return x(w,[{key:"clickHandler",value:function(y,d){d&&d.preventDefault(),this.props.clickHandler(y,d)}},{key:"render",value:function(){var y={"slick-arrow":!0,"slick-next":!0},d=this.clickHandler.bind(this,{message:"next"});(0,i.canGoNext)(this.props)||(y["slick-disabled"]=!0,d=null);var k={key:"1","data-role":"none",className:(0,r.default)(y),style:{display:"block"},onClick:d},A={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},R;return this.props.nextArrow?R=t.default.cloneElement(this.props.nextArrow,l(l({},k),A)):R=t.default.createElement("button",s({key:"1",type:"button"},k)," ","Next"),R}}]),w}(t.default.PureComponent),Re}var Ir=function(){if(typeof Map<"u")return Map;function e(t,r){var i=-1;return t.some(function(a,s){return a[0]===r?(i=s,!0):!1}),i}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var i=e(this.__entries__,r),a=this.__entries__[i];return a&&a[1]},t.prototype.set=function(r,i){var a=e(this.__entries__,r);~a?this.__entries__[a][1]=i:this.__entries__.push([r,i])},t.prototype.delete=function(r){var i=this.__entries__,a=e(i,r);~a&&i.splice(a,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,i){i===void 0&&(i=null);for(var a=0,s=this.__entries__;a<s.length;a++){var c=s[a];r.call(i,c[1],c[0])}},t}()}(),It=typeof window<"u"&&typeof document<"u"&&window.document===document,pt=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),In=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(pt):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),An=2;function Hn(e,t){var r=!1,i=!1,a=0;function s(){r&&(r=!1,e()),i&&l()}function c(){In(s)}function l(){var u=Date.now();if(r){if(u-a<An)return;i=!0}else r=!0,i=!1,setTimeout(c,t);a=u}return l}var zn=20,Nn=["top","right","bottom","left","width","height","size","weight"],Fn=typeof MutationObserver<"u",Wn=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Hn(this.refresh.bind(this),zn)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var r=this.observers_,i=r.indexOf(t);~i&&r.splice(i,1),!r.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return t.forEach(function(r){return r.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!It||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Fn?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!It||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,i=r===void 0?"":r,a=Nn.some(function(s){return!!~i.indexOf(s)});a&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Ar=function(e,t){for(var r=0,i=Object.keys(t);r<i.length;r++){var a=i[r];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},_e=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||pt},Hr=bt(0,0,0,0);function mt(e){return parseFloat(e)||0}function dr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(i,a){var s=e["border-"+a+"-width"];return i+mt(s)},0)}function Un(e){for(var t=["top","right","bottom","left"],r={},i=0,a=t;i<a.length;i++){var s=a[i],c=e["padding-"+s];r[s]=mt(c)}return r}function Yn(e){var t=e.getBBox();return bt(0,0,t.width,t.height)}function Bn(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return Hr;var i=_e(e).getComputedStyle(e),a=Un(i),s=a.left+a.right,c=a.top+a.bottom,l=mt(i.width),u=mt(i.height);if(i.boxSizing==="border-box"&&(Math.round(l+s)!==t&&(l-=dr(i,"left","right")+s),Math.round(u+c)!==r&&(u-=dr(i,"top","bottom")+c)),!Vn(e)){var h=Math.round(l+s)-t,g=Math.round(u+c)-r;Math.abs(h)!==1&&(l-=h),Math.abs(g)!==1&&(u-=g)}return bt(a.left,a.top,l,u)}var qn=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof _e(e).SVGGraphicsElement}:function(e){return e instanceof _e(e).SVGElement&&typeof e.getBBox=="function"}}();function Vn(e){return e===_e(e).document.documentElement}function Xn(e){return It?qn(e)?Yn(e):Bn(e):Hr}function Gn(e){var t=e.x,r=e.y,i=e.width,a=e.height,s=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,c=Object.create(s.prototype);return Ar(c,{x:t,y:r,width:i,height:a,top:r,right:t+i,bottom:a+r,left:t}),c}function bt(e,t,r,i){return{x:e,y:t,width:r,height:i}}var Kn=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=bt(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=Xn(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),Jn=function(){function e(t,r){var i=Gn(r);Ar(this,{target:t,contentRect:i})}return e}(),Zn=function(){function e(t,r,i){if(this.activeObservations_=[],this.observations_=new Ir,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=i}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof _e(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new Kn(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof _e(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(i){return new Jn(i.target,i.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),zr=typeof WeakMap<"u"?new WeakMap:new Ir,Nr=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=Wn.getInstance(),i=new Zn(t,r,this);zr.set(this,i)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Nr.prototype[e]=function(){var t;return(t=zr.get(this))[e].apply(t,arguments)}});var Qn=function(){return typeof pt.ResizeObserver<"u"?pt.ResizeObserver:Nr}();const ei=Object.freeze(Object.defineProperty({__proto__:null,default:Qn},Symbol.toStringTag,{value:"Module"})),ti=Pn(ei);var hr;function ri(){if(hr)return ze;hr=1,Object.defineProperty(ze,"__esModule",{value:!0}),ze.InnerSlider=void 0;var e=h(Y),t=h(jn()),r=h(Dn()),i=h(yt()),a=Ge(),s=Ln(),c=Mn(),l=$n(),u=h(ti);function h(R){return R&&R.__esModule?R:{default:R}}function g(R){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},g(R)}function x(){return x=Object.assign?Object.assign.bind():function(R){for(var T=1;T<arguments.length;T++){var C=arguments[T];for(var j in C)({}).hasOwnProperty.call(C,j)&&(R[j]=C[j])}return R},x.apply(null,arguments)}function _(R,T){if(R==null)return{};var C,j,o=D(R,T);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(R);for(j=0;j<H.length;j++)C=H[j],T.includes(C)||{}.propertyIsEnumerable.call(R,C)&&(o[C]=R[C])}return o}function D(R,T){if(R==null)return{};var C={};for(var j in R)if({}.hasOwnProperty.call(R,j)){if(T.includes(j))continue;C[j]=R[j]}return C}function P(R,T){var C=Object.keys(R);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(R);T&&(j=j.filter(function(o){return Object.getOwnPropertyDescriptor(R,o).enumerable})),C.push.apply(C,j)}return C}function p(R){for(var T=1;T<arguments.length;T++){var C=arguments[T]!=null?arguments[T]:{};T%2?P(Object(C),!0).forEach(function(j){d(R,j,C[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(C)):P(Object(C)).forEach(function(j){Object.defineProperty(R,j,Object.getOwnPropertyDescriptor(C,j))})}return R}function I(R,T){if(!(R instanceof T))throw new TypeError("Cannot call a class as a function")}function O(R,T){for(var C=0;C<T.length;C++){var j=T[C];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(R,k(j.key),j)}}function F(R,T,C){return T&&O(R.prototype,T),Object.defineProperty(R,"prototype",{writable:!1}),R}function U(R,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(T&&T.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),T&&q(R,T)}function q(R,T){return q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(C,j){return C.__proto__=j,C},q(R,T)}function v(R){var T=E();return function(){var C,j=y(R);if(T){var o=y(this).constructor;C=Reflect.construct(j,arguments,o)}else C=j.apply(this,arguments);return b(this,C)}}function b(R,T){if(T&&(g(T)=="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return w(R)}function w(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function E(){try{var R=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(E=function(){return!!R})()}function y(R){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(T){return T.__proto__||Object.getPrototypeOf(T)},y(R)}function d(R,T,C){return(T=k(T))in R?Object.defineProperty(R,T,{value:C,enumerable:!0,configurable:!0,writable:!0}):R[T]=C,R}function k(R){var T=A(R,"string");return g(T)=="symbol"?T:T+""}function A(R,T){if(g(R)!="object"||!R)return R;var C=R[Symbol.toPrimitive];if(C!==void 0){var j=C.call(R,T);if(g(j)!="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return(T==="string"?String:Number)(R)}return ze.InnerSlider=function(R){U(C,R);var T=v(C);function C(j){var o;I(this,C),o=T.call(this,j),d(w(o),"listRefHandler",function(m){return o.list=m}),d(w(o),"trackRefHandler",function(m){return o.track=m}),d(w(o),"adaptHeight",function(){if(o.props.adaptiveHeight&&o.list){var m=o.list.querySelector('[data-index="'.concat(o.state.currentSlide,'"]'));o.list.style.height=(0,a.getHeight)(m)+"px"}}),d(w(o),"componentDidMount",function(){if(o.props.onInit&&o.props.onInit(),o.props.lazyLoad){var m=(0,a.getOnDemandLazySlides)(p(p({},o.props),o.state));m.length>0&&(o.setState(function(f){return{lazyLoadedList:f.lazyLoadedList.concat(m)}}),o.props.onLazyLoad&&o.props.onLazyLoad(m))}var n=p({listRef:o.list,trackRef:o.track},o.props);o.updateState(n,!0,function(){o.adaptHeight(),o.props.autoplay&&o.autoPlay("update")}),o.props.lazyLoad==="progressive"&&(o.lazyLoadTimer=setInterval(o.progressiveLazyLoad,1e3)),o.ro=new u.default(function(){o.state.animating?(o.onWindowResized(!1),o.callbackTimers.push(setTimeout(function(){return o.onWindowResized()},o.props.speed))):o.onWindowResized()}),o.ro.observe(o.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(f){f.onfocus=o.props.pauseOnFocus?o.onSlideFocus:null,f.onblur=o.props.pauseOnFocus?o.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",o.onWindowResized):window.attachEvent("onresize",o.onWindowResized)}),d(w(o),"componentWillUnmount",function(){o.animationEndCallback&&clearTimeout(o.animationEndCallback),o.lazyLoadTimer&&clearInterval(o.lazyLoadTimer),o.callbackTimers.length&&(o.callbackTimers.forEach(function(m){return clearTimeout(m)}),o.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",o.onWindowResized):window.detachEvent("onresize",o.onWindowResized),o.autoplayTimer&&clearInterval(o.autoplayTimer),o.ro.disconnect()}),d(w(o),"componentDidUpdate",function(m){if(o.checkImagesLoad(),o.props.onReInit&&o.props.onReInit(),o.props.lazyLoad){var n=(0,a.getOnDemandLazySlides)(p(p({},o.props),o.state));n.length>0&&(o.setState(function($){return{lazyLoadedList:$.lazyLoadedList.concat(n)}}),o.props.onLazyLoad&&o.props.onLazyLoad(n))}o.adaptHeight();var f=p(p({listRef:o.list,trackRef:o.track},o.props),o.state),S=o.didPropsChange(m);S&&o.updateState(f,S,function(){o.state.currentSlide>=e.default.Children.count(o.props.children)&&o.changeSlide({message:"index",index:e.default.Children.count(o.props.children)-o.props.slidesToShow,currentSlide:o.state.currentSlide}),o.props.autoplay?o.autoPlay("update"):o.pause("paused")})}),d(w(o),"onWindowResized",function(m){o.debouncedResize&&o.debouncedResize.cancel(),o.debouncedResize=(0,r.default)(function(){return o.resizeWindow(m)},50),o.debouncedResize()}),d(w(o),"resizeWindow",function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,n=!!(o.track&&o.track.node);if(n){var f=p(p({listRef:o.list,trackRef:o.track},o.props),o.state);o.updateState(f,m,function(){o.props.autoplay?o.autoPlay("update"):o.pause("paused")}),o.setState({animating:!1}),clearTimeout(o.animationEndCallback),delete o.animationEndCallback}}),d(w(o),"updateState",function(m,n,f){var S=(0,a.initializedState)(m);m=p(p(p({},m),S),{},{slideIndex:S.currentSlide});var $=(0,a.getTrackLeft)(m);m=p(p({},m),{},{left:$});var L=(0,a.getTrackCSS)(m);(n||e.default.Children.count(o.props.children)!==e.default.Children.count(m.children))&&(S.trackStyle=L),o.setState(S,f)}),d(w(o),"ssrInit",function(){if(o.props.variableWidth){var m=0,n=0,f=[],S=(0,a.getPreClones)(p(p(p({},o.props),o.state),{},{slideCount:o.props.children.length})),$=(0,a.getPostClones)(p(p(p({},o.props),o.state),{},{slideCount:o.props.children.length}));o.props.children.forEach(function(le){f.push(le.props.style.width),m+=le.props.style.width});for(var L=0;L<S;L++)n+=f[f.length-1-L],m+=f[f.length-1-L];for(var z=0;z<$;z++)m+=f[z];for(var N=0;N<o.state.currentSlide;N++)n+=f[N];var W={width:m+"px",left:-n+"px"};if(o.props.centerMode){var V="".concat(f[o.state.currentSlide],"px");W.left="calc(".concat(W.left," + (100% - ").concat(V,") / 2 ) ")}return{trackStyle:W}}var K=e.default.Children.count(o.props.children),X=p(p(p({},o.props),o.state),{},{slideCount:K}),J=(0,a.getPreClones)(X)+(0,a.getPostClones)(X)+K,te=100/o.props.slidesToShow*J,Z=100/J,ee=-Z*((0,a.getPreClones)(X)+o.state.currentSlide)*te/100;o.props.centerMode&&(ee+=(100-Z*te/100)/2);var ie={width:te+"%",left:ee+"%"};return{slideWidth:Z+"%",trackStyle:ie}}),d(w(o),"checkImagesLoad",function(){var m=o.list&&o.list.querySelectorAll&&o.list.querySelectorAll(".slick-slide img")||[],n=m.length,f=0;Array.prototype.forEach.call(m,function(S){var $=function(){return++f&&f>=n&&o.onWindowResized()};if(!S.onclick)S.onclick=function(){return S.parentNode.focus()};else{var L=S.onclick;S.onclick=function(z){L(z),S.parentNode.focus()}}S.onload||(o.props.lazyLoad?S.onload=function(){o.adaptHeight(),o.callbackTimers.push(setTimeout(o.onWindowResized,o.props.speed))}:(S.onload=$,S.onerror=function(){$(),o.props.onLazyLoadError&&o.props.onLazyLoadError()}))})}),d(w(o),"progressiveLazyLoad",function(){for(var m=[],n=p(p({},o.props),o.state),f=o.state.currentSlide;f<o.state.slideCount+(0,a.getPostClones)(n);f++)if(o.state.lazyLoadedList.indexOf(f)<0){m.push(f);break}for(var S=o.state.currentSlide-1;S>=-(0,a.getPreClones)(n);S--)if(o.state.lazyLoadedList.indexOf(S)<0){m.push(S);break}m.length>0?(o.setState(function($){return{lazyLoadedList:$.lazyLoadedList.concat(m)}}),o.props.onLazyLoad&&o.props.onLazyLoad(m)):o.lazyLoadTimer&&(clearInterval(o.lazyLoadTimer),delete o.lazyLoadTimer)}),d(w(o),"slideHandler",function(m){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,f=o.props,S=f.asNavFor,$=f.beforeChange,L=f.onLazyLoad,z=f.speed,N=f.afterChange,W=o.state.currentSlide,V=(0,a.slideHandler)(p(p(p({index:m},o.props),o.state),{},{trackRef:o.track,useCSS:o.props.useCSS&&!n})),K=V.state,X=V.nextState;if(K){$&&$(W,K.currentSlide);var J=K.lazyLoadedList.filter(function(te){return o.state.lazyLoadedList.indexOf(te)<0});L&&J.length>0&&L(J),!o.props.waitForAnimate&&o.animationEndCallback&&(clearTimeout(o.animationEndCallback),N&&N(W),delete o.animationEndCallback),o.setState(K,function(){S&&o.asNavForIndex!==m&&(o.asNavForIndex=m,S.innerSlider.slideHandler(m)),X&&(o.animationEndCallback=setTimeout(function(){var te=X.animating,Z=_(X,["animating"]);o.setState(Z,function(){o.callbackTimers.push(setTimeout(function(){return o.setState({animating:te})},10)),N&&N(K.currentSlide),delete o.animationEndCallback})},z))})}}),d(w(o),"changeSlide",function(m){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,f=p(p({},o.props),o.state),S=(0,a.changeSlide)(f,m);if(!(S!==0&&!S)&&(n===!0?o.slideHandler(S,n):o.slideHandler(S),o.props.autoplay&&o.autoPlay("update"),o.props.focusOnSelect)){var $=o.list.querySelectorAll(".slick-current");$[0]&&$[0].focus()}}),d(w(o),"clickHandler",function(m){o.clickable===!1&&(m.stopPropagation(),m.preventDefault()),o.clickable=!0}),d(w(o),"keyHandler",function(m){var n=(0,a.keyHandler)(m,o.props.accessibility,o.props.rtl);n!==""&&o.changeSlide({message:n})}),d(w(o),"selectHandler",function(m){o.changeSlide(m)}),d(w(o),"disableBodyScroll",function(){var m=function(f){f=f||window.event,f.preventDefault&&f.preventDefault(),f.returnValue=!1};window.ontouchmove=m}),d(w(o),"enableBodyScroll",function(){window.ontouchmove=null}),d(w(o),"swipeStart",function(m){o.props.verticalSwiping&&o.disableBodyScroll();var n=(0,a.swipeStart)(m,o.props.swipe,o.props.draggable);n!==""&&o.setState(n)}),d(w(o),"swipeMove",function(m){var n=(0,a.swipeMove)(m,p(p(p({},o.props),o.state),{},{trackRef:o.track,listRef:o.list,slideIndex:o.state.currentSlide}));n&&(n.swiping&&(o.clickable=!1),o.setState(n))}),d(w(o),"swipeEnd",function(m){var n=(0,a.swipeEnd)(m,p(p(p({},o.props),o.state),{},{trackRef:o.track,listRef:o.list,slideIndex:o.state.currentSlide}));if(n){var f=n.triggerSlideHandler;delete n.triggerSlideHandler,o.setState(n),f!==void 0&&(o.slideHandler(f),o.props.verticalSwiping&&o.enableBodyScroll())}}),d(w(o),"touchEnd",function(m){o.swipeEnd(m),o.clickable=!0}),d(w(o),"slickPrev",function(){o.callbackTimers.push(setTimeout(function(){return o.changeSlide({message:"previous"})},0))}),d(w(o),"slickNext",function(){o.callbackTimers.push(setTimeout(function(){return o.changeSlide({message:"next"})},0))}),d(w(o),"slickGoTo",function(m){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(m=Number(m),isNaN(m))return"";o.callbackTimers.push(setTimeout(function(){return o.changeSlide({message:"index",index:m,currentSlide:o.state.currentSlide},n)},0))}),d(w(o),"play",function(){var m;if(o.props.rtl)m=o.state.currentSlide-o.props.slidesToScroll;else if((0,a.canGoNext)(p(p({},o.props),o.state)))m=o.state.currentSlide+o.props.slidesToScroll;else return!1;o.slideHandler(m)}),d(w(o),"autoPlay",function(m){o.autoplayTimer&&clearInterval(o.autoplayTimer);var n=o.state.autoplaying;if(m==="update"){if(n==="hovered"||n==="focused"||n==="paused")return}else if(m==="leave"){if(n==="paused"||n==="focused")return}else if(m==="blur"&&(n==="paused"||n==="hovered"))return;o.autoplayTimer=setInterval(o.play,o.props.autoplaySpeed+50),o.setState({autoplaying:"playing"})}),d(w(o),"pause",function(m){o.autoplayTimer&&(clearInterval(o.autoplayTimer),o.autoplayTimer=null);var n=o.state.autoplaying;m==="paused"?o.setState({autoplaying:"paused"}):m==="focused"?(n==="hovered"||n==="playing")&&o.setState({autoplaying:"focused"}):n==="playing"&&o.setState({autoplaying:"hovered"})}),d(w(o),"onDotsOver",function(){return o.props.autoplay&&o.pause("hovered")}),d(w(o),"onDotsLeave",function(){return o.props.autoplay&&o.state.autoplaying==="hovered"&&o.autoPlay("leave")}),d(w(o),"onTrackOver",function(){return o.props.autoplay&&o.pause("hovered")}),d(w(o),"onTrackLeave",function(){return o.props.autoplay&&o.state.autoplaying==="hovered"&&o.autoPlay("leave")}),d(w(o),"onSlideFocus",function(){return o.props.autoplay&&o.pause("focused")}),d(w(o),"onSlideBlur",function(){return o.props.autoplay&&o.state.autoplaying==="focused"&&o.autoPlay("blur")}),d(w(o),"render",function(){var m=(0,i.default)("slick-slider",o.props.className,{"slick-vertical":o.props.vertical,"slick-initialized":!0}),n=p(p({},o.props),o.state),f=(0,a.extractObject)(n,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),S=o.props.pauseOnHover;f=p(p({},f),{},{onMouseEnter:S?o.onTrackOver:null,onMouseLeave:S?o.onTrackLeave:null,onMouseOver:S?o.onTrackOver:null,focusOnSelect:o.props.focusOnSelect&&o.clickable?o.selectHandler:null});var $;if(o.props.dots===!0&&o.state.slideCount>=o.props.slidesToShow){var L=(0,a.extractObject)(n,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),z=o.props.pauseOnDotsHover;L=p(p({},L),{},{clickHandler:o.changeSlide,onMouseEnter:z?o.onDotsLeave:null,onMouseOver:z?o.onDotsOver:null,onMouseLeave:z?o.onDotsLeave:null}),$=e.default.createElement(c.Dots,L)}var N,W,V=(0,a.extractObject)(n,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);V.clickHandler=o.changeSlide,o.props.arrows&&(N=e.default.createElement(l.PrevArrow,V),W=e.default.createElement(l.NextArrow,V));var K=null;o.props.vertical&&(K={height:o.state.listHeight});var X=null;o.props.vertical===!1?o.props.centerMode===!0&&(X={padding:"0px "+o.props.centerPadding}):o.props.centerMode===!0&&(X={padding:o.props.centerPadding+" 0px"});var J=p(p({},K),X),te=o.props.touchMove,Z={className:"slick-list",style:J,onClick:o.clickHandler,onMouseDown:te?o.swipeStart:null,onMouseMove:o.state.dragging&&te?o.swipeMove:null,onMouseUp:te?o.swipeEnd:null,onMouseLeave:o.state.dragging&&te?o.swipeEnd:null,onTouchStart:te?o.swipeStart:null,onTouchMove:o.state.dragging&&te?o.swipeMove:null,onTouchEnd:te?o.touchEnd:null,onTouchCancel:o.state.dragging&&te?o.swipeEnd:null,onKeyDown:o.props.accessibility?o.keyHandler:null},ee={className:m,dir:"ltr",style:o.props.style};return o.props.unslick&&(Z={className:"slick-list"},ee={className:m,style:o.props.style}),e.default.createElement("div",ee,o.props.unslick?"":N,e.default.createElement("div",x({ref:o.listRefHandler},Z),e.default.createElement(s.Track,x({ref:o.trackRefHandler},f),o.props.children)),o.props.unslick?"":W,o.props.unslick?"":$)}),o.list=null,o.track=null,o.state=p(p({},t.default),{},{currentSlide:o.props.initialSlide,targetSlide:o.props.initialSlide?o.props.initialSlide:0,slideCount:e.default.Children.count(o.props.children)}),o.callbackTimers=[],o.clickable=!0,o.debouncedResize=null;var H=o.ssrInit();return o.state=p(p({},o.state),H),o}return F(C,[{key:"didPropsChange",value:function(o){for(var H=!1,m=0,n=Object.keys(this.props);m<n.length;m++){var f=n[m];if(!o.hasOwnProperty(f)){H=!0;break}if(!(g(o[f])==="object"||typeof o[f]=="function"||isNaN(o[f]))&&o[f]!==this.props[f]){H=!0;break}}return H||e.default.Children.count(this.props.children)!==e.default.Children.count(o.children)}}]),C}(e.default.Component),ze}var jt,pr;function ni(){if(pr)return jt;pr=1;var e=function(t){return t.replace(/[A-Z]/g,function(r){return"-"+r.toLowerCase()}).toLowerCase()};return jt=e,jt}var Dt,mr;function ii(){if(mr)return Dt;mr=1;var e=ni(),t=function(a){var s=/[height|width]$/;return s.test(a)},r=function(a){var s="",c=Object.keys(a);return c.forEach(function(l,u){var h=a[l];l=e(l),t(l)&&typeof h=="number"&&(h=h+"px"),h===!0?s+=l:h===!1?s+="not "+l:s+="("+l+": "+h+")",u<c.length-1&&(s+=" and ")}),s},i=function(a){var s="";return typeof a=="string"?a:a instanceof Array?(a.forEach(function(c,l){s+=r(c),l<a.length-1&&(s+=", ")}),s):r(a)};return Dt=i,Dt}var vr;function ai(){return vr||(vr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=c(Y),r=ri(),i=c(ii()),a=c($r()),s=Ge();function c(E){return E&&E.__esModule?E:{default:E}}function l(E){"@babel/helpers - typeof";return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},l(E)}function u(){return u=Object.assign?Object.assign.bind():function(E){for(var y=1;y<arguments.length;y++){var d=arguments[y];for(var k in d)({}).hasOwnProperty.call(d,k)&&(E[k]=d[k])}return E},u.apply(null,arguments)}function h(E,y){var d=Object.keys(E);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(E);y&&(k=k.filter(function(A){return Object.getOwnPropertyDescriptor(E,A).enumerable})),d.push.apply(d,k)}return d}function g(E){for(var y=1;y<arguments.length;y++){var d=arguments[y]!=null?arguments[y]:{};y%2?h(Object(d),!0).forEach(function(k){v(E,k,d[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(d)):h(Object(d)).forEach(function(k){Object.defineProperty(E,k,Object.getOwnPropertyDescriptor(d,k))})}return E}function x(E,y){if(!(E instanceof y))throw new TypeError("Cannot call a class as a function")}function _(E,y){for(var d=0;d<y.length;d++){var k=y[d];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(E,b(k.key),k)}}function D(E,y,d){return y&&_(E.prototype,y),Object.defineProperty(E,"prototype",{writable:!1}),E}function P(E,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(y&&y.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),Object.defineProperty(E,"prototype",{writable:!1}),y&&p(E,y)}function p(E,y){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,k){return d.__proto__=k,d},p(E,y)}function I(E){var y=U();return function(){var d,k=q(E);if(y){var A=q(this).constructor;d=Reflect.construct(k,arguments,A)}else d=k.apply(this,arguments);return O(this,d)}}function O(E,y){if(y&&(l(y)=="object"||typeof y=="function"))return y;if(y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return F(E)}function F(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function U(){try{var E=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(U=function(){return!!E})()}function q(E){return q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(y){return y.__proto__||Object.getPrototypeOf(y)},q(E)}function v(E,y,d){return(y=b(y))in E?Object.defineProperty(E,y,{value:d,enumerable:!0,configurable:!0,writable:!0}):E[y]=d,E}function b(E){var y=w(E,"string");return l(y)=="symbol"?y:y+""}function w(E,y){if(l(E)!="object"||!E)return E;var d=E[Symbol.toPrimitive];if(d!==void 0){var k=d.call(E,y);if(l(k)!="object")return k;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(E)}e.default=function(E){P(d,E);var y=I(d);function d(k){var A;return x(this,d),A=y.call(this,k),v(F(A),"innerSliderRefHandler",function(R){return A.innerSlider=R}),v(F(A),"slickPrev",function(){return A.innerSlider.slickPrev()}),v(F(A),"slickNext",function(){return A.innerSlider.slickNext()}),v(F(A),"slickGoTo",function(R){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return A.innerSlider.slickGoTo(R,T)}),v(F(A),"slickPause",function(){return A.innerSlider.pause("paused")}),v(F(A),"slickPlay",function(){return A.innerSlider.autoPlay("play")}),A.state={breakpoint:null},A._responsiveMediaHandlers=[],A}return D(d,[{key:"media",value:function(A,R){var T=window.matchMedia(A),C=function(o){var H=o.matches;H&&R()};T.addListener(C),this._responsiveMediaHandlers.push({mql:T,query:A,listener:C})}},{key:"componentDidMount",value:function(){var A=this;if(this.props.responsive){var R=this.props.responsive.map(function(C){return C.breakpoint});R.sort(function(C,j){return C-j}),R.forEach(function(C,j){var o;j===0?o=(0,i.default)({minWidth:0,maxWidth:C}):o=(0,i.default)({minWidth:R[j-1]+1,maxWidth:C}),(0,s.canUseDOM)()&&A.media(o,function(){A.setState({breakpoint:C})})});var T=(0,i.default)({minWidth:R.slice(-1)[0]});(0,s.canUseDOM)()&&this.media(T,function(){A.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(A){A.mql.removeListener(A.listener)})}},{key:"render",value:function(){var A=this,R,T;this.state.breakpoint?(T=this.props.responsive.filter(function(L){return L.breakpoint===A.state.breakpoint}),R=T[0].settings==="unslick"?"unslick":g(g(g({},a.default),this.props),T[0].settings)):R=g(g({},a.default),this.props),R.centerMode&&(R.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(R.slidesToScroll)),R.slidesToScroll=1),R.fade&&(R.slidesToShow>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(R.slidesToShow)),R.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(R.slidesToScroll)),R.slidesToShow=1,R.slidesToScroll=1);var C=t.default.Children.toArray(this.props.children);C=C.filter(function(L){return typeof L=="string"?!!L.trim():!!L}),R.variableWidth&&(R.rows>1||R.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),R.variableWidth=!1);for(var j=[],o=null,H=0;H<C.length;H+=R.rows*R.slidesPerRow){for(var m=[],n=H;n<H+R.rows*R.slidesPerRow;n+=R.slidesPerRow){for(var f=[],S=n;S<n+R.slidesPerRow&&(R.variableWidth&&C[S].props.style&&(o=C[S].props.style.width),!(S>=C.length));S+=1)f.push(t.default.cloneElement(C[S],{key:100*H+10*n+S,tabIndex:-1,style:{width:"".concat(100/R.slidesPerRow,"%"),display:"inline-block"}}));m.push(t.default.createElement("div",{key:10*H+n},f))}R.variableWidth?j.push(t.default.createElement("div",{key:H,style:{width:o}},m)):j.push(t.default.createElement("div",{key:H},m))}if(R==="unslick"){var $="regular slider "+(this.props.className||"");return t.default.createElement("div",{className:$},C)}else j.length<=R.slidesToShow&&(R.unslick=!0);return t.default.createElement(r.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},(0,s.filterSettings)(R)),j)}}]),d}(t.default.Component)}(Pt)),Pt}var gr;function oi(){return gr||(gr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(ai());function r(i){return i&&i.__esModule?i:{default:i}}e.default=t.default}(Ct)),Ct}var si=oi();const li=Ut(si);function At(){return At=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)({}).hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},At.apply(null,arguments)}function ui(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function ci(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var fi=function(){function e(r){var i=this;this._insertTag=function(a){var s;i.tags.length===0?i.insertionPoint?s=i.insertionPoint.nextSibling:i.prepend?s=i.container.firstChild:s=i.before:s=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(a,s),i.tags.push(a)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(i){i.forEach(this._insertTag)},t.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(ci(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var s=ui(a);try{s.insertRule(i,s.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(i));this.ctr++},t.flush=function(){this.tags.forEach(function(i){var a;return(a=i.parentNode)==null?void 0:a.removeChild(i)}),this.tags=[],this.ctr=0},e}(),de="-ms-",vt="-moz-",re="-webkit-",Fr="comm",Yt="rule",Bt="decl",di="@import",Wr="@keyframes",hi="@layer",pi=Math.abs,wt=String.fromCharCode,mi=Object.assign;function vi(e,t){return fe(e,0)^45?(((t<<2^fe(e,0))<<2^fe(e,1))<<2^fe(e,2))<<2^fe(e,3):0}function Ur(e){return e.trim()}function gi(e,t){return(e=t.exec(e))?e[0]:e}function ne(e,t,r){return e.replace(t,r)}function Ht(e,t){return e.indexOf(t)}function fe(e,t){return e.charCodeAt(t)|0}function Be(e,t,r){return e.slice(t,r)}function ge(e){return e.length}function qt(e){return e.length}function it(e,t){return t.push(e),e}function yi(e,t){return e.map(t).join("")}var St=1,je=1,Yr=0,he=0,se=0,De="";function xt(e,t,r,i,a,s,c){return{value:e,root:t,parent:r,type:i,props:a,children:s,line:St,column:je,length:c,return:""}}function We(e,t){return mi(xt("",null,null,"",null,null,0),e,{length:-e.length},t)}function bi(){return se}function wi(){return se=he>0?fe(De,--he):0,je--,se===10&&(je=1,St--),se}function me(){return se=he<Yr?fe(De,he++):0,je++,se===10&&(je=1,St++),se}function be(){return fe(De,he)}function ot(){return he}function Ke(e,t){return Be(De,e,t)}function qe(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Br(e){return St=je=1,Yr=ge(De=e),he=0,[]}function qr(e){return De="",e}function st(e){return Ur(Ke(he-1,zt(e===91?e+2:e===40?e+1:e)))}function Si(e){for(;(se=be())&&se<33;)me();return qe(e)>2||qe(se)>3?"":" "}function xi(e,t){for(;--t&&me()&&!(se<48||se>102||se>57&&se<65||se>70&&se<97););return Ke(e,ot()+(t<6&&be()==32&&me()==32))}function zt(e){for(;me();)switch(se){case e:return he;case 34:case 39:e!==34&&e!==39&&zt(se);break;case 40:e===41&&zt(e);break;case 92:me();break}return he}function Oi(e,t){for(;me()&&e+se!==57;)if(e+se===84&&be()===47)break;return"/*"+Ke(t,he-1)+"*"+wt(e===47?e:me())}function ki(e){for(;!qe(be());)me();return Ke(e,he)}function Ci(e){return qr(lt("",null,null,null,[""],e=Br(e),0,[0],e))}function lt(e,t,r,i,a,s,c,l,u){for(var h=0,g=0,x=c,_=0,D=0,P=0,p=1,I=1,O=1,F=0,U="",q=a,v=s,b=i,w=U;I;)switch(P=F,F=me()){case 40:if(P!=108&&fe(w,x-1)==58){Ht(w+=ne(st(F),"&","&\f"),"&\f")!=-1&&(O=-1);break}case 34:case 39:case 91:w+=st(F);break;case 9:case 10:case 13:case 32:w+=Si(P);break;case 92:w+=xi(ot()-1,7);continue;case 47:switch(be()){case 42:case 47:it(Pi(Oi(me(),ot()),t,r),u);break;default:w+="/"}break;case 123*p:l[h++]=ge(w)*O;case 125*p:case 59:case 0:switch(F){case 0:case 125:I=0;case 59+g:O==-1&&(w=ne(w,/\f/g,"")),D>0&&ge(w)-x&&it(D>32?br(w+";",i,r,x-1):br(ne(w," ","")+";",i,r,x-2),u);break;case 59:w+=";";default:if(it(b=yr(w,t,r,h,g,a,l,U,q=[],v=[],x),s),F===123)if(g===0)lt(w,t,b,b,q,s,x,l,v);else switch(_===99&&fe(w,3)===110?100:_){case 100:case 108:case 109:case 115:lt(e,b,b,i&&it(yr(e,b,b,0,0,a,l,U,a,q=[],x),v),a,v,x,l,i?q:v);break;default:lt(w,b,b,b,[""],v,0,l,v)}}h=g=D=0,p=O=1,U=w="",x=c;break;case 58:x=1+ge(w),D=P;default:if(p<1){if(F==123)--p;else if(F==125&&p++==0&&wi()==125)continue}switch(w+=wt(F),F*p){case 38:O=g>0?1:(w+="\f",-1);break;case 44:l[h++]=(ge(w)-1)*O,O=1;break;case 64:be()===45&&(w+=st(me())),_=be(),g=x=ge(U=w+=ki(ot())),F++;break;case 45:P===45&&ge(w)==2&&(p=0)}}return s}function yr(e,t,r,i,a,s,c,l,u,h,g){for(var x=a-1,_=a===0?s:[""],D=qt(_),P=0,p=0,I=0;P<i;++P)for(var O=0,F=Be(e,x+1,x=pi(p=c[P])),U=e;O<D;++O)(U=Ur(p>0?_[O]+" "+F:ne(F,/&\f/g,_[O])))&&(u[I++]=U);return xt(e,t,r,a===0?Yt:l,u,h,g)}function Pi(e,t,r){return xt(e,t,r,Fr,wt(bi()),Be(e,2,-2),0)}function br(e,t,r,i){return xt(e,t,r,Bt,Be(e,0,i),Be(e,i+1,-1),i)}function Te(e,t){for(var r="",i=qt(e),a=0;a<i;a++)r+=t(e[a],a,e,t)||"";return r}function Ei(e,t,r,i){switch(e.type){case hi:if(e.children.length)break;case di:case Bt:return e.return=e.return||e.value;case Fr:return"";case Wr:return e.return=e.value+"{"+Te(e.children,i)+"}";case Yt:e.value=e.props.join(",")}return ge(r=Te(e.children,i))?e.return=e.value+"{"+r+"}":""}function Ri(e){var t=qt(e);return function(r,i,a,s){for(var c="",l=0;l<t;l++)c+=e[l](r,i,a,s)||"";return c}}function Ti(e){return function(t){t.root||(t=t.return)&&e(t)}}function Vr(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var _i=function(t,r,i){for(var a=0,s=0;a=s,s=be(),a===38&&s===12&&(r[i]=1),!qe(s);)me();return Ke(t,he)},ji=function(t,r){var i=-1,a=44;do switch(qe(a)){case 0:a===38&&be()===12&&(r[i]=1),t[i]+=_i(he-1,r,i);break;case 2:t[i]+=st(a);break;case 4:if(a===44){t[++i]=be()===58?"&\f":"",r[i]=t[i].length;break}default:t[i]+=wt(a)}while(a=me());return t},Di=function(t,r){return qr(ji(Br(t),r))},wr=new WeakMap,Li=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,i=t.parent,a=t.column===i.column&&t.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!wr.get(i))&&!a){wr.set(t,!0);for(var s=[],c=Di(r,s),l=i.props,u=0,h=0;u<c.length;u++)for(var g=0;g<l.length;g++,h++)t.props[h]=s[u]?c[u].replace(/&\f/g,l[g]):l[g]+" "+c[u]}}},Mi=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Xr(e,t){switch(vi(e,t)){case 5103:return re+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return re+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return re+e+vt+e+de+e+e;case 6828:case 4268:return re+e+de+e+e;case 6165:return re+e+de+"flex-"+e+e;case 5187:return re+e+ne(e,/(\w+).+(:[^]+)/,re+"box-$1$2"+de+"flex-$1$2")+e;case 5443:return re+e+de+"flex-item-"+ne(e,/flex-|-self/,"")+e;case 4675:return re+e+de+"flex-line-pack"+ne(e,/align-content|flex-|-self/,"")+e;case 5548:return re+e+de+ne(e,"shrink","negative")+e;case 5292:return re+e+de+ne(e,"basis","preferred-size")+e;case 6060:return re+"box-"+ne(e,"-grow","")+re+e+de+ne(e,"grow","positive")+e;case 4554:return re+ne(e,/([^-])(transform)/g,"$1"+re+"$2")+e;case 6187:return ne(ne(ne(e,/(zoom-|grab)/,re+"$1"),/(image-set)/,re+"$1"),e,"")+e;case 5495:case 3959:return ne(e,/(image-set\([^]*)/,re+"$1$`$1");case 4968:return ne(ne(e,/(.+:)(flex-)?(.*)/,re+"box-pack:$3"+de+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+re+e+e;case 4095:case 3583:case 4068:case 2532:return ne(e,/(.+)-inline(.+)/,re+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ge(e)-1-t>6)switch(fe(e,t+1)){case 109:if(fe(e,t+4)!==45)break;case 102:return ne(e,/(.+:)(.+)-([^]+)/,"$1"+re+"$2-$3$1"+vt+(fe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ht(e,"stretch")?Xr(ne(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(fe(e,t+1)!==115)break;case 6444:switch(fe(e,ge(e)-3-(~Ht(e,"!important")&&10))){case 107:return ne(e,":",":"+re)+e;case 101:return ne(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+re+(fe(e,14)===45?"inline-":"")+"box$3$1"+re+"$2$3$1"+de+"$2box$3")+e}break;case 5936:switch(fe(e,t+11)){case 114:return re+e+de+ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return re+e+de+ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return re+e+de+ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return re+e+de+e+e}return e}var $i=function(t,r,i,a){if(t.length>-1&&!t.return)switch(t.type){case Bt:t.return=Xr(t.value,t.length);break;case Wr:return Te([We(t,{value:ne(t.value,"@","@"+re)})],a);case Yt:if(t.length)return yi(t.props,function(s){switch(gi(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Te([We(t,{props:[ne(s,/:(read-\w+)/,":"+vt+"$1")]})],a);case"::placeholder":return Te([We(t,{props:[ne(s,/:(plac\w+)/,":"+re+"input-$1")]}),We(t,{props:[ne(s,/:(plac\w+)/,":"+vt+"$1")]}),We(t,{props:[ne(s,/:(plac\w+)/,de+"input-$1")]})],a)}return""})}},Ii=[$i],Ai=function(t){var r=t.key;if(r==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(p){var I=p.getAttribute("data-emotion");I.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var a=t.stylisPlugins||Ii,s={},c,l=[];c=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(p){for(var I=p.getAttribute("data-emotion").split(" "),O=1;O<I.length;O++)s[I[O]]=!0;l.push(p)});var u,h=[Li,Mi];{var g,x=[Ei,Ti(function(p){g.insert(p)})],_=Ri(h.concat(a,x)),D=function(I){return Te(Ci(I),_)};u=function(I,O,F,U){g=F,D(I?I+"{"+O.styles+"}":O.styles),U&&(P.inserted[O.name]=!0)}}var P={key:r,sheet:new fi({key:r,container:c,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:u};return P.sheet.hydrate(l),P},Hi=!0;function zi(e,t,r){var i="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):a&&(i+=a+" ")}),i}var Gr=function(t,r,i){var a=t.key+"-"+r.name;(i===!1||Hi===!1)&&t.registered[a]===void 0&&(t.registered[a]=r.styles)},Ni=function(t,r,i){Gr(t,r,i);var a=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var s=r;do t.insert(r===s?"."+a:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function Fi(e){for(var t=0,r,i=0,a=e.length;a>=4;++i,a-=4)r=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Wi={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ui=/[A-Z]|^ms/g,Yi=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Kr=function(t){return t.charCodeAt(1)===45},Sr=function(t){return t!=null&&typeof t!="boolean"},Lt=Vr(function(e){return Kr(e)?e:e.replace(Ui,"-$&").toLowerCase()}),xr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Yi,function(i,a,s){return ye={name:a,styles:s,next:ye},a})}return Wi[t]!==1&&!Kr(t)&&typeof r=="number"&&r!==0?r+"px":r};function Ve(e,t,r){if(r==null)return"";var i=r;if(i.__emotion_styles!==void 0)return i;switch(typeof r){case"boolean":return"";case"object":{var a=r;if(a.anim===1)return ye={name:a.name,styles:a.styles,next:ye},a.name;var s=r;if(s.styles!==void 0){var c=s.next;if(c!==void 0)for(;c!==void 0;)ye={name:c.name,styles:c.styles,next:ye},c=c.next;var l=s.styles+";";return l}return Bi(e,t,r)}case"function":{if(e!==void 0){var u=ye,h=r(e);return ye=u,Ve(e,t,h)}break}}var g=r;if(t==null)return g;var x=t[g];return x!==void 0?x:g}function Bi(e,t,r){var i="";if(Array.isArray(r))for(var a=0;a<r.length;a++)i+=Ve(e,t,r[a])+";";else for(var s in r){var c=r[s];if(typeof c!="object"){var l=c;t!=null&&t[l]!==void 0?i+=s+"{"+t[l]+"}":Sr(l)&&(i+=Lt(s)+":"+xr(s,l)+";")}else if(Array.isArray(c)&&typeof c[0]=="string"&&(t==null||t[c[0]]===void 0))for(var u=0;u<c.length;u++)Sr(c[u])&&(i+=Lt(s)+":"+xr(s,c[u])+";");else{var h=Ve(e,t,c);switch(s){case"animation":case"animationName":{i+=Lt(s)+":"+h+";";break}default:i+=s+"{"+h+"}"}}}return i}var Or=/label:\s*([^\s;{]+)\s*(;|$)/g,ye;function qi(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,a="";ye=void 0;var s=e[0];if(s==null||s.raw===void 0)i=!1,a+=Ve(r,t,s);else{var c=s;a+=c[0]}for(var l=1;l<e.length;l++)if(a+=Ve(r,t,e[l]),i){var u=s;a+=u[l]}Or.lastIndex=0;for(var h="",g;(g=Or.exec(a))!==null;)h+="-"+g[1];var x=Fi(a)+h;return{name:x,styles:a,next:ye}}var Vi=function(t){return t()},Xi=M.useInsertionEffect?M.useInsertionEffect:!1,Gi=Xi||Vi,Jr=M.createContext(typeof HTMLElement<"u"?Ai({key:"css"}):null);Jr.Provider;var Ki=function(t){return Y.forwardRef(function(r,i){var a=Y.useContext(Jr);return t(r,a,i)})},Ji=M.createContext({}),Zi=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Qi=Vr(function(e){return Zi.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),ea=Qi,ta=function(t){return t!=="theme"},kr=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?ea:ta},Cr=function(t,r,i){var a;if(r){var s=r.shouldForwardProp;a=t.__emotion_forwardProp&&s?function(c){return t.__emotion_forwardProp(c)&&s(c)}:s}return typeof a!="function"&&i&&(a=t.__emotion_forwardProp),a},ra=function(t){var r=t.cache,i=t.serialized,a=t.isStringTag;return Gr(r,i,a),Gi(function(){return Ni(r,i,a)}),null},na=function e(t,r){var i=t.__emotion_real===t,a=i&&t.__emotion_base||t,s,c;r!==void 0&&(s=r.label,c=r.target);var l=Cr(t,r,i),u=l||kr(a),h=!u("as");return function(){var g=arguments,x=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&x.push("label:"+s+";"),g[0]==null||g[0].raw===void 0)x.push.apply(x,g);else{var _=g[0];x.push(_[0]);for(var D=g.length,P=1;P<D;P++)x.push(g[P],_[P])}var p=Ki(function(I,O,F){var U=h&&I.as||a,q="",v=[],b=I;if(I.theme==null){b={};for(var w in I)b[w]=I[w];b.theme=M.useContext(Ji)}typeof I.className=="string"?q=zi(O.registered,v,I.className):I.className!=null&&(q=I.className+" ");var E=qi(x.concat(v),O.registered,b);q+=O.key+"-"+E.name,c!==void 0&&(q+=" "+c);var y=h&&l===void 0?kr(U):u,d={};for(var k in I)h&&k==="as"||y(k)&&(d[k]=I[k]);return d.className=q,F&&(d.ref=F),M.createElement(M.Fragment,null,M.createElement(ra,{cache:O,serialized:E,isStringTag:typeof U=="string"}),M.createElement(U,d))});return p.displayName=s!==void 0?s:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",p.defaultProps=t.defaultProps,p.__emotion_real=p,p.__emotion_base=a,p.__emotion_styles=x,p.__emotion_forwardProp=l,Object.defineProperty(p,"toString",{value:function(){return"."+c}}),p.withComponent=function(I,O){var F=e(I,At({},r,O,{shouldForwardProp:Cr(p,O,!0)}));return F.apply(void 0,x)},p}},ia=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Pe=na.bind(null);ia.forEach(function(e){Pe[e]=Pe(e)});const aa=Pe.div`
|
|
26
|
+
*/var or;function yt(){return or||(or=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var s="",c=0;c<arguments.length;c++){var l=arguments[c];l&&(s=a(s,i(l)))}return s}function i(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return r.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var c="";for(var l in s)t.call(s,l)&&s[l]&&(c=a(c,l));return c}function a(s,c){return c?s?s+" "+c:s+c:s}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(Tt)),Tt.exports}var B={},_t={},sr;function $r(){return sr||(sr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Y);function r(a){return a&&a.__esModule?a:{default:a}}var i={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(s){return t.default.createElement("ul",{style:{display:"block"}},s)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(s){return t.default.createElement("button",null,s+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,asNavFor:null,unslick:!1};e.default=i}(_t)),_t}var lr;function Ge(){if(lr)return B;lr=1,Object.defineProperty(B,"__esModule",{value:!0}),B.checkSpecKeys=B.checkNavigable=B.changeSlide=B.canUseDOM=B.canGoNext=void 0,B.clamp=h,B.extractObject=void 0,B.filterSettings=H,B.validSettings=B.swipeStart=B.swipeMove=B.swipeEnd=B.slidesOnRight=B.slidesOnLeft=B.slideHandler=B.siblingDirection=B.safePreventDefault=B.lazyStartIndex=B.lazySlidesOnRight=B.lazySlidesOnLeft=B.lazyEndIndex=B.keyHandler=B.initializedState=B.getWidth=B.getTrackLeft=B.getTrackCSS=B.getTrackAnimateCSS=B.getTotalSlides=B.getSwipeDirection=B.getSlideCount=B.getRequiredLazySlides=B.getPreClones=B.getPostClones=B.getOnDemandLazySlides=B.getNavigableIndexes=B.getHeight=void 0;var e=r(Y),t=r($r());function r(m){return m&&m.__esModule?m:{default:m}}function i(m){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},i(m)}function a(m,n){var f=Object.keys(m);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(m);n&&(S=S.filter(function($){return Object.getOwnPropertyDescriptor(m,$).enumerable})),f.push.apply(f,S)}return f}function s(m){for(var n=1;n<arguments.length;n++){var f=arguments[n]!=null?arguments[n]:{};n%2?a(Object(f),!0).forEach(function(S){c(m,S,f[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(f)):a(Object(f)).forEach(function(S){Object.defineProperty(m,S,Object.getOwnPropertyDescriptor(f,S))})}return m}function c(m,n,f){return(n=l(n))in m?Object.defineProperty(m,n,{value:f,enumerable:!0,configurable:!0,writable:!0}):m[n]=f,m}function l(m){var n=u(m,"string");return i(n)=="symbol"?n:n+""}function u(m,n){if(i(m)!="object"||!m)return m;var f=m[Symbol.toPrimitive];if(f!==void 0){var S=f.call(m,n);if(i(S)!="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(m)}function h(m,n,f){return Math.max(n,Math.min(m,f))}var g=B.safePreventDefault=function(n){var f=["onTouchStart","onTouchMove","onWheel"];f.includes(n._reactName)||n.preventDefault()},x=B.getOnDemandLazySlides=function(n){for(var f=[],S=_(n),$=D(n),L=S;L<$;L++)n.lazyLoadedList.indexOf(L)<0&&f.push(L);return f};B.getRequiredLazySlides=function(n){for(var f=[],S=_(n),$=D(n),L=S;L<$;L++)f.push(L);return f};var _=B.lazyStartIndex=function(n){return n.currentSlide-P(n)},D=B.lazyEndIndex=function(n){return n.currentSlide+p(n)},P=B.lazySlidesOnLeft=function(n){return n.centerMode?Math.floor(n.slidesToShow/2)+(parseInt(n.centerPadding)>0?1:0):0},p=B.lazySlidesOnRight=function(n){return n.centerMode?Math.floor((n.slidesToShow-1)/2)+1+(parseInt(n.centerPadding)>0?1:0):n.slidesToShow},I=B.getWidth=function(n){return n&&n.offsetWidth||0},O=B.getHeight=function(n){return n&&n.offsetHeight||0},F=B.getSwipeDirection=function(n){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,S,$,L,z;return S=n.startX-n.curX,$=n.startY-n.curY,L=Math.atan2($,S),z=Math.round(L*180/Math.PI),z<0&&(z=360-Math.abs(z)),z<=45&&z>=0||z<=360&&z>=315?"left":z>=135&&z<=225?"right":f===!0?z>=35&&z<=135?"up":"down":"vertical"},U=B.canGoNext=function(n){var f=!0;return n.infinite||(n.centerMode&&n.currentSlide>=n.slideCount-1||n.slideCount<=n.slidesToShow||n.currentSlide>=n.slideCount-n.slidesToShow)&&(f=!1),f};B.extractObject=function(n,f){var S={};return f.forEach(function($){return S[$]=n[$]}),S},B.initializedState=function(n){var f=e.default.Children.count(n.children),S=n.listRef,$=Math.ceil(I(S)),L=n.trackRef&&n.trackRef.node,z=Math.ceil(I(L)),N;if(n.vertical)N=$;else{var W=n.centerMode&&parseInt(n.centerPadding)*2;typeof n.centerPadding=="string"&&n.centerPadding.slice(-1)==="%"&&(W*=$/100),N=Math.ceil(($-W)/n.slidesToShow)}var V=S&&O(S.querySelector('[data-index="0"]')),K=V*n.slidesToShow,G=n.currentSlide===void 0?n.initialSlide:n.currentSlide;n.rtl&&n.currentSlide===void 0&&(G=f-1-n.initialSlide);var J=n.lazyLoadedList||[],te=x(s(s({},n),{},{currentSlide:G,lazyLoadedList:J}));J=J.concat(te);var Z={slideCount:f,slideWidth:N,listWidth:$,trackWidth:z,currentSlide:G,slideHeight:V,listHeight:K,lazyLoadedList:J};return n.autoplaying===null&&n.autoplay&&(Z.autoplaying="playing"),Z},B.slideHandler=function(n){var f=n.waitForAnimate,S=n.animating,$=n.fade,L=n.infinite,z=n.index,N=n.slideCount,W=n.lazyLoad,V=n.currentSlide,K=n.centerMode,G=n.slidesToScroll,J=n.slidesToShow,te=n.useCSS,Z=n.lazyLoadedList;if(f&&S)return{};var ee=z,ie,le,Q,oe={},ue={},ce=L?z:h(z,0,N-1);if($){if(!L&&(z<0||z>=N))return{};z<0?ee=z+N:z>=N&&(ee=z-N),W&&Z.indexOf(ee)<0&&(Z=Z.concat(ee)),oe={animating:!0,currentSlide:ee,lazyLoadedList:Z,targetSlide:ee},ue={animating:!1,targetSlide:ee}}else ie=ee,ee<0?(ie=ee+N,L?N%G!==0&&(ie=N-N%G):ie=0):!U(n)&&ee>V?ee=ie=V:K&&ee>=N?(ee=L?N:N-1,ie=L?0:N-1):ee>=N&&(ie=ee-N,L?N%G!==0&&(ie=0):ie=N-J),!L&&ee+J>=N&&(ie=N-J),le=d(s(s({},n),{},{slideIndex:ee})),Q=d(s(s({},n),{},{slideIndex:ie})),L||(le===Q&&(ee=ie),le=Q),W&&(Z=Z.concat(x(s(s({},n),{},{currentSlide:ee})))),te?(oe={animating:!0,currentSlide:ie,trackStyle:y(s(s({},n),{},{left:le})),lazyLoadedList:Z,targetSlide:ce},ue={animating:!1,currentSlide:ie,trackStyle:E(s(s({},n),{},{left:Q})),swipeLeft:null,targetSlide:ce}):oe={currentSlide:ie,trackStyle:E(s(s({},n),{},{left:Q})),lazyLoadedList:Z,targetSlide:ce};return{state:oe,nextState:ue}},B.changeSlide=function(n,f){var S,$,L,z,N,W=n.slidesToScroll,V=n.slidesToShow,K=n.slideCount,G=n.currentSlide,J=n.targetSlide,te=n.lazyLoad,Z=n.infinite;if(z=K%W!==0,S=z?0:(K-G)%W,f.message==="previous")L=S===0?W:V-S,N=G-L,te&&!Z&&($=G-L,N=$===-1?K-1:$),Z||(N=J-W);else if(f.message==="next")L=S===0?W:S,N=G+L,te&&!Z&&(N=(G+W)%K+S),Z||(N=J+W);else if(f.message==="dots")N=f.index*f.slidesToScroll;else if(f.message==="children"){if(N=f.index,Z){var ee=T(s(s({},n),{},{targetSlide:N}));N>f.currentSlide&&ee==="left"?N=N-K:N<f.currentSlide&&ee==="right"&&(N=N+K)}}else f.message==="index"&&(N=Number(f.index));return N},B.keyHandler=function(n,f,S){return n.target.tagName.match("TEXTAREA|INPUT|SELECT")||!f?"":n.keyCode===37?S?"next":"previous":n.keyCode===39?S?"previous":"next":""},B.swipeStart=function(n,f,S){return n.target.tagName==="IMG"&&g(n),!f||!S&&n.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:n.touches?n.touches[0].pageX:n.clientX,startY:n.touches?n.touches[0].pageY:n.clientY,curX:n.touches?n.touches[0].pageX:n.clientX,curY:n.touches?n.touches[0].pageY:n.clientY}}},B.swipeMove=function(n,f){var S=f.scrolling,$=f.animating,L=f.vertical,z=f.swipeToSlide,N=f.verticalSwiping,W=f.rtl,V=f.currentSlide,K=f.edgeFriction,G=f.edgeDragged,J=f.onEdge,te=f.swiped,Z=f.swiping,ee=f.slideCount,ie=f.slidesToScroll,le=f.infinite,Q=f.touchObject,oe=f.swipeEvent,ue=f.listHeight,ce=f.listWidth;if(!S){if($)return g(n);L&&z&&N&&g(n);var pe,Ee={},tt=d(f);Q.curX=n.touches?n.touches[0].pageX:n.clientX,Q.curY=n.touches?n.touches[0].pageY:n.clientY,Q.swipeLength=Math.round(Math.sqrt(Math.pow(Q.curX-Q.startX,2)));var er=Math.round(Math.sqrt(Math.pow(Q.curY-Q.startY,2)));if(!N&&!Z&&er>10)return{scrolling:!0};N&&(Q.swipeLength=er);var $e=(W?-1:1)*(Q.curX>Q.startX?1:-1);N&&($e=Q.curY>Q.startY?1:-1);var kn=Math.ceil(ee/ie),Ce=F(f.touchObject,N),Ie=Q.swipeLength;return le||(V===0&&(Ce==="right"||Ce==="down")||V+1>=kn&&(Ce==="left"||Ce==="up")||!U(f)&&(Ce==="left"||Ce==="up"))&&(Ie=Q.swipeLength*K,G===!1&&J&&(J(Ce),Ee.edgeDragged=!0)),!te&&oe&&(oe(Ce),Ee.swiped=!0),L?pe=tt+Ie*(ue/ce)*$e:W?pe=tt-Ie*$e:pe=tt+Ie*$e,N&&(pe=tt+Ie*$e),Ee=s(s({},Ee),{},{touchObject:Q,swipeLeft:pe,trackStyle:E(s(s({},f),{},{left:pe}))}),Math.abs(Q.curX-Q.startX)<Math.abs(Q.curY-Q.startY)*.8||Q.swipeLength>10&&(Ee.swiping=!0,g(n)),Ee}},B.swipeEnd=function(n,f){var S=f.dragging,$=f.swipe,L=f.touchObject,z=f.listWidth,N=f.touchThreshold,W=f.verticalSwiping,V=f.listHeight,K=f.swipeToSlide,G=f.scrolling,J=f.onSwipe,te=f.targetSlide,Z=f.currentSlide,ee=f.infinite;if(!S)return $&&g(n),{};var ie=W?V/N:z/N,le=F(L,W),Q={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(G||!L.swipeLength)return Q;if(L.swipeLength>ie){g(n),J&&J(le);var oe,ue,ce=ee?Z:te;switch(le){case"left":case"up":ue=ce+b(f),oe=K?v(f,ue):ue,Q.currentDirection=0;break;case"right":case"down":ue=ce-b(f),oe=K?v(f,ue):ue,Q.currentDirection=1;break;default:oe=ce}Q.triggerSlideHandler=oe}else{var pe=d(f);Q.trackStyle=y(s(s({},f),{},{left:pe}))}return Q};var q=B.getNavigableIndexes=function(n){for(var f=n.infinite?n.slideCount*2:n.slideCount,S=n.infinite?n.slidesToShow*-1:0,$=n.infinite?n.slidesToShow*-1:0,L=[];S<f;)L.push(S),S=$+n.slidesToScroll,$+=Math.min(n.slidesToScroll,n.slidesToShow);return L},v=B.checkNavigable=function(n,f){var S=q(n),$=0;if(f>S[S.length-1])f=S[S.length-1];else for(var L in S){if(f<S[L]){f=$;break}$=S[L]}return f},b=B.getSlideCount=function(n){var f=n.centerMode?n.slideWidth*Math.floor(n.slidesToShow/2):0;if(n.swipeToSlide){var S,$=n.listRef,L=$.querySelectorAll&&$.querySelectorAll(".slick-slide")||[];if(Array.from(L).every(function(W){if(n.vertical){if(W.offsetTop+O(W)/2>n.swipeLeft*-1)return S=W,!1}else if(W.offsetLeft-f+I(W)/2>n.swipeLeft*-1)return S=W,!1;return!0}),!S)return 0;var z=n.rtl===!0?n.slideCount-n.currentSlide:n.currentSlide,N=Math.abs(S.dataset.index-z)||1;return N}else return n.slidesToScroll},w=B.checkSpecKeys=function(n,f){return f.reduce(function(S,$){return S&&n.hasOwnProperty($)},!0)?null:console.error("Keys Missing:",n)},E=B.getTrackCSS=function(n){w(n,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var f,S;if(!n.vertical)f=R(n)*n.slideWidth;else{var $=n.unslick?n.slideCount:n.slideCount+2*n.slidesToShow;S=$*n.slideHeight}var L={opacity:1,transition:"",WebkitTransition:""};if(n.useTransform){var z=n.vertical?"translate3d(0px, "+n.left+"px, 0px)":"translate3d("+n.left+"px, 0px, 0px)",N=n.vertical?"translate3d(0px, "+n.left+"px, 0px)":"translate3d("+n.left+"px, 0px, 0px)",W=n.vertical?"translateY("+n.left+"px)":"translateX("+n.left+"px)";L=s(s({},L),{},{WebkitTransform:z,transform:N,msTransform:W})}else n.vertical?L.top=n.left:L.left=n.left;return n.fade&&(L={opacity:1}),f&&(L.width=f),S&&(L.height=S),window&&!window.addEventListener&&window.attachEvent&&(n.vertical?L.marginTop=n.left+"px":L.marginLeft=n.left+"px"),L},y=B.getTrackAnimateCSS=function(n){w(n,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var f=E(n);return n.useTransform?(f.WebkitTransition="-webkit-transform "+n.speed+"ms "+n.cssEase,f.transition="transform "+n.speed+"ms "+n.cssEase):n.vertical?f.transition="top "+n.speed+"ms "+n.cssEase:f.transition="left "+n.speed+"ms "+n.cssEase,f},d=B.getTrackLeft=function(n){if(n.unslick)return 0;w(n,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var f=n.slideIndex,S=n.trackRef,$=n.infinite,L=n.centerMode,z=n.slideCount,N=n.slidesToShow,W=n.slidesToScroll,V=n.slideWidth,K=n.listWidth,G=n.variableWidth,J=n.slideHeight,te=n.fade,Z=n.vertical,ee=0,ie,le,Q=0;if(te||n.slideCount===1)return 0;var oe=0;if($?(oe=-k(n),z%W!==0&&f+W>z&&(oe=-(f>z?N-(f-z):z%W)),L&&(oe+=parseInt(N/2))):(z%W!==0&&f+W>z&&(oe=N-z%W),L&&(oe=parseInt(N/2))),ee=oe*V,Q=oe*J,Z?ie=f*J*-1+Q:ie=f*V*-1+ee,G===!0){var ue,ce=S&&S.node;if(ue=f+k(n),le=ce&&ce.childNodes[ue],ie=le?le.offsetLeft*-1:0,L===!0){ue=$?f+k(n):f,le=ce&&ce.children[ue],ie=0;for(var pe=0;pe<ue;pe++)ie-=ce&&ce.children[pe]&&ce.children[pe].offsetWidth;ie-=parseInt(n.centerPadding),ie+=le&&(K-le.offsetWidth)/2}}return ie},k=B.getPreClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},A=B.getPostClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},R=B.getTotalSlides=function(n){return n.slideCount===1?1:k(n)+n.slideCount+A(n)},T=B.siblingDirection=function(n){return n.targetSlide>n.currentSlide?n.targetSlide>n.currentSlide+C(n)?"left":"right":n.targetSlide<n.currentSlide-j(n)?"right":"left"},C=B.slidesOnRight=function(n){var f=n.slidesToShow,S=n.centerMode,$=n.rtl,L=n.centerPadding;if(S){var z=(f-1)/2+1;return parseInt(L)>0&&(z+=1),$&&f%2===0&&(z+=1),z}return $?0:f-1},j=B.slidesOnLeft=function(n){var f=n.slidesToShow,S=n.centerMode,$=n.rtl,L=n.centerPadding;if(S){var z=(f-1)/2+1;return parseInt(L)>0&&(z+=1),!$&&f%2===0&&(z+=1),z}return $?f-1:0};B.canUseDOM=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)};var o=B.validSettings=Object.keys(t.default);function H(m){return o.reduce(function(n,f){return m.hasOwnProperty(f)&&(n[f]=m[f]),n},{})}return B}var Ne={},ur;function Ln(){if(ur)return Ne;ur=1,Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.Track=void 0;var e=i(Y),t=i(yt()),r=Ge();function i(y){return y&&y.__esModule?y:{default:y}}function a(y){"@babel/helpers - typeof";return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},a(y)}function s(){return s=Object.assign?Object.assign.bind():function(y){for(var d=1;d<arguments.length;d++){var k=arguments[d];for(var A in k)({}).hasOwnProperty.call(k,A)&&(y[A]=k[A])}return y},s.apply(null,arguments)}function c(y,d){if(!(y instanceof d))throw new TypeError("Cannot call a class as a function")}function l(y,d){for(var k=0;k<d.length;k++){var A=d[k];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(y,U(A.key),A)}}function u(y,d,k){return d&&l(y.prototype,d),Object.defineProperty(y,"prototype",{writable:!1}),y}function h(y,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(d&&d.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),d&&g(y,d)}function g(y,d){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,A){return k.__proto__=A,k},g(y,d)}function x(y){var d=P();return function(){var k,A=p(y);if(d){var R=p(this).constructor;k=Reflect.construct(A,arguments,R)}else k=A.apply(this,arguments);return _(this,k)}}function _(y,d){if(d&&(a(d)=="object"||typeof d=="function"))return d;if(d!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return D(y)}function D(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}function P(){try{var y=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(P=function(){return!!y})()}function p(y){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(d){return d.__proto__||Object.getPrototypeOf(d)},p(y)}function I(y,d){var k=Object.keys(y);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(y);d&&(A=A.filter(function(R){return Object.getOwnPropertyDescriptor(y,R).enumerable})),k.push.apply(k,A)}return k}function O(y){for(var d=1;d<arguments.length;d++){var k=arguments[d]!=null?arguments[d]:{};d%2?I(Object(k),!0).forEach(function(A){F(y,A,k[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(k)):I(Object(k)).forEach(function(A){Object.defineProperty(y,A,Object.getOwnPropertyDescriptor(k,A))})}return y}function F(y,d,k){return(d=U(d))in y?Object.defineProperty(y,d,{value:k,enumerable:!0,configurable:!0,writable:!0}):y[d]=k,y}function U(y){var d=q(y,"string");return a(d)=="symbol"?d:d+""}function q(y,d){if(a(y)!="object"||!y)return y;var k=y[Symbol.toPrimitive];if(k!==void 0){var A=k.call(y,d);if(a(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(d==="string"?String:Number)(y)}var v=function(d){var k,A,R,T,C;d.rtl?C=d.slideCount-1-d.index:C=d.index,R=C<0||C>=d.slideCount,d.centerMode?(T=Math.floor(d.slidesToShow/2),A=(C-d.currentSlide)%d.slideCount===0,C>d.currentSlide-T-1&&C<=d.currentSlide+T&&(k=!0)):k=d.currentSlide<=C&&C<d.currentSlide+d.slidesToShow;var j;d.targetSlide<0?j=d.targetSlide+d.slideCount:d.targetSlide>=d.slideCount?j=d.targetSlide-d.slideCount:j=d.targetSlide;var o=C===j;return{"slick-slide":!0,"slick-active":k,"slick-center":A,"slick-cloned":R,"slick-current":o}},b=function(d){var k={};return(d.variableWidth===void 0||d.variableWidth===!1)&&(k.width=d.slideWidth),d.fade&&(k.position="relative",d.vertical?k.top=-d.index*parseInt(d.slideHeight):k.left=-d.index*parseInt(d.slideWidth),k.opacity=d.currentSlide===d.index?1:0,k.zIndex=d.currentSlide===d.index?999:998,d.useCSS&&(k.transition="opacity "+d.speed+"ms "+d.cssEase+", visibility "+d.speed+"ms "+d.cssEase)),k},w=function(d,k){return d.key||k},E=function(d){var k,A=[],R=[],T=[],C=e.default.Children.count(d.children),j=(0,r.lazyStartIndex)(d),o=(0,r.lazyEndIndex)(d);return e.default.Children.forEach(d.children,function(H,m){var n,f={message:"children",index:m,slidesToScroll:d.slidesToScroll,currentSlide:d.currentSlide};!d.lazyLoad||d.lazyLoad&&d.lazyLoadedList.indexOf(m)>=0?n=H:n=e.default.createElement("div",null);var S=b(O(O({},d),{},{index:m})),$=n.props.className||"",L=v(O(O({},d),{},{index:m}));if(A.push(e.default.cloneElement(n,{key:"original"+w(n,m),"data-index":m,className:(0,t.default)(L,$),tabIndex:"-1","aria-hidden":!L["slick-active"],style:O(O({outline:"none"},n.props.style||{}),S),onClick:function(W){n.props&&n.props.onClick&&n.props.onClick(W),d.focusOnSelect&&d.focusOnSelect(f)}})),d.infinite&&C>1&&d.fade===!1&&!d.unslick){var z=C-m;z<=(0,r.getPreClones)(d)&&(k=-z,k>=j&&(n=H),L=v(O(O({},d),{},{index:k})),R.push(e.default.cloneElement(n,{key:"precloned"+w(n,k),"data-index":k,tabIndex:"-1",className:(0,t.default)(L,$),"aria-hidden":!L["slick-active"],style:O(O({},n.props.style||{}),S),onClick:function(W){n.props&&n.props.onClick&&n.props.onClick(W),d.focusOnSelect&&d.focusOnSelect(f)}}))),m<(0,r.getPostClones)(d)&&(k=C+m,k<o&&(n=H),L=v(O(O({},d),{},{index:k})),T.push(e.default.cloneElement(n,{key:"postcloned"+w(n,k),"data-index":k,tabIndex:"-1",className:(0,t.default)(L,$),"aria-hidden":!L["slick-active"],style:O(O({},n.props.style||{}),S),onClick:function(W){n.props&&n.props.onClick&&n.props.onClick(W),d.focusOnSelect&&d.focusOnSelect(f)}})))}}),d.rtl?R.concat(A,T).reverse():R.concat(A,T)};return Ne.Track=function(y){h(k,y);var d=x(k);function k(){var A;c(this,k);for(var R=arguments.length,T=new Array(R),C=0;C<R;C++)T[C]=arguments[C];return A=d.call.apply(d,[this].concat(T)),F(D(A),"node",null),F(D(A),"handleRef",function(j){A.node=j}),A}return u(k,[{key:"render",value:function(){var R=E(this.props),T=this.props,C=T.onMouseEnter,j=T.onMouseOver,o=T.onMouseLeave,H={onMouseEnter:C,onMouseOver:j,onMouseLeave:o};return e.default.createElement("div",s({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},H),R)}}]),k}(e.default.PureComponent),Ne}var Fe={},cr;function Mn(){if(cr)return Fe;cr=1;function e(v){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},e(v)}Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.Dots=void 0;var t=a(Y),r=a(yt()),i=Ge();function a(v){return v&&v.__esModule?v:{default:v}}function s(v,b){var w=Object.keys(v);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(v);b&&(E=E.filter(function(y){return Object.getOwnPropertyDescriptor(v,y).enumerable})),w.push.apply(w,E)}return w}function c(v){for(var b=1;b<arguments.length;b++){var w=arguments[b]!=null?arguments[b]:{};b%2?s(Object(w),!0).forEach(function(E){l(v,E,w[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(w)):s(Object(w)).forEach(function(E){Object.defineProperty(v,E,Object.getOwnPropertyDescriptor(w,E))})}return v}function l(v,b,w){return(b=x(b))in v?Object.defineProperty(v,b,{value:w,enumerable:!0,configurable:!0,writable:!0}):v[b]=w,v}function u(v,b){if(!(v instanceof b))throw new TypeError("Cannot call a class as a function")}function h(v,b){for(var w=0;w<b.length;w++){var E=b[w];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(v,x(E.key),E)}}function g(v,b,w){return b&&h(v.prototype,b),Object.defineProperty(v,"prototype",{writable:!1}),v}function x(v){var b=_(v,"string");return e(b)=="symbol"?b:b+""}function _(v,b){if(e(v)!="object"||!v)return v;var w=v[Symbol.toPrimitive];if(w!==void 0){var E=w.call(v,b);if(e(E)!="object")return E;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(v)}function D(v,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(b&&b.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),b&&P(v,b)}function P(v,b){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,E){return w.__proto__=E,w},P(v,b)}function p(v){var b=F();return function(){var w,E=U(v);if(b){var y=U(this).constructor;w=Reflect.construct(E,arguments,y)}else w=E.apply(this,arguments);return I(this,w)}}function I(v,b){if(b&&(e(b)=="object"||typeof b=="function"))return b;if(b!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return O(v)}function O(v){if(v===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v}function F(){try{var v=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(F=function(){return!!v})()}function U(v){return U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},U(v)}var q=function(b){var w;return b.infinite?w=Math.ceil(b.slideCount/b.slidesToScroll):w=Math.ceil((b.slideCount-b.slidesToShow)/b.slidesToScroll)+1,w};return Fe.Dots=function(v){D(w,v);var b=p(w);function w(){return u(this,w),b.apply(this,arguments)}return g(w,[{key:"clickHandler",value:function(y,d){d.preventDefault(),this.props.clickHandler(y)}},{key:"render",value:function(){for(var y=this.props,d=y.onMouseEnter,k=y.onMouseOver,A=y.onMouseLeave,R=y.infinite,T=y.slidesToScroll,C=y.slidesToShow,j=y.slideCount,o=y.currentSlide,H=q({slideCount:j,slidesToScroll:T,slidesToShow:C,infinite:R}),m={onMouseEnter:d,onMouseOver:k,onMouseLeave:A},n=[],f=0;f<H;f++){var S=(f+1)*T-1,$=R?S:(0,i.clamp)(S,0,j-1),L=$-(T-1),z=R?L:(0,i.clamp)(L,0,j-1),N=(0,r.default)({"slick-active":R?o>=z&&o<=$:o===z}),W={message:"dots",index:f,slidesToScroll:T,currentSlide:o},V=this.clickHandler.bind(this,W);n=n.concat(t.default.createElement("li",{key:f,className:N},t.default.cloneElement(this.props.customPaging(f),{onClick:V})))}return t.default.cloneElement(this.props.appendDots(n),c({className:this.props.dotsClass},m))}}]),w}(t.default.PureComponent),Fe}var Re={},fr;function $n(){if(fr)return Re;fr=1;function e(v){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},e(v)}Object.defineProperty(Re,"__esModule",{value:!0}),Re.PrevArrow=Re.NextArrow=void 0;var t=a(Y),r=a(yt()),i=Ge();function a(v){return v&&v.__esModule?v:{default:v}}function s(){return s=Object.assign?Object.assign.bind():function(v){for(var b=1;b<arguments.length;b++){var w=arguments[b];for(var E in w)({}).hasOwnProperty.call(w,E)&&(v[E]=w[E])}return v},s.apply(null,arguments)}function c(v,b){var w=Object.keys(v);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(v);b&&(E=E.filter(function(y){return Object.getOwnPropertyDescriptor(v,y).enumerable})),w.push.apply(w,E)}return w}function l(v){for(var b=1;b<arguments.length;b++){var w=arguments[b]!=null?arguments[b]:{};b%2?c(Object(w),!0).forEach(function(E){u(v,E,w[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(w)):c(Object(w)).forEach(function(E){Object.defineProperty(v,E,Object.getOwnPropertyDescriptor(w,E))})}return v}function u(v,b,w){return(b=_(b))in v?Object.defineProperty(v,b,{value:w,enumerable:!0,configurable:!0,writable:!0}):v[b]=w,v}function h(v,b){if(!(v instanceof b))throw new TypeError("Cannot call a class as a function")}function g(v,b){for(var w=0;w<b.length;w++){var E=b[w];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(v,_(E.key),E)}}function x(v,b,w){return b&&g(v.prototype,b),Object.defineProperty(v,"prototype",{writable:!1}),v}function _(v){var b=D(v,"string");return e(b)=="symbol"?b:b+""}function D(v,b){if(e(v)!="object"||!v)return v;var w=v[Symbol.toPrimitive];if(w!==void 0){var E=w.call(v,b);if(e(E)!="object")return E;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(v)}function P(v,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(b&&b.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),b&&p(v,b)}function p(v,b){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,E){return w.__proto__=E,w},p(v,b)}function I(v){var b=U();return function(){var w,E=q(v);if(b){var y=q(this).constructor;w=Reflect.construct(E,arguments,y)}else w=E.apply(this,arguments);return O(this,w)}}function O(v,b){if(b&&(e(b)=="object"||typeof b=="function"))return b;if(b!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return F(v)}function F(v){if(v===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v}function U(){try{var v=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(U=function(){return!!v})()}function q(v){return q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},q(v)}return Re.PrevArrow=function(v){P(w,v);var b=I(w);function w(){return h(this,w),b.apply(this,arguments)}return x(w,[{key:"clickHandler",value:function(y,d){d&&d.preventDefault(),this.props.clickHandler(y,d)}},{key:"render",value:function(){var y={"slick-arrow":!0,"slick-prev":!0},d=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(y["slick-disabled"]=!0,d=null);var k={key:"0","data-role":"none",className:(0,r.default)(y),style:{display:"block"},onClick:d},A={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},R;return this.props.prevArrow?R=t.default.cloneElement(this.props.prevArrow,l(l({},k),A)):R=t.default.createElement("button",s({key:"0",type:"button"},k)," ","Previous"),R}}]),w}(t.default.PureComponent),Re.NextArrow=function(v){P(w,v);var b=I(w);function w(){return h(this,w),b.apply(this,arguments)}return x(w,[{key:"clickHandler",value:function(y,d){d&&d.preventDefault(),this.props.clickHandler(y,d)}},{key:"render",value:function(){var y={"slick-arrow":!0,"slick-next":!0},d=this.clickHandler.bind(this,{message:"next"});(0,i.canGoNext)(this.props)||(y["slick-disabled"]=!0,d=null);var k={key:"1","data-role":"none",className:(0,r.default)(y),style:{display:"block"},onClick:d},A={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},R;return this.props.nextArrow?R=t.default.cloneElement(this.props.nextArrow,l(l({},k),A)):R=t.default.createElement("button",s({key:"1",type:"button"},k)," ","Next"),R}}]),w}(t.default.PureComponent),Re}var Ir=function(){if(typeof Map<"u")return Map;function e(t,r){var i=-1;return t.some(function(a,s){return a[0]===r?(i=s,!0):!1}),i}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var i=e(this.__entries__,r),a=this.__entries__[i];return a&&a[1]},t.prototype.set=function(r,i){var a=e(this.__entries__,r);~a?this.__entries__[a][1]=i:this.__entries__.push([r,i])},t.prototype.delete=function(r){var i=this.__entries__,a=e(i,r);~a&&i.splice(a,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,i){i===void 0&&(i=null);for(var a=0,s=this.__entries__;a<s.length;a++){var c=s[a];r.call(i,c[1],c[0])}},t}()}(),It=typeof window<"u"&&typeof document<"u"&&window.document===document,pt=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),In=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(pt):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),An=2;function Hn(e,t){var r=!1,i=!1,a=0;function s(){r&&(r=!1,e()),i&&l()}function c(){In(s)}function l(){var u=Date.now();if(r){if(u-a<An)return;i=!0}else r=!0,i=!1,setTimeout(c,t);a=u}return l}var zn=20,Nn=["top","right","bottom","left","width","height","size","weight"],Fn=typeof MutationObserver<"u",Wn=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Hn(this.refresh.bind(this),zn)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var r=this.observers_,i=r.indexOf(t);~i&&r.splice(i,1),!r.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return t.forEach(function(r){return r.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!It||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Fn?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!It||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,i=r===void 0?"":r,a=Nn.some(function(s){return!!~i.indexOf(s)});a&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Ar=function(e,t){for(var r=0,i=Object.keys(t);r<i.length;r++){var a=i[r];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},_e=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||pt},Hr=bt(0,0,0,0);function mt(e){return parseFloat(e)||0}function dr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(i,a){var s=e["border-"+a+"-width"];return i+mt(s)},0)}function Un(e){for(var t=["top","right","bottom","left"],r={},i=0,a=t;i<a.length;i++){var s=a[i],c=e["padding-"+s];r[s]=mt(c)}return r}function Yn(e){var t=e.getBBox();return bt(0,0,t.width,t.height)}function Bn(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return Hr;var i=_e(e).getComputedStyle(e),a=Un(i),s=a.left+a.right,c=a.top+a.bottom,l=mt(i.width),u=mt(i.height);if(i.boxSizing==="border-box"&&(Math.round(l+s)!==t&&(l-=dr(i,"left","right")+s),Math.round(u+c)!==r&&(u-=dr(i,"top","bottom")+c)),!Vn(e)){var h=Math.round(l+s)-t,g=Math.round(u+c)-r;Math.abs(h)!==1&&(l-=h),Math.abs(g)!==1&&(u-=g)}return bt(a.left,a.top,l,u)}var qn=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof _e(e).SVGGraphicsElement}:function(e){return e instanceof _e(e).SVGElement&&typeof e.getBBox=="function"}}();function Vn(e){return e===_e(e).document.documentElement}function Xn(e){return It?qn(e)?Yn(e):Bn(e):Hr}function Gn(e){var t=e.x,r=e.y,i=e.width,a=e.height,s=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,c=Object.create(s.prototype);return Ar(c,{x:t,y:r,width:i,height:a,top:r,right:t+i,bottom:a+r,left:t}),c}function bt(e,t,r,i){return{x:e,y:t,width:r,height:i}}var Kn=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=bt(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=Xn(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),Jn=function(){function e(t,r){var i=Gn(r);Ar(this,{target:t,contentRect:i})}return e}(),Zn=function(){function e(t,r,i){if(this.activeObservations_=[],this.observations_=new Ir,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=i}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof _e(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new Kn(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof _e(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(i){return new Jn(i.target,i.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),zr=typeof WeakMap<"u"?new WeakMap:new Ir,Nr=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=Wn.getInstance(),i=new Zn(t,r,this);zr.set(this,i)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Nr.prototype[e]=function(){var t;return(t=zr.get(this))[e].apply(t,arguments)}});var Qn=function(){return typeof pt.ResizeObserver<"u"?pt.ResizeObserver:Nr}();const ei=Object.freeze(Object.defineProperty({__proto__:null,default:Qn},Symbol.toStringTag,{value:"Module"})),ti=Pn(ei);var hr;function ri(){if(hr)return ze;hr=1,Object.defineProperty(ze,"__esModule",{value:!0}),ze.InnerSlider=void 0;var e=h(Y),t=h(jn()),r=h(Dn()),i=h(yt()),a=Ge(),s=Ln(),c=Mn(),l=$n(),u=h(ti);function h(R){return R&&R.__esModule?R:{default:R}}function g(R){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},g(R)}function x(){return x=Object.assign?Object.assign.bind():function(R){for(var T=1;T<arguments.length;T++){var C=arguments[T];for(var j in C)({}).hasOwnProperty.call(C,j)&&(R[j]=C[j])}return R},x.apply(null,arguments)}function _(R,T){if(R==null)return{};var C,j,o=D(R,T);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(R);for(j=0;j<H.length;j++)C=H[j],T.includes(C)||{}.propertyIsEnumerable.call(R,C)&&(o[C]=R[C])}return o}function D(R,T){if(R==null)return{};var C={};for(var j in R)if({}.hasOwnProperty.call(R,j)){if(T.includes(j))continue;C[j]=R[j]}return C}function P(R,T){var C=Object.keys(R);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(R);T&&(j=j.filter(function(o){return Object.getOwnPropertyDescriptor(R,o).enumerable})),C.push.apply(C,j)}return C}function p(R){for(var T=1;T<arguments.length;T++){var C=arguments[T]!=null?arguments[T]:{};T%2?P(Object(C),!0).forEach(function(j){d(R,j,C[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(C)):P(Object(C)).forEach(function(j){Object.defineProperty(R,j,Object.getOwnPropertyDescriptor(C,j))})}return R}function I(R,T){if(!(R instanceof T))throw new TypeError("Cannot call a class as a function")}function O(R,T){for(var C=0;C<T.length;C++){var j=T[C];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(R,k(j.key),j)}}function F(R,T,C){return T&&O(R.prototype,T),Object.defineProperty(R,"prototype",{writable:!1}),R}function U(R,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(T&&T.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),T&&q(R,T)}function q(R,T){return q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(C,j){return C.__proto__=j,C},q(R,T)}function v(R){var T=E();return function(){var C,j=y(R);if(T){var o=y(this).constructor;C=Reflect.construct(j,arguments,o)}else C=j.apply(this,arguments);return b(this,C)}}function b(R,T){if(T&&(g(T)=="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return w(R)}function w(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function E(){try{var R=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(E=function(){return!!R})()}function y(R){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(T){return T.__proto__||Object.getPrototypeOf(T)},y(R)}function d(R,T,C){return(T=k(T))in R?Object.defineProperty(R,T,{value:C,enumerable:!0,configurable:!0,writable:!0}):R[T]=C,R}function k(R){var T=A(R,"string");return g(T)=="symbol"?T:T+""}function A(R,T){if(g(R)!="object"||!R)return R;var C=R[Symbol.toPrimitive];if(C!==void 0){var j=C.call(R,T);if(g(j)!="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return(T==="string"?String:Number)(R)}return ze.InnerSlider=function(R){U(C,R);var T=v(C);function C(j){var o;I(this,C),o=T.call(this,j),d(w(o),"listRefHandler",function(m){return o.list=m}),d(w(o),"trackRefHandler",function(m){return o.track=m}),d(w(o),"adaptHeight",function(){if(o.props.adaptiveHeight&&o.list){var m=o.list.querySelector('[data-index="'.concat(o.state.currentSlide,'"]'));o.list.style.height=(0,a.getHeight)(m)+"px"}}),d(w(o),"componentDidMount",function(){if(o.props.onInit&&o.props.onInit(),o.props.lazyLoad){var m=(0,a.getOnDemandLazySlides)(p(p({},o.props),o.state));m.length>0&&(o.setState(function(f){return{lazyLoadedList:f.lazyLoadedList.concat(m)}}),o.props.onLazyLoad&&o.props.onLazyLoad(m))}var n=p({listRef:o.list,trackRef:o.track},o.props);o.updateState(n,!0,function(){o.adaptHeight(),o.props.autoplay&&o.autoPlay("update")}),o.props.lazyLoad==="progressive"&&(o.lazyLoadTimer=setInterval(o.progressiveLazyLoad,1e3)),o.ro=new u.default(function(){o.state.animating?(o.onWindowResized(!1),o.callbackTimers.push(setTimeout(function(){return o.onWindowResized()},o.props.speed))):o.onWindowResized()}),o.ro.observe(o.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(f){f.onfocus=o.props.pauseOnFocus?o.onSlideFocus:null,f.onblur=o.props.pauseOnFocus?o.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",o.onWindowResized):window.attachEvent("onresize",o.onWindowResized)}),d(w(o),"componentWillUnmount",function(){o.animationEndCallback&&clearTimeout(o.animationEndCallback),o.lazyLoadTimer&&clearInterval(o.lazyLoadTimer),o.callbackTimers.length&&(o.callbackTimers.forEach(function(m){return clearTimeout(m)}),o.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",o.onWindowResized):window.detachEvent("onresize",o.onWindowResized),o.autoplayTimer&&clearInterval(o.autoplayTimer),o.ro.disconnect()}),d(w(o),"componentDidUpdate",function(m){if(o.checkImagesLoad(),o.props.onReInit&&o.props.onReInit(),o.props.lazyLoad){var n=(0,a.getOnDemandLazySlides)(p(p({},o.props),o.state));n.length>0&&(o.setState(function($){return{lazyLoadedList:$.lazyLoadedList.concat(n)}}),o.props.onLazyLoad&&o.props.onLazyLoad(n))}o.adaptHeight();var f=p(p({listRef:o.list,trackRef:o.track},o.props),o.state),S=o.didPropsChange(m);S&&o.updateState(f,S,function(){o.state.currentSlide>=e.default.Children.count(o.props.children)&&o.changeSlide({message:"index",index:e.default.Children.count(o.props.children)-o.props.slidesToShow,currentSlide:o.state.currentSlide}),o.props.autoplay?o.autoPlay("update"):o.pause("paused")})}),d(w(o),"onWindowResized",function(m){o.debouncedResize&&o.debouncedResize.cancel(),o.debouncedResize=(0,r.default)(function(){return o.resizeWindow(m)},50),o.debouncedResize()}),d(w(o),"resizeWindow",function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,n=!!(o.track&&o.track.node);if(n){var f=p(p({listRef:o.list,trackRef:o.track},o.props),o.state);o.updateState(f,m,function(){o.props.autoplay?o.autoPlay("update"):o.pause("paused")}),o.setState({animating:!1}),clearTimeout(o.animationEndCallback),delete o.animationEndCallback}}),d(w(o),"updateState",function(m,n,f){var S=(0,a.initializedState)(m);m=p(p(p({},m),S),{},{slideIndex:S.currentSlide});var $=(0,a.getTrackLeft)(m);m=p(p({},m),{},{left:$});var L=(0,a.getTrackCSS)(m);(n||e.default.Children.count(o.props.children)!==e.default.Children.count(m.children))&&(S.trackStyle=L),o.setState(S,f)}),d(w(o),"ssrInit",function(){if(o.props.variableWidth){var m=0,n=0,f=[],S=(0,a.getPreClones)(p(p(p({},o.props),o.state),{},{slideCount:o.props.children.length})),$=(0,a.getPostClones)(p(p(p({},o.props),o.state),{},{slideCount:o.props.children.length}));o.props.children.forEach(function(le){f.push(le.props.style.width),m+=le.props.style.width});for(var L=0;L<S;L++)n+=f[f.length-1-L],m+=f[f.length-1-L];for(var z=0;z<$;z++)m+=f[z];for(var N=0;N<o.state.currentSlide;N++)n+=f[N];var W={width:m+"px",left:-n+"px"};if(o.props.centerMode){var V="".concat(f[o.state.currentSlide],"px");W.left="calc(".concat(W.left," + (100% - ").concat(V,") / 2 ) ")}return{trackStyle:W}}var K=e.default.Children.count(o.props.children),G=p(p(p({},o.props),o.state),{},{slideCount:K}),J=(0,a.getPreClones)(G)+(0,a.getPostClones)(G)+K,te=100/o.props.slidesToShow*J,Z=100/J,ee=-Z*((0,a.getPreClones)(G)+o.state.currentSlide)*te/100;o.props.centerMode&&(ee+=(100-Z*te/100)/2);var ie={width:te+"%",left:ee+"%"};return{slideWidth:Z+"%",trackStyle:ie}}),d(w(o),"checkImagesLoad",function(){var m=o.list&&o.list.querySelectorAll&&o.list.querySelectorAll(".slick-slide img")||[],n=m.length,f=0;Array.prototype.forEach.call(m,function(S){var $=function(){return++f&&f>=n&&o.onWindowResized()};if(!S.onclick)S.onclick=function(){return S.parentNode.focus()};else{var L=S.onclick;S.onclick=function(z){L(z),S.parentNode.focus()}}S.onload||(o.props.lazyLoad?S.onload=function(){o.adaptHeight(),o.callbackTimers.push(setTimeout(o.onWindowResized,o.props.speed))}:(S.onload=$,S.onerror=function(){$(),o.props.onLazyLoadError&&o.props.onLazyLoadError()}))})}),d(w(o),"progressiveLazyLoad",function(){for(var m=[],n=p(p({},o.props),o.state),f=o.state.currentSlide;f<o.state.slideCount+(0,a.getPostClones)(n);f++)if(o.state.lazyLoadedList.indexOf(f)<0){m.push(f);break}for(var S=o.state.currentSlide-1;S>=-(0,a.getPreClones)(n);S--)if(o.state.lazyLoadedList.indexOf(S)<0){m.push(S);break}m.length>0?(o.setState(function($){return{lazyLoadedList:$.lazyLoadedList.concat(m)}}),o.props.onLazyLoad&&o.props.onLazyLoad(m)):o.lazyLoadTimer&&(clearInterval(o.lazyLoadTimer),delete o.lazyLoadTimer)}),d(w(o),"slideHandler",function(m){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,f=o.props,S=f.asNavFor,$=f.beforeChange,L=f.onLazyLoad,z=f.speed,N=f.afterChange,W=o.state.currentSlide,V=(0,a.slideHandler)(p(p(p({index:m},o.props),o.state),{},{trackRef:o.track,useCSS:o.props.useCSS&&!n})),K=V.state,G=V.nextState;if(K){$&&$(W,K.currentSlide);var J=K.lazyLoadedList.filter(function(te){return o.state.lazyLoadedList.indexOf(te)<0});L&&J.length>0&&L(J),!o.props.waitForAnimate&&o.animationEndCallback&&(clearTimeout(o.animationEndCallback),N&&N(W),delete o.animationEndCallback),o.setState(K,function(){S&&o.asNavForIndex!==m&&(o.asNavForIndex=m,S.innerSlider.slideHandler(m)),G&&(o.animationEndCallback=setTimeout(function(){var te=G.animating,Z=_(G,["animating"]);o.setState(Z,function(){o.callbackTimers.push(setTimeout(function(){return o.setState({animating:te})},10)),N&&N(K.currentSlide),delete o.animationEndCallback})},z))})}}),d(w(o),"changeSlide",function(m){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,f=p(p({},o.props),o.state),S=(0,a.changeSlide)(f,m);if(!(S!==0&&!S)&&(n===!0?o.slideHandler(S,n):o.slideHandler(S),o.props.autoplay&&o.autoPlay("update"),o.props.focusOnSelect)){var $=o.list.querySelectorAll(".slick-current");$[0]&&$[0].focus()}}),d(w(o),"clickHandler",function(m){o.clickable===!1&&(m.stopPropagation(),m.preventDefault()),o.clickable=!0}),d(w(o),"keyHandler",function(m){var n=(0,a.keyHandler)(m,o.props.accessibility,o.props.rtl);n!==""&&o.changeSlide({message:n})}),d(w(o),"selectHandler",function(m){o.changeSlide(m)}),d(w(o),"disableBodyScroll",function(){var m=function(f){f=f||window.event,f.preventDefault&&f.preventDefault(),f.returnValue=!1};window.ontouchmove=m}),d(w(o),"enableBodyScroll",function(){window.ontouchmove=null}),d(w(o),"swipeStart",function(m){o.props.verticalSwiping&&o.disableBodyScroll();var n=(0,a.swipeStart)(m,o.props.swipe,o.props.draggable);n!==""&&o.setState(n)}),d(w(o),"swipeMove",function(m){var n=(0,a.swipeMove)(m,p(p(p({},o.props),o.state),{},{trackRef:o.track,listRef:o.list,slideIndex:o.state.currentSlide}));n&&(n.swiping&&(o.clickable=!1),o.setState(n))}),d(w(o),"swipeEnd",function(m){var n=(0,a.swipeEnd)(m,p(p(p({},o.props),o.state),{},{trackRef:o.track,listRef:o.list,slideIndex:o.state.currentSlide}));if(n){var f=n.triggerSlideHandler;delete n.triggerSlideHandler,o.setState(n),f!==void 0&&(o.slideHandler(f),o.props.verticalSwiping&&o.enableBodyScroll())}}),d(w(o),"touchEnd",function(m){o.swipeEnd(m),o.clickable=!0}),d(w(o),"slickPrev",function(){o.callbackTimers.push(setTimeout(function(){return o.changeSlide({message:"previous"})},0))}),d(w(o),"slickNext",function(){o.callbackTimers.push(setTimeout(function(){return o.changeSlide({message:"next"})},0))}),d(w(o),"slickGoTo",function(m){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(m=Number(m),isNaN(m))return"";o.callbackTimers.push(setTimeout(function(){return o.changeSlide({message:"index",index:m,currentSlide:o.state.currentSlide},n)},0))}),d(w(o),"play",function(){var m;if(o.props.rtl)m=o.state.currentSlide-o.props.slidesToScroll;else if((0,a.canGoNext)(p(p({},o.props),o.state)))m=o.state.currentSlide+o.props.slidesToScroll;else return!1;o.slideHandler(m)}),d(w(o),"autoPlay",function(m){o.autoplayTimer&&clearInterval(o.autoplayTimer);var n=o.state.autoplaying;if(m==="update"){if(n==="hovered"||n==="focused"||n==="paused")return}else if(m==="leave"){if(n==="paused"||n==="focused")return}else if(m==="blur"&&(n==="paused"||n==="hovered"))return;o.autoplayTimer=setInterval(o.play,o.props.autoplaySpeed+50),o.setState({autoplaying:"playing"})}),d(w(o),"pause",function(m){o.autoplayTimer&&(clearInterval(o.autoplayTimer),o.autoplayTimer=null);var n=o.state.autoplaying;m==="paused"?o.setState({autoplaying:"paused"}):m==="focused"?(n==="hovered"||n==="playing")&&o.setState({autoplaying:"focused"}):n==="playing"&&o.setState({autoplaying:"hovered"})}),d(w(o),"onDotsOver",function(){return o.props.autoplay&&o.pause("hovered")}),d(w(o),"onDotsLeave",function(){return o.props.autoplay&&o.state.autoplaying==="hovered"&&o.autoPlay("leave")}),d(w(o),"onTrackOver",function(){return o.props.autoplay&&o.pause("hovered")}),d(w(o),"onTrackLeave",function(){return o.props.autoplay&&o.state.autoplaying==="hovered"&&o.autoPlay("leave")}),d(w(o),"onSlideFocus",function(){return o.props.autoplay&&o.pause("focused")}),d(w(o),"onSlideBlur",function(){return o.props.autoplay&&o.state.autoplaying==="focused"&&o.autoPlay("blur")}),d(w(o),"render",function(){var m=(0,i.default)("slick-slider",o.props.className,{"slick-vertical":o.props.vertical,"slick-initialized":!0}),n=p(p({},o.props),o.state),f=(0,a.extractObject)(n,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),S=o.props.pauseOnHover;f=p(p({},f),{},{onMouseEnter:S?o.onTrackOver:null,onMouseLeave:S?o.onTrackLeave:null,onMouseOver:S?o.onTrackOver:null,focusOnSelect:o.props.focusOnSelect&&o.clickable?o.selectHandler:null});var $;if(o.props.dots===!0&&o.state.slideCount>=o.props.slidesToShow){var L=(0,a.extractObject)(n,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),z=o.props.pauseOnDotsHover;L=p(p({},L),{},{clickHandler:o.changeSlide,onMouseEnter:z?o.onDotsLeave:null,onMouseOver:z?o.onDotsOver:null,onMouseLeave:z?o.onDotsLeave:null}),$=e.default.createElement(c.Dots,L)}var N,W,V=(0,a.extractObject)(n,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);V.clickHandler=o.changeSlide,o.props.arrows&&(N=e.default.createElement(l.PrevArrow,V),W=e.default.createElement(l.NextArrow,V));var K=null;o.props.vertical&&(K={height:o.state.listHeight});var G=null;o.props.vertical===!1?o.props.centerMode===!0&&(G={padding:"0px "+o.props.centerPadding}):o.props.centerMode===!0&&(G={padding:o.props.centerPadding+" 0px"});var J=p(p({},K),G),te=o.props.touchMove,Z={className:"slick-list",style:J,onClick:o.clickHandler,onMouseDown:te?o.swipeStart:null,onMouseMove:o.state.dragging&&te?o.swipeMove:null,onMouseUp:te?o.swipeEnd:null,onMouseLeave:o.state.dragging&&te?o.swipeEnd:null,onTouchStart:te?o.swipeStart:null,onTouchMove:o.state.dragging&&te?o.swipeMove:null,onTouchEnd:te?o.touchEnd:null,onTouchCancel:o.state.dragging&&te?o.swipeEnd:null,onKeyDown:o.props.accessibility?o.keyHandler:null},ee={className:m,dir:"ltr",style:o.props.style};return o.props.unslick&&(Z={className:"slick-list"},ee={className:m,style:o.props.style}),e.default.createElement("div",ee,o.props.unslick?"":N,e.default.createElement("div",x({ref:o.listRefHandler},Z),e.default.createElement(s.Track,x({ref:o.trackRefHandler},f),o.props.children)),o.props.unslick?"":W,o.props.unslick?"":$)}),o.list=null,o.track=null,o.state=p(p({},t.default),{},{currentSlide:o.props.initialSlide,targetSlide:o.props.initialSlide?o.props.initialSlide:0,slideCount:e.default.Children.count(o.props.children)}),o.callbackTimers=[],o.clickable=!0,o.debouncedResize=null;var H=o.ssrInit();return o.state=p(p({},o.state),H),o}return F(C,[{key:"didPropsChange",value:function(o){for(var H=!1,m=0,n=Object.keys(this.props);m<n.length;m++){var f=n[m];if(!o.hasOwnProperty(f)){H=!0;break}if(!(g(o[f])==="object"||typeof o[f]=="function"||isNaN(o[f]))&&o[f]!==this.props[f]){H=!0;break}}return H||e.default.Children.count(this.props.children)!==e.default.Children.count(o.children)}}]),C}(e.default.Component),ze}var jt,pr;function ni(){if(pr)return jt;pr=1;var e=function(t){return t.replace(/[A-Z]/g,function(r){return"-"+r.toLowerCase()}).toLowerCase()};return jt=e,jt}var Dt,mr;function ii(){if(mr)return Dt;mr=1;var e=ni(),t=function(a){var s=/[height|width]$/;return s.test(a)},r=function(a){var s="",c=Object.keys(a);return c.forEach(function(l,u){var h=a[l];l=e(l),t(l)&&typeof h=="number"&&(h=h+"px"),h===!0?s+=l:h===!1?s+="not "+l:s+="("+l+": "+h+")",u<c.length-1&&(s+=" and ")}),s},i=function(a){var s="";return typeof a=="string"?a:a instanceof Array?(a.forEach(function(c,l){s+=r(c),l<a.length-1&&(s+=", ")}),s):r(a)};return Dt=i,Dt}var vr;function ai(){return vr||(vr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=c(Y),r=ri(),i=c(ii()),a=c($r()),s=Ge();function c(E){return E&&E.__esModule?E:{default:E}}function l(E){"@babel/helpers - typeof";return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},l(E)}function u(){return u=Object.assign?Object.assign.bind():function(E){for(var y=1;y<arguments.length;y++){var d=arguments[y];for(var k in d)({}).hasOwnProperty.call(d,k)&&(E[k]=d[k])}return E},u.apply(null,arguments)}function h(E,y){var d=Object.keys(E);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(E);y&&(k=k.filter(function(A){return Object.getOwnPropertyDescriptor(E,A).enumerable})),d.push.apply(d,k)}return d}function g(E){for(var y=1;y<arguments.length;y++){var d=arguments[y]!=null?arguments[y]:{};y%2?h(Object(d),!0).forEach(function(k){v(E,k,d[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(d)):h(Object(d)).forEach(function(k){Object.defineProperty(E,k,Object.getOwnPropertyDescriptor(d,k))})}return E}function x(E,y){if(!(E instanceof y))throw new TypeError("Cannot call a class as a function")}function _(E,y){for(var d=0;d<y.length;d++){var k=y[d];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(E,b(k.key),k)}}function D(E,y,d){return y&&_(E.prototype,y),Object.defineProperty(E,"prototype",{writable:!1}),E}function P(E,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(y&&y.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),Object.defineProperty(E,"prototype",{writable:!1}),y&&p(E,y)}function p(E,y){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,k){return d.__proto__=k,d},p(E,y)}function I(E){var y=U();return function(){var d,k=q(E);if(y){var A=q(this).constructor;d=Reflect.construct(k,arguments,A)}else d=k.apply(this,arguments);return O(this,d)}}function O(E,y){if(y&&(l(y)=="object"||typeof y=="function"))return y;if(y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return F(E)}function F(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function U(){try{var E=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(U=function(){return!!E})()}function q(E){return q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(y){return y.__proto__||Object.getPrototypeOf(y)},q(E)}function v(E,y,d){return(y=b(y))in E?Object.defineProperty(E,y,{value:d,enumerable:!0,configurable:!0,writable:!0}):E[y]=d,E}function b(E){var y=w(E,"string");return l(y)=="symbol"?y:y+""}function w(E,y){if(l(E)!="object"||!E)return E;var d=E[Symbol.toPrimitive];if(d!==void 0){var k=d.call(E,y);if(l(k)!="object")return k;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(E)}e.default=function(E){P(d,E);var y=I(d);function d(k){var A;return x(this,d),A=y.call(this,k),v(F(A),"innerSliderRefHandler",function(R){return A.innerSlider=R}),v(F(A),"slickPrev",function(){return A.innerSlider.slickPrev()}),v(F(A),"slickNext",function(){return A.innerSlider.slickNext()}),v(F(A),"slickGoTo",function(R){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return A.innerSlider.slickGoTo(R,T)}),v(F(A),"slickPause",function(){return A.innerSlider.pause("paused")}),v(F(A),"slickPlay",function(){return A.innerSlider.autoPlay("play")}),A.state={breakpoint:null},A._responsiveMediaHandlers=[],A}return D(d,[{key:"media",value:function(A,R){var T=window.matchMedia(A),C=function(o){var H=o.matches;H&&R()};T.addListener(C),this._responsiveMediaHandlers.push({mql:T,query:A,listener:C})}},{key:"componentDidMount",value:function(){var A=this;if(this.props.responsive){var R=this.props.responsive.map(function(C){return C.breakpoint});R.sort(function(C,j){return C-j}),R.forEach(function(C,j){var o;j===0?o=(0,i.default)({minWidth:0,maxWidth:C}):o=(0,i.default)({minWidth:R[j-1]+1,maxWidth:C}),(0,s.canUseDOM)()&&A.media(o,function(){A.setState({breakpoint:C})})});var T=(0,i.default)({minWidth:R.slice(-1)[0]});(0,s.canUseDOM)()&&this.media(T,function(){A.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(A){A.mql.removeListener(A.listener)})}},{key:"render",value:function(){var A=this,R,T;this.state.breakpoint?(T=this.props.responsive.filter(function(L){return L.breakpoint===A.state.breakpoint}),R=T[0].settings==="unslick"?"unslick":g(g(g({},a.default),this.props),T[0].settings)):R=g(g({},a.default),this.props),R.centerMode&&(R.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(R.slidesToScroll)),R.slidesToScroll=1),R.fade&&(R.slidesToShow>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(R.slidesToShow)),R.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(R.slidesToScroll)),R.slidesToShow=1,R.slidesToScroll=1);var C=t.default.Children.toArray(this.props.children);C=C.filter(function(L){return typeof L=="string"?!!L.trim():!!L}),R.variableWidth&&(R.rows>1||R.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),R.variableWidth=!1);for(var j=[],o=null,H=0;H<C.length;H+=R.rows*R.slidesPerRow){for(var m=[],n=H;n<H+R.rows*R.slidesPerRow;n+=R.slidesPerRow){for(var f=[],S=n;S<n+R.slidesPerRow&&(R.variableWidth&&C[S].props.style&&(o=C[S].props.style.width),!(S>=C.length));S+=1)f.push(t.default.cloneElement(C[S],{key:100*H+10*n+S,tabIndex:-1,style:{width:"".concat(100/R.slidesPerRow,"%"),display:"inline-block"}}));m.push(t.default.createElement("div",{key:10*H+n},f))}R.variableWidth?j.push(t.default.createElement("div",{key:H,style:{width:o}},m)):j.push(t.default.createElement("div",{key:H},m))}if(R==="unslick"){var $="regular slider "+(this.props.className||"");return t.default.createElement("div",{className:$},C)}else j.length<=R.slidesToShow&&(R.unslick=!0);return t.default.createElement(r.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},(0,s.filterSettings)(R)),j)}}]),d}(t.default.Component)}(Pt)),Pt}var gr;function oi(){return gr||(gr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(ai());function r(i){return i&&i.__esModule?i:{default:i}}e.default=t.default}(Ct)),Ct}var si=oi();const li=Ut(si);function At(){return At=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)({}).hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},At.apply(null,arguments)}function ui(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function ci(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var fi=function(){function e(r){var i=this;this._insertTag=function(a){var s;i.tags.length===0?i.insertionPoint?s=i.insertionPoint.nextSibling:i.prepend?s=i.container.firstChild:s=i.before:s=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(a,s),i.tags.push(a)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(i){i.forEach(this._insertTag)},t.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(ci(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var s=ui(a);try{s.insertRule(i,s.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(i));this.ctr++},t.flush=function(){this.tags.forEach(function(i){var a;return(a=i.parentNode)==null?void 0:a.removeChild(i)}),this.tags=[],this.ctr=0},e}(),de="-ms-",vt="-moz-",re="-webkit-",Fr="comm",Yt="rule",Bt="decl",di="@import",Wr="@keyframes",hi="@layer",pi=Math.abs,wt=String.fromCharCode,mi=Object.assign;function vi(e,t){return fe(e,0)^45?(((t<<2^fe(e,0))<<2^fe(e,1))<<2^fe(e,2))<<2^fe(e,3):0}function Ur(e){return e.trim()}function gi(e,t){return(e=t.exec(e))?e[0]:e}function ne(e,t,r){return e.replace(t,r)}function Ht(e,t){return e.indexOf(t)}function fe(e,t){return e.charCodeAt(t)|0}function Be(e,t,r){return e.slice(t,r)}function ge(e){return e.length}function qt(e){return e.length}function it(e,t){return t.push(e),e}function yi(e,t){return e.map(t).join("")}var St=1,je=1,Yr=0,he=0,se=0,De="";function xt(e,t,r,i,a,s,c){return{value:e,root:t,parent:r,type:i,props:a,children:s,line:St,column:je,length:c,return:""}}function We(e,t){return mi(xt("",null,null,"",null,null,0),e,{length:-e.length},t)}function bi(){return se}function wi(){return se=he>0?fe(De,--he):0,je--,se===10&&(je=1,St--),se}function me(){return se=he<Yr?fe(De,he++):0,je++,se===10&&(je=1,St++),se}function be(){return fe(De,he)}function ot(){return he}function Ke(e,t){return Be(De,e,t)}function qe(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Br(e){return St=je=1,Yr=ge(De=e),he=0,[]}function qr(e){return De="",e}function st(e){return Ur(Ke(he-1,zt(e===91?e+2:e===40?e+1:e)))}function Si(e){for(;(se=be())&&se<33;)me();return qe(e)>2||qe(se)>3?"":" "}function xi(e,t){for(;--t&&me()&&!(se<48||se>102||se>57&&se<65||se>70&&se<97););return Ke(e,ot()+(t<6&&be()==32&&me()==32))}function zt(e){for(;me();)switch(se){case e:return he;case 34:case 39:e!==34&&e!==39&&zt(se);break;case 40:e===41&&zt(e);break;case 92:me();break}return he}function Oi(e,t){for(;me()&&e+se!==57;)if(e+se===84&&be()===47)break;return"/*"+Ke(t,he-1)+"*"+wt(e===47?e:me())}function ki(e){for(;!qe(be());)me();return Ke(e,he)}function Ci(e){return qr(lt("",null,null,null,[""],e=Br(e),0,[0],e))}function lt(e,t,r,i,a,s,c,l,u){for(var h=0,g=0,x=c,_=0,D=0,P=0,p=1,I=1,O=1,F=0,U="",q=a,v=s,b=i,w=U;I;)switch(P=F,F=me()){case 40:if(P!=108&&fe(w,x-1)==58){Ht(w+=ne(st(F),"&","&\f"),"&\f")!=-1&&(O=-1);break}case 34:case 39:case 91:w+=st(F);break;case 9:case 10:case 13:case 32:w+=Si(P);break;case 92:w+=xi(ot()-1,7);continue;case 47:switch(be()){case 42:case 47:it(Pi(Oi(me(),ot()),t,r),u);break;default:w+="/"}break;case 123*p:l[h++]=ge(w)*O;case 125*p:case 59:case 0:switch(F){case 0:case 125:I=0;case 59+g:O==-1&&(w=ne(w,/\f/g,"")),D>0&&ge(w)-x&&it(D>32?br(w+";",i,r,x-1):br(ne(w," ","")+";",i,r,x-2),u);break;case 59:w+=";";default:if(it(b=yr(w,t,r,h,g,a,l,U,q=[],v=[],x),s),F===123)if(g===0)lt(w,t,b,b,q,s,x,l,v);else switch(_===99&&fe(w,3)===110?100:_){case 100:case 108:case 109:case 115:lt(e,b,b,i&&it(yr(e,b,b,0,0,a,l,U,a,q=[],x),v),a,v,x,l,i?q:v);break;default:lt(w,b,b,b,[""],v,0,l,v)}}h=g=D=0,p=O=1,U=w="",x=c;break;case 58:x=1+ge(w),D=P;default:if(p<1){if(F==123)--p;else if(F==125&&p++==0&&wi()==125)continue}switch(w+=wt(F),F*p){case 38:O=g>0?1:(w+="\f",-1);break;case 44:l[h++]=(ge(w)-1)*O,O=1;break;case 64:be()===45&&(w+=st(me())),_=be(),g=x=ge(U=w+=ki(ot())),F++;break;case 45:P===45&&ge(w)==2&&(p=0)}}return s}function yr(e,t,r,i,a,s,c,l,u,h,g){for(var x=a-1,_=a===0?s:[""],D=qt(_),P=0,p=0,I=0;P<i;++P)for(var O=0,F=Be(e,x+1,x=pi(p=c[P])),U=e;O<D;++O)(U=Ur(p>0?_[O]+" "+F:ne(F,/&\f/g,_[O])))&&(u[I++]=U);return xt(e,t,r,a===0?Yt:l,u,h,g)}function Pi(e,t,r){return xt(e,t,r,Fr,wt(bi()),Be(e,2,-2),0)}function br(e,t,r,i){return xt(e,t,r,Bt,Be(e,0,i),Be(e,i+1,-1),i)}function Te(e,t){for(var r="",i=qt(e),a=0;a<i;a++)r+=t(e[a],a,e,t)||"";return r}function Ei(e,t,r,i){switch(e.type){case hi:if(e.children.length)break;case di:case Bt:return e.return=e.return||e.value;case Fr:return"";case Wr:return e.return=e.value+"{"+Te(e.children,i)+"}";case Yt:e.value=e.props.join(",")}return ge(r=Te(e.children,i))?e.return=e.value+"{"+r+"}":""}function Ri(e){var t=qt(e);return function(r,i,a,s){for(var c="",l=0;l<t;l++)c+=e[l](r,i,a,s)||"";return c}}function Ti(e){return function(t){t.root||(t=t.return)&&e(t)}}function Vr(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var _i=function(t,r,i){for(var a=0,s=0;a=s,s=be(),a===38&&s===12&&(r[i]=1),!qe(s);)me();return Ke(t,he)},ji=function(t,r){var i=-1,a=44;do switch(qe(a)){case 0:a===38&&be()===12&&(r[i]=1),t[i]+=_i(he-1,r,i);break;case 2:t[i]+=st(a);break;case 4:if(a===44){t[++i]=be()===58?"&\f":"",r[i]=t[i].length;break}default:t[i]+=wt(a)}while(a=me());return t},Di=function(t,r){return qr(ji(Br(t),r))},wr=new WeakMap,Li=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,i=t.parent,a=t.column===i.column&&t.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!wr.get(i))&&!a){wr.set(t,!0);for(var s=[],c=Di(r,s),l=i.props,u=0,h=0;u<c.length;u++)for(var g=0;g<l.length;g++,h++)t.props[h]=s[u]?c[u].replace(/&\f/g,l[g]):l[g]+" "+c[u]}}},Mi=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Xr(e,t){switch(vi(e,t)){case 5103:return re+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return re+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return re+e+vt+e+de+e+e;case 6828:case 4268:return re+e+de+e+e;case 6165:return re+e+de+"flex-"+e+e;case 5187:return re+e+ne(e,/(\w+).+(:[^]+)/,re+"box-$1$2"+de+"flex-$1$2")+e;case 5443:return re+e+de+"flex-item-"+ne(e,/flex-|-self/,"")+e;case 4675:return re+e+de+"flex-line-pack"+ne(e,/align-content|flex-|-self/,"")+e;case 5548:return re+e+de+ne(e,"shrink","negative")+e;case 5292:return re+e+de+ne(e,"basis","preferred-size")+e;case 6060:return re+"box-"+ne(e,"-grow","")+re+e+de+ne(e,"grow","positive")+e;case 4554:return re+ne(e,/([^-])(transform)/g,"$1"+re+"$2")+e;case 6187:return ne(ne(ne(e,/(zoom-|grab)/,re+"$1"),/(image-set)/,re+"$1"),e,"")+e;case 5495:case 3959:return ne(e,/(image-set\([^]*)/,re+"$1$`$1");case 4968:return ne(ne(e,/(.+:)(flex-)?(.*)/,re+"box-pack:$3"+de+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+re+e+e;case 4095:case 3583:case 4068:case 2532:return ne(e,/(.+)-inline(.+)/,re+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ge(e)-1-t>6)switch(fe(e,t+1)){case 109:if(fe(e,t+4)!==45)break;case 102:return ne(e,/(.+:)(.+)-([^]+)/,"$1"+re+"$2-$3$1"+vt+(fe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ht(e,"stretch")?Xr(ne(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(fe(e,t+1)!==115)break;case 6444:switch(fe(e,ge(e)-3-(~Ht(e,"!important")&&10))){case 107:return ne(e,":",":"+re)+e;case 101:return ne(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+re+(fe(e,14)===45?"inline-":"")+"box$3$1"+re+"$2$3$1"+de+"$2box$3")+e}break;case 5936:switch(fe(e,t+11)){case 114:return re+e+de+ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return re+e+de+ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return re+e+de+ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return re+e+de+e+e}return e}var $i=function(t,r,i,a){if(t.length>-1&&!t.return)switch(t.type){case Bt:t.return=Xr(t.value,t.length);break;case Wr:return Te([We(t,{value:ne(t.value,"@","@"+re)})],a);case Yt:if(t.length)return yi(t.props,function(s){switch(gi(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Te([We(t,{props:[ne(s,/:(read-\w+)/,":"+vt+"$1")]})],a);case"::placeholder":return Te([We(t,{props:[ne(s,/:(plac\w+)/,":"+re+"input-$1")]}),We(t,{props:[ne(s,/:(plac\w+)/,":"+vt+"$1")]}),We(t,{props:[ne(s,/:(plac\w+)/,de+"input-$1")]})],a)}return""})}},Ii=[$i],Ai=function(t){var r=t.key;if(r==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(p){var I=p.getAttribute("data-emotion");I.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var a=t.stylisPlugins||Ii,s={},c,l=[];c=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(p){for(var I=p.getAttribute("data-emotion").split(" "),O=1;O<I.length;O++)s[I[O]]=!0;l.push(p)});var u,h=[Li,Mi];{var g,x=[Ei,Ti(function(p){g.insert(p)})],_=Ri(h.concat(a,x)),D=function(I){return Te(Ci(I),_)};u=function(I,O,F,U){g=F,D(I?I+"{"+O.styles+"}":O.styles),U&&(P.inserted[O.name]=!0)}}var P={key:r,sheet:new fi({key:r,container:c,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:u};return P.sheet.hydrate(l),P},Hi=!0;function zi(e,t,r){var i="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):a&&(i+=a+" ")}),i}var Gr=function(t,r,i){var a=t.key+"-"+r.name;(i===!1||Hi===!1)&&t.registered[a]===void 0&&(t.registered[a]=r.styles)},Ni=function(t,r,i){Gr(t,r,i);var a=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var s=r;do t.insert(r===s?"."+a:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function Fi(e){for(var t=0,r,i=0,a=e.length;a>=4;++i,a-=4)r=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Wi={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ui=/[A-Z]|^ms/g,Yi=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Kr=function(t){return t.charCodeAt(1)===45},Sr=function(t){return t!=null&&typeof t!="boolean"},Lt=Vr(function(e){return Kr(e)?e:e.replace(Ui,"-$&").toLowerCase()}),xr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Yi,function(i,a,s){return ye={name:a,styles:s,next:ye},a})}return Wi[t]!==1&&!Kr(t)&&typeof r=="number"&&r!==0?r+"px":r};function Ve(e,t,r){if(r==null)return"";var i=r;if(i.__emotion_styles!==void 0)return i;switch(typeof r){case"boolean":return"";case"object":{var a=r;if(a.anim===1)return ye={name:a.name,styles:a.styles,next:ye},a.name;var s=r;if(s.styles!==void 0){var c=s.next;if(c!==void 0)for(;c!==void 0;)ye={name:c.name,styles:c.styles,next:ye},c=c.next;var l=s.styles+";";return l}return Bi(e,t,r)}case"function":{if(e!==void 0){var u=ye,h=r(e);return ye=u,Ve(e,t,h)}break}}var g=r;if(t==null)return g;var x=t[g];return x!==void 0?x:g}function Bi(e,t,r){var i="";if(Array.isArray(r))for(var a=0;a<r.length;a++)i+=Ve(e,t,r[a])+";";else for(var s in r){var c=r[s];if(typeof c!="object"){var l=c;t!=null&&t[l]!==void 0?i+=s+"{"+t[l]+"}":Sr(l)&&(i+=Lt(s)+":"+xr(s,l)+";")}else if(Array.isArray(c)&&typeof c[0]=="string"&&(t==null||t[c[0]]===void 0))for(var u=0;u<c.length;u++)Sr(c[u])&&(i+=Lt(s)+":"+xr(s,c[u])+";");else{var h=Ve(e,t,c);switch(s){case"animation":case"animationName":{i+=Lt(s)+":"+h+";";break}default:i+=s+"{"+h+"}"}}}return i}var Or=/label:\s*([^\s;{]+)\s*(;|$)/g,ye;function qi(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,a="";ye=void 0;var s=e[0];if(s==null||s.raw===void 0)i=!1,a+=Ve(r,t,s);else{var c=s;a+=c[0]}for(var l=1;l<e.length;l++)if(a+=Ve(r,t,e[l]),i){var u=s;a+=u[l]}Or.lastIndex=0;for(var h="",g;(g=Or.exec(a))!==null;)h+="-"+g[1];var x=Fi(a)+h;return{name:x,styles:a,next:ye}}var Vi=function(t){return t()},Xi=M.useInsertionEffect?M.useInsertionEffect:!1,Gi=Xi||Vi,Jr=M.createContext(typeof HTMLElement<"u"?Ai({key:"css"}):null);Jr.Provider;var Ki=function(t){return Y.forwardRef(function(r,i){var a=Y.useContext(Jr);return t(r,a,i)})},Ji=M.createContext({}),Zi=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Qi=Vr(function(e){return Zi.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),ea=Qi,ta=function(t){return t!=="theme"},kr=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?ea:ta},Cr=function(t,r,i){var a;if(r){var s=r.shouldForwardProp;a=t.__emotion_forwardProp&&s?function(c){return t.__emotion_forwardProp(c)&&s(c)}:s}return typeof a!="function"&&i&&(a=t.__emotion_forwardProp),a},ra=function(t){var r=t.cache,i=t.serialized,a=t.isStringTag;return Gr(r,i,a),Gi(function(){return Ni(r,i,a)}),null},na=function e(t,r){var i=t.__emotion_real===t,a=i&&t.__emotion_base||t,s,c;r!==void 0&&(s=r.label,c=r.target);var l=Cr(t,r,i),u=l||kr(a),h=!u("as");return function(){var g=arguments,x=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&x.push("label:"+s+";"),g[0]==null||g[0].raw===void 0)x.push.apply(x,g);else{var _=g[0];x.push(_[0]);for(var D=g.length,P=1;P<D;P++)x.push(g[P],_[P])}var p=Ki(function(I,O,F){var U=h&&I.as||a,q="",v=[],b=I;if(I.theme==null){b={};for(var w in I)b[w]=I[w];b.theme=M.useContext(Ji)}typeof I.className=="string"?q=zi(O.registered,v,I.className):I.className!=null&&(q=I.className+" ");var E=qi(x.concat(v),O.registered,b);q+=O.key+"-"+E.name,c!==void 0&&(q+=" "+c);var y=h&&l===void 0?kr(U):u,d={};for(var k in I)h&&k==="as"||y(k)&&(d[k]=I[k]);return d.className=q,F&&(d.ref=F),M.createElement(M.Fragment,null,M.createElement(ra,{cache:O,serialized:E,isStringTag:typeof U=="string"}),M.createElement(U,d))});return p.displayName=s!==void 0?s:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",p.defaultProps=t.defaultProps,p.__emotion_real=p,p.__emotion_base=a,p.__emotion_styles=x,p.__emotion_forwardProp=l,Object.defineProperty(p,"toString",{value:function(){return"."+c}}),p.withComponent=function(I,O){var F=e(I,At({},r,O,{shouldForwardProp:Cr(p,O,!0)}));return F.apply(void 0,x)},p}},ia=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Pe=na.bind(null);ia.forEach(function(e){Pe[e]=Pe(e)});const aa=Pe.div`
|
|
27
27
|
width: 100%;
|
|
28
28
|
height: fit-content;
|
|
29
29
|
|
|
@@ -112,7 +112,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
112
112
|
box-sizing: border-box;
|
|
113
113
|
display: flex;
|
|
114
114
|
}
|
|
115
|
-
`,sa=({styles:e,content:t,settings:r,gap:i=15})=>{const[a,s]=Y.useState(1),c=Y.useRef(null),l=Y.useRef(null);var u={dots:!1,speed:500,slidesToScroll:1,infinite:!1,variableWidth:!0,arrows:!1,rows:1,...r};const h=t.map((x,_)=>
|
|
115
|
+
`,sa=({styles:e,content:t,settings:r,gap:i=15})=>{const[a,s]=Y.useState(1),c=Y.useRef(null),l=Y.useRef(null);var u={dots:!1,speed:500,slidesToScroll:1,infinite:!1,variableWidth:!0,arrows:!1,rows:1,...r};const h=t.map((x,_)=>X.jsx(oa,{ref:_===0?l:void 0,styles:{paddingRight:`${i}px`,overflow:"visible",...x.styles},"data-testid":"carousel-slide-item",children:x.content})),g=()=>{if(u.slidesToShow){s(u.slidesToShow);return}const x=(c.current?.offsetWidth||i+1)-i,_=l.current?.offsetWidth||1;let D=Math.floor(x/_);D<1?D=1:D>t.length&&(D=t.length),console.debug("Slides to show > ",{container:x,slide:_,res:D}),s(D)};return Y.useEffect(()=>{g()},[c,l]),X.jsx(aa,{ref:c,styles:{...e},children:h.length>0&&X.jsx(li,{...u,slidesToShow:a,children:h})})},la=({name:e,checked:t,onToggle:r,styles:i,checkedStyles:a,customCheckedRender:s,customUncheckedRender:c})=>{const l=t?{...i,...a}:{...i};return X.jsxs("div",{style:{width:"fit-content",height:"fit-content",position:"relative",display:"flex"},children:[X.jsx("input",{name:e,type:"checkbox",onChange:u=>{u.stopPropagation(),r?.(u.currentTarget.checked)},checked:t,style:{appearance:"none",width:"25px",height:"25px",borderRadius:"4px",border:"1px solid #969696ff",background:t?"#000000":"#ffffff",overflow:"hidden",objectFit:"contain",alignItems:"center",justifyContent:"center",display:"flex",...l}}),X.jsxs("div",{style:{display:"flex",position:"absolute",top:0,left:0,width:"100%",height:"100%",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:[t&&s,!t&&c]})]})},ua=e=>Y.useEffect(e,[]),Zr=()=>{const[e,t]=Y.useState({}),[r,i]=Y.useState(!1);return Y.useEffect(()=>{const a=l=>{t({x:l.clientX,y:l.clientY})},s=l=>{i(!0)},c=l=>{i(!1)};return window.addEventListener("pointermove",a),window.addEventListener("pointerdown",s),window.addEventListener("pointerup",c),()=>{window.removeEventListener("pointermove",a),window.removeEventListener("pointerdown",s),window.removeEventListener("pointerup",c)}},[]),{pointerPosition:e,isPointerDown:r}},Qr=({ref:e,onDrag:t,onDragStart:r,onDragEnd:i})=>{const a=Y.useRef(!1),s=Y.useRef(!1),{pointerPosition:c,isPointerDown:l}=Zr(),u=Y.useRef({isDragging:!1}),h=Y.useCallback(P=>{if(!e||!e.current||!u.current)return;const p={...u.current};return p.posY=P.y,p.posX=P.x,u.current.startPosX&&u.current.posX&&(p.distanceX=u.current.startPosX-u.current.posX),u.current.startPosY&&u.current.posY&&(p.distanceY=-(u.current.startPosY-u.current.posY)),p},[]),g=Y.useCallback(P=>{P.preventDefault(),P.stopPropagation(),u.current.isDragging=!0,u.current.startPosY=P.clientY,u.current.startPosX=P.clientX;const p=h({x:P.clientX,y:P.clientY});p&&(u.current=p,r?.(p))},[h]),x=Y.useCallback(P=>{u.current.isDragging=!1;const p=h(c);p&&(i?.(p),p.startPosX=void 0,p.startPosY=void 0,u.current=p)},[h,c]),_=Y.useCallback(P=>{if(console.debug("useDrag > onPointerMove > Is Dragging >",u.current.isDragging),!u.current.isDragging)return;const p=h(c);console.debug("useDrag > onPointerMove > Drag Result >",p),p&&(t?.(p),u.current=p)},[h,c]),D=Y.useCallback(async()=>{if(!a.current){for(;!e?.current;)await new Promise(P=>setTimeout(P,300));a.current=!0,e.current.onpointerdown=g,e.current.style.touchAction="none"}},[e?.current,g]);Y.useEffect(()=>{D()},[D]),Y.useEffect(()=>{_()},[c]),Y.useEffect(()=>{l!==s.current&&(s.current=l,l||x())},[l,s.current])},ca=()=>{const e=(l,u)=>{if(!u)return l;const h=new URLSearchParams;for(const x in u){const _=u[x];Array.isArray(_)?_.forEach(D=>h.append(x,String(D))):_!=null&&h.append(x,String(_))}const g=h.toString();return g?`${l}?${g}`:l},t=async(l,u,h,g)=>await(await fetch(l,{method:u,headers:h,body:g})).json();return{get:async(l,u,h)=>{const g=e(l,u);return t(g,"GET",{...h})},post:async(l,u,h)=>t(l,"POST",{"Content-Type":"application/json",...h},JSON.stringify(u)),put:async(l,u,h)=>t(l,"PUT",{"Content-Type":"application/json",...h},JSON.stringify(u)),patch:async(l,u,h)=>t(l,"PATCH",{"Content-Type":"application/json",...h},JSON.stringify(u)),delete:async(l,u,h)=>{const g=e(l,u);return t(g,"DELETE",{...h})}}};function fa(e){const[t,r]=Y.useState(!1),i=Y.useMemo(()=>new IntersectionObserver(([a])=>r(a.isIntersecting)),[]);return Y.useEffect(()=>(e?.current&&i.observe(e?.current),()=>i.disconnect()),[e,i.disconnect,i.observe]),t}const en={xs:0,sm:420,md:768,lg:991,xl:1200,xxl:1440},da=e=>{const t={...en,...e?.breakpointConfiguration},[r,i]=Y.useState(Pr(t)),a=()=>{i(Pr(t))};return Y.useEffect(()=>(window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)}),[]),Y.useMemo(()=>r,[r])},ha=(e,t)=>e<t.sm?"xs":e<t.md?"sm":e<t.lg?"md":e<t.xl?"lg":e<t.xxl?"xl":"xxl",pa=(e,t)=>e<=t.sm?"mobile":e<=t.md?"tablet":"desktop",Pr=e=>{const t=window.innerWidth,r=window.innerHeight,i=ha(t,e),a=pa(t,e);return{currentWidth:t,currentHeight:r,currentBreakpoint:i,currentSize:a}},ma=e=>{const t=e.translations,r=e.language,i=(s,c)=>{if(!s)return;let l=s[r];if(l)return c&&Object.keys(c).forEach(u=>{const h=c[u];l=l.replaceAll(`{{${u}}}`,`${h}`)}),l};return{t:(s,c)=>{if(t[s]){const l=i(t[s],c);return l??s}return s},getTranslation:i}};var Ue={},Er;function va(){if(Er)return Ue;Er=1,Object.defineProperty(Ue,"__esModule",{value:!0}),Ue.parse=c,Ue.serialize=h;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,i=/^[\u0020-\u003A\u003D-\u007E]*$/,a=Object.prototype.toString,s=(()=>{const _=function(){};return _.prototype=Object.create(null),_})();function c(_,D){const P=new s,p=_.length;if(p<2)return P;const I=D?.decode||g;let O=0;do{const F=_.indexOf("=",O);if(F===-1)break;const U=_.indexOf(";",O),q=U===-1?p:U;if(F>q){O=_.lastIndexOf(";",F-1)+1;continue}const v=l(_,O,F),b=u(_,F,v),w=_.slice(v,b);if(P[w]===void 0){let E=l(_,F+1,q),y=u(_,q,E);const d=I(_.slice(E,y));P[w]=d}O=q+1}while(O<p);return P}function l(_,D,P){do{const p=_.charCodeAt(D);if(p!==32&&p!==9)return D}while(++D<P);return P}function u(_,D,P){for(;D>P;){const p=_.charCodeAt(--D);if(p!==32&&p!==9)return D+1}return P}function h(_,D,P){const p=P?.encode||encodeURIComponent;if(!e.test(_))throw new TypeError(`argument name is invalid: ${_}`);const I=p(D);if(!t.test(I))throw new TypeError(`argument val is invalid: ${D}`);let O=_+"="+I;if(!P)return O;if(P.maxAge!==void 0){if(!Number.isInteger(P.maxAge))throw new TypeError(`option maxAge is invalid: ${P.maxAge}`);O+="; Max-Age="+P.maxAge}if(P.domain){if(!r.test(P.domain))throw new TypeError(`option domain is invalid: ${P.domain}`);O+="; Domain="+P.domain}if(P.path){if(!i.test(P.path))throw new TypeError(`option path is invalid: ${P.path}`);O+="; Path="+P.path}if(P.expires){if(!x(P.expires)||!Number.isFinite(P.expires.valueOf()))throw new TypeError(`option expires is invalid: ${P.expires}`);O+="; Expires="+P.expires.toUTCString()}if(P.httpOnly&&(O+="; HttpOnly"),P.secure&&(O+="; Secure"),P.partitioned&&(O+="; Partitioned"),P.priority)switch(typeof P.priority=="string"?P.priority.toLowerCase():void 0){case"low":O+="; Priority=Low";break;case"medium":O+="; Priority=Medium";break;case"high":O+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${P.priority}`)}if(P.sameSite)switch(typeof P.sameSite=="string"?P.sameSite.toLowerCase():P.sameSite){case!0:case"strict":O+="; SameSite=Strict";break;case"lax":O+="; SameSite=Lax";break;case"none":O+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${P.sameSite}`)}return O}function g(_){if(_.indexOf("%")===-1)return _;try{return decodeURIComponent(_)}catch{return _}}function x(_){return a.call(_)==="[object Date]"}return Ue}va();/**
|
|
116
116
|
* react-router v7.6.3
|
|
117
117
|
*
|
|
118
118
|
* Copyright (c) Remix Software Inc.
|
|
@@ -123,7 +123,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
123
123
|
* @license MIT
|
|
124
124
|
*/var Rr="popstate";function ga(e={}){function t(i,a){let{pathname:s,search:c,hash:l}=i.location;return Nt("",{pathname:s,search:c,hash:l},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function r(i,a){return typeof a=="string"?a:Xe(a)}return ba(t,r,null,e)}function ae(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function ve(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function ya(){return Math.random().toString(36).substring(2,10)}function Tr(e,t){return{usr:e.state,key:e.key,idx:t}}function Nt(e,t,r=null,i){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Le(t):t,state:r,key:t&&t.key||i||ya()}}function Xe({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Le(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let i=e.indexOf("?");i>=0&&(t.search=e.substring(i),e=e.substring(0,i)),e&&(t.pathname=e)}return t}function ba(e,t,r,i={}){let{window:a=document.defaultView,v5Compat:s=!1}=i,c=a.history,l="POP",u=null,h=g();h==null&&(h=0,c.replaceState({...c.state,idx:h},""));function g(){return(c.state||{idx:null}).idx}function x(){l="POP";let I=g(),O=I==null?null:I-h;h=I,u&&u({action:l,location:p.location,delta:O})}function _(I,O){l="PUSH";let F=Nt(p.location,I,O);h=g()+1;let U=Tr(F,h),q=p.createHref(F);try{c.pushState(U,"",q)}catch(v){if(v instanceof DOMException&&v.name==="DataCloneError")throw v;a.location.assign(q)}s&&u&&u({action:l,location:p.location,delta:1})}function D(I,O){l="REPLACE";let F=Nt(p.location,I,O);h=g();let U=Tr(F,h),q=p.createHref(F);c.replaceState(U,"",q),s&&u&&u({action:l,location:p.location,delta:0})}function P(I){return wa(I)}let p={get action(){return l},get location(){return e(a,c)},listen(I){if(u)throw new Error("A history only accepts one active listener");return a.addEventListener(Rr,x),u=I,()=>{a.removeEventListener(Rr,x),u=null}},createHref(I){return t(a,I)},createURL:P,encodeLocation(I){let O=P(I);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:_,replace:D,go(I){return c.go(I)}};return p}function wa(e,t=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),ae(r,"No window.location.(origin|href) available to create URL");let i=typeof e=="string"?e:Xe(e);return i=i.replace(/ $/,"%20"),!t&&i.startsWith("//")&&(i=r+i),new URL(i,r)}function tn(e,t,r="/"){return Sa(e,t,r,!1)}function Sa(e,t,r,i){let a=typeof t=="string"?Le(t):t,s=xe(a.pathname||"/",r);if(s==null)return null;let c=rn(e);xa(c);let l=null;for(let u=0;l==null&&u<c.length;++u){let h=La(s);l=ja(c[u],h,i)}return l}function rn(e,t=[],r=[],i=""){let a=(s,c,l)=>{let u={relativePath:l===void 0?s.path||"":l,caseSensitive:s.caseSensitive===!0,childrenIndex:c,route:s};u.relativePath.startsWith("/")&&(ae(u.relativePath.startsWith(i),`Absolute route path "${u.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),u.relativePath=u.relativePath.slice(i.length));let h=Se([i,u.relativePath]),g=r.concat(u);s.children&&s.children.length>0&&(ae(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${h}".`),rn(s.children,t,g,h)),!(s.path==null&&!s.index)&&t.push({path:h,score:Ta(h,s.index),routesMeta:g})};return e.forEach((s,c)=>{if(s.path===""||!s.path?.includes("?"))a(s,c);else for(let l of nn(s.path))a(s,c,l)}),t}function nn(e){let t=e.split("/");if(t.length===0)return[];let[r,...i]=t,a=r.endsWith("?"),s=r.replace(/\?$/,"");if(i.length===0)return a?[s,""]:[s];let c=nn(i.join("/")),l=[];return l.push(...c.map(u=>u===""?s:[s,u].join("/"))),a&&l.push(...c),l.map(u=>e.startsWith("/")&&u===""?"/":u)}function xa(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:_a(t.routesMeta.map(i=>i.childrenIndex),r.routesMeta.map(i=>i.childrenIndex)))}var Oa=/^:[\w-]+$/,ka=3,Ca=2,Pa=1,Ea=10,Ra=-2,_r=e=>e==="*";function Ta(e,t){let r=e.split("/"),i=r.length;return r.some(_r)&&(i+=Ra),t&&(i+=Ca),r.filter(a=>!_r(a)).reduce((a,s)=>a+(Oa.test(s)?ka:s===""?Pa:Ea),i)}function _a(e,t){return e.length===t.length&&e.slice(0,-1).every((i,a)=>i===t[a])?e[e.length-1]-t[t.length-1]:0}function ja(e,t,r=!1){let{routesMeta:i}=e,a={},s="/",c=[];for(let l=0;l<i.length;++l){let u=i[l],h=l===i.length-1,g=s==="/"?t:t.slice(s.length)||"/",x=gt({path:u.relativePath,caseSensitive:u.caseSensitive,end:h},g),_=u.route;if(!x&&h&&r&&!i[i.length-1].route.index&&(x=gt({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},g)),!x)return null;Object.assign(a,x.params),c.push({params:a,pathname:Se([s,x.pathname]),pathnameBase:Aa(Se([s,x.pathnameBase])),route:_}),x.pathnameBase!=="/"&&(s=Se([s,x.pathnameBase]))}return c}function gt(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,i]=Da(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let s=a[0],c=s.replace(/(.)\/+$/,"$1"),l=a.slice(1);return{params:i.reduce((h,{paramName:g,isOptional:x},_)=>{if(g==="*"){let P=l[_]||"";c=s.slice(0,s.length-P.length).replace(/(.)\/+$/,"$1")}const D=l[_];return x&&!D?h[g]=void 0:h[g]=(D||"").replace(/%2F/g,"/"),h},{}),pathname:s,pathnameBase:c,pattern:e}}function Da(e,t=!1,r=!0){ve(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let i=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,l,u)=>(i.push({paramName:l,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(i.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),i]}function La(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return ve(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function xe(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,i=e.charAt(r);return i&&i!=="/"?null:e.slice(r)||"/"}function Ma(e,t="/"){let{pathname:r,search:i="",hash:a=""}=typeof e=="string"?Le(e):e;return{pathname:r?r.startsWith("/")?r:$a(r,t):t,search:Ha(i),hash:za(a)}}function $a(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function Mt(e,t,r,i){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Ia(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function an(e){let t=Ia(e);return t.map((r,i)=>i===t.length-1?r.pathname:r.pathnameBase)}function on(e,t,r,i=!1){let a;typeof e=="string"?a=Le(e):(a={...e},ae(!a.pathname||!a.pathname.includes("?"),Mt("?","pathname","search",a)),ae(!a.pathname||!a.pathname.includes("#"),Mt("#","pathname","hash",a)),ae(!a.search||!a.search.includes("#"),Mt("#","search","hash",a)));let s=e===""||a.pathname==="",c=s?"/":a.pathname,l;if(c==null)l=r;else{let x=t.length-1;if(!i&&c.startsWith("..")){let _=c.split("/");for(;_[0]==="..";)_.shift(),x-=1;a.pathname=_.join("/")}l=x>=0?t[x]:"/"}let u=Ma(a,l),h=c&&c!=="/"&&c.endsWith("/"),g=(s||c===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(h||g)&&(u.pathname+="/"),u}var Se=e=>e.join("/").replace(/\/\/+/g,"/"),Aa=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ha=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,za=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Na(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var sn=["POST","PUT","PATCH","DELETE"];new Set(sn);var Fa=["GET",...sn];new Set(Fa);var Me=M.createContext(null);Me.displayName="DataRouter";var Ot=M.createContext(null);Ot.displayName="DataRouterState";var ln=M.createContext({isTransitioning:!1});ln.displayName="ViewTransition";var Wa=M.createContext(new Map);Wa.displayName="Fetchers";var Ua=M.createContext(null);Ua.displayName="Await";var we=M.createContext(null);we.displayName="Navigation";var Je=M.createContext(null);Je.displayName="Location";var Oe=M.createContext({outlet:null,matches:[],isDataRoute:!1});Oe.displayName="Route";var Vt=M.createContext(null);Vt.displayName="RouteError";function Ya(e,{relative:t}={}){ae(Ze(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:i}=M.useContext(we),{hash:a,pathname:s,search:c}=Qe(e,{relative:t}),l=s;return r!=="/"&&(l=s==="/"?r:Se([r,s])),i.createHref({pathname:l,search:c,hash:a})}function Ze(){return M.useContext(Je)!=null}function ke(){return ae(Ze(),"useLocation() may be used only in the context of a <Router> component."),M.useContext(Je).location}var un="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function cn(e){M.useContext(we).static||M.useLayoutEffect(e)}function Xt(){let{isDataRoute:e}=M.useContext(Oe);return e?no():Ba()}function Ba(){ae(Ze(),"useNavigate() may be used only in the context of a <Router> component.");let e=M.useContext(Me),{basename:t,navigator:r}=M.useContext(we),{matches:i}=M.useContext(Oe),{pathname:a}=ke(),s=JSON.stringify(an(i)),c=M.useRef(!1);return cn(()=>{c.current=!0}),M.useCallback((u,h={})=>{if(ve(c.current,un),!c.current)return;if(typeof u=="number"){r.go(u);return}let g=on(u,JSON.parse(s),a,h.relative==="path");e==null&&t!=="/"&&(g.pathname=g.pathname==="/"?t:Se([t,g.pathname])),(h.replace?r.replace:r.push)(g,h.state,h)},[t,r,s,a,e])}M.createContext(null);function Qe(e,{relative:t}={}){let{matches:r}=M.useContext(Oe),{pathname:i}=ke(),a=JSON.stringify(an(r));return M.useMemo(()=>on(e,JSON.parse(a),i,t==="path"),[e,a,i,t])}function qa(e,t){return fn(e,t)}function fn(e,t,r,i){ae(Ze(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=M.useContext(we),{matches:s}=M.useContext(Oe),c=s[s.length-1],l=c?c.params:{},u=c?c.pathname:"/",h=c?c.pathnameBase:"/",g=c&&c.route;{let O=g&&g.path||"";dn(u,!g||O.endsWith("*")||O.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (under <Route path="${O}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
125
125
|
|
|
126
|
-
Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}/*`}">.`)}let x=ke(),_;if(t){let O=typeof t=="string"?Le(t):t;ae(h==="/"||O.pathname?.startsWith(h),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${O.pathname}" was given in the \`location\` prop.`),_=O}else _=x;let D=_.pathname||"/",P=D;if(h!=="/"){let O=h.replace(/^\//,"").split("/");P="/"+D.replace(/^\//,"").split("/").slice(O.length).join("/")}let p=tn(e,{pathname:P});ve(g||p!=null,`No routes matched location "${_.pathname}${_.search}${_.hash}" `),ve(p==null||p[p.length-1].route.element!==void 0||p[p.length-1].route.Component!==void 0||p[p.length-1].route.lazy!==void 0,`Matched leaf route at location "${_.pathname}${_.search}${_.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let I=Ja(p&&p.map(O=>Object.assign({},O,{params:Object.assign({},l,O.params),pathname:Se([h,a.encodeLocation?a.encodeLocation(O.pathname).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?h:Se([h,a.encodeLocation?a.encodeLocation(O.pathnameBase).pathname:O.pathnameBase])})),s,r,i);return t&&I?M.createElement(Je.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",..._},navigationType:"POP"}},I):I}function Va(){let e=ro(),t=Na(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:i},s={padding:"2px 4px",backgroundColor:i},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=M.createElement(M.Fragment,null,M.createElement("p",null,"💿 Hey developer 👋"),M.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",M.createElement("code",{style:s},"ErrorBoundary")," or"," ",M.createElement("code",{style:s},"errorElement")," prop on your route.")),M.createElement(M.Fragment,null,M.createElement("h2",null,"Unexpected Application Error!"),M.createElement("h3",{style:{fontStyle:"italic"}},t),r?M.createElement("pre",{style:a},r):null,c)}var Xa=M.createElement(Va,null),Ga=class extends M.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?M.createElement(Oe.Provider,{value:this.props.routeContext},M.createElement(Vt.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Ka({routeContext:e,match:t,children:r}){let i=M.useContext(Me);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),M.createElement(Oe.Provider,{value:e},r)}function Ja(e,t=[],r=null,i=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let a=e,s=r?.errors;if(s!=null){let u=a.findIndex(h=>h.route.id&&s?.[h.route.id]!==void 0);ae(u>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),a=a.slice(0,Math.min(a.length,u+1))}let c=!1,l=-1;if(r)for(let u=0;u<a.length;u++){let h=a[u];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(l=u),h.route.id){let{loaderData:g,errors:x}=r,_=h.route.loader&&!g.hasOwnProperty(h.route.id)&&(!x||x[h.route.id]===void 0);if(h.route.lazy||_){c=!0,l>=0?a=a.slice(0,l+1):a=[a[0]];break}}}return a.reduceRight((u,h,g)=>{let x,_=!1,D=null,P=null;r&&(x=s&&h.route.id?s[h.route.id]:void 0,D=h.route.errorElement||Xa,c&&(l<0&&g===0?(dn("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),_=!0,P=null):l===g&&(_=!0,P=h.route.hydrateFallbackElement||null)));let p=t.concat(a.slice(0,g+1)),I=()=>{let O;return x?O=D:_?O=P:h.route.Component?O=M.createElement(h.route.Component,null):h.route.element?O=h.route.element:O=u,M.createElement(Ka,{match:h,routeContext:{outlet:u,matches:p,isDataRoute:r!=null},children:O})};return r&&(h.route.ErrorBoundary||h.route.errorElement||g===0)?M.createElement(Ga,{location:r.location,revalidation:r.revalidation,component:D,error:x,children:I(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):I()},null)}function Gt(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Za(e){let t=M.useContext(Me);return ae(t,Gt(e)),t}function Qa(e){let t=M.useContext(Ot);return ae(t,Gt(e)),t}function eo(e){let t=M.useContext(Oe);return ae(t,Gt(e)),t}function Kt(e){let t=eo(e),r=t.matches[t.matches.length-1];return ae(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function to(){return Kt("useRouteId")}function ro(){let e=M.useContext(Vt),t=Qa("useRouteError"),r=Kt("useRouteError");return e!==void 0?e:t.errors?.[r]}function no(){let{router:e}=Za("useNavigate"),t=Kt("useNavigate"),r=M.useRef(!1);return cn(()=>{r.current=!0}),M.useCallback(async(a,s={})=>{ve(r.current,un),r.current&&(typeof a=="number"?e.navigate(a):await e.navigate(a,{fromRouteId:t,...s}))},[e,t])}var jr={};function dn(e,t,r){!t&&!jr[e]&&(jr[e]=!0,ve(!1,r))}M.memo(io);function io({routes:e,future:t,state:r}){return fn(e,void 0,r,t)}function hn(e){ae(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function ao({basename:e="/",children:t=null,location:r,navigationType:i="POP",navigator:a,static:s=!1}){ae(!Ze(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),l=M.useMemo(()=>({basename:c,navigator:a,static:s,future:{}}),[c,a,s]);typeof r=="string"&&(r=Le(r));let{pathname:u="/",search:h="",hash:g="",state:x=null,key:_="default"}=r,D=M.useMemo(()=>{let P=xe(u,c);return P==null?null:{location:{pathname:P,search:h,hash:g,state:x,key:_},navigationType:i}},[c,u,h,g,x,_,i]);return ve(D!=null,`<Router basename="${c}"> is not able to match the URL "${u}${h}${g}" because it does not start with the basename, so the <Router> won't render anything.`),D==null?null:M.createElement(we.Provider,{value:l},M.createElement(Je.Provider,{children:t,value:D}))}function oo({children:e,location:t}){return qa(Ft(e),t)}function Ft(e,t=[]){let r=[];return M.Children.forEach(e,(i,a)=>{if(!M.isValidElement(i))return;let s=[...t,a];if(i.type===M.Fragment){r.push.apply(r,Ft(i.props.children,s));return}ae(i.type===hn,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),ae(!i.props.index||!i.props.children,"An index route cannot have child routes.");let c={id:i.props.id||s.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(c.children=Ft(i.props.children,s)),r.push(c)}),r}var ut="get",ct="application/x-www-form-urlencoded";function kt(e){return e!=null&&typeof e.tagName=="string"}function so(e){return kt(e)&&e.tagName.toLowerCase()==="button"}function lo(e){return kt(e)&&e.tagName.toLowerCase()==="form"}function uo(e){return kt(e)&&e.tagName.toLowerCase()==="input"}function co(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function fo(e,t){return e.button===0&&(!t||t==="_self")&&!co(e)}function Wt(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let i=e[r];return t.concat(Array.isArray(i)?i.map(a=>[r,a]):[[r,i]])},[]))}function ho(e,t){let r=Wt(e);return t&&t.forEach((i,a)=>{r.has(a)||t.getAll(a).forEach(s=>{r.append(a,s)})}),r}var at=null;function po(){if(at===null)try{new FormData(document.createElement("form"),0),at=!1}catch{at=!0}return at}var mo=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function $t(e){return e!=null&&!mo.has(e)?(ve(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ct}"`),null):e}function vo(e,t){let r,i,a,s,c;if(lo(e)){let l=e.getAttribute("action");i=l?xe(l,t):null,r=e.getAttribute("method")||ut,a=$t(e.getAttribute("enctype"))||ct,s=new FormData(e)}else if(so(e)||uo(e)&&(e.type==="submit"||e.type==="image")){let l=e.form;if(l==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let u=e.getAttribute("formaction")||l.getAttribute("action");if(i=u?xe(u,t):null,r=e.getAttribute("formmethod")||l.getAttribute("method")||ut,a=$t(e.getAttribute("formenctype"))||$t(l.getAttribute("enctype"))||ct,s=new FormData(l,e),!po()){let{name:h,type:g,value:x}=e;if(g==="image"){let _=h?`${h}.`:"";s.append(`${_}x`,"0"),s.append(`${_}y`,"0")}else h&&s.append(h,x)}}else{if(kt(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=ut,i=null,a=ct,c=e}return s&&a==="text/plain"&&(c=s,s=void 0),{action:i,method:r.toLowerCase(),encType:a,formData:s,body:c}}function Jt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}async function go(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function yo(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function bo(e,t,r){let i=await Promise.all(e.map(async a=>{let s=t.routes[a.route.id];if(s){let c=await go(s,r);return c.links?c.links():[]}return[]}));return Oo(i.flat(1).filter(yo).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="stylesheet"?{...a,rel:"prefetch",as:"style"}:{...a,rel:"prefetch"}))}function Dr(e,t,r,i,a,s){let c=(u,h)=>r[h]?u.route.id!==r[h].route.id:!0,l=(u,h)=>r[h].pathname!==u.pathname||r[h].route.path?.endsWith("*")&&r[h].params["*"]!==u.params["*"];return s==="assets"?t.filter((u,h)=>c(u,h)||l(u,h)):s==="data"?t.filter((u,h)=>{let g=i.routes[u.route.id];if(!g||!g.hasLoader)return!1;if(c(u,h)||l(u,h))return!0;if(u.route.shouldRevalidate){let x=u.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:u.params,defaultShouldRevalidate:!0});if(typeof x=="boolean")return x}return!0}):[]}function wo(e,t,{includeHydrateFallback:r}={}){return So(e.map(i=>{let a=t.routes[i.route.id];if(!a)return[];let s=[a.module];return a.clientActionModule&&(s=s.concat(a.clientActionModule)),a.clientLoaderModule&&(s=s.concat(a.clientLoaderModule)),r&&a.hydrateFallbackModule&&(s=s.concat(a.hydrateFallbackModule)),a.imports&&(s=s.concat(a.imports)),s}).flat(1))}function So(e){return[...new Set(e)]}function xo(e){let t={},r=Object.keys(e).sort();for(let i of r)t[i]=e[i];return t}function Oo(e,t){let r=new Set;return new Set(t),e.reduce((i,a)=>{let s=JSON.stringify(xo(a));return r.has(s)||(r.add(s),i.push({key:s,link:a})),i},[])}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var ko=new Set([100,101,204,205]);function Co(e,t){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r.pathname==="/"?r.pathname="_root.data":t&&xe(r.pathname,t)==="/"?r.pathname=`${t.replace(/\/$/,"")}/_root.data`:r.pathname=`${r.pathname.replace(/\/$/,"")}.data`,r}function pn(){let e=M.useContext(Me);return Jt(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Po(){let e=M.useContext(Ot);return Jt(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Zt=M.createContext(void 0);Zt.displayName="FrameworkContext";function mn(){let e=M.useContext(Zt);return Jt(e,"You must render this element inside a <HydratedRouter> element"),e}function Eo(e,t){let r=M.useContext(Zt),[i,a]=M.useState(!1),[s,c]=M.useState(!1),{onFocus:l,onBlur:u,onMouseEnter:h,onMouseLeave:g,onTouchStart:x}=t,_=M.useRef(null);M.useEffect(()=>{if(e==="render"&&c(!0),e==="viewport"){let p=O=>{O.forEach(F=>{c(F.isIntersecting)})},I=new IntersectionObserver(p,{threshold:.5});return _.current&&I.observe(_.current),()=>{I.disconnect()}}},[e]),M.useEffect(()=>{if(i){let p=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(p)}}},[i]);let D=()=>{a(!0)},P=()=>{a(!1),c(!1)};return r?e!=="intent"?[s,_,{}]:[s,_,{onFocus:Ye(l,D),onBlur:Ye(u,P),onMouseEnter:Ye(h,D),onMouseLeave:Ye(g,P),onTouchStart:Ye(x,D)}]:[!1,_,{}]}function Ye(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function Ro({page:e,...t}){let{router:r}=pn(),i=M.useMemo(()=>tn(r.routes,e,r.basename),[r.routes,e,r.basename]);return i?M.createElement(_o,{page:e,matches:i,...t}):null}function To(e){let{manifest:t,routeModules:r}=mn(),[i,a]=M.useState([]);return M.useEffect(()=>{let s=!1;return bo(e,t,r).then(c=>{s||a(c)}),()=>{s=!0}},[e,t,r]),i}function _o({page:e,matches:t,...r}){let i=ke(),{manifest:a,routeModules:s}=mn(),{basename:c}=pn(),{loaderData:l,matches:u}=Po(),h=M.useMemo(()=>Dr(e,t,u,a,i,"data"),[e,t,u,a,i]),g=M.useMemo(()=>Dr(e,t,u,a,i,"assets"),[e,t,u,a,i]),x=M.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let P=new Set,p=!1;if(t.forEach(O=>{let F=a.routes[O.route.id];!F||!F.hasLoader||(!h.some(U=>U.route.id===O.route.id)&&O.route.id in l&&s[O.route.id]?.shouldRevalidate||F.hasClientLoader?p=!0:P.add(O.route.id))}),P.size===0)return[];let I=Co(e,c);return p&&P.size>0&&I.searchParams.set("_routes",t.filter(O=>P.has(O.route.id)).map(O=>O.route.id).join(",")),[I.pathname+I.search]},[c,l,i,a,h,t,e,s]),_=M.useMemo(()=>wo(g,a),[g,a]),D=To(g);return M.createElement(M.Fragment,null,x.map(P=>M.createElement("link",{key:P,rel:"prefetch",as:"fetch",href:P,...r})),_.map(P=>M.createElement("link",{key:P,rel:"modulepreload",href:P,...r})),D.map(({key:P,link:p})=>M.createElement("link",{key:P,...p})))}function jo(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var vn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{vn&&(window.__reactRouterVersion="7.6.3")}catch{}function Do({basename:e,children:t,window:r}){let i=M.useRef();i.current==null&&(i.current=ga({window:r,v5Compat:!0}));let a=i.current,[s,c]=M.useState({action:a.action,location:a.location}),l=M.useCallback(u=>{M.startTransition(()=>c(u))},[c]);return M.useLayoutEffect(()=>a.listen(l),[a,l]),M.createElement(ao,{basename:e,children:t,location:s.location,navigationType:s.action,navigator:a})}var gn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,yn=M.forwardRef(function({onClick:t,discover:r="render",prefetch:i="none",relative:a,reloadDocument:s,replace:c,state:l,target:u,to:h,preventScrollReset:g,viewTransition:x,..._},D){let{basename:P}=M.useContext(we),p=typeof h=="string"&&gn.test(h),I,O=!1;if(typeof h=="string"&&p&&(I=h,vn))try{let y=new URL(window.location.href),d=h.startsWith("//")?new URL(y.protocol+h):new URL(h),k=xe(d.pathname,P);d.origin===y.origin&&k!=null?h=k+d.search+d.hash:O=!0}catch{ve(!1,`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let F=Ya(h,{relative:a}),[U,q,v]=Eo(i,_),b=Io(h,{replace:c,state:l,target:u,preventScrollReset:g,relative:a,viewTransition:x});function w(y){t&&t(y),y.defaultPrevented||b(y)}let E=M.createElement("a",{..._,...v,href:I||F,onClick:O||s?t:w,ref:jo(D,q),target:u,"data-discover":!p&&r==="render"?"true":void 0});return U&&!p?M.createElement(M.Fragment,null,E,M.createElement(Ro,{page:F})):E});yn.displayName="Link";var Lo=M.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:i="",end:a=!1,style:s,to:c,viewTransition:l,children:u,...h},g){let x=Qe(c,{relative:h.relative}),_=ke(),D=M.useContext(Ot),{navigator:P,basename:p}=M.useContext(we),I=D!=null&&Wo(x)&&l===!0,O=P.encodeLocation?P.encodeLocation(x).pathname:x.pathname,F=_.pathname,U=D&&D.navigation&&D.navigation.location?D.navigation.location.pathname:null;r||(F=F.toLowerCase(),U=U?U.toLowerCase():null,O=O.toLowerCase()),U&&p&&(U=xe(U,p)||U);const q=O!=="/"&&O.endsWith("/")?O.length-1:O.length;let v=F===O||!a&&F.startsWith(O)&&F.charAt(q)==="/",b=U!=null&&(U===O||!a&&U.startsWith(O)&&U.charAt(O.length)==="/"),w={isActive:v,isPending:b,isTransitioning:I},E=v?t:void 0,y;typeof i=="function"?y=i(w):y=[i,v?"active":null,b?"pending":null,I?"transitioning":null].filter(Boolean).join(" ");let d=typeof s=="function"?s(w):s;return M.createElement(yn,{...h,"aria-current":E,className:y,ref:g,style:d,to:c,viewTransition:l},typeof u=="function"?u(w):u)});Lo.displayName="NavLink";var Mo=M.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:i,replace:a,state:s,method:c=ut,action:l,onSubmit:u,relative:h,preventScrollReset:g,viewTransition:x,..._},D)=>{let P=No(),p=Fo(l,{relative:h}),I=c.toLowerCase()==="get"?"get":"post",O=typeof l=="string"&&gn.test(l),F=U=>{if(u&&u(U),U.defaultPrevented)return;U.preventDefault();let q=U.nativeEvent.submitter,v=q?.getAttribute("formmethod")||c;P(q||U.currentTarget,{fetcherKey:t,method:v,navigate:r,replace:a,state:s,relative:h,preventScrollReset:g,viewTransition:x})};return M.createElement("form",{ref:D,method:I,action:p,onSubmit:i?u:F,..._,"data-discover":!O&&e==="render"?"true":void 0})});Mo.displayName="Form";function $o(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function bn(e){let t=M.useContext(Me);return ae(t,$o(e)),t}function Io(e,{target:t,replace:r,state:i,preventScrollReset:a,relative:s,viewTransition:c}={}){let l=Xt(),u=ke(),h=Qe(e,{relative:s});return M.useCallback(g=>{if(fo(g,t)){g.preventDefault();let x=r!==void 0?r:Xe(u)===Xe(h);l(e,{replace:x,state:i,preventScrollReset:a,relative:s,viewTransition:c})}},[u,l,h,r,i,t,e,a,s,c])}function Ao(e){ve(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=M.useRef(Wt(e)),r=M.useRef(!1),i=ke(),a=M.useMemo(()=>ho(i.search,r.current?null:t.current),[i.search]),s=Xt(),c=M.useCallback((l,u)=>{const h=Wt(typeof l=="function"?l(a):l);r.current=!0,s("?"+h,u)},[s,a]);return[a,c]}var Ho=0,zo=()=>`__${String(++Ho)}__`;function No(){let{router:e}=bn("useSubmit"),{basename:t}=M.useContext(we),r=to();return M.useCallback(async(i,a={})=>{let{action:s,method:c,encType:l,formData:u,body:h}=vo(i,t);if(a.navigate===!1){let g=a.fetcherKey||zo();await e.fetch(g,r,a.action||s,{preventScrollReset:a.preventScrollReset,formData:u,body:h,formMethod:a.method||c,formEncType:a.encType||l,flushSync:a.flushSync})}else await e.navigate(a.action||s,{preventScrollReset:a.preventScrollReset,formData:u,body:h,formMethod:a.method||c,formEncType:a.encType||l,replace:a.replace,state:a.state,fromRouteId:r,flushSync:a.flushSync,viewTransition:a.viewTransition})},[e,t,r])}function Fo(e,{relative:t}={}){let{basename:r}=M.useContext(we),i=M.useContext(Oe);ae(i,"useFormAction must be used inside a RouteContext");let[a]=i.matches.slice(-1),s={...Qe(e||".",{relative:t})},c=ke();if(e==null){s.search=c.search;let l=new URLSearchParams(s.search),u=l.getAll("index");if(u.some(g=>g==="")){l.delete("index"),u.filter(x=>x).forEach(x=>l.append("index",x));let g=l.toString();s.search=g?`?${g}`:""}}return(!e||e===".")&&a.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(s.pathname=s.pathname==="/"?r:Se([r,s.pathname])),Xe(s)}function Wo(e,t={}){let r=M.useContext(ln);ae(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=bn("useViewTransitionState"),a=Qe(e,{relative:t.relative});if(!r.isTransitioning)return!1;let s=xe(r.currentLocation.pathname,i)||r.currentLocation.pathname,c=xe(r.nextLocation.pathname,i)||r.nextLocation.pathname;return gt(a.pathname,c)!=null||gt(a.pathname,s)!=null}[...ko];const wn=Y.createContext({history:[],addToHistory:()=>{},popFromHistory:()=>"",replaceHistory:()=>{}}),Uo=()=>{const[e,t]=Ao(),r=Y.useMemo(()=>Object.fromEntries(e.entries()),[e]),i=Y.useCallback(h=>{const g={};return h.forEach(x=>{g[x]=e.get(x)}),g},[e]),a=Y.useCallback(h=>{const g=e.get(h);return g==null||g==null,g},[e]),s=Y.useCallback((h,g)=>{const x=new URLSearchParams(e);x.set(h,String(g)),t(x)},[e,t]),c=Y.useCallback(h=>{const g=new URLSearchParams(e);Object.entries(h).forEach(([x,_])=>{_!=null&&g.set(x,String(_))}),t(g)},[e,t]),l=Y.useCallback(h=>{const g=new URLSearchParams(e);g.delete(h),t(g)},[e,t]),u=Y.useCallback(h=>{const g=new URLSearchParams(e);h.forEach(x=>{g.delete(String(x))}),t(g)},[e,t]);return{getAll:()=>r,get:a,getMany:i,set:s,setMany:c,remove:l,removeMany:u}},Yo=()=>{const e=Xt(),t=ke(),r=Uo(),i=Y.useContext(wn),a=l=>{const u=new URL(l.path,"http://dummy-base");return l.params&&Object.entries(l.params).forEach(([h,g])=>{g!=null&&u.searchParams.set(h,String(g))}),u.pathname+u.search},s=Y.useCallback(l=>{const u=a(l);l.addToHistory!==!1?(e(u),i.addToHistory(u)):(e(u,{replace:!0}),i.popFromHistory(1),i.addToHistory(u))},[e]),c=Y.useCallback(l=>{const u=l||1;e(-u),i.popFromHistory(u)},[e]);return{currentPath:t.pathname,history:i.history,searchParams:r,goBack:c,goTo:s}},Bo=({isReady:e=!0,routes:t,children:r})=>{const i=Y.useRef([]),[a,s]=Y.useState([]),c=Y.useCallback(x=>{i.current=x,s(x)},[]),l=(x,_=!1)=>{let D=[...i.current];_&&(D=D.slice(0,D.length-1)),D=[...D,x],c(D)},u=x=>{let _="",D=[];return i.current.length===0?"/":(i.current.length<=x?(_=i.current[0],D=[_]):(D=i.current.slice(0,i.current.length-x),_=D[D.length-1]),c(D),_)},h=x=>{c(x)},g=t.map(x=>G.jsx(hn,{path:x.path,element:x.render}));return G.jsx(wn.Provider,{value:{history:a,addToHistory:l,popFromHistory:u,replaceHistory:h},children:G.jsx(Do,{children:e&&G.jsxs(G.Fragment,{children:[r,G.jsx(oo,{children:g})]})})})},Sn=Y.createContext({visibleItems:[],isItemVisible:()=>!1,showItem:()=>{},hideItem:()=>{}}),qo=({children:e})=>{const t=Y.useRef([]),[r,i]=Y.useState([]),a=Y.useCallback(u=>{t.current=u,i(u)},[]),s=Y.useCallback(u=>t.current.some(h=>h===u),[]),c=Y.useCallback(u=>{s(u)||a([...t.current,u])},[s,a]),l=Y.useCallback(u=>{s(u)&&a(t.current.filter(g=>g!==u))},[s,a]);return G.jsx(Sn.Provider,{value:{visibleItems:r,isItemVisible:s,showItem:c,hideItem:l},children:e})},et=()=>{const e=Y.useContext(Sn),t=a=>e.visibleItems.some(s=>s===a),r=a=>{e.showItem(a)},i=a=>{e.hideItem(a)};return{visibleItems:e.visibleItems,isItemVisible:t,showItem:r,hideItem:i}},Vo=({id:e,onCloseDrawer:t,drawerCloseOffset:r=15})=>{const{isItemVisible:i}=et(),[a,s]=Y.useState({isDragging:!1}),c=Y.useRef(null),l=Y.useRef(null),u=Y.useRef(null),[h,g]=Y.useState(0),x=P=>{s(P)},_=P=>{s(P),g(0)};return Qr({ref:u,onDrag:P=>{s(P);const p=l.current?.clientHeight||0;P.distanceY&&(g(P.distanceY<0?0:-P.distanceY),P.distanceY>=p-r&&(t?.(),_(P)))},onDragEnd:_,onDragStart:x}),{isVisible:i(e),drawerParentRef:c,drawerRef:l,drawerBottomDistance:h,handleRef:u}},Xo=e=>{const{children:t,backgroundStyles:r,contentStyles:i,handle:a}=e,{isVisible:s,drawerParentRef:c,drawerRef:l,handleRef:u,drawerBottomDistance:h}=Vo(e);return G.jsx(G.Fragment,{children:s&&G.jsx("div",{ref:c,style:{width:"100%",height:"100%",minHeight:"100vh",left:0,top:0,background:"#00000068",position:"fixed",zIndex:1e3,display:"flex",flexDirection:"column",touchAction:"none",...r},children:G.jsxs("div",{ref:l,style:{width:"100%",height:"fit-content",minHeight:"80px",maxHeight:"90%",background:"#ffffff",borderTopLeftRadius:"16px",borderTopRightRadius:"16px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"24px",zIndex:1001,position:"absolute",bottom:`${h}px`,...i},onClick:g=>{g.stopPropagation()},children:[G.jsx("div",{ref:u,style:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0px",height:"24px",width:"100%",cursor:"pointer",...a?.styles},children:a?.render}),t]})})})},Go=({onSubmit:e,fields:t})=>{const r=Y.useRef(null),i=Y.useCallback(c=>{const l=Array.from(c.currentTarget.elements).filter(h=>!!h.getAttribute("name")),u=[];for(const h of l){const g=h.name;u.push({name:g,value:h.value})}return u},[e]),a=Y.useCallback(c=>{c.preventDefault(),c.stopPropagation();const l=i(c);e?.(l)},[e]);return{ref:r,submitForm:c=>{r.current&&r.current.requestSubmit()},handleFormSubmission:a}},Ko=Pe.div`
|
|
126
|
+
Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}/*`}">.`)}let x=ke(),_;if(t){let O=typeof t=="string"?Le(t):t;ae(h==="/"||O.pathname?.startsWith(h),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${O.pathname}" was given in the \`location\` prop.`),_=O}else _=x;let D=_.pathname||"/",P=D;if(h!=="/"){let O=h.replace(/^\//,"").split("/");P="/"+D.replace(/^\//,"").split("/").slice(O.length).join("/")}let p=tn(e,{pathname:P});ve(g||p!=null,`No routes matched location "${_.pathname}${_.search}${_.hash}" `),ve(p==null||p[p.length-1].route.element!==void 0||p[p.length-1].route.Component!==void 0||p[p.length-1].route.lazy!==void 0,`Matched leaf route at location "${_.pathname}${_.search}${_.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let I=Ja(p&&p.map(O=>Object.assign({},O,{params:Object.assign({},l,O.params),pathname:Se([h,a.encodeLocation?a.encodeLocation(O.pathname).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?h:Se([h,a.encodeLocation?a.encodeLocation(O.pathnameBase).pathname:O.pathnameBase])})),s,r,i);return t&&I?M.createElement(Je.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",..._},navigationType:"POP"}},I):I}function Va(){let e=ro(),t=Na(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:i},s={padding:"2px 4px",backgroundColor:i},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=M.createElement(M.Fragment,null,M.createElement("p",null,"💿 Hey developer 👋"),M.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",M.createElement("code",{style:s},"ErrorBoundary")," or"," ",M.createElement("code",{style:s},"errorElement")," prop on your route.")),M.createElement(M.Fragment,null,M.createElement("h2",null,"Unexpected Application Error!"),M.createElement("h3",{style:{fontStyle:"italic"}},t),r?M.createElement("pre",{style:a},r):null,c)}var Xa=M.createElement(Va,null),Ga=class extends M.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?M.createElement(Oe.Provider,{value:this.props.routeContext},M.createElement(Vt.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Ka({routeContext:e,match:t,children:r}){let i=M.useContext(Me);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),M.createElement(Oe.Provider,{value:e},r)}function Ja(e,t=[],r=null,i=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let a=e,s=r?.errors;if(s!=null){let u=a.findIndex(h=>h.route.id&&s?.[h.route.id]!==void 0);ae(u>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),a=a.slice(0,Math.min(a.length,u+1))}let c=!1,l=-1;if(r)for(let u=0;u<a.length;u++){let h=a[u];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(l=u),h.route.id){let{loaderData:g,errors:x}=r,_=h.route.loader&&!g.hasOwnProperty(h.route.id)&&(!x||x[h.route.id]===void 0);if(h.route.lazy||_){c=!0,l>=0?a=a.slice(0,l+1):a=[a[0]];break}}}return a.reduceRight((u,h,g)=>{let x,_=!1,D=null,P=null;r&&(x=s&&h.route.id?s[h.route.id]:void 0,D=h.route.errorElement||Xa,c&&(l<0&&g===0?(dn("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),_=!0,P=null):l===g&&(_=!0,P=h.route.hydrateFallbackElement||null)));let p=t.concat(a.slice(0,g+1)),I=()=>{let O;return x?O=D:_?O=P:h.route.Component?O=M.createElement(h.route.Component,null):h.route.element?O=h.route.element:O=u,M.createElement(Ka,{match:h,routeContext:{outlet:u,matches:p,isDataRoute:r!=null},children:O})};return r&&(h.route.ErrorBoundary||h.route.errorElement||g===0)?M.createElement(Ga,{location:r.location,revalidation:r.revalidation,component:D,error:x,children:I(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):I()},null)}function Gt(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Za(e){let t=M.useContext(Me);return ae(t,Gt(e)),t}function Qa(e){let t=M.useContext(Ot);return ae(t,Gt(e)),t}function eo(e){let t=M.useContext(Oe);return ae(t,Gt(e)),t}function Kt(e){let t=eo(e),r=t.matches[t.matches.length-1];return ae(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function to(){return Kt("useRouteId")}function ro(){let e=M.useContext(Vt),t=Qa("useRouteError"),r=Kt("useRouteError");return e!==void 0?e:t.errors?.[r]}function no(){let{router:e}=Za("useNavigate"),t=Kt("useNavigate"),r=M.useRef(!1);return cn(()=>{r.current=!0}),M.useCallback(async(a,s={})=>{ve(r.current,un),r.current&&(typeof a=="number"?e.navigate(a):await e.navigate(a,{fromRouteId:t,...s}))},[e,t])}var jr={};function dn(e,t,r){!t&&!jr[e]&&(jr[e]=!0,ve(!1,r))}M.memo(io);function io({routes:e,future:t,state:r}){return fn(e,void 0,r,t)}function hn(e){ae(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function ao({basename:e="/",children:t=null,location:r,navigationType:i="POP",navigator:a,static:s=!1}){ae(!Ze(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),l=M.useMemo(()=>({basename:c,navigator:a,static:s,future:{}}),[c,a,s]);typeof r=="string"&&(r=Le(r));let{pathname:u="/",search:h="",hash:g="",state:x=null,key:_="default"}=r,D=M.useMemo(()=>{let P=xe(u,c);return P==null?null:{location:{pathname:P,search:h,hash:g,state:x,key:_},navigationType:i}},[c,u,h,g,x,_,i]);return ve(D!=null,`<Router basename="${c}"> is not able to match the URL "${u}${h}${g}" because it does not start with the basename, so the <Router> won't render anything.`),D==null?null:M.createElement(we.Provider,{value:l},M.createElement(Je.Provider,{children:t,value:D}))}function oo({children:e,location:t}){return qa(Ft(e),t)}function Ft(e,t=[]){let r=[];return M.Children.forEach(e,(i,a)=>{if(!M.isValidElement(i))return;let s=[...t,a];if(i.type===M.Fragment){r.push.apply(r,Ft(i.props.children,s));return}ae(i.type===hn,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),ae(!i.props.index||!i.props.children,"An index route cannot have child routes.");let c={id:i.props.id||s.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(c.children=Ft(i.props.children,s)),r.push(c)}),r}var ut="get",ct="application/x-www-form-urlencoded";function kt(e){return e!=null&&typeof e.tagName=="string"}function so(e){return kt(e)&&e.tagName.toLowerCase()==="button"}function lo(e){return kt(e)&&e.tagName.toLowerCase()==="form"}function uo(e){return kt(e)&&e.tagName.toLowerCase()==="input"}function co(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function fo(e,t){return e.button===0&&(!t||t==="_self")&&!co(e)}function Wt(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let i=e[r];return t.concat(Array.isArray(i)?i.map(a=>[r,a]):[[r,i]])},[]))}function ho(e,t){let r=Wt(e);return t&&t.forEach((i,a)=>{r.has(a)||t.getAll(a).forEach(s=>{r.append(a,s)})}),r}var at=null;function po(){if(at===null)try{new FormData(document.createElement("form"),0),at=!1}catch{at=!0}return at}var mo=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function $t(e){return e!=null&&!mo.has(e)?(ve(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ct}"`),null):e}function vo(e,t){let r,i,a,s,c;if(lo(e)){let l=e.getAttribute("action");i=l?xe(l,t):null,r=e.getAttribute("method")||ut,a=$t(e.getAttribute("enctype"))||ct,s=new FormData(e)}else if(so(e)||uo(e)&&(e.type==="submit"||e.type==="image")){let l=e.form;if(l==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let u=e.getAttribute("formaction")||l.getAttribute("action");if(i=u?xe(u,t):null,r=e.getAttribute("formmethod")||l.getAttribute("method")||ut,a=$t(e.getAttribute("formenctype"))||$t(l.getAttribute("enctype"))||ct,s=new FormData(l,e),!po()){let{name:h,type:g,value:x}=e;if(g==="image"){let _=h?`${h}.`:"";s.append(`${_}x`,"0"),s.append(`${_}y`,"0")}else h&&s.append(h,x)}}else{if(kt(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=ut,i=null,a=ct,c=e}return s&&a==="text/plain"&&(c=s,s=void 0),{action:i,method:r.toLowerCase(),encType:a,formData:s,body:c}}function Jt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}async function go(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function yo(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function bo(e,t,r){let i=await Promise.all(e.map(async a=>{let s=t.routes[a.route.id];if(s){let c=await go(s,r);return c.links?c.links():[]}return[]}));return Oo(i.flat(1).filter(yo).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="stylesheet"?{...a,rel:"prefetch",as:"style"}:{...a,rel:"prefetch"}))}function Dr(e,t,r,i,a,s){let c=(u,h)=>r[h]?u.route.id!==r[h].route.id:!0,l=(u,h)=>r[h].pathname!==u.pathname||r[h].route.path?.endsWith("*")&&r[h].params["*"]!==u.params["*"];return s==="assets"?t.filter((u,h)=>c(u,h)||l(u,h)):s==="data"?t.filter((u,h)=>{let g=i.routes[u.route.id];if(!g||!g.hasLoader)return!1;if(c(u,h)||l(u,h))return!0;if(u.route.shouldRevalidate){let x=u.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:u.params,defaultShouldRevalidate:!0});if(typeof x=="boolean")return x}return!0}):[]}function wo(e,t,{includeHydrateFallback:r}={}){return So(e.map(i=>{let a=t.routes[i.route.id];if(!a)return[];let s=[a.module];return a.clientActionModule&&(s=s.concat(a.clientActionModule)),a.clientLoaderModule&&(s=s.concat(a.clientLoaderModule)),r&&a.hydrateFallbackModule&&(s=s.concat(a.hydrateFallbackModule)),a.imports&&(s=s.concat(a.imports)),s}).flat(1))}function So(e){return[...new Set(e)]}function xo(e){let t={},r=Object.keys(e).sort();for(let i of r)t[i]=e[i];return t}function Oo(e,t){let r=new Set;return new Set(t),e.reduce((i,a)=>{let s=JSON.stringify(xo(a));return r.has(s)||(r.add(s),i.push({key:s,link:a})),i},[])}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var ko=new Set([100,101,204,205]);function Co(e,t){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r.pathname==="/"?r.pathname="_root.data":t&&xe(r.pathname,t)==="/"?r.pathname=`${t.replace(/\/$/,"")}/_root.data`:r.pathname=`${r.pathname.replace(/\/$/,"")}.data`,r}function pn(){let e=M.useContext(Me);return Jt(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Po(){let e=M.useContext(Ot);return Jt(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Zt=M.createContext(void 0);Zt.displayName="FrameworkContext";function mn(){let e=M.useContext(Zt);return Jt(e,"You must render this element inside a <HydratedRouter> element"),e}function Eo(e,t){let r=M.useContext(Zt),[i,a]=M.useState(!1),[s,c]=M.useState(!1),{onFocus:l,onBlur:u,onMouseEnter:h,onMouseLeave:g,onTouchStart:x}=t,_=M.useRef(null);M.useEffect(()=>{if(e==="render"&&c(!0),e==="viewport"){let p=O=>{O.forEach(F=>{c(F.isIntersecting)})},I=new IntersectionObserver(p,{threshold:.5});return _.current&&I.observe(_.current),()=>{I.disconnect()}}},[e]),M.useEffect(()=>{if(i){let p=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(p)}}},[i]);let D=()=>{a(!0)},P=()=>{a(!1),c(!1)};return r?e!=="intent"?[s,_,{}]:[s,_,{onFocus:Ye(l,D),onBlur:Ye(u,P),onMouseEnter:Ye(h,D),onMouseLeave:Ye(g,P),onTouchStart:Ye(x,D)}]:[!1,_,{}]}function Ye(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function Ro({page:e,...t}){let{router:r}=pn(),i=M.useMemo(()=>tn(r.routes,e,r.basename),[r.routes,e,r.basename]);return i?M.createElement(_o,{page:e,matches:i,...t}):null}function To(e){let{manifest:t,routeModules:r}=mn(),[i,a]=M.useState([]);return M.useEffect(()=>{let s=!1;return bo(e,t,r).then(c=>{s||a(c)}),()=>{s=!0}},[e,t,r]),i}function _o({page:e,matches:t,...r}){let i=ke(),{manifest:a,routeModules:s}=mn(),{basename:c}=pn(),{loaderData:l,matches:u}=Po(),h=M.useMemo(()=>Dr(e,t,u,a,i,"data"),[e,t,u,a,i]),g=M.useMemo(()=>Dr(e,t,u,a,i,"assets"),[e,t,u,a,i]),x=M.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let P=new Set,p=!1;if(t.forEach(O=>{let F=a.routes[O.route.id];!F||!F.hasLoader||(!h.some(U=>U.route.id===O.route.id)&&O.route.id in l&&s[O.route.id]?.shouldRevalidate||F.hasClientLoader?p=!0:P.add(O.route.id))}),P.size===0)return[];let I=Co(e,c);return p&&P.size>0&&I.searchParams.set("_routes",t.filter(O=>P.has(O.route.id)).map(O=>O.route.id).join(",")),[I.pathname+I.search]},[c,l,i,a,h,t,e,s]),_=M.useMemo(()=>wo(g,a),[g,a]),D=To(g);return M.createElement(M.Fragment,null,x.map(P=>M.createElement("link",{key:P,rel:"prefetch",as:"fetch",href:P,...r})),_.map(P=>M.createElement("link",{key:P,rel:"modulepreload",href:P,...r})),D.map(({key:P,link:p})=>M.createElement("link",{key:P,...p})))}function jo(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var vn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{vn&&(window.__reactRouterVersion="7.6.3")}catch{}function Do({basename:e,children:t,window:r}){let i=M.useRef();i.current==null&&(i.current=ga({window:r,v5Compat:!0}));let a=i.current,[s,c]=M.useState({action:a.action,location:a.location}),l=M.useCallback(u=>{M.startTransition(()=>c(u))},[c]);return M.useLayoutEffect(()=>a.listen(l),[a,l]),M.createElement(ao,{basename:e,children:t,location:s.location,navigationType:s.action,navigator:a})}var gn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,yn=M.forwardRef(function({onClick:t,discover:r="render",prefetch:i="none",relative:a,reloadDocument:s,replace:c,state:l,target:u,to:h,preventScrollReset:g,viewTransition:x,..._},D){let{basename:P}=M.useContext(we),p=typeof h=="string"&&gn.test(h),I,O=!1;if(typeof h=="string"&&p&&(I=h,vn))try{let y=new URL(window.location.href),d=h.startsWith("//")?new URL(y.protocol+h):new URL(h),k=xe(d.pathname,P);d.origin===y.origin&&k!=null?h=k+d.search+d.hash:O=!0}catch{ve(!1,`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let F=Ya(h,{relative:a}),[U,q,v]=Eo(i,_),b=Io(h,{replace:c,state:l,target:u,preventScrollReset:g,relative:a,viewTransition:x});function w(y){t&&t(y),y.defaultPrevented||b(y)}let E=M.createElement("a",{..._,...v,href:I||F,onClick:O||s?t:w,ref:jo(D,q),target:u,"data-discover":!p&&r==="render"?"true":void 0});return U&&!p?M.createElement(M.Fragment,null,E,M.createElement(Ro,{page:F})):E});yn.displayName="Link";var Lo=M.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:i="",end:a=!1,style:s,to:c,viewTransition:l,children:u,...h},g){let x=Qe(c,{relative:h.relative}),_=ke(),D=M.useContext(Ot),{navigator:P,basename:p}=M.useContext(we),I=D!=null&&Wo(x)&&l===!0,O=P.encodeLocation?P.encodeLocation(x).pathname:x.pathname,F=_.pathname,U=D&&D.navigation&&D.navigation.location?D.navigation.location.pathname:null;r||(F=F.toLowerCase(),U=U?U.toLowerCase():null,O=O.toLowerCase()),U&&p&&(U=xe(U,p)||U);const q=O!=="/"&&O.endsWith("/")?O.length-1:O.length;let v=F===O||!a&&F.startsWith(O)&&F.charAt(q)==="/",b=U!=null&&(U===O||!a&&U.startsWith(O)&&U.charAt(O.length)==="/"),w={isActive:v,isPending:b,isTransitioning:I},E=v?t:void 0,y;typeof i=="function"?y=i(w):y=[i,v?"active":null,b?"pending":null,I?"transitioning":null].filter(Boolean).join(" ");let d=typeof s=="function"?s(w):s;return M.createElement(yn,{...h,"aria-current":E,className:y,ref:g,style:d,to:c,viewTransition:l},typeof u=="function"?u(w):u)});Lo.displayName="NavLink";var Mo=M.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:i,replace:a,state:s,method:c=ut,action:l,onSubmit:u,relative:h,preventScrollReset:g,viewTransition:x,..._},D)=>{let P=No(),p=Fo(l,{relative:h}),I=c.toLowerCase()==="get"?"get":"post",O=typeof l=="string"&&gn.test(l),F=U=>{if(u&&u(U),U.defaultPrevented)return;U.preventDefault();let q=U.nativeEvent.submitter,v=q?.getAttribute("formmethod")||c;P(q||U.currentTarget,{fetcherKey:t,method:v,navigate:r,replace:a,state:s,relative:h,preventScrollReset:g,viewTransition:x})};return M.createElement("form",{ref:D,method:I,action:p,onSubmit:i?u:F,..._,"data-discover":!O&&e==="render"?"true":void 0})});Mo.displayName="Form";function $o(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function bn(e){let t=M.useContext(Me);return ae(t,$o(e)),t}function Io(e,{target:t,replace:r,state:i,preventScrollReset:a,relative:s,viewTransition:c}={}){let l=Xt(),u=ke(),h=Qe(e,{relative:s});return M.useCallback(g=>{if(fo(g,t)){g.preventDefault();let x=r!==void 0?r:Xe(u)===Xe(h);l(e,{replace:x,state:i,preventScrollReset:a,relative:s,viewTransition:c})}},[u,l,h,r,i,t,e,a,s,c])}function Ao(e){ve(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=M.useRef(Wt(e)),r=M.useRef(!1),i=ke(),a=M.useMemo(()=>ho(i.search,r.current?null:t.current),[i.search]),s=Xt(),c=M.useCallback((l,u)=>{const h=Wt(typeof l=="function"?l(a):l);r.current=!0,s("?"+h,u)},[s,a]);return[a,c]}var Ho=0,zo=()=>`__${String(++Ho)}__`;function No(){let{router:e}=bn("useSubmit"),{basename:t}=M.useContext(we),r=to();return M.useCallback(async(i,a={})=>{let{action:s,method:c,encType:l,formData:u,body:h}=vo(i,t);if(a.navigate===!1){let g=a.fetcherKey||zo();await e.fetch(g,r,a.action||s,{preventScrollReset:a.preventScrollReset,formData:u,body:h,formMethod:a.method||c,formEncType:a.encType||l,flushSync:a.flushSync})}else await e.navigate(a.action||s,{preventScrollReset:a.preventScrollReset,formData:u,body:h,formMethod:a.method||c,formEncType:a.encType||l,replace:a.replace,state:a.state,fromRouteId:r,flushSync:a.flushSync,viewTransition:a.viewTransition})},[e,t,r])}function Fo(e,{relative:t}={}){let{basename:r}=M.useContext(we),i=M.useContext(Oe);ae(i,"useFormAction must be used inside a RouteContext");let[a]=i.matches.slice(-1),s={...Qe(e||".",{relative:t})},c=ke();if(e==null){s.search=c.search;let l=new URLSearchParams(s.search),u=l.getAll("index");if(u.some(g=>g==="")){l.delete("index"),u.filter(x=>x).forEach(x=>l.append("index",x));let g=l.toString();s.search=g?`?${g}`:""}}return(!e||e===".")&&a.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(s.pathname=s.pathname==="/"?r:Se([r,s.pathname])),Xe(s)}function Wo(e,t={}){let r=M.useContext(ln);ae(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=bn("useViewTransitionState"),a=Qe(e,{relative:t.relative});if(!r.isTransitioning)return!1;let s=xe(r.currentLocation.pathname,i)||r.currentLocation.pathname,c=xe(r.nextLocation.pathname,i)||r.nextLocation.pathname;return gt(a.pathname,c)!=null||gt(a.pathname,s)!=null}[...ko];const wn=Y.createContext({history:[],addToHistory:()=>{},popFromHistory:()=>"",replaceHistory:()=>{}}),Uo=()=>{const[e,t]=Ao(),r=Y.useMemo(()=>Object.fromEntries(e.entries()),[e]),i=Y.useCallback(h=>{const g={};return h.forEach(x=>{g[x]=e.get(x)}),g},[e]),a=Y.useCallback(h=>{const g=e.get(h);return g==null||g==null,g},[e]),s=Y.useCallback((h,g)=>{const x=new URLSearchParams(e);x.set(h,String(g)),t(x)},[e,t]),c=Y.useCallback(h=>{const g=new URLSearchParams(e);Object.entries(h).forEach(([x,_])=>{_!=null&&g.set(x,String(_))}),t(g)},[e,t]),l=Y.useCallback(h=>{const g=new URLSearchParams(e);g.delete(h),t(g)},[e,t]),u=Y.useCallback(h=>{const g=new URLSearchParams(e);h.forEach(x=>{g.delete(String(x))}),t(g)},[e,t]);return{getAll:()=>r,get:a,getMany:i,set:s,setMany:c,remove:l,removeMany:u}},Yo=()=>{const e=Xt(),t=ke(),r=Uo(),i=Y.useContext(wn),a=l=>{const u=new URL(l.path,"http://dummy-base");return l.params&&Object.entries(l.params).forEach(([h,g])=>{g!=null&&u.searchParams.set(h,String(g))}),u.pathname+u.search},s=Y.useCallback(l=>{const u=a(l);l.addToHistory!==!1?(e(u),i.addToHistory(u)):(e(u,{replace:!0}),i.popFromHistory(1),i.addToHistory(u))},[e]),c=Y.useCallback(l=>{const u=l||1;e(-u),i.popFromHistory(u)},[e]);return{currentPath:t.pathname,history:i.history,searchParams:r,goBack:c,goTo:s}},Bo=({isReady:e=!0,routes:t,children:r})=>{const i=Y.useRef([]),[a,s]=Y.useState([]),c=Y.useCallback(x=>{i.current=x,s(x)},[]),l=(x,_=!1)=>{let D=[...i.current];_&&(D=D.slice(0,D.length-1)),D=[...D,x],c(D)},u=x=>{let _="",D=[];return i.current.length===0?"/":(i.current.length<=x?(_=i.current[0],D=[_]):(D=i.current.slice(0,i.current.length-x),_=D[D.length-1]),c(D),_)},h=x=>{c(x)},g=t.map(x=>X.jsx(hn,{path:x.path,element:x.render}));return X.jsx(wn.Provider,{value:{history:a,addToHistory:l,popFromHistory:u,replaceHistory:h},children:X.jsx(Do,{children:e&&X.jsxs(X.Fragment,{children:[r,X.jsx(oo,{children:g})]})})})},Sn=Y.createContext({visibleItems:[],isItemVisible:()=>!1,showItem:()=>{},hideItem:()=>{}}),qo=({children:e})=>{const t=Y.useRef([]),[r,i]=Y.useState([]),a=Y.useCallback(u=>{t.current=u,i(u)},[]),s=Y.useCallback(u=>t.current.some(h=>h===u),[]),c=Y.useCallback(u=>{s(u)||a([...t.current,u])},[s,a]),l=Y.useCallback(u=>{s(u)&&a(t.current.filter(g=>g!==u))},[s,a]);return X.jsx(Sn.Provider,{value:{visibleItems:r,isItemVisible:s,showItem:c,hideItem:l},children:e})},et=()=>{const e=Y.useContext(Sn),t=a=>e.visibleItems.some(s=>s===a),r=a=>{e.showItem(a)},i=a=>{e.hideItem(a)};return{visibleItems:e.visibleItems,isItemVisible:t,showItem:r,hideItem:i}},Vo=({id:e,onCloseDrawer:t,drawerCloseOffset:r=15})=>{const{isItemVisible:i}=et(),[a,s]=Y.useState({isDragging:!1}),c=Y.useRef(null),l=Y.useRef(null),u=Y.useRef(null),[h,g]=Y.useState(0),x=P=>{s(P)},_=P=>{s(P),g(0)};return Qr({ref:u,onDrag:P=>{s(P);const p=l.current?.clientHeight||0;P.distanceY&&(g(P.distanceY<0?0:-P.distanceY),P.distanceY>=p-r&&(t?.(),_(P)))},onDragEnd:_,onDragStart:x}),{isVisible:i(e),drawerParentRef:c,drawerRef:l,drawerBottomDistance:h,handleRef:u}},Xo=e=>{const{children:t,backgroundStyles:r,contentStyles:i,handle:a}=e,{isVisible:s,drawerParentRef:c,drawerRef:l,handleRef:u,drawerBottomDistance:h}=Vo(e);return X.jsx(X.Fragment,{children:s&&X.jsx("div",{ref:c,style:{width:"100%",height:"100%",minHeight:"100vh",left:0,top:0,background:"#00000068",position:"fixed",zIndex:1e3,display:"flex",flexDirection:"column",touchAction:"none",...r},children:X.jsxs("div",{ref:l,style:{width:"100%",height:"fit-content",minHeight:"80px",maxHeight:"90%",background:"#ffffff",borderTopLeftRadius:"16px",borderTopRightRadius:"16px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"24px",zIndex:1001,position:"absolute",bottom:`${h}px`,...i},onClick:g=>{g.stopPropagation()},children:[X.jsx("div",{ref:u,style:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0px",height:"24px",width:"100%",cursor:"pointer",...a?.styles},children:a?.render}),t]})})})},Go=({onSubmit:e,fields:t})=>{const r=Y.useRef(null),i=Y.useCallback(c=>{const l=Array.from(c.currentTarget.elements).filter(h=>!!h.getAttribute("name")),u=[];for(const h of l){const g=h.name;u.push({name:g,value:h.value})}return u},[e]),a=Y.useCallback(c=>{c.preventDefault(),c.stopPropagation();const l=i(c);e?.(l)},[e]);return{ref:r,submitForm:c=>{r.current&&r.current.requestSubmit()},handleFormSubmission:a}},Ko=Pe.div`
|
|
127
127
|
display: flex;
|
|
128
128
|
width: 100%;
|
|
129
129
|
align-items: center;
|
|
@@ -138,7 +138,7 @@ Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}
|
|
|
138
138
|
> * {
|
|
139
139
|
pointer-events: none;
|
|
140
140
|
}
|
|
141
|
-
`,Jo=e=>{const{fields:t,styles:r,submitButton:i}=e,{ref:a,handleFormSubmission:s,submitForm:c}=Go(e),l=Y.useCallback(()=>t.list.map(u=>({...u.content,key:u.name})),[t]);return
|
|
141
|
+
`,Jo=e=>{const{fields:t,styles:r,submitButton:i}=e,{ref:a,handleFormSubmission:s,submitForm:c}=Go(e),l=Y.useCallback(()=>t.list.map(u=>({...u.content,key:u.name})),[t]);return X.jsxs("form",{ref:a,onSubmit:s,style:{width:"100%",display:"flex",flexDirection:"column",gap:"8px",flex:1,...r},children:[X.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",gap:"8px",flex:1,...t.styles},children:l()}),X.jsx(Ko,{onClick:c,styles:{...i.styles},children:i.content})]})},Zo=({src:e,alt:t="",onClick:r,styles:i})=>X.jsx("img",{src:e,alt:t,style:{overflow:"hidden",position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",objectFit:"cover",...i},onClick:()=>{r?.()}}),Qo=e=>({handleOnBlur:a=>{e.onBlur?.()},handleOnFocus:a=>{a.preventDefault(),a.stopPropagation(),e.onFocus?.()},onValueChanged:a=>{e.onChange?.(a.currentTarget.value)}}),es=Pe.div`
|
|
142
142
|
display: flex;
|
|
143
143
|
flex-direction: column;
|
|
144
144
|
font-family: inherit;
|
|
@@ -156,7 +156,7 @@ Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}
|
|
|
156
156
|
input:-webkit-autofill {
|
|
157
157
|
background-color: #00000000;
|
|
158
158
|
}
|
|
159
|
-
`,xn=e=>{const{onValueChanged:t,handleOnBlur:r,handleOnFocus:i}=Qo(e),{name:a,label:s,leftIcon:c,rightIcon:l,bottomMessage:u,placeHolder:h,autoComplete:g="off",value:x,initialValue:_,type:D="text",maxLength:P,inputStyles:p,containerStyles:I,styles:O,step:F,pattern:U,onInput:q}=e;return
|
|
159
|
+
`,xn=e=>{const{onValueChanged:t,handleOnBlur:r,handleOnFocus:i}=Qo(e),{name:a,label:s,leftIcon:c,rightIcon:l,bottomMessage:u,placeHolder:h,autoComplete:g="off",value:x,initialValue:_,type:D="text",maxLength:P,inputStyles:p,containerStyles:I,styles:O,step:F,pattern:U,onInput:q}=e;return X.jsxs(es,{style:{width:"100%",maxWidth:"357px",gap:"8px",...O},children:[s,X.jsxs("div",{style:{display:"flex",flexDirection:"row",width:"100%",height:"47px",margin:"8px auto 0 auto",border:"2px solid #000000",borderRadius:"5px",padding:"5px 15px",color:"#000000",fontFamily:"inherit",fontStyle:"normal",fontWeight:400,fontSize:"16px",lineHeight:"24px",outline:"none",alignItems:"center",gap:"10px",...I},children:[c,X.jsx("input",{name:a,type:D,autoComplete:g,step:F,maxLength:P,placeholder:h,value:x,defaultValue:_,onChange:t,onFocus:i,onBlur:r,onInput:q,pattern:U,style:{flex:1,border:"none",color:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",outline:"inherit",background:"none",...p}}),l]}),u]})},ts=({id:e,styles:t,children:r})=>{const{isItemVisible:i}=et();return X.jsx(X.Fragment,{children:i(e)&&X.jsx("div",{style:{width:"100%",minHeight:"100%",left:0,top:0,position:"fixed",zIndex:1e3,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",...t},children:r})})},rs=({id:e,children:t,backgroundStyles:r,contentStyles:i,onClickOutsideModal:a})=>{const{isItemVisible:s}=et();return X.jsx(X.Fragment,{children:s(e)&&X.jsx("div",{style:{width:"100%",height:"100%",minHeight:"100vh",background:"#00000068",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",zIndex:1e3,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",...r},onClick:()=>{a?.()},children:X.jsx("div",{style:{width:"90%",maxWidth:"375px",height:"fit-content",minHeight:"80px",maxHeight:"50%",background:"#ffffff",borderRadius:"16px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",zIndex:1001,position:"relative",padding:"24px",...i},onClick:c=>{c.stopPropagation()},children:t})})})},ns=e=>{const t=Y.useRef("");function r(l){return e.allowNegatives?(l=l.replace(/-/g,(u,h)=>h===0?"-":""),l.indexOf("-")>0&&(l=l.replace(/-/g,""),l="-"+l)):l=l.replace(/-/g,""),l}function i(l){if(e.allowDecimals){l.startsWith(".")&&(l="0"+l),l.length===2&&l[0]==="-"&&l[1]==="."&&(l="-");const u=l.indexOf(".");u!==-1&&(l=l.slice(0,u+1)+l.slice(u+1).replace(/\./g,""));const[h,...g]=l.split("."),[x,..._]=t.current.split(".");let D=g.join(""),P=_.join("");e.decimalScale!==void 0&&(D.length>e.decimalScale?D=P:D=D.slice(0,e.decimalScale)),l=D||l.endsWith(".")?`${h}.${D}`:h}else l=l.replace(/\./g,"");return l}function a(l){const u=Number(l);var h=e.max;return h===void 0&&(h=e.maxLength?Number("9".repeat(e.maxLength)):void 0),!isNaN(u)&&(e.min!==void 0&&u<e.min||h!==void 0&&u>h)?t.current??l:l}const s=l=>{const u=l.target,h=u.selectionStart??0,g=u.selectionEnd??0;let x=u.value;x=x.replace(/[^0-9\.\-]/g,""),x=r(x),x=i(x),x=a(x);const _=x.length-u.value.length;u.value=x,u.setSelectionRange(h+_,g+_),t.current=x};return{props:Y.useCallback(()=>({...e,type:"text",pattern:"^-?[0-9]*.?[0-9]*$",onInput:s}),[])()}},is=({allowNegatives:e=!0,allowDecimals:t=!0,decimalScale:r=2,...i})=>{const{props:a}=ns({allowNegatives:e,allowDecimals:t,decimalScale:r,...i});return X.jsx(xn,{type:"text",...a})},as=e=>{const t=Y.useRef(null),r=Y.useRef(null),[i,a]=Y.useState(24),[s,c]=Y.useState(24),l=Y.useCallback(()=>{t.current&&a(t.current.clientHeight)},[t,t.current]),u=Y.useCallback(()=>{r.current&&c(r.current.clientHeight)},[r,r.current]),h=Y.useCallback(()=>{let g=0;return e.header?.visibility==="always"&&(g=g+(i||0)),e.footer?.visibility==="always"&&(g=g+(s||0)),g},[r,r.current]);return Y.useEffect(()=>{l()},[l,t,t.current]),Y.useEffect(()=>{u()},[u,r,r.current]),{header:{...e.header,visible:e.header!==void 0,height:e.header?.visibility==="fixed"?0:i,ref:t},footer:{...e.footer,visible:e.footer!==void 0,height:e.footer?.visibility==="fixed"?0:s,ref:r},page:{extraHeight:h()}}},os=Pe.div`
|
|
160
160
|
min-height: 100%;
|
|
161
161
|
max-height: 100%;
|
|
162
162
|
width: 100%;
|
|
@@ -176,7 +176,7 @@ Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}
|
|
|
176
176
|
box-sizing: border-box;
|
|
177
177
|
position: relative;
|
|
178
178
|
}
|
|
179
|
-
`,ss=e=>{const{containerStyles:t,pageStyles:r,children:i,allowScroll:a=!0,floatingContent:s,reserveSpaceForScrollbar:c}=e,{footer:l,header:u}=as(e);return G.jsxs(os,{id:"page-container",styles:{...t},children:[u.visible&&G.jsx("div",{ref:u.ref,id:"page-header",style:{width:"100%",zIndex:99,position:u.visibility==="fixed"?"relative":"sticky",top:0,left:0,right:0,display:"flex",flexDirection:"row",height:"fit-content",boxSizing:"border-box",...u.styles},children:u.content}),G.jsx("div",{id:"page-body",style:{width:"100%",overflow:"hidden",display:"flex",flex:1,marginTop:`-${u.height}px`,marginBottom:`-${l.height}px`},children:G.jsx("div",{id:"page-content",style:{width:"100%",overflowX:"hidden",overflowY:a?"auto":"hidden",display:"flex",flexDirection:"column",flex:1,minHeight:"100%",scrollbarGutter:c?"stable":void 0,paddingLeft:"0px",paddingRight:"0px",paddingTop:`${u.height}px`,paddingBottom:`${l.height}px`,...r},children:i})}),l.visible&&G.jsx("div",{ref:l.ref,id:"page-footer",style:{width:"100%",zIndex:99,position:l.visibility==="fixed"?"relative":"sticky",bottom:0,left:0,right:0,display:"flex",flexDirection:"row",height:"fit-content",boxSizing:"border-box",...l.styles},children:l.content})]})};class Qt{static getField=(t,r)=>{const i=t.find(a=>a.name===r);if(!(!i||!i.value))return i.value};static getFieldOrDefault=(t,r,i)=>{const a=Qt.getField(t,r);return a===void 0?i:a}}class On{static clamp=(t,r,i)=>t>i?i:t<r?r:t}class ls{static isScrollEnabled=()=>document.body.style.overflow==="unset"||document.body.style.overflow==="auto";static disableScroll=()=>{document.body.style.overflow="hidden"};static enableScroll=()=>{document.body.style.overflow="unset"}}class us{static getPascalCase=t=>t.replace(/\w+/g,function(r){return r[0].toUpperCase()+r.slice(1).toLowerCase()});static isEqual=(t,r,i=!0)=>i?t===r:t.toUpperCase()===r.toUpperCase()}var ft={exports:{}},cs=ft.exports,Lr;function fs(){return Lr||(Lr=1,function(e,t){(function(r,i){e.exports=i()})(cs,function(){var r=1e3,i=6e4,a=36e5,s="millisecond",c="second",l="minute",u="hour",h="day",g="week",x="month",_="quarter",D="year",P="date",p="Invalid Date",I=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,O=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,F={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(T){var C=["th","st","nd","rd"],j=T%100;return"["+T+(C[(j-20)%10]||C[j]||C[0])+"]"}},U=function(T,C,j){var o=String(T);return!o||o.length>=C?T:""+Array(C+1-o.length).join(j)+T},q={s:U,z:function(T){var C=-T.utcOffset(),j=Math.abs(C),o=Math.floor(j/60),H=j%60;return(C<=0?"+":"-")+U(o,2,"0")+":"+U(H,2,"0")},m:function T(C,j){if(C.date()<j.date())return-T(j,C);var o=12*(j.year()-C.year())+(j.month()-C.month()),H=C.clone().add(o,x),m=j-H<0,n=C.clone().add(o+(m?-1:1),x);return+(-(o+(j-H)/(m?H-n:n-H))||0)},a:function(T){return T<0?Math.ceil(T)||0:Math.floor(T)},p:function(T){return{M:x,y:D,w:g,d:h,D:P,h:u,m:l,s:c,ms:s,Q:_}[T]||String(T||"").toLowerCase().replace(/s$/,"")},u:function(T){return T===void 0}},v="en",b={};b[v]=F;var w="$isDayjsObject",E=function(T){return T instanceof A||!(!T||!T[w])},y=function T(C,j,o){var H;if(!C)return v;if(typeof C=="string"){var m=C.toLowerCase();b[m]&&(H=m),j&&(b[m]=j,H=m);var n=C.split("-");if(!H&&n.length>1)return T(n[0])}else{var f=C.name;b[f]=C,H=f}return!o&&H&&(v=H),H||!o&&v},d=function(T,C){if(E(T))return T.clone();var j=typeof C=="object"?C:{};return j.date=T,j.args=arguments,new A(j)},k=q;k.l=y,k.i=E,k.w=function(T,C){return d(T,{locale:C.$L,utc:C.$u,x:C.$x,$offset:C.$offset})};var A=function(){function T(j){this.$L=y(j.locale,null,!0),this.parse(j),this.$x=this.$x||j.x||{},this[w]=!0}var C=T.prototype;return C.parse=function(j){this.$d=function(o){var H=o.date,m=o.utc;if(H===null)return new Date(NaN);if(k.u(H))return new Date;if(H instanceof Date)return new Date(H);if(typeof H=="string"&&!/Z$/i.test(H)){var n=H.match(I);if(n){var f=n[2]-1||0,S=(n[7]||"0").substring(0,3);return m?new Date(Date.UTC(n[1],f,n[3]||1,n[4]||0,n[5]||0,n[6]||0,S)):new Date(n[1],f,n[3]||1,n[4]||0,n[5]||0,n[6]||0,S)}}return new Date(H)}(j),this.init()},C.init=function(){var j=this.$d;this.$y=j.getFullYear(),this.$M=j.getMonth(),this.$D=j.getDate(),this.$W=j.getDay(),this.$H=j.getHours(),this.$m=j.getMinutes(),this.$s=j.getSeconds(),this.$ms=j.getMilliseconds()},C.$utils=function(){return k},C.isValid=function(){return this.$d.toString()!==p},C.isSame=function(j,o){var H=d(j);return this.startOf(o)<=H&&H<=this.endOf(o)},C.isAfter=function(j,o){return d(j)<this.startOf(o)},C.isBefore=function(j,o){return this.endOf(o)<d(j)},C.$g=function(j,o,H){return k.u(j)?this[o]:this.set(H,j)},C.unix=function(){return Math.floor(this.valueOf()/1e3)},C.valueOf=function(){return this.$d.getTime()},C.startOf=function(j,o){var H=this,m=!!k.u(o)||o,n=k.p(j),f=function(K,X){var J=k.w(H.$u?Date.UTC(H.$y,X,K):new Date(H.$y,X,K),H);return m?J:J.endOf(h)},S=function(K,X){return k.w(H.toDate()[K].apply(H.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(X)),H)},$=this.$W,L=this.$M,z=this.$D,N="set"+(this.$u?"UTC":"");switch(n){case D:return m?f(1,0):f(31,11);case x:return m?f(1,L):f(0,L+1);case g:var W=this.$locale().weekStart||0,V=($<W?$+7:$)-W;return f(m?z-V:z+(6-V),L);case h:case P:return S(N+"Hours",0);case u:return S(N+"Minutes",1);case l:return S(N+"Seconds",2);case c:return S(N+"Milliseconds",3);default:return this.clone()}},C.endOf=function(j){return this.startOf(j,!1)},C.$set=function(j,o){var H,m=k.p(j),n="set"+(this.$u?"UTC":""),f=(H={},H[h]=n+"Date",H[P]=n+"Date",H[x]=n+"Month",H[D]=n+"FullYear",H[u]=n+"Hours",H[l]=n+"Minutes",H[c]=n+"Seconds",H[s]=n+"Milliseconds",H)[m],S=m===h?this.$D+(o-this.$W):o;if(m===x||m===D){var $=this.clone().set(P,1);$.$d[f](S),$.init(),this.$d=$.set(P,Math.min(this.$D,$.daysInMonth())).$d}else f&&this.$d[f](S);return this.init(),this},C.set=function(j,o){return this.clone().$set(j,o)},C.get=function(j){return this[k.p(j)]()},C.add=function(j,o){var H,m=this;j=Number(j);var n=k.p(o),f=function(L){var z=d(m);return k.w(z.date(z.date()+Math.round(L*j)),m)};if(n===x)return this.set(x,this.$M+j);if(n===D)return this.set(D,this.$y+j);if(n===h)return f(1);if(n===g)return f(7);var S=(H={},H[l]=i,H[u]=a,H[c]=r,H)[n]||1,$=this.$d.getTime()+j*S;return k.w($,this)},C.subtract=function(j,o){return this.add(-1*j,o)},C.format=function(j){var o=this,H=this.$locale();if(!this.isValid())return H.invalidDate||p;var m=j||"YYYY-MM-DDTHH:mm:ssZ",n=k.z(this),f=this.$H,S=this.$m,$=this.$M,L=H.weekdays,z=H.months,N=H.meridiem,W=function(X,J,te,Z){return X&&(X[J]||X(o,m))||te[J].slice(0,Z)},V=function(X){return k.s(f%12||12,X,"0")},K=N||function(X,J,te){var Z=X<12?"AM":"PM";return te?Z.toLowerCase():Z};return m.replace(O,function(X,J){return J||function(te){switch(te){case"YY":return String(o.$y).slice(-2);case"YYYY":return k.s(o.$y,4,"0");case"M":return $+1;case"MM":return k.s($+1,2,"0");case"MMM":return W(H.monthsShort,$,z,3);case"MMMM":return W(z,$);case"D":return o.$D;case"DD":return k.s(o.$D,2,"0");case"d":return String(o.$W);case"dd":return W(H.weekdaysMin,o.$W,L,2);case"ddd":return W(H.weekdaysShort,o.$W,L,3);case"dddd":return L[o.$W];case"H":return String(f);case"HH":return k.s(f,2,"0");case"h":return V(1);case"hh":return V(2);case"a":return K(f,S,!0);case"A":return K(f,S,!1);case"m":return String(S);case"mm":return k.s(S,2,"0");case"s":return String(o.$s);case"ss":return k.s(o.$s,2,"0");case"SSS":return k.s(o.$ms,3,"0");case"Z":return n}return null}(X)||n.replace(":","")})},C.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},C.diff=function(j,o,H){var m,n=this,f=k.p(o),S=d(j),$=(S.utcOffset()-this.utcOffset())*i,L=this-S,z=function(){return k.m(n,S)};switch(f){case D:m=z()/12;break;case x:m=z();break;case _:m=z()/3;break;case g:m=(L-$)/6048e5;break;case h:m=(L-$)/864e5;break;case u:m=L/a;break;case l:m=L/i;break;case c:m=L/r;break;default:m=L}return H?m:k.a(m)},C.daysInMonth=function(){return this.endOf(x).$D},C.$locale=function(){return b[this.$L]},C.locale=function(j,o){if(!j)return this.$L;var H=this.clone(),m=y(j,o,!0);return m&&(H.$L=m),H},C.clone=function(){return k.w(this.$d,this)},C.toDate=function(){return new Date(this.valueOf())},C.toJSON=function(){return this.isValid()?this.toISOString():null},C.toISOString=function(){return this.$d.toISOString()},C.toString=function(){return this.$d.toUTCString()},T}(),R=A.prototype;return d.prototype=R,[["$ms",s],["$s",c],["$m",l],["$H",u],["$W",h],["$M",x],["$y",D],["$D",P]].forEach(function(T){R[T[1]]=function(C){return this.$g(C,T[0],T[1])}}),d.extend=function(T,C){return T.$i||(T(C,A,d),T.$i=!0),d},d.locale=y,d.isDayjs=E,d.unix=function(T){return d(1e3*T)},d.en=b[v],d.Ls=b,d.p={},d})}(ft)),ft.exports}var ds=fs();const dt=Ut(ds);var ht={exports:{}},hs=ht.exports,Mr;function ps(){return Mr||(Mr=1,function(e,t){(function(r,i){e.exports=i()})(hs,function(){var r="minute",i=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(s,c,l){var u=c.prototype;l.utc=function(p){var I={date:p,utc:!0,args:arguments};return new c(I)},u.utc=function(p){var I=l(this.toDate(),{locale:this.$L,utc:!0});return p?I.add(this.utcOffset(),r):I},u.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var h=u.parse;u.parse=function(p){p.utc&&(this.$u=!0),this.$utils().u(p.$offset)||(this.$offset=p.$offset),h.call(this,p)};var g=u.init;u.init=function(){if(this.$u){var p=this.$d;this.$y=p.getUTCFullYear(),this.$M=p.getUTCMonth(),this.$D=p.getUTCDate(),this.$W=p.getUTCDay(),this.$H=p.getUTCHours(),this.$m=p.getUTCMinutes(),this.$s=p.getUTCSeconds(),this.$ms=p.getUTCMilliseconds()}else g.call(this)};var x=u.utcOffset;u.utcOffset=function(p,I){var O=this.$utils().u;if(O(p))return this.$u?0:O(this.$offset)?x.call(this):this.$offset;if(typeof p=="string"&&(p=function(v){v===void 0&&(v="");var b=v.match(i);if(!b)return null;var w=(""+b[0]).match(a)||["-",0,0],E=w[0],y=60*+w[1]+ +w[2];return y===0?0:E==="+"?y:-y}(p),p===null))return this;var F=Math.abs(p)<=16?60*p:p;if(F===0)return this.utc(I);var U=this.clone();if(I)return U.$offset=F,U.$u=!1,U;var q=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(U=this.local().add(F+q,r)).$offset=F,U.$x.$localOffset=q,U};var _=u.format;u.format=function(p){var I=p||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return _.call(this,I)},u.valueOf=function(){var p=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*p},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var D=u.toDate;u.toDate=function(p){return p==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():D.call(this)};var P=u.diff;u.diff=function(p,I,O){if(p&&this.$u===p.$u)return P.call(this,p,I,O);var F=this.local(),U=l(p).local();return P.call(F,U,I,O)}}})}(ht)),ht.exports}var ms=ps();const vs=Ut(ms);dt.extend(vs);class gs{static waitForMilliseconds=t=>new Promise(r=>setTimeout(r,t));static waitForCondition=t=>new Promise(r=>{const i=()=>{t()?r():setTimeout(i,100)};i()});static waitForAsyncCondition=t=>new Promise(r=>{const i=async()=>{await t()?r():setTimeout(i,100)};i()});static differenceInMonths=(t,r)=>{let i=0;return i=(r.getFullYear()-t.getFullYear())*12,i-=t.getMonth(),i+=r.getMonth(),i};static isDateOneAfterDateTwo=(t,r)=>t.getFullYear()>=r.getFullYear()&&t.getMonth()>=r.getMonth()?t.getDay()>r.getDay():!1;static isSameDate=(t,r)=>t?.getFullYear()===r?.getFullYear()&&t?.getMonth()===r?.getMonth()&&t?.getDate()===r?.getDate();static getDateInUTC=t=>{try{const r=dt.utc(t),i=r.date(),a=r.month(),s=r.year(),c=r.hour(),l=r.minute(),u=r.day();return{day:i,month:a,year:s,hour:c,minute:l,weekday:u}}catch{return}};static formatDateLocalTime=(t,r)=>t?dt.utc(t).local().format(r||"DD/MM/YYYYㆍHH:mm"):"";static formatDateUTC=(t,r)=>t?dt.utc(t).format(r||"DD/MM/YYYYㆍHH:mm"):""}const ys=({percentage:e,min:t=0,max:r=100,styles:i,barStyles:a})=>{const s=On.clamp(e,t,r);return G.jsx("div",{style:{width:"90%",height:"30px",border:"1px solid #000000",borderRadius:"3px",background:"#ffffff",...i},children:G.jsx("div",{style:{width:`${s}%`,height:"100%",background:"#f58b00ff",...a}})})},bs=({checked:e,onClick:t,styles:r,checkedStyles:i,customCheckedRender:a,customUncheckedRender:s})=>{const c=e?{...r,...i}:{...r};return G.jsxs("div",{onClick:l=>{l.preventDefault(),l.stopPropagation(),t?.()},style:{width:"25px",height:"25px",borderRadius:"50%",border:e?"2px solid #000000":"2px solid #969696ff",background:e?"#000000":"#ffffff",overflow:"hidden",objectFit:"contain",alignItems:"center",justifyContent:"center",display:"flex",...c},children:[e&&G.jsxs(G.Fragment,{children:[!a&&G.jsx("div",{style:{borderRadius:"50%",aspectRatio:"1/1",width:"40%",background:"#ffffff"}}),a]}),!e&&s]})},ws=({src:e,width:t="22",height:r="28",stroke:i,viewBox:a="0 0 22 28",fill:s="#000000",alt:c="",onClick:l,styles:u})=>G.jsx("div",{style:{width:"fit-content",height:"fit-content",display:"flex",alignItems:"center",justifyContent:"center",...u},onClick:()=>l?.(),children:G.jsx("svg",{width:t,height:r,viewBox:a,fill:s,stroke:i,xmlns:"http://www.w3.org/2000/svg",style:{display:"flex"},children:e})}),Ss=Pe.div`
|
|
179
|
+
`,ss=e=>{const{containerStyles:t,pageStyles:r,children:i,allowScroll:a=!0,floatingContent:s,reserveSpaceForScrollbar:c}=e,{footer:l,header:u}=as(e);return X.jsxs(os,{id:"page-container",styles:{...t},children:[u.visible&&X.jsx("div",{ref:u.ref,id:"page-header",style:{width:"100%",zIndex:99,position:u.visibility==="fixed"?"relative":"sticky",top:0,left:0,right:0,display:"flex",flexDirection:"row",height:"fit-content",boxSizing:"border-box",...u.styles},children:u.content}),X.jsx("div",{id:"page-body",style:{width:"100%",overflow:"hidden",display:"flex",flex:1,marginTop:`-${u.height}px`,marginBottom:`-${l.height}px`},children:X.jsx("div",{id:"page-content",style:{width:"100%",overflowX:"hidden",overflowY:a?"auto":"hidden",display:"flex",flexDirection:"column",flex:1,minHeight:"100%",scrollbarGutter:c?"stable":void 0,paddingLeft:"0px",paddingRight:"0px",paddingTop:`${u.height}px`,paddingBottom:`${l.height}px`,...r},children:i})}),l.visible&&X.jsx("div",{ref:l.ref,id:"page-footer",style:{width:"100%",zIndex:99,position:l.visibility==="fixed"?"relative":"sticky",bottom:0,left:0,right:0,display:"flex",flexDirection:"row",height:"fit-content",boxSizing:"border-box",...l.styles},children:l.content})]})};class Qt{static getField=(t,r)=>{const i=t.find(a=>a.name===r);if(!(!i||!i.value))return i.value};static getFieldOrDefault=(t,r,i)=>{const a=Qt.getField(t,r);return a===void 0?i:a}}class On{static clamp=(t,r,i)=>t>i?i:t<r?r:t}class ls{static isScrollEnabled=()=>document.body.style.overflow==="unset"||document.body.style.overflow==="auto";static disableScroll=()=>{document.body.style.overflow="hidden"};static enableScroll=()=>{document.body.style.overflow="unset"}}class us{static getPascalCase=t=>t.replace(/\w+/g,function(r){return r[0].toUpperCase()+r.slice(1).toLowerCase()});static isEqual=(t,r,i=!0)=>i?t===r:t.toUpperCase()===r.toUpperCase()}var ft={exports:{}},cs=ft.exports,Lr;function fs(){return Lr||(Lr=1,function(e,t){(function(r,i){e.exports=i()})(cs,function(){var r=1e3,i=6e4,a=36e5,s="millisecond",c="second",l="minute",u="hour",h="day",g="week",x="month",_="quarter",D="year",P="date",p="Invalid Date",I=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,O=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,F={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(T){var C=["th","st","nd","rd"],j=T%100;return"["+T+(C[(j-20)%10]||C[j]||C[0])+"]"}},U=function(T,C,j){var o=String(T);return!o||o.length>=C?T:""+Array(C+1-o.length).join(j)+T},q={s:U,z:function(T){var C=-T.utcOffset(),j=Math.abs(C),o=Math.floor(j/60),H=j%60;return(C<=0?"+":"-")+U(o,2,"0")+":"+U(H,2,"0")},m:function T(C,j){if(C.date()<j.date())return-T(j,C);var o=12*(j.year()-C.year())+(j.month()-C.month()),H=C.clone().add(o,x),m=j-H<0,n=C.clone().add(o+(m?-1:1),x);return+(-(o+(j-H)/(m?H-n:n-H))||0)},a:function(T){return T<0?Math.ceil(T)||0:Math.floor(T)},p:function(T){return{M:x,y:D,w:g,d:h,D:P,h:u,m:l,s:c,ms:s,Q:_}[T]||String(T||"").toLowerCase().replace(/s$/,"")},u:function(T){return T===void 0}},v="en",b={};b[v]=F;var w="$isDayjsObject",E=function(T){return T instanceof A||!(!T||!T[w])},y=function T(C,j,o){var H;if(!C)return v;if(typeof C=="string"){var m=C.toLowerCase();b[m]&&(H=m),j&&(b[m]=j,H=m);var n=C.split("-");if(!H&&n.length>1)return T(n[0])}else{var f=C.name;b[f]=C,H=f}return!o&&H&&(v=H),H||!o&&v},d=function(T,C){if(E(T))return T.clone();var j=typeof C=="object"?C:{};return j.date=T,j.args=arguments,new A(j)},k=q;k.l=y,k.i=E,k.w=function(T,C){return d(T,{locale:C.$L,utc:C.$u,x:C.$x,$offset:C.$offset})};var A=function(){function T(j){this.$L=y(j.locale,null,!0),this.parse(j),this.$x=this.$x||j.x||{},this[w]=!0}var C=T.prototype;return C.parse=function(j){this.$d=function(o){var H=o.date,m=o.utc;if(H===null)return new Date(NaN);if(k.u(H))return new Date;if(H instanceof Date)return new Date(H);if(typeof H=="string"&&!/Z$/i.test(H)){var n=H.match(I);if(n){var f=n[2]-1||0,S=(n[7]||"0").substring(0,3);return m?new Date(Date.UTC(n[1],f,n[3]||1,n[4]||0,n[5]||0,n[6]||0,S)):new Date(n[1],f,n[3]||1,n[4]||0,n[5]||0,n[6]||0,S)}}return new Date(H)}(j),this.init()},C.init=function(){var j=this.$d;this.$y=j.getFullYear(),this.$M=j.getMonth(),this.$D=j.getDate(),this.$W=j.getDay(),this.$H=j.getHours(),this.$m=j.getMinutes(),this.$s=j.getSeconds(),this.$ms=j.getMilliseconds()},C.$utils=function(){return k},C.isValid=function(){return this.$d.toString()!==p},C.isSame=function(j,o){var H=d(j);return this.startOf(o)<=H&&H<=this.endOf(o)},C.isAfter=function(j,o){return d(j)<this.startOf(o)},C.isBefore=function(j,o){return this.endOf(o)<d(j)},C.$g=function(j,o,H){return k.u(j)?this[o]:this.set(H,j)},C.unix=function(){return Math.floor(this.valueOf()/1e3)},C.valueOf=function(){return this.$d.getTime()},C.startOf=function(j,o){var H=this,m=!!k.u(o)||o,n=k.p(j),f=function(K,G){var J=k.w(H.$u?Date.UTC(H.$y,G,K):new Date(H.$y,G,K),H);return m?J:J.endOf(h)},S=function(K,G){return k.w(H.toDate()[K].apply(H.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(G)),H)},$=this.$W,L=this.$M,z=this.$D,N="set"+(this.$u?"UTC":"");switch(n){case D:return m?f(1,0):f(31,11);case x:return m?f(1,L):f(0,L+1);case g:var W=this.$locale().weekStart||0,V=($<W?$+7:$)-W;return f(m?z-V:z+(6-V),L);case h:case P:return S(N+"Hours",0);case u:return S(N+"Minutes",1);case l:return S(N+"Seconds",2);case c:return S(N+"Milliseconds",3);default:return this.clone()}},C.endOf=function(j){return this.startOf(j,!1)},C.$set=function(j,o){var H,m=k.p(j),n="set"+(this.$u?"UTC":""),f=(H={},H[h]=n+"Date",H[P]=n+"Date",H[x]=n+"Month",H[D]=n+"FullYear",H[u]=n+"Hours",H[l]=n+"Minutes",H[c]=n+"Seconds",H[s]=n+"Milliseconds",H)[m],S=m===h?this.$D+(o-this.$W):o;if(m===x||m===D){var $=this.clone().set(P,1);$.$d[f](S),$.init(),this.$d=$.set(P,Math.min(this.$D,$.daysInMonth())).$d}else f&&this.$d[f](S);return this.init(),this},C.set=function(j,o){return this.clone().$set(j,o)},C.get=function(j){return this[k.p(j)]()},C.add=function(j,o){var H,m=this;j=Number(j);var n=k.p(o),f=function(L){var z=d(m);return k.w(z.date(z.date()+Math.round(L*j)),m)};if(n===x)return this.set(x,this.$M+j);if(n===D)return this.set(D,this.$y+j);if(n===h)return f(1);if(n===g)return f(7);var S=(H={},H[l]=i,H[u]=a,H[c]=r,H)[n]||1,$=this.$d.getTime()+j*S;return k.w($,this)},C.subtract=function(j,o){return this.add(-1*j,o)},C.format=function(j){var o=this,H=this.$locale();if(!this.isValid())return H.invalidDate||p;var m=j||"YYYY-MM-DDTHH:mm:ssZ",n=k.z(this),f=this.$H,S=this.$m,$=this.$M,L=H.weekdays,z=H.months,N=H.meridiem,W=function(G,J,te,Z){return G&&(G[J]||G(o,m))||te[J].slice(0,Z)},V=function(G){return k.s(f%12||12,G,"0")},K=N||function(G,J,te){var Z=G<12?"AM":"PM";return te?Z.toLowerCase():Z};return m.replace(O,function(G,J){return J||function(te){switch(te){case"YY":return String(o.$y).slice(-2);case"YYYY":return k.s(o.$y,4,"0");case"M":return $+1;case"MM":return k.s($+1,2,"0");case"MMM":return W(H.monthsShort,$,z,3);case"MMMM":return W(z,$);case"D":return o.$D;case"DD":return k.s(o.$D,2,"0");case"d":return String(o.$W);case"dd":return W(H.weekdaysMin,o.$W,L,2);case"ddd":return W(H.weekdaysShort,o.$W,L,3);case"dddd":return L[o.$W];case"H":return String(f);case"HH":return k.s(f,2,"0");case"h":return V(1);case"hh":return V(2);case"a":return K(f,S,!0);case"A":return K(f,S,!1);case"m":return String(S);case"mm":return k.s(S,2,"0");case"s":return String(o.$s);case"ss":return k.s(o.$s,2,"0");case"SSS":return k.s(o.$ms,3,"0");case"Z":return n}return null}(G)||n.replace(":","")})},C.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},C.diff=function(j,o,H){var m,n=this,f=k.p(o),S=d(j),$=(S.utcOffset()-this.utcOffset())*i,L=this-S,z=function(){return k.m(n,S)};switch(f){case D:m=z()/12;break;case x:m=z();break;case _:m=z()/3;break;case g:m=(L-$)/6048e5;break;case h:m=(L-$)/864e5;break;case u:m=L/a;break;case l:m=L/i;break;case c:m=L/r;break;default:m=L}return H?m:k.a(m)},C.daysInMonth=function(){return this.endOf(x).$D},C.$locale=function(){return b[this.$L]},C.locale=function(j,o){if(!j)return this.$L;var H=this.clone(),m=y(j,o,!0);return m&&(H.$L=m),H},C.clone=function(){return k.w(this.$d,this)},C.toDate=function(){return new Date(this.valueOf())},C.toJSON=function(){return this.isValid()?this.toISOString():null},C.toISOString=function(){return this.$d.toISOString()},C.toString=function(){return this.$d.toUTCString()},T}(),R=A.prototype;return d.prototype=R,[["$ms",s],["$s",c],["$m",l],["$H",u],["$W",h],["$M",x],["$y",D],["$D",P]].forEach(function(T){R[T[1]]=function(C){return this.$g(C,T[0],T[1])}}),d.extend=function(T,C){return T.$i||(T(C,A,d),T.$i=!0),d},d.locale=y,d.isDayjs=E,d.unix=function(T){return d(1e3*T)},d.en=b[v],d.Ls=b,d.p={},d})}(ft)),ft.exports}var ds=fs();const dt=Ut(ds);var ht={exports:{}},hs=ht.exports,Mr;function ps(){return Mr||(Mr=1,function(e,t){(function(r,i){e.exports=i()})(hs,function(){var r="minute",i=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(s,c,l){var u=c.prototype;l.utc=function(p){var I={date:p,utc:!0,args:arguments};return new c(I)},u.utc=function(p){var I=l(this.toDate(),{locale:this.$L,utc:!0});return p?I.add(this.utcOffset(),r):I},u.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var h=u.parse;u.parse=function(p){p.utc&&(this.$u=!0),this.$utils().u(p.$offset)||(this.$offset=p.$offset),h.call(this,p)};var g=u.init;u.init=function(){if(this.$u){var p=this.$d;this.$y=p.getUTCFullYear(),this.$M=p.getUTCMonth(),this.$D=p.getUTCDate(),this.$W=p.getUTCDay(),this.$H=p.getUTCHours(),this.$m=p.getUTCMinutes(),this.$s=p.getUTCSeconds(),this.$ms=p.getUTCMilliseconds()}else g.call(this)};var x=u.utcOffset;u.utcOffset=function(p,I){var O=this.$utils().u;if(O(p))return this.$u?0:O(this.$offset)?x.call(this):this.$offset;if(typeof p=="string"&&(p=function(v){v===void 0&&(v="");var b=v.match(i);if(!b)return null;var w=(""+b[0]).match(a)||["-",0,0],E=w[0],y=60*+w[1]+ +w[2];return y===0?0:E==="+"?y:-y}(p),p===null))return this;var F=Math.abs(p)<=16?60*p:p;if(F===0)return this.utc(I);var U=this.clone();if(I)return U.$offset=F,U.$u=!1,U;var q=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(U=this.local().add(F+q,r)).$offset=F,U.$x.$localOffset=q,U};var _=u.format;u.format=function(p){var I=p||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return _.call(this,I)},u.valueOf=function(){var p=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*p},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var D=u.toDate;u.toDate=function(p){return p==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():D.call(this)};var P=u.diff;u.diff=function(p,I,O){if(p&&this.$u===p.$u)return P.call(this,p,I,O);var F=this.local(),U=l(p).local();return P.call(F,U,I,O)}}})}(ht)),ht.exports}var ms=ps();const vs=Ut(ms);dt.extend(vs);class gs{static waitForMilliseconds=t=>new Promise(r=>setTimeout(r,t));static waitForCondition=t=>new Promise(r=>{const i=()=>{t()?r():setTimeout(i,100)};i()});static waitForAsyncCondition=t=>new Promise(r=>{const i=async()=>{await t()?r():setTimeout(i,100)};i()});static differenceInMonths=(t,r)=>{let i=0;return i=(r.getFullYear()-t.getFullYear())*12,i-=t.getMonth(),i+=r.getMonth(),i};static isDateOneAfterDateTwo=(t,r)=>t.getFullYear()>=r.getFullYear()&&t.getMonth()>=r.getMonth()?t.getDay()>r.getDay():!1;static isSameDate=(t,r)=>t?.getFullYear()===r?.getFullYear()&&t?.getMonth()===r?.getMonth()&&t?.getDate()===r?.getDate();static getDateInUTC=t=>{try{const r=dt.utc(t),i=r.date(),a=r.month(),s=r.year(),c=r.hour(),l=r.minute(),u=r.day();return{day:i,month:a,year:s,hour:c,minute:l,weekday:u}}catch{return}};static formatDateLocalTime=(t,r)=>t?dt.utc(t).local().format(r||"DD/MM/YYYYㆍHH:mm"):"";static formatDateUTC=(t,r)=>t?dt.utc(t).format(r||"DD/MM/YYYYㆍHH:mm"):""}const ys=({percentage:e,min:t=0,max:r=100,styles:i,barStyles:a})=>{const s=On.clamp(e,t,r);return X.jsx("div",{style:{width:"90%",height:"30px",border:"1px solid #000000",borderRadius:"3px",background:"#ffffff",...i},children:X.jsx("div",{style:{width:`${s}%`,height:"100%",background:"#f58b00ff",...a}})})},bs=({checked:e,onClick:t,styles:r,checkedStyles:i,customCheckedRender:a,customUncheckedRender:s})=>{const c=e?{...r,...i}:{...r};return X.jsxs("div",{onClick:l=>{l.preventDefault(),l.stopPropagation(),t?.()},style:{width:"25px",height:"25px",borderRadius:"50%",border:e?"2px solid #000000":"2px solid #969696ff",background:e?"#000000":"#ffffff",overflow:"hidden",objectFit:"contain",alignItems:"center",justifyContent:"center",display:"flex",...c},children:[e&&X.jsxs(X.Fragment,{children:[!a&&X.jsx("div",{style:{borderRadius:"50%",aspectRatio:"1/1",width:"40%",background:"#ffffff"}}),a]}),!e&&s]})},ws=({src:e,width:t="22",height:r="28",stroke:i,viewBox:a="0 0 22 28",fill:s="#000000",alt:c="",onClick:l,styles:u})=>X.jsx("div",{style:{width:"fit-content",height:"fit-content",display:"flex",alignItems:"center",justifyContent:"center",...u},onClick:()=>l?.(),children:X.jsx("svg",{width:t,height:r,viewBox:a,fill:s,stroke:i,xmlns:"http://www.w3.org/2000/svg",style:{display:"flex"},children:e})}),Ss=Pe.div`
|
|
180
180
|
display: flex;
|
|
181
181
|
flex-direction: column;
|
|
182
182
|
font-family: inherit;
|
|
@@ -198,4 +198,4 @@ Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}
|
|
|
198
198
|
textarea::-webkit-scrollbar-thumb:hover {
|
|
199
199
|
background: #555; /* hover */
|
|
200
200
|
}
|
|
201
|
-
`,xs=({name:e,label:t,leftIcon:r,rightIcon:i,bottomMessage:a,placeHolder:s,value:c,initialValue:l,onChange:u,onFocus:h,onBlur:g,inputStyles:x,containerStyles:_,styles:D})=>{const P=O=>{u?.(O.currentTarget.value)},p=O=>{O.preventDefault(),O.stopPropagation(),h?.()},I=O=>{g?.()};return
|
|
201
|
+
`,xs=({name:e,label:t,leftIcon:r,rightIcon:i,bottomMessage:a,placeHolder:s,value:c,initialValue:l,onChange:u,onFocus:h,onBlur:g,inputStyles:x,containerStyles:_,styles:D})=>{const P=O=>{u?.(O.currentTarget.value)},p=O=>{O.preventDefault(),O.stopPropagation(),h?.()},I=O=>{g?.()};return X.jsxs(Ss,{style:{width:"100%",maxWidth:"357px",gap:"8px",...D},children:[t,X.jsxs("div",{style:{display:"flex",flexDirection:"row",width:"100%",margin:"8px auto 0 auto",border:"2px solid #000000",borderRadius:"5px",color:"#000000",fontFamily:"inherit",fontStyle:"normal",fontWeight:400,outline:"none",alignItems:"flex-start",gap:"10px",..._},children:[r,X.jsx("textarea",{name:e,style:{resize:"none",flex:1,border:"none",color:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",outline:"inherit",background:"none",minHeight:"47px",...x},placeholder:s,value:c,defaultValue:l,onChange:P,onFocus:p,onBlur:I}),i]}),a]})},Os=({id:e,children:t,styles:r,durationInSeconds:i=3})=>{const a=Y.useRef(!1),{isItemVisible:s,hideItem:c}=et();return Y.useEffect(()=>{const l=s(e);a.current!==l&&(a.current=l,l&&setTimeout(()=>c(e),i*1e3))},[a,s,c]),X.jsx(X.Fragment,{children:s(e)&&X.jsx("div",{style:{width:"100px",height:"40px",background:"#534a4aff",color:"#ffffff",position:"fixed",top:"10px",left:"50%",transform:"translateX(-50%)",zIndex:1e3,borderRadius:"20px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",border:"solid 3px #000000ff",...r},onClick:l=>{l.stopPropagation(),l.preventDefault()},children:t})})},ks=({overflowEllipsis:e,maxNumberOfLines:t,children:r,styles:i})=>X.jsx("p",{style:{fontFamily:"inherit",maxWidth:"100%",overflow:"hidden",display:"-webkit-box",WebkitLineClamp:t||void 0,WebkitBoxOrient:"vertical",whiteSpace:"unset",textOverflow:e?"ellipsis":void 0,fontSize:"16px",fontStyle:"normal",lineHeight:"normal",color:"inherit",...i},children:r});exports.Button=_n;exports.Carousel=sa;exports.Checkbox=la;exports.Drawer=Xo;exports.FeedbackProvider=qo;exports.Form=Jo;exports.FormsHelper=Qt;exports.Image=Zo;exports.InputField=xn;exports.Loader=ts;exports.Modal=rs;exports.NavigationProvider=Bo;exports.NumberHelper=On;exports.NumericInputField=is;exports.PageLayout=ss;exports.ProgressBar=ys;exports.RadioButton=bs;exports.ScrollHelper=ls;exports.SvgImage=ws;exports.TextAreaField=xs;exports.TextHelper=us;exports.TimeHelper=gs;exports.Toast=Os;exports.Typography=ks;exports.defaultBreakpoints=en;exports.useDidMount=ua;exports.useDrag=Qr;exports.useFeedback=et;exports.useFetch=ca;exports.useNavigation=Yo;exports.useOnScreen=fa;exports.usePointer=Zr;exports.useResponsive=da;exports.useTranslations=ma;
|