@eliseubatista99/react-scaffold-core 1.1.12 → 1.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +10 -10
- package/dist/index.es.js +375 -374
- package/package.json +1 -1
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 U=require("react");function Pn(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 $=Pn(U);var rt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function En(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
|
*
|
|
@@ -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 rr;function Tn(){return rr||(rr=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 S:return"Profiler";case
|
|
17
|
+
*/var rr;function Tn(){return rr||(rr=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 S:return"Profiler";case R:return"StrictMode";case v:return"Suspense";case w:return"SuspenseList";case b: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 k:return"Portal";case W:return(n.displayName||"Context")+".Provider";case A:return(n._context.displayName||"Context")+".Consumer";case F:var f=n.render;return n=n.displayName,n||(n=f.displayName||f.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case x:return f=n.displayName||null,f!==null?f:e(n.type)||"Memo";case T:f=n._payload,n=n._init;try{return e(n(f))}catch{}}return null}function t(n){return""+n}function r(n){try{t(n);var f=!1}catch{f=!0}if(f){f=console;var O=f.error,I=typeof Symbol=="function"&&Symbol.toStringTag&&n[Symbol.toStringTag]||n.constructor.name||"Object";return O.call(f,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",I),t(n)}}function i(n){if(n===p)return"<>";if(typeof n=="object"&&n!==null&&n.$$typeof===T)return"<...>";try{var f=e(n);return f?"<"+f+">":"<...>"}catch{return"<...>"}}function a(){var n=C.A;return n===null?null:n.getOwner()}function s(){return Error("react-stack-top-frame")}function c(n){if(H.call(n,"key")){var f=Object.getOwnPropertyDescriptor(n,"key").get;if(f&&f.isReactWarning)return!1}return n.key!==void 0}function u(n,f){function O(){P||(P=!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)",f))}O.isReactWarning=!0,Object.defineProperty(n,"key",{get:O,configurable:!0})}function l(){var n=e(this.type);return L[n]||(L[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,f,O,I,D,N,V,Y){return O=N.ref,n={$$typeof:M,type:n,key:f,props:N,_owner:D},(O!==void 0?O: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:V}),Object.defineProperty(n,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Y}),Object.freeze&&(Object.freeze(n.props),Object.freeze(n)),n}function g(n,f,O,I,D,N,V,Y){var q=f.children;if(q!==void 0)if(I)if(_(q)){for(I=0;I<q.length;I++)y(q[I]);Object.freeze&&Object.freeze(q)}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 y(q);if(H.call(f,"key")){q=e(n);var K=Object.keys(f).filter(function(J){return J!=="key"});I=0<K.length?"{key: someKey, "+K.join(": ..., ")+": ...}":"{key: someKey}",m[q+I]||(K=0<K.length?"{"+K.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} />`,I,q,K,q),m[q+I]=!0)}if(q=null,O!==void 0&&(r(O),q=""+O),c(f)&&(r(f.key),q=""+f.key),"key"in f){O={};for(var G in f)G!=="key"&&(O[G]=f[G])}else O=f;return q&&u(O,typeof n=="function"?n.displayName||n.name||"Unknown":n),h(n,q,N,D,a(),O,
|
|
22
|
+
<%s key={someKey} {...props} />`,I,q,K,q),m[q+I]=!0)}if(q=null,O!==void 0&&(r(O),q=""+O),c(f)&&(r(f.key),q=""+f.key),"key"in f){O={};for(var G in f)G!=="key"&&(O[G]=f[G])}else O=f;return q&&u(O,typeof n=="function"?n.displayName||n.name||"Unknown":n),h(n,q,N,D,a(),O,V,Y)}function y(n){typeof n=="object"&&n!==null&&n.$$typeof===M&&n._store&&(n._store.validated=1)}var E=U,M=Symbol.for("react.transitional.element"),k=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),A=Symbol.for("react.consumer"),W=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),d=Symbol.for("react.client.reference"),C=E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H=Object.prototype.hasOwnProperty,_=Array.isArray,j=console.createTask?console.createTask:function(){return null};E={"react-stack-bottom-frame":function(n){return n()}};var P,L={},o=E["react-stack-bottom-frame"].bind(E,s)(),z=j(i(s)),m={};He.Fragment=p,He.jsx=function(n,f,O,I,D){var N=1e4>C.recentlyCreatedOwnerStacks++;return g(n,f,O,!1,I,D,N?Error("react-stack-top-frame"):o,N?j(i(n)):z)},He.jsxs=function(n,f,O,I,D){var N=1e4>C.recentlyCreatedOwnerStacks++;return g(n,f,O,!0,I,D,N?Error("react-stack-top-frame"):o,N?j(i(n)):z)}}()),He}var nr;function _n(){return nr||(nr=1,process.env.NODE_ENV==="production"?nt.exports=Rn():nt.exports=Tn()),nt.exports}var X=_n();const jn=({children:e,onClick:t,styles:r})=>X.jsx("button",{style:{border:"none",borderRadius:"1000px",background:"#d6d6d6ff",padding:"12px 18px",fontSize:"16px",width:"fit-content",alignItems:"center",justifyContent:"center",display:"flex",flexDirection:"row",...r},onClick:i=>{t?.(i)},children:e});var Ct={},Pt={},ze={},Et={},ir;function Ln(){return ir||(ir=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};e.default=t}(Et)),Et}var Rt,ar;function Mn(){if(ar)return Rt;ar=1;var e="Expected a function",t=NaN,r="[object Symbol]",i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,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")(),y=Object.prototype,E=y.toString,M=Math.max,k=Math.min,p=function(){return g.Date.now()};function R(v,w,x){var T,b,d,C,H,_,j=0,P=!1,L=!1,o=!0;if(typeof v!="function")throw new TypeError(e);w=F(w)||0,S(x)&&(P=!!x.leading,L="maxWait"in x,d=L?M(F(x.maxWait)||0,w):d,o="trailing"in x?!!x.trailing:o);function z(Y){var q=T,K=b;return T=b=void 0,j=Y,C=v.apply(K,q),C}function m(Y){return j=Y,H=setTimeout(O,w),P?z(Y):C}function n(Y){var q=Y-_,K=Y-j,G=w-q;return L?k(G,d-K):G}function f(Y){var q=Y-_,K=Y-j;return _===void 0||q>=w||q<0||L&&K>=d}function O(){var Y=p();if(f(Y))return I(Y);H=setTimeout(O,n(Y))}function I(Y){return H=void 0,o&&T?z(Y):(T=b=void 0,C)}function D(){H!==void 0&&clearTimeout(H),j=0,T=_=b=H=void 0}function N(){return H===void 0?C:I(p())}function V(){var Y=p(),q=f(Y);if(T=arguments,b=this,_=Y,q){if(H===void 0)return m(_);if(L)return H=setTimeout(O,w),z(_)}return H===void 0&&(H=setTimeout(O,w)),C}return V.cancel=D,V.flush=N,V}function S(v){var w=typeof v;return!!v&&(w=="object"||w=="function")}function A(v){return!!v&&typeof v=="object"}function W(v){return typeof v=="symbol"||A(v)&&E.call(v)==r}function F(v){if(typeof v=="number")return v;if(W(v))return t;if(S(v)){var w=typeof v.valueOf=="function"?v.valueOf():v;v=S(w)?w+"":w}if(typeof v!="string")return v===0?v:+v;v=v.replace(i,"");var x=s.test(v);return x||c.test(v)?u(v.slice(2),x?2:8):a.test(v)?t:+v}return Rt=R,Rt}var Tt={exports:{}};/*!
|
|
23
23
|
Copyright (c) 2018 Jed Watson.
|
|
24
24
|
Licensed under the MIT License (MIT), see
|
|
25
25
|
http://jedwatson.github.io/classnames
|
|
26
|
-
*/var or;function yt(){return or||(or=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var s="",c=0;c<arguments.length;c++){var 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})()}(Tt)),Tt.exports}var B={},_t={},sr;function $r(){return sr||(sr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(V);function r(a){return a&&a.__esModule?a:{default:a}}var i={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(s){return t.default.createElement("ul",{style:{display:"block"}},s)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(s){return t.default.createElement("button",null,s+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,asNavFor:null,unslick:!1};e.default=i}(_t)),_t}var lr;function Ge(){if(lr)return B;lr=1,Object.defineProperty(B,"__esModule",{value:!0}),B.checkSpecKeys=B.checkNavigable=B.changeSlide=B.canUseDOM=B.canGoNext=void 0,B.clamp=h,B.extractObject=void 0,B.filterSettings=z,B.validSettings=B.swipeStart=B.swipeMove=B.swipeEnd=B.slidesOnRight=B.slidesOnLeft=B.slideHandler=B.siblingDirection=B.safePreventDefault=B.lazyStartIndex=B.lazySlidesOnRight=B.lazySlidesOnLeft=B.lazyEndIndex=B.keyHandler=B.initializedState=B.getWidth=B.getTrackLeft=B.getTrackCSS=B.getTrackAnimateCSS=B.getTotalSlides=B.getSwipeDirection=B.getSlideCount=B.getRequiredLazySlides=B.getPreClones=B.getPostClones=B.getOnDemandLazySlides=B.getNavigableIndexes=B.getHeight=void 0;var e=r(V),t=r($r());function r(m){return m&&m.__esModule?m:{default:m}}function i(m){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},i(m)}function a(m,n){var f=Object.keys(m);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(m);n&&(O=O.filter(function(I){return Object.getOwnPropertyDescriptor(m,I).enumerable})),f.push.apply(f,O)}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(O){c(m,O,f[O])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(f)):a(Object(f)).forEach(function(O){Object.defineProperty(m,O,Object.getOwnPropertyDescriptor(f,O))})}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 O=f.call(m,n);if(i(O)!="object")return O;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(m)}function h(m,n,f){return Math.max(n,Math.min(m,f))}var g=B.safePreventDefault=function(n){var f=["onTouchStart","onTouchMove","onWheel"];f.includes(n._reactName)||n.preventDefault()},y=B.getOnDemandLazySlides=function(n){for(var f=[],O=R(n),I=M(n),D=O;D<I;D++)n.lazyLoadedList.indexOf(D)<0&&f.push(D);return f};B.getRequiredLazySlides=function(n){for(var f=[],O=R(n),I=M(n),D=O;D<I;D++)f.push(D);return f};var R=B.lazyStartIndex=function(n){return n.currentSlide-k(n)},M=B.lazyEndIndex=function(n){return n.currentSlide+p(n)},k=B.lazySlidesOnLeft=function(n){return n.centerMode?Math.floor(n.slidesToShow/2)+(parseInt(n.centerPadding)>0?1:0):0},p=B.lazySlidesOnRight=function(n){return n.centerMode?Math.floor((n.slidesToShow-1)/2)+1+(parseInt(n.centerPadding)>0?1:0):n.slidesToShow},E=B.getWidth=function(n){return n&&n.offsetWidth||0},S=B.getHeight=function(n){return n&&n.offsetHeight||0},A=B.getSwipeDirection=function(n){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,O,I,D,N;return O=n.startX-n.curX,I=n.startY-n.curY,D=Math.atan2(I,O),N=Math.round(D*180/Math.PI),N<0&&(N=360-Math.abs(N)),N<=45&&N>=0||N<=360&&N>=315?"left":N>=135&&N<=225?"right":f===!0?N>=35&&N<=135?"up":"down":"vertical"},U=B.canGoNext=function(n){var f=!0;return n.infinite||(n.centerMode&&n.currentSlide>=n.slideCount-1||n.slideCount<=n.slidesToShow||n.currentSlide>=n.slideCount-n.slidesToShow)&&(f=!1),f};B.extractObject=function(n,f){var O={};return f.forEach(function(I){return O[I]=n[I]}),O},B.initializedState=function(n){var f=e.default.Children.count(n.children),O=n.listRef,I=Math.ceil(E(O)),D=n.trackRef&&n.trackRef.node,N=Math.ceil(E(D)),W;if(n.vertical)W=I;else{var Y=n.centerMode&&parseInt(n.centerPadding)*2;typeof n.centerPadding=="string"&&n.centerPadding.slice(-1)==="%"&&(Y*=I/100),W=Math.ceil((I-Y)/n.slidesToShow)}var q=O&&S(O.querySelector('[data-index="0"]')),K=q*n.slidesToShow,G=n.currentSlide===void 0?n.initialSlide:n.currentSlide;n.rtl&&n.currentSlide===void 0&&(G=f-1-n.initialSlide);var J=n.lazyLoadedList||[],te=y(s(s({},n),{},{currentSlide:G,lazyLoadedList:J}));J=J.concat(te);var Z={slideCount:f,slideWidth:W,listWidth:I,trackWidth:N,currentSlide:G,slideHeight:q,listHeight:K,lazyLoadedList:J};return n.autoplaying===null&&n.autoplay&&(Z.autoplaying="playing"),Z},B.slideHandler=function(n){var f=n.waitForAnimate,O=n.animating,I=n.fade,D=n.infinite,N=n.index,W=n.slideCount,Y=n.lazyLoad,q=n.currentSlide,K=n.centerMode,G=n.slidesToScroll,J=n.slidesToShow,te=n.useCSS,Z=n.lazyLoadedList;if(f&&O)return{};var ee=N,ie,le,Q,oe={},ue={},ce=D?N:h(N,0,W-1);if(I){if(!D&&(N<0||N>=W))return{};N<0?ee=N+W:N>=W&&(ee=N-W),Y&&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+W,D?W%G!==0&&(ie=W-W%G):ie=0):!U(n)&&ee>q?ee=ie=q:K&&ee>=W?(ee=D?W:W-1,ie=D?0:W-1):ee>=W&&(ie=ee-W,D?W%G!==0&&(ie=0):ie=W-J),!D&&ee+J>=W&&(ie=W-J),le=d(s(s({},n),{},{slideIndex:ee})),Q=d(s(s({},n),{},{slideIndex:ie})),D||(le===Q&&(ee=ie),le=Q),Y&&(Z=Z.concat(y(s(s({},n),{},{currentSlide:ee})))),te?(oe={animating:!0,currentSlide:ie,trackStyle:b(s(s({},n),{},{left:le})),lazyLoadedList:Z,targetSlide:ce},ue={animating:!1,currentSlide:ie,trackStyle:T(s(s({},n),{},{left:Q})),swipeLeft:null,targetSlide:ce}):oe={currentSlide:ie,trackStyle:T(s(s({},n),{},{left:Q})),lazyLoadedList:Z,targetSlide:ce};return{state:oe,nextState:ue}},B.changeSlide=function(n,f){var O,I,D,N,W,Y=n.slidesToScroll,q=n.slidesToShow,K=n.slideCount,G=n.currentSlide,J=n.targetSlide,te=n.lazyLoad,Z=n.infinite;if(N=K%Y!==0,O=N?0:(K-G)%Y,f.message==="previous")D=O===0?Y:q-O,W=G-D,te&&!Z&&(I=G-D,W=I===-1?K-1:I),Z||(W=J-Y);else if(f.message==="next")D=O===0?Y:O,W=G+D,te&&!Z&&(W=(G+Y)%K+O),Z||(W=J+Y);else if(f.message==="dots")W=f.index*f.slidesToScroll;else if(f.message==="children"){if(W=f.index,Z){var ee=j(s(s({},n),{},{targetSlide:W}));W>f.currentSlide&&ee==="left"?W=W-K:W<f.currentSlide&&ee==="right"&&(W=W+K)}}else f.message==="index"&&(W=Number(f.index));return W},B.keyHandler=function(n,f,O){return n.target.tagName.match("TEXTAREA|INPUT|SELECT")||!f?"":n.keyCode===37?O?"next":"previous":n.keyCode===39?O?"previous":"next":""},B.swipeStart=function(n,f,O){return n.target.tagName==="IMG"&&g(n),!f||!O&&n.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:n.touches?n.touches[0].pageX:n.clientX,startY:n.touches?n.touches[0].pageY:n.clientY,curX:n.touches?n.touches[0].pageX:n.clientX,curY:n.touches?n.touches[0].pageY:n.clientY}}},B.swipeMove=function(n,f){var O=f.scrolling,I=f.animating,D=f.vertical,N=f.swipeToSlide,W=f.verticalSwiping,Y=f.rtl,q=f.currentSlide,K=f.edgeFriction,G=f.edgeDragged,J=f.onEdge,te=f.swiped,Z=f.swiping,ee=f.slideCount,ie=f.slidesToScroll,le=f.infinite,Q=f.touchObject,oe=f.swipeEvent,ue=f.listHeight,ce=f.listWidth;if(!O){if(I)return g(n);D&&N&&W&&g(n);var pe,Ee={},tt=d(f);Q.curX=n.touches?n.touches[0].pageX:n.clientX,Q.curY=n.touches?n.touches[0].pageY:n.clientY,Q.swipeLength=Math.round(Math.sqrt(Math.pow(Q.curX-Q.startX,2)));var er=Math.round(Math.sqrt(Math.pow(Q.curY-Q.startY,2)));if(!W&&!Z&&er>10)return{scrolling:!0};W&&(Q.swipeLength=er);var $e=(Y?-1:1)*(Q.curX>Q.startX?1:-1);W&&($e=Q.curY>Q.startY?1:-1);var Cn=Math.ceil(ee/ie),Ce=A(f.touchObject,W),Ie=Q.swipeLength;return le||(q===0&&(Ce==="right"||Ce==="down")||q+1>=Cn&&(Ce==="left"||Ce==="up")||!U(f)&&(Ce==="left"||Ce==="up"))&&(Ie=Q.swipeLength*K,G===!1&&J&&(J(Ce),Ee.edgeDragged=!0)),!te&&oe&&(oe(Ce),Ee.swiped=!0),D?pe=tt+Ie*(ue/ce)*$e:Y?pe=tt-Ie*$e:pe=tt+Ie*$e,W&&(pe=tt+Ie*$e),Ee=s(s({},Ee),{},{touchObject:Q,swipeLeft:pe,trackStyle:T(s(s({},f),{},{left:pe}))}),Math.abs(Q.curX-Q.startX)<Math.abs(Q.curY-Q.startY)*.8||Q.swipeLength>10&&(Ee.swiping=!0,g(n)),Ee}},B.swipeEnd=function(n,f){var O=f.dragging,I=f.swipe,D=f.touchObject,N=f.listWidth,W=f.touchThreshold,Y=f.verticalSwiping,q=f.listHeight,K=f.swipeToSlide,G=f.scrolling,J=f.onSwipe,te=f.targetSlide,Z=f.currentSlide,ee=f.infinite;if(!O)return I&&g(n),{};var ie=Y?q/W:N/W,le=A(D,Y),Q={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(G||!D.swipeLength)return Q;if(D.swipeLength>ie){g(n),J&&J(le);var oe,ue,ce=ee?Z:te;switch(le){case"left":case"up":ue=ce+w(f),oe=K?v(f,ue):ue,Q.currentDirection=0;break;case"right":case"down":ue=ce-w(f),oe=K?v(f,ue):ue,Q.currentDirection=1;break;default:oe=ce}Q.triggerSlideHandler=oe}else{var pe=d(f);Q.trackStyle=b(s(s({},f),{},{left:pe}))}return Q};var F=B.getNavigableIndexes=function(n){for(var f=n.infinite?n.slideCount*2:n.slideCount,O=n.infinite?n.slidesToShow*-1:0,I=n.infinite?n.slidesToShow*-1:0,D=[];O<f;)D.push(O),O=I+n.slidesToScroll,I+=Math.min(n.slidesToScroll,n.slidesToShow);return D},v=B.checkNavigable=function(n,f){var O=F(n),I=0;if(f>O[O.length-1])f=O[O.length-1];else for(var D in O){if(f<O[D]){f=I;break}I=O[D]}return f},w=B.getSlideCount=function(n){var f=n.centerMode?n.slideWidth*Math.floor(n.slidesToShow/2):0;if(n.swipeToSlide){var O,I=n.listRef,D=I.querySelectorAll&&I.querySelectorAll(".slick-slide")||[];if(Array.from(D).every(function(Y){if(n.vertical){if(Y.offsetTop+S(Y)/2>n.swipeLeft*-1)return O=Y,!1}else if(Y.offsetLeft-f+E(Y)/2>n.swipeLeft*-1)return O=Y,!1;return!0}),!O)return 0;var N=n.rtl===!0?n.slideCount-n.currentSlide:n.currentSlide,W=Math.abs(O.dataset.index-N)||1;return W}else return n.slidesToScroll},x=B.checkSpecKeys=function(n,f){return f.reduce(function(O,I){return O&&n.hasOwnProperty(I)},!0)?null:console.error("Keys Missing:",n)},T=B.getTrackCSS=function(n){x(n,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var f,O;if(!n.vertical)f=_(n)*n.slideWidth;else{var I=n.unslick?n.slideCount:n.slideCount+2*n.slidesToShow;O=I*n.slideHeight}var D={opacity:1,transition:"",WebkitTransition:""};if(n.useTransform){var N=n.vertical?"translate3d(0px, "+n.left+"px, 0px)":"translate3d("+n.left+"px, 0px, 0px)",W=n.vertical?"translate3d(0px, "+n.left+"px, 0px)":"translate3d("+n.left+"px, 0px, 0px)",Y=n.vertical?"translateY("+n.left+"px)":"translateX("+n.left+"px)";D=s(s({},D),{},{WebkitTransform:N,transform:W,msTransform:Y})}else n.vertical?D.top=n.left:D.left=n.left;return n.fade&&(D={opacity:1}),f&&(D.width=f),O&&(D.height=O),window&&!window.addEventListener&&window.attachEvent&&(n.vertical?D.marginTop=n.left+"px":D.marginLeft=n.left+"px"),D},b=B.getTrackAnimateCSS=function(n){x(n,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var f=T(n);return n.useTransform?(f.WebkitTransition="-webkit-transform "+n.speed+"ms "+n.cssEase,f.transition="transform "+n.speed+"ms "+n.cssEase):n.vertical?f.transition="top "+n.speed+"ms "+n.cssEase:f.transition="left "+n.speed+"ms "+n.cssEase,f},d=B.getTrackLeft=function(n){if(n.unslick)return 0;x(n,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var f=n.slideIndex,O=n.trackRef,I=n.infinite,D=n.centerMode,N=n.slideCount,W=n.slidesToShow,Y=n.slidesToScroll,q=n.slideWidth,K=n.listWidth,G=n.variableWidth,J=n.slideHeight,te=n.fade,Z=n.vertical,ee=0,ie,le,Q=0;if(te||n.slideCount===1)return 0;var oe=0;if(I?(oe=-C(n),N%Y!==0&&f+Y>N&&(oe=-(f>N?W-(f-N):N%Y)),D&&(oe+=parseInt(W/2))):(N%Y!==0&&f+Y>N&&(oe=W-N%Y),D&&(oe=parseInt(W/2))),ee=oe*q,Q=oe*J,Z?ie=f*J*-1+Q:ie=f*q*-1+ee,G===!0){var ue,ce=O&&O.node;if(ue=f+C(n),le=ce&&ce.childNodes[ue],ie=le?le.offsetLeft*-1:0,D===!0){ue=I?f+C(n):f,le=ce&&ce.children[ue],ie=0;for(var pe=0;pe<ue;pe++)ie-=ce&&ce.children[pe]&&ce.children[pe].offsetWidth;ie-=parseInt(n.centerPadding),ie+=le&&(K-le.offsetWidth)/2}}return ie},C=B.getPreClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},H=B.getPostClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},_=B.getTotalSlides=function(n){return n.slideCount===1?1:C(n)+n.slideCount+H(n)},j=B.siblingDirection=function(n){return n.targetSlide>n.currentSlide?n.targetSlide>n.currentSlide+P(n)?"left":"right":n.targetSlide<n.currentSlide-L(n)?"right":"left"},P=B.slidesOnRight=function(n){var f=n.slidesToShow,O=n.centerMode,I=n.rtl,D=n.centerPadding;if(O){var N=(f-1)/2+1;return parseInt(D)>0&&(N+=1),I&&f%2===0&&(N+=1),N}return I?0:f-1},L=B.slidesOnLeft=function(n){var f=n.slidesToShow,O=n.centerMode,I=n.rtl,D=n.centerPadding;if(O){var N=(f-1)/2+1;return parseInt(D)>0&&(N+=1),!I&&f%2===0&&(N+=1),N}return I?f-1:0};B.canUseDOM=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)};var o=B.validSettings=Object.keys(t.default);function z(m){return o.reduce(function(n,f){return m.hasOwnProperty(f)&&(n[f]=m[f]),n},{})}return B}var Ne={},ur;function Dn(){if(ur)return Ne;ur=1,Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.Track=void 0;var e=i(V),t=i(yt()),r=Ge();function i(b){return b&&b.__esModule?b:{default:b}}function a(b){"@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(b)}function s(){return s=Object.assign?Object.assign.bind():function(b){for(var d=1;d<arguments.length;d++){var C=arguments[d];for(var H in C)({}).hasOwnProperty.call(C,H)&&(b[H]=C[H])}return b},s.apply(null,arguments)}function c(b,d){if(!(b instanceof d))throw new TypeError("Cannot call a class as a function")}function u(b,d){for(var C=0;C<d.length;C++){var H=d[C];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(b,U(H.key),H)}}function l(b,d,C){return d&&u(b.prototype,d),Object.defineProperty(b,"prototype",{writable:!1}),b}function h(b,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(d&&d.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),Object.defineProperty(b,"prototype",{writable:!1}),d&&g(b,d)}function g(b,d){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(C,H){return C.__proto__=H,C},g(b,d)}function y(b){var d=k();return function(){var C,H=p(b);if(d){var _=p(this).constructor;C=Reflect.construct(H,arguments,_)}else C=H.apply(this,arguments);return R(this,C)}}function R(b,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(b)}function M(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function k(){try{var b=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(k=function(){return!!b})()}function p(b){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(d){return d.__proto__||Object.getPrototypeOf(d)},p(b)}function E(b,d){var C=Object.keys(b);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(b);d&&(H=H.filter(function(_){return Object.getOwnPropertyDescriptor(b,_).enumerable})),C.push.apply(C,H)}return C}function S(b){for(var d=1;d<arguments.length;d++){var C=arguments[d]!=null?arguments[d]:{};d%2?E(Object(C),!0).forEach(function(H){A(b,H,C[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(C)):E(Object(C)).forEach(function(H){Object.defineProperty(b,H,Object.getOwnPropertyDescriptor(C,H))})}return b}function A(b,d,C){return(d=U(d))in b?Object.defineProperty(b,d,{value:C,enumerable:!0,configurable:!0,writable:!0}):b[d]=C,b}function U(b){var d=F(b,"string");return a(d)=="symbol"?d:d+""}function F(b,d){if(a(b)!="object"||!b)return b;var C=b[Symbol.toPrimitive];if(C!==void 0){var H=C.call(b,d);if(a(H)!="object")return H;throw new TypeError("@@toPrimitive must return a primitive value.")}return(d==="string"?String:Number)(b)}var v=function(d){var C,H,_,j,P;d.rtl?P=d.slideCount-1-d.index:P=d.index,_=P<0||P>=d.slideCount,d.centerMode?(j=Math.floor(d.slidesToShow/2),H=(P-d.currentSlide)%d.slideCount===0,P>d.currentSlide-j-1&&P<=d.currentSlide+j&&(C=!0)):C=d.currentSlide<=P&&P<d.currentSlide+d.slidesToShow;var L;d.targetSlide<0?L=d.targetSlide+d.slideCount:d.targetSlide>=d.slideCount?L=d.targetSlide-d.slideCount:L=d.targetSlide;var o=P===L;return{"slick-slide":!0,"slick-active":C,"slick-center":H,"slick-cloned":_,"slick-current":o}},w=function(d){var C={};return(d.variableWidth===void 0||d.variableWidth===!1)&&(C.width=d.slideWidth),d.fade&&(C.position="relative",d.vertical?C.top=-d.index*parseInt(d.slideHeight):C.left=-d.index*parseInt(d.slideWidth),C.opacity=d.currentSlide===d.index?1:0,C.zIndex=d.currentSlide===d.index?999:998,d.useCSS&&(C.transition="opacity "+d.speed+"ms "+d.cssEase+", visibility "+d.speed+"ms "+d.cssEase)),C},x=function(d,C){return d.key||C},T=function(d){var C,H=[],_=[],j=[],P=e.default.Children.count(d.children),L=(0,r.lazyStartIndex)(d),o=(0,r.lazyEndIndex)(d);return e.default.Children.forEach(d.children,function(z,m){var n,f={message:"children",index:m,slidesToScroll:d.slidesToScroll,currentSlide:d.currentSlide};!d.lazyLoad||d.lazyLoad&&d.lazyLoadedList.indexOf(m)>=0?n=z:n=e.default.createElement("div",null);var O=w(S(S({},d),{},{index:m})),I=n.props.className||"",D=v(S(S({},d),{},{index:m}));if(H.push(e.default.cloneElement(n,{key:"original"+x(n,m),"data-index":m,className:(0,t.default)(D,I),tabIndex:"-1","aria-hidden":!D["slick-active"],style:S(S({outline:"none"},n.props.style||{}),O),onClick:function(Y){n.props&&n.props.onClick&&n.props.onClick(Y),d.focusOnSelect&&d.focusOnSelect(f)}})),d.infinite&&P>1&&d.fade===!1&&!d.unslick){var N=P-m;N<=(0,r.getPreClones)(d)&&(C=-N,C>=L&&(n=z),D=v(S(S({},d),{},{index:C})),_.push(e.default.cloneElement(n,{key:"precloned"+x(n,C),"data-index":C,tabIndex:"-1",className:(0,t.default)(D,I),"aria-hidden":!D["slick-active"],style:S(S({},n.props.style||{}),O),onClick:function(Y){n.props&&n.props.onClick&&n.props.onClick(Y),d.focusOnSelect&&d.focusOnSelect(f)}}))),m<(0,r.getPostClones)(d)&&(C=P+m,C<o&&(n=z),D=v(S(S({},d),{},{index:C})),j.push(e.default.cloneElement(n,{key:"postcloned"+x(n,C),"data-index":C,tabIndex:"-1",className:(0,t.default)(D,I),"aria-hidden":!D["slick-active"],style:S(S({},n.props.style||{}),O),onClick:function(Y){n.props&&n.props.onClick&&n.props.onClick(Y),d.focusOnSelect&&d.focusOnSelect(f)}})))}}),d.rtl?_.concat(H,j).reverse():_.concat(H,j)};return Ne.Track=function(b){h(C,b);var d=y(C);function C(){var H;c(this,C);for(var _=arguments.length,j=new Array(_),P=0;P<_;P++)j[P]=arguments[P];return H=d.call.apply(d,[this].concat(j)),A(M(H),"node",null),A(M(H),"handleRef",function(L){H.node=L}),H}return l(C,[{key:"render",value:function(){var _=T(this.props),j=this.props,P=j.onMouseEnter,L=j.onMouseOver,o=j.onMouseLeave,z={onMouseEnter:P,onMouseOver:L,onMouseLeave:o};return e.default.createElement("div",s({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},z),_)}}]),C}(e.default.PureComponent),Ne}var Fe={},cr;function $n(){if(cr)return Fe;cr=1;function e(v){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(w){return typeof w}:function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},e(v)}Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.Dots=void 0;var t=a(V),r=a(yt()),i=Ge();function a(v){return v&&v.__esModule?v:{default:v}}function s(v,w){var x=Object.keys(v);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(v);w&&(T=T.filter(function(b){return Object.getOwnPropertyDescriptor(v,b).enumerable})),x.push.apply(x,T)}return x}function c(v){for(var w=1;w<arguments.length;w++){var x=arguments[w]!=null?arguments[w]:{};w%2?s(Object(x),!0).forEach(function(T){u(v,T,x[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(x)):s(Object(x)).forEach(function(T){Object.defineProperty(v,T,Object.getOwnPropertyDescriptor(x,T))})}return v}function u(v,w,x){return(w=y(w))in v?Object.defineProperty(v,w,{value:x,enumerable:!0,configurable:!0,writable:!0}):v[w]=x,v}function l(v,w){if(!(v instanceof w))throw new TypeError("Cannot call a class as a function")}function h(v,w){for(var x=0;x<w.length;x++){var T=w[x];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(v,y(T.key),T)}}function g(v,w,x){return w&&h(v.prototype,w),Object.defineProperty(v,"prototype",{writable:!1}),v}function y(v){var w=R(v,"string");return e(w)=="symbol"?w:w+""}function R(v,w){if(e(v)!="object"||!v)return v;var x=v[Symbol.toPrimitive];if(x!==void 0){var T=x.call(v,w);if(e(T)!="object")return T;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(v)}function M(v,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(w&&w.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),w&&k(v,w)}function k(v,w){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(x,T){return x.__proto__=T,x},k(v,w)}function p(v){var w=A();return function(){var x,T=U(v);if(w){var b=U(this).constructor;x=Reflect.construct(T,arguments,b)}else x=T.apply(this,arguments);return E(this,x)}}function E(v,w){if(w&&(e(w)=="object"||typeof w=="function"))return w;if(w!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return S(v)}function S(v){if(v===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v}function A(){try{var v=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(A=function(){return!!v})()}function U(v){return U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(w){return w.__proto__||Object.getPrototypeOf(w)},U(v)}var F=function(w){var x;return w.infinite?x=Math.ceil(w.slideCount/w.slidesToScroll):x=Math.ceil((w.slideCount-w.slidesToShow)/w.slidesToScroll)+1,x};return Fe.Dots=function(v){M(x,v);var w=p(x);function x(){return l(this,x),w.apply(this,arguments)}return g(x,[{key:"clickHandler",value:function(b,d){d.preventDefault(),this.props.clickHandler(b)}},{key:"render",value:function(){for(var b=this.props,d=b.onMouseEnter,C=b.onMouseOver,H=b.onMouseLeave,_=b.infinite,j=b.slidesToScroll,P=b.slidesToShow,L=b.slideCount,o=b.currentSlide,z=F({slideCount:L,slidesToScroll:j,slidesToShow:P,infinite:_}),m={onMouseEnter:d,onMouseOver:C,onMouseLeave:H},n=[],f=0;f<z;f++){var O=(f+1)*j-1,I=_?O:(0,i.clamp)(O,0,L-1),D=I-(j-1),N=_?D:(0,i.clamp)(D,0,L-1),W=(0,r.default)({"slick-active":_?o>=N&&o<=I:o===N}),Y={message:"dots",index:f,slidesToScroll:j,currentSlide:o},q=this.clickHandler.bind(this,Y);n=n.concat(t.default.createElement("li",{key:f,className:W},t.default.cloneElement(this.props.customPaging(f),{onClick:q})))}return t.default.cloneElement(this.props.appendDots(n),c({className:this.props.dotsClass},m))}}]),x}(t.default.PureComponent),Fe}var Re={},fr;function In(){if(fr)return Re;fr=1;function e(v){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(w){return typeof w}:function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},e(v)}Object.defineProperty(Re,"__esModule",{value:!0}),Re.PrevArrow=Re.NextArrow=void 0;var t=a(V),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 w=1;w<arguments.length;w++){var x=arguments[w];for(var T in x)({}).hasOwnProperty.call(x,T)&&(v[T]=x[T])}return v},s.apply(null,arguments)}function c(v,w){var x=Object.keys(v);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(v);w&&(T=T.filter(function(b){return Object.getOwnPropertyDescriptor(v,b).enumerable})),x.push.apply(x,T)}return x}function u(v){for(var w=1;w<arguments.length;w++){var x=arguments[w]!=null?arguments[w]:{};w%2?c(Object(x),!0).forEach(function(T){l(v,T,x[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(x)):c(Object(x)).forEach(function(T){Object.defineProperty(v,T,Object.getOwnPropertyDescriptor(x,T))})}return v}function l(v,w,x){return(w=R(w))in v?Object.defineProperty(v,w,{value:x,enumerable:!0,configurable:!0,writable:!0}):v[w]=x,v}function h(v,w){if(!(v instanceof w))throw new TypeError("Cannot call a class as a function")}function g(v,w){for(var x=0;x<w.length;x++){var T=w[x];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(v,R(T.key),T)}}function y(v,w,x){return w&&g(v.prototype,w),Object.defineProperty(v,"prototype",{writable:!1}),v}function R(v){var w=M(v,"string");return e(w)=="symbol"?w:w+""}function M(v,w){if(e(v)!="object"||!v)return v;var x=v[Symbol.toPrimitive];if(x!==void 0){var T=x.call(v,w);if(e(T)!="object")return T;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(v)}function k(v,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(w&&w.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),w&&p(v,w)}function p(v,w){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(x,T){return x.__proto__=T,x},p(v,w)}function E(v){var w=U();return function(){var x,T=F(v);if(w){var b=F(this).constructor;x=Reflect.construct(T,arguments,b)}else x=T.apply(this,arguments);return S(this,x)}}function S(v,w){if(w&&(e(w)=="object"||typeof w=="function"))return w;if(w!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return A(v)}function A(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 F(v){return F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(w){return w.__proto__||Object.getPrototypeOf(w)},F(v)}return Re.PrevArrow=function(v){k(x,v);var w=E(x);function x(){return h(this,x),w.apply(this,arguments)}return y(x,[{key:"clickHandler",value:function(b,d){d&&d.preventDefault(),this.props.clickHandler(b,d)}},{key:"render",value:function(){var b={"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)&&(b["slick-disabled"]=!0,d=null);var C={key:"0","data-role":"none",className:(0,r.default)(b),style:{display:"block"},onClick:d},H={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},_;return this.props.prevArrow?_=t.default.cloneElement(this.props.prevArrow,u(u({},C),H)):_=t.default.createElement("button",s({key:"0",type:"button"},C)," ","Previous"),_}}]),x}(t.default.PureComponent),Re.NextArrow=function(v){k(x,v);var w=E(x);function x(){return h(this,x),w.apply(this,arguments)}return y(x,[{key:"clickHandler",value:function(b,d){d&&d.preventDefault(),this.props.clickHandler(b,d)}},{key:"render",value:function(){var b={"slick-arrow":!0,"slick-next":!0},d=this.clickHandler.bind(this,{message:"next"});(0,i.canGoNext)(this.props)||(b["slick-disabled"]=!0,d=null);var C={key:"1","data-role":"none",className:(0,r.default)(b),style:{display:"block"},onClick:d},H={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},_;return this.props.nextArrow?_=t.default.cloneElement(this.props.nextArrow,u(u({},C),H)):_=t.default.createElement("button",s({key:"1",type:"button"},C)," ","Next"),_}}]),x}(t.default.PureComponent),Re}var Ir=function(){if(typeof Map<"u")return Map;function e(t,r){var i=-1;return t.some(function(a,s){return a[0]===r?(i=s,!0):!1}),i}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var i=e(this.__entries__,r),a=this.__entries__[i];return a&&a[1]},t.prototype.set=function(r,i){var a=e(this.__entries__,r);~a?this.__entries__[a][1]=i:this.__entries__.push([r,i])},t.prototype.delete=function(r){var i=this.__entries__,a=e(i,r);~a&&i.splice(a,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,i){i===void 0&&(i=null);for(var a=0,s=this.__entries__;a<s.length;a++){var c=s[a];r.call(i,c[1],c[0])}},t}()}(),It=typeof window<"u"&&typeof document<"u"&&window.document===document,pt=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),An=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(pt):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),Hn=2;function zn(e,t){var r=!1,i=!1,a=0;function s(){r&&(r=!1,e()),i&&u()}function c(){An(s)}function u(){var l=Date.now();if(r){if(l-a<Hn)return;i=!0}else r=!0,i=!1,setTimeout(c,t);a=l}return u}var Nn=20,Fn=["top","right","bottom","left","width","height","size","weight"],Wn=typeof MutationObserver<"u",Vn=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=zn(this.refresh.bind(this),Nn)}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),Wn?(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=Fn.some(function(s){return!!~i.indexOf(s)});a&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Ar=function(e,t){for(var r=0,i=Object.keys(t);r<i.length;r++){var a=i[r];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},_e=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||pt},Hr=bt(0,0,0,0);function mt(e){return parseFloat(e)||0}function dr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(i,a){var s=e["border-"+a+"-width"];return i+mt(s)},0)}function Un(e){for(var t=["top","right","bottom","left"],r={},i=0,a=t;i<a.length;i++){var s=a[i],c=e["padding-"+s];r[s]=mt(c)}return r}function Yn(e){var t=e.getBBox();return bt(0,0,t.width,t.height)}function Bn(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return Hr;var i=_e(e).getComputedStyle(e),a=Un(i),s=a.left+a.right,c=a.top+a.bottom,u=mt(i.width),l=mt(i.height);if(i.boxSizing==="border-box"&&(Math.round(u+s)!==t&&(u-=dr(i,"left","right")+s),Math.round(l+c)!==r&&(l-=dr(i,"top","bottom")+c)),!Xn(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 qn=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof _e(e).SVGGraphicsElement}:function(e){return e instanceof _e(e).SVGElement&&typeof e.getBBox=="function"}}();function Xn(e){return e===_e(e).document.documentElement}function Gn(e){return It?qn(e)?Yn(e):Bn(e):Hr}function Kn(e){var t=e.x,r=e.y,i=e.width,a=e.height,s=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,c=Object.create(s.prototype);return Ar(c,{x:t,y:r,width:i,height:a,top:r,right:t+i,bottom:a+r,left:t}),c}function bt(e,t,r,i){return{x:e,y:t,width:r,height:i}}var Jn=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=Gn(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}(),Zn=function(){function e(t,r){var i=Kn(r);Ar(this,{target:t,contentRect:i})}return e}(),Qn=function(){function e(t,r,i){if(this.activeObservations_=[],this.observations_=new Ir,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=i}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof _e(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new Jn(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 Zn(i.target,i.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),zr=typeof WeakMap<"u"?new WeakMap:new Ir,Nr=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=Vn.getInstance(),i=new Qn(t,r,this);zr.set(this,i)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Nr.prototype[e]=function(){var t;return(t=zr.get(this))[e].apply(t,arguments)}});var ei=function(){return typeof pt.ResizeObserver<"u"?pt.ResizeObserver:Nr}();const ti=Object.freeze(Object.defineProperty({__proto__:null,default:ei},Symbol.toStringTag,{value:"Module"})),ri=En(ti);var hr;function ni(){if(hr)return ze;hr=1,Object.defineProperty(ze,"__esModule",{value:!0}),ze.InnerSlider=void 0;var e=h(V),t=h(Ln()),r=h(Mn()),i=h(yt()),a=Ge(),s=Dn(),c=$n(),u=In(),l=h(ri);function h(_){return _&&_.__esModule?_:{default:_}}function g(_){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},g(_)}function y(){return y=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var P=arguments[j];for(var L in P)({}).hasOwnProperty.call(P,L)&&(_[L]=P[L])}return _},y.apply(null,arguments)}function R(_,j){if(_==null)return{};var P,L,o=M(_,j);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(_);for(L=0;L<z.length;L++)P=z[L],j.includes(P)||{}.propertyIsEnumerable.call(_,P)&&(o[P]=_[P])}return o}function M(_,j){if(_==null)return{};var P={};for(var L in _)if({}.hasOwnProperty.call(_,L)){if(j.includes(L))continue;P[L]=_[L]}return P}function k(_,j){var P=Object.keys(_);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(_);j&&(L=L.filter(function(o){return Object.getOwnPropertyDescriptor(_,o).enumerable})),P.push.apply(P,L)}return P}function p(_){for(var j=1;j<arguments.length;j++){var P=arguments[j]!=null?arguments[j]:{};j%2?k(Object(P),!0).forEach(function(L){d(_,L,P[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(P)):k(Object(P)).forEach(function(L){Object.defineProperty(_,L,Object.getOwnPropertyDescriptor(P,L))})}return _}function E(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function S(_,j){for(var P=0;P<j.length;P++){var L=j[P];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(_,C(L.key),L)}}function A(_,j,P){return j&&S(_.prototype,j),Object.defineProperty(_,"prototype",{writable:!1}),_}function U(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&F(_,j)}function F(_,j){return F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(P,L){return P.__proto__=L,P},F(_,j)}function v(_){var j=T();return function(){var P,L=b(_);if(j){var o=b(this).constructor;P=Reflect.construct(L,arguments,o)}else P=L.apply(this,arguments);return w(this,P)}}function w(_,j){if(j&&(g(j)=="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return x(_)}function x(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function T(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(T=function(){return!!_})()}function b(_){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(j){return j.__proto__||Object.getPrototypeOf(j)},b(_)}function d(_,j,P){return(j=C(j))in _?Object.defineProperty(_,j,{value:P,enumerable:!0,configurable:!0,writable:!0}):_[j]=P,_}function C(_){var j=H(_,"string");return g(j)=="symbol"?j:j+""}function H(_,j){if(g(_)!="object"||!_)return _;var P=_[Symbol.toPrimitive];if(P!==void 0){var L=P.call(_,j);if(g(L)!="object")return L;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}return ze.InnerSlider=function(_){U(P,_);var j=v(P);function P(L){var o;E(this,P),o=j.call(this,L),d(x(o),"listRefHandler",function(m){return o.list=m}),d(x(o),"trackRefHandler",function(m){return o.track=m}),d(x(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(x(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(x(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(x(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(I){return{lazyLoadedList:I.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),O=o.didPropsChange(m);O&&o.updateState(f,O,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(x(o),"onWindowResized",function(m){o.debouncedResize&&o.debouncedResize.cancel(),o.debouncedResize=(0,r.default)(function(){return o.resizeWindow(m)},50),o.debouncedResize()}),d(x(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(x(o),"updateState",function(m,n,f){var O=(0,a.initializedState)(m);m=p(p(p({},m),O),{},{slideIndex:O.currentSlide});var I=(0,a.getTrackLeft)(m);m=p(p({},m),{},{left:I});var D=(0,a.getTrackCSS)(m);(n||e.default.Children.count(o.props.children)!==e.default.Children.count(m.children))&&(O.trackStyle=D),o.setState(O,f)}),d(x(o),"ssrInit",function(){if(o.props.variableWidth){var m=0,n=0,f=[],O=(0,a.getPreClones)(p(p(p({},o.props),o.state),{},{slideCount:o.props.children.length})),I=(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 D=0;D<O;D++)n+=f[f.length-1-D],m+=f[f.length-1-D];for(var N=0;N<I;N++)m+=f[N];for(var W=0;W<o.state.currentSlide;W++)n+=f[W];var Y={width:m+"px",left:-n+"px"};if(o.props.centerMode){var q="".concat(f[o.state.currentSlide],"px");Y.left="calc(".concat(Y.left," + (100% - ").concat(q,") / 2 ) ")}return{trackStyle:Y}}var K=e.default.Children.count(o.props.children),G=p(p(p({},o.props),o.state),{},{slideCount:K}),J=(0,a.getPreClones)(G)+(0,a.getPostClones)(G)+K,te=100/o.props.slidesToShow*J,Z=100/J,ee=-Z*((0,a.getPreClones)(G)+o.state.currentSlide)*te/100;o.props.centerMode&&(ee+=(100-Z*te/100)/2);var ie={width:te+"%",left:ee+"%"};return{slideWidth:Z+"%",trackStyle:ie}}),d(x(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(O){var I=function(){return++f&&f>=n&&o.onWindowResized()};if(!O.onclick)O.onclick=function(){return O.parentNode.focus()};else{var D=O.onclick;O.onclick=function(N){D(N),O.parentNode.focus()}}O.onload||(o.props.lazyLoad?O.onload=function(){o.adaptHeight(),o.callbackTimers.push(setTimeout(o.onWindowResized,o.props.speed))}:(O.onload=I,O.onerror=function(){I(),o.props.onLazyLoadError&&o.props.onLazyLoadError()}))})}),d(x(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 O=o.state.currentSlide-1;O>=-(0,a.getPreClones)(n);O--)if(o.state.lazyLoadedList.indexOf(O)<0){m.push(O);break}m.length>0?(o.setState(function(I){return{lazyLoadedList:I.lazyLoadedList.concat(m)}}),o.props.onLazyLoad&&o.props.onLazyLoad(m)):o.lazyLoadTimer&&(clearInterval(o.lazyLoadTimer),delete o.lazyLoadTimer)}),d(x(o),"slideHandler",function(m){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,f=o.props,O=f.asNavFor,I=f.beforeChange,D=f.onLazyLoad,N=f.speed,W=f.afterChange,Y=o.state.currentSlide,q=(0,a.slideHandler)(p(p(p({index:m},o.props),o.state),{},{trackRef:o.track,useCSS:o.props.useCSS&&!n})),K=q.state,G=q.nextState;if(K){I&&I(Y,K.currentSlide);var J=K.lazyLoadedList.filter(function(te){return o.state.lazyLoadedList.indexOf(te)<0});D&&J.length>0&&D(J),!o.props.waitForAnimate&&o.animationEndCallback&&(clearTimeout(o.animationEndCallback),W&&W(Y),delete o.animationEndCallback),o.setState(K,function(){O&&o.asNavForIndex!==m&&(o.asNavForIndex=m,O.innerSlider.slideHandler(m)),G&&(o.animationEndCallback=setTimeout(function(){var te=G.animating,Z=R(G,["animating"]);o.setState(Z,function(){o.callbackTimers.push(setTimeout(function(){return o.setState({animating:te})},10)),W&&W(K.currentSlide),delete o.animationEndCallback})},N))})}}),d(x(o),"changeSlide",function(m){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,f=p(p({},o.props),o.state),O=(0,a.changeSlide)(f,m);if(!(O!==0&&!O)&&(n===!0?o.slideHandler(O,n):o.slideHandler(O),o.props.autoplay&&o.autoPlay("update"),o.props.focusOnSelect)){var I=o.list.querySelectorAll(".slick-current");I[0]&&I[0].focus()}}),d(x(o),"clickHandler",function(m){o.clickable===!1&&(m.stopPropagation(),m.preventDefault()),o.clickable=!0}),d(x(o),"keyHandler",function(m){var n=(0,a.keyHandler)(m,o.props.accessibility,o.props.rtl);n!==""&&o.changeSlide({message:n})}),d(x(o),"selectHandler",function(m){o.changeSlide(m)}),d(x(o),"disableBodyScroll",function(){var m=function(f){f=f||window.event,f.preventDefault&&f.preventDefault(),f.returnValue=!1};window.ontouchmove=m}),d(x(o),"enableBodyScroll",function(){window.ontouchmove=null}),d(x(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(x(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(x(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(x(o),"touchEnd",function(m){o.swipeEnd(m),o.clickable=!0}),d(x(o),"slickPrev",function(){o.callbackTimers.push(setTimeout(function(){return o.changeSlide({message:"previous"})},0))}),d(x(o),"slickNext",function(){o.callbackTimers.push(setTimeout(function(){return o.changeSlide({message:"next"})},0))}),d(x(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(x(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(x(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(x(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(x(o),"onDotsOver",function(){return o.props.autoplay&&o.pause("hovered")}),d(x(o),"onDotsLeave",function(){return o.props.autoplay&&o.state.autoplaying==="hovered"&&o.autoPlay("leave")}),d(x(o),"onTrackOver",function(){return o.props.autoplay&&o.pause("hovered")}),d(x(o),"onTrackLeave",function(){return o.props.autoplay&&o.state.autoplaying==="hovered"&&o.autoPlay("leave")}),d(x(o),"onSlideFocus",function(){return o.props.autoplay&&o.pause("focused")}),d(x(o),"onSlideBlur",function(){return o.props.autoplay&&o.state.autoplaying==="focused"&&o.autoPlay("blur")}),d(x(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"]),O=o.props.pauseOnHover;f=p(p({},f),{},{onMouseEnter:O?o.onTrackOver:null,onMouseLeave:O?o.onTrackLeave:null,onMouseOver:O?o.onTrackOver:null,focusOnSelect:o.props.focusOnSelect&&o.clickable?o.selectHandler:null});var I;if(o.props.dots===!0&&o.state.slideCount>=o.props.slidesToShow){var D=(0,a.extractObject)(n,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),N=o.props.pauseOnDotsHover;D=p(p({},D),{},{clickHandler:o.changeSlide,onMouseEnter:N?o.onDotsLeave:null,onMouseOver:N?o.onDotsOver:null,onMouseLeave:N?o.onDotsLeave:null}),I=e.default.createElement(c.Dots,D)}var W,Y,q=(0,a.extractObject)(n,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);q.clickHandler=o.changeSlide,o.props.arrows&&(W=e.default.createElement(u.PrevArrow,q),Y=e.default.createElement(u.NextArrow,q));var K=null;o.props.vertical&&(K={height:o.state.listHeight});var G=null;o.props.vertical===!1?o.props.centerMode===!0&&(G={padding:"0px "+o.props.centerPadding}):o.props.centerMode===!0&&(G={padding:o.props.centerPadding+" 0px"});var J=p(p({},K),G),te=o.props.touchMove,Z={className:"slick-list",style:J,onClick:o.clickHandler,onMouseDown:te?o.swipeStart:null,onMouseMove:o.state.dragging&&te?o.swipeMove:null,onMouseUp:te?o.swipeEnd:null,onMouseLeave:o.state.dragging&&te?o.swipeEnd:null,onTouchStart:te?o.swipeStart:null,onTouchMove:o.state.dragging&&te?o.swipeMove:null,onTouchEnd:te?o.touchEnd:null,onTouchCancel:o.state.dragging&&te?o.swipeEnd:null,onKeyDown:o.props.accessibility?o.keyHandler:null},ee={className:m,dir:"ltr",style:o.props.style};return o.props.unslick&&(Z={className:"slick-list"},ee={className:m,style:o.props.style}),e.default.createElement("div",ee,o.props.unslick?"":W,e.default.createElement("div",y({ref:o.listRefHandler},Z),e.default.createElement(s.Track,y({ref:o.trackRefHandler},f),o.props.children)),o.props.unslick?"":Y,o.props.unslick?"":I)}),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 z=o.ssrInit();return o.state=p(p({},o.state),z),o}return A(P,[{key:"didPropsChange",value:function(o){for(var z=!1,m=0,n=Object.keys(this.props);m<n.length;m++){var f=n[m];if(!o.hasOwnProperty(f)){z=!0;break}if(!(g(o[f])==="object"||typeof o[f]=="function"||isNaN(o[f]))&&o[f]!==this.props[f]){z=!0;break}}return z||e.default.Children.count(this.props.children)!==e.default.Children.count(o.children)}}]),P}(e.default.Component),ze}var jt,pr;function ii(){if(pr)return jt;pr=1;var e=function(t){return t.replace(/[A-Z]/g,function(r){return"-"+r.toLowerCase()}).toLowerCase()};return jt=e,jt}var Lt,mr;function ai(){if(mr)return Lt;mr=1;var e=ii(),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 vr;function oi(){return vr||(vr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=c(V),r=ni(),i=c(ai()),a=c($r()),s=Ge();function c(T){return T&&T.__esModule?T:{default:T}}function u(T){"@babel/helpers - typeof";return u=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},u(T)}function l(){return l=Object.assign?Object.assign.bind():function(T){for(var b=1;b<arguments.length;b++){var d=arguments[b];for(var C in d)({}).hasOwnProperty.call(d,C)&&(T[C]=d[C])}return T},l.apply(null,arguments)}function h(T,b){var d=Object.keys(T);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(T);b&&(C=C.filter(function(H){return Object.getOwnPropertyDescriptor(T,H).enumerable})),d.push.apply(d,C)}return d}function g(T){for(var b=1;b<arguments.length;b++){var d=arguments[b]!=null?arguments[b]:{};b%2?h(Object(d),!0).forEach(function(C){v(T,C,d[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(d)):h(Object(d)).forEach(function(C){Object.defineProperty(T,C,Object.getOwnPropertyDescriptor(d,C))})}return T}function y(T,b){if(!(T instanceof b))throw new TypeError("Cannot call a class as a function")}function R(T,b){for(var d=0;d<b.length;d++){var C=b[d];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(T,w(C.key),C)}}function M(T,b,d){return b&&R(T.prototype,b),Object.defineProperty(T,"prototype",{writable:!1}),T}function k(T,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function");T.prototype=Object.create(b&&b.prototype,{constructor:{value:T,writable:!0,configurable:!0}}),Object.defineProperty(T,"prototype",{writable:!1}),b&&p(T,b)}function p(T,b){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,C){return d.__proto__=C,d},p(T,b)}function E(T){var b=U();return function(){var d,C=F(T);if(b){var H=F(this).constructor;d=Reflect.construct(C,arguments,H)}else d=C.apply(this,arguments);return S(this,d)}}function S(T,b){if(b&&(u(b)=="object"||typeof b=="function"))return b;if(b!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return A(T)}function A(T){if(T===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T}function U(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(U=function(){return!!T})()}function F(T){return F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},F(T)}function v(T,b,d){return(b=w(b))in T?Object.defineProperty(T,b,{value:d,enumerable:!0,configurable:!0,writable:!0}):T[b]=d,T}function w(T){var b=x(T,"string");return u(b)=="symbol"?b:b+""}function x(T,b){if(u(T)!="object"||!T)return T;var d=T[Symbol.toPrimitive];if(d!==void 0){var C=d.call(T,b);if(u(C)!="object")return C;throw new TypeError("@@toPrimitive must return a primitive value.")}return(b==="string"?String:Number)(T)}e.default=function(T){k(d,T);var b=E(d);function d(C){var H;return y(this,d),H=b.call(this,C),v(A(H),"innerSliderRefHandler",function(_){return H.innerSlider=_}),v(A(H),"slickPrev",function(){return H.innerSlider.slickPrev()}),v(A(H),"slickNext",function(){return H.innerSlider.slickNext()}),v(A(H),"slickGoTo",function(_){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return H.innerSlider.slickGoTo(_,j)}),v(A(H),"slickPause",function(){return H.innerSlider.pause("paused")}),v(A(H),"slickPlay",function(){return H.innerSlider.autoPlay("play")}),H.state={breakpoint:null},H._responsiveMediaHandlers=[],H}return M(d,[{key:"media",value:function(H,_){var j=window.matchMedia(H),P=function(o){var z=o.matches;z&&_()};j.addListener(P),this._responsiveMediaHandlers.push({mql:j,query:H,listener:P})}},{key:"componentDidMount",value:function(){var H=this;if(this.props.responsive){var _=this.props.responsive.map(function(P){return P.breakpoint});_.sort(function(P,L){return P-L}),_.forEach(function(P,L){var o;L===0?o=(0,i.default)({minWidth:0,maxWidth:P}):o=(0,i.default)({minWidth:_[L-1]+1,maxWidth:P}),(0,s.canUseDOM)()&&H.media(o,function(){H.setState({breakpoint:P})})});var j=(0,i.default)({minWidth:_.slice(-1)[0]});(0,s.canUseDOM)()&&this.media(j,function(){H.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(H){H.mql.removeListener(H.listener)})}},{key:"render",value:function(){var H=this,_,j;this.state.breakpoint?(j=this.props.responsive.filter(function(D){return D.breakpoint===H.state.breakpoint}),_=j[0].settings==="unslick"?"unslick":g(g(g({},a.default),this.props),j[0].settings)):_=g(g({},a.default),this.props),_.centerMode&&(_.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(_.slidesToScroll)),_.slidesToScroll=1),_.fade&&(_.slidesToShow>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(_.slidesToShow)),_.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(_.slidesToScroll)),_.slidesToShow=1,_.slidesToScroll=1);var P=t.default.Children.toArray(this.props.children);P=P.filter(function(D){return typeof D=="string"?!!D.trim():!!D}),_.variableWidth&&(_.rows>1||_.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),_.variableWidth=!1);for(var L=[],o=null,z=0;z<P.length;z+=_.rows*_.slidesPerRow){for(var m=[],n=z;n<z+_.rows*_.slidesPerRow;n+=_.slidesPerRow){for(var f=[],O=n;O<n+_.slidesPerRow&&(_.variableWidth&&P[O].props.style&&(o=P[O].props.style.width),!(O>=P.length));O+=1)f.push(t.default.cloneElement(P[O],{key:100*z+10*n+O,tabIndex:-1,style:{width:"".concat(100/_.slidesPerRow,"%"),display:"inline-block"}}));m.push(t.default.createElement("div",{key:10*z+n},f))}_.variableWidth?L.push(t.default.createElement("div",{key:z,style:{width:o}},m)):L.push(t.default.createElement("div",{key:z},m))}if(_==="unslick"){var I="regular slider "+(this.props.className||"");return t.default.createElement("div",{className:I},P)}else L.length<=_.slidesToShow&&(_.unslick=!0);return t.default.createElement(r.InnerSlider,l({style:this.props.style,ref:this.innerSliderRefHandler},(0,s.filterSettings)(_)),L)}}]),d}(t.default.Component)}(Pt)),Pt}var gr;function si(){return gr||(gr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(oi());function r(i){return i&&i.__esModule?i:{default:i}}e.default=t.default}(Ct)),Ct}var li=si();const ui=Vt(li);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 ci(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 fi(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 di=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(fi(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var s=ci(a);try{s.insertRule(i,s.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(i));this.ctr++},t.flush=function(){this.tags.forEach(function(i){var a;return(a=i.parentNode)==null?void 0:a.removeChild(i)}),this.tags=[],this.ctr=0},e}(),de="-ms-",vt="-moz-",re="-webkit-",Fr="comm",Ut="rule",Yt="decl",hi="@import",Wr="@keyframes",pi="@layer",mi=Math.abs,wt=String.fromCharCode,vi=Object.assign;function gi(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 Vr(e){return e.trim()}function yi(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 Ye(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 bi(e,t){return e.map(t).join("")}var St=1,je=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:je,length:c,return:""}}function We(e,t){return vi(xt("",null,null,"",null,null,0),e,{length:-e.length},t)}function wi(){return se}function Si(){return se=he>0?fe(Le,--he):0,je--,se===10&&(je=1,St--),se}function me(){return se=he<Ur?fe(Le,he++):0,je++,se===10&&(je=1,St++),se}function be(){return fe(Le,he)}function ot(){return he}function Ke(e,t){return Ye(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=je=1,Ur=ge(Le=e),he=0,[]}function Br(e){return Le="",e}function st(e){return Vr(Ke(he-1,zt(e===91?e+2:e===40?e+1:e)))}function xi(e){for(;(se=be())&&se<33;)me();return Be(e)>2||Be(se)>3?"":" "}function Oi(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 ki(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 Ci(e){for(;!Be(be());)me();return Ke(e,he)}function Pi(e){return Br(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,y=c,R=0,M=0,k=0,p=1,E=1,S=1,A=0,U="",F=a,v=s,w=i,x=U;E;)switch(k=A,A=me()){case 40:if(k!=108&&fe(x,y-1)==58){Ht(x+=ne(st(A),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:x+=st(A);break;case 9:case 10:case 13:case 32:x+=xi(k);break;case 92:x+=Oi(ot()-1,7);continue;case 47:switch(be()){case 42:case 47:it(Ei(ki(me(),ot()),t,r),l);break;default:x+="/"}break;case 123*p:u[h++]=ge(x)*S;case 125*p:case 59:case 0:switch(A){case 0:case 125:E=0;case 59+g:S==-1&&(x=ne(x,/\f/g,"")),M>0&&ge(x)-y&&it(M>32?br(x+";",i,r,y-1):br(ne(x," ","")+";",i,r,y-2),l);break;case 59:x+=";";default:if(it(w=yr(x,t,r,h,g,a,u,U,F=[],v=[],y),s),A===123)if(g===0)lt(x,t,w,w,F,s,y,u,v);else switch(R===99&&fe(x,3)===110?100:R){case 100:case 108:case 109:case 115:lt(e,w,w,i&&it(yr(e,w,w,0,0,a,u,U,a,F=[],y),v),a,v,y,u,i?F:v);break;default:lt(x,w,w,w,[""],v,0,u,v)}}h=g=M=0,p=S=1,U=x="",y=c;break;case 58:y=1+ge(x),M=k;default:if(p<1){if(A==123)--p;else if(A==125&&p++==0&&Si()==125)continue}switch(x+=wt(A),A*p){case 38:S=g>0?1:(x+="\f",-1);break;case 44:u[h++]=(ge(x)-1)*S,S=1;break;case 64:be()===45&&(x+=st(me())),R=be(),g=y=ge(U=x+=Ci(ot())),A++;break;case 45:k===45&&ge(x)==2&&(p=0)}}return s}function yr(e,t,r,i,a,s,c,u,l,h,g){for(var y=a-1,R=a===0?s:[""],M=Bt(R),k=0,p=0,E=0;k<i;++k)for(var S=0,A=Ye(e,y+1,y=mi(p=c[k])),U=e;S<M;++S)(U=Vr(p>0?R[S]+" "+A:ne(A,/&\f/g,R[S])))&&(l[E++]=U);return xt(e,t,r,a===0?Ut:u,l,h,g)}function Ei(e,t,r){return xt(e,t,r,Fr,wt(wi()),Ye(e,2,-2),0)}function br(e,t,r,i){return xt(e,t,r,Yt,Ye(e,0,i),Ye(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 Ri(e,t,r,i){switch(e.type){case pi:if(e.children.length)break;case hi:case Yt:return e.return=e.return||e.value;case Fr:return"";case Wr:return e.return=e.value+"{"+Te(e.children,i)+"}";case Ut:e.value=e.props.join(",")}return ge(r=Te(e.children,i))?e.return=e.value+"{"+r+"}":""}function Ti(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 _i(e){return function(t){t.root||(t=t.return)&&e(t)}}function qr(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var ji=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)},Li=function(t,r){var i=-1,a=44;do switch(Be(a)){case 0:a===38&&be()===12&&(r[i]=1),t[i]+=ji(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},Mi=function(t,r){return Br(Li(Yr(t),r))},wr=new WeakMap,Di=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,i=t.parent,a=t.column===i.column&&t.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!wr.get(i))&&!a){wr.set(t,!0);for(var s=[],c=Mi(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]}}},$i=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Xr(e,t){switch(gi(e,t)){case 5103:return re+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return re+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return re+e+vt+e+de+e+e;case 6828:case 4268:return re+e+de+e+e;case 6165:return re+e+de+"flex-"+e+e;case 5187:return re+e+ne(e,/(\w+).+(:[^]+)/,re+"box-$1$2"+de+"flex-$1$2")+e;case 5443:return re+e+de+"flex-item-"+ne(e,/flex-|-self/,"")+e;case 4675:return re+e+de+"flex-line-pack"+ne(e,/align-content|flex-|-self/,"")+e;case 5548:return re+e+de+ne(e,"shrink","negative")+e;case 5292:return re+e+de+ne(e,"basis","preferred-size")+e;case 6060:return re+"box-"+ne(e,"-grow","")+re+e+de+ne(e,"grow","positive")+e;case 4554:return re+ne(e,/([^-])(transform)/g,"$1"+re+"$2")+e;case 6187:return ne(ne(ne(e,/(zoom-|grab)/,re+"$1"),/(image-set)/,re+"$1"),e,"")+e;case 5495:case 3959:return ne(e,/(image-set\([^]*)/,re+"$1$`$1");case 4968:return ne(ne(e,/(.+:)(flex-)?(.*)/,re+"box-pack:$3"+de+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+re+e+e;case 4095:case 3583:case 4068:case 2532:return ne(e,/(.+)-inline(.+)/,re+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ge(e)-1-t>6)switch(fe(e,t+1)){case 109:if(fe(e,t+4)!==45)break;case 102:return ne(e,/(.+:)(.+)-([^]+)/,"$1"+re+"$2-$3$1"+vt+(fe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ht(e,"stretch")?Xr(ne(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(fe(e,t+1)!==115)break;case 6444:switch(fe(e,ge(e)-3-(~Ht(e,"!important")&&10))){case 107:return ne(e,":",":"+re)+e;case 101:return ne(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+re+(fe(e,14)===45?"inline-":"")+"box$3$1"+re+"$2$3$1"+de+"$2box$3")+e}break;case 5936:switch(fe(e,t+11)){case 114:return re+e+de+ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return re+e+de+ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return re+e+de+ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return re+e+de+e+e}return e}var Ii=function(t,r,i,a){if(t.length>-1&&!t.return)switch(t.type){case Yt:t.return=Xr(t.value,t.length);break;case Wr:return Te([We(t,{value:ne(t.value,"@","@"+re)})],a);case Ut:if(t.length)return bi(t.props,function(s){switch(yi(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""})}},Ai=[Ii],Hi=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 E=p.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var a=t.stylisPlugins||Ai,s={},c,u=[];c=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(p){for(var E=p.getAttribute("data-emotion").split(" "),S=1;S<E.length;S++)s[E[S]]=!0;u.push(p)});var l,h=[Di,$i];{var g,y=[Ri,_i(function(p){g.insert(p)})],R=Ti(h.concat(a,y)),M=function(E){return Te(Pi(E),R)};l=function(E,S,A,U){g=A,M(E?E+"{"+S.styles+"}":S.styles),U&&(k.inserted[S.name]=!0)}}var k={key:r,sheet:new di({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 k.sheet.hydrate(u),k},zi=!0;function Ni(e,t,r){var i="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):a&&(i+=a+" ")}),i}var Gr=function(t,r,i){var a=t.key+"-"+r.name;(i===!1||zi===!1)&&t.registered[a]===void 0&&(t.registered[a]=r.styles)},Fi=function(t,r,i){Gr(t,r,i);var a=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var s=r;do t.insert(r===s?"."+a:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function Wi(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 Vi={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ui=/[A-Z]|^ms/g,Yi=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Kr=function(t){return t.charCodeAt(1)===45},Sr=function(t){return t!=null&&typeof t!="boolean"},Mt=qr(function(e){return Kr(e)?e:e.replace(Ui,"-$&").toLowerCase()}),xr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Yi,function(i,a,s){return ye={name:a,styles:s,next:ye},a})}return Vi[t]!==1&&!Kr(t)&&typeof r=="number"&&r!==0?r+"px":r};function qe(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 Bi(e,t,r)}case"function":{if(e!==void 0){var l=ye,h=r(e);return ye=l,qe(e,t,h)}break}}var g=r;if(t==null)return g;var y=t[g];return y!==void 0?y:g}function Bi(e,t,r){var i="";if(Array.isArray(r))for(var a=0;a<r.length;a++)i+=qe(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]+"}":Sr(u)&&(i+=Mt(s)+":"+xr(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++)Sr(c[l])&&(i+=Mt(s)+":"+xr(s,c[l])+";");else{var h=qe(e,t,c);switch(s){case"animation":case"animationName":{i+=Mt(s)+":"+h+";";break}default:i+=s+"{"+h+"}"}}}return i}var Or=/label:\s*([^\s;{]+)\s*(;|$)/g,ye;function qi(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,a="";ye=void 0;var s=e[0];if(s==null||s.raw===void 0)i=!1,a+=qe(r,t,s);else{var c=s;a+=c[0]}for(var u=1;u<e.length;u++)if(a+=qe(r,t,e[u]),i){var l=s;a+=l[u]}Or.lastIndex=0;for(var h="",g;(g=Or.exec(a))!==null;)h+="-"+g[1];var y=Wi(a)+h;return{name:y,styles:a,next:ye}}var Xi=function(t){return t()},Gi=$.useInsertionEffect?$.useInsertionEffect:!1,Ki=Gi||Xi,Jr=$.createContext(typeof HTMLElement<"u"?Hi({key:"css"}):null);Jr.Provider;var Ji=function(t){return V.forwardRef(function(r,i){var a=V.useContext(Jr);return t(r,a,i)})},Zi=$.createContext({}),Qi=/^((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)-.*))$/,ea=qr(function(e){return Qi.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),ta=ea,ra=function(t){return t!=="theme"},kr=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?ta:ra},Cr=function(t,r,i){var a;if(r){var s=r.shouldForwardProp;a=t.__emotion_forwardProp&&s?function(c){return t.__emotion_forwardProp(c)&&s(c)}:s}return typeof a!="function"&&i&&(a=t.__emotion_forwardProp),a},na=function(t){var r=t.cache,i=t.serialized,a=t.isStringTag;return Gr(r,i,a),Ki(function(){return Fi(r,i,a)}),null},ia=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=Cr(t,r,i),l=u||kr(a),h=!l("as");return function(){var g=arguments,y=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&y.push("label:"+s+";"),g[0]==null||g[0].raw===void 0)y.push.apply(y,g);else{var R=g[0];y.push(R[0]);for(var M=g.length,k=1;k<M;k++)y.push(g[k],R[k])}var p=Ji(function(E,S,A){var U=h&&E.as||a,F="",v=[],w=E;if(E.theme==null){w={};for(var x in E)w[x]=E[x];w.theme=$.useContext(Zi)}typeof E.className=="string"?F=Ni(S.registered,v,E.className):E.className!=null&&(F=E.className+" ");var T=qi(y.concat(v),S.registered,w);F+=S.key+"-"+T.name,c!==void 0&&(F+=" "+c);var b=h&&u===void 0?kr(U):l,d={};for(var C in E)h&&C==="as"||b(C)&&(d[C]=E[C]);return d.className=F,A&&(d.ref=A),$.createElement($.Fragment,null,$.createElement(na,{cache:S,serialized:T,isStringTag:typeof U=="string"}),$.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=y,p.__emotion_forwardProp=u,Object.defineProperty(p,"toString",{value:function(){return"."+c}}),p.withComponent=function(E,S){var A=e(E,At({},r,S,{shouldForwardProp:Cr(p,S,!0)}));return A.apply(void 0,y)},p}},aa=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Pe=ia.bind(null);aa.forEach(function(e){Pe[e]=Pe(e)});const oa=Pe.div`
|
|
26
|
+
*/var or;function yt(){return or||(or=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var s="",c=0;c<arguments.length;c++){var 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})()}(Tt)),Tt.exports}var B={},_t={},sr;function $r(){return sr||(sr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(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}(_t)),_t}var lr;function Ge(){if(lr)return B;lr=1,Object.defineProperty(B,"__esModule",{value:!0}),B.checkSpecKeys=B.checkNavigable=B.changeSlide=B.canUseDOM=B.canGoNext=void 0,B.clamp=h,B.extractObject=void 0,B.filterSettings=z,B.validSettings=B.swipeStart=B.swipeMove=B.swipeEnd=B.slidesOnRight=B.slidesOnLeft=B.slideHandler=B.siblingDirection=B.safePreventDefault=B.lazyStartIndex=B.lazySlidesOnRight=B.lazySlidesOnLeft=B.lazyEndIndex=B.keyHandler=B.initializedState=B.getWidth=B.getTrackLeft=B.getTrackCSS=B.getTrackAnimateCSS=B.getTotalSlides=B.getSwipeDirection=B.getSlideCount=B.getRequiredLazySlides=B.getPreClones=B.getPostClones=B.getOnDemandLazySlides=B.getNavigableIndexes=B.getHeight=void 0;var e=r(U),t=r($r());function r(m){return m&&m.__esModule?m:{default:m}}function i(m){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},i(m)}function a(m,n){var f=Object.keys(m);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(m);n&&(O=O.filter(function(I){return Object.getOwnPropertyDescriptor(m,I).enumerable})),f.push.apply(f,O)}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(O){c(m,O,f[O])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(f)):a(Object(f)).forEach(function(O){Object.defineProperty(m,O,Object.getOwnPropertyDescriptor(f,O))})}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 O=f.call(m,n);if(i(O)!="object")return O;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(m)}function h(m,n,f){return Math.max(n,Math.min(m,f))}var g=B.safePreventDefault=function(n){var f=["onTouchStart","onTouchMove","onWheel"];f.includes(n._reactName)||n.preventDefault()},y=B.getOnDemandLazySlides=function(n){for(var f=[],O=E(n),I=M(n),D=O;D<I;D++)n.lazyLoadedList.indexOf(D)<0&&f.push(D);return f};B.getRequiredLazySlides=function(n){for(var f=[],O=E(n),I=M(n),D=O;D<I;D++)f.push(D);return f};var E=B.lazyStartIndex=function(n){return n.currentSlide-k(n)},M=B.lazyEndIndex=function(n){return n.currentSlide+p(n)},k=B.lazySlidesOnLeft=function(n){return n.centerMode?Math.floor(n.slidesToShow/2)+(parseInt(n.centerPadding)>0?1:0):0},p=B.lazySlidesOnRight=function(n){return n.centerMode?Math.floor((n.slidesToShow-1)/2)+1+(parseInt(n.centerPadding)>0?1:0):n.slidesToShow},R=B.getWidth=function(n){return n&&n.offsetWidth||0},S=B.getHeight=function(n){return n&&n.offsetHeight||0},A=B.getSwipeDirection=function(n){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,O,I,D,N;return O=n.startX-n.curX,I=n.startY-n.curY,D=Math.atan2(I,O),N=Math.round(D*180/Math.PI),N<0&&(N=360-Math.abs(N)),N<=45&&N>=0||N<=360&&N>=315?"left":N>=135&&N<=225?"right":f===!0?N>=35&&N<=135?"up":"down":"vertical"},W=B.canGoNext=function(n){var f=!0;return n.infinite||(n.centerMode&&n.currentSlide>=n.slideCount-1||n.slideCount<=n.slidesToShow||n.currentSlide>=n.slideCount-n.slidesToShow)&&(f=!1),f};B.extractObject=function(n,f){var O={};return f.forEach(function(I){return O[I]=n[I]}),O},B.initializedState=function(n){var f=e.default.Children.count(n.children),O=n.listRef,I=Math.ceil(R(O)),D=n.trackRef&&n.trackRef.node,N=Math.ceil(R(D)),V;if(n.vertical)V=I;else{var Y=n.centerMode&&parseInt(n.centerPadding)*2;typeof n.centerPadding=="string"&&n.centerPadding.slice(-1)==="%"&&(Y*=I/100),V=Math.ceil((I-Y)/n.slidesToShow)}var q=O&&S(O.querySelector('[data-index="0"]')),K=q*n.slidesToShow,G=n.currentSlide===void 0?n.initialSlide:n.currentSlide;n.rtl&&n.currentSlide===void 0&&(G=f-1-n.initialSlide);var J=n.lazyLoadedList||[],te=y(s(s({},n),{},{currentSlide:G,lazyLoadedList:J}));J=J.concat(te);var Z={slideCount:f,slideWidth:V,listWidth:I,trackWidth:N,currentSlide:G,slideHeight:q,listHeight:K,lazyLoadedList:J};return n.autoplaying===null&&n.autoplay&&(Z.autoplaying="playing"),Z},B.slideHandler=function(n){var f=n.waitForAnimate,O=n.animating,I=n.fade,D=n.infinite,N=n.index,V=n.slideCount,Y=n.lazyLoad,q=n.currentSlide,K=n.centerMode,G=n.slidesToScroll,J=n.slidesToShow,te=n.useCSS,Z=n.lazyLoadedList;if(f&&O)return{};var ee=N,ie,le,Q,oe={},ue={},ce=D?N:h(N,0,V-1);if(I){if(!D&&(N<0||N>=V))return{};N<0?ee=N+V:N>=V&&(ee=N-V),Y&&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+V,D?V%G!==0&&(ie=V-V%G):ie=0):!W(n)&&ee>q?ee=ie=q:K&&ee>=V?(ee=D?V:V-1,ie=D?0:V-1):ee>=V&&(ie=ee-V,D?V%G!==0&&(ie=0):ie=V-J),!D&&ee+J>=V&&(ie=V-J),le=d(s(s({},n),{},{slideIndex:ee})),Q=d(s(s({},n),{},{slideIndex:ie})),D||(le===Q&&(ee=ie),le=Q),Y&&(Z=Z.concat(y(s(s({},n),{},{currentSlide:ee})))),te?(oe={animating:!0,currentSlide:ie,trackStyle:b(s(s({},n),{},{left:le})),lazyLoadedList:Z,targetSlide:ce},ue={animating:!1,currentSlide:ie,trackStyle:T(s(s({},n),{},{left:Q})),swipeLeft:null,targetSlide:ce}):oe={currentSlide:ie,trackStyle:T(s(s({},n),{},{left:Q})),lazyLoadedList:Z,targetSlide:ce};return{state:oe,nextState:ue}},B.changeSlide=function(n,f){var O,I,D,N,V,Y=n.slidesToScroll,q=n.slidesToShow,K=n.slideCount,G=n.currentSlide,J=n.targetSlide,te=n.lazyLoad,Z=n.infinite;if(N=K%Y!==0,O=N?0:(K-G)%Y,f.message==="previous")D=O===0?Y:q-O,V=G-D,te&&!Z&&(I=G-D,V=I===-1?K-1:I),Z||(V=J-Y);else if(f.message==="next")D=O===0?Y:O,V=G+D,te&&!Z&&(V=(G+Y)%K+O),Z||(V=J+Y);else if(f.message==="dots")V=f.index*f.slidesToScroll;else if(f.message==="children"){if(V=f.index,Z){var ee=j(s(s({},n),{},{targetSlide:V}));V>f.currentSlide&&ee==="left"?V=V-K:V<f.currentSlide&&ee==="right"&&(V=V+K)}}else f.message==="index"&&(V=Number(f.index));return V},B.keyHandler=function(n,f,O){return n.target.tagName.match("TEXTAREA|INPUT|SELECT")||!f?"":n.keyCode===37?O?"next":"previous":n.keyCode===39?O?"previous":"next":""},B.swipeStart=function(n,f,O){return n.target.tagName==="IMG"&&g(n),!f||!O&&n.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:n.touches?n.touches[0].pageX:n.clientX,startY:n.touches?n.touches[0].pageY:n.clientY,curX:n.touches?n.touches[0].pageX:n.clientX,curY:n.touches?n.touches[0].pageY:n.clientY}}},B.swipeMove=function(n,f){var O=f.scrolling,I=f.animating,D=f.vertical,N=f.swipeToSlide,V=f.verticalSwiping,Y=f.rtl,q=f.currentSlide,K=f.edgeFriction,G=f.edgeDragged,J=f.onEdge,te=f.swiped,Z=f.swiping,ee=f.slideCount,ie=f.slidesToScroll,le=f.infinite,Q=f.touchObject,oe=f.swipeEvent,ue=f.listHeight,ce=f.listWidth;if(!O){if(I)return g(n);D&&N&&V&&g(n);var pe,Ee={},tt=d(f);Q.curX=n.touches?n.touches[0].pageX:n.clientX,Q.curY=n.touches?n.touches[0].pageY:n.clientY,Q.swipeLength=Math.round(Math.sqrt(Math.pow(Q.curX-Q.startX,2)));var er=Math.round(Math.sqrt(Math.pow(Q.curY-Q.startY,2)));if(!V&&!Z&&er>10)return{scrolling:!0};V&&(Q.swipeLength=er);var $e=(Y?-1:1)*(Q.curX>Q.startX?1:-1);V&&($e=Q.curY>Q.startY?1:-1);var Cn=Math.ceil(ee/ie),Ce=A(f.touchObject,V),Ie=Q.swipeLength;return le||(q===0&&(Ce==="right"||Ce==="down")||q+1>=Cn&&(Ce==="left"||Ce==="up")||!W(f)&&(Ce==="left"||Ce==="up"))&&(Ie=Q.swipeLength*K,G===!1&&J&&(J(Ce),Ee.edgeDragged=!0)),!te&&oe&&(oe(Ce),Ee.swiped=!0),D?pe=tt+Ie*(ue/ce)*$e:Y?pe=tt-Ie*$e:pe=tt+Ie*$e,V&&(pe=tt+Ie*$e),Ee=s(s({},Ee),{},{touchObject:Q,swipeLeft:pe,trackStyle:T(s(s({},f),{},{left:pe}))}),Math.abs(Q.curX-Q.startX)<Math.abs(Q.curY-Q.startY)*.8||Q.swipeLength>10&&(Ee.swiping=!0,g(n)),Ee}},B.swipeEnd=function(n,f){var O=f.dragging,I=f.swipe,D=f.touchObject,N=f.listWidth,V=f.touchThreshold,Y=f.verticalSwiping,q=f.listHeight,K=f.swipeToSlide,G=f.scrolling,J=f.onSwipe,te=f.targetSlide,Z=f.currentSlide,ee=f.infinite;if(!O)return I&&g(n),{};var ie=Y?q/V:N/V,le=A(D,Y),Q={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(G||!D.swipeLength)return Q;if(D.swipeLength>ie){g(n),J&&J(le);var oe,ue,ce=ee?Z:te;switch(le){case"left":case"up":ue=ce+w(f),oe=K?v(f,ue):ue,Q.currentDirection=0;break;case"right":case"down":ue=ce-w(f),oe=K?v(f,ue):ue,Q.currentDirection=1;break;default:oe=ce}Q.triggerSlideHandler=oe}else{var pe=d(f);Q.trackStyle=b(s(s({},f),{},{left:pe}))}return Q};var F=B.getNavigableIndexes=function(n){for(var f=n.infinite?n.slideCount*2:n.slideCount,O=n.infinite?n.slidesToShow*-1:0,I=n.infinite?n.slidesToShow*-1:0,D=[];O<f;)D.push(O),O=I+n.slidesToScroll,I+=Math.min(n.slidesToScroll,n.slidesToShow);return D},v=B.checkNavigable=function(n,f){var O=F(n),I=0;if(f>O[O.length-1])f=O[O.length-1];else for(var D in O){if(f<O[D]){f=I;break}I=O[D]}return f},w=B.getSlideCount=function(n){var f=n.centerMode?n.slideWidth*Math.floor(n.slidesToShow/2):0;if(n.swipeToSlide){var O,I=n.listRef,D=I.querySelectorAll&&I.querySelectorAll(".slick-slide")||[];if(Array.from(D).every(function(Y){if(n.vertical){if(Y.offsetTop+S(Y)/2>n.swipeLeft*-1)return O=Y,!1}else if(Y.offsetLeft-f+R(Y)/2>n.swipeLeft*-1)return O=Y,!1;return!0}),!O)return 0;var N=n.rtl===!0?n.slideCount-n.currentSlide:n.currentSlide,V=Math.abs(O.dataset.index-N)||1;return V}else return n.slidesToScroll},x=B.checkSpecKeys=function(n,f){return f.reduce(function(O,I){return O&&n.hasOwnProperty(I)},!0)?null:console.error("Keys Missing:",n)},T=B.getTrackCSS=function(n){x(n,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var f,O;if(!n.vertical)f=_(n)*n.slideWidth;else{var I=n.unslick?n.slideCount:n.slideCount+2*n.slidesToShow;O=I*n.slideHeight}var D={opacity:1,transition:"",WebkitTransition:""};if(n.useTransform){var N=n.vertical?"translate3d(0px, "+n.left+"px, 0px)":"translate3d("+n.left+"px, 0px, 0px)",V=n.vertical?"translate3d(0px, "+n.left+"px, 0px)":"translate3d("+n.left+"px, 0px, 0px)",Y=n.vertical?"translateY("+n.left+"px)":"translateX("+n.left+"px)";D=s(s({},D),{},{WebkitTransform:N,transform:V,msTransform:Y})}else n.vertical?D.top=n.left:D.left=n.left;return n.fade&&(D={opacity:1}),f&&(D.width=f),O&&(D.height=O),window&&!window.addEventListener&&window.attachEvent&&(n.vertical?D.marginTop=n.left+"px":D.marginLeft=n.left+"px"),D},b=B.getTrackAnimateCSS=function(n){x(n,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var f=T(n);return n.useTransform?(f.WebkitTransition="-webkit-transform "+n.speed+"ms "+n.cssEase,f.transition="transform "+n.speed+"ms "+n.cssEase):n.vertical?f.transition="top "+n.speed+"ms "+n.cssEase:f.transition="left "+n.speed+"ms "+n.cssEase,f},d=B.getTrackLeft=function(n){if(n.unslick)return 0;x(n,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var f=n.slideIndex,O=n.trackRef,I=n.infinite,D=n.centerMode,N=n.slideCount,V=n.slidesToShow,Y=n.slidesToScroll,q=n.slideWidth,K=n.listWidth,G=n.variableWidth,J=n.slideHeight,te=n.fade,Z=n.vertical,ee=0,ie,le,Q=0;if(te||n.slideCount===1)return 0;var oe=0;if(I?(oe=-C(n),N%Y!==0&&f+Y>N&&(oe=-(f>N?V-(f-N):N%Y)),D&&(oe+=parseInt(V/2))):(N%Y!==0&&f+Y>N&&(oe=V-N%Y),D&&(oe=parseInt(V/2))),ee=oe*q,Q=oe*J,Z?ie=f*J*-1+Q:ie=f*q*-1+ee,G===!0){var ue,ce=O&&O.node;if(ue=f+C(n),le=ce&&ce.childNodes[ue],ie=le?le.offsetLeft*-1:0,D===!0){ue=I?f+C(n):f,le=ce&&ce.children[ue],ie=0;for(var pe=0;pe<ue;pe++)ie-=ce&&ce.children[pe]&&ce.children[pe].offsetWidth;ie-=parseInt(n.centerPadding),ie+=le&&(K-le.offsetWidth)/2}}return ie},C=B.getPreClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},H=B.getPostClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},_=B.getTotalSlides=function(n){return n.slideCount===1?1:C(n)+n.slideCount+H(n)},j=B.siblingDirection=function(n){return n.targetSlide>n.currentSlide?n.targetSlide>n.currentSlide+P(n)?"left":"right":n.targetSlide<n.currentSlide-L(n)?"right":"left"},P=B.slidesOnRight=function(n){var f=n.slidesToShow,O=n.centerMode,I=n.rtl,D=n.centerPadding;if(O){var N=(f-1)/2+1;return parseInt(D)>0&&(N+=1),I&&f%2===0&&(N+=1),N}return I?0:f-1},L=B.slidesOnLeft=function(n){var f=n.slidesToShow,O=n.centerMode,I=n.rtl,D=n.centerPadding;if(O){var N=(f-1)/2+1;return parseInt(D)>0&&(N+=1),!I&&f%2===0&&(N+=1),N}return I?f-1:0};B.canUseDOM=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)};var o=B.validSettings=Object.keys(t.default);function z(m){return o.reduce(function(n,f){return m.hasOwnProperty(f)&&(n[f]=m[f]),n},{})}return B}var Ne={},ur;function Dn(){if(ur)return Ne;ur=1,Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.Track=void 0;var e=i(U),t=i(yt()),r=Ge();function i(b){return b&&b.__esModule?b:{default:b}}function a(b){"@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(b)}function s(){return s=Object.assign?Object.assign.bind():function(b){for(var d=1;d<arguments.length;d++){var C=arguments[d];for(var H in C)({}).hasOwnProperty.call(C,H)&&(b[H]=C[H])}return b},s.apply(null,arguments)}function c(b,d){if(!(b instanceof d))throw new TypeError("Cannot call a class as a function")}function u(b,d){for(var C=0;C<d.length;C++){var H=d[C];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(b,W(H.key),H)}}function l(b,d,C){return d&&u(b.prototype,d),Object.defineProperty(b,"prototype",{writable:!1}),b}function h(b,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(d&&d.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),Object.defineProperty(b,"prototype",{writable:!1}),d&&g(b,d)}function g(b,d){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(C,H){return C.__proto__=H,C},g(b,d)}function y(b){var d=k();return function(){var C,H=p(b);if(d){var _=p(this).constructor;C=Reflect.construct(H,arguments,_)}else C=H.apply(this,arguments);return E(this,C)}}function E(b,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(b)}function M(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function k(){try{var b=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(k=function(){return!!b})()}function p(b){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(d){return d.__proto__||Object.getPrototypeOf(d)},p(b)}function R(b,d){var C=Object.keys(b);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(b);d&&(H=H.filter(function(_){return Object.getOwnPropertyDescriptor(b,_).enumerable})),C.push.apply(C,H)}return C}function S(b){for(var d=1;d<arguments.length;d++){var C=arguments[d]!=null?arguments[d]:{};d%2?R(Object(C),!0).forEach(function(H){A(b,H,C[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(C)):R(Object(C)).forEach(function(H){Object.defineProperty(b,H,Object.getOwnPropertyDescriptor(C,H))})}return b}function A(b,d,C){return(d=W(d))in b?Object.defineProperty(b,d,{value:C,enumerable:!0,configurable:!0,writable:!0}):b[d]=C,b}function W(b){var d=F(b,"string");return a(d)=="symbol"?d:d+""}function F(b,d){if(a(b)!="object"||!b)return b;var C=b[Symbol.toPrimitive];if(C!==void 0){var H=C.call(b,d);if(a(H)!="object")return H;throw new TypeError("@@toPrimitive must return a primitive value.")}return(d==="string"?String:Number)(b)}var v=function(d){var C,H,_,j,P;d.rtl?P=d.slideCount-1-d.index:P=d.index,_=P<0||P>=d.slideCount,d.centerMode?(j=Math.floor(d.slidesToShow/2),H=(P-d.currentSlide)%d.slideCount===0,P>d.currentSlide-j-1&&P<=d.currentSlide+j&&(C=!0)):C=d.currentSlide<=P&&P<d.currentSlide+d.slidesToShow;var L;d.targetSlide<0?L=d.targetSlide+d.slideCount:d.targetSlide>=d.slideCount?L=d.targetSlide-d.slideCount:L=d.targetSlide;var o=P===L;return{"slick-slide":!0,"slick-active":C,"slick-center":H,"slick-cloned":_,"slick-current":o}},w=function(d){var C={};return(d.variableWidth===void 0||d.variableWidth===!1)&&(C.width=d.slideWidth),d.fade&&(C.position="relative",d.vertical?C.top=-d.index*parseInt(d.slideHeight):C.left=-d.index*parseInt(d.slideWidth),C.opacity=d.currentSlide===d.index?1:0,C.zIndex=d.currentSlide===d.index?999:998,d.useCSS&&(C.transition="opacity "+d.speed+"ms "+d.cssEase+", visibility "+d.speed+"ms "+d.cssEase)),C},x=function(d,C){return d.key||C},T=function(d){var C,H=[],_=[],j=[],P=e.default.Children.count(d.children),L=(0,r.lazyStartIndex)(d),o=(0,r.lazyEndIndex)(d);return e.default.Children.forEach(d.children,function(z,m){var n,f={message:"children",index:m,slidesToScroll:d.slidesToScroll,currentSlide:d.currentSlide};!d.lazyLoad||d.lazyLoad&&d.lazyLoadedList.indexOf(m)>=0?n=z:n=e.default.createElement("div",null);var O=w(S(S({},d),{},{index:m})),I=n.props.className||"",D=v(S(S({},d),{},{index:m}));if(H.push(e.default.cloneElement(n,{key:"original"+x(n,m),"data-index":m,className:(0,t.default)(D,I),tabIndex:"-1","aria-hidden":!D["slick-active"],style:S(S({outline:"none"},n.props.style||{}),O),onClick:function(Y){n.props&&n.props.onClick&&n.props.onClick(Y),d.focusOnSelect&&d.focusOnSelect(f)}})),d.infinite&&P>1&&d.fade===!1&&!d.unslick){var N=P-m;N<=(0,r.getPreClones)(d)&&(C=-N,C>=L&&(n=z),D=v(S(S({},d),{},{index:C})),_.push(e.default.cloneElement(n,{key:"precloned"+x(n,C),"data-index":C,tabIndex:"-1",className:(0,t.default)(D,I),"aria-hidden":!D["slick-active"],style:S(S({},n.props.style||{}),O),onClick:function(Y){n.props&&n.props.onClick&&n.props.onClick(Y),d.focusOnSelect&&d.focusOnSelect(f)}}))),m<(0,r.getPostClones)(d)&&(C=P+m,C<o&&(n=z),D=v(S(S({},d),{},{index:C})),j.push(e.default.cloneElement(n,{key:"postcloned"+x(n,C),"data-index":C,tabIndex:"-1",className:(0,t.default)(D,I),"aria-hidden":!D["slick-active"],style:S(S({},n.props.style||{}),O),onClick:function(Y){n.props&&n.props.onClick&&n.props.onClick(Y),d.focusOnSelect&&d.focusOnSelect(f)}})))}}),d.rtl?_.concat(H,j).reverse():_.concat(H,j)};return Ne.Track=function(b){h(C,b);var d=y(C);function C(){var H;c(this,C);for(var _=arguments.length,j=new Array(_),P=0;P<_;P++)j[P]=arguments[P];return H=d.call.apply(d,[this].concat(j)),A(M(H),"node",null),A(M(H),"handleRef",function(L){H.node=L}),H}return l(C,[{key:"render",value:function(){var _=T(this.props),j=this.props,P=j.onMouseEnter,L=j.onMouseOver,o=j.onMouseLeave,z={onMouseEnter:P,onMouseOver:L,onMouseLeave:o};return e.default.createElement("div",s({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},z),_)}}]),C}(e.default.PureComponent),Ne}var Fe={},cr;function $n(){if(cr)return Fe;cr=1;function e(v){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(w){return typeof w}:function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},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,w){var x=Object.keys(v);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(v);w&&(T=T.filter(function(b){return Object.getOwnPropertyDescriptor(v,b).enumerable})),x.push.apply(x,T)}return x}function c(v){for(var w=1;w<arguments.length;w++){var x=arguments[w]!=null?arguments[w]:{};w%2?s(Object(x),!0).forEach(function(T){u(v,T,x[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(x)):s(Object(x)).forEach(function(T){Object.defineProperty(v,T,Object.getOwnPropertyDescriptor(x,T))})}return v}function u(v,w,x){return(w=y(w))in v?Object.defineProperty(v,w,{value:x,enumerable:!0,configurable:!0,writable:!0}):v[w]=x,v}function l(v,w){if(!(v instanceof w))throw new TypeError("Cannot call a class as a function")}function h(v,w){for(var x=0;x<w.length;x++){var T=w[x];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(v,y(T.key),T)}}function g(v,w,x){return w&&h(v.prototype,w),Object.defineProperty(v,"prototype",{writable:!1}),v}function y(v){var w=E(v,"string");return e(w)=="symbol"?w:w+""}function E(v,w){if(e(v)!="object"||!v)return v;var x=v[Symbol.toPrimitive];if(x!==void 0){var T=x.call(v,w);if(e(T)!="object")return T;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(v)}function M(v,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(w&&w.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),w&&k(v,w)}function k(v,w){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(x,T){return x.__proto__=T,x},k(v,w)}function p(v){var w=A();return function(){var x,T=W(v);if(w){var b=W(this).constructor;x=Reflect.construct(T,arguments,b)}else x=T.apply(this,arguments);return R(this,x)}}function R(v,w){if(w&&(e(w)=="object"||typeof w=="function"))return w;if(w!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return S(v)}function S(v){if(v===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v}function A(){try{var v=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(A=function(){return!!v})()}function W(v){return W=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(w){return w.__proto__||Object.getPrototypeOf(w)},W(v)}var F=function(w){var x;return w.infinite?x=Math.ceil(w.slideCount/w.slidesToScroll):x=Math.ceil((w.slideCount-w.slidesToShow)/w.slidesToScroll)+1,x};return Fe.Dots=function(v){M(x,v);var w=p(x);function x(){return l(this,x),w.apply(this,arguments)}return g(x,[{key:"clickHandler",value:function(b,d){d.preventDefault(),this.props.clickHandler(b)}},{key:"render",value:function(){for(var b=this.props,d=b.onMouseEnter,C=b.onMouseOver,H=b.onMouseLeave,_=b.infinite,j=b.slidesToScroll,P=b.slidesToShow,L=b.slideCount,o=b.currentSlide,z=F({slideCount:L,slidesToScroll:j,slidesToShow:P,infinite:_}),m={onMouseEnter:d,onMouseOver:C,onMouseLeave:H},n=[],f=0;f<z;f++){var O=(f+1)*j-1,I=_?O:(0,i.clamp)(O,0,L-1),D=I-(j-1),N=_?D:(0,i.clamp)(D,0,L-1),V=(0,r.default)({"slick-active":_?o>=N&&o<=I:o===N}),Y={message:"dots",index:f,slidesToScroll:j,currentSlide:o},q=this.clickHandler.bind(this,Y);n=n.concat(t.default.createElement("li",{key:f,className:V},t.default.cloneElement(this.props.customPaging(f),{onClick:q})))}return t.default.cloneElement(this.props.appendDots(n),c({className:this.props.dotsClass},m))}}]),x}(t.default.PureComponent),Fe}var Re={},fr;function In(){if(fr)return Re;fr=1;function e(v){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(w){return typeof w}:function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},e(v)}Object.defineProperty(Re,"__esModule",{value:!0}),Re.PrevArrow=Re.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 w=1;w<arguments.length;w++){var x=arguments[w];for(var T in x)({}).hasOwnProperty.call(x,T)&&(v[T]=x[T])}return v},s.apply(null,arguments)}function c(v,w){var x=Object.keys(v);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(v);w&&(T=T.filter(function(b){return Object.getOwnPropertyDescriptor(v,b).enumerable})),x.push.apply(x,T)}return x}function u(v){for(var w=1;w<arguments.length;w++){var x=arguments[w]!=null?arguments[w]:{};w%2?c(Object(x),!0).forEach(function(T){l(v,T,x[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(x)):c(Object(x)).forEach(function(T){Object.defineProperty(v,T,Object.getOwnPropertyDescriptor(x,T))})}return v}function l(v,w,x){return(w=E(w))in v?Object.defineProperty(v,w,{value:x,enumerable:!0,configurable:!0,writable:!0}):v[w]=x,v}function h(v,w){if(!(v instanceof w))throw new TypeError("Cannot call a class as a function")}function g(v,w){for(var x=0;x<w.length;x++){var T=w[x];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(v,E(T.key),T)}}function y(v,w,x){return w&&g(v.prototype,w),Object.defineProperty(v,"prototype",{writable:!1}),v}function E(v){var w=M(v,"string");return e(w)=="symbol"?w:w+""}function M(v,w){if(e(v)!="object"||!v)return v;var x=v[Symbol.toPrimitive];if(x!==void 0){var T=x.call(v,w);if(e(T)!="object")return T;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(v)}function k(v,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(w&&w.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),w&&p(v,w)}function p(v,w){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(x,T){return x.__proto__=T,x},p(v,w)}function R(v){var w=W();return function(){var x,T=F(v);if(w){var b=F(this).constructor;x=Reflect.construct(T,arguments,b)}else x=T.apply(this,arguments);return S(this,x)}}function S(v,w){if(w&&(e(w)=="object"||typeof w=="function"))return w;if(w!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return A(v)}function A(v){if(v===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v}function W(){try{var v=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(W=function(){return!!v})()}function F(v){return F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(w){return w.__proto__||Object.getPrototypeOf(w)},F(v)}return Re.PrevArrow=function(v){k(x,v);var w=R(x);function x(){return h(this,x),w.apply(this,arguments)}return y(x,[{key:"clickHandler",value:function(b,d){d&&d.preventDefault(),this.props.clickHandler(b,d)}},{key:"render",value:function(){var b={"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)&&(b["slick-disabled"]=!0,d=null);var C={key:"0","data-role":"none",className:(0,r.default)(b),style:{display:"block"},onClick:d},H={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},_;return this.props.prevArrow?_=t.default.cloneElement(this.props.prevArrow,u(u({},C),H)):_=t.default.createElement("button",s({key:"0",type:"button"},C)," ","Previous"),_}}]),x}(t.default.PureComponent),Re.NextArrow=function(v){k(x,v);var w=R(x);function x(){return h(this,x),w.apply(this,arguments)}return y(x,[{key:"clickHandler",value:function(b,d){d&&d.preventDefault(),this.props.clickHandler(b,d)}},{key:"render",value:function(){var b={"slick-arrow":!0,"slick-next":!0},d=this.clickHandler.bind(this,{message:"next"});(0,i.canGoNext)(this.props)||(b["slick-disabled"]=!0,d=null);var C={key:"1","data-role":"none",className:(0,r.default)(b),style:{display:"block"},onClick:d},H={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},_;return this.props.nextArrow?_=t.default.cloneElement(this.props.nextArrow,u(u({},C),H)):_=t.default.createElement("button",s({key:"1",type:"button"},C)," ","Next"),_}}]),x}(t.default.PureComponent),Re}var Ir=function(){if(typeof Map<"u")return Map;function e(t,r){var i=-1;return t.some(function(a,s){return a[0]===r?(i=s,!0):!1}),i}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var i=e(this.__entries__,r),a=this.__entries__[i];return a&&a[1]},t.prototype.set=function(r,i){var a=e(this.__entries__,r);~a?this.__entries__[a][1]=i:this.__entries__.push([r,i])},t.prototype.delete=function(r){var i=this.__entries__,a=e(i,r);~a&&i.splice(a,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,i){i===void 0&&(i=null);for(var a=0,s=this.__entries__;a<s.length;a++){var c=s[a];r.call(i,c[1],c[0])}},t}()}(),It=typeof window<"u"&&typeof document<"u"&&window.document===document,pt=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),An=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(pt):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),Hn=2;function zn(e,t){var r=!1,i=!1,a=0;function s(){r&&(r=!1,e()),i&&u()}function c(){An(s)}function u(){var l=Date.now();if(r){if(l-a<Hn)return;i=!0}else r=!0,i=!1,setTimeout(c,t);a=l}return u}var Nn=20,Fn=["top","right","bottom","left","width","height","size","weight"],Wn=typeof MutationObserver<"u",Vn=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=zn(this.refresh.bind(this),Nn)}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),Wn?(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=Fn.some(function(s){return!!~i.indexOf(s)});a&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Ar=function(e,t){for(var r=0,i=Object.keys(t);r<i.length;r++){var a=i[r];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},_e=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||pt},Hr=bt(0,0,0,0);function mt(e){return parseFloat(e)||0}function dr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(i,a){var s=e["border-"+a+"-width"];return i+mt(s)},0)}function Un(e){for(var t=["top","right","bottom","left"],r={},i=0,a=t;i<a.length;i++){var s=a[i],c=e["padding-"+s];r[s]=mt(c)}return r}function Yn(e){var t=e.getBBox();return bt(0,0,t.width,t.height)}function Bn(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return Hr;var i=_e(e).getComputedStyle(e),a=Un(i),s=a.left+a.right,c=a.top+a.bottom,u=mt(i.width),l=mt(i.height);if(i.boxSizing==="border-box"&&(Math.round(u+s)!==t&&(u-=dr(i,"left","right")+s),Math.round(l+c)!==r&&(l-=dr(i,"top","bottom")+c)),!Xn(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 qn=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof _e(e).SVGGraphicsElement}:function(e){return e instanceof _e(e).SVGElement&&typeof e.getBBox=="function"}}();function Xn(e){return e===_e(e).document.documentElement}function Gn(e){return It?qn(e)?Yn(e):Bn(e):Hr}function Kn(e){var t=e.x,r=e.y,i=e.width,a=e.height,s=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,c=Object.create(s.prototype);return Ar(c,{x:t,y:r,width:i,height:a,top:r,right:t+i,bottom:a+r,left:t}),c}function bt(e,t,r,i){return{x:e,y:t,width:r,height:i}}var Jn=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=Gn(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}(),Zn=function(){function e(t,r){var i=Kn(r);Ar(this,{target:t,contentRect:i})}return e}(),Qn=function(){function e(t,r,i){if(this.activeObservations_=[],this.observations_=new Ir,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=i}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof _e(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new Jn(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 Zn(i.target,i.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),zr=typeof WeakMap<"u"?new WeakMap:new Ir,Nr=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=Vn.getInstance(),i=new Qn(t,r,this);zr.set(this,i)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Nr.prototype[e]=function(){var t;return(t=zr.get(this))[e].apply(t,arguments)}});var ei=function(){return typeof pt.ResizeObserver<"u"?pt.ResizeObserver:Nr}();const ti=Object.freeze(Object.defineProperty({__proto__:null,default:ei},Symbol.toStringTag,{value:"Module"})),ri=En(ti);var hr;function ni(){if(hr)return ze;hr=1,Object.defineProperty(ze,"__esModule",{value:!0}),ze.InnerSlider=void 0;var e=h(U),t=h(Ln()),r=h(Mn()),i=h(yt()),a=Ge(),s=Dn(),c=$n(),u=In(),l=h(ri);function h(_){return _&&_.__esModule?_:{default:_}}function g(_){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},g(_)}function y(){return y=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var P=arguments[j];for(var L in P)({}).hasOwnProperty.call(P,L)&&(_[L]=P[L])}return _},y.apply(null,arguments)}function E(_,j){if(_==null)return{};var P,L,o=M(_,j);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(_);for(L=0;L<z.length;L++)P=z[L],j.includes(P)||{}.propertyIsEnumerable.call(_,P)&&(o[P]=_[P])}return o}function M(_,j){if(_==null)return{};var P={};for(var L in _)if({}.hasOwnProperty.call(_,L)){if(j.includes(L))continue;P[L]=_[L]}return P}function k(_,j){var P=Object.keys(_);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(_);j&&(L=L.filter(function(o){return Object.getOwnPropertyDescriptor(_,o).enumerable})),P.push.apply(P,L)}return P}function p(_){for(var j=1;j<arguments.length;j++){var P=arguments[j]!=null?arguments[j]:{};j%2?k(Object(P),!0).forEach(function(L){d(_,L,P[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(P)):k(Object(P)).forEach(function(L){Object.defineProperty(_,L,Object.getOwnPropertyDescriptor(P,L))})}return _}function R(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function S(_,j){for(var P=0;P<j.length;P++){var L=j[P];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(_,C(L.key),L)}}function A(_,j,P){return j&&S(_.prototype,j),Object.defineProperty(_,"prototype",{writable:!1}),_}function W(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&F(_,j)}function F(_,j){return F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(P,L){return P.__proto__=L,P},F(_,j)}function v(_){var j=T();return function(){var P,L=b(_);if(j){var o=b(this).constructor;P=Reflect.construct(L,arguments,o)}else P=L.apply(this,arguments);return w(this,P)}}function w(_,j){if(j&&(g(j)=="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return x(_)}function x(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function T(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(T=function(){return!!_})()}function b(_){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(j){return j.__proto__||Object.getPrototypeOf(j)},b(_)}function d(_,j,P){return(j=C(j))in _?Object.defineProperty(_,j,{value:P,enumerable:!0,configurable:!0,writable:!0}):_[j]=P,_}function C(_){var j=H(_,"string");return g(j)=="symbol"?j:j+""}function H(_,j){if(g(_)!="object"||!_)return _;var P=_[Symbol.toPrimitive];if(P!==void 0){var L=P.call(_,j);if(g(L)!="object")return L;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}return ze.InnerSlider=function(_){W(P,_);var j=v(P);function P(L){var o;R(this,P),o=j.call(this,L),d(x(o),"listRefHandler",function(m){return o.list=m}),d(x(o),"trackRefHandler",function(m){return o.track=m}),d(x(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(x(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(x(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(x(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(I){return{lazyLoadedList:I.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),O=o.didPropsChange(m);O&&o.updateState(f,O,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(x(o),"onWindowResized",function(m){o.debouncedResize&&o.debouncedResize.cancel(),o.debouncedResize=(0,r.default)(function(){return o.resizeWindow(m)},50),o.debouncedResize()}),d(x(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(x(o),"updateState",function(m,n,f){var O=(0,a.initializedState)(m);m=p(p(p({},m),O),{},{slideIndex:O.currentSlide});var I=(0,a.getTrackLeft)(m);m=p(p({},m),{},{left:I});var D=(0,a.getTrackCSS)(m);(n||e.default.Children.count(o.props.children)!==e.default.Children.count(m.children))&&(O.trackStyle=D),o.setState(O,f)}),d(x(o),"ssrInit",function(){if(o.props.variableWidth){var m=0,n=0,f=[],O=(0,a.getPreClones)(p(p(p({},o.props),o.state),{},{slideCount:o.props.children.length})),I=(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 D=0;D<O;D++)n+=f[f.length-1-D],m+=f[f.length-1-D];for(var N=0;N<I;N++)m+=f[N];for(var V=0;V<o.state.currentSlide;V++)n+=f[V];var Y={width:m+"px",left:-n+"px"};if(o.props.centerMode){var q="".concat(f[o.state.currentSlide],"px");Y.left="calc(".concat(Y.left," + (100% - ").concat(q,") / 2 ) ")}return{trackStyle:Y}}var K=e.default.Children.count(o.props.children),G=p(p(p({},o.props),o.state),{},{slideCount:K}),J=(0,a.getPreClones)(G)+(0,a.getPostClones)(G)+K,te=100/o.props.slidesToShow*J,Z=100/J,ee=-Z*((0,a.getPreClones)(G)+o.state.currentSlide)*te/100;o.props.centerMode&&(ee+=(100-Z*te/100)/2);var ie={width:te+"%",left:ee+"%"};return{slideWidth:Z+"%",trackStyle:ie}}),d(x(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(O){var I=function(){return++f&&f>=n&&o.onWindowResized()};if(!O.onclick)O.onclick=function(){return O.parentNode.focus()};else{var D=O.onclick;O.onclick=function(N){D(N),O.parentNode.focus()}}O.onload||(o.props.lazyLoad?O.onload=function(){o.adaptHeight(),o.callbackTimers.push(setTimeout(o.onWindowResized,o.props.speed))}:(O.onload=I,O.onerror=function(){I(),o.props.onLazyLoadError&&o.props.onLazyLoadError()}))})}),d(x(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 O=o.state.currentSlide-1;O>=-(0,a.getPreClones)(n);O--)if(o.state.lazyLoadedList.indexOf(O)<0){m.push(O);break}m.length>0?(o.setState(function(I){return{lazyLoadedList:I.lazyLoadedList.concat(m)}}),o.props.onLazyLoad&&o.props.onLazyLoad(m)):o.lazyLoadTimer&&(clearInterval(o.lazyLoadTimer),delete o.lazyLoadTimer)}),d(x(o),"slideHandler",function(m){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,f=o.props,O=f.asNavFor,I=f.beforeChange,D=f.onLazyLoad,N=f.speed,V=f.afterChange,Y=o.state.currentSlide,q=(0,a.slideHandler)(p(p(p({index:m},o.props),o.state),{},{trackRef:o.track,useCSS:o.props.useCSS&&!n})),K=q.state,G=q.nextState;if(K){I&&I(Y,K.currentSlide);var J=K.lazyLoadedList.filter(function(te){return o.state.lazyLoadedList.indexOf(te)<0});D&&J.length>0&&D(J),!o.props.waitForAnimate&&o.animationEndCallback&&(clearTimeout(o.animationEndCallback),V&&V(Y),delete o.animationEndCallback),o.setState(K,function(){O&&o.asNavForIndex!==m&&(o.asNavForIndex=m,O.innerSlider.slideHandler(m)),G&&(o.animationEndCallback=setTimeout(function(){var te=G.animating,Z=E(G,["animating"]);o.setState(Z,function(){o.callbackTimers.push(setTimeout(function(){return o.setState({animating:te})},10)),V&&V(K.currentSlide),delete o.animationEndCallback})},N))})}}),d(x(o),"changeSlide",function(m){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,f=p(p({},o.props),o.state),O=(0,a.changeSlide)(f,m);if(!(O!==0&&!O)&&(n===!0?o.slideHandler(O,n):o.slideHandler(O),o.props.autoplay&&o.autoPlay("update"),o.props.focusOnSelect)){var I=o.list.querySelectorAll(".slick-current");I[0]&&I[0].focus()}}),d(x(o),"clickHandler",function(m){o.clickable===!1&&(m.stopPropagation(),m.preventDefault()),o.clickable=!0}),d(x(o),"keyHandler",function(m){var n=(0,a.keyHandler)(m,o.props.accessibility,o.props.rtl);n!==""&&o.changeSlide({message:n})}),d(x(o),"selectHandler",function(m){o.changeSlide(m)}),d(x(o),"disableBodyScroll",function(){var m=function(f){f=f||window.event,f.preventDefault&&f.preventDefault(),f.returnValue=!1};window.ontouchmove=m}),d(x(o),"enableBodyScroll",function(){window.ontouchmove=null}),d(x(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(x(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(x(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(x(o),"touchEnd",function(m){o.swipeEnd(m),o.clickable=!0}),d(x(o),"slickPrev",function(){o.callbackTimers.push(setTimeout(function(){return o.changeSlide({message:"previous"})},0))}),d(x(o),"slickNext",function(){o.callbackTimers.push(setTimeout(function(){return o.changeSlide({message:"next"})},0))}),d(x(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(x(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(x(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(x(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(x(o),"onDotsOver",function(){return o.props.autoplay&&o.pause("hovered")}),d(x(o),"onDotsLeave",function(){return o.props.autoplay&&o.state.autoplaying==="hovered"&&o.autoPlay("leave")}),d(x(o),"onTrackOver",function(){return o.props.autoplay&&o.pause("hovered")}),d(x(o),"onTrackLeave",function(){return o.props.autoplay&&o.state.autoplaying==="hovered"&&o.autoPlay("leave")}),d(x(o),"onSlideFocus",function(){return o.props.autoplay&&o.pause("focused")}),d(x(o),"onSlideBlur",function(){return o.props.autoplay&&o.state.autoplaying==="focused"&&o.autoPlay("blur")}),d(x(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"]),O=o.props.pauseOnHover;f=p(p({},f),{},{onMouseEnter:O?o.onTrackOver:null,onMouseLeave:O?o.onTrackLeave:null,onMouseOver:O?o.onTrackOver:null,focusOnSelect:o.props.focusOnSelect&&o.clickable?o.selectHandler:null});var I;if(o.props.dots===!0&&o.state.slideCount>=o.props.slidesToShow){var D=(0,a.extractObject)(n,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),N=o.props.pauseOnDotsHover;D=p(p({},D),{},{clickHandler:o.changeSlide,onMouseEnter:N?o.onDotsLeave:null,onMouseOver:N?o.onDotsOver:null,onMouseLeave:N?o.onDotsLeave:null}),I=e.default.createElement(c.Dots,D)}var V,Y,q=(0,a.extractObject)(n,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);q.clickHandler=o.changeSlide,o.props.arrows&&(V=e.default.createElement(u.PrevArrow,q),Y=e.default.createElement(u.NextArrow,q));var K=null;o.props.vertical&&(K={height:o.state.listHeight});var G=null;o.props.vertical===!1?o.props.centerMode===!0&&(G={padding:"0px "+o.props.centerPadding}):o.props.centerMode===!0&&(G={padding:o.props.centerPadding+" 0px"});var J=p(p({},K),G),te=o.props.touchMove,Z={className:"slick-list",style:J,onClick:o.clickHandler,onMouseDown:te?o.swipeStart:null,onMouseMove:o.state.dragging&&te?o.swipeMove:null,onMouseUp:te?o.swipeEnd:null,onMouseLeave:o.state.dragging&&te?o.swipeEnd:null,onTouchStart:te?o.swipeStart:null,onTouchMove:o.state.dragging&&te?o.swipeMove:null,onTouchEnd:te?o.touchEnd:null,onTouchCancel:o.state.dragging&&te?o.swipeEnd:null,onKeyDown:o.props.accessibility?o.keyHandler:null},ee={className:m,dir:"ltr",style:o.props.style};return o.props.unslick&&(Z={className:"slick-list"},ee={className:m,style:o.props.style}),e.default.createElement("div",ee,o.props.unslick?"":V,e.default.createElement("div",y({ref:o.listRefHandler},Z),e.default.createElement(s.Track,y({ref:o.trackRefHandler},f),o.props.children)),o.props.unslick?"":Y,o.props.unslick?"":I)}),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 z=o.ssrInit();return o.state=p(p({},o.state),z),o}return A(P,[{key:"didPropsChange",value:function(o){for(var z=!1,m=0,n=Object.keys(this.props);m<n.length;m++){var f=n[m];if(!o.hasOwnProperty(f)){z=!0;break}if(!(g(o[f])==="object"||typeof o[f]=="function"||isNaN(o[f]))&&o[f]!==this.props[f]){z=!0;break}}return z||e.default.Children.count(this.props.children)!==e.default.Children.count(o.children)}}]),P}(e.default.Component),ze}var jt,pr;function ii(){if(pr)return jt;pr=1;var e=function(t){return t.replace(/[A-Z]/g,function(r){return"-"+r.toLowerCase()}).toLowerCase()};return jt=e,jt}var Lt,mr;function ai(){if(mr)return Lt;mr=1;var e=ii(),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 vr;function oi(){return vr||(vr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=c(U),r=ni(),i=c(ai()),a=c($r()),s=Ge();function c(T){return T&&T.__esModule?T:{default:T}}function u(T){"@babel/helpers - typeof";return u=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},u(T)}function l(){return l=Object.assign?Object.assign.bind():function(T){for(var b=1;b<arguments.length;b++){var d=arguments[b];for(var C in d)({}).hasOwnProperty.call(d,C)&&(T[C]=d[C])}return T},l.apply(null,arguments)}function h(T,b){var d=Object.keys(T);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(T);b&&(C=C.filter(function(H){return Object.getOwnPropertyDescriptor(T,H).enumerable})),d.push.apply(d,C)}return d}function g(T){for(var b=1;b<arguments.length;b++){var d=arguments[b]!=null?arguments[b]:{};b%2?h(Object(d),!0).forEach(function(C){v(T,C,d[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(d)):h(Object(d)).forEach(function(C){Object.defineProperty(T,C,Object.getOwnPropertyDescriptor(d,C))})}return T}function y(T,b){if(!(T instanceof b))throw new TypeError("Cannot call a class as a function")}function E(T,b){for(var d=0;d<b.length;d++){var C=b[d];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(T,w(C.key),C)}}function M(T,b,d){return b&&E(T.prototype,b),Object.defineProperty(T,"prototype",{writable:!1}),T}function k(T,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function");T.prototype=Object.create(b&&b.prototype,{constructor:{value:T,writable:!0,configurable:!0}}),Object.defineProperty(T,"prototype",{writable:!1}),b&&p(T,b)}function p(T,b){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,C){return d.__proto__=C,d},p(T,b)}function R(T){var b=W();return function(){var d,C=F(T);if(b){var H=F(this).constructor;d=Reflect.construct(C,arguments,H)}else d=C.apply(this,arguments);return S(this,d)}}function S(T,b){if(b&&(u(b)=="object"||typeof b=="function"))return b;if(b!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return A(T)}function A(T){if(T===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T}function W(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(W=function(){return!!T})()}function F(T){return F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},F(T)}function v(T,b,d){return(b=w(b))in T?Object.defineProperty(T,b,{value:d,enumerable:!0,configurable:!0,writable:!0}):T[b]=d,T}function w(T){var b=x(T,"string");return u(b)=="symbol"?b:b+""}function x(T,b){if(u(T)!="object"||!T)return T;var d=T[Symbol.toPrimitive];if(d!==void 0){var C=d.call(T,b);if(u(C)!="object")return C;throw new TypeError("@@toPrimitive must return a primitive value.")}return(b==="string"?String:Number)(T)}e.default=function(T){k(d,T);var b=R(d);function d(C){var H;return y(this,d),H=b.call(this,C),v(A(H),"innerSliderRefHandler",function(_){return H.innerSlider=_}),v(A(H),"slickPrev",function(){return H.innerSlider.slickPrev()}),v(A(H),"slickNext",function(){return H.innerSlider.slickNext()}),v(A(H),"slickGoTo",function(_){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return H.innerSlider.slickGoTo(_,j)}),v(A(H),"slickPause",function(){return H.innerSlider.pause("paused")}),v(A(H),"slickPlay",function(){return H.innerSlider.autoPlay("play")}),H.state={breakpoint:null},H._responsiveMediaHandlers=[],H}return M(d,[{key:"media",value:function(H,_){var j=window.matchMedia(H),P=function(o){var z=o.matches;z&&_()};j.addListener(P),this._responsiveMediaHandlers.push({mql:j,query:H,listener:P})}},{key:"componentDidMount",value:function(){var H=this;if(this.props.responsive){var _=this.props.responsive.map(function(P){return P.breakpoint});_.sort(function(P,L){return P-L}),_.forEach(function(P,L){var o;L===0?o=(0,i.default)({minWidth:0,maxWidth:P}):o=(0,i.default)({minWidth:_[L-1]+1,maxWidth:P}),(0,s.canUseDOM)()&&H.media(o,function(){H.setState({breakpoint:P})})});var j=(0,i.default)({minWidth:_.slice(-1)[0]});(0,s.canUseDOM)()&&this.media(j,function(){H.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(H){H.mql.removeListener(H.listener)})}},{key:"render",value:function(){var H=this,_,j;this.state.breakpoint?(j=this.props.responsive.filter(function(D){return D.breakpoint===H.state.breakpoint}),_=j[0].settings==="unslick"?"unslick":g(g(g({},a.default),this.props),j[0].settings)):_=g(g({},a.default),this.props),_.centerMode&&(_.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(_.slidesToScroll)),_.slidesToScroll=1),_.fade&&(_.slidesToShow>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(_.slidesToShow)),_.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(_.slidesToScroll)),_.slidesToShow=1,_.slidesToScroll=1);var P=t.default.Children.toArray(this.props.children);P=P.filter(function(D){return typeof D=="string"?!!D.trim():!!D}),_.variableWidth&&(_.rows>1||_.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),_.variableWidth=!1);for(var L=[],o=null,z=0;z<P.length;z+=_.rows*_.slidesPerRow){for(var m=[],n=z;n<z+_.rows*_.slidesPerRow;n+=_.slidesPerRow){for(var f=[],O=n;O<n+_.slidesPerRow&&(_.variableWidth&&P[O].props.style&&(o=P[O].props.style.width),!(O>=P.length));O+=1)f.push(t.default.cloneElement(P[O],{key:100*z+10*n+O,tabIndex:-1,style:{width:"".concat(100/_.slidesPerRow,"%"),display:"inline-block"}}));m.push(t.default.createElement("div",{key:10*z+n},f))}_.variableWidth?L.push(t.default.createElement("div",{key:z,style:{width:o}},m)):L.push(t.default.createElement("div",{key:z},m))}if(_==="unslick"){var I="regular slider "+(this.props.className||"");return t.default.createElement("div",{className:I},P)}else L.length<=_.slidesToShow&&(_.unslick=!0);return t.default.createElement(r.InnerSlider,l({style:this.props.style,ref:this.innerSliderRefHandler},(0,s.filterSettings)(_)),L)}}]),d}(t.default.Component)}(Pt)),Pt}var gr;function si(){return gr||(gr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(oi());function r(i){return i&&i.__esModule?i:{default:i}}e.default=t.default}(Ct)),Ct}var li=si();const ui=Vt(li);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 ci(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 fi(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 di=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(fi(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var s=ci(a);try{s.insertRule(i,s.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(i));this.ctr++},t.flush=function(){this.tags.forEach(function(i){var a;return(a=i.parentNode)==null?void 0:a.removeChild(i)}),this.tags=[],this.ctr=0},e}(),de="-ms-",vt="-moz-",re="-webkit-",Fr="comm",Ut="rule",Yt="decl",hi="@import",Wr="@keyframes",pi="@layer",mi=Math.abs,wt=String.fromCharCode,vi=Object.assign;function gi(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 Vr(e){return e.trim()}function yi(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 Ye(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 bi(e,t){return e.map(t).join("")}var St=1,je=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:je,length:c,return:""}}function We(e,t){return vi(xt("",null,null,"",null,null,0),e,{length:-e.length},t)}function wi(){return se}function Si(){return se=he>0?fe(Le,--he):0,je--,se===10&&(je=1,St--),se}function me(){return se=he<Ur?fe(Le,he++):0,je++,se===10&&(je=1,St++),se}function be(){return fe(Le,he)}function ot(){return he}function Ke(e,t){return Ye(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=je=1,Ur=ge(Le=e),he=0,[]}function Br(e){return Le="",e}function st(e){return Vr(Ke(he-1,zt(e===91?e+2:e===40?e+1:e)))}function xi(e){for(;(se=be())&&se<33;)me();return Be(e)>2||Be(se)>3?"":" "}function Oi(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 ki(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 Ci(e){for(;!Be(be());)me();return Ke(e,he)}function Pi(e){return Br(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,y=c,E=0,M=0,k=0,p=1,R=1,S=1,A=0,W="",F=a,v=s,w=i,x=W;R;)switch(k=A,A=me()){case 40:if(k!=108&&fe(x,y-1)==58){Ht(x+=ne(st(A),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:x+=st(A);break;case 9:case 10:case 13:case 32:x+=xi(k);break;case 92:x+=Oi(ot()-1,7);continue;case 47:switch(be()){case 42:case 47:it(Ei(ki(me(),ot()),t,r),l);break;default:x+="/"}break;case 123*p:u[h++]=ge(x)*S;case 125*p:case 59:case 0:switch(A){case 0:case 125:R=0;case 59+g:S==-1&&(x=ne(x,/\f/g,"")),M>0&&ge(x)-y&&it(M>32?br(x+";",i,r,y-1):br(ne(x," ","")+";",i,r,y-2),l);break;case 59:x+=";";default:if(it(w=yr(x,t,r,h,g,a,u,W,F=[],v=[],y),s),A===123)if(g===0)lt(x,t,w,w,F,s,y,u,v);else switch(E===99&&fe(x,3)===110?100:E){case 100:case 108:case 109:case 115:lt(e,w,w,i&&it(yr(e,w,w,0,0,a,u,W,a,F=[],y),v),a,v,y,u,i?F:v);break;default:lt(x,w,w,w,[""],v,0,u,v)}}h=g=M=0,p=S=1,W=x="",y=c;break;case 58:y=1+ge(x),M=k;default:if(p<1){if(A==123)--p;else if(A==125&&p++==0&&Si()==125)continue}switch(x+=wt(A),A*p){case 38:S=g>0?1:(x+="\f",-1);break;case 44:u[h++]=(ge(x)-1)*S,S=1;break;case 64:be()===45&&(x+=st(me())),E=be(),g=y=ge(W=x+=Ci(ot())),A++;break;case 45:k===45&&ge(x)==2&&(p=0)}}return s}function yr(e,t,r,i,a,s,c,u,l,h,g){for(var y=a-1,E=a===0?s:[""],M=Bt(E),k=0,p=0,R=0;k<i;++k)for(var S=0,A=Ye(e,y+1,y=mi(p=c[k])),W=e;S<M;++S)(W=Vr(p>0?E[S]+" "+A:ne(A,/&\f/g,E[S])))&&(l[R++]=W);return xt(e,t,r,a===0?Ut:u,l,h,g)}function Ei(e,t,r){return xt(e,t,r,Fr,wt(wi()),Ye(e,2,-2),0)}function br(e,t,r,i){return xt(e,t,r,Yt,Ye(e,0,i),Ye(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 Ri(e,t,r,i){switch(e.type){case pi:if(e.children.length)break;case hi:case Yt:return e.return=e.return||e.value;case Fr:return"";case Wr:return e.return=e.value+"{"+Te(e.children,i)+"}";case Ut:e.value=e.props.join(",")}return ge(r=Te(e.children,i))?e.return=e.value+"{"+r+"}":""}function Ti(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 _i(e){return function(t){t.root||(t=t.return)&&e(t)}}function qr(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var ji=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)},Li=function(t,r){var i=-1,a=44;do switch(Be(a)){case 0:a===38&&be()===12&&(r[i]=1),t[i]+=ji(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},Mi=function(t,r){return Br(Li(Yr(t),r))},wr=new WeakMap,Di=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,i=t.parent,a=t.column===i.column&&t.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!wr.get(i))&&!a){wr.set(t,!0);for(var s=[],c=Mi(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]}}},$i=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Xr(e,t){switch(gi(e,t)){case 5103:return re+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return re+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return re+e+vt+e+de+e+e;case 6828:case 4268:return re+e+de+e+e;case 6165:return re+e+de+"flex-"+e+e;case 5187:return re+e+ne(e,/(\w+).+(:[^]+)/,re+"box-$1$2"+de+"flex-$1$2")+e;case 5443:return re+e+de+"flex-item-"+ne(e,/flex-|-self/,"")+e;case 4675:return re+e+de+"flex-line-pack"+ne(e,/align-content|flex-|-self/,"")+e;case 5548:return re+e+de+ne(e,"shrink","negative")+e;case 5292:return re+e+de+ne(e,"basis","preferred-size")+e;case 6060:return re+"box-"+ne(e,"-grow","")+re+e+de+ne(e,"grow","positive")+e;case 4554:return re+ne(e,/([^-])(transform)/g,"$1"+re+"$2")+e;case 6187:return ne(ne(ne(e,/(zoom-|grab)/,re+"$1"),/(image-set)/,re+"$1"),e,"")+e;case 5495:case 3959:return ne(e,/(image-set\([^]*)/,re+"$1$`$1");case 4968:return ne(ne(e,/(.+:)(flex-)?(.*)/,re+"box-pack:$3"+de+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+re+e+e;case 4095:case 3583:case 4068:case 2532:return ne(e,/(.+)-inline(.+)/,re+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ge(e)-1-t>6)switch(fe(e,t+1)){case 109:if(fe(e,t+4)!==45)break;case 102:return ne(e,/(.+:)(.+)-([^]+)/,"$1"+re+"$2-$3$1"+vt+(fe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ht(e,"stretch")?Xr(ne(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(fe(e,t+1)!==115)break;case 6444:switch(fe(e,ge(e)-3-(~Ht(e,"!important")&&10))){case 107:return ne(e,":",":"+re)+e;case 101:return ne(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+re+(fe(e,14)===45?"inline-":"")+"box$3$1"+re+"$2$3$1"+de+"$2box$3")+e}break;case 5936:switch(fe(e,t+11)){case 114:return re+e+de+ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return re+e+de+ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return re+e+de+ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return re+e+de+e+e}return e}var Ii=function(t,r,i,a){if(t.length>-1&&!t.return)switch(t.type){case Yt:t.return=Xr(t.value,t.length);break;case Wr:return Te([We(t,{value:ne(t.value,"@","@"+re)})],a);case Ut:if(t.length)return bi(t.props,function(s){switch(yi(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""})}},Ai=[Ii],Hi=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 R=p.getAttribute("data-emotion");R.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var a=t.stylisPlugins||Ai,s={},c,u=[];c=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(p){for(var R=p.getAttribute("data-emotion").split(" "),S=1;S<R.length;S++)s[R[S]]=!0;u.push(p)});var l,h=[Di,$i];{var g,y=[Ri,_i(function(p){g.insert(p)})],E=Ti(h.concat(a,y)),M=function(R){return Te(Pi(R),E)};l=function(R,S,A,W){g=A,M(R?R+"{"+S.styles+"}":S.styles),W&&(k.inserted[S.name]=!0)}}var k={key:r,sheet:new di({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 k.sheet.hydrate(u),k},zi=!0;function Ni(e,t,r){var i="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):a&&(i+=a+" ")}),i}var Gr=function(t,r,i){var a=t.key+"-"+r.name;(i===!1||zi===!1)&&t.registered[a]===void 0&&(t.registered[a]=r.styles)},Fi=function(t,r,i){Gr(t,r,i);var a=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var s=r;do t.insert(r===s?"."+a:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function Wi(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 Vi={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ui=/[A-Z]|^ms/g,Yi=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Kr=function(t){return t.charCodeAt(1)===45},Sr=function(t){return t!=null&&typeof t!="boolean"},Mt=qr(function(e){return Kr(e)?e:e.replace(Ui,"-$&").toLowerCase()}),xr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Yi,function(i,a,s){return ye={name:a,styles:s,next:ye},a})}return Vi[t]!==1&&!Kr(t)&&typeof r=="number"&&r!==0?r+"px":r};function qe(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 Bi(e,t,r)}case"function":{if(e!==void 0){var l=ye,h=r(e);return ye=l,qe(e,t,h)}break}}var g=r;if(t==null)return g;var y=t[g];return y!==void 0?y:g}function Bi(e,t,r){var i="";if(Array.isArray(r))for(var a=0;a<r.length;a++)i+=qe(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]+"}":Sr(u)&&(i+=Mt(s)+":"+xr(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++)Sr(c[l])&&(i+=Mt(s)+":"+xr(s,c[l])+";");else{var h=qe(e,t,c);switch(s){case"animation":case"animationName":{i+=Mt(s)+":"+h+";";break}default:i+=s+"{"+h+"}"}}}return i}var Or=/label:\s*([^\s;{]+)\s*(;|$)/g,ye;function qi(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,a="";ye=void 0;var s=e[0];if(s==null||s.raw===void 0)i=!1,a+=qe(r,t,s);else{var c=s;a+=c[0]}for(var u=1;u<e.length;u++)if(a+=qe(r,t,e[u]),i){var l=s;a+=l[u]}Or.lastIndex=0;for(var h="",g;(g=Or.exec(a))!==null;)h+="-"+g[1];var y=Wi(a)+h;return{name:y,styles:a,next:ye}}var Xi=function(t){return t()},Gi=$.useInsertionEffect?$.useInsertionEffect:!1,Ki=Gi||Xi,Jr=$.createContext(typeof HTMLElement<"u"?Hi({key:"css"}):null);Jr.Provider;var Ji=function(t){return U.forwardRef(function(r,i){var a=U.useContext(Jr);return t(r,a,i)})},Zi=$.createContext({}),Qi=/^((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)-.*))$/,ea=qr(function(e){return Qi.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),ta=ea,ra=function(t){return t!=="theme"},kr=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?ta:ra},Cr=function(t,r,i){var a;if(r){var s=r.shouldForwardProp;a=t.__emotion_forwardProp&&s?function(c){return t.__emotion_forwardProp(c)&&s(c)}:s}return typeof a!="function"&&i&&(a=t.__emotion_forwardProp),a},na=function(t){var r=t.cache,i=t.serialized,a=t.isStringTag;return Gr(r,i,a),Ki(function(){return Fi(r,i,a)}),null},ia=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=Cr(t,r,i),l=u||kr(a),h=!l("as");return function(){var g=arguments,y=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&y.push("label:"+s+";"),g[0]==null||g[0].raw===void 0)y.push.apply(y,g);else{var E=g[0];y.push(E[0]);for(var M=g.length,k=1;k<M;k++)y.push(g[k],E[k])}var p=Ji(function(R,S,A){var W=h&&R.as||a,F="",v=[],w=R;if(R.theme==null){w={};for(var x in R)w[x]=R[x];w.theme=$.useContext(Zi)}typeof R.className=="string"?F=Ni(S.registered,v,R.className):R.className!=null&&(F=R.className+" ");var T=qi(y.concat(v),S.registered,w);F+=S.key+"-"+T.name,c!==void 0&&(F+=" "+c);var b=h&&u===void 0?kr(W):l,d={};for(var C in R)h&&C==="as"||b(C)&&(d[C]=R[C]);return d.className=F,A&&(d.ref=A),$.createElement($.Fragment,null,$.createElement(na,{cache:S,serialized:T,isStringTag:typeof W=="string"}),$.createElement(W,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=y,p.__emotion_forwardProp=u,Object.defineProperty(p,"toString",{value:function(){return"."+c}}),p.withComponent=function(R,S){var A=e(R,At({},r,S,{shouldForwardProp:Cr(p,S,!0)}));return A.apply(void 0,y)},p}},aa=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Pe=ia.bind(null);aa.forEach(function(e){Pe[e]=Pe(e)});const oa=Pe.div`
|
|
27
27
|
width: 100%;
|
|
28
28
|
height: fit-content;
|
|
29
29
|
|
|
@@ -112,7 +112,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
112
112
|
box-sizing: border-box;
|
|
113
113
|
display: flex;
|
|
114
114
|
}
|
|
115
|
-
`,la=({styles:e,content:t,settings:r,gap:i=15})=>{const[a,s]=
|
|
115
|
+
`,la=({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((y,E)=>X.jsx(sa,{ref:E===0?u:void 0,styles:{paddingRight:`${i}px`,overflow:"visible",...y.styles},"data-testid":"carousel-slide-item",children:y.content})),g=()=>{if(l.slidesToShow){s(l.slidesToShow);return}const y=(c.current?.offsetWidth||i+1)-i,E=u.current?.offsetWidth||1;let M=Math.floor(y/E);M<1?M=1:M>t.length&&(M=t.length),console.debug("Slides to show > ",{container:y,slide:E,res:M}),s(M)};return U.useEffect(()=>{g()},[c,u]),X.jsx(oa,{ref:c,styles:{...e},children:h.length>0&&X.jsx(ui,{...l,slidesToShow:a,children:h})})},ua=({name:e,checked:t,onToggle:r,styles:i,label:a,checkboxStyles:s,customCheckedRender:c,customUncheckedRender:u})=>X.jsxs("div",{style:{width:"fit-content",height:"fit-content",position:"relative",display:"flex",flexDirection:"row",gap:"10px",alignItems:"center",...i},children:[X.jsxs("div",{style:{width:"fit-content",height:"fit-content",position:"relative",display:"flex"},children:[X.jsx("input",{type:"checkbox",name:e,checked:t,onChange:l=>{},onClick:l=>{l.stopPropagation(),r?.(!t)},style:{position:"absolute",opacity:0,width:"100%",height:"100%",cursor:"pointer"}}),X.jsxs("div",{style:{width:"25px",height:"25px",borderRadius:"4px",border:"1px solid #969696ff",background:t?"#000":"#fff",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",...s},children:[t&&c,!t&&u]})]}),a]}),Zr=e=>U.useEffect(e,[]),Qr=()=>{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}},en=({ref:e,onDrag:t,onDragStart:r,onDragEnd:i})=>{const a=U.useRef(!1),s=U.useRef(!1),{pointerPosition:c,isPointerDown:u}=Qr(),l=U.useRef({isDragging:!1}),h=U.useCallback(k=>{if(!e||!e.current||!l.current)return;const p={...l.current};return p.posY=k.y,p.posX=k.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(k=>{k.preventDefault(),k.stopPropagation(),l.current.isDragging=!0,l.current.startPosY=k.clientY,l.current.startPosX=k.clientX;const p=h({x:k.clientX,y:k.clientY});p&&(l.current=p,r?.(p))},[h]),y=U.useCallback(k=>{l.current.isDragging=!1;const p=h(c);p&&(i?.(p),p.startPosX=void 0,p.startPosY=void 0,l.current=p)},[h,c]),E=U.useCallback(k=>{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(k=>setTimeout(k,300));a.current=!0,e.current.onpointerdown=g,e.current.style.touchAction="none"}},[e?.current,g]);U.useEffect(()=>{M()},[M]),U.useEffect(()=>{E()},[c]),U.useEffect(()=>{u!==s.current&&(s.current=u,u||y())},[u,s.current])},ca=()=>{const e=(l,h)=>{if(!h)return l;const g=new URLSearchParams;for(const E in h){const M=h[E];Array.isArray(M)?M.forEach(k=>g.append(E,String(k))):M!=null&&g.append(E,String(M))}const y=g.toString();return y?`${l}?${y}`:l},t=async l=>{try{return{result:await l.json(),statusCode:l.status}}catch(h){return{result:void 0,statusCode:l.status,error:h}}},r=async(l,h,g,y)=>{const E=await fetch(l,{method:h,headers:g,body:y});return t(E)};return{get:async(l,h,g)=>{const y=e(l,h);return r(y,"GET",{...g})},post:async(l,h,g)=>r(l,"POST",{"Content-Type":"application/json",...g},JSON.stringify(h)),put:async(l,h,g)=>r(l,"PUT",{"Content-Type":"application/json",...g},JSON.stringify(h)),patch:async(l,h,g)=>r(l,"PATCH",{"Content-Type":"application/json",...g},JSON.stringify(h)),delete:async(l,h,g)=>{const y=e(l,h);return r(y,"DELETE",{...g})}}};function fa(e){const[t,r]=U.useState(!1),i=U.useMemo(()=>new IntersectionObserver(([a])=>r(a.isIntersecting)),[]);return U.useEffect(()=>(e?.current&&i.observe(e?.current),()=>i.disconnect()),[e,i.disconnect,i.observe]),t}const tn={xs:0,sm:420,md:768,lg:991,xl:1200,xxl:1440},da=e=>{const t={...tn,...e?.breakpointConfiguration},[r,i]=U.useState(Pr(t)),a=()=>{i(Pr(t))};return U.useEffect(()=>(window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)}),[]),U.useMemo(()=>r,[r])},ha=(e,t)=>e<t.sm?"xs":e<t.md?"sm":e<t.lg?"md":e<t.xl?"lg":e<t.xxl?"xl":"xxl",pa=(e,t)=>e<=t.sm?"mobile":e<=t.md?"tablet":"desktop",Pr=e=>{const t=window.innerWidth,r=window.innerHeight,i=ha(t,e),a=pa(t,e);return{currentWidth:t,currentHeight:r,currentBreakpoint:i,currentSize:a}},ma=e=>{const t=e.translations,r=e.language,i=(s,c)=>{if(!s)return;let 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 Ve={},Er;function va(){if(Er)return Ve;Er=1,Object.defineProperty(Ve,"__esModule",{value:!0}),Ve.parse=c,Ve.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 E=function(){};return E.prototype=Object.create(null),E})();function c(E,M){const k=new s,p=E.length;if(p<2)return k;const R=M?.decode||g;let S=0;do{const A=E.indexOf("=",S);if(A===-1)break;const W=E.indexOf(";",S),F=W===-1?p:W;if(A>F){S=E.lastIndexOf(";",A-1)+1;continue}const v=u(E,S,A),w=l(E,A,v),x=E.slice(v,w);if(k[x]===void 0){let T=u(E,A+1,F),b=l(E,F,T);const d=R(E.slice(T,b));k[x]=d}S=F+1}while(S<p);return k}function u(E,M,k){do{const p=E.charCodeAt(M);if(p!==32&&p!==9)return M}while(++M<k);return k}function l(E,M,k){for(;M>k;){const p=E.charCodeAt(--M);if(p!==32&&p!==9)return M+1}return k}function h(E,M,k){const p=k?.encode||encodeURIComponent;if(!e.test(E))throw new TypeError(`argument name is invalid: ${E}`);const R=p(M);if(!t.test(R))throw new TypeError(`argument val is invalid: ${M}`);let S=E+"="+R;if(!k)return S;if(k.maxAge!==void 0){if(!Number.isInteger(k.maxAge))throw new TypeError(`option maxAge is invalid: ${k.maxAge}`);S+="; Max-Age="+k.maxAge}if(k.domain){if(!r.test(k.domain))throw new TypeError(`option domain is invalid: ${k.domain}`);S+="; Domain="+k.domain}if(k.path){if(!i.test(k.path))throw new TypeError(`option path is invalid: ${k.path}`);S+="; Path="+k.path}if(k.expires){if(!y(k.expires)||!Number.isFinite(k.expires.valueOf()))throw new TypeError(`option expires is invalid: ${k.expires}`);S+="; Expires="+k.expires.toUTCString()}if(k.httpOnly&&(S+="; HttpOnly"),k.secure&&(S+="; Secure"),k.partitioned&&(S+="; Partitioned"),k.priority)switch(typeof k.priority=="string"?k.priority.toLowerCase():void 0){case"low":S+="; Priority=Low";break;case"medium":S+="; Priority=Medium";break;case"high":S+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${k.priority}`)}if(k.sameSite)switch(typeof k.sameSite=="string"?k.sameSite.toLowerCase():k.sameSite){case!0:case"strict":S+="; SameSite=Strict";break;case"lax":S+="; SameSite=Lax";break;case"none":S+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${k.sameSite}`)}return S}function g(E){if(E.indexOf("%")===-1)return E;try{return decodeURIComponent(E)}catch{return E}}function y(E){return a.call(E)==="[object Date]"}return Ve}va();/**
|
|
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 Rr="popstate";function ga(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 ba(t,r,null,e)}function ae(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function ve(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function ya(){return Math.random().toString(36).substring(2,10)}function Tr(e,t){return{usr:e.state,key:e.key,idx:t}}function Nt(e,t,r=null,i){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Me(t):t,state:r,key:t&&t.key||i||ya()}}function Xe({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Me(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let i=e.indexOf("?");i>=0&&(t.search=e.substring(i),e=e.substring(0,i)),e&&(t.pathname=e)}return t}function ba(e,t,r,i={}){let{window:a=document.defaultView,v5Compat:s=!1}=i,c=a.history,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 y(){u="POP";let E=g(),S=E==null?null:E-h;h=E,l&&l({action:u,location:p.location,delta:S})}function R(E,S){u="PUSH";let A=Nt(p.location,E,S);h=g()+1;let U=Tr(A,h),F=p.createHref(A);try{c.pushState(U,"",F)}catch(v){if(v instanceof DOMException&&v.name==="DataCloneError")throw v;a.location.assign(F)}s&&l&&l({action:u,location:p.location,delta:1})}function M(E,S){u="REPLACE";let A=Nt(p.location,E,S);h=g();let U=Tr(A,h),F=p.createHref(A);c.replaceState(U,"",F),s&&l&&l({action:u,location:p.location,delta:0})}function k(E){return wa(E)}let p={get action(){return u},get location(){return e(a,c)},listen(E){if(l)throw new Error("A history only accepts one active listener");return a.addEventListener(Rr,y),l=E,()=>{a.removeEventListener(Rr,y),l=null}},createHref(E){return t(a,E)},createURL:k,encodeLocation(E){let S=k(E);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:R,replace:M,go(E){return c.go(E)}};return p}function wa(e,t=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),ae(r,"No window.location.(origin|href) available to create URL");let i=typeof e=="string"?e:Xe(e);return i=i.replace(/ $/,"%20"),!t&&i.startsWith("//")&&(i=r+i),new URL(i,r)}function rn(e,t,r="/"){return Sa(e,t,r,!1)}function Sa(e,t,r,i){let a=typeof t=="string"?Me(t):t,s=xe(a.pathname||"/",r);if(s==null)return null;let c=nn(e);xa(c);let u=null;for(let l=0;u==null&&l<c.length;++l){let h=Ma(s);u=ja(c[l],h,i)}return u}function nn(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}".`),nn(s.children,t,g,h)),!(s.path==null&&!s.index)&&t.push({path:h,score:Ta(h,s.index),routesMeta:g})};return e.forEach((s,c)=>{if(s.path===""||!s.path?.includes("?"))a(s,c);else for(let u of an(s.path))a(s,c,u)}),t}function an(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=an(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 xa(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:_a(t.routesMeta.map(i=>i.childrenIndex),r.routesMeta.map(i=>i.childrenIndex)))}var Oa=/^:[\w-]+$/,ka=3,Ca=2,Pa=1,Ea=10,Ra=-2,_r=e=>e==="*";function Ta(e,t){let r=e.split("/"),i=r.length;return r.some(_r)&&(i+=Ra),t&&(i+=Ca),r.filter(a=>!_r(a)).reduce((a,s)=>a+(Oa.test(s)?ka:s===""?Pa:Ea),i)}function _a(e,t){return e.length===t.length&&e.slice(0,-1).every((i,a)=>i===t[a])?e[e.length-1]-t[t.length-1]:0}function ja(e,t,r=!1){let{routesMeta:i}=e,a={},s="/",c=[];for(let u=0;u<i.length;++u){let l=i[u],h=u===i.length-1,g=s==="/"?t:t.slice(s.length)||"/",y=gt({path:l.relativePath,caseSensitive:l.caseSensitive,end:h},g),R=l.route;if(!y&&h&&r&&!i[i.length-1].route.index&&(y=gt({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},g)),!y)return null;Object.assign(a,y.params),c.push({params:a,pathname:Se([s,y.pathname]),pathnameBase:Aa(Se([s,y.pathnameBase])),route:R}),y.pathnameBase!=="/"&&(s=Se([s,y.pathnameBase]))}return c}function gt(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,i]=La(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:y},R)=>{if(g==="*"){let k=u[R]||"";c=s.slice(0,s.length-k.length).replace(/(.)\/+$/,"$1")}const M=u[R];return y&&!M?h[g]=void 0:h[g]=(M||"").replace(/%2F/g,"/"),h},{}),pathname:s,pathnameBase:c,pattern:e}}function La(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 Ma(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 Da(e,t="/"){let{pathname:r,search:i="",hash:a=""}=typeof e=="string"?Me(e):e;return{pathname:r?r.startsWith("/")?r:$a(r,t):t,search:Ha(i),hash:za(a)}}function $a(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function Dt(e,t,r,i){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Ia(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function on(e){let t=Ia(e);return t.map((r,i)=>i===t.length-1?r.pathname:r.pathnameBase)}function sn(e,t,r,i=!1){let a;typeof e=="string"?a=Me(e):(a={...e},ae(!a.pathname||!a.pathname.includes("?"),Dt("?","pathname","search",a)),ae(!a.pathname||!a.pathname.includes("#"),Dt("#","pathname","hash",a)),ae(!a.search||!a.search.includes("#"),Dt("#","search","hash",a)));let s=e===""||a.pathname==="",c=s?"/":a.pathname,u;if(c==null)u=r;else{let y=t.length-1;if(!i&&c.startsWith("..")){let R=c.split("/");for(;R[0]==="..";)R.shift(),y-=1;a.pathname=R.join("/")}u=y>=0?t[y]:"/"}let l=Da(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,"/"),Aa=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ha=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,za=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Na(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var ln=["POST","PUT","PATCH","DELETE"];new Set(ln);var Fa=["GET",...ln];new Set(Fa);var De=$.createContext(null);De.displayName="DataRouter";var Ot=$.createContext(null);Ot.displayName="DataRouterState";var un=$.createContext({isTransitioning:!1});un.displayName="ViewTransition";var Wa=$.createContext(new Map);Wa.displayName="Fetchers";var Va=$.createContext(null);Va.displayName="Await";var we=$.createContext(null);we.displayName="Navigation";var Je=$.createContext(null);Je.displayName="Location";var Oe=$.createContext({outlet:null,matches:[],isDataRoute:!1});Oe.displayName="Route";var qt=$.createContext(null);qt.displayName="RouteError";function Ua(e,{relative:t}={}){ae(Ze(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:i}=$.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 $.useContext(Je)!=null}function ke(){return ae(Ze(),"useLocation() may be used only in the context of a <Router> component."),$.useContext(Je).location}var cn="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function fn(e){$.useContext(we).static||$.useLayoutEffect(e)}function Xt(){let{isDataRoute:e}=$.useContext(Oe);return e?no():Ya()}function Ya(){ae(Ze(),"useNavigate() may be used only in the context of a <Router> component.");let e=$.useContext(De),{basename:t,navigator:r}=$.useContext(we),{matches:i}=$.useContext(Oe),{pathname:a}=ke(),s=JSON.stringify(on(i)),c=$.useRef(!1);return fn(()=>{c.current=!0}),$.useCallback((l,h={})=>{if(ve(c.current,cn),!c.current)return;if(typeof l=="number"){r.go(l);return}let g=sn(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])}$.createContext(null);function Qe(e,{relative:t}={}){let{matches:r}=$.useContext(Oe),{pathname:i}=ke(),a=JSON.stringify(on(r));return $.useMemo(()=>sn(e,JSON.parse(a),i,t==="path"),[e,a,i,t])}function Ba(e,t){return dn(e,t)}function dn(e,t,r,i){ae(Ze(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=$.useContext(we),{matches:s}=$.useContext(Oe),c=s[s.length-1],u=c?c.params:{},l=c?c.pathname:"/",h=c?c.pathnameBase:"/",g=c&&c.route;{let S=g&&g.path||"";hn(l,!g||S.endsWith("*")||S.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${S}">) 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 Rr="popstate";function ga(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 ba(t,r,null,e)}function ae(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function ve(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function ya(){return Math.random().toString(36).substring(2,10)}function Tr(e,t){return{usr:e.state,key:e.key,idx:t}}function Nt(e,t,r=null,i){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Me(t):t,state:r,key:t&&t.key||i||ya()}}function Xe({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Me(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let i=e.indexOf("?");i>=0&&(t.search=e.substring(i),e=e.substring(0,i)),e&&(t.pathname=e)}return t}function ba(e,t,r,i={}){let{window:a=document.defaultView,v5Compat:s=!1}=i,c=a.history,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 y(){u="POP";let R=g(),S=R==null?null:R-h;h=R,l&&l({action:u,location:p.location,delta:S})}function E(R,S){u="PUSH";let A=Nt(p.location,R,S);h=g()+1;let W=Tr(A,h),F=p.createHref(A);try{c.pushState(W,"",F)}catch(v){if(v instanceof DOMException&&v.name==="DataCloneError")throw v;a.location.assign(F)}s&&l&&l({action:u,location:p.location,delta:1})}function M(R,S){u="REPLACE";let A=Nt(p.location,R,S);h=g();let W=Tr(A,h),F=p.createHref(A);c.replaceState(W,"",F),s&&l&&l({action:u,location:p.location,delta:0})}function k(R){return wa(R)}let p={get action(){return u},get location(){return e(a,c)},listen(R){if(l)throw new Error("A history only accepts one active listener");return a.addEventListener(Rr,y),l=R,()=>{a.removeEventListener(Rr,y),l=null}},createHref(R){return t(a,R)},createURL:k,encodeLocation(R){let S=k(R);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:E,replace:M,go(R){return c.go(R)}};return p}function wa(e,t=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),ae(r,"No window.location.(origin|href) available to create URL");let i=typeof e=="string"?e:Xe(e);return i=i.replace(/ $/,"%20"),!t&&i.startsWith("//")&&(i=r+i),new URL(i,r)}function rn(e,t,r="/"){return Sa(e,t,r,!1)}function Sa(e,t,r,i){let a=typeof t=="string"?Me(t):t,s=xe(a.pathname||"/",r);if(s==null)return null;let c=nn(e);xa(c);let u=null;for(let l=0;u==null&&l<c.length;++l){let h=Ma(s);u=ja(c[l],h,i)}return u}function nn(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}".`),nn(s.children,t,g,h)),!(s.path==null&&!s.index)&&t.push({path:h,score:Ta(h,s.index),routesMeta:g})};return e.forEach((s,c)=>{if(s.path===""||!s.path?.includes("?"))a(s,c);else for(let u of an(s.path))a(s,c,u)}),t}function an(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=an(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 xa(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:_a(t.routesMeta.map(i=>i.childrenIndex),r.routesMeta.map(i=>i.childrenIndex)))}var Oa=/^:[\w-]+$/,ka=3,Ca=2,Pa=1,Ea=10,Ra=-2,_r=e=>e==="*";function Ta(e,t){let r=e.split("/"),i=r.length;return r.some(_r)&&(i+=Ra),t&&(i+=Ca),r.filter(a=>!_r(a)).reduce((a,s)=>a+(Oa.test(s)?ka:s===""?Pa:Ea),i)}function _a(e,t){return e.length===t.length&&e.slice(0,-1).every((i,a)=>i===t[a])?e[e.length-1]-t[t.length-1]:0}function ja(e,t,r=!1){let{routesMeta:i}=e,a={},s="/",c=[];for(let u=0;u<i.length;++u){let l=i[u],h=u===i.length-1,g=s==="/"?t:t.slice(s.length)||"/",y=gt({path:l.relativePath,caseSensitive:l.caseSensitive,end:h},g),E=l.route;if(!y&&h&&r&&!i[i.length-1].route.index&&(y=gt({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},g)),!y)return null;Object.assign(a,y.params),c.push({params:a,pathname:Se([s,y.pathname]),pathnameBase:Aa(Se([s,y.pathnameBase])),route:E}),y.pathnameBase!=="/"&&(s=Se([s,y.pathnameBase]))}return c}function gt(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,i]=La(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:y},E)=>{if(g==="*"){let k=u[E]||"";c=s.slice(0,s.length-k.length).replace(/(.)\/+$/,"$1")}const M=u[E];return y&&!M?h[g]=void 0:h[g]=(M||"").replace(/%2F/g,"/"),h},{}),pathname:s,pathnameBase:c,pattern:e}}function La(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 Ma(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 Da(e,t="/"){let{pathname:r,search:i="",hash:a=""}=typeof e=="string"?Me(e):e;return{pathname:r?r.startsWith("/")?r:$a(r,t):t,search:Ha(i),hash:za(a)}}function $a(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function Dt(e,t,r,i){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Ia(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function on(e){let t=Ia(e);return t.map((r,i)=>i===t.length-1?r.pathname:r.pathnameBase)}function sn(e,t,r,i=!1){let a;typeof e=="string"?a=Me(e):(a={...e},ae(!a.pathname||!a.pathname.includes("?"),Dt("?","pathname","search",a)),ae(!a.pathname||!a.pathname.includes("#"),Dt("#","pathname","hash",a)),ae(!a.search||!a.search.includes("#"),Dt("#","search","hash",a)));let s=e===""||a.pathname==="",c=s?"/":a.pathname,u;if(c==null)u=r;else{let y=t.length-1;if(!i&&c.startsWith("..")){let E=c.split("/");for(;E[0]==="..";)E.shift(),y-=1;a.pathname=E.join("/")}u=y>=0?t[y]:"/"}let l=Da(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,"/"),Aa=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ha=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,za=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Na(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var ln=["POST","PUT","PATCH","DELETE"];new Set(ln);var Fa=["GET",...ln];new Set(Fa);var De=$.createContext(null);De.displayName="DataRouter";var Ot=$.createContext(null);Ot.displayName="DataRouterState";var un=$.createContext({isTransitioning:!1});un.displayName="ViewTransition";var Wa=$.createContext(new Map);Wa.displayName="Fetchers";var Va=$.createContext(null);Va.displayName="Await";var we=$.createContext(null);we.displayName="Navigation";var Je=$.createContext(null);Je.displayName="Location";var Oe=$.createContext({outlet:null,matches:[],isDataRoute:!1});Oe.displayName="Route";var qt=$.createContext(null);qt.displayName="RouteError";function Ua(e,{relative:t}={}){ae(Ze(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:i}=$.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 $.useContext(Je)!=null}function ke(){return ae(Ze(),"useLocation() may be used only in the context of a <Router> component."),$.useContext(Je).location}var cn="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function fn(e){$.useContext(we).static||$.useLayoutEffect(e)}function Xt(){let{isDataRoute:e}=$.useContext(Oe);return e?no():Ya()}function Ya(){ae(Ze(),"useNavigate() may be used only in the context of a <Router> component.");let e=$.useContext(De),{basename:t,navigator:r}=$.useContext(we),{matches:i}=$.useContext(Oe),{pathname:a}=ke(),s=JSON.stringify(on(i)),c=$.useRef(!1);return fn(()=>{c.current=!0}),$.useCallback((l,h={})=>{if(ve(c.current,cn),!c.current)return;if(typeof l=="number"){r.go(l);return}let g=sn(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])}$.createContext(null);function Qe(e,{relative:t}={}){let{matches:r}=$.useContext(Oe),{pathname:i}=ke(),a=JSON.stringify(on(r));return $.useMemo(()=>sn(e,JSON.parse(a),i,t==="path"),[e,a,i,t])}function Ba(e,t){return dn(e,t)}function dn(e,t,r,i){ae(Ze(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=$.useContext(we),{matches:s}=$.useContext(Oe),c=s[s.length-1],u=c?c.params:{},l=c?c.pathname:"/",h=c?c.pathnameBase:"/",g=c&&c.route;{let S=g&&g.path||"";hn(l,!g||S.endsWith("*")||S.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${S}">) 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="${S}"> to <Route path="${S==="/"?"*":`${S}/*`}">.`)}let y=ke(),R;if(t){let S=typeof t=="string"?Me(t):t;ae(h==="/"||S.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 "${S.pathname}" was given in the \`location\` prop.`),R=S}else R=y;let M=R.pathname||"/",k=M;if(h!=="/"){let S=h.replace(/^\//,"").split("/");k="/"+M.replace(/^\//,"").split("/").slice(S.length).join("/")}let p=rn(e,{pathname:k});ve(g||p!=null,`No routes matched location "${R.pathname}${R.search}${R.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 "${R.pathname}${R.search}${R.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 E=Ja(p&&p.map(S=>Object.assign({},S,{params:Object.assign({},u,S.params),pathname:Se([h,a.encodeLocation?a.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?h:Se([h,a.encodeLocation?a.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),s,r,i);return t&&E?$.createElement(Je.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...R},navigationType:"POP"}},E):E}function qa(){let e=ro(),t=Na(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:i},s={padding:"2px 4px",backgroundColor:i},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=$.createElement($.Fragment,null,$.createElement("p",null,"💿 Hey developer 👋"),$.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",$.createElement("code",{style:s},"ErrorBoundary")," or"," ",$.createElement("code",{style:s},"errorElement")," prop on your route.")),$.createElement($.Fragment,null,$.createElement("h2",null,"Unexpected Application Error!"),$.createElement("h3",{style:{fontStyle:"italic"}},t),r?$.createElement("pre",{style:a},r):null,c)}var Xa=$.createElement(qa,null),Ga=class extends $.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?$.createElement(Oe.Provider,{value:this.props.routeContext},$.createElement(qt.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Ka({routeContext:e,match:t,children:r}){let i=$.useContext(De);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),$.createElement(Oe.Provider,{value:e},r)}function Ja(e,t=[],r=null,i=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let a=e,s=r?.errors;if(s!=null){let 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:y}=r,R=h.route.loader&&!g.hasOwnProperty(h.route.id)&&(!y||y[h.route.id]===void 0);if(h.route.lazy||R){c=!0,u>=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((l,h,g)=>{let y,R=!1,M=null,k=null;r&&(y=s&&h.route.id?s[h.route.id]:void 0,M=h.route.errorElement||Xa,c&&(u<0&&g===0?(hn("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),R=!0,k=null):u===g&&(R=!0,k=h.route.hydrateFallbackElement||null)));let p=t.concat(a.slice(0,g+1)),E=()=>{let S;return y?S=M:R?S=k:h.route.Component?S=$.createElement(h.route.Component,null):h.route.element?S=h.route.element:S=l,$.createElement(Ka,{match:h,routeContext:{outlet:l,matches:p,isDataRoute:r!=null},children:S})};return r&&(h.route.ErrorBoundary||h.route.errorElement||g===0)?$.createElement(Ga,{location:r.location,revalidation:r.revalidation,component:M,error:y,children:E(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):E()},null)}function Gt(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Za(e){let t=$.useContext(De);return ae(t,Gt(e)),t}function Qa(e){let t=$.useContext(Ot);return ae(t,Gt(e)),t}function eo(e){let t=$.useContext(Oe);return ae(t,Gt(e)),t}function Kt(e){let t=eo(e),r=t.matches[t.matches.length-1];return ae(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function to(){return Kt("useRouteId")}function ro(){let e=$.useContext(qt),t=Qa("useRouteError"),r=Kt("useRouteError");return e!==void 0?e:t.errors?.[r]}function no(){let{router:e}=Za("useNavigate"),t=Kt("useNavigate"),r=$.useRef(!1);return fn(()=>{r.current=!0}),$.useCallback(async(a,s={})=>{ve(r.current,cn),r.current&&(typeof a=="number"?e.navigate(a):await e.navigate(a,{fromRouteId:t,...s}))},[e,t])}var jr={};function hn(e,t,r){!t&&!jr[e]&&(jr[e]=!0,ve(!1,r))}$.memo(io);function io({routes:e,future:t,state:r}){return dn(e,void 0,r,t)}function pn(e){ae(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function ao({basename:e="/",children:t=null,location:r,navigationType:i="POP",navigator:a,static:s=!1}){ae(!Ze(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),u=$.useMemo(()=>({basename:c,navigator:a,static:s,future:{}}),[c,a,s]);typeof r=="string"&&(r=Me(r));let{pathname:l="/",search:h="",hash:g="",state:y=null,key:R="default"}=r,M=$.useMemo(()=>{let k=xe(l,c);return k==null?null:{location:{pathname:k,search:h,hash:g,state:y,key:R},navigationType:i}},[c,l,h,g,y,R,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:$.createElement(we.Provider,{value:u},$.createElement(Je.Provider,{children:t,value:M}))}function oo({children:e,location:t}){return Ba(Ft(e),t)}function Ft(e,t=[]){let r=[];return $.Children.forEach(e,(i,a)=>{if(!$.isValidElement(i))return;let s=[...t,a];if(i.type===$.Fragment){r.push.apply(r,Ft(i.props.children,s));return}ae(i.type===pn,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),ae(!i.props.index||!i.props.children,"An index route cannot have child routes.");let c={id:i.props.id||s.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(c.children=Ft(i.props.children,s)),r.push(c)}),r}var ut="get",ct="application/x-www-form-urlencoded";function kt(e){return e!=null&&typeof e.tagName=="string"}function so(e){return kt(e)&&e.tagName.toLowerCase()==="button"}function lo(e){return kt(e)&&e.tagName.toLowerCase()==="form"}function uo(e){return kt(e)&&e.tagName.toLowerCase()==="input"}function co(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function fo(e,t){return e.button===0&&(!t||t==="_self")&&!co(e)}function Wt(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let i=e[r];return t.concat(Array.isArray(i)?i.map(a=>[r,a]):[[r,i]])},[]))}function ho(e,t){let r=Wt(e);return t&&t.forEach((i,a)=>{r.has(a)||t.getAll(a).forEach(s=>{r.append(a,s)})}),r}var at=null;function po(){if(at===null)try{new FormData(document.createElement("form"),0),at=!1}catch{at=!0}return at}var mo=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function $t(e){return e!=null&&!mo.has(e)?(ve(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ct}"`),null):e}function vo(e,t){let r,i,a,s,c;if(lo(e)){let 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(so(e)||uo(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),!po()){let{name:h,type:g,value:y}=e;if(g==="image"){let R=h?`${h}.`:"";s.append(`${R}x`,"0"),s.append(`${R}y`,"0")}else h&&s.append(h,y)}}else{if(kt(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=ut,i=null,a=ct,c=e}return s&&a==="text/plain"&&(c=s,s=void 0),{action:i,method:r.toLowerCase(),encType:a,formData:s,body:c}}function Jt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}async function go(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function yo(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function bo(e,t,r){let i=await Promise.all(e.map(async a=>{let s=t.routes[a.route.id];if(s){let c=await go(s,r);return c.links?c.links():[]}return[]}));return Oo(i.flat(1).filter(yo).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="stylesheet"?{...a,rel:"prefetch",as:"style"}:{...a,rel:"prefetch"}))}function Lr(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 y=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 y=="boolean")return y}return!0}):[]}function wo(e,t,{includeHydrateFallback:r}={}){return So(e.map(i=>{let a=t.routes[i.route.id];if(!a)return[];let s=[a.module];return a.clientActionModule&&(s=s.concat(a.clientActionModule)),a.clientLoaderModule&&(s=s.concat(a.clientLoaderModule)),r&&a.hydrateFallbackModule&&(s=s.concat(a.hydrateFallbackModule)),a.imports&&(s=s.concat(a.imports)),s}).flat(1))}function So(e){return[...new Set(e)]}function xo(e){let t={},r=Object.keys(e).sort();for(let i of r)t[i]=e[i];return t}function Oo(e,t){let r=new Set;return new Set(t),e.reduce((i,a)=>{let s=JSON.stringify(xo(a));return r.has(s)||(r.add(s),i.push({key:s,link:a})),i},[])}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var ko=new Set([100,101,204,205]);function Co(e,t){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r.pathname==="/"?r.pathname="_root.data":t&&xe(r.pathname,t)==="/"?r.pathname=`${t.replace(/\/$/,"")}/_root.data`:r.pathname=`${r.pathname.replace(/\/$/,"")}.data`,r}function mn(){let e=$.useContext(De);return Jt(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Po(){let e=$.useContext(Ot);return Jt(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Zt=$.createContext(void 0);Zt.displayName="FrameworkContext";function vn(){let e=$.useContext(Zt);return Jt(e,"You must render this element inside a <HydratedRouter> element"),e}function Eo(e,t){let r=$.useContext(Zt),[i,a]=$.useState(!1),[s,c]=$.useState(!1),{onFocus:u,onBlur:l,onMouseEnter:h,onMouseLeave:g,onTouchStart:y}=t,R=$.useRef(null);$.useEffect(()=>{if(e==="render"&&c(!0),e==="viewport"){let p=S=>{S.forEach(A=>{c(A.isIntersecting)})},E=new IntersectionObserver(p,{threshold:.5});return R.current&&E.observe(R.current),()=>{E.disconnect()}}},[e]),$.useEffect(()=>{if(i){let p=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(p)}}},[i]);let M=()=>{a(!0)},k=()=>{a(!1),c(!1)};return r?e!=="intent"?[s,R,{}]:[s,R,{onFocus:Ue(u,M),onBlur:Ue(l,k),onMouseEnter:Ue(h,M),onMouseLeave:Ue(g,k),onTouchStart:Ue(y,M)}]:[!1,R,{}]}function Ue(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function Ro({page:e,...t}){let{router:r}=mn(),i=$.useMemo(()=>rn(r.routes,e,r.basename),[r.routes,e,r.basename]);return i?$.createElement(_o,{page:e,matches:i,...t}):null}function To(e){let{manifest:t,routeModules:r}=vn(),[i,a]=$.useState([]);return $.useEffect(()=>{let s=!1;return bo(e,t,r).then(c=>{s||a(c)}),()=>{s=!0}},[e,t,r]),i}function _o({page:e,matches:t,...r}){let i=ke(),{manifest:a,routeModules:s}=vn(),{basename:c}=mn(),{loaderData:u,matches:l}=Po(),h=$.useMemo(()=>Lr(e,t,l,a,i,"data"),[e,t,l,a,i]),g=$.useMemo(()=>Lr(e,t,l,a,i,"assets"),[e,t,l,a,i]),y=$.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let k=new Set,p=!1;if(t.forEach(S=>{let A=a.routes[S.route.id];!A||!A.hasLoader||(!h.some(U=>U.route.id===S.route.id)&&S.route.id in u&&s[S.route.id]?.shouldRevalidate||A.hasClientLoader?p=!0:k.add(S.route.id))}),k.size===0)return[];let E=Co(e,c);return p&&k.size>0&&E.searchParams.set("_routes",t.filter(S=>k.has(S.route.id)).map(S=>S.route.id).join(",")),[E.pathname+E.search]},[c,u,i,a,h,t,e,s]),R=$.useMemo(()=>wo(g,a),[g,a]),M=To(g);return $.createElement($.Fragment,null,y.map(k=>$.createElement("link",{key:k,rel:"prefetch",as:"fetch",href:k,...r})),R.map(k=>$.createElement("link",{key:k,rel:"modulepreload",href:k,...r})),M.map(({key:k,link:p})=>$.createElement("link",{key:k,...p})))}function jo(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var gn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{gn&&(window.__reactRouterVersion="7.6.3")}catch{}function Lo({basename:e,children:t,window:r}){let i=$.useRef();i.current==null&&(i.current=ga({window:r,v5Compat:!0}));let a=i.current,[s,c]=$.useState({action:a.action,location:a.location}),u=$.useCallback(l=>{$.startTransition(()=>c(l))},[c]);return $.useLayoutEffect(()=>a.listen(u),[a,u]),$.createElement(ao,{basename:e,children:t,location:s.location,navigationType:s.action,navigator:a})}var yn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,bn=$.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:y,...R},M){let{basename:k}=$.useContext(we),p=typeof h=="string"&&yn.test(h),E,S=!1;if(typeof h=="string"&&p&&(E=h,gn))try{let b=new URL(window.location.href),d=h.startsWith("//")?new URL(b.protocol+h):new URL(h),C=xe(d.pathname,k);d.origin===b.origin&&C!=null?h=C+d.search+d.hash:S=!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 A=Ua(h,{relative:a}),[U,F,v]=Eo(i,R),w=Io(h,{replace:c,state:u,target:l,preventScrollReset:g,relative:a,viewTransition:y});function x(b){t&&t(b),b.defaultPrevented||w(b)}let T=$.createElement("a",{...R,...v,href:E||A,onClick:S||s?t:x,ref:jo(M,F),target:l,"data-discover":!p&&r==="render"?"true":void 0});return U&&!p?$.createElement($.Fragment,null,T,$.createElement(Ro,{page:A})):T});bn.displayName="Link";var Mo=$.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 y=Qe(c,{relative:h.relative}),R=ke(),M=$.useContext(Ot),{navigator:k,basename:p}=$.useContext(we),E=M!=null&&Wo(y)&&u===!0,S=k.encodeLocation?k.encodeLocation(y).pathname:y.pathname,A=R.pathname,U=M&&M.navigation&&M.navigation.location?M.navigation.location.pathname:null;r||(A=A.toLowerCase(),U=U?U.toLowerCase():null,S=S.toLowerCase()),U&&p&&(U=xe(U,p)||U);const F=S!=="/"&&S.endsWith("/")?S.length-1:S.length;let v=A===S||!a&&A.startsWith(S)&&A.charAt(F)==="/",w=U!=null&&(U===S||!a&&U.startsWith(S)&&U.charAt(S.length)==="/"),x={isActive:v,isPending:w,isTransitioning:E},T=v?t:void 0,b;typeof i=="function"?b=i(x):b=[i,v?"active":null,w?"pending":null,E?"transitioning":null].filter(Boolean).join(" ");let d=typeof s=="function"?s(x):s;return $.createElement(bn,{...h,"aria-current":T,className:b,ref:g,style:d,to:c,viewTransition:u},typeof l=="function"?l(x):l)});Mo.displayName="NavLink";var Do=$.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:i,replace:a,state:s,method:c=ut,action:u,onSubmit:l,relative:h,preventScrollReset:g,viewTransition:y,...R},M)=>{let k=No(),p=Fo(u,{relative:h}),E=c.toLowerCase()==="get"?"get":"post",S=typeof u=="string"&&yn.test(u),A=U=>{if(l&&l(U),U.defaultPrevented)return;U.preventDefault();let F=U.nativeEvent.submitter,v=F?.getAttribute("formmethod")||c;k(F||U.currentTarget,{fetcherKey:t,method:v,navigate:r,replace:a,state:s,relative:h,preventScrollReset:g,viewTransition:y})};return $.createElement("form",{ref:M,method:E,action:p,onSubmit:i?l:A,...R,"data-discover":!S&&e==="render"?"true":void 0})});Do.displayName="Form";function $o(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function wn(e){let t=$.useContext(De);return ae(t,$o(e)),t}function Io(e,{target:t,replace:r,state:i,preventScrollReset:a,relative:s,viewTransition:c}={}){let u=Xt(),l=ke(),h=Qe(e,{relative:s});return $.useCallback(g=>{if(fo(g,t)){g.preventDefault();let y=r!==void 0?r:Xe(l)===Xe(h);u(e,{replace:y,state:i,preventScrollReset:a,relative:s,viewTransition:c})}},[l,u,h,r,i,t,e,a,s,c])}function Ao(e){ve(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=$.useRef(Wt(e)),r=$.useRef(!1),i=ke(),a=$.useMemo(()=>ho(i.search,r.current?null:t.current),[i.search]),s=Xt(),c=$.useCallback((u,l)=>{const h=Wt(typeof u=="function"?u(a):u);r.current=!0,s("?"+h,l)},[s,a]);return[a,c]}var Ho=0,zo=()=>`__${String(++Ho)}__`;function No(){let{router:e}=wn("useSubmit"),{basename:t}=$.useContext(we),r=to();return $.useCallback(async(i,a={})=>{let{action:s,method:c,encType:u,formData:l,body:h}=vo(i,t);if(a.navigate===!1){let g=a.fetcherKey||zo();await e.fetch(g,r,a.action||s,{preventScrollReset:a.preventScrollReset,formData: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 Fo(e,{relative:t}={}){let{basename:r}=$.useContext(we),i=$.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(y=>y).forEach(y=>u.append("index",y));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 Wo(e,t={}){let r=$.useContext(un);ae(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=wn("useViewTransitionState"),a=Qe(e,{relative:t.relative});if(!r.isTransitioning)return!1;let s=xe(r.currentLocation.pathname,i)||r.currentLocation.pathname,c=xe(r.nextLocation.pathname,i)||r.nextLocation.pathname;return gt(a.pathname,c)!=null||gt(a.pathname,s)!=null}[...ko];const Sn=V.createContext({history:[],addToHistory:()=>{},popFromHistory:()=>"",replaceHistory:()=>{}}),Vo=()=>{const[e,t]=Ao(),r=V.useMemo(()=>Object.fromEntries(e.entries()),[e]),i=V.useCallback(g=>{const y={};return g.forEach(R=>{y[R]=e.get(R)}),y},[e]),a=V.useCallback(g=>{const y=e.get(g);return y==null||y==null,y},[e]),s=V.useCallback(g=>{const y=new URLSearchParams(e);y.delete(g),t(y)},[e,t]),c=V.useCallback(g=>{const y=new URLSearchParams(e);g.forEach(R=>{y.delete(String(R))}),t(y)},[e,t]),u=V.useCallback(()=>{t({})},[e,t]),l=V.useCallback((g,y)=>{t(R=>{const M=new URLSearchParams(R);return y==null?M.delete(g):M.set(g,String(y)),M})},[t]),h=V.useCallback(g=>{t(y=>{const R=new URLSearchParams(y);return Object.entries(g).forEach(([M,k])=>{k==null?R.delete(M):R.set(M,String(k))}),R})},[t]);return{getAll:()=>r,get:a,getMany:i,set:l,setMany:h,remove:s,removeMany:c,removeAll:u}},Uo=()=>{const e=Xt(),t=ke(),r=Vo(),i=V.useContext(Sn),a=l=>{const h=new URL(l.path,"http://dummy-base");return l.params&&Object.entries(l.params).forEach(([g,y])=>{y!=null&&h.searchParams.set(g,String(y))}),h.pathname+h.search},s=V.useCallback(l=>{const h=a(l);l.addToHistory!==!1?(e(h),i.addToHistory(h)):(e(h,{replace:!0}),i.history.length>0&&(i.popFromHistory(1),i.addToHistory(h)))},[e,i.history]),c=V.useCallback(l=>{let h=l||1;i.history.length<h&&(h=i.history.length),e(-h),i.popFromHistory(h)},[e]),u=V.useCallback(()=>{i.replaceHistory([])},[e]);return{currentPath:t.pathname,history:i.history,searchParams:r,goBack:c,goTo:s,clearHistory:u}},Yo=({isReady:e=!0,routes:t,children:r})=>{const i=V.useRef([]),[a,s]=V.useState([]),c=V.useCallback(y=>{i.current=y,s(y)},[]),u=(y,R=!1)=>{let M=[...i.current];R&&(M=M.slice(0,M.length-1)),M=[...M,y],c(M)},l=y=>{let R="",M=[];return i.current.length===0||i.current.length<y?"/":(M=i.current.slice(0,i.current.length-y),R=M[M.length-1],c(M),R)},h=y=>{c(y)},g=t.map(y=>X.jsx(pn,{path:y.path,element:y.render}));return X.jsx(Sn.Provider,{value:{history:a,addToHistory:u,popFromHistory:l,replaceHistory:h},children:X.jsx(Lo,{children:X.jsxs(X.Fragment,{children:[e&&X.jsx(oo,{children:g}),r]})})})},xn=V.createContext({visibleItems:[],isItemVisible:()=>!1,showItem:()=>{},hideItem:()=>{}}),Bo=({children:e})=>{const t=V.useRef([]),[r,i]=V.useState([]),a=V.useCallback(l=>{t.current=l,i(l)},[]),s=V.useCallback(l=>t.current.some(h=>h===l),[]),c=V.useCallback(l=>{s(l)||a([...t.current,l])},[s,a]),u=V.useCallback(l=>{s(l)&&a(t.current.filter(g=>g!==l))},[s,a]);return X.jsx(xn.Provider,{value:{visibleItems:r,isItemVisible:s,showItem:c,hideItem:u},children:e})},et=()=>{const e=V.useContext(xn),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}},qo=({id:e,onCloseDrawer:t,drawerCloseOffset:r=15})=>{const{isItemVisible:i}=et(),[a,s]=V.useState({isDragging:!1}),c=V.useRef(null),u=V.useRef(null),l=V.useRef(null),[h,g]=V.useState(0),y=k=>{s(k)},R=k=>{s(k),g(0)};return en({ref:l,onDrag:k=>{s(k);const p=u.current?.clientHeight||0;k.distanceY&&(g(k.distanceY<0?0:-k.distanceY),k.distanceY>=p-r&&(t?.(),R(k)))},onDragEnd:R,onDragStart:y}),{isVisible:i(e),drawerParentRef:c,drawerRef:u,drawerBottomDistance:h,handleRef:l}},Xo=e=>{const{children:t,backgroundStyles:r,contentStyles:i,handle:a}=e,{isVisible:s,drawerParentRef:c,drawerRef:u,handleRef:l,drawerBottomDistance:h}=qo(e);return X.jsx(X.Fragment,{children:s&&X.jsx("div",{ref:c,style:{width:"100%",height:"100%",minHeight:"100vh",left:0,top:0,background:"#00000068",position:"fixed",zIndex:1e3,display:"flex",flexDirection:"column",touchAction:"none",...r},children:X.jsxs("div",{ref: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:[X.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]})})})},Go=({onPreSubmit:e,onSubmit:t,onChange:r,onMount:i,configurations:a})=>{const s=V.useRef(null),c=V.useRef(!1),u=E=>({name:E.name,value:E.value}),l=()=>{if(!s.current?.elements)return[];const E=Array.from(s.current?.elements).filter(A=>!!A.getAttribute("name")),S=[];for(const A of E)S.push(u(A));return S},h=(E,S,A)=>E==="change"&&S||E==="mount"&&A||E==="submit",g=async(E,S)=>{try{const F=(a||[]).find(v=>v.name===E.name);if(!F)return E;var A=E.value,U=E.value;if(F.emptyValidation&&F.emptyValidation.allow===!1&&!A&&h(S,F.emptyValidation.validateOnChange,F.emptyValidation.validateOnMount))return E.error=F.emptyValidation.errorMessage,E;if(F.minLengthValidation&&A.length<F.minLengthValidation.value&&h(S,F.minLengthValidation.validateOnChange,F.minLengthValidation.validateOnMount))return E.error=F.minLengthValidation.errorMessage,E;if(F.maxLengthValidation&&A.length>F.maxLengthValidation.value&&h(S,F.maxLengthValidation.validateOnChange,F.maxLengthValidation.validateOnMount))return E.error=F.maxLengthValidation.errorMessage,E;if(!isNaN(U)){if(F.minValueValidation&&U<F.minValueValidation.value&&h(S,F.minValueValidation.validateOnChange,F.minValueValidation.validateOnMount))return E.error=F.minValueValidation.errorMessage,E;if(F.maxValueValidation&&U>F.maxValueValidation.value&&h(S,F.maxValueValidation.validateOnChange,F.maxValueValidation.validateOnMount))return E.error=F.maxValueValidation.errorMessage,E}if(F.exactValueValidation&&F.exactValueValidation.value!==E.value&&h(S,F.exactValueValidation.validateOnChange,F.exactValueValidation.validateOnMount))return E.error=F.exactValueValidation.errorMessage,E;for(let v=0;v<(F.validations||[]).length;v++){const w=F.validations?.[v];if(!h(S,w?.validateOnChange,w?.validateOnMount))continue;const x=await F.validations?.[v].validate?.(E.value);if(x)return E.error=x,E}}catch(F){console.error(`Form > Failed To Validate Field ${E.name}: `,F)}return E},y=V.useCallback(async()=>{let E=l();E=await Promise.all(E.map(async A=>await g(A,"submit")));const S=E.find(A=>A.error!==void 0);return{fields:E,hasErrors:S!==void 0}},[]),R=V.useCallback(async E=>{try{if(c.current)return;c.current=!0,e?.(),E.preventDefault(),E.stopPropagation();const S=await y();c.current=!1,t?.(S.fields,S.hasErrors)}catch(S){c.current=!1,console.error("Form > OnSubmit > Error submitting: ",S)}},[t,e]),M=V.useCallback(async E=>{try{const S=E.target;let A=u(S);A=await g(A,"change"),console.log("result",{changedElement:S}),r?.(A,A.error!==void 0)}catch(S){console.error("Form > onChange > Error changing: ",S)}},[t,e]),k=V.useCallback(async()=>{try{const E=await y();i?.(E.fields,E.hasErrors)}catch(E){console.error("Form > onChange > Error changing: ",E)}},[t,e]),p=E=>{s.current&&s.current.requestSubmit()};return Zr(()=>{k()}),{ref:s,submitForm:p,handleFormSubmission:R,handleFormChange:M}},Ko=Pe.div`
|
|
126
|
+
Please change the parent <Route path="${S}"> to <Route path="${S==="/"?"*":`${S}/*`}">.`)}let y=ke(),E;if(t){let S=typeof t=="string"?Me(t):t;ae(h==="/"||S.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 "${S.pathname}" was given in the \`location\` prop.`),E=S}else E=y;let M=E.pathname||"/",k=M;if(h!=="/"){let S=h.replace(/^\//,"").split("/");k="/"+M.replace(/^\//,"").split("/").slice(S.length).join("/")}let p=rn(e,{pathname:k});ve(g||p!=null,`No routes matched location "${E.pathname}${E.search}${E.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 "${E.pathname}${E.search}${E.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 R=Ja(p&&p.map(S=>Object.assign({},S,{params:Object.assign({},u,S.params),pathname:Se([h,a.encodeLocation?a.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?h:Se([h,a.encodeLocation?a.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),s,r,i);return t&&R?$.createElement(Je.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...E},navigationType:"POP"}},R):R}function qa(){let e=ro(),t=Na(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:i},s={padding:"2px 4px",backgroundColor:i},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=$.createElement($.Fragment,null,$.createElement("p",null,"💿 Hey developer 👋"),$.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",$.createElement("code",{style:s},"ErrorBoundary")," or"," ",$.createElement("code",{style:s},"errorElement")," prop on your route.")),$.createElement($.Fragment,null,$.createElement("h2",null,"Unexpected Application Error!"),$.createElement("h3",{style:{fontStyle:"italic"}},t),r?$.createElement("pre",{style:a},r):null,c)}var Xa=$.createElement(qa,null),Ga=class extends $.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?$.createElement(Oe.Provider,{value:this.props.routeContext},$.createElement(qt.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Ka({routeContext:e,match:t,children:r}){let i=$.useContext(De);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),$.createElement(Oe.Provider,{value:e},r)}function Ja(e,t=[],r=null,i=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let a=e,s=r?.errors;if(s!=null){let 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:y}=r,E=h.route.loader&&!g.hasOwnProperty(h.route.id)&&(!y||y[h.route.id]===void 0);if(h.route.lazy||E){c=!0,u>=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((l,h,g)=>{let y,E=!1,M=null,k=null;r&&(y=s&&h.route.id?s[h.route.id]:void 0,M=h.route.errorElement||Xa,c&&(u<0&&g===0?(hn("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),E=!0,k=null):u===g&&(E=!0,k=h.route.hydrateFallbackElement||null)));let p=t.concat(a.slice(0,g+1)),R=()=>{let S;return y?S=M:E?S=k:h.route.Component?S=$.createElement(h.route.Component,null):h.route.element?S=h.route.element:S=l,$.createElement(Ka,{match:h,routeContext:{outlet:l,matches:p,isDataRoute:r!=null},children:S})};return r&&(h.route.ErrorBoundary||h.route.errorElement||g===0)?$.createElement(Ga,{location:r.location,revalidation:r.revalidation,component:M,error:y,children:R(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):R()},null)}function Gt(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Za(e){let t=$.useContext(De);return ae(t,Gt(e)),t}function Qa(e){let t=$.useContext(Ot);return ae(t,Gt(e)),t}function eo(e){let t=$.useContext(Oe);return ae(t,Gt(e)),t}function Kt(e){let t=eo(e),r=t.matches[t.matches.length-1];return ae(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function to(){return Kt("useRouteId")}function ro(){let e=$.useContext(qt),t=Qa("useRouteError"),r=Kt("useRouteError");return e!==void 0?e:t.errors?.[r]}function no(){let{router:e}=Za("useNavigate"),t=Kt("useNavigate"),r=$.useRef(!1);return fn(()=>{r.current=!0}),$.useCallback(async(a,s={})=>{ve(r.current,cn),r.current&&(typeof a=="number"?e.navigate(a):await e.navigate(a,{fromRouteId:t,...s}))},[e,t])}var jr={};function hn(e,t,r){!t&&!jr[e]&&(jr[e]=!0,ve(!1,r))}$.memo(io);function io({routes:e,future:t,state:r}){return dn(e,void 0,r,t)}function pn(e){ae(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function ao({basename:e="/",children:t=null,location:r,navigationType:i="POP",navigator:a,static:s=!1}){ae(!Ze(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),u=$.useMemo(()=>({basename:c,navigator:a,static:s,future:{}}),[c,a,s]);typeof r=="string"&&(r=Me(r));let{pathname:l="/",search:h="",hash:g="",state:y=null,key:E="default"}=r,M=$.useMemo(()=>{let k=xe(l,c);return k==null?null:{location:{pathname:k,search:h,hash:g,state:y,key:E},navigationType:i}},[c,l,h,g,y,E,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:$.createElement(we.Provider,{value:u},$.createElement(Je.Provider,{children:t,value:M}))}function oo({children:e,location:t}){return Ba(Ft(e),t)}function Ft(e,t=[]){let r=[];return $.Children.forEach(e,(i,a)=>{if(!$.isValidElement(i))return;let s=[...t,a];if(i.type===$.Fragment){r.push.apply(r,Ft(i.props.children,s));return}ae(i.type===pn,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),ae(!i.props.index||!i.props.children,"An index route cannot have child routes.");let c={id:i.props.id||s.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(c.children=Ft(i.props.children,s)),r.push(c)}),r}var ut="get",ct="application/x-www-form-urlencoded";function kt(e){return e!=null&&typeof e.tagName=="string"}function so(e){return kt(e)&&e.tagName.toLowerCase()==="button"}function lo(e){return kt(e)&&e.tagName.toLowerCase()==="form"}function uo(e){return kt(e)&&e.tagName.toLowerCase()==="input"}function co(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function fo(e,t){return e.button===0&&(!t||t==="_self")&&!co(e)}function Wt(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let i=e[r];return t.concat(Array.isArray(i)?i.map(a=>[r,a]):[[r,i]])},[]))}function ho(e,t){let r=Wt(e);return t&&t.forEach((i,a)=>{r.has(a)||t.getAll(a).forEach(s=>{r.append(a,s)})}),r}var at=null;function po(){if(at===null)try{new FormData(document.createElement("form"),0),at=!1}catch{at=!0}return at}var mo=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function $t(e){return e!=null&&!mo.has(e)?(ve(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ct}"`),null):e}function vo(e,t){let r,i,a,s,c;if(lo(e)){let 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(so(e)||uo(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),!po()){let{name:h,type:g,value:y}=e;if(g==="image"){let E=h?`${h}.`:"";s.append(`${E}x`,"0"),s.append(`${E}y`,"0")}else h&&s.append(h,y)}}else{if(kt(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=ut,i=null,a=ct,c=e}return s&&a==="text/plain"&&(c=s,s=void 0),{action:i,method:r.toLowerCase(),encType:a,formData:s,body:c}}function Jt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}async function go(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function yo(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function bo(e,t,r){let i=await Promise.all(e.map(async a=>{let s=t.routes[a.route.id];if(s){let c=await go(s,r);return c.links?c.links():[]}return[]}));return Oo(i.flat(1).filter(yo).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="stylesheet"?{...a,rel:"prefetch",as:"style"}:{...a,rel:"prefetch"}))}function Lr(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 y=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 y=="boolean")return y}return!0}):[]}function wo(e,t,{includeHydrateFallback:r}={}){return So(e.map(i=>{let a=t.routes[i.route.id];if(!a)return[];let s=[a.module];return a.clientActionModule&&(s=s.concat(a.clientActionModule)),a.clientLoaderModule&&(s=s.concat(a.clientLoaderModule)),r&&a.hydrateFallbackModule&&(s=s.concat(a.hydrateFallbackModule)),a.imports&&(s=s.concat(a.imports)),s}).flat(1))}function So(e){return[...new Set(e)]}function xo(e){let t={},r=Object.keys(e).sort();for(let i of r)t[i]=e[i];return t}function Oo(e,t){let r=new Set;return new Set(t),e.reduce((i,a)=>{let s=JSON.stringify(xo(a));return r.has(s)||(r.add(s),i.push({key:s,link:a})),i},[])}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var ko=new Set([100,101,204,205]);function Co(e,t){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r.pathname==="/"?r.pathname="_root.data":t&&xe(r.pathname,t)==="/"?r.pathname=`${t.replace(/\/$/,"")}/_root.data`:r.pathname=`${r.pathname.replace(/\/$/,"")}.data`,r}function mn(){let e=$.useContext(De);return Jt(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Po(){let e=$.useContext(Ot);return Jt(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Zt=$.createContext(void 0);Zt.displayName="FrameworkContext";function vn(){let e=$.useContext(Zt);return Jt(e,"You must render this element inside a <HydratedRouter> element"),e}function Eo(e,t){let r=$.useContext(Zt),[i,a]=$.useState(!1),[s,c]=$.useState(!1),{onFocus:u,onBlur:l,onMouseEnter:h,onMouseLeave:g,onTouchStart:y}=t,E=$.useRef(null);$.useEffect(()=>{if(e==="render"&&c(!0),e==="viewport"){let p=S=>{S.forEach(A=>{c(A.isIntersecting)})},R=new IntersectionObserver(p,{threshold:.5});return E.current&&R.observe(E.current),()=>{R.disconnect()}}},[e]),$.useEffect(()=>{if(i){let p=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(p)}}},[i]);let M=()=>{a(!0)},k=()=>{a(!1),c(!1)};return r?e!=="intent"?[s,E,{}]:[s,E,{onFocus:Ue(u,M),onBlur:Ue(l,k),onMouseEnter:Ue(h,M),onMouseLeave:Ue(g,k),onTouchStart:Ue(y,M)}]:[!1,E,{}]}function Ue(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function Ro({page:e,...t}){let{router:r}=mn(),i=$.useMemo(()=>rn(r.routes,e,r.basename),[r.routes,e,r.basename]);return i?$.createElement(_o,{page:e,matches:i,...t}):null}function To(e){let{manifest:t,routeModules:r}=vn(),[i,a]=$.useState([]);return $.useEffect(()=>{let s=!1;return bo(e,t,r).then(c=>{s||a(c)}),()=>{s=!0}},[e,t,r]),i}function _o({page:e,matches:t,...r}){let i=ke(),{manifest:a,routeModules:s}=vn(),{basename:c}=mn(),{loaderData:u,matches:l}=Po(),h=$.useMemo(()=>Lr(e,t,l,a,i,"data"),[e,t,l,a,i]),g=$.useMemo(()=>Lr(e,t,l,a,i,"assets"),[e,t,l,a,i]),y=$.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let k=new Set,p=!1;if(t.forEach(S=>{let A=a.routes[S.route.id];!A||!A.hasLoader||(!h.some(W=>W.route.id===S.route.id)&&S.route.id in u&&s[S.route.id]?.shouldRevalidate||A.hasClientLoader?p=!0:k.add(S.route.id))}),k.size===0)return[];let R=Co(e,c);return p&&k.size>0&&R.searchParams.set("_routes",t.filter(S=>k.has(S.route.id)).map(S=>S.route.id).join(",")),[R.pathname+R.search]},[c,u,i,a,h,t,e,s]),E=$.useMemo(()=>wo(g,a),[g,a]),M=To(g);return $.createElement($.Fragment,null,y.map(k=>$.createElement("link",{key:k,rel:"prefetch",as:"fetch",href:k,...r})),E.map(k=>$.createElement("link",{key:k,rel:"modulepreload",href:k,...r})),M.map(({key:k,link:p})=>$.createElement("link",{key:k,...p})))}function jo(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var gn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{gn&&(window.__reactRouterVersion="7.6.3")}catch{}function Lo({basename:e,children:t,window:r}){let i=$.useRef();i.current==null&&(i.current=ga({window:r,v5Compat:!0}));let a=i.current,[s,c]=$.useState({action:a.action,location:a.location}),u=$.useCallback(l=>{$.startTransition(()=>c(l))},[c]);return $.useLayoutEffect(()=>a.listen(u),[a,u]),$.createElement(ao,{basename:e,children:t,location:s.location,navigationType:s.action,navigator:a})}var yn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,bn=$.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:y,...E},M){let{basename:k}=$.useContext(we),p=typeof h=="string"&&yn.test(h),R,S=!1;if(typeof h=="string"&&p&&(R=h,gn))try{let b=new URL(window.location.href),d=h.startsWith("//")?new URL(b.protocol+h):new URL(h),C=xe(d.pathname,k);d.origin===b.origin&&C!=null?h=C+d.search+d.hash:S=!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 A=Ua(h,{relative:a}),[W,F,v]=Eo(i,E),w=Io(h,{replace:c,state:u,target:l,preventScrollReset:g,relative:a,viewTransition:y});function x(b){t&&t(b),b.defaultPrevented||w(b)}let T=$.createElement("a",{...E,...v,href:R||A,onClick:S||s?t:x,ref:jo(M,F),target:l,"data-discover":!p&&r==="render"?"true":void 0});return W&&!p?$.createElement($.Fragment,null,T,$.createElement(Ro,{page:A})):T});bn.displayName="Link";var Mo=$.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 y=Qe(c,{relative:h.relative}),E=ke(),M=$.useContext(Ot),{navigator:k,basename:p}=$.useContext(we),R=M!=null&&Wo(y)&&u===!0,S=k.encodeLocation?k.encodeLocation(y).pathname:y.pathname,A=E.pathname,W=M&&M.navigation&&M.navigation.location?M.navigation.location.pathname:null;r||(A=A.toLowerCase(),W=W?W.toLowerCase():null,S=S.toLowerCase()),W&&p&&(W=xe(W,p)||W);const F=S!=="/"&&S.endsWith("/")?S.length-1:S.length;let v=A===S||!a&&A.startsWith(S)&&A.charAt(F)==="/",w=W!=null&&(W===S||!a&&W.startsWith(S)&&W.charAt(S.length)==="/"),x={isActive:v,isPending:w,isTransitioning:R},T=v?t:void 0,b;typeof i=="function"?b=i(x):b=[i,v?"active":null,w?"pending":null,R?"transitioning":null].filter(Boolean).join(" ");let d=typeof s=="function"?s(x):s;return $.createElement(bn,{...h,"aria-current":T,className:b,ref:g,style:d,to:c,viewTransition:u},typeof l=="function"?l(x):l)});Mo.displayName="NavLink";var Do=$.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:i,replace:a,state:s,method:c=ut,action:u,onSubmit:l,relative:h,preventScrollReset:g,viewTransition:y,...E},M)=>{let k=No(),p=Fo(u,{relative:h}),R=c.toLowerCase()==="get"?"get":"post",S=typeof u=="string"&&yn.test(u),A=W=>{if(l&&l(W),W.defaultPrevented)return;W.preventDefault();let F=W.nativeEvent.submitter,v=F?.getAttribute("formmethod")||c;k(F||W.currentTarget,{fetcherKey:t,method:v,navigate:r,replace:a,state:s,relative:h,preventScrollReset:g,viewTransition:y})};return $.createElement("form",{ref:M,method:R,action:p,onSubmit:i?l:A,...E,"data-discover":!S&&e==="render"?"true":void 0})});Do.displayName="Form";function $o(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function wn(e){let t=$.useContext(De);return ae(t,$o(e)),t}function Io(e,{target:t,replace:r,state:i,preventScrollReset:a,relative:s,viewTransition:c}={}){let u=Xt(),l=ke(),h=Qe(e,{relative:s});return $.useCallback(g=>{if(fo(g,t)){g.preventDefault();let y=r!==void 0?r:Xe(l)===Xe(h);u(e,{replace:y,state:i,preventScrollReset:a,relative:s,viewTransition:c})}},[l,u,h,r,i,t,e,a,s,c])}function Ao(e){ve(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=$.useRef(Wt(e)),r=$.useRef(!1),i=ke(),a=$.useMemo(()=>ho(i.search,r.current?null:t.current),[i.search]),s=Xt(),c=$.useCallback((u,l)=>{const h=Wt(typeof u=="function"?u(a):u);r.current=!0,s("?"+h,l)},[s,a]);return[a,c]}var Ho=0,zo=()=>`__${String(++Ho)}__`;function No(){let{router:e}=wn("useSubmit"),{basename:t}=$.useContext(we),r=to();return $.useCallback(async(i,a={})=>{let{action:s,method:c,encType:u,formData:l,body:h}=vo(i,t);if(a.navigate===!1){let g=a.fetcherKey||zo();await e.fetch(g,r,a.action||s,{preventScrollReset:a.preventScrollReset,formData: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 Fo(e,{relative:t}={}){let{basename:r}=$.useContext(we),i=$.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(y=>y).forEach(y=>u.append("index",y));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 Wo(e,t={}){let r=$.useContext(un);ae(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=wn("useViewTransitionState"),a=Qe(e,{relative:t.relative});if(!r.isTransitioning)return!1;let s=xe(r.currentLocation.pathname,i)||r.currentLocation.pathname,c=xe(r.nextLocation.pathname,i)||r.nextLocation.pathname;return gt(a.pathname,c)!=null||gt(a.pathname,s)!=null}[...ko];const Sn=U.createContext({history:[],addToHistory:()=>{},popFromHistory:()=>"",replaceHistory:()=>{}}),Vo=()=>{const[e,t]=Ao(),r=U.useMemo(()=>Object.fromEntries(e.entries()),[e]),i=U.useCallback(g=>{const y={};return g.forEach(E=>{y[E]=e.get(E)}),y},[e]),a=U.useCallback(g=>{const y=e.get(g);return y==null||y==null,y},[e]),s=U.useCallback(g=>{const y=new URLSearchParams(e);y.delete(g),t(y)},[e,t]),c=U.useCallback(g=>{const y=new URLSearchParams(e);g.forEach(E=>{y.delete(String(E))}),t(y)},[e,t]),u=U.useCallback(()=>{t({})},[e,t]),l=U.useCallback((g,y)=>{t(E=>{const M=new URLSearchParams(E);return y==null?M.delete(g):M.set(g,String(y)),M})},[t]),h=U.useCallback(g=>{t(y=>{const E=new URLSearchParams(y);return Object.entries(g).forEach(([M,k])=>{k==null?E.delete(M):E.set(M,String(k))}),E})},[t]);return{getAll:()=>r,get:a,getMany:i,set:l,setMany:h,remove:s,removeMany:c,removeAll:u}},Uo=()=>{const e=Xt(),t=ke(),r=Vo(),i=U.useContext(Sn),a=l=>{const h=new URL(l.path,"http://dummy-base");return l.params&&Object.entries(l.params).forEach(([g,y])=>{y!=null&&h.searchParams.set(g,String(y))}),h.pathname+h.search},s=U.useCallback(l=>{const h=a(l);l.addToHistory!==!1?(e(h),i.addToHistory(h)):(e(h,{replace:!0}),i.history.length>0&&(i.popFromHistory(1),i.addToHistory(h)))},[e,i.history]),c=U.useCallback(l=>{let h=l||1;i.history.length<h&&(h=i.history.length),e(-h),i.popFromHistory(h)},[e]),u=U.useCallback(()=>{i.replaceHistory([])},[e]);return{currentPath:t.pathname,history:i.history,searchParams:r,goBack:c,goTo:s,clearHistory:u}},Yo=({isReady:e=!0,routes:t,children:r})=>{const i=U.useRef([]),[a,s]=U.useState([]),c=U.useCallback(y=>{i.current=y,s(y)},[]),u=(y,E=!1)=>{let M=[...i.current];E&&(M=M.slice(0,M.length-1)),M=[...M,y],c(M)},l=y=>{let E="",M=[];return i.current.length===0||i.current.length<y?"/":(M=i.current.slice(0,i.current.length-y),E=M[M.length-1],c(M),E)},h=y=>{c(y)},g=t.map(y=>X.jsx(pn,{path:y.path,element:y.render}));return X.jsx(Sn.Provider,{value:{history:a,addToHistory:u,popFromHistory:l,replaceHistory:h},children:X.jsx(Lo,{children:X.jsxs(X.Fragment,{children:[e&&X.jsx(oo,{children:g}),r]})})})},xn=U.createContext({visibleItems:[],isItemVisible:()=>!1,showItem:()=>{},hideItem:()=>{}}),Bo=({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 X.jsx(xn.Provider,{value:{visibleItems:r,isItemVisible:s,showItem:c,hideItem:u},children:e})},et=()=>{const e=U.useContext(xn),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}},qo=({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),y=k=>{s(k)},E=k=>{s(k),g(0)};return en({ref:l,onDrag:k=>{s(k);const p=u.current?.clientHeight||0;k.distanceY&&(g(k.distanceY<0?0:-k.distanceY),k.distanceY>=p-r&&(t?.(),E(k)))},onDragEnd:E,onDragStart:y}),{isVisible:i(e),drawerParentRef:c,drawerRef:u,drawerBottomDistance:h,handleRef:l}},Xo=e=>{const{children:t,backgroundStyles:r,contentStyles:i,handle:a}=e,{isVisible:s,drawerParentRef:c,drawerRef:u,handleRef:l,drawerBottomDistance:h}=qo(e);return X.jsx(X.Fragment,{children:s&&X.jsx("div",{ref:c,style:{width:"100%",height:"100%",minHeight:"100vh",left:0,top:0,background:"#00000068",position:"fixed",zIndex:1e3,display:"flex",flexDirection:"column",touchAction:"none",...r},children:X.jsxs("div",{ref: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:[X.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]})})})},Go=({onPreSubmit:e,onSubmit:t,onChange:r,onMount:i,configurations:a})=>{const s=U.useRef(null),c=U.useRef(!1),u=R=>({name:R.name,value:R.value}),l=()=>{if(!s.current?.elements)return[];const R=Array.from(s.current?.elements).filter(A=>!!A.getAttribute("name")),S=[];for(const A of R)S.push(u(A));return S},h=(R,S,A)=>R==="change"&&S||R==="mount"&&A||R==="submit",g=async(R,S)=>{try{const F=(a||[]).find(v=>v.name===R.name);if(!F)return R;var A=R.value,W=R.value;if(F.emptyValidation&&F.emptyValidation.allow===!1&&!A&&h(S,F.emptyValidation.validateOnChange,F.emptyValidation.validateOnMount))return R.error=F.emptyValidation.errorMessage,R;if(F.minLengthValidation&&A.length<F.minLengthValidation.value&&h(S,F.minLengthValidation.validateOnChange,F.minLengthValidation.validateOnMount))return R.error=F.minLengthValidation.errorMessage,R;if(F.maxLengthValidation&&A.length>F.maxLengthValidation.value&&h(S,F.maxLengthValidation.validateOnChange,F.maxLengthValidation.validateOnMount))return R.error=F.maxLengthValidation.errorMessage,R;if(!isNaN(W)){if(F.minValueValidation&&W<F.minValueValidation.value&&h(S,F.minValueValidation.validateOnChange,F.minValueValidation.validateOnMount))return R.error=F.minValueValidation.errorMessage,R;if(F.maxValueValidation&&W>F.maxValueValidation.value&&h(S,F.maxValueValidation.validateOnChange,F.maxValueValidation.validateOnMount))return R.error=F.maxValueValidation.errorMessage,R}if(F.exactValueValidation&&F.exactValueValidation.value!==R.value&&h(S,F.exactValueValidation.validateOnChange,F.exactValueValidation.validateOnMount))return R.error=F.exactValueValidation.errorMessage,R;for(let v=0;v<(F.validations||[]).length;v++){const w=F.validations?.[v];if(!h(S,w?.validateOnChange,w?.validateOnMount))continue;const x=await F.validations?.[v].validate?.(R.value);if(x)return R.error=x,R}}catch(F){console.error(`Form > Failed To Validate Field ${R.name}: `,F)}return R},y=U.useCallback(async R=>{let S=l();S=await Promise.all(S.map(async W=>await g(W,R)));const A=S.find(W=>W.error!==void 0);return{fields:S,hasErrors:A!==void 0}},[]),E=U.useCallback(async R=>{try{if(c.current)return;c.current=!0,e?.(),R.preventDefault(),R.stopPropagation();const S=await y("submit");c.current=!1,t?.(S.fields,S.hasErrors)}catch(S){c.current=!1,console.error("Form > OnSubmit > Error submitting: ",S)}},[t,e]),M=U.useCallback(async R=>{try{const A=R.target;var S=await y("change");let W=u(A);W=await g(W,"change"),console.log("result",{changedElement:A}),r?.(W,S.hasErrors)}catch(A){console.error("Form > onChange > Error changing: ",A)}},[t,e]),k=U.useCallback(async()=>{try{const R=await y("mount");i?.(R.fields,R.hasErrors)}catch(R){console.error("Form > onChange > Error changing: ",R)}},[t,e]),p=R=>{s.current&&s.current.requestSubmit()};return Zr(()=>{k()}),{ref:s,submitForm:p,handleFormSubmission:E,handleFormChange:M}},Ko=Pe.div`
|
|
127
127
|
display: flex;
|
|
128
128
|
width: 100%;
|
|
129
129
|
align-items: center;
|
|
@@ -156,7 +156,7 @@ Please change the parent <Route path="${S}"> to <Route path="${S==="/"?"*":`${S}
|
|
|
156
156
|
input:-webkit-autofill {
|
|
157
157
|
background-color: #00000000;
|
|
158
158
|
}
|
|
159
|
-
`,On=e=>{const{onValueChanged:t,handleOnBlur:r,handleOnFocus:i}=Qo(e),{name:a,label:s,leftIcon:c,rightIcon:u,bottomMessage:l,placeHolder:h,autoComplete:g="off",value:y,initialValue:
|
|
159
|
+
`,On=e=>{const{onValueChanged:t,handleOnBlur:r,handleOnFocus:i}=Qo(e),{name:a,label:s,leftIcon:c,rightIcon:u,bottomMessage:l,placeHolder:h,autoComplete:g="off",value:y,initialValue:E,type:M="text",maxLength:k,inputStyles:p,containerStyles:R,styles:S,step:A,pattern:W,onInput:F}=e;return X.jsxs(es,{style:{width:"100%",maxWidth:"357px",gap:"8px",...S},children:[s,X.jsxs("div",{style:{display:"flex",flexDirection:"row",width:"100%",height:"47px",margin:"8px auto 0 auto",border:"2px solid #000000",borderRadius:"5px",padding:"5px 15px",color:"#000000",fontFamily:"inherit",fontStyle:"normal",fontWeight:400,fontSize:"16px",lineHeight:"24px",outline:"none",alignItems:"center",gap:"10px",...R},children:[c,X.jsx("input",{name:a,type:M,autoComplete:g,step:A,maxLength:k,placeholder:h,value:y,defaultValue:E,onChange:t,onFocus:i,onBlur:r,onInput:F,pattern:W,style:{flex:1,border:"none",color:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",outline:"inherit",background:"none",...p}}),u]}),l]})},ts=({id:e,styles:t,children:r})=>{const{isItemVisible:i}=et();return X.jsx(X.Fragment,{children:i(e)&&X.jsx("div",{style:{width:"100%",minHeight:"100%",left:0,top:0,position:"fixed",zIndex:1e3,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",...t},children:r})})},rs=({id:e,children:t,backgroundStyles:r,contentStyles:i,onClickOutsideModal:a})=>{const{isItemVisible:s}=et();return X.jsx(X.Fragment,{children:s(e)&&X.jsx("div",{style:{width:"100%",height:"100%",minHeight:"100vh",background:"#00000068",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",zIndex:1e3,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",...r},onClick:()=>{a?.()},children:X.jsx("div",{style:{width:"90%",maxWidth:"375px",height:"fit-content",minHeight:"80px",maxHeight:"50%",background:"#ffffff",borderRadius:"16px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",zIndex:1001,position:"relative",padding:"24px",...i},onClick:c=>{c.stopPropagation()},children:t})})})},ns=e=>{const t=U.useRef(""),r=U.useCallback(u=>(e.allowNegatives?(u=u.replace(/-/g,(l,h)=>h===0?"-":""),u.indexOf("-")>0&&(u=u.replace(/-/g,""),u="-"+u)):u=u.replace(/-/g,""),u),[e]),i=U.useCallback(u=>{if(e.allowDecimals){u.startsWith(".")&&(u="0"+u),u.length===2&&u[0]==="-"&&u[1]==="."&&(u="-");const l=u.indexOf(".");l!==-1&&(u=u.slice(0,l+1)+u.slice(l+1).replace(/\./g,""));const[h,...g]=u.split("."),[y,...E]=t.current.split(".");let M=g.join(""),k=E.join("");e.decimalScale!==void 0&&(M.length>e.decimalScale?M=k:M=M.slice(0,e.decimalScale)),u=M||u.endsWith(".")?`${h}.${M}`:h}else u=u.replace(/\./g,"");return u},[e]),a=U.useCallback(u=>{const l=Number(u);var h=e.max;return h===void 0&&(h=e.maxLength?Number("9".repeat(e.maxLength)):void 0),!isNaN(l)&&(e.min!==void 0&&l<e.min||h!==void 0&&l>h)?t.current??u:u},[e]),s=U.useCallback(u=>{const l=u.target,h=l.selectionStart??0,g=l.selectionEnd??0;let y=l.value;y=y.replace(/[^0-9\.\-]/g,""),y=r(y),y=i(y),y=a(y);const E=y.length-l.value.length;l.value=y,l.setSelectionRange(h+E,g+E),t.current=y},[r,i,a]);return{props:U.useCallback(()=>({...e,type:"text",pattern:"^-?[0-9]*.?[0-9]*$",onInput:s}),[e,s])()}},is=({allowNegatives:e=!0,allowDecimals:t=!0,decimalScale:r=2,...i})=>{const{props:a}=ns({allowNegatives:e,allowDecimals:t,decimalScale:r,...i});return X.jsx(On,{type:"text",...a})},as=e=>{const t=U.useRef(null),r=U.useRef(null),[i,a]=U.useState(24),[s,c]=U.useState(24),u=U.useCallback(()=>{t.current&&a(t.current.clientHeight)},[t,t.current]),l=U.useCallback(()=>{r.current&&c(r.current.clientHeight)},[r,r.current]),h=U.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 U.useEffect(()=>{u()},[u,t,t.current]),U.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()}}},os=Pe.div`
|
|
160
160
|
min-height: 100%;
|
|
161
161
|
max-height: 100%;
|
|
162
162
|
width: 100%;
|
|
@@ -176,7 +176,7 @@ Please change the parent <Route path="${S}"> to <Route path="${S==="/"?"*":`${S}
|
|
|
176
176
|
box-sizing: border-box;
|
|
177
177
|
position: relative;
|
|
178
178
|
}
|
|
179
|
-
`,ss=e=>{const{containerStyles:t,pageStyles:r,children:i,allowScroll:a=!0,floatingContent:s,reserveSpaceForScrollbar:c}=e,{footer:u,header:l}=as(e);return X.jsxs(os,{id:"page-container",styles:{...t},children:[l.visible&&X.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}),X.jsx("div",{id:"page-body",style:{width:"100%",overflow:"hidden",display:"flex",flex:1,marginTop:`-${l.height}px`,marginBottom:`-${u.height}px`},children:X.jsx("div",{id:"page-content",style:{width:"100%",overflowX:"hidden",overflowY:a?"auto":"hidden",display:"flex",flexDirection:"column",flex:1,minHeight:"100%",scrollbarGutter:c?"stable":void 0,paddingLeft:"0px",paddingRight:"0px",paddingTop:`${l.height}px`,paddingBottom:`${u.height}px`,...r},children:i})}),u.visible&&X.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})]})};class Qt{static getField=(t,r)=>{const i=t.find(a=>a.name===r);if(i)return i};static getFieldValue=t=>{if(!(!t||!t.value))return t.value};static getFieldValueOrDefault=(t,r)=>{const i=Qt.getFieldValue(t);return i||r}}class kn{static clamp=(t,r,i)=>t>i?i:t<r?r:t}class ls{static isSameObject=(t,r)=>{if(t==null)return r==null;if(r==null)return t==null;const i=Object.keys(t),a=Object.keys(r);return i.length!==a.length?!1:i.every(s=>Object.prototype.hasOwnProperty.call(r,s)&&t[s]===r[s])}}class us{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 cs{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();static isEmail=t=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t);static isPhoneNumber=t=>/^\+?\d{9,15}$/.test(t);static isValidName=t=>/^[A-Za-zÀ-ÖØ-öø-ÿ]+(?:[ '-][A-Za-zÀ-ÖØ-öø-ÿ]+)*$/.test(t)}var ft={exports:{}},fs=ft.exports,Mr;function ds(){return Mr||(Mr=1,function(e,t){(function(r,i){e.exports=i()})(fs,function(){var r=1e3,i=6e4,a=36e5,s="millisecond",c="second",u="minute",l="hour",h="day",g="week",y="month",R="quarter",M="year",k="date",p="Invalid Date",E=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|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,A={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(j){var P=["th","st","nd","rd"],L=j%100;return"["+j+(P[(L-20)%10]||P[L]||P[0])+"]"}},U=function(j,P,L){var o=String(j);return!o||o.length>=P?j:""+Array(P+1-o.length).join(L)+j},F={s:U,z:function(j){var P=-j.utcOffset(),L=Math.abs(P),o=Math.floor(L/60),z=L%60;return(P<=0?"+":"-")+U(o,2,"0")+":"+U(z,2,"0")},m:function j(P,L){if(P.date()<L.date())return-j(L,P);var o=12*(L.year()-P.year())+(L.month()-P.month()),z=P.clone().add(o,y),m=L-z<0,n=P.clone().add(o+(m?-1:1),y);return+(-(o+(L-z)/(m?z-n:n-z))||0)},a:function(j){return j<0?Math.ceil(j)||0:Math.floor(j)},p:function(j){return{M:y,y:M,w:g,d:h,D:k,h:l,m:u,s:c,ms:s,Q:R}[j]||String(j||"").toLowerCase().replace(/s$/,"")},u:function(j){return j===void 0}},v="en",w={};w[v]=A;var x="$isDayjsObject",T=function(j){return j instanceof H||!(!j||!j[x])},b=function j(P,L,o){var z;if(!P)return v;if(typeof P=="string"){var m=P.toLowerCase();w[m]&&(z=m),L&&(w[m]=L,z=m);var n=P.split("-");if(!z&&n.length>1)return j(n[0])}else{var f=P.name;w[f]=P,z=f}return!o&&z&&(v=z),z||!o&&v},d=function(j,P){if(T(j))return j.clone();var L=typeof P=="object"?P:{};return L.date=j,L.args=arguments,new H(L)},C=F;C.l=b,C.i=T,C.w=function(j,P){return d(j,{locale:P.$L,utc:P.$u,x:P.$x,$offset:P.$offset})};var H=function(){function j(L){this.$L=b(L.locale,null,!0),this.parse(L),this.$x=this.$x||L.x||{},this[x]=!0}var P=j.prototype;return P.parse=function(L){this.$d=function(o){var z=o.date,m=o.utc;if(z===null)return new Date(NaN);if(C.u(z))return new Date;if(z instanceof Date)return new Date(z);if(typeof z=="string"&&!/Z$/i.test(z)){var n=z.match(E);if(n){var f=n[2]-1||0,O=(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,O)):new Date(n[1],f,n[3]||1,n[4]||0,n[5]||0,n[6]||0,O)}}return new Date(z)}(L),this.init()},P.init=function(){var L=this.$d;this.$y=L.getFullYear(),this.$M=L.getMonth(),this.$D=L.getDate(),this.$W=L.getDay(),this.$H=L.getHours(),this.$m=L.getMinutes(),this.$s=L.getSeconds(),this.$ms=L.getMilliseconds()},P.$utils=function(){return C},P.isValid=function(){return this.$d.toString()!==p},P.isSame=function(L,o){var z=d(L);return this.startOf(o)<=z&&z<=this.endOf(o)},P.isAfter=function(L,o){return d(L)<this.startOf(o)},P.isBefore=function(L,o){return this.endOf(o)<d(L)},P.$g=function(L,o,z){return C.u(L)?this[o]:this.set(z,L)},P.unix=function(){return Math.floor(this.valueOf()/1e3)},P.valueOf=function(){return this.$d.getTime()},P.startOf=function(L,o){var z=this,m=!!C.u(o)||o,n=C.p(L),f=function(K,G){var J=C.w(z.$u?Date.UTC(z.$y,G,K):new Date(z.$y,G,K),z);return m?J:J.endOf(h)},O=function(K,G){return C.w(z.toDate()[K].apply(z.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(G)),z)},I=this.$W,D=this.$M,N=this.$D,W="set"+(this.$u?"UTC":"");switch(n){case M:return m?f(1,0):f(31,11);case y:return m?f(1,D):f(0,D+1);case g:var Y=this.$locale().weekStart||0,q=(I<Y?I+7:I)-Y;return f(m?N-q:N+(6-q),D);case h:case k:return O(W+"Hours",0);case l:return O(W+"Minutes",1);case u:return O(W+"Seconds",2);case c:return O(W+"Milliseconds",3);default:return this.clone()}},P.endOf=function(L){return this.startOf(L,!1)},P.$set=function(L,o){var z,m=C.p(L),n="set"+(this.$u?"UTC":""),f=(z={},z[h]=n+"Date",z[k]=n+"Date",z[y]=n+"Month",z[M]=n+"FullYear",z[l]=n+"Hours",z[u]=n+"Minutes",z[c]=n+"Seconds",z[s]=n+"Milliseconds",z)[m],O=m===h?this.$D+(o-this.$W):o;if(m===y||m===M){var I=this.clone().set(k,1);I.$d[f](O),I.init(),this.$d=I.set(k,Math.min(this.$D,I.daysInMonth())).$d}else f&&this.$d[f](O);return this.init(),this},P.set=function(L,o){return this.clone().$set(L,o)},P.get=function(L){return this[C.p(L)]()},P.add=function(L,o){var z,m=this;L=Number(L);var n=C.p(o),f=function(D){var N=d(m);return C.w(N.date(N.date()+Math.round(D*L)),m)};if(n===y)return this.set(y,this.$M+L);if(n===M)return this.set(M,this.$y+L);if(n===h)return f(1);if(n===g)return f(7);var O=(z={},z[u]=i,z[l]=a,z[c]=r,z)[n]||1,I=this.$d.getTime()+L*O;return C.w(I,this)},P.subtract=function(L,o){return this.add(-1*L,o)},P.format=function(L){var o=this,z=this.$locale();if(!this.isValid())return z.invalidDate||p;var m=L||"YYYY-MM-DDTHH:mm:ssZ",n=C.z(this),f=this.$H,O=this.$m,I=this.$M,D=z.weekdays,N=z.months,W=z.meridiem,Y=function(G,J,te,Z){return G&&(G[J]||G(o,m))||te[J].slice(0,Z)},q=function(G){return C.s(f%12||12,G,"0")},K=W||function(G,J,te){var Z=G<12?"AM":"PM";return te?Z.toLowerCase():Z};return m.replace(S,function(G,J){return J||function(te){switch(te){case"YY":return String(o.$y).slice(-2);case"YYYY":return C.s(o.$y,4,"0");case"M":return I+1;case"MM":return C.s(I+1,2,"0");case"MMM":return Y(z.monthsShort,I,N,3);case"MMMM":return Y(N,I);case"D":return o.$D;case"DD":return C.s(o.$D,2,"0");case"d":return String(o.$W);case"dd":return Y(z.weekdaysMin,o.$W,D,2);case"ddd":return Y(z.weekdaysShort,o.$W,D,3);case"dddd":return D[o.$W];case"H":return String(f);case"HH":return C.s(f,2,"0");case"h":return q(1);case"hh":return q(2);case"a":return K(f,O,!0);case"A":return K(f,O,!1);case"m":return String(O);case"mm":return C.s(O,2,"0");case"s":return String(o.$s);case"ss":return C.s(o.$s,2,"0");case"SSS":return C.s(o.$ms,3,"0");case"Z":return n}return null}(G)||n.replace(":","")})},P.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},P.diff=function(L,o,z){var m,n=this,f=C.p(o),O=d(L),I=(O.utcOffset()-this.utcOffset())*i,D=this-O,N=function(){return C.m(n,O)};switch(f){case M:m=N()/12;break;case y:m=N();break;case R:m=N()/3;break;case g:m=(D-I)/6048e5;break;case h:m=(D-I)/864e5;break;case l:m=D/a;break;case u:m=D/i;break;case c:m=D/r;break;default:m=D}return z?m:C.a(m)},P.daysInMonth=function(){return this.endOf(y).$D},P.$locale=function(){return w[this.$L]},P.locale=function(L,o){if(!L)return this.$L;var z=this.clone(),m=b(L,o,!0);return m&&(z.$L=m),z},P.clone=function(){return C.w(this.$d,this)},P.toDate=function(){return new Date(this.valueOf())},P.toJSON=function(){return this.isValid()?this.toISOString():null},P.toISOString=function(){return this.$d.toISOString()},P.toString=function(){return this.$d.toUTCString()},j}(),_=H.prototype;return d.prototype=_,[["$ms",s],["$s",c],["$m",u],["$H",l],["$W",h],["$M",y],["$y",M],["$D",k]].forEach(function(j){_[j[1]]=function(P){return this.$g(P,j[0],j[1])}}),d.extend=function(j,P){return j.$i||(j(P,H,d),j.$i=!0),d},d.locale=b,d.isDayjs=T,d.unix=function(j){return d(1e3*j)},d.en=w[v],d.Ls=w,d.p={},d})}(ft)),ft.exports}var hs=ds();const dt=Vt(hs);var ht={exports:{}},ps=ht.exports,Dr;function ms(){return Dr||(Dr=1,function(e,t){(function(r,i){e.exports=i()})(ps,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 E={date:p,utc:!0,args:arguments};return new c(E)},l.utc=function(p){var E=u(this.toDate(),{locale:this.$L,utc:!0});return p?E.add(this.utcOffset(),r):E},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 y=l.utcOffset;l.utcOffset=function(p,E){var S=this.$utils().u;if(S(p))return this.$u?0:S(this.$offset)?y.call(this):this.$offset;if(typeof p=="string"&&(p=function(v){v===void 0&&(v="");var w=v.match(i);if(!w)return null;var x=(""+w[0]).match(a)||["-",0,0],T=x[0],b=60*+x[1]+ +x[2];return b===0?0:T==="+"?b:-b}(p),p===null))return this;var A=Math.abs(p)<=16?60*p:p;if(A===0)return this.utc(E);var U=this.clone();if(E)return U.$offset=A,U.$u=!1,U;var F=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(U=this.local().add(A+F,r)).$offset=A,U.$x.$localOffset=F,U};var R=l.format;l.format=function(p){var E=p||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return R.call(this,E)},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 k=l.diff;l.diff=function(p,E,S){if(p&&this.$u===p.$u)return k.call(this,p,E,S);var A=this.local(),U=u(p).local();return k.call(A,U,E,S)}}})}(ht)),ht.exports}var vs=ms();const gs=Vt(vs);dt.extend(gs);class ys{static waitForMilliseconds=t=>new Promise(r=>setTimeout(r,t));static waitForCondition=t=>new Promise(r=>{const i=()=>{t()?r():setTimeout(i,100)};i()});static waitForAsyncCondition=t=>new Promise(r=>{const i=async()=>{await t()?r():setTimeout(i,100)};i()});static differenceInMonths=(t,r)=>{let i=0;return i=(r.getFullYear()-t.getFullYear())*12,i-=t.getMonth(),i+=r.getMonth(),i};static isDateOneAfterDateTwo=(t,r)=>t.getFullYear()>=r.getFullYear()&&t.getMonth()>=r.getMonth()?t.getDay()>r.getDay():!1;static isSameDate=(t,r)=>t?.getFullYear()===r?.getFullYear()&&t?.getMonth()===r?.getMonth()&&t?.getDate()===r?.getDate();static getDateInUTC=t=>{try{const r=dt.utc(t),i=r.date(),a=r.month(),s=r.year(),c=r.hour(),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?dt.utc(t).local().format(r||"DD/MM/YYYYㆍHH:mm"):"";static formatDateUTC=(t,r)=>t?dt.utc(t).format(r||"DD/MM/YYYYㆍHH:mm"):""}const bs=({percentage:e,min:t=0,max:r=100,styles:i,barStyles:a})=>{const s=kn.clamp(e,t,r);return X.jsx("div",{style:{width:"90%",height:"30px",border:"1px solid #000000",borderRadius:"3px",background:"#ffffff",...i},children:X.jsx("div",{style:{width:`${s}%`,height:"100%",background:"#f58b00ff",...a}})})},ws=({checked:e,onClick:t,styles:r,checkedStyles:i,customCheckedRender:a,customUncheckedRender:s})=>{const c=e?{...r,...i}:{...r};return X.jsxs("div",{onClick:u=>{t?.(u)},style:{width:"25px",height:"25px",borderRadius:"50%",border:e?"2px solid #000000":"2px solid #969696ff",background:e?"#000000":"#ffffff",overflow:"hidden",objectFit:"contain",alignItems:"center",justifyContent:"center",display:"flex",...c},children:[e&&X.jsxs(X.Fragment,{children:[!a&&X.jsx("div",{style:{borderRadius:"50%",aspectRatio:"1/1",width:"40%",background:"#ffffff"}}),a]}),!e&&s]})},Ss=({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})=>X.jsx("div",{style:{width:"fit-content",height:"fit-content",display:"flex",alignItems:"center",justifyContent:"center",...l},onClick:()=>u?.(),children:X.jsx("svg",{width:t,height:r,viewBox:a,fill:s,stroke:i,xmlns:"http://www.w3.org/2000/svg",style:{display:"flex"},children:e})}),xs=Pe.div`
|
|
179
|
+
`,ss=e=>{const{containerStyles:t,pageStyles:r,children:i,allowScroll:a=!0,floatingContent:s,reserveSpaceForScrollbar:c}=e,{footer:u,header:l}=as(e);return X.jsxs(os,{id:"page-container",styles:{...t},children:[l.visible&&X.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}),X.jsx("div",{id:"page-body",style:{width:"100%",overflow:"hidden",display:"flex",flex:1,marginTop:`-${l.height}px`,marginBottom:`-${u.height}px`},children:X.jsx("div",{id:"page-content",style:{width:"100%",overflowX:"hidden",overflowY:a?"auto":"hidden",display:"flex",flexDirection:"column",flex:1,minHeight:"100%",scrollbarGutter:c?"stable":void 0,paddingLeft:"0px",paddingRight:"0px",paddingTop:`${l.height}px`,paddingBottom:`${u.height}px`,...r},children:i})}),u.visible&&X.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})]})};class Qt{static getField=(t,r)=>{const i=t.find(a=>a.name===r);if(i)return i};static getFieldValue=t=>{if(!(!t||!t.value))return t.value};static getFieldValueOrDefault=(t,r)=>{const i=Qt.getFieldValue(t);return i||r}}class kn{static clamp=(t,r,i)=>t>i?i:t<r?r:t}class ls{static isSameObject=(t,r)=>{if(t==null)return r==null;if(r==null)return t==null;const i=Object.keys(t),a=Object.keys(r);return i.length!==a.length?!1:i.every(s=>Object.prototype.hasOwnProperty.call(r,s)&&t[s]===r[s])}}class us{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 cs{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();static isEmail=t=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t);static isPhoneNumber=t=>/^\+?\d{9,15}$/.test(t);static isValidName=t=>/^[A-Za-zÀ-ÖØ-öø-ÿ]+(?:[ '-][A-Za-zÀ-ÖØ-öø-ÿ]+)*$/.test(t)}var ft={exports:{}},fs=ft.exports,Mr;function ds(){return Mr||(Mr=1,function(e,t){(function(r,i){e.exports=i()})(fs,function(){var r=1e3,i=6e4,a=36e5,s="millisecond",c="second",u="minute",l="hour",h="day",g="week",y="month",E="quarter",M="year",k="date",p="Invalid Date",R=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|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,A={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(j){var P=["th","st","nd","rd"],L=j%100;return"["+j+(P[(L-20)%10]||P[L]||P[0])+"]"}},W=function(j,P,L){var o=String(j);return!o||o.length>=P?j:""+Array(P+1-o.length).join(L)+j},F={s:W,z:function(j){var P=-j.utcOffset(),L=Math.abs(P),o=Math.floor(L/60),z=L%60;return(P<=0?"+":"-")+W(o,2,"0")+":"+W(z,2,"0")},m:function j(P,L){if(P.date()<L.date())return-j(L,P);var o=12*(L.year()-P.year())+(L.month()-P.month()),z=P.clone().add(o,y),m=L-z<0,n=P.clone().add(o+(m?-1:1),y);return+(-(o+(L-z)/(m?z-n:n-z))||0)},a:function(j){return j<0?Math.ceil(j)||0:Math.floor(j)},p:function(j){return{M:y,y:M,w:g,d:h,D:k,h:l,m:u,s:c,ms:s,Q:E}[j]||String(j||"").toLowerCase().replace(/s$/,"")},u:function(j){return j===void 0}},v="en",w={};w[v]=A;var x="$isDayjsObject",T=function(j){return j instanceof H||!(!j||!j[x])},b=function j(P,L,o){var z;if(!P)return v;if(typeof P=="string"){var m=P.toLowerCase();w[m]&&(z=m),L&&(w[m]=L,z=m);var n=P.split("-");if(!z&&n.length>1)return j(n[0])}else{var f=P.name;w[f]=P,z=f}return!o&&z&&(v=z),z||!o&&v},d=function(j,P){if(T(j))return j.clone();var L=typeof P=="object"?P:{};return L.date=j,L.args=arguments,new H(L)},C=F;C.l=b,C.i=T,C.w=function(j,P){return d(j,{locale:P.$L,utc:P.$u,x:P.$x,$offset:P.$offset})};var H=function(){function j(L){this.$L=b(L.locale,null,!0),this.parse(L),this.$x=this.$x||L.x||{},this[x]=!0}var P=j.prototype;return P.parse=function(L){this.$d=function(o){var z=o.date,m=o.utc;if(z===null)return new Date(NaN);if(C.u(z))return new Date;if(z instanceof Date)return new Date(z);if(typeof z=="string"&&!/Z$/i.test(z)){var n=z.match(R);if(n){var f=n[2]-1||0,O=(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,O)):new Date(n[1],f,n[3]||1,n[4]||0,n[5]||0,n[6]||0,O)}}return new Date(z)}(L),this.init()},P.init=function(){var L=this.$d;this.$y=L.getFullYear(),this.$M=L.getMonth(),this.$D=L.getDate(),this.$W=L.getDay(),this.$H=L.getHours(),this.$m=L.getMinutes(),this.$s=L.getSeconds(),this.$ms=L.getMilliseconds()},P.$utils=function(){return C},P.isValid=function(){return this.$d.toString()!==p},P.isSame=function(L,o){var z=d(L);return this.startOf(o)<=z&&z<=this.endOf(o)},P.isAfter=function(L,o){return d(L)<this.startOf(o)},P.isBefore=function(L,o){return this.endOf(o)<d(L)},P.$g=function(L,o,z){return C.u(L)?this[o]:this.set(z,L)},P.unix=function(){return Math.floor(this.valueOf()/1e3)},P.valueOf=function(){return this.$d.getTime()},P.startOf=function(L,o){var z=this,m=!!C.u(o)||o,n=C.p(L),f=function(K,G){var J=C.w(z.$u?Date.UTC(z.$y,G,K):new Date(z.$y,G,K),z);return m?J:J.endOf(h)},O=function(K,G){return C.w(z.toDate()[K].apply(z.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(G)),z)},I=this.$W,D=this.$M,N=this.$D,V="set"+(this.$u?"UTC":"");switch(n){case M:return m?f(1,0):f(31,11);case y:return m?f(1,D):f(0,D+1);case g:var Y=this.$locale().weekStart||0,q=(I<Y?I+7:I)-Y;return f(m?N-q:N+(6-q),D);case h:case k:return O(V+"Hours",0);case l:return O(V+"Minutes",1);case u:return O(V+"Seconds",2);case c:return O(V+"Milliseconds",3);default:return this.clone()}},P.endOf=function(L){return this.startOf(L,!1)},P.$set=function(L,o){var z,m=C.p(L),n="set"+(this.$u?"UTC":""),f=(z={},z[h]=n+"Date",z[k]=n+"Date",z[y]=n+"Month",z[M]=n+"FullYear",z[l]=n+"Hours",z[u]=n+"Minutes",z[c]=n+"Seconds",z[s]=n+"Milliseconds",z)[m],O=m===h?this.$D+(o-this.$W):o;if(m===y||m===M){var I=this.clone().set(k,1);I.$d[f](O),I.init(),this.$d=I.set(k,Math.min(this.$D,I.daysInMonth())).$d}else f&&this.$d[f](O);return this.init(),this},P.set=function(L,o){return this.clone().$set(L,o)},P.get=function(L){return this[C.p(L)]()},P.add=function(L,o){var z,m=this;L=Number(L);var n=C.p(o),f=function(D){var N=d(m);return C.w(N.date(N.date()+Math.round(D*L)),m)};if(n===y)return this.set(y,this.$M+L);if(n===M)return this.set(M,this.$y+L);if(n===h)return f(1);if(n===g)return f(7);var O=(z={},z[u]=i,z[l]=a,z[c]=r,z)[n]||1,I=this.$d.getTime()+L*O;return C.w(I,this)},P.subtract=function(L,o){return this.add(-1*L,o)},P.format=function(L){var o=this,z=this.$locale();if(!this.isValid())return z.invalidDate||p;var m=L||"YYYY-MM-DDTHH:mm:ssZ",n=C.z(this),f=this.$H,O=this.$m,I=this.$M,D=z.weekdays,N=z.months,V=z.meridiem,Y=function(G,J,te,Z){return G&&(G[J]||G(o,m))||te[J].slice(0,Z)},q=function(G){return C.s(f%12||12,G,"0")},K=V||function(G,J,te){var Z=G<12?"AM":"PM";return te?Z.toLowerCase():Z};return m.replace(S,function(G,J){return J||function(te){switch(te){case"YY":return String(o.$y).slice(-2);case"YYYY":return C.s(o.$y,4,"0");case"M":return I+1;case"MM":return C.s(I+1,2,"0");case"MMM":return Y(z.monthsShort,I,N,3);case"MMMM":return Y(N,I);case"D":return o.$D;case"DD":return C.s(o.$D,2,"0");case"d":return String(o.$W);case"dd":return Y(z.weekdaysMin,o.$W,D,2);case"ddd":return Y(z.weekdaysShort,o.$W,D,3);case"dddd":return D[o.$W];case"H":return String(f);case"HH":return C.s(f,2,"0");case"h":return q(1);case"hh":return q(2);case"a":return K(f,O,!0);case"A":return K(f,O,!1);case"m":return String(O);case"mm":return C.s(O,2,"0");case"s":return String(o.$s);case"ss":return C.s(o.$s,2,"0");case"SSS":return C.s(o.$ms,3,"0");case"Z":return n}return null}(G)||n.replace(":","")})},P.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},P.diff=function(L,o,z){var m,n=this,f=C.p(o),O=d(L),I=(O.utcOffset()-this.utcOffset())*i,D=this-O,N=function(){return C.m(n,O)};switch(f){case M:m=N()/12;break;case y:m=N();break;case E:m=N()/3;break;case g:m=(D-I)/6048e5;break;case h:m=(D-I)/864e5;break;case l:m=D/a;break;case u:m=D/i;break;case c:m=D/r;break;default:m=D}return z?m:C.a(m)},P.daysInMonth=function(){return this.endOf(y).$D},P.$locale=function(){return w[this.$L]},P.locale=function(L,o){if(!L)return this.$L;var z=this.clone(),m=b(L,o,!0);return m&&(z.$L=m),z},P.clone=function(){return C.w(this.$d,this)},P.toDate=function(){return new Date(this.valueOf())},P.toJSON=function(){return this.isValid()?this.toISOString():null},P.toISOString=function(){return this.$d.toISOString()},P.toString=function(){return this.$d.toUTCString()},j}(),_=H.prototype;return d.prototype=_,[["$ms",s],["$s",c],["$m",u],["$H",l],["$W",h],["$M",y],["$y",M],["$D",k]].forEach(function(j){_[j[1]]=function(P){return this.$g(P,j[0],j[1])}}),d.extend=function(j,P){return j.$i||(j(P,H,d),j.$i=!0),d},d.locale=b,d.isDayjs=T,d.unix=function(j){return d(1e3*j)},d.en=w[v],d.Ls=w,d.p={},d})}(ft)),ft.exports}var hs=ds();const dt=Vt(hs);var ht={exports:{}},ps=ht.exports,Dr;function ms(){return Dr||(Dr=1,function(e,t){(function(r,i){e.exports=i()})(ps,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 R={date:p,utc:!0,args:arguments};return new c(R)},l.utc=function(p){var R=u(this.toDate(),{locale:this.$L,utc:!0});return p?R.add(this.utcOffset(),r):R},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 y=l.utcOffset;l.utcOffset=function(p,R){var S=this.$utils().u;if(S(p))return this.$u?0:S(this.$offset)?y.call(this):this.$offset;if(typeof p=="string"&&(p=function(v){v===void 0&&(v="");var w=v.match(i);if(!w)return null;var x=(""+w[0]).match(a)||["-",0,0],T=x[0],b=60*+x[1]+ +x[2];return b===0?0:T==="+"?b:-b}(p),p===null))return this;var A=Math.abs(p)<=16?60*p:p;if(A===0)return this.utc(R);var W=this.clone();if(R)return W.$offset=A,W.$u=!1,W;var F=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(W=this.local().add(A+F,r)).$offset=A,W.$x.$localOffset=F,W};var E=l.format;l.format=function(p){var R=p||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return E.call(this,R)},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 k=l.diff;l.diff=function(p,R,S){if(p&&this.$u===p.$u)return k.call(this,p,R,S);var A=this.local(),W=u(p).local();return k.call(A,W,R,S)}}})}(ht)),ht.exports}var vs=ms();const gs=Vt(vs);dt.extend(gs);class ys{static waitForMilliseconds=t=>new Promise(r=>setTimeout(r,t));static waitForCondition=t=>new Promise(r=>{const i=()=>{t()?r():setTimeout(i,100)};i()});static waitForAsyncCondition=t=>new Promise(r=>{const i=async()=>{await t()?r():setTimeout(i,100)};i()});static differenceInMonths=(t,r)=>{let i=0;return i=(r.getFullYear()-t.getFullYear())*12,i-=t.getMonth(),i+=r.getMonth(),i};static isDateOneAfterDateTwo=(t,r)=>t.getFullYear()>=r.getFullYear()&&t.getMonth()>=r.getMonth()?t.getDay()>r.getDay():!1;static isSameDate=(t,r)=>t?.getFullYear()===r?.getFullYear()&&t?.getMonth()===r?.getMonth()&&t?.getDate()===r?.getDate();static getDateInUTC=t=>{try{const r=dt.utc(t),i=r.date(),a=r.month(),s=r.year(),c=r.hour(),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?dt.utc(t).local().format(r||"DD/MM/YYYYㆍHH:mm"):"";static formatDateUTC=(t,r)=>t?dt.utc(t).format(r||"DD/MM/YYYYㆍHH:mm"):""}const bs=({percentage:e,min:t=0,max:r=100,styles:i,barStyles:a})=>{const s=kn.clamp(e,t,r);return X.jsx("div",{style:{width:"90%",height:"30px",border:"1px solid #000000",borderRadius:"3px",background:"#ffffff",...i},children:X.jsx("div",{style:{width:`${s}%`,height:"100%",background:"#f58b00ff",...a}})})},ws=({checked:e,onClick:t,styles:r,checkedStyles:i,customCheckedRender:a,customUncheckedRender:s})=>{const c=e?{...r,...i}:{...r};return X.jsxs("div",{onClick:u=>{t?.(u)},style:{width:"25px",height:"25px",borderRadius:"50%",border:e?"2px solid #000000":"2px solid #969696ff",background:e?"#000000":"#ffffff",overflow:"hidden",objectFit:"contain",alignItems:"center",justifyContent:"center",display:"flex",...c},children:[e&&X.jsxs(X.Fragment,{children:[!a&&X.jsx("div",{style:{borderRadius:"50%",aspectRatio:"1/1",width:"40%",background:"#ffffff"}}),a]}),!e&&s]})},Ss=({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})=>X.jsx("div",{style:{width:"fit-content",height:"fit-content",display:"flex",alignItems:"center",justifyContent:"center",...l},onClick:()=>u?.(),children:X.jsx("svg",{width:t,height:r,viewBox:a,fill:s,stroke:i,xmlns:"http://www.w3.org/2000/svg",style:{display:"flex"},children:e})}),xs=Pe.div`
|
|
180
180
|
display: flex;
|
|
181
181
|
flex-direction: column;
|
|
182
182
|
font-family: inherit;
|
|
@@ -198,4 +198,4 @@ Please change the parent <Route path="${S}"> to <Route path="${S==="/"?"*":`${S}
|
|
|
198
198
|
textarea::-webkit-scrollbar-thumb:hover {
|
|
199
199
|
background: #555; /* hover */
|
|
200
200
|
}
|
|
201
|
-
`,Os=({name:e,label:t,leftIcon:r,rightIcon:i,bottomMessage:a,placeHolder:s,value:c,initialValue:u,onChange:l,onFocus:h,onBlur:g,inputStyles:y,containerStyles:
|
|
201
|
+
`,Os=({name:e,label:t,leftIcon:r,rightIcon:i,bottomMessage:a,placeHolder:s,value:c,initialValue:u,onChange:l,onFocus:h,onBlur:g,inputStyles:y,containerStyles:E,styles:M})=>{const k=S=>{l?.(S.currentTarget.value)},p=S=>{h?.()},R=S=>{g?.()};return X.jsxs(xs,{style:{width:"100%",maxWidth:"357px",gap:"8px",...M},children:[t,X.jsxs("div",{style:{display:"flex",flexDirection:"row",width:"100%",margin:"8px auto 0 auto",border:"2px solid #000000",borderRadius:"5px",color:"#000000",fontFamily:"inherit",fontStyle:"normal",fontWeight:400,outline:"none",alignItems:"flex-start",gap:"10px",...E},children:[r,X.jsx("textarea",{name:e,style:{resize:"none",flex:1,border:"none",color:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",outline:"inherit",background:"none",minHeight:"47px",...y},placeholder:s,value:c,defaultValue:u,onChange:k,onFocus:p,onBlur:R}),i]}),a]})},ks=({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]),X.jsx(X.Fragment,{children:s(e)&&X.jsx("div",{style:{width:"100px",height:"40px",background:"#534a4aff",color:"#ffffff",position:"fixed",top:"10px",left:"50%",transform:"translateX(-50%)",zIndex:1e3,borderRadius:"20px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",border:"solid 3px #000000ff",...r},children:t})})},Cs=({overflowEllipsis:e,maxNumberOfLines:t,children:r,styles:i})=>X.jsx("p",{style:{fontFamily:"inherit",maxWidth:"100%",overflow:"hidden",display:"-webkit-box",WebkitLineClamp:t||void 0,WebkitBoxOrient:"vertical",whiteSpace:"unset",textOverflow:e?"ellipsis":void 0,fontSize:"16px",fontStyle:"normal",lineHeight:"normal",color:"inherit",pointerEvents:"none",...i},children:r});exports.Button=jn;exports.Carousel=la;exports.Checkbox=ua;exports.Drawer=Xo;exports.FeedbackProvider=Bo;exports.Form=Jo;exports.FormsHelper=Qt;exports.Image=Zo;exports.InputField=On;exports.Loader=ts;exports.Modal=rs;exports.NavigationProvider=Yo;exports.NumberHelper=kn;exports.NumericInputField=is;exports.ObjectsHelper=ls;exports.PageLayout=ss;exports.ProgressBar=bs;exports.RadioButton=ws;exports.ScrollHelper=us;exports.SvgImage=Ss;exports.TextAreaField=Os;exports.TextHelper=cs;exports.TimeHelper=ys;exports.Toast=ks;exports.Typography=Cs;exports.defaultBreakpoints=tn;exports.useDidMount=Zr;exports.useDrag=en;exports.useFeedback=et;exports.useFetch=ca;exports.useNavigation=Uo;exports.useOnScreen=fa;exports.usePointer=Qr;exports.useResponsive=da;exports.useTranslations=ma;
|