@eliseubatista99/react-scaffold-core 0.1.60 → 0.1.62
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/components/typography/stories/typography.stories.d.ts +1 -1
- package/dist/components/typography/typography.d.ts +2 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useOnScreen/index.d.ts +1 -0
- package/dist/hooks/useOnScreen/useOnScreen.d.ts +2 -0
- package/dist/index.cjs.js +11 -11
- package/dist/index.es.js +1877 -1898
- package/package.json +1 -1
- package/dist/hooks/useIsTouchingParentElement/index.d.ts +0 -1
- package/dist/hooks/useIsTouchingParentElement/useIsTouchingParentElement.d.ts +0 -5
package/dist/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Y=require("react");function xn(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const D=xn(Y);var rt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ut(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function On(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function i(){var a=!1;try{a=this instanceof i}catch{}return a?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(r,i,a.get?a:{enumerable:!0,get:function(){return e[i]}})}),r}var nt={exports:{}},Ae={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var er;function
|
|
9
|
+
*/var er;function kn(){if(er)return Ae;er=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(i,a,s){var f=null;if(s!==void 0&&(f=""+s),a.key!==void 0&&(f=""+a.key),"key"in a){s={};for(var u in a)u!=="key"&&(s[u]=a[u])}else s=a;return a=s.ref,{$$typeof:e,type:i,key:f,ref:a!==void 0?a:null,props:s}}return Ae.Fragment=t,Ae.jsx=r,Ae.jsxs=r,Ae}var He={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var tr;function
|
|
17
|
+
*/var tr;function Cn(){return tr||(tr=1,process.env.NODE_ENV!=="production"&&function(){function e(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===d?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case p:return"Fragment";case O:return"Profiler";case I:return"StrictMode";case v:return"Suspense";case b:return"SuspenseList";case y:return"Activity"}if(typeof n=="object")switch(typeof n.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),n.$$typeof){case E:return"Portal";case U:return(n.displayName||"Context")+".Provider";case F:return(n._context.displayName||"Context")+".Consumer";case V:var c=n.render;return n=n.displayName,n||(n=c.displayName||c.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case w:return c=n.displayName||null,c!==null?c:e(n.type)||"Memo";case P:c=n._payload,n=n._init;try{return e(n(c))}catch{}}return null}function t(n){return""+n}function r(n){try{t(n);var c=!1}catch{c=!0}if(c){c=console;var S=c.error,M=typeof Symbol=="function"&&Symbol.toStringTag&&n[Symbol.toStringTag]||n.constructor.name||"Object";return S.call(c,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",M),t(n)}}function i(n){if(n===p)return"<>";if(typeof n=="object"&&n!==null&&n.$$typeof===P)return"<...>";try{var c=e(n);return c?"<"+c+">":"<...>"}catch{return"<...>"}}function a(){var n=k.A;return n===null?null:n.getOwner()}function s(){return Error("react-stack-top-frame")}function f(n){if(A.call(n,"key")){var c=Object.getOwnPropertyDescriptor(n,"key").get;if(c&&c.isReactWarning)return!1}return n.key!==void 0}function u(n,c){function S(){C||(C=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",c))}S.isReactWarning=!0,Object.defineProperty(n,"key",{get:S,configurable:!0})}function l(){var n=e(this.type);return _[n]||(_[n]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),n=this.props.ref,n!==void 0?n:null}function h(n,c,S,M,L,z,N,W){return S=z.ref,n={$$typeof:$,type:n,key:c,props:z,_owner:L},(S!==void 0?S:null)!==null?Object.defineProperty(n,"ref",{enumerable:!1,get:l}):Object.defineProperty(n,"ref",{enumerable:!1,value:null}),n._store={},Object.defineProperty(n._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(n,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(n,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:N}),Object.defineProperty(n,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:W}),Object.freeze&&(Object.freeze(n.props),Object.freeze(n)),n}function g(n,c,S,M,L,z,N,W){var B=c.children;if(B!==void 0)if(M)if(R(B)){for(M=0;M<B.length;M++)x(B[M]);Object.freeze&&Object.freeze(B)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else x(B);if(A.call(c,"key")){B=e(n);var G=Object.keys(c).filter(function(J){return J!=="key"});M=0<G.length?"{key: someKey, "+G.join(": ..., ")+": ...}":"{key: someKey}",m[B+M]||(G=0<G.length?"{"+G.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
18
|
let props = %s;
|
|
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}
|
|
22
|
+
<%s key={someKey} {...props} />`,M,B,G,B),m[B+M]=!0)}if(B=null,S!==void 0&&(r(S),B=""+S),f(c)&&(r(c.key),B=""+c.key),"key"in c){S={};for(var X in c)X!=="key"&&(S[X]=c[X])}else S=c;return B&&u(S,typeof n=="function"?n.displayName||n.name||"Unknown":n),h(n,B,z,L,a(),S,N,W)}function x(n){typeof n=="object"&&n!==null&&n.$$typeof===$&&n._store&&(n._store.validated=1)}var j=Y,$=Symbol.for("react.transitional.element"),E=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"),V=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),d=Symbol.for("react.client.reference"),k=j.__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};j={"react-stack-bottom-frame":function(n){return n()}};var C,_={},o=j["react-stack-bottom-frame"].bind(j,s)(),H=T(i(s)),m={};He.Fragment=p,He.jsx=function(n,c,S,M,L){var z=1e4>k.recentlyCreatedOwnerStacks++;return g(n,c,S,!1,M,L,z?Error("react-stack-top-frame"):o,z?T(i(n)):H)},He.jsxs=function(n,c,S,M,L){var z=1e4>k.recentlyCreatedOwnerStacks++;return g(n,c,S,!0,M,L,z?Error("react-stack-top-frame"):o,z?T(i(n)):H)}}()),He}var rr;function Pn(){return rr||(rr=1,process.env.NODE_ENV==="production"?nt.exports=kn():nt.exports=Cn()),nt.exports}var K=Pn();const En=({children:e,onClick:t,styles:r})=>K.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={},nr;function Rn(){return nr||(nr=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,ir;function Tn(){if(ir)return Rt;ir=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,f=/^0o[0-7]+$/i,u=parseInt,l=typeof rt=="object"&&rt&&rt.Object===Object&&rt,h=typeof self=="object"&&self&&self.Object===Object&&self,g=l||h||Function("return this")(),x=Object.prototype,j=x.toString,$=Math.max,E=Math.min,p=function(){return g.Date.now()};function I(v,b,w){var P,y,d,k,A,R,T=0,C=!1,_=!1,o=!0;if(typeof v!="function")throw new TypeError(e);b=V(b)||0,O(w)&&(C=!!w.leading,_="maxWait"in w,d=_?$(V(w.maxWait)||0,b):d,o="trailing"in w?!!w.trailing:o);function H(W){var B=P,G=y;return P=y=void 0,T=W,k=v.apply(G,B),k}function m(W){return T=W,A=setTimeout(S,b),C?H(W):k}function n(W){var B=W-R,G=W-T,X=b-B;return _?E(X,d-G):X}function c(W){var B=W-R,G=W-T;return R===void 0||B>=b||B<0||_&&G>=d}function S(){var W=p();if(c(W))return M(W);A=setTimeout(S,n(W))}function M(W){return A=void 0,o&&P?H(W):(P=y=void 0,k)}function L(){A!==void 0&&clearTimeout(A),T=0,P=R=y=A=void 0}function z(){return A===void 0?k:M(p())}function N(){var W=p(),B=c(W);if(P=arguments,y=this,R=W,B){if(A===void 0)return m(R);if(_)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)&&j.call(v)==r}function V(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||f.test(v)?u(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 ar;function yt(){return ar||(ar=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var s="",c=0;c<arguments.length;c++){var u=arguments[c];u&&(s=a(s,i(u)))}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 u in s)t.call(s,u)&&s[u]&&(c=a(c,u));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})()}(_t)),_t.exports}var q={},Rt={},or;function Mr(){return or||(or=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(U);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}(Rt)),Rt}var sr;function Ge(){if(sr)return q;sr=1,Object.defineProperty(q,"__esModule",{value:!0}),q.checkSpecKeys=q.checkNavigable=q.changeSlide=q.canUseDOM=q.canGoNext=void 0,q.clamp=h,q.extractObject=void 0,q.filterSettings=H,q.validSettings=q.swipeStart=q.swipeMove=q.swipeEnd=q.slidesOnRight=q.slidesOnLeft=q.slideHandler=q.siblingDirection=q.safePreventDefault=q.lazyStartIndex=q.lazySlidesOnRight=q.lazySlidesOnLeft=q.lazyEndIndex=q.keyHandler=q.initializedState=q.getWidth=q.getTrackLeft=q.getTrackCSS=q.getTrackAnimateCSS=q.getTotalSlides=q.getSwipeDirection=q.getSlideCount=q.getRequiredLazySlides=q.getPreClones=q.getPostClones=q.getOnDemandLazySlides=q.getNavigableIndexes=q.getHeight=void 0;var e=r(U),t=r(Mr());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=u(n))in m?Object.defineProperty(m,n,{value:f,enumerable:!0,configurable:!0,writable:!0}):m[n]=f,m}function u(m){var n=l(m,"string");return i(n)=="symbol"?n:n+""}function l(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=q.safePreventDefault=function(n){var f=["onTouchStart","onTouchMove","onWheel"];f.includes(n._reactName)||n.preventDefault()},x=q.getOnDemandLazySlides=function(n){for(var f=[],S=j(n),$=M(n),L=S;L<$;L++)n.lazyLoadedList.indexOf(L)<0&&f.push(L);return f};q.getRequiredLazySlides=function(n){for(var f=[],S=j(n),$=M(n),L=S;L<$;L++)f.push(L);return f};var j=q.lazyStartIndex=function(n){return n.currentSlide-E(n)},M=q.lazyEndIndex=function(n){return n.currentSlide+p(n)},E=q.lazySlidesOnLeft=function(n){return n.centerMode?Math.floor(n.slidesToShow/2)+(parseInt(n.centerPadding)>0?1:0):0},p=q.lazySlidesOnRight=function(n){return n.centerMode?Math.floor((n.slidesToShow-1)/2)+1+(parseInt(n.centerPadding)>0?1:0):n.slidesToShow},I=q.getWidth=function(n){return n&&n.offsetWidth||0},O=q.getHeight=function(n){return n&&n.offsetHeight||0},F=q.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"},Y=q.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};q.extractObject=function(n,f){var S={};return f.forEach(function($){return S[$]=n[$]}),S},q.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 B=S&&O(S.querySelector('[data-index="0"]')),G=B*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:B,listHeight:G,lazyLoadedList:J};return n.autoplaying===null&&n.autoplay&&(Z.autoplaying="playing"),Z},q.slideHandler=function(n){var f=n.waitForAnimate,S=n.animating,$=n.fade,L=n.infinite,z=n.index,N=n.slideCount,W=n.lazyLoad,B=n.currentSlide,G=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):!Y(n)&&ee>B?ee=ie=B:G&&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:P(s(s({},n),{},{left:Q})),swipeLeft:null,targetSlide:ce}):oe={currentSlide:ie,trackStyle:P(s(s({},n),{},{left:Q})),lazyLoadedList:Z,targetSlide:ce};return{state:oe,nextState:ue}},q.changeSlide=function(n,f){var S,$,L,z,N,W=n.slidesToScroll,B=n.slidesToShow,G=n.slideCount,X=n.currentSlide,J=n.targetSlide,te=n.lazyLoad,Z=n.infinite;if(z=G%W!==0,S=z?0:(G-X)%W,f.message==="previous")L=S===0?W:B-S,N=X-L,te&&!Z&&($=X-L,N=$===-1?G-1:$),Z||(N=J-W);else if(f.message==="next")L=S===0?W:S,N=X+L,te&&!Z&&(N=(X+W)%G+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=_(s(s({},n),{},{targetSlide:N}));N>f.currentSlide&&ee==="left"?N=N-G:N<f.currentSlide&&ee==="right"&&(N=N+G)}}else f.message==="index"&&(N=Number(f.index));return N},q.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":""},q.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}}},q.swipeMove=function(n,f){var S=f.scrolling,$=f.animating,L=f.vertical,z=f.swipeToSlide,N=f.verticalSwiping,W=f.rtl,B=f.currentSlide,G=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,Pe={},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 Qt=Math.round(Math.sqrt(Math.pow(Q.curY-Q.startY,2)));if(!N&&!Z&&Qt>10)return{scrolling:!0};N&&(Q.swipeLength=Qt);var $e=(W?-1:1)*(Q.curX>Q.startX?1:-1);N&&($e=Q.curY>Q.startY?1:-1);var xn=Math.ceil(ee/ie),Ce=F(f.touchObject,N),Ie=Q.swipeLength;return le||(B===0&&(Ce==="right"||Ce==="down")||B+1>=xn&&(Ce==="left"||Ce==="up")||!Y(f)&&(Ce==="left"||Ce==="up"))&&(Ie=Q.swipeLength*G,X===!1&&J&&(J(Ce),Pe.edgeDragged=!0)),!te&&oe&&(oe(Ce),Pe.swiped=!0),L?pe=tt+Ie*(ue/ce)*$e:W?pe=tt-Ie*$e:pe=tt+Ie*$e,N&&(pe=tt+Ie*$e),Pe=s(s({},Pe),{},{touchObject:Q,swipeLeft:pe,trackStyle:P(s(s({},f),{},{left:pe}))}),Math.abs(Q.curX-Q.startX)<Math.abs(Q.curY-Q.startY)*.8||Q.swipeLength>10&&(Pe.swiping=!0,g(n)),Pe}},q.swipeEnd=function(n,f){var S=f.dragging,$=f.swipe,L=f.touchObject,z=f.listWidth,N=f.touchThreshold,W=f.verticalSwiping,B=f.listHeight,G=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?B/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=G?v(f,ue):ue,Q.currentDirection=0;break;case"right":case"down":ue=ce-b(f),oe=G?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 V=q.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=q.checkNavigable=function(n,f){var S=V(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=q.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=q.checkSpecKeys=function(n,f){return f.reduce(function(S,$){return S&&n.hasOwnProperty($)},!0)?null:console.error("Keys Missing:",n)},P=q.getTrackCSS=function(n){w(n,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var f,S;if(!n.vertical)f=T(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=q.getTrackAnimateCSS=function(n){w(n,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var f=P(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=q.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,B=n.slideWidth,G=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*B,Q=oe*J,Z?ie=f*J*-1+Q:ie=f*B*-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&&(G-le.offsetWidth)/2}}return ie},k=q.getPreClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},A=q.getPostClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},T=q.getTotalSlides=function(n){return n.slideCount===1?1:k(n)+n.slideCount+A(n)},_=q.siblingDirection=function(n){return n.targetSlide>n.currentSlide?n.targetSlide>n.currentSlide+C(n)?"left":"right":n.targetSlide<n.currentSlide-R(n)?"right":"left"},C=q.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},R=q.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};q.canUseDOM=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)};var o=q.validSettings=Object.keys(t.default);function H(m){return o.reduce(function(n,f){return m.hasOwnProperty(f)&&(n[f]=m[f]),n},{})}return q}var Ne={},lr;function jn(){if(lr)return Ne;lr=1,Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.Track=void 0;var e=i(U),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 u(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,Y(A.key),A)}}function l(y,d,k){return d&&u(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=E();return function(){var k,A=p(y);if(d){var T=p(this).constructor;k=Reflect.construct(A,arguments,T)}else k=A.apply(this,arguments);return j(this,k)}}function j(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 M(y)}function M(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}function E(){try{var y=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(E=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(T){return Object.getOwnPropertyDescriptor(y,T).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=Y(d))in y?Object.defineProperty(y,d,{value:k,enumerable:!0,configurable:!0,writable:!0}):y[d]=k,y}function Y(y){var d=V(y,"string");return a(d)=="symbol"?d:d+""}function V(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,T,_,C;d.rtl?C=d.slideCount-1-d.index:C=d.index,T=C<0||C>=d.slideCount,d.centerMode?(_=Math.floor(d.slidesToShow/2),A=(C-d.currentSlide)%d.slideCount===0,C>d.currentSlide-_-1&&C<=d.currentSlide+_&&(k=!0)):k=d.currentSlide<=C&&C<d.currentSlide+d.slidesToShow;var R;d.targetSlide<0?R=d.targetSlide+d.slideCount:d.targetSlide>=d.slideCount?R=d.targetSlide-d.slideCount:R=d.targetSlide;var o=C===R;return{"slick-slide":!0,"slick-active":k,"slick-center":A,"slick-cloned":T,"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},P=function(d){var k,A=[],T=[],_=[],C=e.default.Children.count(d.children),R=(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>=R&&(n=H),L=v(O(O({},d),{},{index:k})),T.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})),_.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?T.concat(A,_).reverse():T.concat(A,_)};return Ne.Track=function(y){h(k,y);var d=x(k);function k(){var A;c(this,k);for(var T=arguments.length,_=new Array(T),C=0;C<T;C++)_[C]=arguments[C];return A=d.call.apply(d,[this].concat(_)),F(M(A),"node",null),F(M(A),"handleRef",function(R){A.node=R}),A}return l(k,[{key:"render",value:function(){var T=P(this.props),_=this.props,C=_.onMouseEnter,R=_.onMouseOver,o=_.onMouseLeave,H={onMouseEnter:C,onMouseOver:R,onMouseLeave:o};return e.default.createElement("div",s({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},H),T)}}]),k}(e.default.PureComponent),Ne}var Fe={},ur;function Ln(){if(ur)return Fe;ur=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(U),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 P=Object.getOwnPropertySymbols(v);b&&(P=P.filter(function(y){return Object.getOwnPropertyDescriptor(v,y).enumerable})),w.push.apply(w,P)}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(P){u(v,P,w[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(w)):s(Object(w)).forEach(function(P){Object.defineProperty(v,P,Object.getOwnPropertyDescriptor(w,P))})}return v}function u(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 l(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 P=b[w];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(v,x(P.key),P)}}function g(v,b,w){return b&&h(v.prototype,b),Object.defineProperty(v,"prototype",{writable:!1}),v}function x(v){var b=j(v,"string");return e(b)=="symbol"?b:b+""}function j(v,b){if(e(v)!="object"||!v)return v;var w=v[Symbol.toPrimitive];if(w!==void 0){var P=w.call(v,b);if(e(P)!="object")return P;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(v)}function M(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&&E(v,b)}function E(v,b){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,P){return w.__proto__=P,w},E(v,b)}function p(v){var b=F();return function(){var w,P=Y(v);if(b){var y=Y(this).constructor;w=Reflect.construct(P,arguments,y)}else w=P.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 Y(v){return Y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},Y(v)}var V=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){M(w,v);var b=p(w);function w(){return l(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,T=y.infinite,_=y.slidesToScroll,C=y.slidesToShow,R=y.slideCount,o=y.currentSlide,H=V({slideCount:R,slidesToScroll:_,slidesToShow:C,infinite:T}),m={onMouseEnter:d,onMouseOver:k,onMouseLeave:A},n=[],f=0;f<H;f++){var S=(f+1)*_-1,$=T?S:(0,i.clamp)(S,0,R-1),L=$-(_-1),z=T?L:(0,i.clamp)(L,0,R-1),N=(0,r.default)({"slick-active":T?o>=z&&o<=$:o===z}),W={message:"dots",index:f,slidesToScroll:_,currentSlide:o},B=this.clickHandler.bind(this,W);n=n.concat(t.default.createElement("li",{key:f,className:N},t.default.cloneElement(this.props.customPaging(f),{onClick:B})))}return t.default.cloneElement(this.props.appendDots(n),c({className:this.props.dotsClass},m))}}]),w}(t.default.PureComponent),Fe}var Ee={},cr;function Dn(){if(cr)return Ee;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(Ee,"__esModule",{value:!0}),Ee.PrevArrow=Ee.NextArrow=void 0;var t=a(U),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 P in w)({}).hasOwnProperty.call(w,P)&&(v[P]=w[P])}return v},s.apply(null,arguments)}function c(v,b){var w=Object.keys(v);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(v);b&&(P=P.filter(function(y){return Object.getOwnPropertyDescriptor(v,y).enumerable})),w.push.apply(w,P)}return w}function u(v){for(var b=1;b<arguments.length;b++){var w=arguments[b]!=null?arguments[b]:{};b%2?c(Object(w),!0).forEach(function(P){l(v,P,w[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(w)):c(Object(w)).forEach(function(P){Object.defineProperty(v,P,Object.getOwnPropertyDescriptor(w,P))})}return v}function l(v,b,w){return(b=j(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 P=b[w];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(v,j(P.key),P)}}function x(v,b,w){return b&&g(v.prototype,b),Object.defineProperty(v,"prototype",{writable:!1}),v}function j(v){var b=M(v,"string");return e(b)=="symbol"?b:b+""}function M(v,b){if(e(v)!="object"||!v)return v;var w=v[Symbol.toPrimitive];if(w!==void 0){var P=w.call(v,b);if(e(P)!="object")return P;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(v)}function E(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,P){return w.__proto__=P,w},p(v,b)}function I(v){var b=Y();return function(){var w,P=V(v);if(b){var y=V(this).constructor;w=Reflect.construct(P,arguments,y)}else w=P.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 Y(){try{var v=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Y=function(){return!!v})()}function V(v){return V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},V(v)}return Ee.PrevArrow=function(v){E(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},T;return this.props.prevArrow?T=t.default.cloneElement(this.props.prevArrow,u(u({},k),A)):T=t.default.createElement("button",s({key:"0",type:"button"},k)," ","Previous"),T}}]),w}(t.default.PureComponent),Ee.NextArrow=function(v){E(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},T;return this.props.nextArrow?T=t.default.cloneElement(this.props.nextArrow,u(u({},k),A)):T=t.default.createElement("button",s({key:"1",type:"button"},k)," ","Next"),T}}]),w}(t.default.PureComponent),Ee}var $r=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")()}(),Mn=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(pt):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),$n=2;function In(e,t){var r=!1,i=!1,a=0;function s(){r&&(r=!1,e()),i&&u()}function c(){Mn(s)}function u(){var l=Date.now();if(r){if(l-a<$n)return;i=!0}else r=!0,i=!1,setTimeout(c,t);a=l}return u}var An=20,Hn=["top","right","bottom","left","width","height","size","weight"],zn=typeof MutationObserver<"u",Nn=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=In(this.refresh.bind(this),An)}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),zn?(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=Hn.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}(),Ir=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},Ar=bt(0,0,0,0);function mt(e){return parseFloat(e)||0}function fr(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 Fn(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 Wn(e){var t=e.getBBox();return bt(0,0,t.width,t.height)}function Un(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return Ar;var i=_e(e).getComputedStyle(e),a=Fn(i),s=a.left+a.right,c=a.top+a.bottom,u=mt(i.width),l=mt(i.height);if(i.boxSizing==="border-box"&&(Math.round(u+s)!==t&&(u-=fr(i,"left","right")+s),Math.round(l+c)!==r&&(l-=fr(i,"top","bottom")+c)),!qn(e)){var h=Math.round(u+s)-t,g=Math.round(l+c)-r;Math.abs(h)!==1&&(u-=h),Math.abs(g)!==1&&(l-=g)}return bt(a.left,a.top,u,l)}var Yn=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 qn(e){return e===_e(e).document.documentElement}function Bn(e){return It?Yn(e)?Wn(e):Un(e):Ar}function Vn(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 Ir(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 Xn=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=Bn(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}(),Gn=function(){function e(t,r){var i=Vn(r);Ir(this,{target:t,contentRect:i})}return e}(),Kn=function(){function e(t,r,i){if(this.activeObservations_=[],this.observations_=new $r,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 Xn(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 Gn(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}(),Hr=typeof WeakMap<"u"?new WeakMap:new $r,zr=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=Nn.getInstance(),i=new Kn(t,r,this);Hr.set(this,i)}return e}();["observe","unobserve","disconnect"].forEach(function(e){zr.prototype[e]=function(){var t;return(t=Hr.get(this))[e].apply(t,arguments)}});var Jn=function(){return typeof pt.ResizeObserver<"u"?pt.ResizeObserver:zr}();const Zn=Object.freeze(Object.defineProperty({__proto__:null,default:Jn},Symbol.toStringTag,{value:"Module"})),Qn=kn(Zn);var dr;function ei(){if(dr)return ze;dr=1,Object.defineProperty(ze,"__esModule",{value:!0}),ze.InnerSlider=void 0;var e=h(U),t=h(_n()),r=h(Rn()),i=h(yt()),a=Ge(),s=jn(),c=Ln(),u=Dn(),l=h(Qn);function h(T){return T&&T.__esModule?T:{default:T}}function g(T){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_){return typeof _}:function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _},g(T)}function x(){return x=Object.assign?Object.assign.bind():function(T){for(var _=1;_<arguments.length;_++){var C=arguments[_];for(var R in C)({}).hasOwnProperty.call(C,R)&&(T[R]=C[R])}return T},x.apply(null,arguments)}function j(T,_){if(T==null)return{};var C,R,o=M(T,_);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(T);for(R=0;R<H.length;R++)C=H[R],_.includes(C)||{}.propertyIsEnumerable.call(T,C)&&(o[C]=T[C])}return o}function M(T,_){if(T==null)return{};var C={};for(var R in T)if({}.hasOwnProperty.call(T,R)){if(_.includes(R))continue;C[R]=T[R]}return C}function E(T,_){var C=Object.keys(T);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(T);_&&(R=R.filter(function(o){return Object.getOwnPropertyDescriptor(T,o).enumerable})),C.push.apply(C,R)}return C}function p(T){for(var _=1;_<arguments.length;_++){var C=arguments[_]!=null?arguments[_]:{};_%2?E(Object(C),!0).forEach(function(R){d(T,R,C[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(C)):E(Object(C)).forEach(function(R){Object.defineProperty(T,R,Object.getOwnPropertyDescriptor(C,R))})}return T}function I(T,_){if(!(T instanceof _))throw new TypeError("Cannot call a class as a function")}function O(T,_){for(var C=0;C<_.length;C++){var R=_[C];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(T,k(R.key),R)}}function F(T,_,C){return _&&O(T.prototype,_),Object.defineProperty(T,"prototype",{writable:!1}),T}function Y(T,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");T.prototype=Object.create(_&&_.prototype,{constructor:{value:T,writable:!0,configurable:!0}}),Object.defineProperty(T,"prototype",{writable:!1}),_&&V(T,_)}function V(T,_){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(C,R){return C.__proto__=R,C},V(T,_)}function v(T){var _=P();return function(){var C,R=y(T);if(_){var o=y(this).constructor;C=Reflect.construct(R,arguments,o)}else C=R.apply(this,arguments);return b(this,C)}}function b(T,_){if(_&&(g(_)=="object"||typeof _=="function"))return _;if(_!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return w(T)}function w(T){if(T===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T}function P(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(P=function(){return!!T})()}function y(T){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(_){return _.__proto__||Object.getPrototypeOf(_)},y(T)}function d(T,_,C){return(_=k(_))in T?Object.defineProperty(T,_,{value:C,enumerable:!0,configurable:!0,writable:!0}):T[_]=C,T}function k(T){var _=A(T,"string");return g(_)=="symbol"?_:_+""}function A(T,_){if(g(T)!="object"||!T)return T;var C=T[Symbol.toPrimitive];if(C!==void 0){var R=C.call(T,_);if(g(R)!="object")return R;throw new TypeError("@@toPrimitive must return a primitive value.")}return(_==="string"?String:Number)(T)}return ze.InnerSlider=function(T){Y(C,T);var _=v(C);function C(R){var o;I(this,C),o=_.call(this,R),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 l.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 B="".concat(f[o.state.currentSlide],"px");W.left="calc(".concat(W.left," + (100% - ").concat(B,") / 2 ) ")}return{trackStyle:W}}var G=e.default.Children.count(o.props.children),X=p(p(p({},o.props),o.state),{},{slideCount:G}),J=(0,a.getPreClones)(X)+(0,a.getPostClones)(X)+G,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,B=(0,a.slideHandler)(p(p(p({index:m},o.props),o.state),{},{trackRef:o.track,useCSS:o.props.useCSS&&!n})),G=B.state,X=B.nextState;if(G){$&&$(W,G.currentSlide);var J=G.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(G,function(){S&&o.asNavForIndex!==m&&(o.asNavForIndex=m,S.innerSlider.slideHandler(m)),X&&(o.animationEndCallback=setTimeout(function(){var te=X.animating,Z=j(X,["animating"]);o.setState(Z,function(){o.callbackTimers.push(setTimeout(function(){return o.setState({animating:te})},10)),N&&N(G.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,B=(0,a.extractObject)(n,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);B.clickHandler=o.changeSlide,o.props.arrows&&(N=e.default.createElement(u.PrevArrow,B),W=e.default.createElement(u.NextArrow,B));var G=null;o.props.vertical&&(G={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({},G),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,hr;function ti(){if(hr)return jt;hr=1;var e=function(t){return t.replace(/[A-Z]/g,function(r){return"-"+r.toLowerCase()}).toLowerCase()};return jt=e,jt}var Lt,pr;function ri(){if(pr)return Lt;pr=1;var e=ti(),t=function(a){var s=/[height|width]$/;return s.test(a)},r=function(a){var s="",c=Object.keys(a);return c.forEach(function(u,l){var h=a[u];u=e(u),t(u)&&typeof h=="number"&&(h=h+"px"),h===!0?s+=u:h===!1?s+="not "+u:s+="("+u+": "+h+")",l<c.length-1&&(s+=" and ")}),s},i=function(a){var s="";return typeof a=="string"?a:a instanceof Array?(a.forEach(function(c,u){s+=r(c),u<a.length-1&&(s+=", ")}),s):r(a)};return Lt=i,Lt}var mr;function ni(){return mr||(mr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=c(U),r=ei(),i=c(ri()),a=c(Mr()),s=Ge();function c(P){return P&&P.__esModule?P:{default:P}}function u(P){"@babel/helpers - typeof";return u=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},u(P)}function l(){return l=Object.assign?Object.assign.bind():function(P){for(var y=1;y<arguments.length;y++){var d=arguments[y];for(var k in d)({}).hasOwnProperty.call(d,k)&&(P[k]=d[k])}return P},l.apply(null,arguments)}function h(P,y){var d=Object.keys(P);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(P);y&&(k=k.filter(function(A){return Object.getOwnPropertyDescriptor(P,A).enumerable})),d.push.apply(d,k)}return d}function g(P){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(P,k,d[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(d)):h(Object(d)).forEach(function(k){Object.defineProperty(P,k,Object.getOwnPropertyDescriptor(d,k))})}return P}function x(P,y){if(!(P instanceof y))throw new TypeError("Cannot call a class as a function")}function j(P,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(P,b(k.key),k)}}function M(P,y,d){return y&&j(P.prototype,y),Object.defineProperty(P,"prototype",{writable:!1}),P}function E(P,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(y&&y.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),Object.defineProperty(P,"prototype",{writable:!1}),y&&p(P,y)}function p(P,y){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,k){return d.__proto__=k,d},p(P,y)}function I(P){var y=Y();return function(){var d,k=V(P);if(y){var A=V(this).constructor;d=Reflect.construct(k,arguments,A)}else d=k.apply(this,arguments);return O(this,d)}}function O(P,y){if(y&&(u(y)=="object"||typeof y=="function"))return y;if(y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return F(P)}function F(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}function Y(){try{var P=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Y=function(){return!!P})()}function V(P){return V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(y){return y.__proto__||Object.getPrototypeOf(y)},V(P)}function v(P,y,d){return(y=b(y))in P?Object.defineProperty(P,y,{value:d,enumerable:!0,configurable:!0,writable:!0}):P[y]=d,P}function b(P){var y=w(P,"string");return u(y)=="symbol"?y:y+""}function w(P,y){if(u(P)!="object"||!P)return P;var d=P[Symbol.toPrimitive];if(d!==void 0){var k=d.call(P,y);if(u(k)!="object")return k;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(P)}e.default=function(P){E(d,P);var y=I(d);function d(k){var A;return x(this,d),A=y.call(this,k),v(F(A),"innerSliderRefHandler",function(T){return A.innerSlider=T}),v(F(A),"slickPrev",function(){return A.innerSlider.slickPrev()}),v(F(A),"slickNext",function(){return A.innerSlider.slickNext()}),v(F(A),"slickGoTo",function(T){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return A.innerSlider.slickGoTo(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 M(d,[{key:"media",value:function(A,T){var _=window.matchMedia(A),C=function(o){var H=o.matches;H&&T()};_.addListener(C),this._responsiveMediaHandlers.push({mql:_,query:A,listener:C})}},{key:"componentDidMount",value:function(){var A=this;if(this.props.responsive){var T=this.props.responsive.map(function(C){return C.breakpoint});T.sort(function(C,R){return C-R}),T.forEach(function(C,R){var o;R===0?o=(0,i.default)({minWidth:0,maxWidth:C}):o=(0,i.default)({minWidth:T[R-1]+1,maxWidth:C}),(0,s.canUseDOM)()&&A.media(o,function(){A.setState({breakpoint:C})})});var _=(0,i.default)({minWidth:T.slice(-1)[0]});(0,s.canUseDOM)()&&this.media(_,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,T,_;this.state.breakpoint?(_=this.props.responsive.filter(function(L){return L.breakpoint===A.state.breakpoint}),T=_[0].settings==="unslick"?"unslick":g(g(g({},a.default),this.props),_[0].settings)):T=g(g({},a.default),this.props),T.centerMode&&(T.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(T.slidesToScroll)),T.slidesToScroll=1),T.fade&&(T.slidesToShow>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(T.slidesToShow)),T.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(T.slidesToScroll)),T.slidesToShow=1,T.slidesToScroll=1);var C=t.default.Children.toArray(this.props.children);C=C.filter(function(L){return typeof L=="string"?!!L.trim():!!L}),T.variableWidth&&(T.rows>1||T.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),T.variableWidth=!1);for(var R=[],o=null,H=0;H<C.length;H+=T.rows*T.slidesPerRow){for(var m=[],n=H;n<H+T.rows*T.slidesPerRow;n+=T.slidesPerRow){for(var f=[],S=n;S<n+T.slidesPerRow&&(T.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/T.slidesPerRow,"%"),display:"inline-block"}}));m.push(t.default.createElement("div",{key:10*H+n},f))}T.variableWidth?R.push(t.default.createElement("div",{key:H,style:{width:o}},m)):R.push(t.default.createElement("div",{key:H},m))}if(T==="unslick"){var $="regular slider "+(this.props.className||"");return t.default.createElement("div",{className:$},C)}else R.length<=T.slidesToShow&&(T.unslick=!0);return t.default.createElement(r.InnerSlider,l({style:this.props.style,ref:this.innerSliderRefHandler},(0,s.filterSettings)(T)),R)}}]),d}(t.default.Component)}(Pt)),Pt}var vr;function ii(){return vr||(vr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(ni());function r(i){return i&&i.__esModule?i:{default:i}}e.default=t.default}(Ct)),Ct}var ai=ii();const oi=Ut(ai);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 si(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 li(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 ui=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(li(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var s=si(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-",Nr="comm",Yt="rule",qt="decl",ci="@import",Fr="@keyframes",fi="@layer",di=Math.abs,wt=String.fromCharCode,hi=Object.assign;function pi(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 Wr(e){return e.trim()}function mi(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 qe(e,t,r){return e.slice(t,r)}function ge(e){return e.length}function Bt(e){return e.length}function it(e,t){return t.push(e),e}function vi(e,t){return e.map(t).join("")}var St=1,Re=1,Ur=0,he=0,se=0,Le="";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:Re,length:c,return:""}}function We(e,t){return hi(xt("",null,null,"",null,null,0),e,{length:-e.length},t)}function gi(){return se}function yi(){return se=he>0?fe(Le,--he):0,Re--,se===10&&(Re=1,St--),se}function me(){return se=he<Ur?fe(Le,he++):0,Re++,se===10&&(Re=1,St++),se}function be(){return fe(Le,he)}function ot(){return he}function Ke(e,t){return qe(Le,e,t)}function Be(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 Yr(e){return St=Re=1,Ur=ge(Le=e),he=0,[]}function qr(e){return Le="",e}function st(e){return Wr(Ke(he-1,zt(e===91?e+2:e===40?e+1:e)))}function bi(e){for(;(se=be())&&se<33;)me();return Be(e)>2||Be(se)>3?"":" "}function wi(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 Si(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 xi(e){for(;!Be(be());)me();return Ke(e,he)}function Oi(e){return qr(lt("",null,null,null,[""],e=Yr(e),0,[0],e))}function lt(e,t,r,i,a,s,c,u,l){for(var h=0,g=0,x=c,j=0,M=0,E=0,p=1,I=1,O=1,F=0,Y="",V=a,v=s,b=i,w=Y;I;)switch(E=F,F=me()){case 40:if(E!=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+=bi(E);break;case 92:w+=wi(ot()-1,7);continue;case 47:switch(be()){case 42:case 47:it(ki(Si(me(),ot()),t,r),l);break;default:w+="/"}break;case 123*p:u[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,"")),M>0&&ge(w)-x&&it(M>32?yr(w+";",i,r,x-1):yr(ne(w," ","")+";",i,r,x-2),l);break;case 59:w+=";";default:if(it(b=gr(w,t,r,h,g,a,u,Y,V=[],v=[],x),s),F===123)if(g===0)lt(w,t,b,b,V,s,x,u,v);else switch(j===99&&fe(w,3)===110?100:j){case 100:case 108:case 109:case 115:lt(e,b,b,i&&it(gr(e,b,b,0,0,a,u,Y,a,V=[],x),v),a,v,x,u,i?V:v);break;default:lt(w,b,b,b,[""],v,0,u,v)}}h=g=M=0,p=O=1,Y=w="",x=c;break;case 58:x=1+ge(w),M=E;default:if(p<1){if(F==123)--p;else if(F==125&&p++==0&&yi()==125)continue}switch(w+=wt(F),F*p){case 38:O=g>0?1:(w+="\f",-1);break;case 44:u[h++]=(ge(w)-1)*O,O=1;break;case 64:be()===45&&(w+=st(me())),j=be(),g=x=ge(Y=w+=xi(ot())),F++;break;case 45:E===45&&ge(w)==2&&(p=0)}}return s}function gr(e,t,r,i,a,s,c,u,l,h,g){for(var x=a-1,j=a===0?s:[""],M=Bt(j),E=0,p=0,I=0;E<i;++E)for(var O=0,F=qe(e,x+1,x=di(p=c[E])),Y=e;O<M;++O)(Y=Wr(p>0?j[O]+" "+F:ne(F,/&\f/g,j[O])))&&(l[I++]=Y);return xt(e,t,r,a===0?Yt:u,l,h,g)}function ki(e,t,r){return xt(e,t,r,Nr,wt(gi()),qe(e,2,-2),0)}function yr(e,t,r,i){return xt(e,t,r,qt,qe(e,0,i),qe(e,i+1,-1),i)}function Te(e,t){for(var r="",i=Bt(e),a=0;a<i;a++)r+=t(e[a],a,e,t)||"";return r}function Ci(e,t,r,i){switch(e.type){case fi:if(e.children.length)break;case ci:case qt:return e.return=e.return||e.value;case Nr:return"";case Fr: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 Pi(e){var t=Bt(e);return function(r,i,a,s){for(var c="",u=0;u<t;u++)c+=e[u](r,i,a,s)||"";return c}}function Ei(e){return function(t){t.root||(t=t.return)&&e(t)}}function Br(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ti=function(t,r,i){for(var a=0,s=0;a=s,s=be(),a===38&&s===12&&(r[i]=1),!Be(s);)me();return Ke(t,he)},_i=function(t,r){var i=-1,a=44;do switch(Be(a)){case 0:a===38&&be()===12&&(r[i]=1),t[i]+=Ti(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},Ri=function(t,r){return qr(_i(Yr(t),r))},br=new WeakMap,ji=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&&!br.get(i))&&!a){br.set(t,!0);for(var s=[],c=Ri(r,s),u=i.props,l=0,h=0;l<c.length;l++)for(var g=0;g<u.length;g++,h++)t.props[h]=s[l]?c[l].replace(/&\f/g,u[g]):u[g]+" "+c[l]}}},Li=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Vr(e,t){switch(pi(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")?Vr(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 Di=function(t,r,i,a){if(t.length>-1&&!t.return)switch(t.type){case qt:t.return=Vr(t.value,t.length);break;case Fr:return Te([We(t,{value:ne(t.value,"@","@"+re)})],a);case Yt:if(t.length)return vi(t.props,function(s){switch(mi(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""})}},Mi=[Di],$i=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||Mi,s={},c,u=[];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;u.push(p)});var l,h=[ji,Li];{var g,x=[Ci,Ei(function(p){g.insert(p)})],j=Pi(h.concat(a,x)),M=function(I){return Te(Oi(I),j)};l=function(I,O,F,Y){g=F,M(I?I+"{"+O.styles+"}":O.styles),Y&&(E.inserted[O.name]=!0)}}var E={key:r,sheet:new ui({key:r,container:c,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:l};return E.sheet.hydrate(u),E},Ii=!0;function Ai(e,t,r){var i="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):a&&(i+=a+" ")}),i}var Xr=function(t,r,i){var a=t.key+"-"+r.name;(i===!1||Ii===!1)&&t.registered[a]===void 0&&(t.registered[a]=r.styles)},Hi=function(t,r,i){Xr(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 zi(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 Ni={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},Fi=/[A-Z]|^ms/g,Wi=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Gr=function(t){return t.charCodeAt(1)===45},wr=function(t){return t!=null&&typeof t!="boolean"},Dt=Br(function(e){return Gr(e)?e:e.replace(Fi,"-$&").toLowerCase()}),Sr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Wi,function(i,a,s){return ye={name:a,styles:s,next:ye},a})}return Ni[t]!==1&&!Gr(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 u=s.styles+";";return u}return Ui(e,t,r)}case"function":{if(e!==void 0){var l=ye,h=r(e);return ye=l,Ve(e,t,h)}break}}var g=r;if(t==null)return g;var x=t[g];return x!==void 0?x:g}function Ui(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 u=c;t!=null&&t[u]!==void 0?i+=s+"{"+t[u]+"}":wr(u)&&(i+=Dt(s)+":"+Sr(s,u)+";")}else if(Array.isArray(c)&&typeof c[0]=="string"&&(t==null||t[c[0]]===void 0))for(var l=0;l<c.length;l++)wr(c[l])&&(i+=Dt(s)+":"+Sr(s,c[l])+";");else{var h=Ve(e,t,c);switch(s){case"animation":case"animationName":{i+=Dt(s)+":"+h+";";break}default:i+=s+"{"+h+"}"}}}return i}var xr=/label:\s*([^\s;{]+)\s*(;|$)/g,ye;function Yi(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 u=1;u<e.length;u++)if(a+=Ve(r,t,e[u]),i){var l=s;a+=l[u]}xr.lastIndex=0;for(var h="",g;(g=xr.exec(a))!==null;)h+="-"+g[1];var x=zi(a)+h;return{name:x,styles:a,next:ye}}var qi=function(t){return t()},Bi=D.useInsertionEffect?D.useInsertionEffect:!1,Vi=Bi||qi,Kr=D.createContext(typeof HTMLElement<"u"?$i({key:"css"}):null);Kr.Provider;var Xi=function(t){return U.forwardRef(function(r,i){var a=U.useContext(Kr);return t(r,a,i)})},Gi=D.createContext({}),Ki=/^((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)-.*))$/,Ji=Br(function(e){return Ki.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Zi=Ji,Qi=function(t){return t!=="theme"},Or=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Zi:Qi},kr=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},ea=function(t){var r=t.cache,i=t.serialized,a=t.isStringTag;return Xr(r,i,a),Vi(function(){return Hi(r,i,a)}),null},ta=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 u=kr(t,r,i),l=u||Or(a),h=!l("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 j=g[0];x.push(j[0]);for(var M=g.length,E=1;E<M;E++)x.push(g[E],j[E])}var p=Xi(function(I,O,F){var Y=h&&I.as||a,V="",v=[],b=I;if(I.theme==null){b={};for(var w in I)b[w]=I[w];b.theme=D.useContext(Gi)}typeof I.className=="string"?V=Ai(O.registered,v,I.className):I.className!=null&&(V=I.className+" ");var P=Yi(x.concat(v),O.registered,b);V+=O.key+"-"+P.name,c!==void 0&&(V+=" "+c);var y=h&&u===void 0?Or(Y):l,d={};for(var k in I)h&&k==="as"||y(k)&&(d[k]=I[k]);return d.className=V,F&&(d.ref=F),D.createElement(D.Fragment,null,D.createElement(ea,{cache:O,serialized:P,isStringTag:typeof Y=="string"}),D.createElement(Y,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=u,Object.defineProperty(p,"toString",{value:function(){return"."+c}}),p.withComponent=function(I,O){var F=e(I,At({},r,O,{shouldForwardProp:kr(p,O,!0)}));return F.apply(void 0,x)},p}},ra=["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"],je=ta.bind(null);ra.forEach(function(e){je[e]=je(e)});const na=je.div`
|
|
26
|
+
*/var ar;function yt(){return ar||(ar=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var s="",f=0;f<arguments.length;f++){var u=arguments[f];u&&(s=a(s,i(u)))}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 f="";for(var u in s)t.call(s,u)&&s[u]&&(f=a(f,u));return f}function a(s,f){return f?s?s+" "+f:s+f:s}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(Tt)),Tt.exports}var q={},_t={},or;function Mr(){return or||(or=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 sr;function Ge(){if(sr)return q;sr=1,Object.defineProperty(q,"__esModule",{value:!0}),q.checkSpecKeys=q.checkNavigable=q.changeSlide=q.canUseDOM=q.canGoNext=void 0,q.clamp=h,q.extractObject=void 0,q.filterSettings=H,q.validSettings=q.swipeStart=q.swipeMove=q.swipeEnd=q.slidesOnRight=q.slidesOnLeft=q.slideHandler=q.siblingDirection=q.safePreventDefault=q.lazyStartIndex=q.lazySlidesOnRight=q.lazySlidesOnLeft=q.lazyEndIndex=q.keyHandler=q.initializedState=q.getWidth=q.getTrackLeft=q.getTrackCSS=q.getTrackAnimateCSS=q.getTotalSlides=q.getSwipeDirection=q.getSlideCount=q.getRequiredLazySlides=q.getPreClones=q.getPostClones=q.getOnDemandLazySlides=q.getNavigableIndexes=q.getHeight=void 0;var e=r(Y),t=r(Mr());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 c=Object.keys(m);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(m);n&&(S=S.filter(function(M){return Object.getOwnPropertyDescriptor(m,M).enumerable})),c.push.apply(c,S)}return c}function s(m){for(var n=1;n<arguments.length;n++){var c=arguments[n]!=null?arguments[n]:{};n%2?a(Object(c),!0).forEach(function(S){f(m,S,c[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(c)):a(Object(c)).forEach(function(S){Object.defineProperty(m,S,Object.getOwnPropertyDescriptor(c,S))})}return m}function f(m,n,c){return(n=u(n))in m?Object.defineProperty(m,n,{value:c,enumerable:!0,configurable:!0,writable:!0}):m[n]=c,m}function u(m){var n=l(m,"string");return i(n)=="symbol"?n:n+""}function l(m,n){if(i(m)!="object"||!m)return m;var c=m[Symbol.toPrimitive];if(c!==void 0){var S=c.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,c){return Math.max(n,Math.min(m,c))}var g=q.safePreventDefault=function(n){var c=["onTouchStart","onTouchMove","onWheel"];c.includes(n._reactName)||n.preventDefault()},x=q.getOnDemandLazySlides=function(n){for(var c=[],S=j(n),M=$(n),L=S;L<M;L++)n.lazyLoadedList.indexOf(L)<0&&c.push(L);return c};q.getRequiredLazySlides=function(n){for(var c=[],S=j(n),M=$(n),L=S;L<M;L++)c.push(L);return c};var j=q.lazyStartIndex=function(n){return n.currentSlide-E(n)},$=q.lazyEndIndex=function(n){return n.currentSlide+p(n)},E=q.lazySlidesOnLeft=function(n){return n.centerMode?Math.floor(n.slidesToShow/2)+(parseInt(n.centerPadding)>0?1:0):0},p=q.lazySlidesOnRight=function(n){return n.centerMode?Math.floor((n.slidesToShow-1)/2)+1+(parseInt(n.centerPadding)>0?1:0):n.slidesToShow},I=q.getWidth=function(n){return n&&n.offsetWidth||0},O=q.getHeight=function(n){return n&&n.offsetHeight||0},F=q.getSwipeDirection=function(n){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,S,M,L,z;return S=n.startX-n.curX,M=n.startY-n.curY,L=Math.atan2(M,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":c===!0?z>=35&&z<=135?"up":"down":"vertical"},U=q.canGoNext=function(n){var c=!0;return n.infinite||(n.centerMode&&n.currentSlide>=n.slideCount-1||n.slideCount<=n.slidesToShow||n.currentSlide>=n.slideCount-n.slidesToShow)&&(c=!1),c};q.extractObject=function(n,c){var S={};return c.forEach(function(M){return S[M]=n[M]}),S},q.initializedState=function(n){var c=e.default.Children.count(n.children),S=n.listRef,M=Math.ceil(I(S)),L=n.trackRef&&n.trackRef.node,z=Math.ceil(I(L)),N;if(n.vertical)N=M;else{var W=n.centerMode&&parseInt(n.centerPadding)*2;typeof n.centerPadding=="string"&&n.centerPadding.slice(-1)==="%"&&(W*=M/100),N=Math.ceil((M-W)/n.slidesToShow)}var B=S&&O(S.querySelector('[data-index="0"]')),G=B*n.slidesToShow,X=n.currentSlide===void 0?n.initialSlide:n.currentSlide;n.rtl&&n.currentSlide===void 0&&(X=c-1-n.initialSlide);var J=n.lazyLoadedList||[],te=x(s(s({},n),{},{currentSlide:X,lazyLoadedList:J}));J=J.concat(te);var Z={slideCount:c,slideWidth:N,listWidth:M,trackWidth:z,currentSlide:X,slideHeight:B,listHeight:G,lazyLoadedList:J};return n.autoplaying===null&&n.autoplay&&(Z.autoplaying="playing"),Z},q.slideHandler=function(n){var c=n.waitForAnimate,S=n.animating,M=n.fade,L=n.infinite,z=n.index,N=n.slideCount,W=n.lazyLoad,B=n.currentSlide,G=n.centerMode,X=n.slidesToScroll,J=n.slidesToShow,te=n.useCSS,Z=n.lazyLoadedList;if(c&&S)return{};var ee=z,ie,le,Q,oe={},ue={},ce=L?z:h(z,0,N-1);if(M){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>B?ee=ie=B:G&&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:P(s(s({},n),{},{left:Q})),swipeLeft:null,targetSlide:ce}):oe={currentSlide:ie,trackStyle:P(s(s({},n),{},{left:Q})),lazyLoadedList:Z,targetSlide:ce};return{state:oe,nextState:ue}},q.changeSlide=function(n,c){var S,M,L,z,N,W=n.slidesToScroll,B=n.slidesToShow,G=n.slideCount,X=n.currentSlide,J=n.targetSlide,te=n.lazyLoad,Z=n.infinite;if(z=G%W!==0,S=z?0:(G-X)%W,c.message==="previous")L=S===0?W:B-S,N=X-L,te&&!Z&&(M=X-L,N=M===-1?G-1:M),Z||(N=J-W);else if(c.message==="next")L=S===0?W:S,N=X+L,te&&!Z&&(N=(X+W)%G+S),Z||(N=J+W);else if(c.message==="dots")N=c.index*c.slidesToScroll;else if(c.message==="children"){if(N=c.index,Z){var ee=T(s(s({},n),{},{targetSlide:N}));N>c.currentSlide&&ee==="left"?N=N-G:N<c.currentSlide&&ee==="right"&&(N=N+G)}}else c.message==="index"&&(N=Number(c.index));return N},q.keyHandler=function(n,c,S){return n.target.tagName.match("TEXTAREA|INPUT|SELECT")||!c?"":n.keyCode===37?S?"next":"previous":n.keyCode===39?S?"previous":"next":""},q.swipeStart=function(n,c,S){return n.target.tagName==="IMG"&&g(n),!c||!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}}},q.swipeMove=function(n,c){var S=c.scrolling,M=c.animating,L=c.vertical,z=c.swipeToSlide,N=c.verticalSwiping,W=c.rtl,B=c.currentSlide,G=c.edgeFriction,X=c.edgeDragged,J=c.onEdge,te=c.swiped,Z=c.swiping,ee=c.slideCount,ie=c.slidesToScroll,le=c.infinite,Q=c.touchObject,oe=c.swipeEvent,ue=c.listHeight,ce=c.listWidth;if(!S){if(M)return g(n);L&&z&&N&&g(n);var pe,Pe={},tt=d(c);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 Qt=Math.round(Math.sqrt(Math.pow(Q.curY-Q.startY,2)));if(!N&&!Z&&Qt>10)return{scrolling:!0};N&&(Q.swipeLength=Qt);var $e=(W?-1:1)*(Q.curX>Q.startX?1:-1);N&&($e=Q.curY>Q.startY?1:-1);var Sn=Math.ceil(ee/ie),Ce=F(c.touchObject,N),Ie=Q.swipeLength;return le||(B===0&&(Ce==="right"||Ce==="down")||B+1>=Sn&&(Ce==="left"||Ce==="up")||!U(c)&&(Ce==="left"||Ce==="up"))&&(Ie=Q.swipeLength*G,X===!1&&J&&(J(Ce),Pe.edgeDragged=!0)),!te&&oe&&(oe(Ce),Pe.swiped=!0),L?pe=tt+Ie*(ue/ce)*$e:W?pe=tt-Ie*$e:pe=tt+Ie*$e,N&&(pe=tt+Ie*$e),Pe=s(s({},Pe),{},{touchObject:Q,swipeLeft:pe,trackStyle:P(s(s({},c),{},{left:pe}))}),Math.abs(Q.curX-Q.startX)<Math.abs(Q.curY-Q.startY)*.8||Q.swipeLength>10&&(Pe.swiping=!0,g(n)),Pe}},q.swipeEnd=function(n,c){var S=c.dragging,M=c.swipe,L=c.touchObject,z=c.listWidth,N=c.touchThreshold,W=c.verticalSwiping,B=c.listHeight,G=c.swipeToSlide,X=c.scrolling,J=c.onSwipe,te=c.targetSlide,Z=c.currentSlide,ee=c.infinite;if(!S)return M&&g(n),{};var ie=W?B/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(c),oe=G?v(c,ue):ue,Q.currentDirection=0;break;case"right":case"down":ue=ce-b(c),oe=G?v(c,ue):ue,Q.currentDirection=1;break;default:oe=ce}Q.triggerSlideHandler=oe}else{var pe=d(c);Q.trackStyle=y(s(s({},c),{},{left:pe}))}return Q};var V=q.getNavigableIndexes=function(n){for(var c=n.infinite?n.slideCount*2:n.slideCount,S=n.infinite?n.slidesToShow*-1:0,M=n.infinite?n.slidesToShow*-1:0,L=[];S<c;)L.push(S),S=M+n.slidesToScroll,M+=Math.min(n.slidesToScroll,n.slidesToShow);return L},v=q.checkNavigable=function(n,c){var S=V(n),M=0;if(c>S[S.length-1])c=S[S.length-1];else for(var L in S){if(c<S[L]){c=M;break}M=S[L]}return c},b=q.getSlideCount=function(n){var c=n.centerMode?n.slideWidth*Math.floor(n.slidesToShow/2):0;if(n.swipeToSlide){var S,M=n.listRef,L=M.querySelectorAll&&M.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-c+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=q.checkSpecKeys=function(n,c){return c.reduce(function(S,M){return S&&n.hasOwnProperty(M)},!0)?null:console.error("Keys Missing:",n)},P=q.getTrackCSS=function(n){w(n,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var c,S;if(!n.vertical)c=R(n)*n.slideWidth;else{var M=n.unslick?n.slideCount:n.slideCount+2*n.slidesToShow;S=M*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}),c&&(L.width=c),S&&(L.height=S),window&&!window.addEventListener&&window.attachEvent&&(n.vertical?L.marginTop=n.left+"px":L.marginLeft=n.left+"px"),L},y=q.getTrackAnimateCSS=function(n){w(n,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var c=P(n);return n.useTransform?(c.WebkitTransition="-webkit-transform "+n.speed+"ms "+n.cssEase,c.transition="transform "+n.speed+"ms "+n.cssEase):n.vertical?c.transition="top "+n.speed+"ms "+n.cssEase:c.transition="left "+n.speed+"ms "+n.cssEase,c},d=q.getTrackLeft=function(n){if(n.unslick)return 0;w(n,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var c=n.slideIndex,S=n.trackRef,M=n.infinite,L=n.centerMode,z=n.slideCount,N=n.slidesToShow,W=n.slidesToScroll,B=n.slideWidth,G=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(M?(oe=-k(n),z%W!==0&&c+W>z&&(oe=-(c>z?N-(c-z):z%W)),L&&(oe+=parseInt(N/2))):(z%W!==0&&c+W>z&&(oe=N-z%W),L&&(oe=parseInt(N/2))),ee=oe*B,Q=oe*J,Z?ie=c*J*-1+Q:ie=c*B*-1+ee,X===!0){var ue,ce=S&&S.node;if(ue=c+k(n),le=ce&&ce.childNodes[ue],ie=le?le.offsetLeft*-1:0,L===!0){ue=M?c+k(n):c,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&&(G-le.offsetWidth)/2}}return ie},k=q.getPreClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},A=q.getPostClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},R=q.getTotalSlides=function(n){return n.slideCount===1?1:k(n)+n.slideCount+A(n)},T=q.siblingDirection=function(n){return n.targetSlide>n.currentSlide?n.targetSlide>n.currentSlide+C(n)?"left":"right":n.targetSlide<n.currentSlide-_(n)?"right":"left"},C=q.slidesOnRight=function(n){var c=n.slidesToShow,S=n.centerMode,M=n.rtl,L=n.centerPadding;if(S){var z=(c-1)/2+1;return parseInt(L)>0&&(z+=1),M&&c%2===0&&(z+=1),z}return M?0:c-1},_=q.slidesOnLeft=function(n){var c=n.slidesToShow,S=n.centerMode,M=n.rtl,L=n.centerPadding;if(S){var z=(c-1)/2+1;return parseInt(L)>0&&(z+=1),!M&&c%2===0&&(z+=1),z}return M?c-1:0};q.canUseDOM=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)};var o=q.validSettings=Object.keys(t.default);function H(m){return o.reduce(function(n,c){return m.hasOwnProperty(c)&&(n[c]=m[c]),n},{})}return q}var Ne={},lr;function _n(){if(lr)return Ne;lr=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 f(y,d){if(!(y instanceof d))throw new TypeError("Cannot call a class as a function")}function u(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 l(y,d,k){return d&&u(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=E();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 j(this,k)}}function j(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 $(y)}function $(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}function E(){try{var y=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(E=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=V(y,"string");return a(d)=="symbol"?d:d+""}function V(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 _;d.targetSlide<0?_=d.targetSlide+d.slideCount:d.targetSlide>=d.slideCount?_=d.targetSlide-d.slideCount:_=d.targetSlide;var o=C===_;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},P=function(d){var k,A=[],R=[],T=[],C=e.default.Children.count(d.children),_=(0,r.lazyStartIndex)(d),o=(0,r.lazyEndIndex)(d);return e.default.Children.forEach(d.children,function(H,m){var n,c={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})),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,M),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(c)}})),d.infinite&&C>1&&d.fade===!1&&!d.unslick){var z=C-m;z<=(0,r.getPreClones)(d)&&(k=-z,k>=_&&(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,M),"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(c)}}))),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,M),"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(c)}})))}}),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;f(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($(A),"node",null),F($(A),"handleRef",function(_){A.node=_}),A}return l(k,[{key:"render",value:function(){var R=P(this.props),T=this.props,C=T.onMouseEnter,_=T.onMouseOver,o=T.onMouseLeave,H={onMouseEnter:C,onMouseOver:_,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={},ur;function jn(){if(ur)return Fe;ur=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 P=Object.getOwnPropertySymbols(v);b&&(P=P.filter(function(y){return Object.getOwnPropertyDescriptor(v,y).enumerable})),w.push.apply(w,P)}return w}function f(v){for(var b=1;b<arguments.length;b++){var w=arguments[b]!=null?arguments[b]:{};b%2?s(Object(w),!0).forEach(function(P){u(v,P,w[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(w)):s(Object(w)).forEach(function(P){Object.defineProperty(v,P,Object.getOwnPropertyDescriptor(w,P))})}return v}function u(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 l(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 P=b[w];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(v,x(P.key),P)}}function g(v,b,w){return b&&h(v.prototype,b),Object.defineProperty(v,"prototype",{writable:!1}),v}function x(v){var b=j(v,"string");return e(b)=="symbol"?b:b+""}function j(v,b){if(e(v)!="object"||!v)return v;var w=v[Symbol.toPrimitive];if(w!==void 0){var P=w.call(v,b);if(e(P)!="object")return P;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(v)}function $(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&&E(v,b)}function E(v,b){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,P){return w.__proto__=P,w},E(v,b)}function p(v){var b=F();return function(){var w,P=U(v);if(b){var y=U(this).constructor;w=Reflect.construct(P,arguments,y)}else w=P.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 V=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){$(w,v);var b=p(w);function w(){return l(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,_=y.slideCount,o=y.currentSlide,H=V({slideCount:_,slidesToScroll:T,slidesToShow:C,infinite:R}),m={onMouseEnter:d,onMouseOver:k,onMouseLeave:A},n=[],c=0;c<H;c++){var S=(c+1)*T-1,M=R?S:(0,i.clamp)(S,0,_-1),L=M-(T-1),z=R?L:(0,i.clamp)(L,0,_-1),N=(0,r.default)({"slick-active":R?o>=z&&o<=M:o===z}),W={message:"dots",index:c,slidesToScroll:T,currentSlide:o},B=this.clickHandler.bind(this,W);n=n.concat(t.default.createElement("li",{key:c,className:N},t.default.cloneElement(this.props.customPaging(c),{onClick:B})))}return t.default.cloneElement(this.props.appendDots(n),f({className:this.props.dotsClass},m))}}]),w}(t.default.PureComponent),Fe}var Ee={},cr;function Ln(){if(cr)return Ee;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(Ee,"__esModule",{value:!0}),Ee.PrevArrow=Ee.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 P in w)({}).hasOwnProperty.call(w,P)&&(v[P]=w[P])}return v},s.apply(null,arguments)}function f(v,b){var w=Object.keys(v);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(v);b&&(P=P.filter(function(y){return Object.getOwnPropertyDescriptor(v,y).enumerable})),w.push.apply(w,P)}return w}function u(v){for(var b=1;b<arguments.length;b++){var w=arguments[b]!=null?arguments[b]:{};b%2?f(Object(w),!0).forEach(function(P){l(v,P,w[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(w)):f(Object(w)).forEach(function(P){Object.defineProperty(v,P,Object.getOwnPropertyDescriptor(w,P))})}return v}function l(v,b,w){return(b=j(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 P=b[w];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(v,j(P.key),P)}}function x(v,b,w){return b&&g(v.prototype,b),Object.defineProperty(v,"prototype",{writable:!1}),v}function j(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 P=w.call(v,b);if(e(P)!="object")return P;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(v)}function E(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,P){return w.__proto__=P,w},p(v,b)}function I(v){var b=U();return function(){var w,P=V(v);if(b){var y=V(this).constructor;w=Reflect.construct(P,arguments,y)}else w=P.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 V(v){return V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},V(v)}return Ee.PrevArrow=function(v){E(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,u(u({},k),A)):R=t.default.createElement("button",s({key:"0",type:"button"},k)," ","Previous"),R}}]),w}(t.default.PureComponent),Ee.NextArrow=function(v){E(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,u(u({},k),A)):R=t.default.createElement("button",s({key:"1",type:"button"},k)," ","Next"),R}}]),w}(t.default.PureComponent),Ee}var $r=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 f=s[a];r.call(i,f[1],f[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")()}(),Dn=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(pt):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),Mn=2;function $n(e,t){var r=!1,i=!1,a=0;function s(){r&&(r=!1,e()),i&&u()}function f(){Dn(s)}function u(){var l=Date.now();if(r){if(l-a<Mn)return;i=!0}else r=!0,i=!1,setTimeout(f,t);a=l}return u}var In=20,An=["top","right","bottom","left","width","height","size","weight"],Hn=typeof MutationObserver<"u",zn=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=$n(this.refresh.bind(this),In)}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),Hn?(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=An.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}(),Ir=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},Te=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||pt},Ar=bt(0,0,0,0);function mt(e){return parseFloat(e)||0}function fr(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 Nn(e){for(var t=["top","right","bottom","left"],r={},i=0,a=t;i<a.length;i++){var s=a[i],f=e["padding-"+s];r[s]=mt(f)}return r}function Fn(e){var t=e.getBBox();return bt(0,0,t.width,t.height)}function Wn(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return Ar;var i=Te(e).getComputedStyle(e),a=Nn(i),s=a.left+a.right,f=a.top+a.bottom,u=mt(i.width),l=mt(i.height);if(i.boxSizing==="border-box"&&(Math.round(u+s)!==t&&(u-=fr(i,"left","right")+s),Math.round(l+f)!==r&&(l-=fr(i,"top","bottom")+f)),!Yn(e)){var h=Math.round(u+s)-t,g=Math.round(l+f)-r;Math.abs(h)!==1&&(u-=h),Math.abs(g)!==1&&(l-=g)}return bt(a.left,a.top,u,l)}var Un=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof Te(e).SVGGraphicsElement}:function(e){return e instanceof Te(e).SVGElement&&typeof e.getBBox=="function"}}();function Yn(e){return e===Te(e).document.documentElement}function qn(e){return It?Un(e)?Fn(e):Wn(e):Ar}function Bn(e){var t=e.x,r=e.y,i=e.width,a=e.height,s=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,f=Object.create(s.prototype);return Ir(f,{x:t,y:r,width:i,height:a,top:r,right:t+i,bottom:a+r,left:t}),f}function bt(e,t,r,i){return{x:e,y:t,width:r,height:i}}var Vn=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=qn(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}(),Xn=function(){function e(t,r){var i=Bn(r);Ir(this,{target:t,contentRect:i})}return e}(),Gn=function(){function e(t,r,i){if(this.activeObservations_=[],this.observations_=new $r,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 Te(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new Vn(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 Te(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 Xn(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}(),Hr=typeof WeakMap<"u"?new WeakMap:new $r,zr=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=zn.getInstance(),i=new Gn(t,r,this);Hr.set(this,i)}return e}();["observe","unobserve","disconnect"].forEach(function(e){zr.prototype[e]=function(){var t;return(t=Hr.get(this))[e].apply(t,arguments)}});var Kn=function(){return typeof pt.ResizeObserver<"u"?pt.ResizeObserver:zr}();const Jn=Object.freeze(Object.defineProperty({__proto__:null,default:Kn},Symbol.toStringTag,{value:"Module"})),Zn=On(Jn);var dr;function Qn(){if(dr)return ze;dr=1,Object.defineProperty(ze,"__esModule",{value:!0}),ze.InnerSlider=void 0;var e=h(Y),t=h(Rn()),r=h(Tn()),i=h(yt()),a=Ge(),s=_n(),f=jn(),u=Ln(),l=h(Zn);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 _ in C)({}).hasOwnProperty.call(C,_)&&(R[_]=C[_])}return R},x.apply(null,arguments)}function j(R,T){if(R==null)return{};var C,_,o=$(R,T);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(R);for(_=0;_<H.length;_++)C=H[_],T.includes(C)||{}.propertyIsEnumerable.call(R,C)&&(o[C]=R[C])}return o}function $(R,T){if(R==null)return{};var C={};for(var _ in R)if({}.hasOwnProperty.call(R,_)){if(T.includes(_))continue;C[_]=R[_]}return C}function E(R,T){var C=Object.keys(R);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(R);T&&(_=_.filter(function(o){return Object.getOwnPropertyDescriptor(R,o).enumerable})),C.push.apply(C,_)}return C}function p(R){for(var T=1;T<arguments.length;T++){var C=arguments[T]!=null?arguments[T]:{};T%2?E(Object(C),!0).forEach(function(_){d(R,_,C[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(C)):E(Object(C)).forEach(function(_){Object.defineProperty(R,_,Object.getOwnPropertyDescriptor(C,_))})}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 _=T[C];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(R,k(_.key),_)}}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&&V(R,T)}function V(R,T){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(C,_){return C.__proto__=_,C},V(R,T)}function v(R){var T=P();return function(){var C,_=y(R);if(T){var o=y(this).constructor;C=Reflect.construct(_,arguments,o)}else C=_.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 P(){try{var R=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(P=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 _=C.call(R,T);if(g(_)!="object")return _;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(_){var o;I(this,C),o=T.call(this,_),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(c){return{lazyLoadedList:c.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 l.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(c){c.onfocus=o.props.pauseOnFocus?o.onSlideFocus:null,c.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(M){return{lazyLoadedList:M.lazyLoadedList.concat(n)}}),o.props.onLazyLoad&&o.props.onLazyLoad(n))}o.adaptHeight();var c=p(p({listRef:o.list,trackRef:o.track},o.props),o.state),S=o.didPropsChange(m);S&&o.updateState(c,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 c=p(p({listRef:o.list,trackRef:o.track},o.props),o.state);o.updateState(c,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,c){var S=(0,a.initializedState)(m);m=p(p(p({},m),S),{},{slideIndex:S.currentSlide});var M=(0,a.getTrackLeft)(m);m=p(p({},m),{},{left:M});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,c)}),d(w(o),"ssrInit",function(){if(o.props.variableWidth){var m=0,n=0,c=[],S=(0,a.getPreClones)(p(p(p({},o.props),o.state),{},{slideCount:o.props.children.length})),M=(0,a.getPostClones)(p(p(p({},o.props),o.state),{},{slideCount:o.props.children.length}));o.props.children.forEach(function(le){c.push(le.props.style.width),m+=le.props.style.width});for(var L=0;L<S;L++)n+=c[c.length-1-L],m+=c[c.length-1-L];for(var z=0;z<M;z++)m+=c[z];for(var N=0;N<o.state.currentSlide;N++)n+=c[N];var W={width:m+"px",left:-n+"px"};if(o.props.centerMode){var B="".concat(c[o.state.currentSlide],"px");W.left="calc(".concat(W.left," + (100% - ").concat(B,") / 2 ) ")}return{trackStyle:W}}var G=e.default.Children.count(o.props.children),X=p(p(p({},o.props),o.state),{},{slideCount:G}),J=(0,a.getPreClones)(X)+(0,a.getPostClones)(X)+G,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,c=0;Array.prototype.forEach.call(m,function(S){var M=function(){return++c&&c>=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=M,S.onerror=function(){M(),o.props.onLazyLoadError&&o.props.onLazyLoadError()}))})}),d(w(o),"progressiveLazyLoad",function(){for(var m=[],n=p(p({},o.props),o.state),c=o.state.currentSlide;c<o.state.slideCount+(0,a.getPostClones)(n);c++)if(o.state.lazyLoadedList.indexOf(c)<0){m.push(c);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(M){return{lazyLoadedList:M.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,c=o.props,S=c.asNavFor,M=c.beforeChange,L=c.onLazyLoad,z=c.speed,N=c.afterChange,W=o.state.currentSlide,B=(0,a.slideHandler)(p(p(p({index:m},o.props),o.state),{},{trackRef:o.track,useCSS:o.props.useCSS&&!n})),G=B.state,X=B.nextState;if(G){M&&M(W,G.currentSlide);var J=G.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(G,function(){S&&o.asNavForIndex!==m&&(o.asNavForIndex=m,S.innerSlider.slideHandler(m)),X&&(o.animationEndCallback=setTimeout(function(){var te=X.animating,Z=j(X,["animating"]);o.setState(Z,function(){o.callbackTimers.push(setTimeout(function(){return o.setState({animating:te})},10)),N&&N(G.currentSlide),delete o.animationEndCallback})},z))})}}),d(w(o),"changeSlide",function(m){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,c=p(p({},o.props),o.state),S=(0,a.changeSlide)(c,m);if(!(S!==0&&!S)&&(n===!0?o.slideHandler(S,n):o.slideHandler(S),o.props.autoplay&&o.autoPlay("update"),o.props.focusOnSelect)){var M=o.list.querySelectorAll(".slick-current");M[0]&&M[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(c){c=c||window.event,c.preventDefault&&c.preventDefault(),c.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 c=n.triggerSlideHandler;delete n.triggerSlideHandler,o.setState(n),c!==void 0&&(o.slideHandler(c),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),c=(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;c=p(p({},c),{},{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 M;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}),M=e.default.createElement(f.Dots,L)}var N,W,B=(0,a.extractObject)(n,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);B.clickHandler=o.changeSlide,o.props.arrows&&(N=e.default.createElement(u.PrevArrow,B),W=e.default.createElement(u.NextArrow,B));var G=null;o.props.vertical&&(G={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({},G),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},c),o.props.children)),o.props.unslick?"":W,o.props.unslick?"":M)}),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 c=n[m];if(!o.hasOwnProperty(c)){H=!0;break}if(!(g(o[c])==="object"||typeof o[c]=="function"||isNaN(o[c]))&&o[c]!==this.props[c]){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,hr;function ei(){if(hr)return jt;hr=1;var e=function(t){return t.replace(/[A-Z]/g,function(r){return"-"+r.toLowerCase()}).toLowerCase()};return jt=e,jt}var Lt,pr;function ti(){if(pr)return Lt;pr=1;var e=ei(),t=function(a){var s=/[height|width]$/;return s.test(a)},r=function(a){var s="",f=Object.keys(a);return f.forEach(function(u,l){var h=a[u];u=e(u),t(u)&&typeof h=="number"&&(h=h+"px"),h===!0?s+=u:h===!1?s+="not "+u:s+="("+u+": "+h+")",l<f.length-1&&(s+=" and ")}),s},i=function(a){var s="";return typeof a=="string"?a:a instanceof Array?(a.forEach(function(f,u){s+=r(f),u<a.length-1&&(s+=", ")}),s):r(a)};return Lt=i,Lt}var mr;function ri(){return mr||(mr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(Y),r=Qn(),i=f(ti()),a=f(Mr()),s=Ge();function f(P){return P&&P.__esModule?P:{default:P}}function u(P){"@babel/helpers - typeof";return u=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},u(P)}function l(){return l=Object.assign?Object.assign.bind():function(P){for(var y=1;y<arguments.length;y++){var d=arguments[y];for(var k in d)({}).hasOwnProperty.call(d,k)&&(P[k]=d[k])}return P},l.apply(null,arguments)}function h(P,y){var d=Object.keys(P);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(P);y&&(k=k.filter(function(A){return Object.getOwnPropertyDescriptor(P,A).enumerable})),d.push.apply(d,k)}return d}function g(P){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(P,k,d[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(d)):h(Object(d)).forEach(function(k){Object.defineProperty(P,k,Object.getOwnPropertyDescriptor(d,k))})}return P}function x(P,y){if(!(P instanceof y))throw new TypeError("Cannot call a class as a function")}function j(P,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(P,b(k.key),k)}}function $(P,y,d){return y&&j(P.prototype,y),Object.defineProperty(P,"prototype",{writable:!1}),P}function E(P,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(y&&y.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),Object.defineProperty(P,"prototype",{writable:!1}),y&&p(P,y)}function p(P,y){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,k){return d.__proto__=k,d},p(P,y)}function I(P){var y=U();return function(){var d,k=V(P);if(y){var A=V(this).constructor;d=Reflect.construct(k,arguments,A)}else d=k.apply(this,arguments);return O(this,d)}}function O(P,y){if(y&&(u(y)=="object"||typeof y=="function"))return y;if(y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return F(P)}function F(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}function U(){try{var P=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(U=function(){return!!P})()}function V(P){return V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(y){return y.__proto__||Object.getPrototypeOf(y)},V(P)}function v(P,y,d){return(y=b(y))in P?Object.defineProperty(P,y,{value:d,enumerable:!0,configurable:!0,writable:!0}):P[y]=d,P}function b(P){var y=w(P,"string");return u(y)=="symbol"?y:y+""}function w(P,y){if(u(P)!="object"||!P)return P;var d=P[Symbol.toPrimitive];if(d!==void 0){var k=d.call(P,y);if(u(k)!="object")return k;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(P)}e.default=function(P){E(d,P);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,[{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,_){return C-_}),R.forEach(function(C,_){var o;_===0?o=(0,i.default)({minWidth:0,maxWidth:C}):o=(0,i.default)({minWidth:R[_-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 _=[],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 c=[],S=n;S<n+R.slidesPerRow&&(R.variableWidth&&C[S].props.style&&(o=C[S].props.style.width),!(S>=C.length));S+=1)c.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},c))}R.variableWidth?_.push(t.default.createElement("div",{key:H,style:{width:o}},m)):_.push(t.default.createElement("div",{key:H},m))}if(R==="unslick"){var M="regular slider "+(this.props.className||"");return t.default.createElement("div",{className:M},C)}else _.length<=R.slidesToShow&&(R.unslick=!0);return t.default.createElement(r.InnerSlider,l({style:this.props.style,ref:this.innerSliderRefHandler},(0,s.filterSettings)(R)),_)}}]),d}(t.default.Component)}(Pt)),Pt}var vr;function ni(){return vr||(vr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(ri());function r(i){return i&&i.__esModule?i:{default:i}}e.default=t.default}(Ct)),Ct}var ii=ni();const ai=Ut(ii);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 oi(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 si(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 li=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(si(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var s=oi(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-",Nr="comm",Yt="rule",qt="decl",ui="@import",Fr="@keyframes",ci="@layer",fi=Math.abs,wt=String.fromCharCode,di=Object.assign;function hi(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 Wr(e){return e.trim()}function pi(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 qe(e,t,r){return e.slice(t,r)}function ge(e){return e.length}function Bt(e){return e.length}function it(e,t){return t.push(e),e}function mi(e,t){return e.map(t).join("")}var St=1,_e=1,Ur=0,he=0,se=0,Le="";function xt(e,t,r,i,a,s,f){return{value:e,root:t,parent:r,type:i,props:a,children:s,line:St,column:_e,length:f,return:""}}function We(e,t){return di(xt("",null,null,"",null,null,0),e,{length:-e.length},t)}function vi(){return se}function gi(){return se=he>0?fe(Le,--he):0,_e--,se===10&&(_e=1,St--),se}function me(){return se=he<Ur?fe(Le,he++):0,_e++,se===10&&(_e=1,St++),se}function be(){return fe(Le,he)}function ot(){return he}function Ke(e,t){return qe(Le,e,t)}function Be(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 Yr(e){return St=_e=1,Ur=ge(Le=e),he=0,[]}function qr(e){return Le="",e}function st(e){return Wr(Ke(he-1,zt(e===91?e+2:e===40?e+1:e)))}function yi(e){for(;(se=be())&&se<33;)me();return Be(e)>2||Be(se)>3?"":" "}function bi(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 wi(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 Si(e){for(;!Be(be());)me();return Ke(e,he)}function xi(e){return qr(lt("",null,null,null,[""],e=Yr(e),0,[0],e))}function lt(e,t,r,i,a,s,f,u,l){for(var h=0,g=0,x=f,j=0,$=0,E=0,p=1,I=1,O=1,F=0,U="",V=a,v=s,b=i,w=U;I;)switch(E=F,F=me()){case 40:if(E!=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+=yi(E);break;case 92:w+=bi(ot()-1,7);continue;case 47:switch(be()){case 42:case 47:it(Oi(wi(me(),ot()),t,r),l);break;default:w+="/"}break;case 123*p:u[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,"")),$>0&&ge(w)-x&&it($>32?yr(w+";",i,r,x-1):yr(ne(w," ","")+";",i,r,x-2),l);break;case 59:w+=";";default:if(it(b=gr(w,t,r,h,g,a,u,U,V=[],v=[],x),s),F===123)if(g===0)lt(w,t,b,b,V,s,x,u,v);else switch(j===99&&fe(w,3)===110?100:j){case 100:case 108:case 109:case 115:lt(e,b,b,i&&it(gr(e,b,b,0,0,a,u,U,a,V=[],x),v),a,v,x,u,i?V:v);break;default:lt(w,b,b,b,[""],v,0,u,v)}}h=g=$=0,p=O=1,U=w="",x=f;break;case 58:x=1+ge(w),$=E;default:if(p<1){if(F==123)--p;else if(F==125&&p++==0&&gi()==125)continue}switch(w+=wt(F),F*p){case 38:O=g>0?1:(w+="\f",-1);break;case 44:u[h++]=(ge(w)-1)*O,O=1;break;case 64:be()===45&&(w+=st(me())),j=be(),g=x=ge(U=w+=Si(ot())),F++;break;case 45:E===45&&ge(w)==2&&(p=0)}}return s}function gr(e,t,r,i,a,s,f,u,l,h,g){for(var x=a-1,j=a===0?s:[""],$=Bt(j),E=0,p=0,I=0;E<i;++E)for(var O=0,F=qe(e,x+1,x=fi(p=f[E])),U=e;O<$;++O)(U=Wr(p>0?j[O]+" "+F:ne(F,/&\f/g,j[O])))&&(l[I++]=U);return xt(e,t,r,a===0?Yt:u,l,h,g)}function Oi(e,t,r){return xt(e,t,r,Nr,wt(vi()),qe(e,2,-2),0)}function yr(e,t,r,i){return xt(e,t,r,qt,qe(e,0,i),qe(e,i+1,-1),i)}function Re(e,t){for(var r="",i=Bt(e),a=0;a<i;a++)r+=t(e[a],a,e,t)||"";return r}function ki(e,t,r,i){switch(e.type){case ci:if(e.children.length)break;case ui:case qt:return e.return=e.return||e.value;case Nr:return"";case Fr:return e.return=e.value+"{"+Re(e.children,i)+"}";case Yt:e.value=e.props.join(",")}return ge(r=Re(e.children,i))?e.return=e.value+"{"+r+"}":""}function Ci(e){var t=Bt(e);return function(r,i,a,s){for(var f="",u=0;u<t;u++)f+=e[u](r,i,a,s)||"";return f}}function Pi(e){return function(t){t.root||(t=t.return)&&e(t)}}function Br(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ei=function(t,r,i){for(var a=0,s=0;a=s,s=be(),a===38&&s===12&&(r[i]=1),!Be(s);)me();return Ke(t,he)},Ri=function(t,r){var i=-1,a=44;do switch(Be(a)){case 0:a===38&&be()===12&&(r[i]=1),t[i]+=Ei(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},Ti=function(t,r){return qr(Ri(Yr(t),r))},br=new WeakMap,_i=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&&!br.get(i))&&!a){br.set(t,!0);for(var s=[],f=Ti(r,s),u=i.props,l=0,h=0;l<f.length;l++)for(var g=0;g<u.length;g++,h++)t.props[h]=s[l]?f[l].replace(/&\f/g,u[g]):u[g]+" "+f[l]}}},ji=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Vr(e,t){switch(hi(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")?Vr(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 Li=function(t,r,i,a){if(t.length>-1&&!t.return)switch(t.type){case qt:t.return=Vr(t.value,t.length);break;case Fr:return Re([We(t,{value:ne(t.value,"@","@"+re)})],a);case Yt:if(t.length)return mi(t.props,function(s){switch(pi(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Re([We(t,{props:[ne(s,/:(read-\w+)/,":"+vt+"$1")]})],a);case"::placeholder":return Re([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""})}},Di=[Li],Mi=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||Di,s={},f,u=[];f=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;u.push(p)});var l,h=[_i,ji];{var g,x=[ki,Pi(function(p){g.insert(p)})],j=Ci(h.concat(a,x)),$=function(I){return Re(xi(I),j)};l=function(I,O,F,U){g=F,$(I?I+"{"+O.styles+"}":O.styles),U&&(E.inserted[O.name]=!0)}}var E={key:r,sheet:new li({key:r,container:f,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:l};return E.sheet.hydrate(u),E},$i=!0;function Ii(e,t,r){var i="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):a&&(i+=a+" ")}),i}var Xr=function(t,r,i){var a=t.key+"-"+r.name;(i===!1||$i===!1)&&t.registered[a]===void 0&&(t.registered[a]=r.styles)},Ai=function(t,r,i){Xr(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 Hi(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 zi={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},Ni=/[A-Z]|^ms/g,Fi=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Gr=function(t){return t.charCodeAt(1)===45},wr=function(t){return t!=null&&typeof t!="boolean"},Dt=Br(function(e){return Gr(e)?e:e.replace(Ni,"-$&").toLowerCase()}),Sr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Fi,function(i,a,s){return ye={name:a,styles:s,next:ye},a})}return zi[t]!==1&&!Gr(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 f=s.next;if(f!==void 0)for(;f!==void 0;)ye={name:f.name,styles:f.styles,next:ye},f=f.next;var u=s.styles+";";return u}return Wi(e,t,r)}case"function":{if(e!==void 0){var l=ye,h=r(e);return ye=l,Ve(e,t,h)}break}}var g=r;if(t==null)return g;var x=t[g];return x!==void 0?x:g}function Wi(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 f=r[s];if(typeof f!="object"){var u=f;t!=null&&t[u]!==void 0?i+=s+"{"+t[u]+"}":wr(u)&&(i+=Dt(s)+":"+Sr(s,u)+";")}else if(Array.isArray(f)&&typeof f[0]=="string"&&(t==null||t[f[0]]===void 0))for(var l=0;l<f.length;l++)wr(f[l])&&(i+=Dt(s)+":"+Sr(s,f[l])+";");else{var h=Ve(e,t,f);switch(s){case"animation":case"animationName":{i+=Dt(s)+":"+h+";";break}default:i+=s+"{"+h+"}"}}}return i}var xr=/label:\s*([^\s;{]+)\s*(;|$)/g,ye;function Ui(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 f=s;a+=f[0]}for(var u=1;u<e.length;u++)if(a+=Ve(r,t,e[u]),i){var l=s;a+=l[u]}xr.lastIndex=0;for(var h="",g;(g=xr.exec(a))!==null;)h+="-"+g[1];var x=Hi(a)+h;return{name:x,styles:a,next:ye}}var Yi=function(t){return t()},qi=D.useInsertionEffect?D.useInsertionEffect:!1,Bi=qi||Yi,Kr=D.createContext(typeof HTMLElement<"u"?Mi({key:"css"}):null);Kr.Provider;var Vi=function(t){return Y.forwardRef(function(r,i){var a=Y.useContext(Kr);return t(r,a,i)})},Xi=D.createContext({}),Gi=/^((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)-.*))$/,Ki=Br(function(e){return Gi.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Ji=Ki,Zi=function(t){return t!=="theme"},Or=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Ji:Zi},kr=function(t,r,i){var a;if(r){var s=r.shouldForwardProp;a=t.__emotion_forwardProp&&s?function(f){return t.__emotion_forwardProp(f)&&s(f)}:s}return typeof a!="function"&&i&&(a=t.__emotion_forwardProp),a},Qi=function(t){var r=t.cache,i=t.serialized,a=t.isStringTag;return Xr(r,i,a),Bi(function(){return Ai(r,i,a)}),null},ea=function e(t,r){var i=t.__emotion_real===t,a=i&&t.__emotion_base||t,s,f;r!==void 0&&(s=r.label,f=r.target);var u=kr(t,r,i),l=u||Or(a),h=!l("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 j=g[0];x.push(j[0]);for(var $=g.length,E=1;E<$;E++)x.push(g[E],j[E])}var p=Vi(function(I,O,F){var U=h&&I.as||a,V="",v=[],b=I;if(I.theme==null){b={};for(var w in I)b[w]=I[w];b.theme=D.useContext(Xi)}typeof I.className=="string"?V=Ii(O.registered,v,I.className):I.className!=null&&(V=I.className+" ");var P=Ui(x.concat(v),O.registered,b);V+=O.key+"-"+P.name,f!==void 0&&(V+=" "+f);var y=h&&u===void 0?Or(U):l,d={};for(var k in I)h&&k==="as"||y(k)&&(d[k]=I[k]);return d.className=V,F&&(d.ref=F),D.createElement(D.Fragment,null,D.createElement(Qi,{cache:O,serialized:P,isStringTag:typeof U=="string"}),D.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=u,Object.defineProperty(p,"toString",{value:function(){return"."+f}}),p.withComponent=function(I,O){var F=e(I,At({},r,O,{shouldForwardProp:kr(p,O,!0)}));return F.apply(void 0,x)},p}},ta=["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"],je=ea.bind(null);ta.forEach(function(e){je[e]=je(e)});const ra=je.div`
|
|
27
27
|
width: 100%;
|
|
28
28
|
height: fit-content;
|
|
29
29
|
|
|
@@ -99,7 +99,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
99
99
|
opacity: 0.75;
|
|
100
100
|
color: black;
|
|
101
101
|
}
|
|
102
|
-
`,
|
|
102
|
+
`,na=je.div`
|
|
103
103
|
box-sizing: border-box;
|
|
104
104
|
display: flex;
|
|
105
105
|
flex-direction: column;
|
|
@@ -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
|
-
`,aa=({styles:e,content:t,settings:r,gap:i=15})=>{const[a,s]=U.useState(1),c=U.useRef(null),u=U.useRef(null);var l={dots:!1,speed:500,slidesToScroll:1,infinite:!1,variableWidth:!0,arrows:!1,rows:1,...r};const h=t.map((x,j)=>K.jsx(ia,{ref:j===0?u:void 0,styles:{paddingRight:`${i}px`,overflow:"visible",...x.styles},"data-testid":"carousel-slide-item",children:x.content})),g=()=>{if(l.slidesToShow){s(l.slidesToShow);return}const x=(c.current?.offsetWidth||i+1)-i,j=u.current?.offsetWidth||1;let M=Math.floor(x/j);M<1?M=1:M>t.length&&(M=t.length),console.debug("Slides to show > ",{container:x,slide:j,res:M}),s(M)};return U.useEffect(()=>{g()},[c,u]),K.jsx(na,{ref:c,styles:{...e},children:h.length>0&&K.jsx(oi,{...l,slidesToShow:a,children:h})})},oa=({checked:e,onToggle:t,styles:r,checkedStyles:i,customCheckedRender:a,customUncheckedRender:s})=>{const c=e?{...r,...i}:{...r};return K.jsxs("div",{onClick:u=>{u.preventDefault(),u.stopPropagation(),t?.(!e)},style:{width:"25px",height:"25px",borderRadius:"4px",border:"1px solid #969696ff",background:e?"#000000":"#ffffff",overflow:"hidden",objectFit:"contain",alignItems:"center",justifyContent:"center",display:"flex",...c},children:[e&&a,!e&&s]})},sa=e=>U.useEffect(e,[]),Jr=()=>{const[e,t]=U.useState({}),[r,i]=U.useState(!1);return U.useEffect(()=>{const a=u=>{t({x:u.clientX,y:u.clientY})},s=u=>{i(!0)},c=u=>{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}},Zr=({ref:e,onDrag:t,onDragStart:r,onDragEnd:i})=>{const a=U.useRef(!1),s=U.useRef(!1),{pointerPosition:c,isPointerDown:u}=Jr(),l=U.useRef({isDragging:!1}),h=U.useCallback(E=>{if(!e||!e.current||!l.current)return;const p={...l.current};return p.posY=E.y,p.posX=E.x,l.current.startPosX&&l.current.posX&&(p.distanceX=l.current.startPosX-l.current.posX),l.current.startPosY&&l.current.posY&&(p.distanceY=-(l.current.startPosY-l.current.posY)),p},[]),g=U.useCallback(E=>{E.preventDefault(),E.stopPropagation(),l.current.isDragging=!0,l.current.startPosY=E.clientY,l.current.startPosX=E.clientX;const p=h({x:E.clientX,y:E.clientY});p&&(l.current=p,r?.(p))},[h]),x=U.useCallback(E=>{l.current.isDragging=!1;const p=h(c);p&&(i?.(p),p.startPosX=void 0,p.startPosY=void 0,l.current=p)},[h,c]),j=U.useCallback(E=>{if(console.debug("useDrag > onPointerMove > Is Dragging >",l.current.isDragging),!l.current.isDragging)return;const p=h(c);console.debug("useDrag > onPointerMove > Drag Result >",p),p&&(t?.(p),l.current=p)},[h,c]),M=U.useCallback(async()=>{if(!a.current){for(;!e?.current;)await new Promise(E=>setTimeout(E,300));a.current=!0,e.current.onpointerdown=g,e.current.style.touchAction="none"}},[e?.current,g]);U.useEffect(()=>{M()},[M]),U.useEffect(()=>{j()},[c]),U.useEffect(()=>{u!==s.current&&(s.current=u,u||x())},[u,s.current])},la=()=>{const e=(u,l)=>{let h=0,g=`${u}`;for(const x in l){h===0&&(g=`${g}?`);const j=l[x];h>0&&(g=`${g}&`),g=`${g}${x}=${j}`,h++}return g},t=async(u,l,h,g)=>await(await fetch(u,{method:l,headers:h,body:g})).json();return{get:async(u,l)=>{const h=e(u,l);return t(h,"GET")},post:async(u,l)=>t(u,"POST",{"Content-Type":"application/json"},JSON.stringify(l)),put:async(u,l)=>t(u,"PUT",{"Content-Type":"application/json"},JSON.stringify(l)),patch:async(u,l)=>t(u,"PATCH",{"Content-Type":"application/json"},JSON.stringify(l)),delete:async(u,l)=>{const h=e(u,l);return t(h,"DELETE")}}};var ut={exports:{}},ua=ut.exports,Cr;function ca(){return Cr||(Cr=1,function(e,t){(function(r,i){e.exports=i()})(ua,function(){var r=1e3,i=6e4,a=36e5,s="millisecond",c="second",u="minute",l="hour",h="day",g="week",x="month",j="quarter",M="year",E="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(_){var C=["th","st","nd","rd"],R=_%100;return"["+_+(C[(R-20)%10]||C[R]||C[0])+"]"}},Y=function(_,C,R){var o=String(_);return!o||o.length>=C?_:""+Array(C+1-o.length).join(R)+_},V={s:Y,z:function(_){var C=-_.utcOffset(),R=Math.abs(C),o=Math.floor(R/60),H=R%60;return(C<=0?"+":"-")+Y(o,2,"0")+":"+Y(H,2,"0")},m:function _(C,R){if(C.date()<R.date())return-_(R,C);var o=12*(R.year()-C.year())+(R.month()-C.month()),H=C.clone().add(o,x),m=R-H<0,n=C.clone().add(o+(m?-1:1),x);return+(-(o+(R-H)/(m?H-n:n-H))||0)},a:function(_){return _<0?Math.ceil(_)||0:Math.floor(_)},p:function(_){return{M:x,y:M,w:g,d:h,D:E,h:l,m:u,s:c,ms:s,Q:j}[_]||String(_||"").toLowerCase().replace(/s$/,"")},u:function(_){return _===void 0}},v="en",b={};b[v]=F;var w="$isDayjsObject",P=function(_){return _ instanceof A||!(!_||!_[w])},y=function _(C,R,o){var H;if(!C)return v;if(typeof C=="string"){var m=C.toLowerCase();b[m]&&(H=m),R&&(b[m]=R,H=m);var n=C.split("-");if(!H&&n.length>1)return _(n[0])}else{var f=C.name;b[f]=C,H=f}return!o&&H&&(v=H),H||!o&&v},d=function(_,C){if(P(_))return _.clone();var R=typeof C=="object"?C:{};return R.date=_,R.args=arguments,new A(R)},k=V;k.l=y,k.i=P,k.w=function(_,C){return d(_,{locale:C.$L,utc:C.$u,x:C.$x,$offset:C.$offset})};var A=function(){function _(R){this.$L=y(R.locale,null,!0),this.parse(R),this.$x=this.$x||R.x||{},this[w]=!0}var C=_.prototype;return C.parse=function(R){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)}(R),this.init()},C.init=function(){var R=this.$d;this.$y=R.getFullYear(),this.$M=R.getMonth(),this.$D=R.getDate(),this.$W=R.getDay(),this.$H=R.getHours(),this.$m=R.getMinutes(),this.$s=R.getSeconds(),this.$ms=R.getMilliseconds()},C.$utils=function(){return k},C.isValid=function(){return this.$d.toString()!==p},C.isSame=function(R,o){var H=d(R);return this.startOf(o)<=H&&H<=this.endOf(o)},C.isAfter=function(R,o){return d(R)<this.startOf(o)},C.isBefore=function(R,o){return this.endOf(o)<d(R)},C.$g=function(R,o,H){return k.u(R)?this[o]:this.set(H,R)},C.unix=function(){return Math.floor(this.valueOf()/1e3)},C.valueOf=function(){return this.$d.getTime()},C.startOf=function(R,o){var H=this,m=!!k.u(o)||o,n=k.p(R),f=function(G,X){var J=k.w(H.$u?Date.UTC(H.$y,X,G):new Date(H.$y,X,G),H);return m?J:J.endOf(h)},S=function(G,X){return k.w(H.toDate()[G].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 M: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,B=($<W?$+7:$)-W;return f(m?z-B:z+(6-B),L);case h:case E:return S(N+"Hours",0);case l:return S(N+"Minutes",1);case u:return S(N+"Seconds",2);case c:return S(N+"Milliseconds",3);default:return this.clone()}},C.endOf=function(R){return this.startOf(R,!1)},C.$set=function(R,o){var H,m=k.p(R),n="set"+(this.$u?"UTC":""),f=(H={},H[h]=n+"Date",H[E]=n+"Date",H[x]=n+"Month",H[M]=n+"FullYear",H[l]=n+"Hours",H[u]=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===M){var $=this.clone().set(E,1);$.$d[f](S),$.init(),this.$d=$.set(E,Math.min(this.$D,$.daysInMonth())).$d}else f&&this.$d[f](S);return this.init(),this},C.set=function(R,o){return this.clone().$set(R,o)},C.get=function(R){return this[k.p(R)]()},C.add=function(R,o){var H,m=this;R=Number(R);var n=k.p(o),f=function(L){var z=d(m);return k.w(z.date(z.date()+Math.round(L*R)),m)};if(n===x)return this.set(x,this.$M+R);if(n===M)return this.set(M,this.$y+R);if(n===h)return f(1);if(n===g)return f(7);var S=(H={},H[u]=i,H[l]=a,H[c]=r,H)[n]||1,$=this.$d.getTime()+R*S;return k.w($,this)},C.subtract=function(R,o){return this.add(-1*R,o)},C.format=function(R){var o=this,H=this.$locale();if(!this.isValid())return H.invalidDate||p;var m=R||"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)},B=function(X){return k.s(f%12||12,X,"0")},G=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 B(1);case"hh":return B(2);case"a":return G(f,S,!0);case"A":return G(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(R,o,H){var m,n=this,f=k.p(o),S=d(R),$=(S.utcOffset()-this.utcOffset())*i,L=this-S,z=function(){return k.m(n,S)};switch(f){case M:m=z()/12;break;case x:m=z();break;case j:m=z()/3;break;case g:m=(L-$)/6048e5;break;case h:m=(L-$)/864e5;break;case l:m=L/a;break;case u: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(R,o){if(!R)return this.$L;var H=this.clone(),m=y(R,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=A.prototype;return d.prototype=T,[["$ms",s],["$s",c],["$m",u],["$H",l],["$W",h],["$M",x],["$y",M],["$D",E]].forEach(function(_){T[_[1]]=function(C){return this.$g(C,_[0],_[1])}}),d.extend=function(_,C){return _.$i||(_(C,A,d),_.$i=!0),d},d.locale=y,d.isDayjs=P,d.unix=function(_){return d(1e3*_)},d.en=b[v],d.Ls=b,d.p={},d})}(ut)),ut.exports}var fa=ca();const ct=Ut(fa);var ft={exports:{}},da=ft.exports,Pr;function ha(){return Pr||(Pr=1,function(e,t){(function(r,i){e.exports=i()})(da,function(){var r="minute",i=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(s,c,u){var l=c.prototype;u.utc=function(p){var I={date:p,utc:!0,args:arguments};return new c(I)},l.utc=function(p){var I=u(this.toDate(),{locale:this.$L,utc:!0});return p?I.add(this.utcOffset(),r):I},l.local=function(){return u(this.toDate(),{locale:this.$L,utc:!1})};var h=l.parse;l.parse=function(p){p.utc&&(this.$u=!0),this.$utils().u(p.$offset)||(this.$offset=p.$offset),h.call(this,p)};var g=l.init;l.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=l.utcOffset;l.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],P=w[0],y=60*+w[1]+ +w[2];return y===0?0:P==="+"?y:-y}(p),p===null))return this;var F=Math.abs(p)<=16?60*p:p;if(F===0)return this.utc(I);var Y=this.clone();if(I)return Y.$offset=F,Y.$u=!1,Y;var V=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(Y=this.local().add(F+V,r)).$offset=F,Y.$x.$localOffset=V,Y};var j=l.format;l.format=function(p){var I=p||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return j.call(this,I)},l.valueOf=function(){var p=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*p},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var M=l.toDate;l.toDate=function(p){return p==="s"&&this.$offset?u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():M.call(this)};var E=l.diff;l.diff=function(p,I,O){if(p&&this.$u===p.$u)return E.call(this,p,I,O);var F=this.local(),Y=u(p).local();return E.call(F,Y,I,O)}}})}(ft)),ft.exports}var pa=ha();const ma=Ut(pa);ct.extend(ma);class Qr{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 getDateInUTC=t=>{try{const r=ct.utc(t),i=r.date(),a=r.month(),s=r.year(),c=r.hour(),u=r.minute(),l=r.day();return{day:i,month:a,year:s,hour:c,minute:u,weekday:l}}catch{return}};static formatDateLocalTime=(t,r)=>t?ct.utc(t).local().format(r||"DD/MM/YYYYㆍHH:mm"):"";static formatDateUTC=(t,r)=>t?ct.utc(t).format(r||"DD/MM/YYYYㆍHH:mm"):""}const va=(e,t=0)=>{const r=U.useRef(0),[i,a]=U.useState(0),s=U.useRef(null),[c,u]=U.useState(!1),l=U.useCallback(()=>{u(x=>!x)},[]),h=U.useCallback(()=>r.current===0?!1:i>=r.current-t,[t,i]),g=U.useCallback(()=>e.current!==null&&e.current!==void 0,[e]);return U.useEffect(()=>{const x=()=>{if(!e.current)return;const M=e.current.scrollHeight-e.current.clientHeight;r.current=M,a(e.current.scrollTop)};return(async()=>{await Qr.waitForCondition(g),s.current=e.current,s.current?.addEventListener("scroll",x)})(),()=>{s.current?.removeEventListener("scroll",x)}},[e,r,a,i,g,c]),{isTouchingBottom:h(),refresh:l}},en={xs:0,sm:420,md:768,lg:991,xl:1200,xxl:1440},ga=e=>{const t={...en,...e?.breakpointConfiguration},[r,i]=U.useState(Er(t)),a=()=>{i(Er(t))};return U.useEffect(()=>(window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)}),[]),U.useMemo(()=>r,[r])},ya=(e,t)=>e<t.sm?"xs":e<t.md?"sm":e<t.lg?"md":e<t.xl?"lg":e<t.xxl?"xl":"xxl",ba=(e,t)=>e<=t.sm?"mobile":e<=t.md?"tablet":"desktop",Er=e=>{const t=window.innerWidth,r=window.innerHeight,i=ya(t,e),a=ba(t,e);return{currentWidth:t,currentHeight:r,currentBreakpoint:i,currentSize:a}},wa=e=>{const t=e.translations,r=e.language,i=(s,c)=>{if(!s)return;let u=s[r];if(u)return c&&Object.keys(c).forEach(l=>{const h=c[l];u=u.replaceAll(`{{${l}}}`,`${h}`)}),u};return{t:(s,c)=>{if(t[s]){const u=i(t[s],c);return u??s}return s},getTranslation:i}};var Ue={},Tr;function Sa(){if(Tr)return Ue;Tr=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 j=function(){};return j.prototype=Object.create(null),j})();function c(j,M){const E=new s,p=j.length;if(p<2)return E;const I=M?.decode||g;let O=0;do{const F=j.indexOf("=",O);if(F===-1)break;const Y=j.indexOf(";",O),V=Y===-1?p:Y;if(F>V){O=j.lastIndexOf(";",F-1)+1;continue}const v=u(j,O,F),b=l(j,F,v),w=j.slice(v,b);if(E[w]===void 0){let P=u(j,F+1,V),y=l(j,V,P);const d=I(j.slice(P,y));E[w]=d}O=V+1}while(O<p);return E}function u(j,M,E){do{const p=j.charCodeAt(M);if(p!==32&&p!==9)return M}while(++M<E);return E}function l(j,M,E){for(;M>E;){const p=j.charCodeAt(--M);if(p!==32&&p!==9)return M+1}return E}function h(j,M,E){const p=E?.encode||encodeURIComponent;if(!e.test(j))throw new TypeError(`argument name is invalid: ${j}`);const I=p(M);if(!t.test(I))throw new TypeError(`argument val is invalid: ${M}`);let O=j+"="+I;if(!E)return O;if(E.maxAge!==void 0){if(!Number.isInteger(E.maxAge))throw new TypeError(`option maxAge is invalid: ${E.maxAge}`);O+="; Max-Age="+E.maxAge}if(E.domain){if(!r.test(E.domain))throw new TypeError(`option domain is invalid: ${E.domain}`);O+="; Domain="+E.domain}if(E.path){if(!i.test(E.path))throw new TypeError(`option path is invalid: ${E.path}`);O+="; Path="+E.path}if(E.expires){if(!x(E.expires)||!Number.isFinite(E.expires.valueOf()))throw new TypeError(`option expires is invalid: ${E.expires}`);O+="; Expires="+E.expires.toUTCString()}if(E.httpOnly&&(O+="; HttpOnly"),E.secure&&(O+="; Secure"),E.partitioned&&(O+="; Partitioned"),E.priority)switch(typeof E.priority=="string"?E.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: ${E.priority}`)}if(E.sameSite)switch(typeof E.sameSite=="string"?E.sameSite.toLowerCase():E.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: ${E.sameSite}`)}return O}function g(j){if(j.indexOf("%")===-1)return j;try{return decodeURIComponent(j)}catch{return j}}function x(j){return a.call(j)==="[object Date]"}return Ue}Sa();/**
|
|
115
|
+
`,ia=({styles:e,content:t,settings:r,gap:i=15})=>{const[a,s]=Y.useState(1),f=Y.useRef(null),u=Y.useRef(null);var l={dots:!1,speed:500,slidesToScroll:1,infinite:!1,variableWidth:!0,arrows:!1,rows:1,...r};const h=t.map((x,j)=>K.jsx(na,{ref:j===0?u:void 0,styles:{paddingRight:`${i}px`,overflow:"visible",...x.styles},"data-testid":"carousel-slide-item",children:x.content})),g=()=>{if(l.slidesToShow){s(l.slidesToShow);return}const x=(f.current?.offsetWidth||i+1)-i,j=u.current?.offsetWidth||1;let $=Math.floor(x/j);$<1?$=1:$>t.length&&($=t.length),console.debug("Slides to show > ",{container:x,slide:j,res:$}),s($)};return Y.useEffect(()=>{g()},[f,u]),K.jsx(ra,{ref:f,styles:{...e},children:h.length>0&&K.jsx(ai,{...l,slidesToShow:a,children:h})})},aa=({checked:e,onToggle:t,styles:r,checkedStyles:i,customCheckedRender:a,customUncheckedRender:s})=>{const f=e?{...r,...i}:{...r};return K.jsxs("div",{onClick:u=>{u.preventDefault(),u.stopPropagation(),t?.(!e)},style:{width:"25px",height:"25px",borderRadius:"4px",border:"1px solid #969696ff",background:e?"#000000":"#ffffff",overflow:"hidden",objectFit:"contain",alignItems:"center",justifyContent:"center",display:"flex",...f},children:[e&&a,!e&&s]})},oa=e=>Y.useEffect(e,[]),Jr=()=>{const[e,t]=Y.useState({}),[r,i]=Y.useState(!1);return Y.useEffect(()=>{const a=u=>{t({x:u.clientX,y:u.clientY})},s=u=>{i(!0)},f=u=>{i(!1)};return window.addEventListener("pointermove",a),window.addEventListener("pointerdown",s),window.addEventListener("pointerup",f),()=>{window.removeEventListener("pointermove",a),window.removeEventListener("pointerdown",s),window.removeEventListener("pointerup",f)}},[]),{pointerPosition:e,isPointerDown:r}},Zr=({ref:e,onDrag:t,onDragStart:r,onDragEnd:i})=>{const a=Y.useRef(!1),s=Y.useRef(!1),{pointerPosition:f,isPointerDown:u}=Jr(),l=Y.useRef({isDragging:!1}),h=Y.useCallback(E=>{if(!e||!e.current||!l.current)return;const p={...l.current};return p.posY=E.y,p.posX=E.x,l.current.startPosX&&l.current.posX&&(p.distanceX=l.current.startPosX-l.current.posX),l.current.startPosY&&l.current.posY&&(p.distanceY=-(l.current.startPosY-l.current.posY)),p},[]),g=Y.useCallback(E=>{E.preventDefault(),E.stopPropagation(),l.current.isDragging=!0,l.current.startPosY=E.clientY,l.current.startPosX=E.clientX;const p=h({x:E.clientX,y:E.clientY});p&&(l.current=p,r?.(p))},[h]),x=Y.useCallback(E=>{l.current.isDragging=!1;const p=h(f);p&&(i?.(p),p.startPosX=void 0,p.startPosY=void 0,l.current=p)},[h,f]),j=Y.useCallback(E=>{if(console.debug("useDrag > onPointerMove > Is Dragging >",l.current.isDragging),!l.current.isDragging)return;const p=h(f);console.debug("useDrag > onPointerMove > Drag Result >",p),p&&(t?.(p),l.current=p)},[h,f]),$=Y.useCallback(async()=>{if(!a.current){for(;!e?.current;)await new Promise(E=>setTimeout(E,300));a.current=!0,e.current.onpointerdown=g,e.current.style.touchAction="none"}},[e?.current,g]);Y.useEffect(()=>{$()},[$]),Y.useEffect(()=>{j()},[f]),Y.useEffect(()=>{u!==s.current&&(s.current=u,u||x())},[u,s.current])},sa=()=>{const e=(u,l)=>{let h=0,g=`${u}`;for(const x in l){h===0&&(g=`${g}?`);const j=l[x];h>0&&(g=`${g}&`),g=`${g}${x}=${j}`,h++}return g},t=async(u,l,h,g)=>await(await fetch(u,{method:l,headers:h,body:g})).json();return{get:async(u,l)=>{const h=e(u,l);return t(h,"GET")},post:async(u,l)=>t(u,"POST",{"Content-Type":"application/json"},JSON.stringify(l)),put:async(u,l)=>t(u,"PUT",{"Content-Type":"application/json"},JSON.stringify(l)),patch:async(u,l)=>t(u,"PATCH",{"Content-Type":"application/json"},JSON.stringify(l)),delete:async(u,l)=>{const h=e(u,l);return t(h,"DELETE")}}},Qr={xs:0,sm:420,md:768,lg:991,xl:1200,xxl:1440},la=e=>{const t={...Qr,...e?.breakpointConfiguration},[r,i]=Y.useState(Cr(t)),a=()=>{i(Cr(t))};return Y.useEffect(()=>(window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)}),[]),Y.useMemo(()=>r,[r])},ua=(e,t)=>e<t.sm?"xs":e<t.md?"sm":e<t.lg?"md":e<t.xl?"lg":e<t.xxl?"xl":"xxl",ca=(e,t)=>e<=t.sm?"mobile":e<=t.md?"tablet":"desktop",Cr=e=>{const t=window.innerWidth,r=window.innerHeight,i=ua(t,e),a=ca(t,e);return{currentWidth:t,currentHeight:r,currentBreakpoint:i,currentSize:a}},fa=e=>{const t=e.translations,r=e.language,i=(s,f)=>{if(!s)return;let u=s[r];if(u)return f&&Object.keys(f).forEach(l=>{const h=f[l];u=u.replaceAll(`{{${l}}}`,`${h}`)}),u};return{t:(s,f)=>{if(t[s]){const u=i(t[s],f);return u??s}return s},getTranslation:i}};var Ue={},Pr;function da(){if(Pr)return Ue;Pr=1,Object.defineProperty(Ue,"__esModule",{value:!0}),Ue.parse=f,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 j=function(){};return j.prototype=Object.create(null),j})();function f(j,$){const E=new s,p=j.length;if(p<2)return E;const I=$?.decode||g;let O=0;do{const F=j.indexOf("=",O);if(F===-1)break;const U=j.indexOf(";",O),V=U===-1?p:U;if(F>V){O=j.lastIndexOf(";",F-1)+1;continue}const v=u(j,O,F),b=l(j,F,v),w=j.slice(v,b);if(E[w]===void 0){let P=u(j,F+1,V),y=l(j,V,P);const d=I(j.slice(P,y));E[w]=d}O=V+1}while(O<p);return E}function u(j,$,E){do{const p=j.charCodeAt($);if(p!==32&&p!==9)return $}while(++$<E);return E}function l(j,$,E){for(;$>E;){const p=j.charCodeAt(--$);if(p!==32&&p!==9)return $+1}return E}function h(j,$,E){const p=E?.encode||encodeURIComponent;if(!e.test(j))throw new TypeError(`argument name is invalid: ${j}`);const I=p($);if(!t.test(I))throw new TypeError(`argument val is invalid: ${$}`);let O=j+"="+I;if(!E)return O;if(E.maxAge!==void 0){if(!Number.isInteger(E.maxAge))throw new TypeError(`option maxAge is invalid: ${E.maxAge}`);O+="; Max-Age="+E.maxAge}if(E.domain){if(!r.test(E.domain))throw new TypeError(`option domain is invalid: ${E.domain}`);O+="; Domain="+E.domain}if(E.path){if(!i.test(E.path))throw new TypeError(`option path is invalid: ${E.path}`);O+="; Path="+E.path}if(E.expires){if(!x(E.expires)||!Number.isFinite(E.expires.valueOf()))throw new TypeError(`option expires is invalid: ${E.expires}`);O+="; Expires="+E.expires.toUTCString()}if(E.httpOnly&&(O+="; HttpOnly"),E.secure&&(O+="; Secure"),E.partitioned&&(O+="; Partitioned"),E.priority)switch(typeof E.priority=="string"?E.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: ${E.priority}`)}if(E.sameSite)switch(typeof E.sameSite=="string"?E.sameSite.toLowerCase():E.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: ${E.sameSite}`)}return O}function g(j){if(j.indexOf("%")===-1)return j;try{return decodeURIComponent(j)}catch{return j}}function x(j){return a.call(j)==="[object Date]"}return Ue}da();/**
|
|
116
116
|
* react-router v7.6.3
|
|
117
117
|
*
|
|
118
118
|
* Copyright (c) Remix Software Inc.
|
|
@@ -121,9 +121,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
121
121
|
* LICENSE.md file in the root directory of this source tree.
|
|
122
122
|
*
|
|
123
123
|
* @license MIT
|
|
124
|
-
*/var _r="popstate";function xa(e={}){function t(i,a){let{pathname:s,search:c,hash:u}=i.location;return Nt("",{pathname:s,search:c,hash:u},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function r(i,a){return typeof a=="string"?a:Xe(a)}return ka(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 Oa(){return Math.random().toString(36).substring(2,10)}function Rr(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"?De(t):t,state:r,key:t&&t.key||i||Oa()}}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 De(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 ka(e,t,r,i={}){let{window:a=document.defaultView,v5Compat:s=!1}=i,c=a.history,u="POP",l=null,h=g();h==null&&(h=0,c.replaceState({...c.state,idx:h},""));function g(){return(c.state||{idx:null}).idx}function x(){u="POP";let I=g(),O=I==null?null:I-h;h=I,l&&l({action:u,location:p.location,delta:O})}function j(I,O){u="PUSH";let F=Nt(p.location,I,O);h=g()+1;let Y=Rr(F,h),V=p.createHref(F);try{c.pushState(Y,"",V)}catch(v){if(v instanceof DOMException&&v.name==="DataCloneError")throw v;a.location.assign(V)}s&&l&&l({action:u,location:p.location,delta:1})}function M(I,O){u="REPLACE";let F=Nt(p.location,I,O);h=g();let Y=Rr(F,h),V=p.createHref(F);c.replaceState(Y,"",V),s&&l&&l({action:u,location:p.location,delta:0})}function E(I){return Ca(I)}let p={get action(){return u},get location(){return e(a,c)},listen(I){if(l)throw new Error("A history only accepts one active listener");return a.addEventListener(_r,x),l=I,()=>{a.removeEventListener(_r,x),l=null}},createHref(I){return t(a,I)},createURL:E,encodeLocation(I){let O=E(I);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:j,replace:M,go(I){return c.go(I)}};return p}function Ca(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 Pa(e,t,r,!1)}function Pa(e,t,r,i){let a=typeof t=="string"?De(t):t,s=xe(a.pathname||"/",r);if(s==null)return null;let c=rn(e);Ea(c);let u=null;for(let l=0;u==null&&l<c.length;++l){let h=Ha(s);u=Ia(c[l],h,i)}return u}function rn(e,t=[],r=[],i=""){let a=(s,c,u)=>{let l={relativePath:u===void 0?s.path||"":u,caseSensitive:s.caseSensitive===!0,childrenIndex:c,route:s};l.relativePath.startsWith("/")&&(ae(l.relativePath.startsWith(i),`Absolute route path "${l.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),l.relativePath=l.relativePath.slice(i.length));let h=Se([i,l.relativePath]),g=r.concat(l);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:Ma(h,s.index),routesMeta:g})};return e.forEach((s,c)=>{if(s.path===""||!s.path?.includes("?"))a(s,c);else for(let u of nn(s.path))a(s,c,u)}),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("/")),u=[];return u.push(...c.map(l=>l===""?s:[s,l].join("/"))),a&&u.push(...c),u.map(l=>e.startsWith("/")&&l===""?"/":l)}function Ea(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 Ta=/^:[\w-]+$/,_a=3,Ra=2,ja=1,La=10,Da=-2,jr=e=>e==="*";function Ma(e,t){let r=e.split("/"),i=r.length;return r.some(jr)&&(i+=Da),t&&(i+=Ra),r.filter(a=>!jr(a)).reduce((a,s)=>a+(Ta.test(s)?_a:s===""?ja:La),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 Ia(e,t,r=!1){let{routesMeta:i}=e,a={},s="/",c=[];for(let u=0;u<i.length;++u){let l=i[u],h=u===i.length-1,g=s==="/"?t:t.slice(s.length)||"/",x=gt({path:l.relativePath,caseSensitive:l.caseSensitive,end:h},g),j=l.route;if(!x&&h&&r&&!i[i.length-1].route.index&&(x=gt({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},g)),!x)return null;Object.assign(a,x.params),c.push({params:a,pathname:Se([s,x.pathname]),pathnameBase:Wa(Se([s,x.pathnameBase])),route:j}),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]=Aa(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let s=a[0],c=s.replace(/(.)\/+$/,"$1"),u=a.slice(1);return{params:i.reduce((h,{paramName:g,isOptional:x},j)=>{if(g==="*"){let E=u[j]||"";c=s.slice(0,s.length-E.length).replace(/(.)\/+$/,"$1")}const M=u[j];return x&&!M?h[g]=void 0:h[g]=(M||"").replace(/%2F/g,"/"),h},{}),pathname:s,pathnameBase:c,pattern:e}}function Aa(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,u,l)=>(i.push({paramName:u,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(i.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),i]}function Ha(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 za(e,t="/"){let{pathname:r,search:i="",hash:a=""}=typeof e=="string"?De(e):e;return{pathname:r?r.startsWith("/")?r:Na(r,t):t,search:Ua(i),hash:Ya(a)}}function Na(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 Fa(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function an(e){let t=Fa(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=De(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,u;if(c==null)u=r;else{let x=t.length-1;if(!i&&c.startsWith("..")){let j=c.split("/");for(;j[0]==="..";)j.shift(),x-=1;a.pathname=j.join("/")}u=x>=0?t[x]:"/"}let l=za(a,u),h=c&&c!=="/"&&c.endsWith("/"),g=(s||c===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(h||g)&&(l.pathname+="/"),l}var Se=e=>e.join("/").replace(/\/\/+/g,"/"),Wa=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ua=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Ya=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function qa(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 Ba=["GET",...sn];new Set(Ba);var Me=D.createContext(null);Me.displayName="DataRouter";var Ot=D.createContext(null);Ot.displayName="DataRouterState";var ln=D.createContext({isTransitioning:!1});ln.displayName="ViewTransition";var Va=D.createContext(new Map);Va.displayName="Fetchers";var Xa=D.createContext(null);Xa.displayName="Await";var we=D.createContext(null);we.displayName="Navigation";var Je=D.createContext(null);Je.displayName="Location";var Oe=D.createContext({outlet:null,matches:[],isDataRoute:!1});Oe.displayName="Route";var Vt=D.createContext(null);Vt.displayName="RouteError";function Ga(e,{relative:t}={}){ae(Ze(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:i}=D.useContext(we),{hash:a,pathname:s,search:c}=Qe(e,{relative:t}),u=s;return r!=="/"&&(u=s==="/"?r:Se([r,s])),i.createHref({pathname:u,search:c,hash:a})}function Ze(){return D.useContext(Je)!=null}function ke(){return ae(Ze(),"useLocation() may be used only in the context of a <Router> component."),D.useContext(Je).location}var un="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function cn(e){D.useContext(we).static||D.useLayoutEffect(e)}function Xt(){let{isDataRoute:e}=D.useContext(Oe);return e?lo():Ka()}function Ka(){ae(Ze(),"useNavigate() may be used only in the context of a <Router> component.");let e=D.useContext(Me),{basename:t,navigator:r}=D.useContext(we),{matches:i}=D.useContext(Oe),{pathname:a}=ke(),s=JSON.stringify(an(i)),c=D.useRef(!1);return cn(()=>{c.current=!0}),D.useCallback((l,h={})=>{if(ve(c.current,un),!c.current)return;if(typeof l=="number"){r.go(l);return}let g=on(l,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])}D.createContext(null);function Qe(e,{relative:t}={}){let{matches:r}=D.useContext(Oe),{pathname:i}=ke(),a=JSON.stringify(an(r));return D.useMemo(()=>on(e,JSON.parse(a),i,t==="path"),[e,a,i,t])}function Ja(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}=D.useContext(we),{matches:s}=D.useContext(Oe),c=s[s.length-1],u=c?c.params:{},l=c?c.pathname:"/",h=c?c.pathnameBase:"/",g=c&&c.route;{let O=g&&g.path||"";dn(l,!g||O.endsWith("*")||O.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (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.
|
|
124
|
+
*/var Er="popstate";function ha(e={}){function t(i,a){let{pathname:s,search:f,hash:u}=i.location;return Nt("",{pathname:s,search:f,hash:u},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function r(i,a){return typeof a=="string"?a:Xe(a)}return ma(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 pa(){return Math.random().toString(36).substring(2,10)}function Rr(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"?De(t):t,state:r,key:t&&t.key||i||pa()}}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 De(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 ma(e,t,r,i={}){let{window:a=document.defaultView,v5Compat:s=!1}=i,f=a.history,u="POP",l=null,h=g();h==null&&(h=0,f.replaceState({...f.state,idx:h},""));function g(){return(f.state||{idx:null}).idx}function x(){u="POP";let I=g(),O=I==null?null:I-h;h=I,l&&l({action:u,location:p.location,delta:O})}function j(I,O){u="PUSH";let F=Nt(p.location,I,O);h=g()+1;let U=Rr(F,h),V=p.createHref(F);try{f.pushState(U,"",V)}catch(v){if(v instanceof DOMException&&v.name==="DataCloneError")throw v;a.location.assign(V)}s&&l&&l({action:u,location:p.location,delta:1})}function $(I,O){u="REPLACE";let F=Nt(p.location,I,O);h=g();let U=Rr(F,h),V=p.createHref(F);f.replaceState(U,"",V),s&&l&&l({action:u,location:p.location,delta:0})}function E(I){return va(I)}let p={get action(){return u},get location(){return e(a,f)},listen(I){if(l)throw new Error("A history only accepts one active listener");return a.addEventListener(Er,x),l=I,()=>{a.removeEventListener(Er,x),l=null}},createHref(I){return t(a,I)},createURL:E,encodeLocation(I){let O=E(I);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:j,replace:$,go(I){return f.go(I)}};return p}function va(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 en(e,t,r="/"){return ga(e,t,r,!1)}function ga(e,t,r,i){let a=typeof t=="string"?De(t):t,s=xe(a.pathname||"/",r);if(s==null)return null;let f=tn(e);ya(f);let u=null;for(let l=0;u==null&&l<f.length;++l){let h=Ta(s);u=Ea(f[l],h,i)}return u}function tn(e,t=[],r=[],i=""){let a=(s,f,u)=>{let l={relativePath:u===void 0?s.path||"":u,caseSensitive:s.caseSensitive===!0,childrenIndex:f,route:s};l.relativePath.startsWith("/")&&(ae(l.relativePath.startsWith(i),`Absolute route path "${l.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),l.relativePath=l.relativePath.slice(i.length));let h=Se([i,l.relativePath]),g=r.concat(l);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}".`),tn(s.children,t,g,h)),!(s.path==null&&!s.index)&&t.push({path:h,score:Ca(h,s.index),routesMeta:g})};return e.forEach((s,f)=>{if(s.path===""||!s.path?.includes("?"))a(s,f);else for(let u of rn(s.path))a(s,f,u)}),t}function rn(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 f=rn(i.join("/")),u=[];return u.push(...f.map(l=>l===""?s:[s,l].join("/"))),a&&u.push(...f),u.map(l=>e.startsWith("/")&&l===""?"/":l)}function ya(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:Pa(t.routesMeta.map(i=>i.childrenIndex),r.routesMeta.map(i=>i.childrenIndex)))}var ba=/^:[\w-]+$/,wa=3,Sa=2,xa=1,Oa=10,ka=-2,Tr=e=>e==="*";function Ca(e,t){let r=e.split("/"),i=r.length;return r.some(Tr)&&(i+=ka),t&&(i+=Sa),r.filter(a=>!Tr(a)).reduce((a,s)=>a+(ba.test(s)?wa:s===""?xa:Oa),i)}function Pa(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 Ea(e,t,r=!1){let{routesMeta:i}=e,a={},s="/",f=[];for(let u=0;u<i.length;++u){let l=i[u],h=u===i.length-1,g=s==="/"?t:t.slice(s.length)||"/",x=gt({path:l.relativePath,caseSensitive:l.caseSensitive,end:h},g),j=l.route;if(!x&&h&&r&&!i[i.length-1].route.index&&(x=gt({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},g)),!x)return null;Object.assign(a,x.params),f.push({params:a,pathname:Se([s,x.pathname]),pathnameBase:Da(Se([s,x.pathnameBase])),route:j}),x.pathnameBase!=="/"&&(s=Se([s,x.pathnameBase]))}return f}function gt(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,i]=Ra(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let s=a[0],f=s.replace(/(.)\/+$/,"$1"),u=a.slice(1);return{params:i.reduce((h,{paramName:g,isOptional:x},j)=>{if(g==="*"){let E=u[j]||"";f=s.slice(0,s.length-E.length).replace(/(.)\/+$/,"$1")}const $=u[j];return x&&!$?h[g]=void 0:h[g]=($||"").replace(/%2F/g,"/"),h},{}),pathname:s,pathnameBase:f,pattern:e}}function Ra(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,(f,u,l)=>(i.push({paramName:u,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(i.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),i]}function Ta(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 _a(e,t="/"){let{pathname:r,search:i="",hash:a=""}=typeof e=="string"?De(e):e;return{pathname:r?r.startsWith("/")?r:ja(r,t):t,search:Ma(i),hash:$a(a)}}function ja(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 La(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function nn(e){let t=La(e);return t.map((r,i)=>i===t.length-1?r.pathname:r.pathnameBase)}function an(e,t,r,i=!1){let a;typeof e=="string"?a=De(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==="",f=s?"/":a.pathname,u;if(f==null)u=r;else{let x=t.length-1;if(!i&&f.startsWith("..")){let j=f.split("/");for(;j[0]==="..";)j.shift(),x-=1;a.pathname=j.join("/")}u=x>=0?t[x]:"/"}let l=_a(a,u),h=f&&f!=="/"&&f.endsWith("/"),g=(s||f===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(h||g)&&(l.pathname+="/"),l}var Se=e=>e.join("/").replace(/\/\/+/g,"/"),Da=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ma=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,$a=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Ia(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var on=["POST","PUT","PATCH","DELETE"];new Set(on);var Aa=["GET",...on];new Set(Aa);var Me=D.createContext(null);Me.displayName="DataRouter";var Ot=D.createContext(null);Ot.displayName="DataRouterState";var sn=D.createContext({isTransitioning:!1});sn.displayName="ViewTransition";var Ha=D.createContext(new Map);Ha.displayName="Fetchers";var za=D.createContext(null);za.displayName="Await";var we=D.createContext(null);we.displayName="Navigation";var Je=D.createContext(null);Je.displayName="Location";var Oe=D.createContext({outlet:null,matches:[],isDataRoute:!1});Oe.displayName="Route";var Vt=D.createContext(null);Vt.displayName="RouteError";function Na(e,{relative:t}={}){ae(Ze(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:i}=D.useContext(we),{hash:a,pathname:s,search:f}=Qe(e,{relative:t}),u=s;return r!=="/"&&(u=s==="/"?r:Se([r,s])),i.createHref({pathname:u,search:f,hash:a})}function Ze(){return D.useContext(Je)!=null}function ke(){return ae(Ze(),"useLocation() may be used only in the context of a <Router> component."),D.useContext(Je).location}var ln="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function un(e){D.useContext(we).static||D.useLayoutEffect(e)}function Xt(){let{isDataRoute:e}=D.useContext(Oe);return e?Qa():Fa()}function Fa(){ae(Ze(),"useNavigate() may be used only in the context of a <Router> component.");let e=D.useContext(Me),{basename:t,navigator:r}=D.useContext(we),{matches:i}=D.useContext(Oe),{pathname:a}=ke(),s=JSON.stringify(nn(i)),f=D.useRef(!1);return un(()=>{f.current=!0}),D.useCallback((l,h={})=>{if(ve(f.current,ln),!f.current)return;if(typeof l=="number"){r.go(l);return}let g=an(l,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])}D.createContext(null);function Qe(e,{relative:t}={}){let{matches:r}=D.useContext(Oe),{pathname:i}=ke(),a=JSON.stringify(nn(r));return D.useMemo(()=>an(e,JSON.parse(a),i,t==="path"),[e,a,i,t])}function Wa(e,t){return cn(e,t)}function cn(e,t,r,i){ae(Ze(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=D.useContext(we),{matches:s}=D.useContext(Oe),f=s[s.length-1],u=f?f.params:{},l=f?f.pathname:"/",h=f?f.pathnameBase:"/",g=f&&f.route;{let O=g&&g.path||"";fn(l,!g||O.endsWith("*")||O.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (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(),j;if(t){let O=typeof t=="string"?De(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.`),j=O}else j=x;let M=j.pathname||"/",E=M;if(h!=="/"){let O=h.replace(/^\//,"").split("/");E="/"+M.replace(/^\//,"").split("/").slice(O.length).join("/")}let p=tn(e,{pathname:E});ve(g||p!=null,`No routes matched location "${j.pathname}${j.search}${j.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 "${j.pathname}${j.search}${j.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=ro(p&&p.map(O=>Object.assign({},O,{params:Object.assign({},u,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?D.createElement(Je.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...j},navigationType:"POP"}},I):I}function Za(){let e=so(),t=qa(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=D.createElement(D.Fragment,null,D.createElement("p",null,"💿 Hey developer 👋"),D.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",D.createElement("code",{style:s},"ErrorBoundary")," or"," ",D.createElement("code",{style:s},"errorElement")," prop on your route.")),D.createElement(D.Fragment,null,D.createElement("h2",null,"Unexpected Application Error!"),D.createElement("h3",{style:{fontStyle:"italic"}},t),r?D.createElement("pre",{style:a},r):null,c)}var Qa=D.createElement(Za,null),eo=class extends D.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?D.createElement(Oe.Provider,{value:this.props.routeContext},D.createElement(Vt.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function to({routeContext:e,match:t,children:r}){let i=D.useContext(Me);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),D.createElement(Oe.Provider,{value:e},r)}function ro(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 l=a.findIndex(h=>h.route.id&&s?.[h.route.id]!==void 0);ae(l>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),a=a.slice(0,Math.min(a.length,l+1))}let c=!1,u=-1;if(r)for(let l=0;l<a.length;l++){let h=a[l];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(u=l),h.route.id){let{loaderData:g,errors:x}=r,j=h.route.loader&&!g.hasOwnProperty(h.route.id)&&(!x||x[h.route.id]===void 0);if(h.route.lazy||j){c=!0,u>=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((l,h,g)=>{let x,j=!1,M=null,E=null;r&&(x=s&&h.route.id?s[h.route.id]:void 0,M=h.route.errorElement||Qa,c&&(u<0&&g===0?(dn("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),j=!0,E=null):u===g&&(j=!0,E=h.route.hydrateFallbackElement||null)));let p=t.concat(a.slice(0,g+1)),I=()=>{let O;return x?O=M:j?O=E:h.route.Component?O=D.createElement(h.route.Component,null):h.route.element?O=h.route.element:O=l,D.createElement(to,{match:h,routeContext:{outlet:l,matches:p,isDataRoute:r!=null},children:O})};return r&&(h.route.ErrorBoundary||h.route.errorElement||g===0)?D.createElement(eo,{location:r.location,revalidation:r.revalidation,component:M,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 no(e){let t=D.useContext(Me);return ae(t,Gt(e)),t}function io(e){let t=D.useContext(Ot);return ae(t,Gt(e)),t}function ao(e){let t=D.useContext(Oe);return ae(t,Gt(e)),t}function Kt(e){let t=ao(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 oo(){return Kt("useRouteId")}function so(){let e=D.useContext(Vt),t=io("useRouteError"),r=Kt("useRouteError");return e!==void 0?e:t.errors?.[r]}function lo(){let{router:e}=no("useNavigate"),t=Kt("useNavigate"),r=D.useRef(!1);return cn(()=>{r.current=!0}),D.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 Lr={};function dn(e,t,r){!t&&!Lr[e]&&(Lr[e]=!0,ve(!1,r))}D.memo(uo);function uo({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 co({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(/^\/*/,"/"),u=D.useMemo(()=>({basename:c,navigator:a,static:s,future:{}}),[c,a,s]);typeof r=="string"&&(r=De(r));let{pathname:l="/",search:h="",hash:g="",state:x=null,key:j="default"}=r,M=D.useMemo(()=>{let E=xe(l,c);return E==null?null:{location:{pathname:E,search:h,hash:g,state:x,key:j},navigationType:i}},[c,l,h,g,x,j,i]);return ve(M!=null,`<Router basename="${c}"> is not able to match the URL "${l}${h}${g}" because it does not start with the basename, so the <Router> won't render anything.`),M==null?null:D.createElement(we.Provider,{value:u},D.createElement(Je.Provider,{children:t,value:M}))}function fo({children:e,location:t}){return Ja(Ft(e),t)}function Ft(e,t=[]){let r=[];return D.Children.forEach(e,(i,a)=>{if(!D.isValidElement(i))return;let s=[...t,a];if(i.type===D.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 dt="get",ht="application/x-www-form-urlencoded";function kt(e){return e!=null&&typeof e.tagName=="string"}function ho(e){return kt(e)&&e.tagName.toLowerCase()==="button"}function po(e){return kt(e)&&e.tagName.toLowerCase()==="form"}function mo(e){return kt(e)&&e.tagName.toLowerCase()==="input"}function vo(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function go(e,t){return e.button===0&&(!t||t==="_self")&&!vo(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 yo(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 bo(){if(at===null)try{new FormData(document.createElement("form"),0),at=!1}catch{at=!0}return at}var wo=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function $t(e){return e!=null&&!wo.has(e)?(ve(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ht}"`),null):e}function So(e,t){let r,i,a,s,c;if(po(e)){let u=e.getAttribute("action");i=u?xe(u,t):null,r=e.getAttribute("method")||dt,a=$t(e.getAttribute("enctype"))||ht,s=new FormData(e)}else if(ho(e)||mo(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||u.getAttribute("action");if(i=l?xe(l,t):null,r=e.getAttribute("formmethod")||u.getAttribute("method")||dt,a=$t(e.getAttribute("formenctype"))||$t(u.getAttribute("enctype"))||ht,s=new FormData(u,e),!bo()){let{name:h,type:g,value:x}=e;if(g==="image"){let j=h?`${h}.`:"";s.append(`${j}x`,"0"),s.append(`${j}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=dt,i=null,a=ht,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 xo(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 Oo(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 ko(e,t,r){let i=await Promise.all(e.map(async a=>{let s=t.routes[a.route.id];if(s){let c=await xo(s,r);return c.links?c.links():[]}return[]}));return To(i.flat(1).filter(Oo).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=(l,h)=>r[h]?l.route.id!==r[h].route.id:!0,u=(l,h)=>r[h].pathname!==l.pathname||r[h].route.path?.endsWith("*")&&r[h].params["*"]!==l.params["*"];return s==="assets"?t.filter((l,h)=>c(l,h)||u(l,h)):s==="data"?t.filter((l,h)=>{let g=i.routes[l.route.id];if(!g||!g.hasLoader)return!1;if(c(l,h)||u(l,h))return!0;if(l.route.shouldRevalidate){let x=l.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:l.params,defaultShouldRevalidate:!0});if(typeof x=="boolean")return x}return!0}):[]}function Co(e,t,{includeHydrateFallback:r}={}){return Po(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 Po(e){return[...new Set(e)]}function Eo(e){let t={},r=Object.keys(e).sort();for(let i of r)t[i]=e[i];return t}function To(e,t){let r=new Set;return new Set(t),e.reduce((i,a)=>{let s=JSON.stringify(Eo(a));return r.has(s)||(r.add(s),i.push({key:s,link:a})),i},[])}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var _o=new Set([100,101,204,205]);function Ro(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=D.useContext(Me);return Jt(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function jo(){let e=D.useContext(Ot);return Jt(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Zt=D.createContext(void 0);Zt.displayName="FrameworkContext";function mn(){let e=D.useContext(Zt);return Jt(e,"You must render this element inside a <HydratedRouter> element"),e}function Lo(e,t){let r=D.useContext(Zt),[i,a]=D.useState(!1),[s,c]=D.useState(!1),{onFocus:u,onBlur:l,onMouseEnter:h,onMouseLeave:g,onTouchStart:x}=t,j=D.useRef(null);D.useEffect(()=>{if(e==="render"&&c(!0),e==="viewport"){let p=O=>{O.forEach(F=>{c(F.isIntersecting)})},I=new IntersectionObserver(p,{threshold:.5});return j.current&&I.observe(j.current),()=>{I.disconnect()}}},[e]),D.useEffect(()=>{if(i){let p=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(p)}}},[i]);let M=()=>{a(!0)},E=()=>{a(!1),c(!1)};return r?e!=="intent"?[s,j,{}]:[s,j,{onFocus:Ye(u,M),onBlur:Ye(l,E),onMouseEnter:Ye(h,M),onMouseLeave:Ye(g,E),onTouchStart:Ye(x,M)}]:[!1,j,{}]}function Ye(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function Do({page:e,...t}){let{router:r}=pn(),i=D.useMemo(()=>tn(r.routes,e,r.basename),[r.routes,e,r.basename]);return i?D.createElement($o,{page:e,matches:i,...t}):null}function Mo(e){let{manifest:t,routeModules:r}=mn(),[i,a]=D.useState([]);return D.useEffect(()=>{let s=!1;return ko(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:u,matches:l}=jo(),h=D.useMemo(()=>Dr(e,t,l,a,i,"data"),[e,t,l,a,i]),g=D.useMemo(()=>Dr(e,t,l,a,i,"assets"),[e,t,l,a,i]),x=D.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let E=new Set,p=!1;if(t.forEach(O=>{let F=a.routes[O.route.id];!F||!F.hasLoader||(!h.some(Y=>Y.route.id===O.route.id)&&O.route.id in u&&s[O.route.id]?.shouldRevalidate||F.hasClientLoader?p=!0:E.add(O.route.id))}),E.size===0)return[];let I=Ro(e,c);return p&&E.size>0&&I.searchParams.set("_routes",t.filter(O=>E.has(O.route.id)).map(O=>O.route.id).join(",")),[I.pathname+I.search]},[c,u,i,a,h,t,e,s]),j=D.useMemo(()=>Co(g,a),[g,a]),M=Mo(g);return D.createElement(D.Fragment,null,x.map(E=>D.createElement("link",{key:E,rel:"prefetch",as:"fetch",href:E,...r})),j.map(E=>D.createElement("link",{key:E,rel:"modulepreload",href:E,...r})),M.map(({key:E,link:p})=>D.createElement("link",{key:E,...p})))}function Io(...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 Ao({basename:e,children:t,window:r}){let i=D.useRef();i.current==null&&(i.current=xa({window:r,v5Compat:!0}));let a=i.current,[s,c]=D.useState({action:a.action,location:a.location}),u=D.useCallback(l=>{D.startTransition(()=>c(l))},[c]);return D.useLayoutEffect(()=>a.listen(u),[a,u]),D.createElement(co,{basename:e,children:t,location:s.location,navigationType:s.action,navigator:a})}var gn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,yn=D.forwardRef(function({onClick:t,discover:r="render",prefetch:i="none",relative:a,reloadDocument:s,replace:c,state:u,target:l,to:h,preventScrollReset:g,viewTransition:x,...j},M){let{basename:E}=D.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,E);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=Ga(h,{relative:a}),[Y,V,v]=Lo(i,j),b=Fo(h,{replace:c,state:u,target:l,preventScrollReset:g,relative:a,viewTransition:x});function w(y){t&&t(y),y.defaultPrevented||b(y)}let P=D.createElement("a",{...j,...v,href:I||F,onClick:O||s?t:w,ref:Io(M,V),target:l,"data-discover":!p&&r==="render"?"true":void 0});return Y&&!p?D.createElement(D.Fragment,null,P,D.createElement(Do,{page:F})):P});yn.displayName="Link";var Ho=D.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:i="",end:a=!1,style:s,to:c,viewTransition:u,children:l,...h},g){let x=Qe(c,{relative:h.relative}),j=ke(),M=D.useContext(Ot),{navigator:E,basename:p}=D.useContext(we),I=M!=null&&Vo(x)&&u===!0,O=E.encodeLocation?E.encodeLocation(x).pathname:x.pathname,F=j.pathname,Y=M&&M.navigation&&M.navigation.location?M.navigation.location.pathname:null;r||(F=F.toLowerCase(),Y=Y?Y.toLowerCase():null,O=O.toLowerCase()),Y&&p&&(Y=xe(Y,p)||Y);const V=O!=="/"&&O.endsWith("/")?O.length-1:O.length;let v=F===O||!a&&F.startsWith(O)&&F.charAt(V)==="/",b=Y!=null&&(Y===O||!a&&Y.startsWith(O)&&Y.charAt(O.length)==="/"),w={isActive:v,isPending:b,isTransitioning:I},P=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 D.createElement(yn,{...h,"aria-current":P,className:y,ref:g,style:d,to:c,viewTransition:u},typeof l=="function"?l(w):l)});Ho.displayName="NavLink";var zo=D.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:i,replace:a,state:s,method:c=dt,action:u,onSubmit:l,relative:h,preventScrollReset:g,viewTransition:x,...j},M)=>{let E=qo(),p=Bo(u,{relative:h}),I=c.toLowerCase()==="get"?"get":"post",O=typeof u=="string"&&gn.test(u),F=Y=>{if(l&&l(Y),Y.defaultPrevented)return;Y.preventDefault();let V=Y.nativeEvent.submitter,v=V?.getAttribute("formmethod")||c;E(V||Y.currentTarget,{fetcherKey:t,method:v,navigate:r,replace:a,state:s,relative:h,preventScrollReset:g,viewTransition:x})};return D.createElement("form",{ref:M,method:I,action:p,onSubmit:i?l:F,...j,"data-discover":!O&&e==="render"?"true":void 0})});zo.displayName="Form";function No(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=D.useContext(Me);return ae(t,No(e)),t}function Fo(e,{target:t,replace:r,state:i,preventScrollReset:a,relative:s,viewTransition:c}={}){let u=Xt(),l=ke(),h=Qe(e,{relative:s});return D.useCallback(g=>{if(go(g,t)){g.preventDefault();let x=r!==void 0?r:Xe(l)===Xe(h);u(e,{replace:x,state:i,preventScrollReset:a,relative:s,viewTransition:c})}},[l,u,h,r,i,t,e,a,s,c])}function Wo(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=D.useRef(Wt(e)),r=D.useRef(!1),i=ke(),a=D.useMemo(()=>yo(i.search,r.current?null:t.current),[i.search]),s=Xt(),c=D.useCallback((u,l)=>{const h=Wt(typeof u=="function"?u(a):u);r.current=!0,s("?"+h,l)},[s,a]);return[a,c]}var Uo=0,Yo=()=>`__${String(++Uo)}__`;function qo(){let{router:e}=bn("useSubmit"),{basename:t}=D.useContext(we),r=oo();return D.useCallback(async(i,a={})=>{let{action:s,method:c,encType:u,formData:l,body:h}=So(i,t);if(a.navigate===!1){let g=a.fetcherKey||Yo();await e.fetch(g,r,a.action||s,{preventScrollReset:a.preventScrollReset,formData:l,body:h,formMethod:a.method||c,formEncType:a.encType||u,flushSync:a.flushSync})}else await e.navigate(a.action||s,{preventScrollReset:a.preventScrollReset,formData:l,body:h,formMethod:a.method||c,formEncType:a.encType||u,replace:a.replace,state:a.state,fromRouteId:r,flushSync:a.flushSync,viewTransition:a.viewTransition})},[e,t,r])}function Bo(e,{relative:t}={}){let{basename:r}=D.useContext(we),i=D.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 u=new URLSearchParams(s.search),l=u.getAll("index");if(l.some(g=>g==="")){u.delete("index"),l.filter(x=>x).forEach(x=>u.append("index",x));let g=u.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 Vo(e,t={}){let r=D.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}[..._o];const wn=U.createContext({history:[],addToHistory:()=>{},popFromHistory:()=>"",replaceHistory:()=>{}}),Xo=()=>{const[e,t]=Wo(),r=U.useMemo(()=>Object.fromEntries(e.entries()),[e]),i=U.useCallback(h=>{const g={};return h.forEach(x=>{g[x]=e.get(x)}),g},[e]),a=U.useCallback(h=>{const g=e.get(h);return g==null||g==null,g},[e]),s=U.useCallback((h,g)=>{const x=new URLSearchParams(e);x.set(h,String(g)),t(x)},[e,t]),c=U.useCallback(h=>{const g=new URLSearchParams(e);Object.entries(h).forEach(([x,j])=>{j!=null&&g.set(x,String(j))}),t(g)},[e,t]),u=U.useCallback(h=>{const g=new URLSearchParams(e);g.delete(h),t(g)},[e,t]),l=U.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:u,removeMany:l}},Go=()=>{const e=Xt(),t=ke(),r=Xo(),i=U.useContext(wn),a=u=>{const l=new URL(u.path,"http://dummy-base");return u.params&&Object.entries(u.params).forEach(([h,g])=>{g!=null&&l.searchParams.set(h,String(g))}),l.pathname+l.search},s=U.useCallback(u=>{const l=a(u);u.addToHistory!==!1?(e(l),i.addToHistory(l)):(e(l,{replace:!0}),i.popFromHistory(1),i.addToHistory(l))},[e]),c=U.useCallback(u=>{const l=u||1;e(-l),i.popFromHistory(l)},[e]);return{currentPath:t.pathname,history:i.history,searchParams:r,goBack:c,goTo:s}},Ko=({isReady:e=!0,routes:t,children:r})=>{const i=U.useRef([]),[a,s]=U.useState([]),c=U.useCallback(x=>{i.current=x,s(x)},[]),u=(x,j=!1)=>{let M=[...i.current];j&&(M=M.slice(0,M.length-1)),M=[...M,x],c(M)},l=x=>{let j="",M=[];return i.current.length===0?"/":(i.current.length<=x?(j=i.current[0],M=[j]):(M=i.current.slice(0,i.current.length-x),j=M[M.length-1]),c(M),j)},h=x=>{c(x)},g=t.map(x=>K.jsx(hn,{path:x.path,element:x.render}));return K.jsx(wn.Provider,{value:{history:a,addToHistory:u,popFromHistory:l,replaceHistory:h},children:K.jsx(Ao,{children:e&&K.jsxs(K.Fragment,{children:[r,K.jsx(fo,{children:g})]})})})},Sn=U.createContext({visibleItems:[],isItemVisible:()=>!1,showItem:()=>{},hideItem:()=>{}}),Jo=({children:e})=>{const t=U.useRef([]),[r,i]=U.useState([]),a=U.useCallback(l=>{t.current=l,i(l)},[]),s=U.useCallback(l=>t.current.some(h=>h===l),[]),c=U.useCallback(l=>{s(l)||a([...t.current,l])},[s,a]),u=U.useCallback(l=>{s(l)&&a(t.current.filter(g=>g!==l))},[s,a]);return K.jsx(Sn.Provider,{value:{visibleItems:r,isItemVisible:s,showItem:c,hideItem:u},children:e})},et=()=>{const e=U.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}},Zo=({id:e,onCloseDrawer:t,drawerCloseOffset:r=15})=>{const{isItemVisible:i}=et(),[a,s]=U.useState({isDragging:!1}),c=U.useRef(null),u=U.useRef(null),l=U.useRef(null),[h,g]=U.useState(0),x=E=>{s(E)},j=E=>{s(E),g(0)};return Zr({ref:l,onDrag:E=>{s(E);const p=u.current?.clientHeight||0;E.distanceY&&(g(E.distanceY<0?0:-E.distanceY),E.distanceY>=p-r&&(t?.(),j(E)))},onDragEnd:j,onDragStart:x}),{isVisible:i(e),drawerParentRef:c,drawerRef:u,drawerBottomDistance:h,handleRef:l}},Qo=e=>{const{children:t,backgroundStyles:r,contentStyles:i,handle:a}=e,{isVisible:s,drawerParentRef:c,drawerRef:u,handleRef:l,drawerBottomDistance:h}=Zo(e);return K.jsx(K.Fragment,{children:s&&K.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:K.jsxs("div",{ref:u,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:[K.jsx("div",{ref:l,style:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0px",height:"24px",width:"100%",cursor:"pointer",...a?.styles},children:a?.render}),t]})})})},es=({onSubmit:e,fields:t})=>{const r=U.useRef(null),i=U.useCallback(c=>{var u=Object.keys(c.currentTarget.elements),l=Object.values(c.currentTarget.elements),h=[];for(let g=0;g<u.length;g++){const x=u[g];if(t.findIndex(M=>M.name===x)===-1)continue;const j=l[g].value;h.push({name:x,value:j})}return h},[e]),a=U.useCallback(c=>{c.preventDefault();const u=i(c);e?.(u)},[e]);return{ref:r,submitForm:c=>{r.current&&r.current.requestSubmit()},handleFormSubmission:a}},ts=e=>{const{fields:t,styles:r,submitButton:i}=e,{ref:a,handleFormSubmission:s,submitForm:c}=es(e),u=U.useCallback(()=>t.map(l=>({...l.content,key:l.name})),[t]);return K.jsxs("form",{ref:a,onSubmit:s,style:{width:"100%",display:"flex",flexDirection:"column",gap:"8px",flex:1,...r},children:[u(),K.jsx("div",{onClick:c,style:{display:"flex",width:"100%",alignItems:"center",justifyContent:"center",...i.styles},children:i.content})]})},rs=({src:e,alt:t="",onClick:r,styles:i})=>K.jsx("img",{src:e,alt:t,style:{overflow:"hidden",position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",objectFit:"cover",...i},onClick:()=>{r?.()}}),ns=je.div`
|
|
126
|
+
Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}/*`}">.`)}let x=ke(),j;if(t){let O=typeof t=="string"?De(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.`),j=O}else j=x;let $=j.pathname||"/",E=$;if(h!=="/"){let O=h.replace(/^\//,"").split("/");E="/"+$.replace(/^\//,"").split("/").slice(O.length).join("/")}let p=en(e,{pathname:E});ve(g||p!=null,`No routes matched location "${j.pathname}${j.search}${j.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 "${j.pathname}${j.search}${j.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=Va(p&&p.map(O=>Object.assign({},O,{params:Object.assign({},u,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?D.createElement(Je.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...j},navigationType:"POP"}},I):I}function Ua(){let e=Za(),t=Ia(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},f=null;return console.error("Error handled by React Router default ErrorBoundary:",e),f=D.createElement(D.Fragment,null,D.createElement("p",null,"💿 Hey developer 👋"),D.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",D.createElement("code",{style:s},"ErrorBoundary")," or"," ",D.createElement("code",{style:s},"errorElement")," prop on your route.")),D.createElement(D.Fragment,null,D.createElement("h2",null,"Unexpected Application Error!"),D.createElement("h3",{style:{fontStyle:"italic"}},t),r?D.createElement("pre",{style:a},r):null,f)}var Ya=D.createElement(Ua,null),qa=class extends D.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?D.createElement(Oe.Provider,{value:this.props.routeContext},D.createElement(Vt.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Ba({routeContext:e,match:t,children:r}){let i=D.useContext(Me);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),D.createElement(Oe.Provider,{value:e},r)}function Va(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 l=a.findIndex(h=>h.route.id&&s?.[h.route.id]!==void 0);ae(l>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),a=a.slice(0,Math.min(a.length,l+1))}let f=!1,u=-1;if(r)for(let l=0;l<a.length;l++){let h=a[l];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(u=l),h.route.id){let{loaderData:g,errors:x}=r,j=h.route.loader&&!g.hasOwnProperty(h.route.id)&&(!x||x[h.route.id]===void 0);if(h.route.lazy||j){f=!0,u>=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((l,h,g)=>{let x,j=!1,$=null,E=null;r&&(x=s&&h.route.id?s[h.route.id]:void 0,$=h.route.errorElement||Ya,f&&(u<0&&g===0?(fn("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),j=!0,E=null):u===g&&(j=!0,E=h.route.hydrateFallbackElement||null)));let p=t.concat(a.slice(0,g+1)),I=()=>{let O;return x?O=$:j?O=E:h.route.Component?O=D.createElement(h.route.Component,null):h.route.element?O=h.route.element:O=l,D.createElement(Ba,{match:h,routeContext:{outlet:l,matches:p,isDataRoute:r!=null},children:O})};return r&&(h.route.ErrorBoundary||h.route.errorElement||g===0)?D.createElement(qa,{location:r.location,revalidation:r.revalidation,component:$,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 Xa(e){let t=D.useContext(Me);return ae(t,Gt(e)),t}function Ga(e){let t=D.useContext(Ot);return ae(t,Gt(e)),t}function Ka(e){let t=D.useContext(Oe);return ae(t,Gt(e)),t}function Kt(e){let t=Ka(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 Ja(){return Kt("useRouteId")}function Za(){let e=D.useContext(Vt),t=Ga("useRouteError"),r=Kt("useRouteError");return e!==void 0?e:t.errors?.[r]}function Qa(){let{router:e}=Xa("useNavigate"),t=Kt("useNavigate"),r=D.useRef(!1);return un(()=>{r.current=!0}),D.useCallback(async(a,s={})=>{ve(r.current,ln),r.current&&(typeof a=="number"?e.navigate(a):await e.navigate(a,{fromRouteId:t,...s}))},[e,t])}var _r={};function fn(e,t,r){!t&&!_r[e]&&(_r[e]=!0,ve(!1,r))}D.memo(eo);function eo({routes:e,future:t,state:r}){return cn(e,void 0,r,t)}function dn(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 to({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 f=e.replace(/^\/*/,"/"),u=D.useMemo(()=>({basename:f,navigator:a,static:s,future:{}}),[f,a,s]);typeof r=="string"&&(r=De(r));let{pathname:l="/",search:h="",hash:g="",state:x=null,key:j="default"}=r,$=D.useMemo(()=>{let E=xe(l,f);return E==null?null:{location:{pathname:E,search:h,hash:g,state:x,key:j},navigationType:i}},[f,l,h,g,x,j,i]);return ve($!=null,`<Router basename="${f}"> is not able to match the URL "${l}${h}${g}" because it does not start with the basename, so the <Router> won't render anything.`),$==null?null:D.createElement(we.Provider,{value:u},D.createElement(Je.Provider,{children:t,value:$}))}function ro({children:e,location:t}){return Wa(Ft(e),t)}function Ft(e,t=[]){let r=[];return D.Children.forEach(e,(i,a)=>{if(!D.isValidElement(i))return;let s=[...t,a];if(i.type===D.Fragment){r.push.apply(r,Ft(i.props.children,s));return}ae(i.type===dn,`[${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 f={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&&(f.children=Ft(i.props.children,s)),r.push(f)}),r}var ut="get",ct="application/x-www-form-urlencoded";function kt(e){return e!=null&&typeof e.tagName=="string"}function no(e){return kt(e)&&e.tagName.toLowerCase()==="button"}function io(e){return kt(e)&&e.tagName.toLowerCase()==="form"}function ao(e){return kt(e)&&e.tagName.toLowerCase()==="input"}function oo(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function so(e,t){return e.button===0&&(!t||t==="_self")&&!oo(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 lo(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 uo(){if(at===null)try{new FormData(document.createElement("form"),0),at=!1}catch{at=!0}return at}var co=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function $t(e){return e!=null&&!co.has(e)?(ve(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ct}"`),null):e}function fo(e,t){let r,i,a,s,f;if(io(e)){let u=e.getAttribute("action");i=u?xe(u,t):null,r=e.getAttribute("method")||ut,a=$t(e.getAttribute("enctype"))||ct,s=new FormData(e)}else if(no(e)||ao(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||u.getAttribute("action");if(i=l?xe(l,t):null,r=e.getAttribute("formmethod")||u.getAttribute("method")||ut,a=$t(e.getAttribute("formenctype"))||$t(u.getAttribute("enctype"))||ct,s=new FormData(u,e),!uo()){let{name:h,type:g,value:x}=e;if(g==="image"){let j=h?`${h}.`:"";s.append(`${j}x`,"0"),s.append(`${j}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,f=e}return s&&a==="text/plain"&&(f=s,s=void 0),{action:i,method:r.toLowerCase(),encType:a,formData:s,body:f}}function Jt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}async function ho(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 po(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 mo(e,t,r){let i=await Promise.all(e.map(async a=>{let s=t.routes[a.route.id];if(s){let f=await ho(s,r);return f.links?f.links():[]}return[]}));return bo(i.flat(1).filter(po).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="stylesheet"?{...a,rel:"prefetch",as:"style"}:{...a,rel:"prefetch"}))}function jr(e,t,r,i,a,s){let f=(l,h)=>r[h]?l.route.id!==r[h].route.id:!0,u=(l,h)=>r[h].pathname!==l.pathname||r[h].route.path?.endsWith("*")&&r[h].params["*"]!==l.params["*"];return s==="assets"?t.filter((l,h)=>f(l,h)||u(l,h)):s==="data"?t.filter((l,h)=>{let g=i.routes[l.route.id];if(!g||!g.hasLoader)return!1;if(f(l,h)||u(l,h))return!0;if(l.route.shouldRevalidate){let x=l.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:l.params,defaultShouldRevalidate:!0});if(typeof x=="boolean")return x}return!0}):[]}function vo(e,t,{includeHydrateFallback:r}={}){return go(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 go(e){return[...new Set(e)]}function yo(e){let t={},r=Object.keys(e).sort();for(let i of r)t[i]=e[i];return t}function bo(e,t){let r=new Set;return new Set(t),e.reduce((i,a)=>{let s=JSON.stringify(yo(a));return r.has(s)||(r.add(s),i.push({key:s,link:a})),i},[])}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var wo=new Set([100,101,204,205]);function So(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 hn(){let e=D.useContext(Me);return Jt(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function xo(){let e=D.useContext(Ot);return Jt(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Zt=D.createContext(void 0);Zt.displayName="FrameworkContext";function pn(){let e=D.useContext(Zt);return Jt(e,"You must render this element inside a <HydratedRouter> element"),e}function Oo(e,t){let r=D.useContext(Zt),[i,a]=D.useState(!1),[s,f]=D.useState(!1),{onFocus:u,onBlur:l,onMouseEnter:h,onMouseLeave:g,onTouchStart:x}=t,j=D.useRef(null);D.useEffect(()=>{if(e==="render"&&f(!0),e==="viewport"){let p=O=>{O.forEach(F=>{f(F.isIntersecting)})},I=new IntersectionObserver(p,{threshold:.5});return j.current&&I.observe(j.current),()=>{I.disconnect()}}},[e]),D.useEffect(()=>{if(i){let p=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(p)}}},[i]);let $=()=>{a(!0)},E=()=>{a(!1),f(!1)};return r?e!=="intent"?[s,j,{}]:[s,j,{onFocus:Ye(u,$),onBlur:Ye(l,E),onMouseEnter:Ye(h,$),onMouseLeave:Ye(g,E),onTouchStart:Ye(x,$)}]:[!1,j,{}]}function Ye(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function ko({page:e,...t}){let{router:r}=hn(),i=D.useMemo(()=>en(r.routes,e,r.basename),[r.routes,e,r.basename]);return i?D.createElement(Po,{page:e,matches:i,...t}):null}function Co(e){let{manifest:t,routeModules:r}=pn(),[i,a]=D.useState([]);return D.useEffect(()=>{let s=!1;return mo(e,t,r).then(f=>{s||a(f)}),()=>{s=!0}},[e,t,r]),i}function Po({page:e,matches:t,...r}){let i=ke(),{manifest:a,routeModules:s}=pn(),{basename:f}=hn(),{loaderData:u,matches:l}=xo(),h=D.useMemo(()=>jr(e,t,l,a,i,"data"),[e,t,l,a,i]),g=D.useMemo(()=>jr(e,t,l,a,i,"assets"),[e,t,l,a,i]),x=D.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let E=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 u&&s[O.route.id]?.shouldRevalidate||F.hasClientLoader?p=!0:E.add(O.route.id))}),E.size===0)return[];let I=So(e,f);return p&&E.size>0&&I.searchParams.set("_routes",t.filter(O=>E.has(O.route.id)).map(O=>O.route.id).join(",")),[I.pathname+I.search]},[f,u,i,a,h,t,e,s]),j=D.useMemo(()=>vo(g,a),[g,a]),$=Co(g);return D.createElement(D.Fragment,null,x.map(E=>D.createElement("link",{key:E,rel:"prefetch",as:"fetch",href:E,...r})),j.map(E=>D.createElement("link",{key:E,rel:"modulepreload",href:E,...r})),$.map(({key:E,link:p})=>D.createElement("link",{key:E,...p})))}function Eo(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var mn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{mn&&(window.__reactRouterVersion="7.6.3")}catch{}function Ro({basename:e,children:t,window:r}){let i=D.useRef();i.current==null&&(i.current=ha({window:r,v5Compat:!0}));let a=i.current,[s,f]=D.useState({action:a.action,location:a.location}),u=D.useCallback(l=>{D.startTransition(()=>f(l))},[f]);return D.useLayoutEffect(()=>a.listen(u),[a,u]),D.createElement(to,{basename:e,children:t,location:s.location,navigationType:s.action,navigator:a})}var vn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,gn=D.forwardRef(function({onClick:t,discover:r="render",prefetch:i="none",relative:a,reloadDocument:s,replace:f,state:u,target:l,to:h,preventScrollReset:g,viewTransition:x,...j},$){let{basename:E}=D.useContext(we),p=typeof h=="string"&&vn.test(h),I,O=!1;if(typeof h=="string"&&p&&(I=h,mn))try{let y=new URL(window.location.href),d=h.startsWith("//")?new URL(y.protocol+h):new URL(h),k=xe(d.pathname,E);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=Na(h,{relative:a}),[U,V,v]=Oo(i,j),b=Lo(h,{replace:f,state:u,target:l,preventScrollReset:g,relative:a,viewTransition:x});function w(y){t&&t(y),y.defaultPrevented||b(y)}let P=D.createElement("a",{...j,...v,href:I||F,onClick:O||s?t:w,ref:Eo($,V),target:l,"data-discover":!p&&r==="render"?"true":void 0});return U&&!p?D.createElement(D.Fragment,null,P,D.createElement(ko,{page:F})):P});gn.displayName="Link";var To=D.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:i="",end:a=!1,style:s,to:f,viewTransition:u,children:l,...h},g){let x=Qe(f,{relative:h.relative}),j=ke(),$=D.useContext(Ot),{navigator:E,basename:p}=D.useContext(we),I=$!=null&&Ho(x)&&u===!0,O=E.encodeLocation?E.encodeLocation(x).pathname:x.pathname,F=j.pathname,U=$&&$.navigation&&$.navigation.location?$.navigation.location.pathname:null;r||(F=F.toLowerCase(),U=U?U.toLowerCase():null,O=O.toLowerCase()),U&&p&&(U=xe(U,p)||U);const V=O!=="/"&&O.endsWith("/")?O.length-1:O.length;let v=F===O||!a&&F.startsWith(O)&&F.charAt(V)==="/",b=U!=null&&(U===O||!a&&U.startsWith(O)&&U.charAt(O.length)==="/"),w={isActive:v,isPending:b,isTransitioning:I},P=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 D.createElement(gn,{...h,"aria-current":P,className:y,ref:g,style:d,to:f,viewTransition:u},typeof l=="function"?l(w):l)});To.displayName="NavLink";var _o=D.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:i,replace:a,state:s,method:f=ut,action:u,onSubmit:l,relative:h,preventScrollReset:g,viewTransition:x,...j},$)=>{let E=Io(),p=Ao(u,{relative:h}),I=f.toLowerCase()==="get"?"get":"post",O=typeof u=="string"&&vn.test(u),F=U=>{if(l&&l(U),U.defaultPrevented)return;U.preventDefault();let V=U.nativeEvent.submitter,v=V?.getAttribute("formmethod")||f;E(V||U.currentTarget,{fetcherKey:t,method:v,navigate:r,replace:a,state:s,relative:h,preventScrollReset:g,viewTransition:x})};return D.createElement("form",{ref:$,method:I,action:p,onSubmit:i?l:F,...j,"data-discover":!O&&e==="render"?"true":void 0})});_o.displayName="Form";function jo(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function yn(e){let t=D.useContext(Me);return ae(t,jo(e)),t}function Lo(e,{target:t,replace:r,state:i,preventScrollReset:a,relative:s,viewTransition:f}={}){let u=Xt(),l=ke(),h=Qe(e,{relative:s});return D.useCallback(g=>{if(so(g,t)){g.preventDefault();let x=r!==void 0?r:Xe(l)===Xe(h);u(e,{replace:x,state:i,preventScrollReset:a,relative:s,viewTransition:f})}},[l,u,h,r,i,t,e,a,s,f])}function Do(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=D.useRef(Wt(e)),r=D.useRef(!1),i=ke(),a=D.useMemo(()=>lo(i.search,r.current?null:t.current),[i.search]),s=Xt(),f=D.useCallback((u,l)=>{const h=Wt(typeof u=="function"?u(a):u);r.current=!0,s("?"+h,l)},[s,a]);return[a,f]}var Mo=0,$o=()=>`__${String(++Mo)}__`;function Io(){let{router:e}=yn("useSubmit"),{basename:t}=D.useContext(we),r=Ja();return D.useCallback(async(i,a={})=>{let{action:s,method:f,encType:u,formData:l,body:h}=fo(i,t);if(a.navigate===!1){let g=a.fetcherKey||$o();await e.fetch(g,r,a.action||s,{preventScrollReset:a.preventScrollReset,formData:l,body:h,formMethod:a.method||f,formEncType:a.encType||u,flushSync:a.flushSync})}else await e.navigate(a.action||s,{preventScrollReset:a.preventScrollReset,formData:l,body:h,formMethod:a.method||f,formEncType:a.encType||u,replace:a.replace,state:a.state,fromRouteId:r,flushSync:a.flushSync,viewTransition:a.viewTransition})},[e,t,r])}function Ao(e,{relative:t}={}){let{basename:r}=D.useContext(we),i=D.useContext(Oe);ae(i,"useFormAction must be used inside a RouteContext");let[a]=i.matches.slice(-1),s={...Qe(e||".",{relative:t})},f=ke();if(e==null){s.search=f.search;let u=new URLSearchParams(s.search),l=u.getAll("index");if(l.some(g=>g==="")){u.delete("index"),l.filter(x=>x).forEach(x=>u.append("index",x));let g=u.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 Ho(e,t={}){let r=D.useContext(sn);ae(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=yn("useViewTransitionState"),a=Qe(e,{relative:t.relative});if(!r.isTransitioning)return!1;let s=xe(r.currentLocation.pathname,i)||r.currentLocation.pathname,f=xe(r.nextLocation.pathname,i)||r.nextLocation.pathname;return gt(a.pathname,f)!=null||gt(a.pathname,s)!=null}[...wo];const bn=Y.createContext({history:[],addToHistory:()=>{},popFromHistory:()=>"",replaceHistory:()=>{}}),zo=()=>{const[e,t]=Do(),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]),f=Y.useCallback(h=>{const g=new URLSearchParams(e);Object.entries(h).forEach(([x,j])=>{j!=null&&g.set(x,String(j))}),t(g)},[e,t]),u=Y.useCallback(h=>{const g=new URLSearchParams(e);g.delete(h),t(g)},[e,t]),l=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:f,remove:u,removeMany:l}},No=()=>{const e=Xt(),t=ke(),r=zo(),i=Y.useContext(bn),a=u=>{const l=new URL(u.path,"http://dummy-base");return u.params&&Object.entries(u.params).forEach(([h,g])=>{g!=null&&l.searchParams.set(h,String(g))}),l.pathname+l.search},s=Y.useCallback(u=>{const l=a(u);u.addToHistory!==!1?(e(l),i.addToHistory(l)):(e(l,{replace:!0}),i.popFromHistory(1),i.addToHistory(l))},[e]),f=Y.useCallback(u=>{const l=u||1;e(-l),i.popFromHistory(l)},[e]);return{currentPath:t.pathname,history:i.history,searchParams:r,goBack:f,goTo:s}},Fo=({isReady:e=!0,routes:t,children:r})=>{const i=Y.useRef([]),[a,s]=Y.useState([]),f=Y.useCallback(x=>{i.current=x,s(x)},[]),u=(x,j=!1)=>{let $=[...i.current];j&&($=$.slice(0,$.length-1)),$=[...$,x],f($)},l=x=>{let j="",$=[];return i.current.length===0?"/":(i.current.length<=x?(j=i.current[0],$=[j]):($=i.current.slice(0,i.current.length-x),j=$[$.length-1]),f($),j)},h=x=>{f(x)},g=t.map(x=>K.jsx(dn,{path:x.path,element:x.render}));return K.jsx(bn.Provider,{value:{history:a,addToHistory:u,popFromHistory:l,replaceHistory:h},children:K.jsx(Ro,{children:e&&K.jsxs(K.Fragment,{children:[r,K.jsx(ro,{children:g})]})})})},wn=Y.createContext({visibleItems:[],isItemVisible:()=>!1,showItem:()=>{},hideItem:()=>{}}),Wo=({children:e})=>{const t=Y.useRef([]),[r,i]=Y.useState([]),a=Y.useCallback(l=>{t.current=l,i(l)},[]),s=Y.useCallback(l=>t.current.some(h=>h===l),[]),f=Y.useCallback(l=>{s(l)||a([...t.current,l])},[s,a]),u=Y.useCallback(l=>{s(l)&&a(t.current.filter(g=>g!==l))},[s,a]);return K.jsx(wn.Provider,{value:{visibleItems:r,isItemVisible:s,showItem:f,hideItem:u},children:e})},et=()=>{const e=Y.useContext(wn),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}},Uo=({id:e,onCloseDrawer:t,drawerCloseOffset:r=15})=>{const{isItemVisible:i}=et(),[a,s]=Y.useState({isDragging:!1}),f=Y.useRef(null),u=Y.useRef(null),l=Y.useRef(null),[h,g]=Y.useState(0),x=E=>{s(E)},j=E=>{s(E),g(0)};return Zr({ref:l,onDrag:E=>{s(E);const p=u.current?.clientHeight||0;E.distanceY&&(g(E.distanceY<0?0:-E.distanceY),E.distanceY>=p-r&&(t?.(),j(E)))},onDragEnd:j,onDragStart:x}),{isVisible:i(e),drawerParentRef:f,drawerRef:u,drawerBottomDistance:h,handleRef:l}},Yo=e=>{const{children:t,backgroundStyles:r,contentStyles:i,handle:a}=e,{isVisible:s,drawerParentRef:f,drawerRef:u,handleRef:l,drawerBottomDistance:h}=Uo(e);return K.jsx(K.Fragment,{children:s&&K.jsx("div",{ref:f,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:K.jsxs("div",{ref:u,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:[K.jsx("div",{ref:l,style:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0px",height:"24px",width:"100%",cursor:"pointer",...a?.styles},children:a?.render}),t]})})})},qo=({onSubmit:e,fields:t})=>{const r=Y.useRef(null),i=Y.useCallback(f=>{var u=Object.keys(f.currentTarget.elements),l=Object.values(f.currentTarget.elements),h=[];for(let g=0;g<u.length;g++){const x=u[g];if(t.findIndex($=>$.name===x)===-1)continue;const j=l[g].value;h.push({name:x,value:j})}return h},[e]),a=Y.useCallback(f=>{f.preventDefault();const u=i(f);e?.(u)},[e]);return{ref:r,submitForm:f=>{r.current&&r.current.requestSubmit()},handleFormSubmission:a}},Bo=e=>{const{fields:t,styles:r,submitButton:i}=e,{ref:a,handleFormSubmission:s,submitForm:f}=qo(e),u=Y.useCallback(()=>t.map(l=>({...l.content,key:l.name})),[t]);return K.jsxs("form",{ref:a,onSubmit:s,style:{width:"100%",display:"flex",flexDirection:"column",gap:"8px",flex:1,...r},children:[u(),K.jsx("div",{onClick:f,style:{display:"flex",width:"100%",alignItems:"center",justifyContent:"center",...i.styles},children:i.content})]})},Vo=({src:e,alt:t="",onClick:r,styles:i})=>K.jsx("img",{src:e,alt:t,style:{overflow:"hidden",position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",objectFit:"cover",...i},onClick:()=>{r?.()}}),Xo=je.div`
|
|
127
127
|
display: flex;
|
|
128
128
|
flex-direction: column;
|
|
129
129
|
font-family: inherit;
|
|
@@ -141,7 +141,7 @@ Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}
|
|
|
141
141
|
input:-webkit-autofill {
|
|
142
142
|
background-color: #00000000;
|
|
143
143
|
}
|
|
144
|
-
`,
|
|
144
|
+
`,Go=({name:e,label:t,leftIcon:r,rightIcon:i,bottomMessage:a,placeHolder:s,autoComplete:f="off",value:u,initialValue:l,type:h="text",onChange:g,onFocus:x,inputStyles:j,containerProps:$,step:E})=>{const p=O=>{g?.(O.currentTarget.value)},I=O=>{O.preventDefault(),O.stopPropagation(),x?.()};return K.jsxs(Xo,{style:{width:"100%",maxWidth:"357px",gap:"8px",...$},children:[t,K.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",...j},children:[r,K.jsx("input",{name:e,type:h,autoComplete:f,step:E,style:{flex:1,border:"none",color:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",outline:"inherit",background:"none"},placeholder:s,value:u,defaultValue:l,onChange:p,onFocus:I}),i]}),a]})},Ko=({id:e,styles:t,children:r})=>{const{isItemVisible:i}=et();return K.jsx(K.Fragment,{children:i(e)&&K.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})})},Jo=({id:e,children:t,backgroundStyles:r,contentStyles:i,onClickOutsideModal:a})=>{const{isItemVisible:s}=et();return K.jsx(K.Fragment,{children:s(e)&&K.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:K.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:f=>{f.stopPropagation()},children:t})})})},Zo=e=>{const t=Y.useRef(null),r=Y.useRef(null),[i,a]=Y.useState(24),[s,f]=Y.useState(24),u=Y.useCallback(()=>{t.current&&a(t.current.clientHeight)},[t,t.current]),l=Y.useCallback(()=>{r.current&&f(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(()=>{u()},[u,t,t.current]),Y.useEffect(()=>{l()},[l,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()}}},Qo=je.div`
|
|
145
145
|
min-height: 100%;
|
|
146
146
|
max-height: 100%;
|
|
147
147
|
width: 100%;
|
|
@@ -161,4 +161,4 @@ Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}
|
|
|
161
161
|
box-sizing: border-box;
|
|
162
162
|
position: relative;
|
|
163
163
|
}
|
|
164
|
-
`,us=e=>{const{containerStyles:t,pageStyles:r,children:i,allowScroll:a=!0,floatingContent:s,reserveSpaceForScrollbar:c}=e,{footer:u,header:l}=ss(e);return K.jsxs(ls,{id:"page-container",styles:{...t},children:[l.visible&&K.jsx("div",{ref:l.ref,id:"page-header",style:{width:"100%",zIndex:99,position:l.visibility==="fixed"?"relative":"sticky",top:0,left:0,right:0,display:"flex",flexDirection:"row",height:"fit-content",boxSizing:"border-box",...l.styles},children:l.content}),K.jsx("div",{id:"page-body",style:{width:"100%",overflow:"hidden",display:"flex",flex:1,marginTop:`-${l.height}px`,marginBottom:`-${u.height}px`},children:K.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:`${l.height}px`,paddingBottom:`${u.height}px`,...r},children:i})}),u.visible&&K.jsx("div",{ref:u.ref,id:"page-footer",style:{width:"100%",zIndex:99,position:u.visibility==="fixed"?"relative":"sticky",bottom:0,left:0,right:0,display:"flex",flexDirection:"row",height:"fit-content",boxSizing:"border-box",...u.styles},children:u.content})]})},cs=({src:e,width:t="22",height:r="28",stroke:i,viewBox:a="0 0 22 28",fill:s="#000000",alt:c="",onClick:u,styles:l})=>K.jsx("div",{style:{width:"fit-content",height:"fit-content",display:"flex",alignItems:"center",justifyContent:"center",...l},onClick:()=>u?.(),children:K.jsx("svg",{width:t,height:r,viewBox:a,fill:s,stroke:i,xmlns:"http://www.w3.org/2000/svg",style:{display:"flex"},children:e})}),fs=({id:e,children:t,styles:r,durationInSeconds:i=3})=>{const a=U.useRef(!1),{isItemVisible:s,hideItem:c}=et();return U.useEffect(()=>{const u=s(e);a.current!==u&&(a.current=u,u&&setTimeout(()=>c(e),i*1e3))},[a,s,c]),K.jsx(K.Fragment,{children:s(e)&&K.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:u=>{u.stopPropagation()},children:t})})},ds=({overflowEllipsis:e,children:t,styles:r})=>K.jsx("p",{style:{fontFamily:"inherit",maxWidth:"100%",overflow:"hidden",whiteSpace:e?"nowrap":"normal",textOverflow:e?"ellipsis":void 0,fontSize:"16px",fontStyle:"normal",lineHeight:"normal",color:"inherit",...r},children:t});class hs{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 ps{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()}exports.Button=Tn;exports.Carousel=aa;exports.Checkbox=oa;exports.Drawer=Qo;exports.FeedbackProvider=Jo;exports.Form=ts;exports.Image=rs;exports.InputField=is;exports.Loader=as;exports.Modal=os;exports.NavigationProvider=Ko;exports.PageLayout=us;exports.ScrollHelper=hs;exports.SvgImage=cs;exports.TextHelper=ps;exports.TimeHelper=Qr;exports.Toast=fs;exports.Typography=ds;exports.defaultBreakpoints=en;exports.useDidMount=sa;exports.useDrag=Zr;exports.useFeedback=et;exports.useFetch=la;exports.useIsTouchingParentElement=va;exports.useNavigation=Go;exports.usePointer=Jr;exports.useResponsive=ga;exports.useTranslations=wa;
|
|
164
|
+
`,es=e=>{const{containerStyles:t,pageStyles:r,children:i,allowScroll:a=!0,floatingContent:s,reserveSpaceForScrollbar:f}=e,{footer:u,header:l}=Zo(e);return K.jsxs(Qo,{id:"page-container",styles:{...t},children:[l.visible&&K.jsx("div",{ref:l.ref,id:"page-header",style:{width:"100%",zIndex:99,position:l.visibility==="fixed"?"relative":"sticky",top:0,left:0,right:0,display:"flex",flexDirection:"row",height:"fit-content",boxSizing:"border-box",...l.styles},children:l.content}),K.jsx("div",{id:"page-body",style:{width:"100%",overflow:"hidden",display:"flex",flex:1,marginTop:`-${l.height}px`,marginBottom:`-${u.height}px`},children:K.jsx("div",{id:"page-content",style:{width:"100%",overflowX:"hidden",overflowY:a?"auto":"hidden",display:"flex",flexDirection:"column",flex:1,minHeight:"100%",scrollbarGutter:f?"stable":void 0,paddingLeft:"0px",paddingRight:"0px",paddingTop:`${l.height}px`,paddingBottom:`${u.height}px`,...r},children:i})}),u.visible&&K.jsx("div",{ref:u.ref,id:"page-footer",style:{width:"100%",zIndex:99,position:u.visibility==="fixed"?"relative":"sticky",bottom:0,left:0,right:0,display:"flex",flexDirection:"row",height:"fit-content",boxSizing:"border-box",...u.styles},children:u.content})]})},ts=({src:e,width:t="22",height:r="28",stroke:i,viewBox:a="0 0 22 28",fill:s="#000000",alt:f="",onClick:u,styles:l})=>K.jsx("div",{style:{width:"fit-content",height:"fit-content",display:"flex",alignItems:"center",justifyContent:"center",...l},onClick:()=>u?.(),children:K.jsx("svg",{width:t,height:r,viewBox:a,fill:s,stroke:i,xmlns:"http://www.w3.org/2000/svg",style:{display:"flex"},children:e})}),rs=({id:e,children:t,styles:r,durationInSeconds:i=3})=>{const a=Y.useRef(!1),{isItemVisible:s,hideItem:f}=et();return Y.useEffect(()=>{const u=s(e);a.current!==u&&(a.current=u,u&&setTimeout(()=>f(e),i*1e3))},[a,s,f]),K.jsx(K.Fragment,{children:s(e)&&K.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:u=>{u.stopPropagation()},children:t})})},ns=({overflowEllipsis:e,maxNumberOfLines:t,children:r,styles:i})=>K.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});class is{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 as{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:{}},os=ft.exports,Lr;function ss(){return Lr||(Lr=1,function(e,t){(function(r,i){e.exports=i()})(os,function(){var r=1e3,i=6e4,a=36e5,s="millisecond",f="second",u="minute",l="hour",h="day",g="week",x="month",j="quarter",$="year",E="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"],_=T%100;return"["+T+(C[(_-20)%10]||C[_]||C[0])+"]"}},U=function(T,C,_){var o=String(T);return!o||o.length>=C?T:""+Array(C+1-o.length).join(_)+T},V={s:U,z:function(T){var C=-T.utcOffset(),_=Math.abs(C),o=Math.floor(_/60),H=_%60;return(C<=0?"+":"-")+U(o,2,"0")+":"+U(H,2,"0")},m:function T(C,_){if(C.date()<_.date())return-T(_,C);var o=12*(_.year()-C.year())+(_.month()-C.month()),H=C.clone().add(o,x),m=_-H<0,n=C.clone().add(o+(m?-1:1),x);return+(-(o+(_-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:$,w:g,d:h,D:E,h:l,m:u,s:f,ms:s,Q:j}[T]||String(T||"").toLowerCase().replace(/s$/,"")},u:function(T){return T===void 0}},v="en",b={};b[v]=F;var w="$isDayjsObject",P=function(T){return T instanceof A||!(!T||!T[w])},y=function T(C,_,o){var H;if(!C)return v;if(typeof C=="string"){var m=C.toLowerCase();b[m]&&(H=m),_&&(b[m]=_,H=m);var n=C.split("-");if(!H&&n.length>1)return T(n[0])}else{var c=C.name;b[c]=C,H=c}return!o&&H&&(v=H),H||!o&&v},d=function(T,C){if(P(T))return T.clone();var _=typeof C=="object"?C:{};return _.date=T,_.args=arguments,new A(_)},k=V;k.l=y,k.i=P,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(_){this.$L=y(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[w]=!0}var C=T.prototype;return C.parse=function(_){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 c=n[2]-1||0,S=(n[7]||"0").substring(0,3);return m?new Date(Date.UTC(n[1],c,n[3]||1,n[4]||0,n[5]||0,n[6]||0,S)):new Date(n[1],c,n[3]||1,n[4]||0,n[5]||0,n[6]||0,S)}}return new Date(H)}(_),this.init()},C.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},C.$utils=function(){return k},C.isValid=function(){return this.$d.toString()!==p},C.isSame=function(_,o){var H=d(_);return this.startOf(o)<=H&&H<=this.endOf(o)},C.isAfter=function(_,o){return d(_)<this.startOf(o)},C.isBefore=function(_,o){return this.endOf(o)<d(_)},C.$g=function(_,o,H){return k.u(_)?this[o]:this.set(H,_)},C.unix=function(){return Math.floor(this.valueOf()/1e3)},C.valueOf=function(){return this.$d.getTime()},C.startOf=function(_,o){var H=this,m=!!k.u(o)||o,n=k.p(_),c=function(G,X){var J=k.w(H.$u?Date.UTC(H.$y,X,G):new Date(H.$y,X,G),H);return m?J:J.endOf(h)},S=function(G,X){return k.w(H.toDate()[G].apply(H.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(X)),H)},M=this.$W,L=this.$M,z=this.$D,N="set"+(this.$u?"UTC":"");switch(n){case $:return m?c(1,0):c(31,11);case x:return m?c(1,L):c(0,L+1);case g:var W=this.$locale().weekStart||0,B=(M<W?M+7:M)-W;return c(m?z-B:z+(6-B),L);case h:case E:return S(N+"Hours",0);case l:return S(N+"Minutes",1);case u:return S(N+"Seconds",2);case f:return S(N+"Milliseconds",3);default:return this.clone()}},C.endOf=function(_){return this.startOf(_,!1)},C.$set=function(_,o){var H,m=k.p(_),n="set"+(this.$u?"UTC":""),c=(H={},H[h]=n+"Date",H[E]=n+"Date",H[x]=n+"Month",H[$]=n+"FullYear",H[l]=n+"Hours",H[u]=n+"Minutes",H[f]=n+"Seconds",H[s]=n+"Milliseconds",H)[m],S=m===h?this.$D+(o-this.$W):o;if(m===x||m===$){var M=this.clone().set(E,1);M.$d[c](S),M.init(),this.$d=M.set(E,Math.min(this.$D,M.daysInMonth())).$d}else c&&this.$d[c](S);return this.init(),this},C.set=function(_,o){return this.clone().$set(_,o)},C.get=function(_){return this[k.p(_)]()},C.add=function(_,o){var H,m=this;_=Number(_);var n=k.p(o),c=function(L){var z=d(m);return k.w(z.date(z.date()+Math.round(L*_)),m)};if(n===x)return this.set(x,this.$M+_);if(n===$)return this.set($,this.$y+_);if(n===h)return c(1);if(n===g)return c(7);var S=(H={},H[u]=i,H[l]=a,H[f]=r,H)[n]||1,M=this.$d.getTime()+_*S;return k.w(M,this)},C.subtract=function(_,o){return this.add(-1*_,o)},C.format=function(_){var o=this,H=this.$locale();if(!this.isValid())return H.invalidDate||p;var m=_||"YYYY-MM-DDTHH:mm:ssZ",n=k.z(this),c=this.$H,S=this.$m,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)},B=function(X){return k.s(c%12||12,X,"0")},G=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 M+1;case"MM":return k.s(M+1,2,"0");case"MMM":return W(H.monthsShort,M,z,3);case"MMMM":return W(z,M);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(c);case"HH":return k.s(c,2,"0");case"h":return B(1);case"hh":return B(2);case"a":return G(c,S,!0);case"A":return G(c,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(_,o,H){var m,n=this,c=k.p(o),S=d(_),M=(S.utcOffset()-this.utcOffset())*i,L=this-S,z=function(){return k.m(n,S)};switch(c){case $:m=z()/12;break;case x:m=z();break;case j:m=z()/3;break;case g:m=(L-M)/6048e5;break;case h:m=(L-M)/864e5;break;case l:m=L/a;break;case u:m=L/i;break;case f: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(_,o){if(!_)return this.$L;var H=this.clone(),m=y(_,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",f],["$m",u],["$H",l],["$W",h],["$M",x],["$y",$],["$D",E]].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=P,d.unix=function(T){return d(1e3*T)},d.en=b[v],d.Ls=b,d.p={},d})}(ft)),ft.exports}var ls=ss();const dt=Ut(ls);var ht={exports:{}},us=ht.exports,Dr;function cs(){return Dr||(Dr=1,function(e,t){(function(r,i){e.exports=i()})(us,function(){var r="minute",i=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(s,f,u){var l=f.prototype;u.utc=function(p){var I={date:p,utc:!0,args:arguments};return new f(I)},l.utc=function(p){var I=u(this.toDate(),{locale:this.$L,utc:!0});return p?I.add(this.utcOffset(),r):I},l.local=function(){return u(this.toDate(),{locale:this.$L,utc:!1})};var h=l.parse;l.parse=function(p){p.utc&&(this.$u=!0),this.$utils().u(p.$offset)||(this.$offset=p.$offset),h.call(this,p)};var g=l.init;l.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=l.utcOffset;l.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],P=w[0],y=60*+w[1]+ +w[2];return y===0?0:P==="+"?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 V=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(U=this.local().add(F+V,r)).$offset=F,U.$x.$localOffset=V,U};var j=l.format;l.format=function(p){var I=p||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return j.call(this,I)},l.valueOf=function(){var p=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*p},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var $=l.toDate;l.toDate=function(p){return p==="s"&&this.$offset?u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():$.call(this)};var E=l.diff;l.diff=function(p,I,O){if(p&&this.$u===p.$u)return E.call(this,p,I,O);var F=this.local(),U=u(p).local();return E.call(F,U,I,O)}}})}(ht)),ht.exports}var fs=cs();const ds=Ut(fs);dt.extend(ds);class hs{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 getDateInUTC=t=>{try{const r=dt.utc(t),i=r.date(),a=r.month(),s=r.year(),f=r.hour(),u=r.minute(),l=r.day();return{day:i,month:a,year:s,hour:f,minute:u,weekday:l}}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"):""}exports.Button=En;exports.Carousel=ia;exports.Checkbox=aa;exports.Drawer=Yo;exports.FeedbackProvider=Wo;exports.Form=Bo;exports.Image=Vo;exports.InputField=Go;exports.Loader=Ko;exports.Modal=Jo;exports.NavigationProvider=Fo;exports.PageLayout=es;exports.ScrollHelper=is;exports.SvgImage=ts;exports.TextHelper=as;exports.TimeHelper=hs;exports.Toast=rs;exports.Typography=ns;exports.defaultBreakpoints=Qr;exports.useDidMount=oa;exports.useDrag=Zr;exports.useFeedback=et;exports.useFetch=sa;exports.useNavigation=No;exports.usePointer=Jr;exports.useResponsive=la;exports.useTranslations=fa;
|