t[n]=e.get()),t}(e),function(e){let t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}var u=n(41867),c=n(60618),d=n(69043),p=n(22309),f=n(62212),m=n(30698),h=n(83299),g=n(95566),v=n(14205);function b(e,t){var n;let{delay:r=0,transitionOverride:a,type:o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{transition:i=e.getDefaultTransition(),transitionEnd:l,...u}=t,b=e.getValue("willChange");a&&(i=a);let y=[],x=o&&e.animationState&&e.animationState.getState()[o];for(let t in u){let a=e.getValue(t,null!==(n=e.latestValues[t])&&void 0!==n?n:null),o=u[t];if(void 0===o||x&&function(e,t){let{protectedKeys:n,needsAnimating:r}=e,a=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,a}(x,t))continue;let l={delay:r,elapsed:0,...(0,g.e)(i||{},t)},s=!1;if(window.HandoffAppearAnimations){let n=e.getProps()[d.M];if(n){let e=window.HandoffAppearAnimations(n,t);null!==e&&(l.elapsed=e,s=!0)}}a.start((0,p.v)(t,a,o,e.shouldReduceMotion&&c.G.has(t)?{type:!1}:l,e,s));let m=a.animation;m&&((0,f.L)(b)&&(b.add(t),m.then(()=>b.remove(t))),y.push(m))}return l&&Promise.all(y).then(()=>{v.Wi.update(()=>{l&&function(e,t){let{transitionEnd:n={},transition:r={},...a}=s(e,t)||{};for(let t in a={...a,...n}){let n=(0,m.Y)(a[t]);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,(0,h.BX)(n))}}(e,l)})}),y}function y(e,t){var n;let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=s(e,t,"exit"===r.type?null===(n=e.presenceContext)||void 0===n?void 0:n.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=a||{};r.transitionOverride&&(o=r.transitionOverride);let i=a?()=>Promise.all(b(e,a,r)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,{delayChildren:a=0,staggerChildren:i,staggerDirection:l}=o;return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=arguments.length>5?arguments[5]:void 0,i=[],l=(e.variantChildren.size-1)*r,s=1===a?function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e*r}:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return l-e*r};return Array.from(e.variantChildren).sort(x).forEach((e,r)=>{e.notify("AnimationStart",t),i.push(y(e,t,{...o,delay:n+s(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(i)}(e,t,a+n,i,l,r)}:()=>Promise.resolve(),{when:u}=o;if(!u)return Promise.all([i(),l(r.delay)]);{let[e,t]="beforeChildren"===u?[i,l]:[l,i];return e().then(()=>t())}}function x(e,t){return e.sortNodePosition(t)}let w=[...u.e].reverse(),P=u.e.length;function k(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var C=n(24034);class S extends C.L{updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),(0,r.H)(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(t=>{let{animation:n,options:r}=t;return function(e,t){let n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>y(e,t,r)));else if("string"==typeof t)n=y(e,t,r);else{let a="function"==typeof t?s(e,t,r.custom):t;n=Promise.all(b(e,a,r))}return n.then(()=>{v.Wi.postRender(()=>{e.notify("AnimationComplete",t)})})}(e,n,r)})),n={animate:k(!0),whileInView:k(),whileHover:k(),whileTap:k(),whileDrag:k(),whileFocus:k(),exit:k()},l=!0,u=t=>(n,r)=>{var a;let o=s(e,r,"exit"===t?null===(a=e.presenceContext)||void 0===a?void 0:a.custom:void 0);if(o){let{transition:e,transitionEnd:t,...r}=o;n={...n,...r,...t}}return n};function c(s){let c=e.getProps(),d=e.getVariantContext(!0)||{},p=[],f=new Set,m={},h=1/0;for(let t=0;th&&x),S=!1,D=Array.isArray(y)?y:[y],E=D.reduce(u(v),{});!1===P&&(E={});let{prevResolvedValues:T={}}=b,M={...T,...E},R=e=>{C=!0,f.has(e)&&(S=!0,f.delete(e)),b.needsAnimating[e]=!0};for(let e in M){let t=E[e],n=T[e];if(!m.hasOwnProperty(e))((0,a.C)(t)&&(0,a.C)(n)?o(t,n):t===n)?void 0!==t&&f.has(e)?R(e):b.protectedKeys[e]=!0:null!=t?R(e):f.add(e)}b.prevProp=y,b.prevResolvedValues=E,b.isActive&&(m={...m,...E}),l&&e.blockInitialAnimation&&(C=!1),C&&(!k||S)&&p.push(...D.map(e=>({animation:e,options:{type:v}})))}if(f.size){let t={};f.forEach(n=>{let r=e.getBaseTarget(n);t[n]=void 0===r?null:r}),p.push({animation:t})}let v=!!p.length;return l&&(!1===c.initial||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(v=!1),l=!1,v?t(p):Promise.resolve()}return{animateChanges:c,setActive:function(t,r){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;let o=c(t);for(let e in n)n[e].protectedKeys={};return o},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}(e))}}let D=0;class E extends C.L{update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}constructor(){super(...arguments),this.id=D++}}let T={animation:{Feature:S},exit:{Feature:E}}},25223:function(e,t,n){n.d(t,{A:function(){return a}});let r={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},a={};for(let e in r)a[e]={isEnabled:t=>r[e].some(e=>!!t[e])}},69671:function(e,t,n){n.d(t,{o:function(){return _}});var r=n(24034),a=n(3393),o=n(29908),i=n(17450),l=n(33303),s=n(43497),u=n(19280);let c=(e,t)=>Math.abs(e-t);var d=n(5334),p=n(14205);class f{updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,p.Pn)(this.updatePoint)}constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:a=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=g(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,a=(e=n.offset,t={x:0,y:0},Math.sqrt(c(e.x,t.x)**2+c(e.y,t.y)**2)>=3);if(!r&&!a)return;let{point:o}=n,{timestamp:i}=p.frameData;this.history.push({...o,timestamp:i});let{onStart:l,onMove:s}=this.handlers;r||(l&&l(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,n)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=m(t,this.transformPagePoint),p.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:a}=this.handlers;if(this.dragSnapToOrigin&&a&&a(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=g("pointercancel"===e.type?this.lastMoveEventInfo:m(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!(0,d.D)(e))return;this.dragSnapToOrigin=a,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;let o=m((0,i.Q)(e),this.transformPagePoint),{point:l}=o,{timestamp:f}=p.frameData;this.history=[{...l,timestamp:f}];let{onSessionStart:h}=t;h&&h(e,g(o,this.history)),this.removeListeners=(0,u.z)((0,s.a)(this.contextWindow,"pointermove",this.handlePointerMove),(0,s.a)(this.contextWindow,"pointerup",this.handlePointerUp),(0,s.a)(this.contextWindow,"pointercancel",this.handlePointerUp))}}function m(e,t){return t?{point:t(e.point)}:e}function h(e,t){return{x:e.x-t.x,y:e.y-t.y}}function g(e,t){let{point:n}=e;return{point:n,delta:h(n,v(t)),offset:h(n,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,a=v(e);for(;n>=0&&(r=e[n],!(a.timestamp-r.timestamp>(0,l.w)(.1)));)n--;if(!r)return{x:0,y:0};let o=(0,l.X)(a.timestamp-r.timestamp);if(0===o)return{x:0,y:0};let i={x:(a.x-r.x)/o,y:(a.y-r.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}(t,0)}}function v(e){return e[e.length-1]}var b=n(83265),y=n(98285),x=n(16384),w=n(82317),P=n(22476),k=n(5312);function C(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function S(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min{let{current:t}=e;return t?t.ownerDocument.defaultView:null},L=new WeakMap;class O{start(e){let{snapToCursor:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let{dragSnapToOrigin:r}=this.getProps();this.panSession=new f(e,{onSessionStart:e=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor((0,i.Q)(e,"page").point)},onStart:(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:a}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=(0,b.fJ)(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,M.U)(e=>{let t=this.getAxisMotionValue(e).get()||0;if(A.aQ.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];if(r){let e=(0,w.JO)(r);t=parseFloat(t)/100*e}}}this.originPoint[e]=t}),a&&a(e,t);let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:a,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:i}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(i),null!==this.currentDirection&&a&&a(this.currentDirection);return}this.updateAxis("x",t.point,i),this.updateAxis("y",t.point,i),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>(0,M.U)(e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:z(this.visualElement)})}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:a}=this.getProps();a&&a(e,t)}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!K(e,r,this.currentDirection))return;let a=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,t,n){let{min:r,max:a}=t;return void 0!==r&&ea&&(e=n?(0,k.t)(a,e,n.max):Math.min(e,a)),e}(o,this.constraints[e],this.elastic[e])),a.set(o)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,a=this.constraints;t&&(0,y.I)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=function(e,t){let{top:n,left:r,bottom:a,right:o}=t;return{x:C(e.x,r,o),y:C(e.y,n,a)}}(r.layoutBox,t):this.constraints=!1,this.elastic=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.35;return!1===e?e=0:!0===e&&(e=.35),{x:D(e,"left","right"),y:D(e,"top","bottom")}}(n),a!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&(0,M.U)(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(r.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!(0,y.I)(t))return!1;let r=t.current;(0,o.k)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:a}=this.visualElement;if(!a||!a.layout)return!1;let i=(0,R.z)(r,a.root,this.visualElement.getTransformPagePoint()),l={x:S((e=a.layout.layoutBox).x,i.x),y:S(e.y,i.y)};if(n){let e=n((0,N.z2)(l));this.hasMutatedConstraints=!!e,e&&(l=(0,N.i8)(e))}return l}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:a,dragSnapToOrigin:o,onDragTransitionEnd:i}=this.getProps(),l=this.constraints||{};return Promise.all((0,M.U)(i=>{if(!K(i,t,this.currentDirection))return;let s=l&&l[i]||{};o&&(s={min:0,max:0});let u={type:"inertia",velocity:n?e[i]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...a,...s};return this.startAxisValueAnimation(i,u)})).then(i)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return n.start((0,I.v)(e,n,0,t,this.visualElement))}stopAnimation(){(0,M.U)(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){(0,M.U)(e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()})}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){let t="_drag"+e.toUpperCase(),n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){(0,M.U)(t=>{let{drag:n}=this.getProps();if(!K(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,a=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:o}=r.layout.layoutBox[t];a.set(e[t]-(0,k.t)(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!(0,y.I)(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};(0,M.U)(e=>{let t=this.getAxisMotionValue(e);if(t){let n=t.get();r[e]=function(e,t){let n=.5,r=(0,w.JO)(e),a=(0,w.JO)(t);return a>r?n=(0,x.Y)(t.min,t.max-r,e.min):r>a&&(n=(0,x.Y)(e.min,e.max-a,t.min)),(0,P.u)(0,1,n)}({min:n,max:n},this.constraints[e])}});let{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),(0,M.U)(t=>{if(!K(t,e,null))return;let n=this.getAxisMotionValue(t),{min:a,max:o}=this.constraints[t];n.set((0,k.t)(a,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;L.set(this.visualElement,this);let e=this.visualElement.current,t=(0,s.a)(e,"pointerdown",e=>{let{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),n=()=>{let{dragConstraints:e}=this.getProps();(0,y.I)(e)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,a=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),n();let o=(0,j.E)(window,"resize",()=>this.scalePositionWithinConstraints()),i=r.addEventListener("didUpdate",e=>{let{delta:t,hasLayoutChanged:n}=e;this.isDragging&&n&&((0,M.U)(e=>{let n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),t(),a(),i&&i()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:a=!1,dragElastic:o=.35,dragMomentum:i=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:a,dragElastic:o,dragMomentum:i}}constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,T.dO)(),this.visualElement=e}}function K(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}class V extends r.L{mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||a.Z}unmount(){this.removeGroupControls(),this.removeListeners()}constructor(e){super(e),this.removeGroupControls=a.Z,this.removeListeners=a.Z,this.controls=new O(e)}}let B=e=>(t,n)=>{e&&e(t,n)};class F extends r.L{onPointerDown(e){this.session=new f(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:z(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:B(e),onStart:B(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&r(e,t)}}}mount(){this.removePointerDownListener=(0,s.a)(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}constructor(){super(...arguments),this.removePointerDownListener=a.Z}}var W=n(2957);let _={pan:{Feature:F},drag:{Feature:V,ProjectionNode:n(5527).u,MeasureLayout:W.q}}},45801:function(e,t,n){n.d(t,{E:function(){return P}});var r=n(43497),a=n(19280),o=n(83265),i=n(24034);function l(e,t){let n="onHover"+(t?"Start":"End");return(0,r.a)(e.current,"pointer"+(t?"enter":"leave"),(r,a)=>{if("touch"===r.pointerType||(0,o.gD)())return;let i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[n]&&i[n](r,a)},{passive:!e.getProps()[n]})}class s extends i.L{mount(){this.unmount=(0,a.z)(l(this.node,!0),l(this.node,!1))}unmount(){}}var u=n(57958);class c extends i.L{onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,a.z)((0,u.E)(this.node.current,"focus",()=>this.onFocus()),(0,u.E)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}constructor(){super(...arguments),this.isActive=!1}}var d=n(17450);let p=(e,t)=>!!t&&(e===t||p(e,t.parentElement));var f=n(3393);function m(e,t){if(!t)return;let n=new PointerEvent("pointer"+e);t(n,(0,d.Q)(n))}class h extends i.L{startPress(e,t){this.isPressing=!0;let{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&n(e,t)}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!(0,o.gD)()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&n(e,t)}mount(){let e=this.node.getProps(),t=(0,r.a)(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=(0,u.E)(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,a.z)(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}constructor(){super(...arguments),this.removeStartListeners=f.Z,this.removeEndListeners=f.Z,this.removeAccessibleListeners=f.Z,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),o=(0,r.a)(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;let{onTap:n,onTapCancel:r,globalTapTarget:a}=this.node.getProps();a||p(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)},{passive:!(n.onTap||n.onPointerUp)}),i=(0,r.a)(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=(0,a.z)(o,i),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=(0,u.E)(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=(0,u.E)(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&m("up",(e,t)=>{let{onTap:n}=this.node.getProps();n&&n(e,t)})}),m("down",(e,t)=>{this.startPress(e,t)}))}),t=(0,u.E)(this.node.current,"blur",()=>{this.isPressing&&m("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=(0,a.z)(e,t)}}}let g=new WeakMap,v=new WeakMap,b=e=>{let t=g.get(e.target);t&&t(e)},y=e=>{e.forEach(b)},x={some:0,all:1};class w extends i.L{startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:a}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:x[r]};return function(e,t,n){let r=function(e){let{root:t,...n}=e,r=t||document;v.has(r)||v.set(r,{});let a=v.get(r),o=JSON.stringify(n);return a[o]||(a[o]=new IntersectionObserver(y,{root:t,...n})),a[o]}(t);return g.set(e,n),r.observe(e),()=>{g.delete(e),r.unobserve(e)}}(this.node.current,o,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,a&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=t?n:r;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function(e){let{viewport:t={}}=e,{viewport:n={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e=>t[e]!==n[e]}(e,t))&&this.startObserver()}unmount(){}constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}}let P={inView:{Feature:w},tap:{Feature:h},focus:{Feature:c},hover:{Feature:s}}},98746:function(e,t,n){n.d(t,{b:function(){return o}});var r=n(5527),a=n(2957);let o={layout:{ProjectionNode:r.u,MeasureLayout:a.q}}},2957:function(e,t,n){n.d(t,{q:function(){return v}});var r=n(64090),a=n(24561),o=n(53856),i=n(14644),l=n(16172),s=n(72724);function u(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let c={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!s.px.test(e))return e;e=parseFloat(e)}let n=u(e,t.target.x),r=u(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}};var d=n(5312),p=n(92263),f=n(67381),m=n(39330),h=n(14205);class g extends r.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:a}=e;(0,f.B)(b),a&&(t.group&&t.group.add(a),n&&n.register&&r&&n.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),l.V.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:a}=this.props,o=n.projection;return o&&(o.isPresent=a,r||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent===a||(a?o.promote():o.relegate()||h.Wi.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),m.g.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function v(e){let[t,n]=function(){let e=(0,r.useContext)(a.O);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:n,register:o}=e,i=(0,r.useId)();return(0,r.useEffect)(()=>o(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}(),l=(0,r.useContext)(o.p);return r.createElement(g,{...e,layoutGroup:l,switchLayoutGroup:(0,r.useContext)(i.g),isPresent:t,safeToRemove:n})}let b={borderRadius:{...c,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:c,borderTopRightRadius:c,borderBottomLeftRadius:c,borderBottomRightRadius:c,boxShadow:{correct:(e,t)=>{let{treeScale:n,projectionDelta:r}=t,a=p.P.parse(e);if(a.length>5)return e;let o=p.P.createTransformer(e),i="number"!=typeof a[0]?1:0,l=r.x.scale*n.x,s=r.y.scale*n.y;a[0+i]/=l,a[1+i]/=s;let u=(0,d.t)(l,s,.5);return"number"==typeof a[2+i]&&(a[2+i]/=u),"number"==typeof a[3+i]&&(a[3+i]/=u),o(a)}}}},60848:function(e,t,n){n.d(t,{K:function(){return a}});var r=n(25223);function a(e){for(let t in e)r.A[t]={...r.A[t],...e[t]}}},5403:function(e,t,n){n.d(t,{j:function(){return o}});var r=n(67381),a=n(60618);function o(e,t){let{layout:n,layoutId:o}=t;return a.G.has(e)||e.startsWith("origin")||(n||void 0!==o)&&(!!r.P[e]||"opacity"===e)}},49068:function(e,t,n){function r(e){let{top:t,left:n,right:r,bottom:a}=e;return{x:{min:n,max:r},y:{min:t,max:a}}}function a(e){let{x:t,y:n}=e;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function o(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}n.d(t,{d7:function(){return o},i8:function(){return r},z2:function(){return a}})},25015:function(e,t,n){n.d(t,{D2:function(){return h},YY:function(){return u},am:function(){return d},o2:function(){return s},q2:function(){return o}});var r=n(5312),a=n(44352);function o(e,t,n){return n+t*(e-n)}function i(e,t,n,r,a){return void 0!==a&&(e=r+a*(e-r)),r+n*(e-r)+t}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0;e.min=i(e.min,t,n,r,a),e.max=i(e.max,t,n,r,a)}function s(e,t){let{x:n,y:r}=t;l(e.x,n.translate,n.scale,n.originPoint),l(e.y,r.translate,r.scale,r.originPoint)}function u(e,t,n){let r,o,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=n.length;if(l){t.x=t.y=1;for(let u=0;u1.0000000000001||e<.999999999999?e:1}function d(e,t){e.min=e.min+t,e.max=e.max+t}function p(e,t,n){let[a,o,i]=n,s=void 0!==t[i]?t[i]:.5,u=(0,r.t)(e.min,e.max,s);l(e,t[a],t[o],u,t.scale)}let f=["x","scaleX","originX"],m=["y","scaleY","originY"];function h(e,t){p(e.x,t,f),p(e.y,t,m)}},82317:function(e,t,n){n.d(t,{JO:function(){return a},b3:function(){return d},tf:function(){return u},wS:function(){return o},y$:function(){return l}});var r=n(5312);function a(e){return e.max-e.min}function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.01;return Math.abs(e-t)<=n}function i(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;e.origin=i,e.originPoint=(0,r.t)(t.min,t.max,e.origin),e.scale=a(n)/a(t),(o(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=(0,r.t)(n.min,n.max,e.origin)-e.originPoint,(o(e.translate)||isNaN(e.translate))&&(e.translate=0)}function l(e,t,n,r){i(e.x,t.x,n.x,r?r.originX:void 0),i(e.y,t.y,n.y,r?r.originY:void 0)}function s(e,t,n){e.min=n.min+t.min,e.max=e.min+a(t)}function u(e,t,n){s(e.x,t.x,n.x),s(e.y,t.y,n.y)}function c(e,t,n){e.min=t.min-n.min,e.max=e.min+a(t)}function d(e,t,n){c(e.x,t.x,n.x),c(e.y,t.y,n.y)}},24884:function(e,t,n){n.d(t,{dO:function(){return i},wc:function(){return a}});let r=()=>({translate:0,scale:1,origin:0,originPoint:0}),a=()=>({x:r(),y:r()}),o=()=>({min:0,max:0}),i=()=>({x:o(),y:o()})},5527:function(e,t,n){n.d(t,{u:function(){return eC}});var r=n(52685),a=n(84354),o=n(16384),i=n(5312),l=n(3393),s=n(72724);let u=["TopLeft","TopRight","BottomLeft","BottomRight"],c=u.length,d=e=>"string"==typeof e?parseFloat(e):e,p=e=>"number"==typeof e||s.px.test(e);function f(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let m=g(0,.5,a.Bn),h=g(.5,.95,l.Z);function g(e,t,n){return r=>rt?1:n((0,o.Y)(e,t,r))}function v(e,t){e.min=t.min,e.max=t.max}function b(e,t){v(e.x,t.x),v(e.y,t.y)}var y=n(25015),x=n(82317);function w(e,t,n,r,a){return e-=t,e=(0,y.q2)(e,1/n,r),void 0!==a&&(e=(0,y.q2)(e,1/a,r)),e}function P(e,t,n,r,a){let[o,l,u]=n;!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,a=arguments.length>4?arguments[4]:void 0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e,l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:e;if(s.aQ.test(t)&&(t=parseFloat(t),t=(0,i.t)(l.min,l.max,t/100)-l.min),"number"!=typeof t)return;let u=(0,i.t)(o.min,o.max,r);e===o&&(u-=t),e.min=w(e.min,t,n,u,a),e.max=w(e.max,t,n,u,a)}(e,t[o],t[l],t[u],t.scale,r,a)}let k=["x","scaleX","originX"],C=["y","scaleY","originY"];function S(e,t,n,r){P(e.x,t,k,n?n.x:void 0,r?r.x:void 0),P(e.y,t,C,n?n.y:void 0,r?r.y:void 0)}var D=n(24884),E=n(95566);function T(e){return 0===e.translate&&1===e.scale}function M(e){return T(e.x)&&T(e.y)}function R(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function N(e){return(0,x.JO)(e.x)/(0,x.JO)(e.y)}var j=n(50406);class A{add(e){(0,j.y4)(this.members,e),e.scheduleRender()}remove(e){if((0,j.cl)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t;let n=this.members.findIndex(t=>e===t);if(0===n)return!1;for(let e=n;e>=0;e--){let n=this.members[e];if(!1!==n.isPresent){t=n;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}constructor(){this.members=[]}}var I=n(67381);function z(e,t,n){let r="",a=e.x.translate/t.x,o=e.y.translate/t.y;if((a||o)&&(r="translate3d(".concat(a,"px, ").concat(o,"px, 0) ")),(1!==t.x||1!==t.y)&&(r+="scale(".concat(1/t.x,", ").concat(1/t.y,") ")),n){let{rotate:e,rotateX:t,rotateY:a}=n;e&&(r+="rotate(".concat(e,"deg) ")),t&&(r+="rotateX(".concat(t,"deg) ")),a&&(r+="rotateY(".concat(a,"deg) "))}let i=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==i||1!==l)&&(r+="scale(".concat(i,", ").concat(l,")")),r||"none"}var L=n(65521),O=n(44352);let K=(e,t)=>e.depth-t.depth;class V{add(e){(0,j.y4)(this.children,e),this.isDirty=!0}remove(e){(0,j.cl)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(K),this.isDirty=!1,this.children.forEach(e)}constructor(){this.children=[],this.isDirty=!1}}var B=n(14121),F=n(16172),W=n(33791),_=n(14205),U=n(22309),G=n(83299),H=n(82702),Z=n(22476),J=n(39330);let q=["","X","Y","Z"],X={visibility:"hidden"},Y=0,$={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Q(e){let{attachResizeListener:t,defaultParent:n,measureScroll:a,checkIsScrollRoot:o,resetTransform:l}=e;return class{addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new r.L),this.eventHandlers.get(e).add(t)}notifyListeners(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:this.root.hasTreeAnimated;if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:r,layout:a,visualElement:o}=this.options;if(o&&!o.current&&o.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(a||r)&&(this.isLayoutDirty=!0),t){let n;let r=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){let n=W.X.now(),r=a=>{let{timestamp:o}=a,i=o-n;i>=t&&((0,_.Pn)(r),e(i-t))};return _.Wi.read(r,!0),()=>(0,_.Pn)(r)}(r,250),F.V.hasAnimatedSinceResize&&(F.V.hasAnimatedSinceResize=!1,this.nodes.forEach(es))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&o&&(r||a)&&this.addEventListener("didUpdate",e=>{let{delta:t,hasLayoutChanged:n,hasRelativeTargetChanged:r,layout:a}=e;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||o.getDefaultTransition()||eg,{onLayoutAnimationStart:l,onLayoutAnimationComplete:s}=o.getProps(),u=!this.targetLayout||!R(this.targetLayout,a)||r,c=!n&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||n&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,c);let e={...(0,E.e)(i,"layout"),onPlay:l,onComplete:s};(o.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else n||es(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=a})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,_.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ed),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;ethis.update()))}clearAllSnapshots(){this.nodes.forEach(ea),this.sharedNodes.forEach(ep)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,_.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){_.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e0&&void 0!==arguments[0]?arguments[0]:"measure",t=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:o(this.instance),offset:a(this.instance)})}resetTransform(){if(!l)return;let e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!M(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,a=r!==this.prevTransformTemplateValue;e&&(t||(0,O.ud)(this.latestValues)||a)&&(l(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(){var e;let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],n=this.measurePageBox(),r=this.removeElementScroll(n);return t&&(r=this.removeTransform(r)),ey((e=r).x),ey(e.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return(0,D.dO)();let t=e.measureViewportBox(),{scroll:n}=this.root;return n&&((0,y.am)(t.x,n.offset.x),(0,y.am)(t.y,n.offset.y)),t}removeElementScroll(e){let t=(0,D.dO)();b(t,e);for(let n=0;n1&&void 0!==arguments[1]&&arguments[1],n=(0,D.dO)();b(n,e);for(let e=0;e0&&void 0!==arguments[0]&&arguments[0],n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);let r=!!this.resumingFrom||this!==n;if(!(t||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:a,layoutId:o}=this.options;if(this.layout&&(a||o)){if(this.resolvedRelativeTargetAt=_.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,D.dO)(),this.relativeTargetOrigin=(0,D.dO)(),(0,x.b3)(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),b(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,D.dO)(),this.targetWithTransforms=(0,D.dO)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,x.tf)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):b(this.target,this.layout.layoutBox),(0,y.o2)(this.target,this.targetDelta)):b(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,D.dO)(),this.relativeTargetOrigin=(0,D.dO)(),(0,x.b3)(this.relativeTargetOrigin,this.target,e.target),b(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}$.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||(0,O.Lj)(this.parent.latestValues)||(0,O.D_)(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),n=!!this.resumingFrom||this!==t,r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===_.frameData.timestamp&&(r=!1),r)return;let{layout:a,layoutId:o}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(a||o))return;b(this.layoutCorrected,this.layout.layoutBox);let i=this.treeScale.x,l=this.treeScale.y;(0,y.YY)(this.layoutCorrected,this.treeScale,this.path,n),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,D.dO)());let{target:s}=t;if(!s){this.projectionTransform&&(this.projectionDelta=(0,D.wc)(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=(0,D.wc)(),this.projectionDeltaWithTransform=(0,D.wc)());let u=this.projectionTransform;(0,x.y$)(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.projectionTransform=z(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==i||this.treeScale.y!==l)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s)),$.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(this.options.scheduleRender&&this.options.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e){let t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.snapshot,a=r?r.latestValues:{},o={...this.latestValues},l=(0,D.wc)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!n;let g=(0,D.dO)(),v=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),y=this.getStack(),w=!y||y.members.length<=1,P=!!(v&&!w&&!0===this.options.crossfade&&!this.path.some(eh));this.animationProgress=0,this.mixTargetDelta=n=>{let r=n/1e3;if(ef(l.x,e.x,r),ef(l.y,e.y,r),this.setTargetDelta(l),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var y,k,C,S;(0,x.b3)(g,this.layout.layoutBox,this.relativeParent.layout.layoutBox),C=this.relativeTarget,S=this.relativeTargetOrigin,em(C.x,S.x,g.x,r),em(C.y,S.y,g.y,r),t&&(y=this.relativeTarget,k=t,y.x.min===k.x.min&&y.x.max===k.x.max&&y.y.min===k.y.min&&y.y.max===k.y.max)&&(this.isProjectionDirty=!1),t||(t=(0,D.dO)()),b(t,this.relativeTarget)}v&&(this.animationValues=o,function(e,t,n,r,a,o){a?(e.opacity=(0,i.t)(0,void 0!==n.opacity?n.opacity:1,m(r)),e.opacityExit=(0,i.t)(void 0!==t.opacity?t.opacity:1,0,h(r))):o&&(e.opacity=(0,i.t)(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let a=0;a{F.V.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){let r=(0,H.i)(e)?e:(0,G.BX)(e);return r.start((0,U.v)("",r,1e3,n)),r.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:a}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&ex(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||(0,D.dO)();let t=(0,x.JO)(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=(0,x.JO)(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}b(t,n),(0,y.D2)(t,a),(0,x.y$)(this.projectionDeltaWithTransform,this.layoutCorrected,t,a)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new A),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote(){let{needsReset:e,transition:t,preserveFollowOpacity:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;let r={};for(let t=0;t{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(eo),this.root.sharedNodes.clear()}constructor(e={},t=null==n?void 0:n()){this.id=Y++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,$.totalNodes=$.resolvedTargetDeltas=$.recalculatedProjection=0,this.nodes.forEach(en),this.nodes.forEach(eu),this.nodes.forEach(ec),this.nodes.forEach(er),window.MotionDebug&&window.MotionDebug.record($)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=t?t.root||t:this,this.path=t?[...t.path,t]:[],this.parent=t,this.depth=t?t.depth+1:0;for(let e=0;e{let r=o?n.measuredBox[e]:n.layoutBox[e],a=(0,x.JO)(r);r.min=t[e].min,r.max=r.min+a}):ex(a,n.layoutBox,t)&&(0,L.U)(r=>{let a=o?n.measuredBox[r]:n.layoutBox[r],i=(0,x.JO)(t[r]);a.max=a.min+i,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+i)});let i=(0,D.wc)();(0,x.y$)(i,t,n.layoutBox);let l=(0,D.wc)();o?(0,x.y$)(l,e.applyTransform(r,!0),n.measuredBox):(0,x.y$)(l,t,n.layoutBox);let s=!M(i),u=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:a,layout:o}=r;if(a&&o){let i=(0,D.dO)();(0,x.b3)(i,n.layoutBox,a.layoutBox);let l=(0,D.dO)();(0,x.b3)(l,t,o.layoutBox),R(i,l)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=i,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:l,layoutDelta:i,hasLayoutChanged:s,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function en(e){$.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function er(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ea(e){e.clearSnapshot()}function eo(e){e.clearMeasurements()}function ei(e){e.isLayoutDirty=!1}function el(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function es(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function eu(e){e.resolveTargetDelta()}function ec(e){e.calcProjection()}function ed(e){e.resetRotation()}function ep(e){e.removeLeadSnapshot()}function ef(e,t,n){e.translate=(0,i.t)(t.translate,0,n),e.scale=(0,i.t)(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function em(e,t,n,r){e.min=(0,i.t)(t.min,n.min,r),e.max=(0,i.t)(t.max,n.max,r)}function eh(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let eg={duration:.45,ease:[.4,0,.1,1]},ev=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),eb=ev("applewebkit/")&&!ev("chrome/")?Math.round:l.Z;function ey(e){e.min=eb(e.min),e.max=eb(e.max)}function ex(e,t,n){return"position"===e||"preserve-aspect"===e&&!(0,x.wS)(N(t),N(n),.2)}var ew=n(57958);let eP=Q({attachResizeListener:(e,t)=>(0,ew.E)(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ek={current:void 0},eC=Q({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ek.current){let e=new eP({});e.mount(window),e.setOptions({layoutScroll:!0}),ek.current=e}return ek.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position})},16172:function(e,t,n){n.d(t,{V:function(){return r}});let r={hasAnimatedSinceResize:!0,hasEverUpdated:!1}},67381:function(e,t,n){n.d(t,{B:function(){return a},P:function(){return r}});let r={};function a(e){Object.assign(r,e)}},65521:function(e,t,n){n.d(t,{U:function(){return r}});function r(e){return[e("x"),e("y")]}},44352:function(e,t,n){function r(e){return void 0===e||1===e}function a(e){let{scale:t,scaleX:n,scaleY:a}=e;return!r(t)||!r(n)||!r(a)}function o(e){return a(e)||i(e)||e.z||e.rotate||e.rotateX||e.rotateY}function i(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}n.d(t,{D_:function(){return i},Lj:function(){return a},ud:function(){return o}})},30411:function(e,t,n){n.d(t,{J:function(){return o},z:function(){return i}});var r=n(49068),a=n(25015);function o(e,t){return(0,r.i8)((0,r.d7)(e.getBoundingClientRect(),t))}function i(e,t,n){let r=o(e,n),{scroll:i}=t;return i&&((0,a.am)(r.x,i.offset.x),(0,a.am)(r.y,i.offset.y)),r}},84918:function(e,t,n){n.d(t,{s:function(){return w}});var r=n(96894),a=n(29908),o=n(34829),i=n(57126);let l=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var s=n(60618),u=n(25218),c=n(72724);let d=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),p=e=>e===u.Rx||e===c.px,f=(e,t)=>parseFloat(e.split(", ")[t]),m=(e,t)=>(n,r)=>{let{transform:a}=r;if("none"===a||!a)return 0;let o=a.match(/^matrix3d\((.+)\)$/u);if(o)return f(o[1],t);{let t=a.match(/^matrix\((.+)\)$/u);return t?f(t[1],e):0}},h=new Set(["x","y","z"]),g=s._.filter(e=>!h.has(e)),v={width:(e,t)=>{let{x:n}=e,{paddingLeft:r="0",paddingRight:a="0"}=t;return n.max-n.min-parseFloat(r)-parseFloat(a)},height:(e,t)=>{let{y:n}=e,{paddingTop:r="0",paddingBottom:a="0"}=t;return n.max-n.min-parseFloat(r)-parseFloat(a)},top:(e,t)=>{let{top:n}=t;return parseFloat(n)},left:(e,t)=>{let{left:n}=t;return parseFloat(n)},bottom:(e,t)=>{let{y:n}=e,{top:r}=t;return parseFloat(r)+(n.max-n.min)},right:(e,t)=>{let{x:n}=e,{left:r}=t;return parseFloat(r)+(n.max-n.min)},x:m(4,13),y:m(5,14)};v.translateX=v.x,v.translateY=v.y;var b=n(61921),y=n(54178),x=n(23462);class w extends y.e{readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t.current)return;super.readKeyframes();for(let n=0;n2&&void 0!==arguments[2]?arguments[2]:1;(0,a.k)(r<=4,'Max CSS variable fallback depth detected in property "'.concat(t,'". This may indicate a circular fallback dependency.'));let[s,u]=function(e){let t=l.exec(e);if(!t)return[,];let[,n,r,a]=t;return["--".concat(null!=n?n:r),a]}(t);if(!s)return;let c=window.getComputedStyle(n).getPropertyValue(s);if(c){let e=c.trim();return(0,o.P)(e)?parseFloat(e):e}return(0,i.t)(u)?e(u,n,r+1):u}(r,t.current);void 0!==s&&(e[n]=s)}}if(!d.has(n)||2!==e.length)return this.resolveNoneKeyframes();let[r,s]=e,u=(0,b.C)(r),c=(0,b.C)(s);if(u!==c){if(p(u)&&p(c))for(let t=0;t{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e);let r=n[n.length-1];e.getValue(t,r).jump(r,!1)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;e.current&&("height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=v[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin)}renderEndStyles(){this.element.render()}measureEndState(){var e;let{element:t,name:n,unresolvedKeyframes:r}=this;if(!t.current)return;let a=t.getValue(n);a&&a.jump(this.measuredOrigin,!1);let o=r.length-1,i=r[o];r[o]=v[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==i&&(this.finalKeyframe=i),"height"===n&&void 0!==this.suspendedScrollY&&window.scrollTo(0,this.suspendedScrollY),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEach(e=>{let[n,r]=e;t.getValue(n).set(r)}),this.resolveNoneKeyframes()}constructor(e,t,n,r){super(e,t,n,r,null==r?void 0:r.owner,!0)}}},3709:function(e,t,n){n.d(t,{b:function(){return $}});var r=n(25275),a=n(57126),o=n(60618),i=n(46235),l=n(54269),s=n(56217),u=n(30411),c=n(24884),d=n(98285),p=n(61702);let f={current:null},m={current:!1};var h=n(52685),g=n(83299),v=n(62212),b=n(82702),y=n(79739),x=n(16930),w=n(51422),P=n(25223),k=n(41867);let C=new WeakMap;var S=n(54178),D=n(34829),E=n(96894),T=n(22809),M=n(92263),R=n(61921),N=n(94707);let j=[...R.$,T.$,M.P],A=e=>j.find((0,N.l)(e));var I=n(23462),z=n(14205);let L=Object.keys(P.A),O=L.length,K=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],V=k.V.length;class B{scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,C.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),m.current||function(){if(m.current=!0,p.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>f.current=e.matches;e.addListener(t),t()}else f.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||f.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in C.delete(this.current),this.projection&&this.projection.unmount(),(0,z.Pn)(this.notifyUpdate),(0,z.Pn)(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){let n=o.G.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&z.Wi.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),a=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),a()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures(e,t,n,r){let a,o,{children:i,...l}=e;for(let e=0;ethis.scheduleRender(),animationType:"string"==typeof t?t:"both",initialPromotionConfig:r,layoutScroll:i,layoutRoot:s})}return o}updateFeatures(){for(let e in this.features){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,c.dO)()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t0&&void 0!==arguments[0]&&arguments[0];if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let t={};for(let e=0;et.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=(0,g.BX)(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=r&&("string"==typeof r&&((0,D.P)(r)||(0,E.W)(r))?r=parseFloat(r):!A(r)&&M.P.test(t)&&(r=(0,I.T)(e,t)),this.setBaseTarget(e,(0,b.i)(r)?r.get():r)),(0,b.i)(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t,n;let{initial:r}=this.props,a="string"==typeof r||"object"==typeof r?null===(n=(0,w.o)(this.props,r,null===(t=this.presenceContext)||void 0===t?void 0:t.custom))||void 0===n?void 0:n[e]:void 0;if(r&&void 0!==a)return a;let o=this.getBaseTargetFromProps(this.props,e);return void 0===o||(0,b.i)(o)?void 0!==this.initialValues[e]&&void 0===a?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new h.L),this.events[e].add(t)}notify(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;rnew this.KeyframeResolver(e,t,n,r,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=S.e,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>z.Wi.render(this.render,!1,!0);let{latestValues:l,renderState:s}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=i,this.blockInitialAnimation=!!a,this.isControllingVariants=(0,y.G)(t),this.isVariantNode=(0,y.M)(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{});for(let e in c){let t=c[e];void 0!==l[e]&&(0,b.i)(t)&&(t.set(l[e],!1),(0,v.L)(u)&&u.add(e))}}}var F=n(84918);class W extends B{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,t){let{vars:n,style:r}=t;delete n[e],delete r[e]}constructor(){super(...arguments),this.KeyframeResolver=F.s}}class _ extends W{readValueFromInstance(e,t){if(o.G.has(t)){let e=(0,s.A)(t);return e&&e.default||0}{let n=window.getComputedStyle(e),r=((0,a.f)(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,t){let{transformPagePoint:n}=t;return(0,u.J)(e,n)}build(e,t,n,a){(0,r.r)(e,t,n,a.transformTemplate)}scrapeMotionValuesFromProps(e,t){return(0,i.U)(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,b.i)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent="".concat(e))}))}renderInstance(e,t,n,r){(0,l.N)(e,t,n,r)}constructor(){super(...arguments),this.type="html"}}var U=n(9548),G=n(48348),H=n(65998),Z=n(38766),J=n(81661),q=n(27612);class X extends W{getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(o.G.has(t)){let e=(0,s.A)(t);return e&&e.default||0}return t=Z.s.has(t)?t:(0,H.D)(t),e.getAttribute(t)}measureInstanceViewportBox(){return(0,c.dO)()}scrapeMotionValuesFromProps(e,t){return(0,U.U)(e,t)}build(e,t,n,r){(0,G.i)(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){(0,J.K)(e,t,n,r)}mount(e){this.isSVGTag=(0,q.a)(e.tagName),super.mount(e)}constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}}var Y=n(49296);let $=(e,t)=>(0,Y.q)(e)?new X(t,{enableHardwareAcceleration:!1}):new _(t,{enableHardwareAcceleration:!0})},62612:function(e,t,n){n.d(t,{H:function(){return o}});var r=n(36180),a=n(45801);let o={renderer:n(3709).b,...r.s,...a.E}},16184:function(e,t,n){n.d(t,{m:function(){return o}});var r=n(37056),a=n(54824);let o=(0,r.D)(a.w)},37056:function(e,t,n){n.d(t,{D:function(){return x}});var r=n(64090),a=n(93449),o=n(7748),i=n(24561),l=n(45526),s=n(48997),u=n(69043),c=n(39330),d=n(98285),p=n(16930),f=n(79739);function m(e){return Array.isArray(e)?e.join(" "):e}var h=n(60848),g=n(61702),v=n(53856),b=n(14644);let y=Symbol.for("motionComponentSymbol");function x(e){function t(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e){let{preloadedFeatures:t,createVisualElement:n,useRender:x,useVisualState:w,Component:P}=e;t&&(0,h.K)(t);let k=(0,r.forwardRef)(function(e,h){var y;let k;let C={...(0,r.useContext)(a._),...e,layoutId:function(e){let{layoutId:t}=e,n=(0,r.useContext)(v.p).id;return n&&void 0!==t?n+"-"+t:t}(e)},{isStatic:S}=C,D=function(e){let{initial:t,animate:n}=function(e,t){if((0,f.G)(e)){let{initial:t,animate:n}=e;return{initial:!1===t||(0,p.$)(t)?t:void 0,animate:(0,p.$)(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,r.useContext)(o.v));return(0,r.useMemo)(()=>({initial:t,animate:n}),[m(t),m(n)])}(e),E=w(e,S);if(!S&&g.j){D.visualElement=function(e,t,n,d){let{visualElement:p}=(0,r.useContext)(o.v),f=(0,r.useContext)(s.u),m=(0,r.useContext)(i.O),h=(0,r.useContext)(a._).reducedMotion,g=(0,r.useRef)();d=d||f.renderer,!g.current&&d&&(g.current=d(e,{visualState:t,parent:p,props:n,presenceContext:m,blockInitialAnimation:!!m&&!1===m.initial,reducedMotionConfig:h}));let v=g.current;(0,r.useInsertionEffect)(()=>{v&&v.update(n,m)});let b=(0,r.useRef)(!!(n[u.M]&&!window.HandoffComplete));return(0,l.L)(()=>{v&&(c.g.postRender(v.render),b.current&&v.animationState&&v.animationState.animateChanges())}),(0,r.useEffect)(()=>{v&&(v.updateFeatures(),!b.current&&v.animationState&&v.animationState.animateChanges(),b.current&&(b.current=!1,window.HandoffComplete=!0))}),v}(P,E,C,n);let e=(0,r.useContext)(b.g),d=(0,r.useContext)(s.u).strict;D.visualElement&&(k=D.visualElement.loadFeatures(C,d,t,e))}return r.createElement(o.v.Provider,{value:D},k&&D.visualElement?r.createElement(k,{visualElement:D.visualElement,...C}):null,x(P,e,(y=D.visualElement,(0,r.useCallback)(e=>{e&&E.mount&&E.mount(e),y&&(e?y.mount(e):y.unmount()),h&&("function"==typeof h?h(e):(0,d.I)(h)&&(h.current=e))},[y])),E,S,D.visualElement))});return k[y]=P,k}(e(t,n))}if("undefined"==typeof Proxy)return t;let n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}},80009:function(e,t,n){n.d(t,{E:function(){return d}});var r=n(37056),a=n(54824),o=n(45801),i=n(36180),l=n(69671),s=n(3709),u=n(98746);let c={...i.s,...o.E,...l.o,...u.b},d=(0,r.D)((e,t)=>(0,a.w)(e,t,c,s.b))},65998:function(e,t,n){n.d(t,{D:function(){return r}});let r=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},54824:function(e,t,n){n.d(t,{w:function(){return R}});var r,a=n(49296),o=n(64090),i=n(5403),l=n(82702),s=n(25275);let u=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function c(e,t,n){for(let r in t)(0,l.i)(t[r])||(0,i.j)(r,n)||(e[r]=t[r])}let d=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function p(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||d.has(e)}let f=e=>!p(e);try{(r=require("@emotion/is-prop-valid").default)&&(f=e=>e.startsWith("on")?!p(e):r(e))}catch(e){}var m=n(48348);let h=()=>({...u(),attrs:{}});var g=n(27612),v=n(81661),b=n(9548),y=n(54633),x=n(24561),w=n(51422),P=n(72435),k=n(14121),C=n(7748),S=n(79739);let D=e=>(t,n)=>{let r=(0,o.useContext)(C.v),a=(0,o.useContext)(x.O),i=()=>(function(e,t,n,r){let{scrapeMotionValuesFromProps:a,createRenderState:o,onMount:i}=e,l={latestValues:function(e,t,n,r){let a={},o=r(e,{});for(let e in o)a[e]=(0,k.b)(o[e]);let{initial:i,animate:l}=e,s=(0,S.G)(e),u=(0,S.M)(e);t&&u&&!s&&!1!==e.inherit&&(void 0===i&&(i=t.initial),void 0===l&&(l=t.animate));let c=!!n&&!1===n.initial,d=(c=c||!1===i)?l:i;return d&&"boolean"!=typeof d&&!(0,y.H)(d)&&(Array.isArray(d)?d:[d]).forEach(t=>{let n=(0,w.o)(e,t);if(!n)return;let{transitionEnd:r,transition:o,...i}=n;for(let e in i){let t=i[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(a[e]=t)}for(let e in r)a[e]=r[e]}),a}(t,n,r,a),renderState:o()};return i&&(l.mount=e=>i(t,e,l)),l})(e,t,r,a);return n?i():(0,P.h)(i)};var E=n(14205);let T={useVisualState:D({scrapeMotionValuesFromProps:b.U,createRenderState:h,onMount:(e,t,n)=>{let{renderState:r,latestValues:a}=n;E.Wi.read(()=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}}),E.Wi.render(()=>{(0,m.i)(r,a,{enableHardwareAcceleration:!1},(0,g.a)(t.tagName),e.transformTemplate),(0,v.K)(t,r)})}})},M={useVisualState:D({scrapeMotionValuesFromProps:n(46235).U,createRenderState:u})};function R(e,t,n,r){let{forwardMotionProps:i=!1}=t;return{...(0,a.q)(e)?T:M,preloadedFeatures:n,useRender:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(t,n,r,i,d)=>{let{latestValues:v}=i,b=((0,a.q)(t)?function(e,t,n,r){let a=(0,o.useMemo)(()=>{let n=h();return(0,m.i)(n,t,{enableHardwareAcceleration:!1},(0,g.a)(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};c(t,e.style,e),a.style={...t,...a.style}}return a}:function(e,t,n){let r={},a=function(e,t,n){let r=e.style||{},a={};return c(a,r,e),Object.assign(a,function(e,t,n){let{transformTemplate:r}=e;return(0,o.useMemo)(()=>{let e=u();return(0,s.r)(e,t,{enableHardwareAcceleration:!n},r),Object.assign({},e.vars,e.style)},[t])}(e,t,n)),a}(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=a,r})(n,v,d,t),y=function(e,t,n){let r={};for(let a in e)("values"!==a||"object"!=typeof e.values)&&(f(a)||!0===n&&p(a)||!t&&!p(a)||e.draggable&&a.startsWith("onDrag"))&&(r[a]=e[a]);return r}(n,"string"==typeof t,e),x=t!==o.Fragment?{...y,...b,ref:r}:{},{children:w}=n,P=(0,o.useMemo)(()=>(0,l.i)(w)?w.get():w,[w]);return(0,o.createElement)(t,{...x,children:P})}}(i),createVisualElement:r,Component:e}}},57126:function(e,t,n){n.d(t,{f:function(){return a},t:function(){return i}});let r=e=>t=>"string"==typeof t&&t.startsWith(e),a=r("--"),o=r("var(--"),i=e=>!!o(e)&&l.test(e.split("/*")[0].trim()),l=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},49296:function(e,t,n){n.d(t,{q:function(){return a}});let r=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function a(e){if("string"!=typeof e||e.includes("-"));else if(r.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}},23462:function(e,t,n){n.d(t,{T:function(){return i}});var r=n(92263),a=n(82915),o=n(56217);function i(e,t){let n=(0,o.A)(e);return n!==a.h&&(n=r.P),n.getAnimatableNone?n.getAnimatableNone(t):void 0}},56217:function(e,t,n){n.d(t,{A:function(){return i}});var r=n(22809),a=n(82915);let o={...n(97346).j,color:r.$,backgroundColor:r.$,outlineColor:r.$,fill:r.$,stroke:r.$,borderColor:r.$,borderTopColor:r.$,borderRightColor:r.$,borderBottomColor:r.$,borderLeftColor:r.$,filter:a.h,WebkitFilter:a.h},i=e=>o[e]},61921:function(e,t,n){n.d(t,{$:function(){return i},C:function(){return l}});var r=n(25218),a=n(72724),o=n(94707);let i=[r.Rx,a.px,a.aQ,a.RW,a.vw,a.vh,{test:e=>"auto"===e,parse:e=>e}],l=e=>i.find((0,o.l)(e))},97346:function(e,t,n){n.d(t,{j:function(){return i}});var r=n(25218),a=n(72724);let o={...r.Rx,transform:Math.round},i={borderWidth:a.px,borderTopWidth:a.px,borderRightWidth:a.px,borderBottomWidth:a.px,borderLeftWidth:a.px,borderRadius:a.px,radius:a.px,borderTopLeftRadius:a.px,borderTopRightRadius:a.px,borderBottomRightRadius:a.px,borderBottomLeftRadius:a.px,width:a.px,maxWidth:a.px,height:a.px,maxHeight:a.px,size:a.px,top:a.px,right:a.px,bottom:a.px,left:a.px,padding:a.px,paddingTop:a.px,paddingRight:a.px,paddingBottom:a.px,paddingLeft:a.px,margin:a.px,marginTop:a.px,marginRight:a.px,marginBottom:a.px,marginLeft:a.px,rotate:a.RW,rotateX:a.RW,rotateY:a.RW,rotateZ:a.RW,scale:r.bA,scaleX:r.bA,scaleY:r.bA,scaleZ:r.bA,skew:a.RW,skewX:a.RW,skewY:a.RW,distance:a.px,translateX:a.px,translateY:a.px,translateZ:a.px,x:a.px,y:a.px,z:a.px,perspective:a.px,transformPerspective:a.px,opacity:r.Fq,originX:a.$C,originY:a.$C,originZ:a.px,zIndex:o,backgroundPositionX:a.px,backgroundPositionY:a.px,fillOpacity:r.Fq,strokeOpacity:r.Fq,numOctaves:o}},94707:function(e,t,n){n.d(t,{l:function(){return r}});let r=e=>t=>t.test(e)},25275:function(e,t,n){n.d(t,{r:function(){return u}});var r=n(60618);let a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},o=r._.length;var i=n(57126);let l=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var s=n(97346);function u(e,t,n,u){let{style:c,vars:d,transform:p,transformOrigin:f}=e,m=!1,h=!1,g=!0;for(let e in t){let n=t[e];if((0,i.f)(e)){d[e]=n;continue}let a=s.j[e],o=l(n,a);if(r.G.has(e)){if(m=!0,p[e]=o,!g)continue;n!==(a.default||0)&&(g=!1)}else e.startsWith("origin")?(h=!0,f[e]=o):c[e]=o}if(!t.transform&&(m||u?c.transform=function(e,t,n,i){let{enableHardwareAcceleration:l=!0,allowTransformNone:s=!0}=t,u="";for(let t=0;t2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=!(arguments.length>4)||void 0===arguments[4]||arguments[4];e.pathLength=1;let s=o?i:l;e[s.offset]=a.px.transform(-r);let u=a.px.transform(t),c=a.px.transform(n);e[s.array]="".concat(u," ").concat(c)}(y,h,g,v,!1)}},38766:function(e,t,n){n.d(t,{s:function(){return r}});let r=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"])},27612:function(e,t,n){n.d(t,{a:function(){return r}});let r=e=>"string"==typeof e&&"svg"===e.toLowerCase()},81661:function(e,t,n){n.d(t,{K:function(){return i}});var r=n(65998),a=n(54269),o=n(38766);function i(e,t,n,i){for(let n in(0,a.N)(e,t,void 0,i),t.attrs)e.setAttribute(o.s.has(n)?n:(0,r.D)(n),t.attrs[n])}},9548:function(e,t,n){n.d(t,{U:function(){return i}});var r=n(82702),a=n(46235),o=n(60618);function i(e,t){let n=(0,a.U)(e,t);for(let a in e)((0,r.i)(e[a])||(0,r.i)(t[a]))&&(n[-1!==o._.indexOf(a)?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a]=e[a]);return n}},54178:function(e,t,n){n.d(t,{e:function(){return c},m:function(){return u}});var r=n(14205);let a=new Set,o=!1,i=!1;function l(){i&&(a.forEach(e=>{e.needsMeasurement&&e.unsetTransforms()}),a.forEach(e=>{e.needsMeasurement&&e.measureInitialState()}),a.forEach(e=>{e.needsMeasurement&&e.renderEndStyles()}),a.forEach(e=>{e.needsMeasurement&&e.measureEndState()})),i=!1,o=!1,a.forEach(e=>e.complete()),a.clear()}function s(){a.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(i=!0)})}function u(){s(),l()}class c{scheduleResolve(){this.isScheduled=!0,this.isAsync?(a.add(this),o||(o=!0,r.Wi.read(s),r.Wi.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let a=0;a(0,a.$)(e[t]))}function l(e){return!!(i(e)||e.variants)}},16930:function(e,t,n){n.d(t,{$:function(){return r}});function r(e){return"string"==typeof e||Array.isArray(e)}},51422:function(e,t,n){n.d(t,{o:function(){return r}});function r(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,a)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,a)),t}},41867:function(e,t,n){n.d(t,{V:function(){return a},e:function(){return r}});let r=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],a=["initial",...r]},36832:function(e,t,n){n.d(t,{c:function(){return r}});let r={skipAnimations:!1,useManualTiming:!1}},50406:function(e,t,n){function r(e,t){-1===e.indexOf(t)&&e.push(t)}function a(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}n.d(t,{cl:function(){return a},y4:function(){return r}})},22476:function(e,t,n){n.d(t,{u:function(){return r}});let r=(e,t,n)=>n>t?t:n/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)},98285:function(e,t,n){n.d(t,{I:function(){return r}});function r(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}},96894:function(e,t,n){n.d(t,{W:function(){return r}});let r=e=>/^0[^.\s]+$/u.test(e)},5312:function(e,t,n){n.d(t,{t:function(){return r}});let r=(e,t,n)=>e+(t-e)*n},3393:function(e,t,n){n.d(t,{Z:function(){return r}});let r=e=>e},19280:function(e,t,n){n.d(t,{z:function(){return a}});let r=(e,t)=>n=>t(e(n)),a=function(){for(var e=arguments.length,t=Array(e),n=0;n{let r=t-e;return 0===r?1:(n-e)/r}},30698:function(e,t,n){n.d(t,{Y:function(){return o},p:function(){return a}});var r=n(60561);let a=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),o=e=>(0,r.C)(e)?e[e.length-1]||0:e},52685:function(e,t,n){n.d(t,{L:function(){return a}});var r=n(50406);class a{add(e){return(0,r.y4)(this.subscriptions,e),()=>(0,r.cl)(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](e,t,n);else for(let a=0;a1e3*e,a=e=>e/1e3},72435:function(e,t,n){n.d(t,{h:function(){return a}});var r=n(64090);function a(e){let t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},13061:function(e,t,n){n.d(t,{N:function(){return i}});var r=n(64090),a=n(32814),o=n(14205);function i(){let e=(0,a.t)(),[t,n]=(0,r.useState)(0),i=(0,r.useCallback)(()=>{e.current&&n(t+1)},[t]);return[(0,r.useCallback)(()=>o.Wi.postRender(i),[i]),t]}},32814:function(e,t,n){n.d(t,{t:function(){return o}});var r=n(64090),a=n(45526);function o(){let e=(0,r.useRef)(!1);return(0,a.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},45526:function(e,t,n){n.d(t,{L:function(){return a}});var r=n(64090);let a=n(61702).j?r.useLayoutEffect:r.useEffect},92181:function(e,t,n){n.d(t,{R:function(){return r}});function r(e,t){return t?1e3/t*e:0}},83299:function(e,t,n){n.d(t,{BX:function(){return c},Hg:function(){return u}});var r=n(52685),a=n(92181),o=n(33791),i=n(14205);let l=e=>!isNaN(parseFloat(e)),s={current:void 0};class u{setCurrent(e){this.current=e,this.updatedAt=o.X.now()}setPrevFrameValue(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.current;this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new r.L);let n=this.events[e].add(t);return"change"===e?()=>{n(),i.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return s.current&&s.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=o.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,a.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}constructor(e,t={}){var n=this;this.version="11.0.14",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=o.X.now();n.updatedAt!==r&&n.setPrevFrameValue(),n.prev=n.current,n.setCurrent(e),n.current!==n.prev&&n.events.change&&n.events.change.notify(n.current),t&&n.events.renderRequest&&n.events.renderRequest.notify(n.current)},this.hasAnimated=!1,this.setCurrent(e),this.canTrackVelocity=l(this.current),this.owner=t.owner}}function c(e,t){return new u(e,t)}},34184:function(e,t,n){n.d(t,{$:function(){return a}});var r=n(46352);let a={test:(0,n(90204).i)("#"),parse:function(e){let t="",n="",r="",a="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),a=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),a=e.substring(4,5),t+=t,n+=n,r+=r,a+=a),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:a?parseInt(a,16)/255:1}},transform:r.m.transform}},99808:function(e,t,n){n.d(t,{J:function(){return l}});var r=n(25218),a=n(72724),o=n(93922),i=n(90204);let l={test:(0,i.i)("hsl","hue"),parse:(0,i.d)("hue","saturation","lightness"),transform:e=>{let{hue:t,saturation:n,lightness:i,alpha:l=1}=e;return"hsla("+Math.round(t)+", "+a.aQ.transform((0,o.Nw)(n))+", "+a.aQ.transform((0,o.Nw)(i))+", "+(0,o.Nw)(r.Fq.transform(l))+")"}}},22809:function(e,t,n){n.d(t,{$:function(){return l}});var r=n(93922),a=n(34184),o=n(99808),i=n(46352);let l={test:e=>i.m.test(e)||a.$.test(e)||o.J.test(e),parse:e=>i.m.test(e)?i.m.parse(e):o.J.test(e)?o.J.parse(e):a.$.parse(e),transform:e=>(0,r.HD)(e)?e:e.hasOwnProperty("red")?i.m.transform(e):o.J.transform(e)}},46352:function(e,t,n){n.d(t,{m:function(){return u}});var r=n(22476),a=n(25218),o=n(93922),i=n(90204);let l=e=>(0,r.u)(0,255,e),s={...a.Rx,transform:e=>Math.round(l(e))},u={test:(0,i.i)("rgb","red"),parse:(0,i.d)("red","green","blue"),transform:e=>{let{red:t,green:n,blue:r,alpha:i=1}=e;return"rgba("+s.transform(t)+", "+s.transform(n)+", "+s.transform(r)+", "+(0,o.Nw)(a.Fq.transform(i))+")"}}},90204:function(e,t,n){n.d(t,{d:function(){return o},i:function(){return a}});var r=n(93922);let a=(e,t)=>n=>!!((0,r.HD)(n)&&r.mj.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),o=(e,t,n)=>a=>{if(!(0,r.HD)(a))return a;let[o,i,l,s]=a.match(r.KP);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(l),alpha:void 0!==s?parseFloat(s):1}}},82915:function(e,t,n){n.d(t,{h:function(){return s}});var r=n(92263),a=n(93922);let o=new Set(["brightness","contrast","saturate","opacity"]);function i(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(a.KP)||[];if(!r)return e;let i=n.replace(r,""),l=o.has(t)?1:0;return r!==n&&(l*=100),t+"("+l+i+")"}let l=/\b([a-z-]*)\(.*?\)/gu,s={...r.P,getAnimatableNone:e=>{let t=e.match(l);return t?t.map(i).join(" "):e}}},92263:function(e,t,n){n.d(t,{P:function(){return p},V:function(){return s}});var r=n(22809),a=n(93922);let o="number",i="color",l=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function s(e){let t=e.toString(),n=[],a={color:[],number:[],var:[]},s=[],u=0,c=t.replace(l,e=>(r.$.test(e)?(a.color.push(u),s.push(i),n.push(r.$.parse(e))):e.startsWith("var(")?(a.var.push(u),s.push("var"),n.push(e)):(a.number.push(u),s.push(o),n.push(parseFloat(e))),++u,"${}")).split("${}");return{values:n,split:c,indexes:a,types:s}}function u(e){return s(e).values}function c(e){let{split:t,types:n}=s(e),l=t.length;return e=>{let s="";for(let u=0;u"number"==typeof e?0:e,p={test:function(e){var t,n;return isNaN(e)&&(0,a.HD)(e)&&((null===(t=e.match(a.KP))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(a.dA))||void 0===n?void 0:n.length)||0)>0},parse:u,createTransformer:c,getAnimatableNone:function(e){let t=u(e);return c(e)(t.map(d))}}},25218:function(e,t,n){n.d(t,{Fq:function(){return o},Rx:function(){return a},bA:function(){return i}});var r=n(22476);let a={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},o={...a,transform:e=>(0,r.u)(0,1,e)},i={...a,default:1}},72724:function(e,t,n){n.d(t,{$C:function(){return c},RW:function(){return o},aQ:function(){return i},px:function(){return l},vh:function(){return s},vw:function(){return u}});var r=n(93922);let a=e=>({test:t=>(0,r.HD)(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>"".concat(t).concat(e)}),o=a("deg"),i=a("%"),l=a("px"),s=a("vh"),u=a("vw"),c={...i,parse:e=>i.parse(e)/100,transform:e=>i.transform(100*e)}},93922:function(e,t,n){n.d(t,{HD:function(){return l},KP:function(){return a},Nw:function(){return r},dA:function(){return o},mj:function(){return i}});let r=e=>Math.round(1e5*e)/1e5,a=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,o=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,i=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function l(e){return"string"==typeof e}},62212:function(e,t,n){n.d(t,{L:function(){return a}});var r=n(82702);function a(e){return!!((0,r.i)(e)&&e.add)}},82702:function(e,t,n){n.d(t,{i:function(){return r}});let r=e=>!!(e&&e.getVelocity)},14121:function(e,t,n){n.d(t,{b:function(){return o}});var r=n(30698),a=n(82702);function o(e){let t=(0,a.i)(e)?e.get():e;return(0,r.p)(t)?t.toValue():t}},70158:function(e,t,n){n.d(t,{w_:function(){return c}});var r=n(64090),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},o=r.createContext&&r.createContext(a),i=["attr","size","title"];function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(d,l({attr:u({},e.attr)},t),function e(t){return t&&t.map((t,n)=>r.createElement(t.tag,u({key:n},t.attr),e(t.child)))}(e.child))}function d(e){var t=t=>{var n,{attr:a,size:o,title:s}=e,c=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,i),d=o||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),r.createElement("svg",l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,a,c,{className:n,style:u(u({color:e.color||t.color},t.style),e.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),s&&r.createElement("title",null,s),e.children)};return void 0!==o?r.createElement(o.Consumer,null,e=>t(e)):t(a)}},3948:function(e,t,n){n.d(t,{Z:function(){return c}});let r=e=>"object"==typeof e&&null!=e&&1===e.nodeType,a=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,o=(e,t)=>{if(e.clientHeight{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeightot||o>e&&i=t&&l>=n?o-e-r:i>t&&ln?i-t+a:0,l=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},s=(e,t)=>{var n,a,s,u;if("undefined"==typeof document)return[];let{scrollMode:c,block:d,inline:p,boundary:f,skipOverflowHiddenElements:m}=t,h="function"==typeof f?f:e=>e!==f;if(!r(e))throw TypeError("Invalid target");let g=document.scrollingElement||document.documentElement,v=[],b=e;for(;r(b)&&h(b);){if((b=l(b))===g){v.push(b);break}null!=b&&b===document.body&&o(b)&&!o(document.documentElement)||null!=b&&o(b,m)&&v.push(b)}let y=null!=(a=null==(n=window.visualViewport)?void 0:n.width)?a:innerWidth,x=null!=(u=null==(s=window.visualViewport)?void 0:s.height)?u:innerHeight,{scrollX:w,scrollY:P}=window,{height:k,width:C,top:S,right:D,bottom:E,left:T}=e.getBoundingClientRect(),{top:M,right:R,bottom:N,left:j}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),A="start"===d||"nearest"===d?S-M:"end"===d?E+N:S+k/2-M+N,I="center"===p?T+C/2-j+R:"end"===p?D+R:T-j,z=[];for(let e=0;e=0&&T>=0&&E<=x&&D<=y&&S>=a&&E<=l&&T>=s&&D<=o)break;let u=getComputedStyle(t),f=parseInt(u.borderLeftWidth,10),m=parseInt(u.borderTopWidth,10),h=parseInt(u.borderRightWidth,10),b=parseInt(u.borderBottomWidth,10),M=0,R=0,N="offsetWidth"in t?t.offsetWidth-t.clientWidth-f-h:0,j="offsetHeight"in t?t.offsetHeight-t.clientHeight-m-b:0,L="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,O="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(g===t)M="start"===d?A:"end"===d?A-x:"nearest"===d?i(P,P+x,x,m,b,P+A,P+A+k,k):A-x/2,R="start"===p?I:"center"===p?I-y/2:"end"===p?I-y:i(w,w+y,y,f,h,w+I,w+I+C,C),M=Math.max(0,M+P),R=Math.max(0,R+w);else{M="start"===d?A-a-m:"end"===d?A-l+b+j:"nearest"===d?i(a,l,n,m,b+j,A,A+k,k):A-(a+n/2)+j/2,R="start"===p?I-s-f:"center"===p?I-(s+r/2)+N/2:"end"===p?I-o+h+N:i(s,o,r,f,h+N,I,I+C,C);let{scrollLeft:e,scrollTop:u}=t;M=0===O?0:Math.max(0,Math.min(u+M/O,t.scrollHeight-n/O+j)),R=0===L?0:Math.max(0,Math.min(e+R/L,t.scrollWidth-r/L+N)),A+=u-M,I+=e-R}z.push({el:t,top:M,left:R})}return z},u=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"};function c(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(s(e,t));let n="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:r,top:a,left:o}of s(e,u(t)))r.scroll({top:a,left:o,behavior:n})}},51367:function(e,t,n){n.d(t,{m6:function(){return L}});let r=/^\[(.+)\]$/;function a(e,t){let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n}let o=/\s+/;function i(){let e,t,n=0,r="";for(;nt[e]||[];return t.isThemeGetter=!0,t}let s=/^\[(?:([a-z-]+):)?(.+)\]$/i,u=/^\d+\/\d+$/,c=new Set(["px","full","screen"]),d=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,p=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,f=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,m=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,h=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function g(e){return b(e)||c.has(e)||u.test(e)}function v(e){return N(e,"length",j)}function b(e){return!!e&&!Number.isNaN(Number(e))}function y(e){return N(e,"number",b)}function x(e){return!!e&&Number.isInteger(Number(e))}function w(e){return e.endsWith("%")&&b(e.slice(0,-1))}function P(e){return s.test(e)}function k(e){return d.test(e)}let C=new Set(["length","size","percentage"]);function S(e){return N(e,C,A)}function D(e){return N(e,"position",A)}let E=new Set(["image","url"]);function T(e){return N(e,E,z)}function M(e){return N(e,"",I)}function R(){return!0}function N(e,t,n){let r=s.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))}function j(e){return p.test(e)&&!f.test(e)}function A(){return!1}function I(e){return m.test(e)}function z(e){return h.test(e)}let L=function(e){let t,n,l;for(var s=arguments.length,u=Array(s>1?s-1:0),c=1;cvoid 0,set:()=>{}};let t=0,n=new Map,r=new Map;function a(a,o){n.set(a,o),++t>e&&(t=0,r=n,n=new Map)}return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(a(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):a(e,t)}}}((i=u.reduce((e,t)=>t(e),e())).cacheSize),splitModifiers:function(e){let t=e.separator,n=1===t.length,r=t[0],a=t.length;return function(e){let o;let i=[],l=0,s=0;for(let u=0;us?o-s:void 0}}}(i),...function(e){let t=function(e){var t;let{theme:n,prefix:r}=e,o={nextPart:new Map,validators:[]};return(t=Object.entries(e.classGroups),r?t.map(e=>{let[t,n]=e;return[t,n.map(e=>"string"==typeof e?r+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(e=>{let[t,n]=e;return[r+t,n]})):e)]}):t).forEach(e=>{let[t,r]=e;(function e(t,n,r,o){t.forEach(t=>{if("string"==typeof t){(""===t?n:a(n,t)).classGroupId=r;return}if("function"==typeof t){if(t.isThemeGetter){e(t(o),n,r,o);return}n.validators.push({validator:t,classGroupId:r});return}Object.entries(t).forEach(t=>{let[i,l]=t;e(l,a(n,i),r,o)})})})(r,o,t,n)}),o}(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:function(e){let n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),function e(t,n){var r;if(0===t.length)return n.classGroupId;let a=t[0],o=n.nextPart.get(a),i=o?e(t.slice(1),o):void 0;if(i)return i;if(0===n.validators.length)return;let l=t.join("-");return null===(r=n.validators.find(e=>{let{validator:t}=e;return t(l)}))||void 0===r?void 0:r.classGroupId}(n,t)||function(e){if(r.test(e)){let t=r.exec(e)[1],n=null==t?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}(e)},getConflictingClassGroupIds:function(e,t){let r=n[e]||[];return t&&o[e]?[...r,...o[e]]:r}}}(i)}).cache.get,l=t.cache.set,d=p,p(o)};function p(e){let r=n(e);if(r)return r;let a=function(e,t){let{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:a}=t,i=new Set;return e.trim().split(o).map(e=>{let{modifiers:t,hasImportantModifier:a,baseClassName:o,maybePostfixModifierPosition:i}=n(e),l=r(i?o.substring(0,i):o),s=!!i;if(!l){if(!i||!(l=r(o)))return{isTailwindClass:!1,originalClassName:e};s=!1}let u=(function(e){if(e.length<=1)return e;let t=[],n=[];return e.forEach(e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)}),t.push(...n.sort()),t})(t).join(":");return{isTailwindClass:!0,modifierId:a?u+"!":u,classGroupId:l,originalClassName:e,hasPostfixModifier:s}}).reverse().filter(e=>{if(!e.isTailwindClass)return!0;let{modifierId:t,classGroupId:n,hasPostfixModifier:r}=e,o=t+n;return!i.has(o)&&(i.add(o),a(n,r).forEach(e=>i.add(t+e)),!0)}).reverse().map(e=>e.originalClassName).join(" ")}(e,t);return l(e,a),a}return function(){return d(i.apply(null,arguments))}}(function(){let e=l("colors"),t=l("spacing"),n=l("blur"),r=l("brightness"),a=l("borderColor"),o=l("borderRadius"),i=l("borderSpacing"),s=l("borderWidth"),u=l("contrast"),c=l("grayscale"),d=l("hueRotate"),p=l("invert"),f=l("gap"),m=l("gradientColorStops"),h=l("gradientColorStopPositions"),C=l("inset"),E=l("margin"),N=l("opacity"),j=l("padding"),A=l("saturate"),I=l("scale"),z=l("sepia"),L=l("skew"),O=l("space"),K=l("translate"),V=()=>["auto","contain","none"],B=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto",P,t],W=()=>[P,t],_=()=>["",g,v],U=()=>["auto",b,P],G=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],H=()=>["solid","dashed","dotted","double","none"],Z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],J=()=>["start","end","center","between","around","evenly","stretch"],q=()=>["","0",P],X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>[b,y],$=()=>[b,P];return{cacheSize:500,separator:":",theme:{colors:[R],spacing:[g,v],blur:["none","",k,P],brightness:Y(),borderColor:[e],borderRadius:["none","","full",k,P],borderSpacing:W(),borderWidth:_(),contrast:Y(),grayscale:q(),hueRotate:$(),invert:q(),gap:W(),gradientColorStops:[e],gradientColorStopPositions:[w,v],inset:F(),margin:F(),opacity:Y(),padding:W(),saturate:Y(),scale:Y(),sepia:q(),skew:$(),space:W(),translate:W()},classGroups:{aspect:[{aspect:["auto","square","video",P]}],container:["container"],columns:[{columns:[k]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...G(),P]}],overflow:[{overflow:B()}],"overflow-x":[{"overflow-x":B()}],"overflow-y":[{"overflow-y":B()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[C]}],"inset-x":[{"inset-x":[C]}],"inset-y":[{"inset-y":[C]}],start:[{start:[C]}],end:[{end:[C]}],top:[{top:[C]}],right:[{right:[C]}],bottom:[{bottom:[C]}],left:[{left:[C]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",x,P]}],basis:[{basis:F()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",P]}],grow:[{grow:q()}],shrink:[{shrink:q()}],order:[{order:["first","last","none",x,P]}],"grid-cols":[{"grid-cols":[R]}],"col-start-end":[{col:["auto",{span:["full",x,P]},P]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[R]}],"row-start-end":[{row:["auto",{span:[x,P]},P]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",P]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",P]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...J()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...J(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...J(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[j]}],px:[{px:[j]}],py:[{py:[j]}],ps:[{ps:[j]}],pe:[{pe:[j]}],pt:[{pt:[j]}],pr:[{pr:[j]}],pb:[{pb:[j]}],pl:[{pl:[j]}],m:[{m:[E]}],mx:[{mx:[E]}],my:[{my:[E]}],ms:[{ms:[E]}],me:[{me:[E]}],mt:[{mt:[E]}],mr:[{mr:[E]}],mb:[{mb:[E]}],ml:[{ml:[E]}],"space-x":[{"space-x":[O]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[O]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",P,t]}],"min-w":[{"min-w":[P,t,"min","max","fit"]}],"max-w":[{"max-w":[P,t,"none","full","min","max","fit","prose",{screen:[k]},k]}],h:[{h:[P,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[P,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[P,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[P,t,"auto","min","max","fit"]}],"font-size":[{text:["base",k,v]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",y]}],"font-family":[{font:[R]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",P]}],"line-clamp":[{"line-clamp":["none",b,y]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",g,P]}],"list-image":[{"list-image":["none",P]}],"list-style-type":[{list:["none","disc","decimal",P]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[N]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...H(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",g,v]}],"underline-offset":[{"underline-offset":["auto",g,P]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:W()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",P]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",P]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[N]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...G(),D]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",S]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},T]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[N]}],"border-style":[{border:[...H(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[N]}],"divide-style":[{divide:H()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...H()]}],"outline-offset":[{"outline-offset":[g,P]}],"outline-w":[{outline:[g,v]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[N]}],"ring-offset-w":[{"ring-offset":[g,v]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",k,M]}],"shadow-color":[{shadow:[R]}],opacity:[{opacity:[N]}],"mix-blend":[{"mix-blend":Z()}],"bg-blend":[{"bg-blend":Z()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",k,P]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[p]}],saturate:[{saturate:[A]}],sepia:[{sepia:[z]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[N]}],"backdrop-saturate":[{"backdrop-saturate":[A]}],"backdrop-sepia":[{"backdrop-sepia":[z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",P]}],duration:[{duration:$()}],ease:[{ease:["linear","in","out","in-out",P]}],delay:[{delay:$()}],animate:[{animate:["none","spin","ping","pulse","bounce",P]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[I]}],"scale-x":[{"scale-x":[I]}],"scale-y":[{"scale-y":[I]}],rotate:[{rotate:[x,P]}],"translate-x":[{"translate-x":[K]}],"translate-y":[{"translate-y":[K]}],"skew-x":[{"skew-x":[L]}],"skew-y":[{"skew-y":[L]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",P]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",P]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":W()}],"scroll-mx":[{"scroll-mx":W()}],"scroll-my":[{"scroll-my":W()}],"scroll-ms":[{"scroll-ms":W()}],"scroll-me":[{"scroll-me":W()}],"scroll-mt":[{"scroll-mt":W()}],"scroll-mr":[{"scroll-mr":W()}],"scroll-mb":[{"scroll-mb":W()}],"scroll-ml":[{"scroll-ml":W()}],"scroll-p":[{"scroll-p":W()}],"scroll-px":[{"scroll-px":W()}],"scroll-py":[{"scroll-py":W()}],"scroll-ps":[{"scroll-ps":W()}],"scroll-pe":[{"scroll-pe":W()}],"scroll-pt":[{"scroll-pt":W()}],"scroll-pr":[{"scroll-pr":W()}],"scroll-pb":[{"scroll-pb":W()}],"scroll-pl":[{"scroll-pl":W()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",P]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[g,v,y]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})},69703:function(e,t,n){n.d(t,{_T:function(){return a},ev:function(){return o},pi:function(){return r}});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function o(e,t,n){if(n||2==arguments.length)for(var r,a=0,o=t.length;a1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]})},5786:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return u}});let n=r(1312),o=r(2139);function u(e,t){return(0,o.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6159:function(e,t){"use strict";function r(e){var t,r;t=self.__next_s,r=()=>{e()},t&&t.length?t.reduce((e,t)=>{let[r,n]=t;return e.then(()=>new Promise((e,t)=>{let o=document.createElement("script");if(n)for(let e in n)"children"!==e&&o.setAttribute(e,n[e]);r?(o.src=r,o.onload=()=>e(),o.onerror=t):n&&(o.innerHTML=n.children,setTimeout(e)),document.head.appendChild(o)}))},Promise.resolve()).catch(e=>{console.error(e)}).then(()=>{r()}):r()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"appBootstrap",{enumerable:!0,get:function(){return r}}),window.next={version:"14.1.0",appDir:!0},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5355:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"callServer",{enumerable:!0,get:function(){return o}});let n=r(7690);async function o(e,t){let r=(0,n.getServerActionDispatcher)();if(!r)throw Error("Invariant: missing action dispatcher.");return new Promise((n,o)=>{r({actionId:e,actionArgs:t,resolve:n,reject:o})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},945:function(e,t,r){"use strict";let n,o;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hydrate",{enumerable:!0,get:function(){return C}});let u=r(6921),l=r(1884),a=r(3827);r(9338);let i=u._(r(7600)),c=l._(r(4090)),s=r(7355),f=r(7484);r(8599);let d=u._(r(4101)),p=r(5355),h=r(4950),y=r(5367),_=window.console.error;window.console.error=function(){for(var e=arguments.length,t=Array(e),r=0;r{if((0,h.isNextRouterError)(e.error)){e.preventDefault();return}});let v=document,b=()=>{let{pathname:e,search:t}=location;return e+t},g=new TextEncoder,m=!1,P=!1,j=null;function R(e){if(0===e[0])n=[];else if(1===e[0]){if(!n)throw Error("Unexpected server data: missing bootstrap script.");o?o.enqueue(g.encode(e[1])):n.push(e[1])}else 2===e[0]&&(j=e[1])}let O=function(){o&&!P&&(o.close(),P=!0,n=void 0),m=!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",O,!1):O();let S=self.__next_f=self.__next_f||[];S.forEach(R),S.push=R;let E=new Map;function w(e){let{cacheKey:t}=e;c.default.useEffect(()=>{E.delete(t)});let r=function(e){let t=E.get(e);if(t)return t;let r=new ReadableStream({start(e){n&&(n.forEach(t=>{e.enqueue(g.encode(t))}),m&&!P&&(e.close(),P=!0,n=void 0)),o=e}}),u=(0,s.createFromReadableStream)(r,{callServer:p.callServer});return E.set(e,u),u}(t);return(0,c.use)(r)}let M=c.default.StrictMode;function T(e){let{children:t}=e;return t}function x(e){return(0,a.jsx)(w,{...e,cacheKey:b()})}function C(){let e=(0,y.createMutableActionQueue)(),t=(0,a.jsx)(M,{children:(0,a.jsx)(f.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,a.jsx)(y.ActionQueueContext.Provider,{value:e,children:(0,a.jsx)(T,{children:(0,a.jsx)(x,{})})})})}),r={onRecoverableError:d.default};"__next_error__"===document.documentElement.id?i.default.createRoot(v,r).render(t):c.default.startTransition(()=>i.default.hydrateRoot(v,t,{...r,formState:j}))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5317:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(9590),(0,r(6159).appBootstrap)(()=>{let{hydrate:e}=r(945);r(7690),r(5613),e()}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9590:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(269);{let e=r.u;r.u=function(){for(var t=arguments.length,r=Array(t),n=0;n(l(function(){var e;let t=document.getElementsByName(u)[0];if(null==t?void 0:null==(e=t.shadowRoot)?void 0:e.childNodes[0])return t.shadowRoot.childNodes[0];{let e=document.createElement(u);e.style.cssText="position:absolute";let t=document.createElement("div");return t.ariaLive="assertive",t.id="__next-route-announcer__",t.role="alert",t.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal",e.attachShadow({mode:"open"}).appendChild(t),document.body.appendChild(e),t}}()),()=>{let e=document.getElementsByTagName(u)[0];(null==e?void 0:e.isConnected)&&document.body.removeChild(e)}),[]);let[a,i]=(0,n.useState)(""),c=(0,n.useRef)();return(0,n.useEffect)(()=>{let e="";if(document.title)e=document.title;else{let t=document.querySelector("h1");t&&(e=t.innerText||t.textContent||"")}void 0!==c.current&&c.current!==e&&i(e),c.current=e},[t]),r?(0,o.createPortal)(a,r):null}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2275:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RSC_HEADER:function(){return r},ACTION:function(){return n},NEXT_ROUTER_STATE_TREE:function(){return o},NEXT_ROUTER_PREFETCH_HEADER:function(){return u},NEXT_URL:function(){return l},RSC_CONTENT_TYPE_HEADER:function(){return a},RSC_VARY_HEADER:function(){return i},FLIGHT_PARAMETERS:function(){return c},NEXT_RSC_UNION_QUERY:function(){return s},NEXT_DID_POSTPONE_HEADER:function(){return f}});let r="RSC",n="Next-Action",o="Next-Router-State-Tree",u="Next-Router-Prefetch",l="Next-Url",a="text/x-component",i=r+", "+o+", "+u+", "+l,c=[[r],[o],[u]],s="_rsc",f="x-nextjs-postponed";("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7690:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getServerActionDispatcher:function(){return O},urlToUrlWithoutFlightMarker:function(){return E},createEmptyCacheNode:function(){return T},default:function(){return A}});let n=r(1884),o=r(3827),u=n._(r(4090)),l=r(8599),a=r(1414),i=r(8419),c=r(4758),s=r(1276),f=r(8955),d=r(4492),p=r(6407),h=r(5786),y=r(2054),_=r(5737),v=r(671),b=r(4399),g=r(2275),m=r(8895),P=r(7379),j=new Map,R=null;function O(){return R}let S={};function E(e){let t=new URL(e,location.origin);if(t.searchParams.delete(g.NEXT_RSC_UNION_QUERY),t.pathname.endsWith(".txt")){let{pathname:e}=t,r=e.endsWith("/index.txt")?10:4;t.pathname=e.slice(0,-r)}return t}function w(e){return e.origin!==window.location.origin}function M(e){let{appRouterState:t,sync:r}=e;return(0,u.useInsertionEffect)(()=>{let{tree:e,pushRef:n,canonicalUrl:o}=t,u={...n.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:e};n.pendingPush&&(0,i.createHrefFromUrl)(new URL(window.location.href))!==o?(n.pendingPush=!1,window.history.pushState(u,"",o)):window.history.replaceState(u,"",o),r(t)},[t,r]),null}function T(){return{lazyData:null,rsc:null,prefetchRsc:null,parallelRoutes:new Map}}function x(e){null==e&&(e={});let t=window.history.state,r=null==t?void 0:t.__NA;r&&(e.__NA=r);let n=null==t?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;return n&&(e.__PRIVATE_NEXTJS_INTERNALS_TREE=n),e}function C(e){let{headCacheNode:t}=e,r=null!==t?t.head:null,n=null!==t?t.prefetchHead:null,o=null!==n?n:r;return(0,u.useDeferredValue)(r,o)}function N(e){let t,{buildId:r,initialHead:n,initialTree:i,initialCanonicalUrl:f,initialSeedData:g,assetPrefix:O,missingSlots:E}=e,T=(0,u.useMemo)(()=>(0,d.createInitialRouterState)({buildId:r,initialSeedData:g,initialCanonicalUrl:f,initialTree:i,initialParallelRoutes:j,isServer:!1,location:window.location,initialHead:n}),[r,g,f,i,n]),[N,A,I]=(0,s.useReducerWithReduxDevtools)(T);(0,u.useEffect)(()=>{j=null},[]);let{canonicalUrl:k}=(0,s.useUnwrapState)(N),{searchParams:U,pathname:D}=(0,u.useMemo)(()=>{let e=new URL(k,window.location.href);return{searchParams:e.searchParams,pathname:(0,P.hasBasePath)(e.pathname)?(0,m.removeBasePath)(e.pathname):e.pathname}},[k]),F=(0,u.useCallback)((e,t,r)=>{(0,u.startTransition)(()=>{A({type:a.ACTION_SERVER_PATCH,flightData:t,previousTree:e,overrideCanonicalUrl:r})})},[A]),L=(0,u.useCallback)((e,t,r)=>{let n=new URL((0,h.addBasePath)(e),location.href);return A({type:a.ACTION_NAVIGATE,url:n,isExternalUrl:w(n),locationSearch:location.search,shouldScroll:null==r||r,navigateType:t})},[A]);R=(0,u.useCallback)(e=>{(0,u.startTransition)(()=>{A({...e,type:a.ACTION_SERVER_ACTION})})},[A]);let H=(0,u.useMemo)(()=>({back:()=>window.history.back(),forward:()=>window.history.forward(),prefetch:(e,t)=>{if((0,p.isBot)(window.navigator.userAgent))return;let r=new URL((0,h.addBasePath)(e),window.location.href);w(r)||(0,u.startTransition)(()=>{var e;A({type:a.ACTION_PREFETCH,url:r,kind:null!=(e=null==t?void 0:t.kind)?e:a.PrefetchKind.FULL})})},replace:(e,t)=>{void 0===t&&(t={}),(0,u.startTransition)(()=>{var r;L(e,"replace",null==(r=t.scroll)||r)})},push:(e,t)=>{void 0===t&&(t={}),(0,u.startTransition)(()=>{var r;L(e,"push",null==(r=t.scroll)||r)})},refresh:()=>{(0,u.startTransition)(()=>{A({type:a.ACTION_REFRESH,origin:window.location.origin})})},fastRefresh:()=>{throw Error("fastRefresh can only be used in development mode. Please use refresh instead.")}}),[A,L]);(0,u.useEffect)(()=>{window.next&&(window.next.router=H)},[H]),(0,u.useEffect)(()=>{function e(e){var t;e.persisted&&(null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE)&&A({type:a.ACTION_RESTORE,url:new URL(window.location.href),tree:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE})}return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[A]);let{pushRef:$}=(0,s.useUnwrapState)(N);if($.mpaNavigation){if(S.pendingMpaPath!==k){let e=window.location;$.pendingPush?e.assign(k):e.replace(k),S.pendingMpaPath=k}(0,u.use)((0,b.createInfinitePromise)())}(0,u.useEffect)(()=>{let e=window.history.pushState.bind(window.history),t=window.history.replaceState.bind(window.history),r=e=>{let t=window.location.href;(0,u.startTransition)(()=>{A({type:a.ACTION_RESTORE,url:new URL(null!=e?e:t,t),tree:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE})})};window.history.pushState=function(t,n,o){return(null==t?void 0:t.__NA)||(null==t?void 0:t._N)||(t=x(t),o&&r(o)),e(t,n,o)},window.history.replaceState=function(e,n,o){return(null==e?void 0:e.__NA)||(null==e?void 0:e._N)||(e=x(e),o&&r(o)),t(e,n,o)};let n=e=>{let{state:t}=e;if(t){if(!t.__NA){window.location.reload();return}(0,u.startTransition)(()=>{A({type:a.ACTION_RESTORE,url:new URL(window.location.href),tree:t.__PRIVATE_NEXTJS_INTERNALS_TREE})})}};return window.addEventListener("popstate",n),()=>{window.history.pushState=e,window.history.replaceState=t,window.removeEventListener("popstate",n)}},[A]);let{cache:B,tree:W,nextUrl:G,focusAndScrollRef:z}=(0,s.useUnwrapState)(N),K=(0,u.useMemo)(()=>(0,v.findHeadInCache)(B,W[1]),[B,W]);if(null!==K){let[e,r]=K;t=(0,o.jsx)(C,{headCacheNode:e},r)}else t=null;let V=(0,o.jsxs)(_.RedirectBoundary,{children:[t,B.rsc,(0,o.jsx)(y.AppRouterAnnouncer,{tree:W})]});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(M,{appRouterState:(0,s.useUnwrapState)(N),sync:I}),(0,o.jsx)(c.PathnameContext.Provider,{value:D,children:(0,o.jsx)(c.SearchParamsContext.Provider,{value:U,children:(0,o.jsx)(l.GlobalLayoutRouterContext.Provider,{value:{buildId:r,changeByServerResponse:F,tree:W,focusAndScrollRef:z,nextUrl:G},children:(0,o.jsx)(l.AppRouterContext.Provider,{value:H,children:(0,o.jsx)(l.LayoutRouterContext.Provider,{value:{childNodes:B.parallelRoutes,tree:W,url:k},children:V})})})})})]})}function A(e){let{globalErrorComponent:t,...r}=e;return(0,o.jsx)(f.ErrorBoundary,{errorComponent:t,children:(0,o.jsx)(N,{...r})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3706:function(e,t,r){"use strict";function n(e){}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"clientHookInServerComponentError",{enumerable:!0,get:function(){return n}}),r(6921),r(4090),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8955:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ErrorBoundaryHandler:function(){return s},GlobalError:function(){return f},default:function(){return d},ErrorBoundary:function(){return p}});let n=r(6921),o=r(3827),u=n._(r(4090)),l=r(5313),a=r(4950),i={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},text:{fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"}};function c(e){let{error:t}=e;if("function"==typeof fetch.__nextGetStaticStore){var r;let e=null==(r=fetch.__nextGetStaticStore())?void 0:r.getStore();if((null==e?void 0:e.isRevalidate)||(null==e?void 0:e.isStaticGeneration))throw console.error(t),t}return null}class s extends u.default.Component{static getDerivedStateFromError(e){if((0,a.isNextRouterError)(e))throw e;return{error:e}}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){return this.state.error?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c,{error:this.state.error}),this.props.errorStyles,this.props.errorScripts,(0,o.jsx)(this.props.errorComponent,{error:this.state.error,reset:this.reset})]}):this.props.children}constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.state={error:null,previousPathname:this.props.pathname}}}function f(e){let{error:t}=e,r=null==t?void 0:t.digest;return(0,o.jsxs)("html",{id:"__next_error__",children:[(0,o.jsx)("head",{}),(0,o.jsxs)("body",{children:[(0,o.jsx)(c,{error:t}),(0,o.jsx)("div",{style:i.error,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("h2",{style:i.text,children:"Application error: a "+(r?"server":"client")+"-side exception has occurred (see the "+(r?"server logs":"browser console")+" for more information)."}),r?(0,o.jsx)("p",{style:i.text,children:"Digest: "+r}):null]})})]})]})}let d=f;function p(e){let{errorComponent:t,errorStyles:r,errorScripts:n,children:u}=e,a=(0,l.usePathname)();return t?(0,o.jsx)(s,{pathname:a,errorComponent:t,errorStyles:r,errorScripts:n,children:u}):(0,o.jsx)(o.Fragment,{children:u})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7127:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DynamicServerError:function(){return n},isDynamicServerError:function(){return o}});let r="DYNAMIC_SERVER_USAGE";class n extends Error{constructor(e){super("Dynamic server usage: "+e),this.description=e,this.digest=r}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4399:function(e,t){"use strict";let r;function n(){return r||(r=new Promise(()=>{})),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createInfinitePromise",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4950:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNextRouterError",{enumerable:!0,get:function(){return u}});let n=r(2322),o=r(6155);function u(e){return e&&e.digest&&((0,o.isRedirectError)(e)||(0,n.isNotFoundError)(e))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5613:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});let n=r(6921),o=r(1884),u=r(3827),l=o._(r(4090)),a=n._(r(9542)),i=r(8599),c=r(3546),s=r(4399),f=r(8955),d=r(2295),p=r(3011),h=r(5737),y=r(1902),_=r(6793),v=r(555),b=["bottom","height","left","right","top","width","x","y"];function g(e,t){let r=e.getBoundingClientRect();return r.top>=0&&r.top<=t}class m extends l.default.Component{componentDidMount(){this.handlePotentialScroll()}componentDidUpdate(){this.props.focusAndScrollRef.apply&&this.handlePotentialScroll()}render(){return this.props.children}constructor(...e){super(...e),this.handlePotentialScroll=()=>{let{focusAndScrollRef:e,segmentPath:t}=this.props;if(e.apply){var r;if(0!==e.segmentPaths.length&&!e.segmentPaths.some(e=>t.every((t,r)=>(0,d.matchSegment)(t,e[r]))))return;let n=null,o=e.hashFragment;if(o&&(n="top"===o?document.body:null!=(r=document.getElementById(o))?r:document.getElementsByName(o)[0]),n||(n=a.default.findDOMNode(this)),!(n instanceof Element))return;for(;!(n instanceof HTMLElement)||function(e){if(["sticky","fixed"].includes(getComputedStyle(e).position))return!0;let t=e.getBoundingClientRect();return b.every(e=>0===t[e])}(n);){if(null===n.nextElementSibling)return;n=n.nextElementSibling}e.apply=!1,e.hashFragment=null,e.segmentPaths=[],(0,p.handleSmoothScroll)(()=>{if(o){n.scrollIntoView();return}let e=document.documentElement,t=e.clientHeight;!g(n,t)&&(e.scrollTop=0,g(n,t)||n.scrollIntoView())},{dontForceLayout:!0,onlyHashChange:e.onlyHashChange}),e.onlyHashChange=!1,n.focus()}}}}function P(e){let{segmentPath:t,children:r}=e,n=(0,l.useContext)(i.GlobalLayoutRouterContext);if(!n)throw Error("invariant global layout router not mounted");return(0,u.jsx)(m,{segmentPath:t,focusAndScrollRef:n.focusAndScrollRef,children:r})}function j(e){let{parallelRouterKey:t,url:r,childNodes:n,segmentPath:o,tree:a,cacheKey:f}=e,p=(0,l.useContext)(i.GlobalLayoutRouterContext);if(!p)throw Error("invariant global layout router not mounted");let{buildId:h,changeByServerResponse:y,tree:_}=p,v=n.get(f);if(void 0===v){let e={lazyData:null,rsc:null,prefetchRsc:null,head:null,parallelRoutes:new Map};v=e,n.set(f,e)}let b=null!==v.prefetchRsc?v.prefetchRsc:v.rsc,g=(0,l.useDeferredValue)(v.rsc,b),m="object"==typeof g&&null!==g&&"function"==typeof g.then?(0,l.use)(g):g;if(!m){let e=v.lazyData;if(null===e){let t=function e(t,r){if(t){let[n,o]=t,u=2===t.length;if((0,d.matchSegment)(r[0],n)&&r[1].hasOwnProperty(o)){if(u){let t=e(void 0,r[1][o]);return[r[0],{...r[1],[o]:[t[0],t[1],t[2],"refetch"]}]}return[r[0],{...r[1],[o]:e(t.slice(2),r[1][o])}]}}return r}(["",...o],_);v.lazyData=e=(0,c.fetchServerResponse)(new URL(r,location.origin),t,p.nextUrl,h)}let[t,n]=(0,l.use)(e);v.lazyData=null,setTimeout(()=>{(0,l.startTransition)(()=>{y(_,t,n)})}),(0,l.use)((0,s.createInfinitePromise)())}return(0,u.jsx)(i.LayoutRouterContext.Provider,{value:{tree:a[1][t],childNodes:v.parallelRoutes,url:r},children:m})}function R(e){let{children:t,loading:r,loadingStyles:n,loadingScripts:o,hasLoading:a}=e;return a?(0,u.jsx)(l.Suspense,{fallback:(0,u.jsxs)(u.Fragment,{children:[n,o,r]}),children:t}):(0,u.jsx)(u.Fragment,{children:t})}function O(e){let{parallelRouterKey:t,segmentPath:r,error:n,errorStyles:o,errorScripts:a,templateStyles:c,templateScripts:s,loading:d,loadingStyles:p,loadingScripts:b,hasLoading:g,template:m,notFound:O,notFoundStyles:S,styles:E}=e,w=(0,l.useContext)(i.LayoutRouterContext);if(!w)throw Error("invariant expected layout router to be mounted");let{childNodes:M,tree:T,url:x}=w,C=M.get(t);C||(C=new Map,M.set(t,C));let N=T[1][t][0],A=(0,_.getSegmentValue)(N),I=[N];return(0,u.jsxs)(u.Fragment,{children:[E,I.map(e=>{let l=(0,_.getSegmentValue)(e),E=(0,v.createRouterCacheKey)(e);return(0,u.jsxs)(i.TemplateContext.Provider,{value:(0,u.jsx)(P,{segmentPath:r,children:(0,u.jsx)(f.ErrorBoundary,{errorComponent:n,errorStyles:o,errorScripts:a,children:(0,u.jsx)(R,{hasLoading:g,loading:d,loadingStyles:p,loadingScripts:b,children:(0,u.jsx)(y.NotFoundBoundary,{notFound:O,notFoundStyles:S,children:(0,u.jsx)(h.RedirectBoundary,{children:(0,u.jsx)(j,{parallelRouterKey:t,url:x,tree:T,childNodes:C,segmentPath:r,cacheKey:E,isActive:A===l})})})})})}),children:[c,s,m]},(0,v.createRouterCacheKey)(e,!0))})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2295:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{matchSegment:function(){return o},canSegmentBeOverridden:function(){return u}});let n=r(2883),o=(e,t)=>"string"==typeof e?"string"==typeof t&&e===t:"string"!=typeof t&&e[0]===t[0]&&e[1]===t[1],u=(e,t)=>{var r;return!Array.isArray(e)&&!!Array.isArray(t)&&(null==(r=(0,n.getSegmentParam)(e))?void 0:r.param)===t[0]};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5313:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return h},useSearchParams:function(){return y},usePathname:function(){return _},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},useServerInsertedHTML:function(){return c.useServerInsertedHTML},useRouter:function(){return v},useParams:function(){return b},useSelectedLayoutSegments:function(){return g},useSelectedLayoutSegment:function(){return m},redirect:function(){return s.redirect},permanentRedirect:function(){return s.permanentRedirect},RedirectType:function(){return s.RedirectType},notFound:function(){return f.notFound}});let n=r(4090),o=r(8599),u=r(4758),l=r(3706),a=r(6793),i=r(3266),c=r(2472),s=r(6155),f=r(2322),d=Symbol("internal for urlsearchparams readonly");function p(){return Error("ReadonlyURLSearchParams cannot be modified")}class h{[Symbol.iterator](){return this[d][Symbol.iterator]()}append(){throw p()}delete(){throw p()}set(){throw p()}sort(){throw p()}constructor(e){this[d]=e,this.entries=e.entries.bind(e),this.forEach=e.forEach.bind(e),this.get=e.get.bind(e),this.getAll=e.getAll.bind(e),this.has=e.has.bind(e),this.keys=e.keys.bind(e),this.values=e.values.bind(e),this.toString=e.toString.bind(e),this.size=e.size}}function y(){(0,l.clientHookInServerComponentError)("useSearchParams");let e=(0,n.useContext)(u.SearchParamsContext);return(0,n.useMemo)(()=>e?new h(e):null,[e])}function _(){return(0,l.clientHookInServerComponentError)("usePathname"),(0,n.useContext)(u.PathnameContext)}function v(){(0,l.clientHookInServerComponentError)("useRouter");let e=(0,n.useContext)(o.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function b(){(0,l.clientHookInServerComponentError)("useParams");let e=(0,n.useContext)(o.GlobalLayoutRouterContext),t=(0,n.useContext)(u.PathParamsContext);return(0,n.useMemo)(()=>(null==e?void 0:e.tree)?function e(t,r){for(let n of(void 0===r&&(r={}),Object.values(t[1]))){let t=n[0],o=Array.isArray(t),u=o?t[1]:t;!u||u.startsWith(i.PAGE_SEGMENT_KEY)||(o&&("c"===t[2]||"oc"===t[2])?r[t[0]]=t[1].split("/"):o&&(r[t[0]]=t[1]),r=e(n,r))}return r}(e.tree):t,[null==e?void 0:e.tree,t])}function g(e){void 0===e&&(e="children"),(0,l.clientHookInServerComponentError)("useSelectedLayoutSegments");let{tree:t}=(0,n.useContext)(o.LayoutRouterContext);return function e(t,r,n,o){let u;if(void 0===n&&(n=!0),void 0===o&&(o=[]),n)u=t[1][r];else{var l;let e=t[1];u=null!=(l=e.children)?l:Object.values(e)[0]}if(!u)return o;let c=u[0],s=(0,a.getSegmentValue)(c);return!s||s.startsWith(i.PAGE_SEGMENT_KEY)?o:(o.push(s),e(u,r,!1,o))}(t,e)}function m(e){void 0===e&&(e="children"),(0,l.clientHookInServerComponentError)("useSelectedLayoutSegment");let t=g(e);return 0===t.length?null:t[0]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1902:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NotFoundBoundary",{enumerable:!0,get:function(){return s}});let n=r(1884),o=r(3827),u=n._(r(4090)),l=r(5313),a=r(2322);r(6184);let i=r(8599);class c extends u.default.Component{componentDidCatch(){}static getDerivedStateFromError(e){if((0,a.isNotFoundError)(e))return{notFoundTriggered:!0};throw e}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.notFoundTriggered?{notFoundTriggered:!1,previousPathname:e.pathname}:{notFoundTriggered:t.notFoundTriggered,previousPathname:e.pathname}}render(){return this.state.notFoundTriggered?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("meta",{name:"robots",content:"noindex"}),!1,this.props.notFoundStyles,this.props.notFound]}):this.props.children}constructor(e){super(e),this.state={notFoundTriggered:!!e.asNotFound,previousPathname:e.pathname}}}function s(e){let{notFound:t,notFoundStyles:r,asNotFound:n,children:a}=e,s=(0,l.usePathname)(),f=(0,u.useContext)(i.MissingSlotContext);return t?(0,o.jsx)(c,{pathname:s,notFound:t,notFoundStyles:r,asNotFound:n,missingSlots:f,children:a}):(0,o.jsx)(o.Fragment,{children:a})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2322:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{notFound:function(){return n},isNotFoundError:function(){return o}});let r="NEXT_NOT_FOUND";function n(){let e=Error(r);throw e.digest=r,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2418:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromiseQueue",{enumerable:!0,get:function(){return c}});let n=r(2299),o=r(3603);var u=o._("_maxConcurrency"),l=o._("_runningCount"),a=o._("_queue"),i=o._("_processNext");class c{enqueue(e){let t,r;let o=new Promise((e,n)=>{t=e,r=n}),u=async()=>{try{n._(this,l)[l]++;let r=await e();t(r)}catch(e){r(e)}finally{n._(this,l)[l]--,n._(this,i)[i]()}};return n._(this,a)[a].push({promiseFn:o,task:u}),n._(this,i)[i](),o}bump(e){let t=n._(this,a)[a].findIndex(t=>t.promiseFn===e);if(t>-1){let e=n._(this,a)[a].splice(t,1)[0];n._(this,a)[a].unshift(e),n._(this,i)[i](!0)}}constructor(e=5){Object.defineProperty(this,i,{value:s}),Object.defineProperty(this,u,{writable:!0,value:void 0}),Object.defineProperty(this,l,{writable:!0,value:void 0}),Object.defineProperty(this,a,{writable:!0,value:void 0}),n._(this,u)[u]=e,n._(this,l)[l]=0,n._(this,a)[a]=[]}}function s(e){if(void 0===e&&(e=!1),(n._(this,l)[l]0){var t;null==(t=n._(this,a)[a].shift())||t.task()}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5737:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectErrorBoundary:function(){return c},RedirectBoundary:function(){return s}});let n=r(1884),o=r(3827),u=n._(r(4090)),l=r(5313),a=r(6155);function i(e){let{redirect:t,reset:r,redirectType:n}=e,o=(0,l.useRouter)();return(0,u.useEffect)(()=>{u.default.startTransition(()=>{n===a.RedirectType.push?o.push(t,{}):o.replace(t,{}),r()})},[t,n,r,o]),null}class c extends u.default.Component{static getDerivedStateFromError(e){if((0,a.isRedirectError)(e))return{redirect:(0,a.getURLFromRedirectError)(e),redirectType:(0,a.getRedirectTypeFromError)(e)};throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?(0,o.jsx)(i,{redirect:e,redirectType:t,reset:()=>this.setState({redirect:null})}):this.props.children}constructor(e){super(e),this.state={redirect:null,redirectType:null}}}function s(e){let{children:t}=e,r=(0,l.useRouter)();return(0,o.jsx)(c,{router:r,children:t})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9510:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return r}}),(n=r||(r={}))[n.SeeOther=303]="SeeOther",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6155:function(e,t,r){"use strict";var n,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectType:function(){return n},getRedirectError:function(){return c},redirect:function(){return s},permanentRedirect:function(){return f},isRedirectError:function(){return d},getURLFromRedirectError:function(){return p},getRedirectTypeFromError:function(){return h},getRedirectStatusCodeFromError:function(){return y}});let u=r(6668),l=r(1264),a=r(9510),i="NEXT_REDIRECT";function c(e,t,r){void 0===r&&(r=a.RedirectStatusCode.TemporaryRedirect);let n=Error(i);n.digest=i+";"+t+";"+e+";"+r+";";let o=u.requestAsyncStorage.getStore();return o&&(n.mutableCookies=o.mutableCookies),n}function s(e,t){void 0===t&&(t="replace");let r=l.actionAsyncStorage.getStore();throw c(e,t,(null==r?void 0:r.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.TemporaryRedirect)}function f(e,t){void 0===t&&(t="replace");let r=l.actionAsyncStorage.getStore();throw c(e,t,(null==r?void 0:r.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.PermanentRedirect)}function d(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r,n,o]=e.digest.split(";",4),u=Number(o);return t===i&&("replace"===r||"push"===r)&&"string"==typeof n&&!isNaN(u)&&u in a.RedirectStatusCode}function p(e){return d(e)?e.digest.split(";",3)[2]:null}function h(e){if(!d(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function y(e){if(!d(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(o=n||(n={})).push="push",o.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1778:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(1884),o=r(3827),u=n._(r(4090)),l=r(8599);function a(){let e=(0,u.useContext)(l.TemplateContext);return(0,o.jsx)(o.Fragment,{children:e})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6668:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(693).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9671:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyFlightData",{enumerable:!0,get:function(){return u}});let n=r(4765),o=r(0);function u(e,t,r,u){void 0===u&&(u=!1);let[l,a,i]=r.slice(-3);if(null===a)return!1;if(3===r.length){let r=a[2];t.rsc=r,t.prefetchRsc=null,(0,n.fillLazyItemsTillLeafWithHead)(t,e,l,a,i,u)}else t.rsc=e.rsc,t.prefetchRsc=e.prefetchRsc,t.parallelRoutes=new Map(e.parallelRoutes),(0,o.fillCacheWithNewSubTreeData)(t,e,r,u);return!0}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7098:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{applyRouterStatePatchToFullTree:function(){return a},applyRouterStatePatchToTreeSkipDefault:function(){return i}});let n=r(3266),o=r(2295);function u(e,t,r){void 0===r&&(r=!1);let[l,a]=e,[i,c]=t;if(!r&&i===n.DEFAULT_SEGMENT_KEY&&l!==n.DEFAULT_SEGMENT_KEY)return e;if((0,o.matchSegment)(l,i)){let t={};for(let e in a)void 0!==c[e]?t[e]=u(a[e],c[e],r):t[e]=a[e];for(let e in c)t[e]||(t[e]=c[e]);let n=[l,t];return e[2]&&(n[2]=e[2]),e[3]&&(n[3]=e[3]),e[4]&&(n[4]=e[4]),n}return t}function l(e,t,r,n){let a;void 0===n&&(n=!1);let[i,c,,,s]=t;if(1===e.length)return u(t,r,n);let[f,d]=e;if(!(0,o.matchSegment)(f,i))return null;if(2===e.length)a=u(c[d],r,n);else if(null===(a=l(e.slice(2),c[d],r,n)))return null;let p=[e[0],{...c,[d]:a}];return s&&(p[4]=!0),p}function a(e,t,r){return l(e,t,r,!0)}function i(e,t,r){return l(e,t,r,!1)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4038:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{extractPathFromFlightRouterState:function(){return c},computeChangedPath:function(){return s}});let n=r(4749),o=r(3266),u=r(2295),l=e=>"/"===e[0]?e.slice(1):e,a=e=>"string"==typeof e?e:e[1];function i(e){return e.reduce((e,t)=>""===(t=l(t))||(0,o.isGroupSegment)(t)?e:e+"/"+t,"")||"/"}function c(e){var t;let r=Array.isArray(e[0])?e[0][1]:e[0];if(r===o.DEFAULT_SEGMENT_KEY||n.INTERCEPTION_ROUTE_MARKERS.some(e=>r.startsWith(e)))return;if(r.startsWith(o.PAGE_SEGMENT_KEY))return"";let u=[r],l=null!=(t=e[1])?t:{},a=l.children?c(l.children):void 0;if(void 0!==a)u.push(a);else for(let[e,t]of Object.entries(l)){if("children"===e)continue;let r=c(t);void 0!==r&&u.push(r)}return i(u)}function s(e,t){let r=function e(t,r){let[o,l]=t,[i,s]=r,f=a(o),d=a(i);if(n.INTERCEPTION_ROUTE_MARKERS.some(e=>f.startsWith(e)||d.startsWith(e)))return"";if(!(0,u.matchSegment)(o,i)){var p;return null!=(p=c(r))?p:""}for(let t in l)if(s[t]){let r=e(l[t],s[t]);if(null!==r)return a(i)+"/"+r}return null}(e,t);return null==r||"/"===r?r:i(r.split("/"))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8419:function(e,t){"use strict";function r(e,t){return void 0===t&&(t=!0),e.pathname+e.search+(t?e.hash:"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createHrefFromUrl",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4492:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createInitialRouterState",{enumerable:!0,get:function(){return l}});let n=r(8419),o=r(4765),u=r(4038);function l(e){var t;let{buildId:r,initialTree:l,initialSeedData:a,initialCanonicalUrl:i,initialParallelRoutes:c,isServer:s,location:f,initialHead:d}=e,p={lazyData:null,rsc:a[2],prefetchRsc:null,parallelRoutes:s?new Map:c};return(null===c||0===c.size)&&(0,o.fillLazyItemsTillLeafWithHead)(p,void 0,l,a,d),{buildId:r,tree:l,cache:p,prefetchCache:new Map,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{apply:!1,onlyHashChange:!1,hashFragment:null,segmentPaths:[]},canonicalUrl:f?(0,n.createHrefFromUrl)(f):i,nextUrl:null!=(t=(0,u.extractPathFromFlightRouterState)(l)||(null==f?void 0:f.pathname))?t:null}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},555:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRouterCacheKey",{enumerable:!0,get:function(){return o}});let n=r(3266);function o(e,t){return(void 0===t&&(t=!1),Array.isArray(e))?(e[0]+"|"+e[1]+"|"+e[2]).toLowerCase():t&&e.startsWith(n.PAGE_SEGMENT_KEY)?n.PAGE_SEGMENT_KEY:e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3546:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fetchServerResponse",{enumerable:!0,get:function(){return s}});let n=r(2275),o=r(7690),u=r(5355),l=r(1414),a=r(1),{createFromFetch:i}=r(7355);function c(e){return[(0,o.urlToUrlWithoutFlightMarker)(e).toString(),void 0]}async function s(e,t,r,s,f){let d={[n.RSC_HEADER]:"1",[n.NEXT_ROUTER_STATE_TREE]:encodeURIComponent(JSON.stringify(t))};f===l.PrefetchKind.AUTO&&(d[n.NEXT_ROUTER_PREFETCH_HEADER]="1"),r&&(d[n.NEXT_URL]=r);let p=(0,a.hexHash)([d[n.NEXT_ROUTER_PREFETCH_HEADER]||"0",d[n.NEXT_ROUTER_STATE_TREE],d[n.NEXT_URL]].join(","));try{let t=new URL(e);t.pathname.endsWith("/")?t.pathname+="index.txt":t.pathname+=".txt",t.searchParams.set(n.NEXT_RSC_UNION_QUERY,p);let r=await fetch(t,{credentials:"same-origin",headers:d}),l=(0,o.urlToUrlWithoutFlightMarker)(r.url),a=r.redirected?l:void 0,f=r.headers.get("content-type")||"",h=!!r.headers.get(n.NEXT_DID_POSTPONE_HEADER),y=f===n.RSC_CONTENT_TYPE_HEADER;if(y||(y=f.startsWith("text/plain")),!y||!r.ok)return e.hash&&(l.hash=e.hash),c(l.toString());let[_,v]=await i(Promise.resolve(r),{callServer:u.callServer});if(s!==_)return c(r.url);return[v,a,h]}catch(t){return console.error("Failed to fetch RSC payload for "+e+". Falling back to browser navigation.",t),[e.toString(),void 0]}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2950:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillCacheWithDataProperty",{enumerable:!0,get:function(){return function e(t,r,o,u){let l=o.length<=2,[a,i]=o,c=(0,n.createRouterCacheKey)(i),s=r.parallelRoutes.get(a),f=t.parallelRoutes.get(a);f&&f!==s||(f=new Map(s),t.parallelRoutes.set(a,f));let d=null==s?void 0:s.get(c),p=f.get(c);if(l){p&&p.lazyData&&p!==d||f.set(c,{lazyData:u(),rsc:null,prefetchRsc:null,parallelRoutes:new Map});return}if(!p||!d){p||f.set(c,{lazyData:u(),rsc:null,prefetchRsc:null,parallelRoutes:new Map});return}return p===d&&(p={lazyData:p.lazyData,rsc:p.rsc,prefetchRsc:p.prefetchRsc,parallelRoutes:new Map(p.parallelRoutes)},f.set(c,p)),e(p,d,o.slice(2),u)}}});let n=r(555);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},0:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillCacheWithNewSubTreeData",{enumerable:!0,get:function(){return function e(t,r,l,a){let i=l.length<=5,[c,s]=l,f=(0,u.createRouterCacheKey)(s),d=r.parallelRoutes.get(c);if(!d)return;let p=t.parallelRoutes.get(c);p&&p!==d||(p=new Map(d),t.parallelRoutes.set(c,p));let h=d.get(f),y=p.get(f);if(i){if(!y||!y.lazyData||y===h){let e=l[3];y={lazyData:null,rsc:e[2],prefetchRsc:null,parallelRoutes:h?new Map(h.parallelRoutes):new Map},h&&(0,n.invalidateCacheByRouterState)(y,h,l[2]),(0,o.fillLazyItemsTillLeafWithHead)(y,h,l[2],e,l[4],a),p.set(f,y)}return}y&&h&&(y===h&&(y={lazyData:y.lazyData,rsc:y.rsc,prefetchRsc:y.prefetchRsc,parallelRoutes:new Map(y.parallelRoutes)},p.set(f,y)),e(y,h,l.slice(2),a))}}});let n=r(6152),o=r(4765),u=r(555);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4765:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillLazyItemsTillLeafWithHead",{enumerable:!0,get:function(){return function e(t,r,o,u,l,a){if(0===Object.keys(o[1]).length){t.head=l;return}for(let i in o[1]){let c;let s=o[1][i],f=s[0],d=(0,n.createRouterCacheKey)(f),p=null!==u&&void 0!==u[1][i]?u[1][i]:null;if(r){let n=r.parallelRoutes.get(i);if(n){let r,o=new Map(n),u=o.get(d);r=null!==p?{lazyData:null,rsc:p[2],prefetchRsc:null,parallelRoutes:new Map(null==u?void 0:u.parallelRoutes)}:a&&u?{lazyData:u.lazyData,rsc:u.rsc,prefetchRsc:u.prefetchRsc,parallelRoutes:new Map(u.parallelRoutes)}:{lazyData:null,rsc:null,prefetchRsc:null,parallelRoutes:new Map(null==u?void 0:u.parallelRoutes)},o.set(d,r),e(r,u,s,p||null,l,a),t.parallelRoutes.set(i,o);continue}}c=null!==p?{lazyData:null,rsc:p[2],prefetchRsc:null,parallelRoutes:new Map}:{lazyData:null,rsc:null,prefetchRsc:null,parallelRoutes:new Map};let h=t.parallelRoutes.get(i);h?h.set(d,c):t.parallelRoutes.set(i,new Map([[d,c]])),e(c,void 0,s,p,l,a)}}}});let n=r(555);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1486:function(e,t){"use strict";var r,n;function o(e){let{kind:t,prefetchTime:r,lastUsedTime:n}=e;return Date.now()<(null!=n?n:r)+3e4?n?"reusable":"fresh":"auto"===t&&Date.now(){for(let r of t[0]){let t=r.slice(0,-3),n=r[r.length-3],l=r[r.length-2],a=r[r.length-1];"string"!=typeof t&&function(e,t,r,n,l){let a=e;for(let e=0;e{c(e,t)})}function i(e,t,r,n){let o=e[1],l=null!==t?t[1]:null,a=new Map;for(let e in o){let t=o[e],c=null!==l?l[e]:null,s=t[0],f=(0,u.createRouterCacheKey)(s),d=i(t,void 0===c?null:c,r,n),p=new Map;p.set(f,d),a.set(e,p)}let c=0===a.size,s=null!==t?t[2]:null;return{lazyData:null,parallelRoutes:a,prefetchRsc:n||void 0===s?null:s,prefetchHead:!n&&c?r:null,rsc:p(),head:c?p():null}}function c(e,t){let r=e.node;if(null===r)return;let n=e.children;if(null===n)s(e.route,r,t);else for(let e of n.values())c(e,t);e.node=null}function s(e,t,r){let n=e[1],o=t.parallelRoutes;for(let e in n){let t=n[e],l=o.get(e);if(void 0===l)continue;let a=t[0],i=(0,u.createRouterCacheKey)(a),c=l.get(i);void 0!==c&&s(t,c,r)}let l=t.rsc;d(l)&&(null===r?l.resolve(null):l.reject(r));let a=t.head;d(a)&&a.resolve(null)}let f=Symbol();function d(e){return e&&e.tag===f}function p(){let e,t;let r=new Promise((r,n)=>{e=r,t=n});return r.status="pending",r.resolve=t=>{"pending"===r.status&&(r.status="fulfilled",r.value=t,e(t))},r.reject=e=>{"pending"===r.status&&(r.status="rejected",r.reason=e,t(e))},r.tag=f,r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5606:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createPrefetchCacheKey",{enumerable:!0,get:function(){return l}});let n=r(1312),o=r(7027),u=r(8419);function l(e,t){let r=(0,u.createHrefFromUrl)(e,!1);return t&&!(0,o.pathHasPrefix)(r,t)?(0,n.addPathPrefix)(r,""+t+"%"):r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6503:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fastRefreshReducer",{enumerable:!0,get:function(){return n}}),r(3546),r(8419),r(7098),r(1956),r(5596),r(8875),r(9671),r(7690),r(2224);let n=function(e,t){return e};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},671:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findHeadInCache",{enumerable:!0,get:function(){return o}});let n=r(555);function o(e,t){return function e(t,r,o){if(0===Object.keys(r).length)return[t,o];for(let u in r){let[l,a]=r[u],i=t.parallelRoutes.get(u);if(!i)continue;let c=(0,n.createRouterCacheKey)(l),s=i.get(c);if(!s)continue;let f=e(s,a,o+"/"+c);if(f)return f}return null}(e,t,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6793:function(e,t){"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5596:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleExternalUrl:function(){return g},navigateReducer:function(){return P}});let n=r(3546),o=r(8419),u=r(3074),l=r(2950),a=r(7098),i=r(3556),c=r(1956),s=r(1414),f=r(8875),d=r(9671),p=r(1486),h=r(7052),y=r(5678),_=r(7690),v=r(3266);r(6384);let b=r(5606);function g(e,t,r,n){return t.mpaNavigation=!0,t.canonicalUrl=r,t.pendingPush=n,t.scrollableSegments=void 0,(0,f.handleMutable)(e,t)}function m(e){let t=[],[r,n]=e;if(0===Object.keys(n).length)return[[r]];for(let[e,o]of Object.entries(n))for(let n of m(o))""===r?t.push([e,...n]):t.push([r,e,...n]);return t}let P=function(e,t){let{url:r,isExternalUrl:P,navigateType:j,shouldScroll:R}=t,O={},{hash:S}=r,E=(0,o.createHrefFromUrl)(r),w="push"===j;if((0,h.prunePrefetchCache)(e.prefetchCache),O.preserveCustomHistoryState=!1,P)return g(e,O,r.toString(),w);let M=(0,b.createPrefetchCacheKey)(r,e.nextUrl),T=e.prefetchCache.get(M);if(!T){let t={data:(0,n.fetchServerResponse)(r,e.tree,e.nextUrl,e.buildId,void 0),kind:s.PrefetchKind.TEMPORARY,prefetchTime:Date.now(),treeAtTimeOfPrefetch:e.tree,lastUsedTime:null};e.prefetchCache.set(M,t),T=t}let x=(0,p.getPrefetchEntryCacheStatus)(T),{treeAtTimeOfPrefetch:C,data:N}=T;return y.prefetchQueue.bump(N),N.then(t=>{let[s,h,y]=t;if(T&&!T.lastUsedTime&&(T.lastUsedTime=Date.now()),"string"==typeof s)return g(e,O,s,w);let b=e.tree,P=e.cache,j=[];for(let t of s){let o=t.slice(0,-4),s=t.slice(-3)[0],f=["",...o],h=(0,a.applyRouterStatePatchToTreeSkipDefault)(f,b,s);if(null===h&&(h=(0,a.applyRouterStatePatchToTreeSkipDefault)(f,C,s)),null!==h){if((0,c.isNavigatingToNewRootLayout)(b,h))return g(e,O,E,w);let a=(0,_.createEmptyCacheNode)(),R=(0,d.applyFlightData)(P,a,t,(null==T?void 0:T.kind)==="auto"&&x===p.PrefetchCacheEntryStatus.reusable);for(let t of((!R&&x===p.PrefetchCacheEntryStatus.stale||y)&&(R=function(e,t,r,n,o){let u=!1;for(let a of(e.rsc=t.rsc,e.prefetchRsc=t.prefetchRsc,e.parallelRoutes=new Map(t.parallelRoutes),m(n).map(e=>[...r,...e])))(0,l.fillCacheWithDataProperty)(e,t,a,o),u=!0;return u}(a,P,o,s,()=>(0,n.fetchServerResponse)(r,b,e.nextUrl,e.buildId))),(0,i.shouldHardNavigate)(f,b)?(a.rsc=P.rsc,a.prefetchRsc=P.prefetchRsc,(0,u.invalidateCacheBelowFlightSegmentPath)(a,P,o),O.cache=a):R&&(O.cache=a),P=a,b=h,m(s))){let e=[...o,...t];e[e.length-1]!==v.DEFAULT_SEGMENT_KEY&&j.push(e)}}}return O.patchedTree=b,O.canonicalUrl=h?(0,o.createHrefFromUrl)(h):E,O.pendingPush=w,O.scrollableSegments=j,O.hashFragment=S,O.shouldScroll=R,(0,f.handleMutable)(e,O)},()=>e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5678:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{prefetchQueue:function(){return c},prefetchReducer:function(){return s}});let n=r(3546),o=r(1414),u=r(7052),l=r(2275),a=r(2418),i=r(5606),c=new a.PromiseQueue(5);function s(e,t){(0,u.prunePrefetchCache)(e.prefetchCache);let{url:r}=t;r.searchParams.delete(l.NEXT_RSC_UNION_QUERY);let a=(0,i.createPrefetchCacheKey)(r,e.nextUrl),s=e.prefetchCache.get(a);if(s&&(s.kind===o.PrefetchKind.TEMPORARY&&e.prefetchCache.set(a,{...s,kind:t.kind}),!(s.kind===o.PrefetchKind.AUTO&&t.kind===o.PrefetchKind.FULL)))return e;let f=c.enqueue(()=>(0,n.fetchServerResponse)(r,e.tree,e.nextUrl,e.buildId,t.kind));return e.prefetchCache.set(a,{treeAtTimeOfPrefetch:e.tree,data:f,kind:t.kind,prefetchTime:Date.now(),lastUsedTime:null}),e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7052:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"prunePrefetchCache",{enumerable:!0,get:function(){return o}});let n=r(1486);function o(e){for(let[t,r]of e)(0,n.getPrefetchEntryCacheStatus)(r)===n.PrefetchCacheEntryStatus.expired&&e.delete(t)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7491:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"refreshReducer",{enumerable:!0,get:function(){return d}});let n=r(3546),o=r(8419),u=r(7098),l=r(1956),a=r(5596),i=r(8875),c=r(4765),s=r(7690),f=r(2224);function d(e,t){let{origin:r}=t,d={},p=e.canonicalUrl,h=e.tree;d.preserveCustomHistoryState=!1;let y=(0,s.createEmptyCacheNode)();return y.lazyData=(0,n.fetchServerResponse)(new URL(p,r),[h[0],h[1],h[2],"refetch"],e.nextUrl,e.buildId),y.lazyData.then(r=>{let[n,s]=r;if("string"==typeof n)return(0,a.handleExternalUrl)(e,d,n,e.pushRef.pendingPush);for(let r of(y.lazyData=null,n)){if(3!==r.length)return console.log("REFRESH FAILED"),e;let[n]=r,i=(0,u.applyRouterStatePatchToFullTree)([""],h,n);if(null===i)return(0,f.handleSegmentMismatch)(e,t,n);if((0,l.isNavigatingToNewRootLayout)(h,i))return(0,a.handleExternalUrl)(e,d,p,e.pushRef.pendingPush);let _=s?(0,o.createHrefFromUrl)(s):void 0;s&&(d.canonicalUrl=_);let[v,b]=r.slice(-2);if(null!==v){let e=v[2];y.rsc=e,y.prefetchRsc=null,(0,c.fillLazyItemsTillLeafWithHead)(y,void 0,n,v,b),d.cache=y,d.prefetchCache=new Map}d.patchedTree=i,d.canonicalUrl=p,h=i}return(0,i.handleMutable)(e,d)},()=>e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7222:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"restoreReducer",{enumerable:!0,get:function(){return u}});let n=r(8419),o=r(4038);function u(e,t){var r;let{url:u,tree:l}=t,a=(0,n.createHrefFromUrl)(u),i=e.cache;return{buildId:e.buildId,canonicalUrl:a,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:e.focusAndScrollRef,cache:i,prefetchCache:e.prefetchCache,tree:l,nextUrl:null!=(r=(0,o.extractPathFromFlightRouterState)(l))?r:u.pathname}}r(6384),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},899:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverActionReducer",{enumerable:!0,get:function(){return b}});let n=r(5355),o=r(2275),u=r(5786),l=r(8419),a=r(5596),i=r(7098),c=r(1956),s=r(8875),f=r(4765),d=r(7690),p=r(4038),h=r(2224),{createFromFetch:y,encodeReply:_}=r(7355);async function v(e,t){let r,{actionId:l,actionArgs:a}=t,i=await _(a),c=(0,p.extractPathFromFlightRouterState)(e.tree),s=e.nextUrl&&e.nextUrl!==c,f=await fetch("",{method:"POST",headers:{Accept:o.RSC_CONTENT_TYPE_HEADER,[o.ACTION]:l,[o.NEXT_ROUTER_STATE_TREE]:encodeURIComponent(JSON.stringify(e.tree)),...s?{[o.NEXT_URL]:e.nextUrl}:{}},body:i}),d=f.headers.get("x-action-redirect");try{let e=JSON.parse(f.headers.get("x-action-revalidated")||"[[],0,0]");r={paths:e[0]||[],tag:!!e[1],cookie:e[2]}}catch(e){r={paths:[],tag:!1,cookie:!1}}let h=d?new URL((0,u.addBasePath)(d),new URL(e.canonicalUrl,window.location.href)):void 0;if(f.headers.get("content-type")===o.RSC_CONTENT_TYPE_HEADER){let e=await y(Promise.resolve(f),{callServer:n.callServer});if(d){let[,t]=null!=e?e:[];return{actionFlightData:t,redirectLocation:h,revalidatedParts:r}}let[t,[,o]]=null!=e?e:[];return{actionResult:t,actionFlightData:o,redirectLocation:h,revalidatedParts:r}}return{redirectLocation:h,revalidatedParts:r}}function b(e,t){let{resolve:r,reject:n}=t,o={},u=e.canonicalUrl,p=e.tree;return o.preserveCustomHistoryState=!1,o.inFlightServerAction=v(e,t),o.inFlightServerAction.then(n=>{let{actionResult:y,actionFlightData:_,redirectLocation:v}=n;if(v&&(e.pushRef.pendingPush=!0,o.pendingPush=!0),!_)return(o.actionResultResolved||(r(y),o.actionResultResolved=!0),v)?(0,a.handleExternalUrl)(e,o,v.href,e.pushRef.pendingPush):e;if("string"==typeof _)return(0,a.handleExternalUrl)(e,o,_,e.pushRef.pendingPush);for(let r of(o.inFlightServerAction=null,_)){if(3!==r.length)return console.log("SERVER ACTION APPLY FAILED"),e;let[n]=r,l=(0,i.applyRouterStatePatchToFullTree)([""],p,n);if(null===l)return(0,h.handleSegmentMismatch)(e,t,n);if((0,c.isNavigatingToNewRootLayout)(p,l))return(0,a.handleExternalUrl)(e,o,u,e.pushRef.pendingPush);let[s,y]=r.slice(-2),_=null!==s?s[2]:null;if(null!==_){let e=(0,d.createEmptyCacheNode)();e.rsc=_,e.prefetchRsc=null,(0,f.fillLazyItemsTillLeafWithHead)(e,void 0,n,s,y),o.cache=e,o.prefetchCache=new Map}o.patchedTree=l,o.canonicalUrl=u,p=l}if(v){let e=(0,l.createHrefFromUrl)(v,!1);o.canonicalUrl=e}return o.actionResultResolved||(r(y),o.actionResultResolved=!0),(0,s.handleMutable)(e,o)},t=>{if("rejected"===t.status)return o.actionResultResolved||(n(t.reason),o.actionResultResolved=!0),e;throw t})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4173:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverPatchReducer",{enumerable:!0,get:function(){return f}});let n=r(8419),o=r(7098),u=r(1956),l=r(5596),a=r(9671),i=r(8875),c=r(7690),s=r(2224);function f(e,t){let{flightData:r,overrideCanonicalUrl:f}=t,d={};if(d.preserveCustomHistoryState=!1,"string"==typeof r)return(0,l.handleExternalUrl)(e,d,r,e.pushRef.pendingPush);let p=e.tree,h=e.cache;for(let i of r){let r=i.slice(0,-4),[y]=i.slice(-3,-2),_=(0,o.applyRouterStatePatchToTreeSkipDefault)(["",...r],p,y);if(null===_)return(0,s.handleSegmentMismatch)(e,t,y);if((0,u.isNavigatingToNewRootLayout)(p,_))return(0,l.handleExternalUrl)(e,d,e.canonicalUrl,e.pushRef.pendingPush);let v=f?(0,n.createHrefFromUrl)(f):void 0;v&&(d.canonicalUrl=v);let b=(0,c.createEmptyCacheNode)();(0,a.applyFlightData)(h,b,i),d.patchedTree=_,d.cache=b,h=b,p=_}return(0,i.handleMutable)(e,d)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1414:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PrefetchKind:function(){return r},ACTION_REFRESH:function(){return o},ACTION_NAVIGATE:function(){return u},ACTION_RESTORE:function(){return l},ACTION_SERVER_PATCH:function(){return a},ACTION_PREFETCH:function(){return i},ACTION_FAST_REFRESH:function(){return c},ACTION_SERVER_ACTION:function(){return s},isThenable:function(){return f}});let o="refresh",u="navigate",l="restore",a="server-patch",i="prefetch",c="fast-refresh",s="server-action";function f(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(n=r||(r={})).AUTO="auto",n.FULL="full",n.TEMPORARY="temporary",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6878:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reducer",{enumerable:!0,get:function(){return f}});let n=r(1414),o=r(5596),u=r(4173),l=r(7222),a=r(7491),i=r(5678),c=r(6503),s=r(899),f=function(e,t){switch(t.type){case n.ACTION_NAVIGATE:return(0,o.navigateReducer)(e,t);case n.ACTION_SERVER_PATCH:return(0,u.serverPatchReducer)(e,t);case n.ACTION_RESTORE:return(0,l.restoreReducer)(e,t);case n.ACTION_REFRESH:return(0,a.refreshReducer)(e,t);case n.ACTION_FAST_REFRESH:return(0,c.fastRefreshReducer)(e,t);case n.ACTION_PREFETCH:return(0,i.prefetchReducer)(e,t);case n.ACTION_SERVER_ACTION:return(0,s.serverActionReducer)(e,t);default:throw Error("Unknown action")}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3556:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"shouldHardNavigate",{enumerable:!0,get:function(){return function e(t,r){let[o,u]=r,[l,a]=t;return(0,n.matchSegment)(l,o)?!(t.length<=2)&&e(t.slice(2),u[a]):!!Array.isArray(l)}}});let n=r(2295);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5797:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createSearchParamsBailoutProxy",{enumerable:!0,get:function(){return o}});let n=r(8181);function o(){return new Proxy({},{get(e,t){"string"==typeof t&&(0,n.staticGenerationBailout)("searchParams."+t)}})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"staticGenerationAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(693).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8181:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isStaticGenBailoutError:function(){return a},staticGenerationBailout:function(){return c}});let n=r(7127),o=r(2),u="NEXT_STATIC_GEN_BAILOUT";class l extends Error{constructor(...e){super(...e),this.code=u}}function a(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===u}function i(e,t){let{dynamic:r,link:n}=t||{};return"Page"+(r?' with `dynamic = "'+r+'"`':"")+" couldn't be rendered statically because it used `"+e+"`."+(n?" See more info here: "+n:"")}let c=(e,t)=>{let{dynamic:r,link:u}=void 0===t?{}:t,a=o.staticGenerationAsyncStorage.getStore();if(!a)return!1;if(a.forceStatic)return!0;if(a.dynamicShouldError)throw new l(i(e,{link:u,dynamic:null!=r?r:"error"}));let c=i(e,{dynamic:r,link:"https://nextjs.org/docs/messages/dynamic-server-error"});if(null==a.postpone||a.postpone.call(a,e),a.revalidate=0,a.isStaticGeneration){let t=new n.DynamicServerError(c);throw a.dynamicUsageDescription=e,a.dynamicUsageStack=t.stack,t}return!1};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7831:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}}),r(6921);let n=r(3827);r(4090);let o=r(5797);function u(e){let{Component:t,propsForComponent:r,isStaticGeneration:u}=e;if(u){let e=(0,o.createSearchParamsBailoutProxy)();return(0,n.jsx)(t,{searchParams:e,...r})}return(0,n.jsx)(t,{...r})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1276:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{useUnwrapState:function(){return a},useReducerWithReduxDevtools:function(){return i}});let n=r(1884)._(r(4090)),o=r(1414),u=r(5367);function l(e){if(e instanceof Map){let t={};for(let[r,n]of e.entries()){if("function"==typeof n){t[r]="fn()";continue}if("object"==typeof n&&null!==n){if(n.$$typeof){t[r]=n.$$typeof.toString();continue}if(n._bundlerConfig){t[r]="FlightData";continue}}t[r]=l(n)}return t}if("object"==typeof e&&null!==e){let t={};for(let r in e){let n=e[r];if("function"==typeof n){t[r]="fn()";continue}if("object"==typeof n&&null!==n){if(n.$$typeof){t[r]=n.$$typeof.toString();continue}if(n.hasOwnProperty("_bundlerConfig")){t[r]="FlightData";continue}}t[r]=l(n)}return t}return Array.isArray(e)?e.map(l):e}function a(e){return(0,o.isThenable)(e)?(0,n.use)(e):e}let i=function(e){let[t,r]=n.default.useState(e),o=(0,n.useContext)(u.ActionQueueContext);if(!o)throw Error("Invariant: Missing ActionQueueContext");let a=(0,n.useRef)(),i=(0,n.useRef)();return(0,n.useEffect)(()=>{if(!a.current&&!1!==i.current){if(void 0===i.current&&void 0===window.__REDUX_DEVTOOLS_EXTENSION__){i.current=!1;return}return a.current=window.__REDUX_DEVTOOLS_EXTENSION__.connect({instanceId:8e3,name:"next-router"}),a.current&&(a.current.init(l(e)),o&&(o.devToolsInstance=a.current)),()=>{a.current=void 0}}},[e,o]),[t,(0,n.useCallback)(t=>{o.state||(o.state=e),o.dispatch(t,r)},[o,e]),(0,n.useCallback)(e=>{a.current&&a.current.send({type:"RENDER_SYNC"},l(e))},[])]};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7379:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return o}});let n=r(7027);function o(e){return(0,n.pathHasPrefix)(e,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2139:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return u}});let n=r(5868),o=r(6506),u=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:u}=(0,o.parsePath)(e);return""+(0,n.removeTrailingSlash)(t)+r+u};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4101:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(9775);function o(e){let t="function"==typeof reportError?reportError:e=>{window.console.error(e)};(0,n.isBailoutToCSRError)(e)||t(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8895:function(e,t,r){"use strict";function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(7379),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7600:function(e,t,r){"use strict";var n=r(9542);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},9542:function(e,t,r){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(8790)},5450:function(e,t,r){"use strict";var n=r(9542),o=r(4090),u={stream:!0},l=new Map;function a(e){var t=r(e);return"function"!=typeof t.then||"fulfilled"===t.status?null:(t.then(function(e){t.status="fulfilled",t.value=e},function(e){t.status="rejected",t.reason=e}),t)}function i(){}var c=new Map,s=r.u;r.u=function(e){var t=c.get(e);return void 0!==t?t:s(e)};var f=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,d=Symbol.for("react.element"),p=Symbol.for("react.provider"),h=Symbol.for("react.server_context"),y=Symbol.for("react.lazy"),_=Symbol.for("react.default_value"),v=Symbol.iterator,b=Array.isArray,g=Object.getPrototypeOf,m=Object.prototype,P=new WeakMap,j=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function R(e,t,r,n){this.status=e,this.value=t,this.reason=r,this._response=n}function O(e){switch(e.status){case"resolved_model":C(e);break;case"resolved_module":N(e)}switch(e.status){case"fulfilled":return e.value;case"pending":case"blocked":case"cyclic":throw e;default:throw e.reason}}function S(e,t){for(var r=0;rh?(_=h,h=3,p++):(_=0,h=3);continue;case 2:44===(g=d[p++])?h=4:v=v<<4|(96d.length&&(g=-1)}var m=d.byteOffset+p;if(-1>>1,o=e[n];if(0>>1;nu(i,r))cu(s,i)?(e[n]=s,e[c]=r,n=c):(e[n]=i,e[a]=r,n=a);else if(cu(s,r))e[n]=s,e[c]=r,n=c;else break}}return t}function u(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var l,a=performance;t.unstable_now=function(){return a.now()}}else{var i=Date,c=i.now();t.unstable_now=function(){return i.now()-c}}var s=[],f=[],d=1,p=null,h=3,y=!1,_=!1,v=!1,b="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,m="undefined"!=typeof setImmediate?setImmediate:null;function P(e){for(var t=n(f);null!==t;){if(null===t.callback)o(f);else if(t.startTime<=e)o(f),t.sortIndex=t.expirationTime,r(s,t);else break;t=n(f)}}function j(e){if(v=!1,P(e),!_){if(null!==n(s))_=!0,C();else{var t=n(f);null!==t&&N(j,t.startTime-e)}}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var R=!1,O=-1,S=5,E=-1;function w(){return!(t.unstable_now()-Ee&&w());){var a=p.callback;if("function"==typeof a){p.callback=null,h=p.priorityLevel;var i=a(p.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof i){p.callback=i,P(e),r=!0;break t}p===n(s)&&o(s),P(e)}else o(s);p=n(s)}if(null!==p)r=!0;else{var c=n(f);null!==c&&N(j,c.startTime-e),r=!1}}break e}finally{p=null,h=u,y=!1}r=void 0}}finally{r?l():R=!1}}}if("function"==typeof m)l=function(){m(M)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,x=T.port2;T.port1.onmessage=M,l=function(){x.postMessage(null)}}else l=function(){b(M,0)};function C(){R||(R=!0,l())}function N(e,r){O=b(function(){e(t.unstable_now())},r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){_||y||(_=!0,C())},t.unstable_forceFrameRate=function(e){0>e||125l?(e.sortIndex=u,r(f,e),null===n(s)&&e===n(f)&&(v?(g(O),O=-1):v=!0,N(j,u-l))):(e.sortIndex=a,r(s,e),_||y||(_=!0,C())),e},t.unstable_shouldYield=w,t.unstable_wrapCallback=function(e){var t=h;return function(){var r=h;h=t;try{return e.apply(this,arguments)}finally{h=r}}}},8172:function(e,t,r){"use strict";e.exports=r(2531)},2883:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentParam",{enumerable:!0,get:function(){return o}});let n=r(4749);function o(e){let t=n.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{type:"optional-catchall",param:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{type:"catchall",param:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{type:"dynamic",param:e.slice(1,-1)}:null}},4749:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},isInterceptionRouteAppPath:function(){return u},extractInterceptionRouteInformation:function(){return l}});let n=r(7178),o=["(..)(..)","(.)","(..)","(...)"];function u(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function l(e){let t,r,u;for(let n of e.split("/"))if(r=o.find(e=>n.startsWith(e))){[t,u]=e.split(r,2);break}if(!t||!r||!u)throw Error("Invalid interception route: ".concat(e,". Must be in the format //(..|...|..)(..)/"));switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":u="/"===t?"/".concat(u):t+"/"+u;break;case"(..)":if("/"===t)throw Error("Invalid interception route: ".concat(e,". Cannot use (..) marker at the root level, use (.) instead."));u=t.split("/").slice(0,-1).concat(u).join("/");break;case"(...)":u="/"+u;break;case"(..)(..)":let l=t.split("/");if(l.length<=2)throw Error("Invalid interception route: ".concat(e,". Cannot use (..)(..) marker at the root level or one level up."));u=l.slice(0,-2).concat(u).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:u}}},8599:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AppRouterContext:function(){return o},LayoutRouterContext:function(){return u},GlobalLayoutRouterContext:function(){return l},TemplateContext:function(){return a},MissingSlotContext:function(){return i}});let n=r(6921)._(r(4090)),o=n.default.createContext(null),u=n.default.createContext(null),l=n.default.createContext(null),a=n.default.createContext(null),i=n.default.createContext(new Set)},1:function(e,t){"use strict";function r(e){let t=5381;for(let r=0;r>>0}function n(e){return r(e).toString(36).slice(0,5)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{djb2Hash:function(){return r},hexHash:function(){return n}})},7484:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=r(6921)._(r(4090)).default.createContext({})},4758:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{SearchParamsContext:function(){return o},PathnameContext:function(){return u},PathParamsContext:function(){return l}});let n=r(4090),o=(0,n.createContext)(null),u=(0,n.createContext)(null),l=(0,n.createContext)(null)},9775:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{BailoutToCSRError:function(){return n},isBailoutToCSRError:function(){return o}});let r="BAILOUT_TO_CLIENT_SIDE_RENDERING";class n extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=r}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}},9798:function(e,t){"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},5367:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ActionQueueContext:function(){return a},createMutableActionQueue:function(){return s}});let n=r(1884),o=r(1414),u=r(6878),l=n._(r(4090)),a=l.default.createContext(null);function i(e,t){null!==e.pending&&(e.pending=e.pending.next,null!==e.pending&&c({actionQueue:e,action:e.pending,setState:t}))}async function c(e){let{actionQueue:t,action:r,setState:n}=e,u=t.state;if(!u)throw Error("Invariant: Router state not initialized");t.pending=r;let l=r.payload,a=t.action(u,l);function c(e){if(r.discarded){t.needsRefresh&&null===t.pending&&(t.needsRefresh=!1,t.dispatch({type:o.ACTION_REFRESH,origin:window.location.origin},n));return}t.state=e,t.devToolsInstance&&t.devToolsInstance.send(l,e),i(t,n),r.resolve(e)}(0,o.isThenable)(a)?a.then(c,e=>{i(t,n),r.reject(e)}):c(a)}function s(){let e={state:null,dispatch:(t,r)=>(function(e,t,r){let n={resolve:r,reject:()=>{}};if(t.type!==o.ACTION_RESTORE){let e=new Promise((e,t)=>{n={resolve:e,reject:t}});(0,l.startTransition)(()=>{r(e)})}let u={payload:t,next:null,resolve:n.resolve,reject:n.reject};null===e.pending?(e.last=u,c({actionQueue:e,action:u,setState:r})):t.type===o.ACTION_NAVIGATE?(e.pending.discarded=!0,e.last=u,e.pending.payload.type===o.ACTION_SERVER_ACTION&&(e.needsRefresh=!0),c({actionQueue:e,action:u,setState:r})):(null!==e.last&&(e.last.next=u),e.last=u)})(e,t,r),action:async(e,t)=>{if(null===e)throw Error("Invariant: Router state not initialized");return(0,u.reducer)(e,t)},pending:null,last:null};return e}},1312:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});let n=r(6506);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:u}=(0,n.parsePath)(e);return""+t+r+o+u}},7178:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return u},normalizeRscURL:function(){return l}});let n=r(9798),o=r(3266);function u(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function l(e){return e.replace(/\.rsc($|\?)/,"$1")}},3011:function(e,t){"use strict";function r(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},6407:function(e,t){"use strict";function r(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return r}})},6506:function(e,t){"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},7027:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let n=r(6506);function o(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},5868:function(e,t){"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},3266:function(e,t){"use strict";function r(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isGroupSegment:function(){return r},PAGE_SEGMENT_KEY:function(){return n},DEFAULT_SEGMENT_KEY:function(){return o}});let n="__PAGE__",o="__DEFAULT__"},2472:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return o},useServerInsertedHTML:function(){return u}});let n=r(1884)._(r(4090)),o=n.default.createContext(null);function u(e){let t=(0,n.useContext)(o);t&&t(e)}},6184:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},693:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return u}});let r=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}}let o=globalThis.AsyncLocalStorage;function u(){return o?new o:new n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2299:function(e,t,r){"use strict";function n(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}r.r(t),r.d(t,{_:function(){return n},_class_private_field_loose_base:function(){return n}})},3603:function(e,t,r){"use strict";r.r(t),r.d(t,{_:function(){return o},_class_private_field_loose_key:function(){return o}});var n=0;function o(e){return"__private_"+n+++"_"+e}},6921:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:function(){return n},_interop_require_default:function(){return n}})},1884:function(e,t,r){"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var a=u?Object.getOwnPropertyDescriptor(e,l):null;a&&(a.get||a.set)?Object.defineProperty(o,l,a):o[l]=e[l]}return o.default=e,r&&r.set(e,o),o}r.r(t),r.d(t,{_:function(){return o},_interop_require_wildcard:function(){return o}})}}]);
\ No newline at end of file
diff --git a/_next/static/chunks/69-b125e06f5812ab2c.js b/_next/static/chunks/69-b125e06f5812ab2c.js
new file mode 100644
index 0000000..6127086
--- /dev/null
+++ b/_next/static/chunks/69-b125e06f5812ab2c.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[69],{60269:function(e,t){"use strict";function r(){return""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return r}})},9338:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]})},45786:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return u}});let n=r(51312),o=r(82139);function u(e,t){return(0,o.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},66159:function(e,t){"use strict";function r(e){var t,r;t=self.__next_s,r=()=>{e()},t&&t.length?t.reduce((e,t)=>{let[r,n]=t;return e.then(()=>new Promise((e,t)=>{let o=document.createElement("script");if(n)for(let e in n)"children"!==e&&o.setAttribute(e,n[e]);r?(o.src=r,o.onload=()=>e(),o.onerror=t):n&&(o.innerHTML=n.children,setTimeout(e)),document.head.appendChild(o)}))},Promise.resolve()).catch(e=>{console.error(e)}).then(()=>{r()}):r()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"appBootstrap",{enumerable:!0,get:function(){return r}}),window.next={version:"14.1.0",appDir:!0},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15355:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"callServer",{enumerable:!0,get:function(){return o}});let n=r(47690);async function o(e,t){let r=(0,n.getServerActionDispatcher)();if(!r)throw Error("Invariant: missing action dispatcher.");return new Promise((n,o)=>{r({actionId:e,actionArgs:t,resolve:n,reject:o})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},70945:function(e,t,r){"use strict";let n,o;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hydrate",{enumerable:!0,get:function(){return C}});let u=r(86921),l=r(91884),a=r(3827);r(9338);let i=u._(r(47600)),c=l._(r(64090)),s=r(97355),f=r(27484);r(38599);let d=u._(r(4101)),p=r(15355),h=r(74950),y=r(85367),_=window.console.error;window.console.error=function(){for(var e=arguments.length,t=Array(e),r=0;r{if((0,h.isNextRouterError)(e.error)){e.preventDefault();return}});let v=document,b=()=>{let{pathname:e,search:t}=location;return e+t},g=new TextEncoder,m=!1,P=!1,j=null;function R(e){if(0===e[0])n=[];else if(1===e[0]){if(!n)throw Error("Unexpected server data: missing bootstrap script.");o?o.enqueue(g.encode(e[1])):n.push(e[1])}else 2===e[0]&&(j=e[1])}let O=function(){o&&!P&&(o.close(),P=!0,n=void 0),m=!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",O,!1):O();let S=self.__next_f=self.__next_f||[];S.forEach(R),S.push=R;let E=new Map;function w(e){let{cacheKey:t}=e;c.default.useEffect(()=>{E.delete(t)});let r=function(e){let t=E.get(e);if(t)return t;let r=new ReadableStream({start(e){n&&(n.forEach(t=>{e.enqueue(g.encode(t))}),m&&!P&&(e.close(),P=!0,n=void 0)),o=e}}),u=(0,s.createFromReadableStream)(r,{callServer:p.callServer});return E.set(e,u),u}(t);return(0,c.use)(r)}let M=c.default.StrictMode;function T(e){let{children:t}=e;return t}function x(e){return(0,a.jsx)(w,{...e,cacheKey:b()})}function C(){let e=(0,y.createMutableActionQueue)(),t=(0,a.jsx)(M,{children:(0,a.jsx)(f.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,a.jsx)(y.ActionQueueContext.Provider,{value:e,children:(0,a.jsx)(T,{children:(0,a.jsx)(x,{})})})})}),r={onRecoverableError:d.default};"__next_error__"===document.documentElement.id?i.default.createRoot(v,r).render(t):c.default.startTransition(()=>i.default.hydrateRoot(v,t,{...r,formState:j}))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},35317:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(99590),(0,r(66159).appBootstrap)(()=>{let{hydrate:e}=r(70945);r(47690),r(5613),e()}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},99590:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(60269);{let e=r.u;r.u=function(){for(var t=arguments.length,r=Array(t),n=0;n(l(function(){var e;let t=document.getElementsByName(u)[0];if(null==t?void 0:null==(e=t.shadowRoot)?void 0:e.childNodes[0])return t.shadowRoot.childNodes[0];{let e=document.createElement(u);e.style.cssText="position:absolute";let t=document.createElement("div");return t.ariaLive="assertive",t.id="__next-route-announcer__",t.role="alert",t.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal",e.attachShadow({mode:"open"}).appendChild(t),document.body.appendChild(e),t}}()),()=>{let e=document.getElementsByTagName(u)[0];(null==e?void 0:e.isConnected)&&document.body.removeChild(e)}),[]);let[a,i]=(0,n.useState)(""),c=(0,n.useRef)();return(0,n.useEffect)(()=>{let e="";if(document.title)e=document.title;else{let t=document.querySelector("h1");t&&(e=t.innerText||t.textContent||"")}void 0!==c.current&&c.current!==e&&i(e),c.current=e},[t]),r?(0,o.createPortal)(a,r):null}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},42275:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RSC_HEADER:function(){return r},ACTION:function(){return n},NEXT_ROUTER_STATE_TREE:function(){return o},NEXT_ROUTER_PREFETCH_HEADER:function(){return u},NEXT_URL:function(){return l},RSC_CONTENT_TYPE_HEADER:function(){return a},RSC_VARY_HEADER:function(){return i},FLIGHT_PARAMETERS:function(){return c},NEXT_RSC_UNION_QUERY:function(){return s},NEXT_DID_POSTPONE_HEADER:function(){return f}});let r="RSC",n="Next-Action",o="Next-Router-State-Tree",u="Next-Router-Prefetch",l="Next-Url",a="text/x-component",i=r+", "+o+", "+u+", "+l,c=[[r],[o],[u]],s="_rsc",f="x-nextjs-postponed";("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},47690:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getServerActionDispatcher:function(){return O},urlToUrlWithoutFlightMarker:function(){return E},createEmptyCacheNode:function(){return T},default:function(){return A}});let n=r(91884),o=r(3827),u=n._(r(64090)),l=r(38599),a=r(91414),i=r(68419),c=r(14758),s=r(21276),f=r(48955),d=r(94492),p=r(16407),h=r(45786),y=r(92054),_=r(85737),v=r(40671),b=r(44399),g=r(42275),m=r(18895),P=r(87379),j=new Map,R=null;function O(){return R}let S={};function E(e){let t=new URL(e,location.origin);if(t.searchParams.delete(g.NEXT_RSC_UNION_QUERY),t.pathname.endsWith(".txt")){let{pathname:e}=t,r=e.endsWith("/index.txt")?10:4;t.pathname=e.slice(0,-r)}return t}function w(e){return e.origin!==window.location.origin}function M(e){let{appRouterState:t,sync:r}=e;return(0,u.useInsertionEffect)(()=>{let{tree:e,pushRef:n,canonicalUrl:o}=t,u={...n.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:e};n.pendingPush&&(0,i.createHrefFromUrl)(new URL(window.location.href))!==o?(n.pendingPush=!1,window.history.pushState(u,"",o)):window.history.replaceState(u,"",o),r(t)},[t,r]),null}function T(){return{lazyData:null,rsc:null,prefetchRsc:null,parallelRoutes:new Map}}function x(e){null==e&&(e={});let t=window.history.state,r=null==t?void 0:t.__NA;r&&(e.__NA=r);let n=null==t?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;return n&&(e.__PRIVATE_NEXTJS_INTERNALS_TREE=n),e}function C(e){let{headCacheNode:t}=e,r=null!==t?t.head:null,n=null!==t?t.prefetchHead:null,o=null!==n?n:r;return(0,u.useDeferredValue)(r,o)}function N(e){let t,{buildId:r,initialHead:n,initialTree:i,initialCanonicalUrl:f,initialSeedData:g,assetPrefix:O,missingSlots:E}=e,T=(0,u.useMemo)(()=>(0,d.createInitialRouterState)({buildId:r,initialSeedData:g,initialCanonicalUrl:f,initialTree:i,initialParallelRoutes:j,isServer:!1,location:window.location,initialHead:n}),[r,g,f,i,n]),[N,A,I]=(0,s.useReducerWithReduxDevtools)(T);(0,u.useEffect)(()=>{j=null},[]);let{canonicalUrl:k}=(0,s.useUnwrapState)(N),{searchParams:U,pathname:D}=(0,u.useMemo)(()=>{let e=new URL(k,window.location.href);return{searchParams:e.searchParams,pathname:(0,P.hasBasePath)(e.pathname)?(0,m.removeBasePath)(e.pathname):e.pathname}},[k]),F=(0,u.useCallback)((e,t,r)=>{(0,u.startTransition)(()=>{A({type:a.ACTION_SERVER_PATCH,flightData:t,previousTree:e,overrideCanonicalUrl:r})})},[A]),L=(0,u.useCallback)((e,t,r)=>{let n=new URL((0,h.addBasePath)(e),location.href);return A({type:a.ACTION_NAVIGATE,url:n,isExternalUrl:w(n),locationSearch:location.search,shouldScroll:null==r||r,navigateType:t})},[A]);R=(0,u.useCallback)(e=>{(0,u.startTransition)(()=>{A({...e,type:a.ACTION_SERVER_ACTION})})},[A]);let H=(0,u.useMemo)(()=>({back:()=>window.history.back(),forward:()=>window.history.forward(),prefetch:(e,t)=>{if((0,p.isBot)(window.navigator.userAgent))return;let r=new URL((0,h.addBasePath)(e),window.location.href);w(r)||(0,u.startTransition)(()=>{var e;A({type:a.ACTION_PREFETCH,url:r,kind:null!=(e=null==t?void 0:t.kind)?e:a.PrefetchKind.FULL})})},replace:(e,t)=>{void 0===t&&(t={}),(0,u.startTransition)(()=>{var r;L(e,"replace",null==(r=t.scroll)||r)})},push:(e,t)=>{void 0===t&&(t={}),(0,u.startTransition)(()=>{var r;L(e,"push",null==(r=t.scroll)||r)})},refresh:()=>{(0,u.startTransition)(()=>{A({type:a.ACTION_REFRESH,origin:window.location.origin})})},fastRefresh:()=>{throw Error("fastRefresh can only be used in development mode. Please use refresh instead.")}}),[A,L]);(0,u.useEffect)(()=>{window.next&&(window.next.router=H)},[H]),(0,u.useEffect)(()=>{function e(e){var t;e.persisted&&(null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE)&&A({type:a.ACTION_RESTORE,url:new URL(window.location.href),tree:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE})}return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[A]);let{pushRef:$}=(0,s.useUnwrapState)(N);if($.mpaNavigation){if(S.pendingMpaPath!==k){let e=window.location;$.pendingPush?e.assign(k):e.replace(k),S.pendingMpaPath=k}(0,u.use)((0,b.createInfinitePromise)())}(0,u.useEffect)(()=>{let e=window.history.pushState.bind(window.history),t=window.history.replaceState.bind(window.history),r=e=>{let t=window.location.href;(0,u.startTransition)(()=>{A({type:a.ACTION_RESTORE,url:new URL(null!=e?e:t,t),tree:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE})})};window.history.pushState=function(t,n,o){return(null==t?void 0:t.__NA)||(null==t?void 0:t._N)||(t=x(t),o&&r(o)),e(t,n,o)},window.history.replaceState=function(e,n,o){return(null==e?void 0:e.__NA)||(null==e?void 0:e._N)||(e=x(e),o&&r(o)),t(e,n,o)};let n=e=>{let{state:t}=e;if(t){if(!t.__NA){window.location.reload();return}(0,u.startTransition)(()=>{A({type:a.ACTION_RESTORE,url:new URL(window.location.href),tree:t.__PRIVATE_NEXTJS_INTERNALS_TREE})})}};return window.addEventListener("popstate",n),()=>{window.history.pushState=e,window.history.replaceState=t,window.removeEventListener("popstate",n)}},[A]);let{cache:B,tree:W,nextUrl:G,focusAndScrollRef:z}=(0,s.useUnwrapState)(N),K=(0,u.useMemo)(()=>(0,v.findHeadInCache)(B,W[1]),[B,W]);if(null!==K){let[e,r]=K;t=(0,o.jsx)(C,{headCacheNode:e},r)}else t=null;let V=(0,o.jsxs)(_.RedirectBoundary,{children:[t,B.rsc,(0,o.jsx)(y.AppRouterAnnouncer,{tree:W})]});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(M,{appRouterState:(0,s.useUnwrapState)(N),sync:I}),(0,o.jsx)(c.PathnameContext.Provider,{value:D,children:(0,o.jsx)(c.SearchParamsContext.Provider,{value:U,children:(0,o.jsx)(l.GlobalLayoutRouterContext.Provider,{value:{buildId:r,changeByServerResponse:F,tree:W,focusAndScrollRef:z,nextUrl:G},children:(0,o.jsx)(l.AppRouterContext.Provider,{value:H,children:(0,o.jsx)(l.LayoutRouterContext.Provider,{value:{childNodes:B.parallelRoutes,tree:W,url:k},children:V})})})})})]})}function A(e){let{globalErrorComponent:t,...r}=e;return(0,o.jsx)(f.ErrorBoundary,{errorComponent:t,children:(0,o.jsx)(N,{...r})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},73706:function(e,t,r){"use strict";function n(e){}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"clientHookInServerComponentError",{enumerable:!0,get:function(){return n}}),r(86921),r(64090),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},48955:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ErrorBoundaryHandler:function(){return s},GlobalError:function(){return f},default:function(){return d},ErrorBoundary:function(){return p}});let n=r(86921),o=r(3827),u=n._(r(64090)),l=r(15313),a=r(74950),i={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},text:{fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"}};function c(e){let{error:t}=e;if("function"==typeof fetch.__nextGetStaticStore){var r;let e=null==(r=fetch.__nextGetStaticStore())?void 0:r.getStore();if((null==e?void 0:e.isRevalidate)||(null==e?void 0:e.isStaticGeneration))throw console.error(t),t}return null}class s extends u.default.Component{static getDerivedStateFromError(e){if((0,a.isNextRouterError)(e))throw e;return{error:e}}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){return this.state.error?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c,{error:this.state.error}),this.props.errorStyles,this.props.errorScripts,(0,o.jsx)(this.props.errorComponent,{error:this.state.error,reset:this.reset})]}):this.props.children}constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.state={error:null,previousPathname:this.props.pathname}}}function f(e){let{error:t}=e,r=null==t?void 0:t.digest;return(0,o.jsxs)("html",{id:"__next_error__",children:[(0,o.jsx)("head",{}),(0,o.jsxs)("body",{children:[(0,o.jsx)(c,{error:t}),(0,o.jsx)("div",{style:i.error,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("h2",{style:i.text,children:"Application error: a "+(r?"server":"client")+"-side exception has occurred (see the "+(r?"server logs":"browser console")+" for more information)."}),r?(0,o.jsx)("p",{style:i.text,children:"Digest: "+r}):null]})})]})]})}let d=f;function p(e){let{errorComponent:t,errorStyles:r,errorScripts:n,children:u}=e,a=(0,l.usePathname)();return t?(0,o.jsx)(s,{pathname:a,errorComponent:t,errorStyles:r,errorScripts:n,children:u}):(0,o.jsx)(o.Fragment,{children:u})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},47127:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DynamicServerError:function(){return n},isDynamicServerError:function(){return o}});let r="DYNAMIC_SERVER_USAGE";class n extends Error{constructor(e){super("Dynamic server usage: "+e),this.description=e,this.digest=r}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},44399:function(e,t){"use strict";let r;function n(){return r||(r=new Promise(()=>{})),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createInfinitePromise",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},74950:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNextRouterError",{enumerable:!0,get:function(){return u}});let n=r(12322),o=r(6155);function u(e){return e&&e.digest&&((0,o.isRedirectError)(e)||(0,n.isNotFoundError)(e))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5613:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});let n=r(86921),o=r(91884),u=r(3827),l=o._(r(64090)),a=n._(r(89542)),i=r(38599),c=r(73546),s=r(44399),f=r(48955),d=r(22295),p=r(73011),h=r(85737),y=r(11902),_=r(6793),v=r(555),b=["bottom","height","left","right","top","width","x","y"];function g(e,t){let r=e.getBoundingClientRect();return r.top>=0&&r.top<=t}class m extends l.default.Component{componentDidMount(){this.handlePotentialScroll()}componentDidUpdate(){this.props.focusAndScrollRef.apply&&this.handlePotentialScroll()}render(){return this.props.children}constructor(...e){super(...e),this.handlePotentialScroll=()=>{let{focusAndScrollRef:e,segmentPath:t}=this.props;if(e.apply){var r;if(0!==e.segmentPaths.length&&!e.segmentPaths.some(e=>t.every((t,r)=>(0,d.matchSegment)(t,e[r]))))return;let n=null,o=e.hashFragment;if(o&&(n="top"===o?document.body:null!=(r=document.getElementById(o))?r:document.getElementsByName(o)[0]),n||(n=a.default.findDOMNode(this)),!(n instanceof Element))return;for(;!(n instanceof HTMLElement)||function(e){if(["sticky","fixed"].includes(getComputedStyle(e).position))return!0;let t=e.getBoundingClientRect();return b.every(e=>0===t[e])}(n);){if(null===n.nextElementSibling)return;n=n.nextElementSibling}e.apply=!1,e.hashFragment=null,e.segmentPaths=[],(0,p.handleSmoothScroll)(()=>{if(o){n.scrollIntoView();return}let e=document.documentElement,t=e.clientHeight;!g(n,t)&&(e.scrollTop=0,g(n,t)||n.scrollIntoView())},{dontForceLayout:!0,onlyHashChange:e.onlyHashChange}),e.onlyHashChange=!1,n.focus()}}}}function P(e){let{segmentPath:t,children:r}=e,n=(0,l.useContext)(i.GlobalLayoutRouterContext);if(!n)throw Error("invariant global layout router not mounted");return(0,u.jsx)(m,{segmentPath:t,focusAndScrollRef:n.focusAndScrollRef,children:r})}function j(e){let{parallelRouterKey:t,url:r,childNodes:n,segmentPath:o,tree:a,cacheKey:f}=e,p=(0,l.useContext)(i.GlobalLayoutRouterContext);if(!p)throw Error("invariant global layout router not mounted");let{buildId:h,changeByServerResponse:y,tree:_}=p,v=n.get(f);if(void 0===v){let e={lazyData:null,rsc:null,prefetchRsc:null,head:null,parallelRoutes:new Map};v=e,n.set(f,e)}let b=null!==v.prefetchRsc?v.prefetchRsc:v.rsc,g=(0,l.useDeferredValue)(v.rsc,b),m="object"==typeof g&&null!==g&&"function"==typeof g.then?(0,l.use)(g):g;if(!m){let e=v.lazyData;if(null===e){let t=function e(t,r){if(t){let[n,o]=t,u=2===t.length;if((0,d.matchSegment)(r[0],n)&&r[1].hasOwnProperty(o)){if(u){let t=e(void 0,r[1][o]);return[r[0],{...r[1],[o]:[t[0],t[1],t[2],"refetch"]}]}return[r[0],{...r[1],[o]:e(t.slice(2),r[1][o])}]}}return r}(["",...o],_);v.lazyData=e=(0,c.fetchServerResponse)(new URL(r,location.origin),t,p.nextUrl,h)}let[t,n]=(0,l.use)(e);v.lazyData=null,setTimeout(()=>{(0,l.startTransition)(()=>{y(_,t,n)})}),(0,l.use)((0,s.createInfinitePromise)())}return(0,u.jsx)(i.LayoutRouterContext.Provider,{value:{tree:a[1][t],childNodes:v.parallelRoutes,url:r},children:m})}function R(e){let{children:t,loading:r,loadingStyles:n,loadingScripts:o,hasLoading:a}=e;return a?(0,u.jsx)(l.Suspense,{fallback:(0,u.jsxs)(u.Fragment,{children:[n,o,r]}),children:t}):(0,u.jsx)(u.Fragment,{children:t})}function O(e){let{parallelRouterKey:t,segmentPath:r,error:n,errorStyles:o,errorScripts:a,templateStyles:c,templateScripts:s,loading:d,loadingStyles:p,loadingScripts:b,hasLoading:g,template:m,notFound:O,notFoundStyles:S,styles:E}=e,w=(0,l.useContext)(i.LayoutRouterContext);if(!w)throw Error("invariant expected layout router to be mounted");let{childNodes:M,tree:T,url:x}=w,C=M.get(t);C||(C=new Map,M.set(t,C));let N=T[1][t][0],A=(0,_.getSegmentValue)(N),I=[N];return(0,u.jsxs)(u.Fragment,{children:[E,I.map(e=>{let l=(0,_.getSegmentValue)(e),E=(0,v.createRouterCacheKey)(e);return(0,u.jsxs)(i.TemplateContext.Provider,{value:(0,u.jsx)(P,{segmentPath:r,children:(0,u.jsx)(f.ErrorBoundary,{errorComponent:n,errorStyles:o,errorScripts:a,children:(0,u.jsx)(R,{hasLoading:g,loading:d,loadingStyles:p,loadingScripts:b,children:(0,u.jsx)(y.NotFoundBoundary,{notFound:O,notFoundStyles:S,children:(0,u.jsx)(h.RedirectBoundary,{children:(0,u.jsx)(j,{parallelRouterKey:t,url:x,tree:T,childNodes:C,segmentPath:r,cacheKey:E,isActive:A===l})})})})})}),children:[c,s,m]},(0,v.createRouterCacheKey)(e,!0))})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},22295:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{matchSegment:function(){return o},canSegmentBeOverridden:function(){return u}});let n=r(2883),o=(e,t)=>"string"==typeof e?"string"==typeof t&&e===t:"string"!=typeof t&&e[0]===t[0]&&e[1]===t[1],u=(e,t)=>{var r;return!Array.isArray(e)&&!!Array.isArray(t)&&(null==(r=(0,n.getSegmentParam)(e))?void 0:r.param)===t[0]};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15313:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return h},useSearchParams:function(){return y},usePathname:function(){return _},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},useServerInsertedHTML:function(){return c.useServerInsertedHTML},useRouter:function(){return v},useParams:function(){return b},useSelectedLayoutSegments:function(){return g},useSelectedLayoutSegment:function(){return m},redirect:function(){return s.redirect},permanentRedirect:function(){return s.permanentRedirect},RedirectType:function(){return s.RedirectType},notFound:function(){return f.notFound}});let n=r(64090),o=r(38599),u=r(14758),l=r(73706),a=r(6793),i=r(63266),c=r(32472),s=r(6155),f=r(12322),d=Symbol("internal for urlsearchparams readonly");function p(){return Error("ReadonlyURLSearchParams cannot be modified")}class h{[Symbol.iterator](){return this[d][Symbol.iterator]()}append(){throw p()}delete(){throw p()}set(){throw p()}sort(){throw p()}constructor(e){this[d]=e,this.entries=e.entries.bind(e),this.forEach=e.forEach.bind(e),this.get=e.get.bind(e),this.getAll=e.getAll.bind(e),this.has=e.has.bind(e),this.keys=e.keys.bind(e),this.values=e.values.bind(e),this.toString=e.toString.bind(e),this.size=e.size}}function y(){(0,l.clientHookInServerComponentError)("useSearchParams");let e=(0,n.useContext)(u.SearchParamsContext);return(0,n.useMemo)(()=>e?new h(e):null,[e])}function _(){return(0,l.clientHookInServerComponentError)("usePathname"),(0,n.useContext)(u.PathnameContext)}function v(){(0,l.clientHookInServerComponentError)("useRouter");let e=(0,n.useContext)(o.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function b(){(0,l.clientHookInServerComponentError)("useParams");let e=(0,n.useContext)(o.GlobalLayoutRouterContext),t=(0,n.useContext)(u.PathParamsContext);return(0,n.useMemo)(()=>(null==e?void 0:e.tree)?function e(t,r){for(let n of(void 0===r&&(r={}),Object.values(t[1]))){let t=n[0],o=Array.isArray(t),u=o?t[1]:t;!u||u.startsWith(i.PAGE_SEGMENT_KEY)||(o&&("c"===t[2]||"oc"===t[2])?r[t[0]]=t[1].split("/"):o&&(r[t[0]]=t[1]),r=e(n,r))}return r}(e.tree):t,[null==e?void 0:e.tree,t])}function g(e){void 0===e&&(e="children"),(0,l.clientHookInServerComponentError)("useSelectedLayoutSegments");let{tree:t}=(0,n.useContext)(o.LayoutRouterContext);return function e(t,r,n,o){let u;if(void 0===n&&(n=!0),void 0===o&&(o=[]),n)u=t[1][r];else{var l;let e=t[1];u=null!=(l=e.children)?l:Object.values(e)[0]}if(!u)return o;let c=u[0],s=(0,a.getSegmentValue)(c);return!s||s.startsWith(i.PAGE_SEGMENT_KEY)?o:(o.push(s),e(u,r,!1,o))}(t,e)}function m(e){void 0===e&&(e="children"),(0,l.clientHookInServerComponentError)("useSelectedLayoutSegment");let t=g(e);return 0===t.length?null:t[0]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},11902:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NotFoundBoundary",{enumerable:!0,get:function(){return s}});let n=r(91884),o=r(3827),u=n._(r(64090)),l=r(15313),a=r(12322);r(76184);let i=r(38599);class c extends u.default.Component{componentDidCatch(){}static getDerivedStateFromError(e){if((0,a.isNotFoundError)(e))return{notFoundTriggered:!0};throw e}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.notFoundTriggered?{notFoundTriggered:!1,previousPathname:e.pathname}:{notFoundTriggered:t.notFoundTriggered,previousPathname:e.pathname}}render(){return this.state.notFoundTriggered?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("meta",{name:"robots",content:"noindex"}),!1,this.props.notFoundStyles,this.props.notFound]}):this.props.children}constructor(e){super(e),this.state={notFoundTriggered:!!e.asNotFound,previousPathname:e.pathname}}}function s(e){let{notFound:t,notFoundStyles:r,asNotFound:n,children:a}=e,s=(0,l.usePathname)(),f=(0,u.useContext)(i.MissingSlotContext);return t?(0,o.jsx)(c,{pathname:s,notFound:t,notFoundStyles:r,asNotFound:n,missingSlots:f,children:a}):(0,o.jsx)(o.Fragment,{children:a})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},12322:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{notFound:function(){return n},isNotFoundError:function(){return o}});let r="NEXT_NOT_FOUND";function n(){let e=Error(r);throw e.digest=r,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},82418:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromiseQueue",{enumerable:!0,get:function(){return c}});let n=r(42299),o=r(13603);var u=o._("_maxConcurrency"),l=o._("_runningCount"),a=o._("_queue"),i=o._("_processNext");class c{enqueue(e){let t,r;let o=new Promise((e,n)=>{t=e,r=n}),u=async()=>{try{n._(this,l)[l]++;let r=await e();t(r)}catch(e){r(e)}finally{n._(this,l)[l]--,n._(this,i)[i]()}};return n._(this,a)[a].push({promiseFn:o,task:u}),n._(this,i)[i](),o}bump(e){let t=n._(this,a)[a].findIndex(t=>t.promiseFn===e);if(t>-1){let e=n._(this,a)[a].splice(t,1)[0];n._(this,a)[a].unshift(e),n._(this,i)[i](!0)}}constructor(e=5){Object.defineProperty(this,i,{value:s}),Object.defineProperty(this,u,{writable:!0,value:void 0}),Object.defineProperty(this,l,{writable:!0,value:void 0}),Object.defineProperty(this,a,{writable:!0,value:void 0}),n._(this,u)[u]=e,n._(this,l)[l]=0,n._(this,a)[a]=[]}}function s(e){if(void 0===e&&(e=!1),(n._(this,l)[l]0){var t;null==(t=n._(this,a)[a].shift())||t.task()}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},85737:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectErrorBoundary:function(){return c},RedirectBoundary:function(){return s}});let n=r(91884),o=r(3827),u=n._(r(64090)),l=r(15313),a=r(6155);function i(e){let{redirect:t,reset:r,redirectType:n}=e,o=(0,l.useRouter)();return(0,u.useEffect)(()=>{u.default.startTransition(()=>{n===a.RedirectType.push?o.push(t,{}):o.replace(t,{}),r()})},[t,n,r,o]),null}class c extends u.default.Component{static getDerivedStateFromError(e){if((0,a.isRedirectError)(e))return{redirect:(0,a.getURLFromRedirectError)(e),redirectType:(0,a.getRedirectTypeFromError)(e)};throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?(0,o.jsx)(i,{redirect:e,redirectType:t,reset:()=>this.setState({redirect:null})}):this.props.children}constructor(e){super(e),this.state={redirect:null,redirectType:null}}}function s(e){let{children:t}=e,r=(0,l.useRouter)();return(0,o.jsx)(c,{router:r,children:t})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9510:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return r}}),(n=r||(r={}))[n.SeeOther=303]="SeeOther",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6155:function(e,t,r){"use strict";var n,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectType:function(){return n},getRedirectError:function(){return c},redirect:function(){return s},permanentRedirect:function(){return f},isRedirectError:function(){return d},getURLFromRedirectError:function(){return p},getRedirectTypeFromError:function(){return h},getRedirectStatusCodeFromError:function(){return y}});let u=r(96668),l=r(61264),a=r(9510),i="NEXT_REDIRECT";function c(e,t,r){void 0===r&&(r=a.RedirectStatusCode.TemporaryRedirect);let n=Error(i);n.digest=i+";"+t+";"+e+";"+r+";";let o=u.requestAsyncStorage.getStore();return o&&(n.mutableCookies=o.mutableCookies),n}function s(e,t){void 0===t&&(t="replace");let r=l.actionAsyncStorage.getStore();throw c(e,t,(null==r?void 0:r.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.TemporaryRedirect)}function f(e,t){void 0===t&&(t="replace");let r=l.actionAsyncStorage.getStore();throw c(e,t,(null==r?void 0:r.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.PermanentRedirect)}function d(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r,n,o]=e.digest.split(";",4),u=Number(o);return t===i&&("replace"===r||"push"===r)&&"string"==typeof n&&!isNaN(u)&&u in a.RedirectStatusCode}function p(e){return d(e)?e.digest.split(";",3)[2]:null}function h(e){if(!d(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function y(e){if(!d(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(o=n||(n={})).push="push",o.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31778:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(91884),o=r(3827),u=n._(r(64090)),l=r(38599);function a(){let e=(0,u.useContext)(l.TemplateContext);return(0,o.jsx)(o.Fragment,{children:e})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96668:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(70693).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},39671:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyFlightData",{enumerable:!0,get:function(){return u}});let n=r(4765),o=r(9e4);function u(e,t,r,u){void 0===u&&(u=!1);let[l,a,i]=r.slice(-3);if(null===a)return!1;if(3===r.length){let r=a[2];t.rsc=r,t.prefetchRsc=null,(0,n.fillLazyItemsTillLeafWithHead)(t,e,l,a,i,u)}else t.rsc=e.rsc,t.prefetchRsc=e.prefetchRsc,t.parallelRoutes=new Map(e.parallelRoutes),(0,o.fillCacheWithNewSubTreeData)(t,e,r,u);return!0}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},27098:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{applyRouterStatePatchToFullTree:function(){return a},applyRouterStatePatchToTreeSkipDefault:function(){return i}});let n=r(63266),o=r(22295);function u(e,t,r){void 0===r&&(r=!1);let[l,a]=e,[i,c]=t;if(!r&&i===n.DEFAULT_SEGMENT_KEY&&l!==n.DEFAULT_SEGMENT_KEY)return e;if((0,o.matchSegment)(l,i)){let t={};for(let e in a)void 0!==c[e]?t[e]=u(a[e],c[e],r):t[e]=a[e];for(let e in c)t[e]||(t[e]=c[e]);let n=[l,t];return e[2]&&(n[2]=e[2]),e[3]&&(n[3]=e[3]),e[4]&&(n[4]=e[4]),n}return t}function l(e,t,r,n){let a;void 0===n&&(n=!1);let[i,c,,,s]=t;if(1===e.length)return u(t,r,n);let[f,d]=e;if(!(0,o.matchSegment)(f,i))return null;if(2===e.length)a=u(c[d],r,n);else if(null===(a=l(e.slice(2),c[d],r,n)))return null;let p=[e[0],{...c,[d]:a}];return s&&(p[4]=!0),p}function a(e,t,r){return l(e,t,r,!0)}function i(e,t,r){return l(e,t,r,!1)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4038:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{extractPathFromFlightRouterState:function(){return c},computeChangedPath:function(){return s}});let n=r(94749),o=r(63266),u=r(22295),l=e=>"/"===e[0]?e.slice(1):e,a=e=>"string"==typeof e?e:e[1];function i(e){return e.reduce((e,t)=>""===(t=l(t))||(0,o.isGroupSegment)(t)?e:e+"/"+t,"")||"/"}function c(e){var t;let r=Array.isArray(e[0])?e[0][1]:e[0];if(r===o.DEFAULT_SEGMENT_KEY||n.INTERCEPTION_ROUTE_MARKERS.some(e=>r.startsWith(e)))return;if(r.startsWith(o.PAGE_SEGMENT_KEY))return"";let u=[r],l=null!=(t=e[1])?t:{},a=l.children?c(l.children):void 0;if(void 0!==a)u.push(a);else for(let[e,t]of Object.entries(l)){if("children"===e)continue;let r=c(t);void 0!==r&&u.push(r)}return i(u)}function s(e,t){let r=function e(t,r){let[o,l]=t,[i,s]=r,f=a(o),d=a(i);if(n.INTERCEPTION_ROUTE_MARKERS.some(e=>f.startsWith(e)||d.startsWith(e)))return"";if(!(0,u.matchSegment)(o,i)){var p;return null!=(p=c(r))?p:""}for(let t in l)if(s[t]){let r=e(l[t],s[t]);if(null!==r)return a(i)+"/"+r}return null}(e,t);return null==r||"/"===r?r:i(r.split("/"))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},68419:function(e,t){"use strict";function r(e,t){return void 0===t&&(t=!0),e.pathname+e.search+(t?e.hash:"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createHrefFromUrl",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},94492:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createInitialRouterState",{enumerable:!0,get:function(){return l}});let n=r(68419),o=r(4765),u=r(4038);function l(e){var t;let{buildId:r,initialTree:l,initialSeedData:a,initialCanonicalUrl:i,initialParallelRoutes:c,isServer:s,location:f,initialHead:d}=e,p={lazyData:null,rsc:a[2],prefetchRsc:null,parallelRoutes:s?new Map:c};return(null===c||0===c.size)&&(0,o.fillLazyItemsTillLeafWithHead)(p,void 0,l,a,d),{buildId:r,tree:l,cache:p,prefetchCache:new Map,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{apply:!1,onlyHashChange:!1,hashFragment:null,segmentPaths:[]},canonicalUrl:f?(0,n.createHrefFromUrl)(f):i,nextUrl:null!=(t=(0,u.extractPathFromFlightRouterState)(l)||(null==f?void 0:f.pathname))?t:null}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},555:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRouterCacheKey",{enumerable:!0,get:function(){return o}});let n=r(63266);function o(e,t){return(void 0===t&&(t=!1),Array.isArray(e))?(e[0]+"|"+e[1]+"|"+e[2]).toLowerCase():t&&e.startsWith(n.PAGE_SEGMENT_KEY)?n.PAGE_SEGMENT_KEY:e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},73546:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fetchServerResponse",{enumerable:!0,get:function(){return s}});let n=r(42275),o=r(47690),u=r(15355),l=r(91414),a=r(1),{createFromFetch:i}=r(97355);function c(e){return[(0,o.urlToUrlWithoutFlightMarker)(e).toString(),void 0]}async function s(e,t,r,s,f){let d={[n.RSC_HEADER]:"1",[n.NEXT_ROUTER_STATE_TREE]:encodeURIComponent(JSON.stringify(t))};f===l.PrefetchKind.AUTO&&(d[n.NEXT_ROUTER_PREFETCH_HEADER]="1"),r&&(d[n.NEXT_URL]=r);let p=(0,a.hexHash)([d[n.NEXT_ROUTER_PREFETCH_HEADER]||"0",d[n.NEXT_ROUTER_STATE_TREE],d[n.NEXT_URL]].join(","));try{let t=new URL(e);t.pathname.endsWith("/")?t.pathname+="index.txt":t.pathname+=".txt",t.searchParams.set(n.NEXT_RSC_UNION_QUERY,p);let r=await fetch(t,{credentials:"same-origin",headers:d}),l=(0,o.urlToUrlWithoutFlightMarker)(r.url),a=r.redirected?l:void 0,f=r.headers.get("content-type")||"",h=!!r.headers.get(n.NEXT_DID_POSTPONE_HEADER),y=f===n.RSC_CONTENT_TYPE_HEADER;if(y||(y=f.startsWith("text/plain")),!y||!r.ok)return e.hash&&(l.hash=e.hash),c(l.toString());let[_,v]=await i(Promise.resolve(r),{callServer:u.callServer});if(s!==_)return c(r.url);return[v,a,h]}catch(t){return console.error("Failed to fetch RSC payload for "+e+". Falling back to browser navigation.",t),[e.toString(),void 0]}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},62950:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillCacheWithDataProperty",{enumerable:!0,get:function(){return function e(t,r,o,u){let l=o.length<=2,[a,i]=o,c=(0,n.createRouterCacheKey)(i),s=r.parallelRoutes.get(a),f=t.parallelRoutes.get(a);f&&f!==s||(f=new Map(s),t.parallelRoutes.set(a,f));let d=null==s?void 0:s.get(c),p=f.get(c);if(l){p&&p.lazyData&&p!==d||f.set(c,{lazyData:u(),rsc:null,prefetchRsc:null,parallelRoutes:new Map});return}if(!p||!d){p||f.set(c,{lazyData:u(),rsc:null,prefetchRsc:null,parallelRoutes:new Map});return}return p===d&&(p={lazyData:p.lazyData,rsc:p.rsc,prefetchRsc:p.prefetchRsc,parallelRoutes:new Map(p.parallelRoutes)},f.set(c,p)),e(p,d,o.slice(2),u)}}});let n=r(555);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9e4:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillCacheWithNewSubTreeData",{enumerable:!0,get:function(){return function e(t,r,l,a){let i=l.length<=5,[c,s]=l,f=(0,u.createRouterCacheKey)(s),d=r.parallelRoutes.get(c);if(!d)return;let p=t.parallelRoutes.get(c);p&&p!==d||(p=new Map(d),t.parallelRoutes.set(c,p));let h=d.get(f),y=p.get(f);if(i){if(!y||!y.lazyData||y===h){let e=l[3];y={lazyData:null,rsc:e[2],prefetchRsc:null,parallelRoutes:h?new Map(h.parallelRoutes):new Map},h&&(0,n.invalidateCacheByRouterState)(y,h,l[2]),(0,o.fillLazyItemsTillLeafWithHead)(y,h,l[2],e,l[4],a),p.set(f,y)}return}y&&h&&(y===h&&(y={lazyData:y.lazyData,rsc:y.rsc,prefetchRsc:y.prefetchRsc,parallelRoutes:new Map(y.parallelRoutes)},p.set(f,y)),e(y,h,l.slice(2),a))}}});let n=r(46152),o=r(4765),u=r(555);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4765:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillLazyItemsTillLeafWithHead",{enumerable:!0,get:function(){return function e(t,r,o,u,l,a){if(0===Object.keys(o[1]).length){t.head=l;return}for(let i in o[1]){let c;let s=o[1][i],f=s[0],d=(0,n.createRouterCacheKey)(f),p=null!==u&&void 0!==u[1][i]?u[1][i]:null;if(r){let n=r.parallelRoutes.get(i);if(n){let r,o=new Map(n),u=o.get(d);r=null!==p?{lazyData:null,rsc:p[2],prefetchRsc:null,parallelRoutes:new Map(null==u?void 0:u.parallelRoutes)}:a&&u?{lazyData:u.lazyData,rsc:u.rsc,prefetchRsc:u.prefetchRsc,parallelRoutes:new Map(u.parallelRoutes)}:{lazyData:null,rsc:null,prefetchRsc:null,parallelRoutes:new Map(null==u?void 0:u.parallelRoutes)},o.set(d,r),e(r,u,s,p||null,l,a),t.parallelRoutes.set(i,o);continue}}c=null!==p?{lazyData:null,rsc:p[2],prefetchRsc:null,parallelRoutes:new Map}:{lazyData:null,rsc:null,prefetchRsc:null,parallelRoutes:new Map};let h=t.parallelRoutes.get(i);h?h.set(d,c):t.parallelRoutes.set(i,new Map([[d,c]])),e(c,void 0,s,p,l,a)}}}});let n=r(555);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},71486:function(e,t){"use strict";var r,n;function o(e){let{kind:t,prefetchTime:r,lastUsedTime:n}=e;return Date.now()<(null!=n?n:r)+3e4?n?"reusable":"fresh":"auto"===t&&Date.now(){for(let r of t[0]){let t=r.slice(0,-3),n=r[r.length-3],l=r[r.length-2],a=r[r.length-1];"string"!=typeof t&&function(e,t,r,n,l){let a=e;for(let e=0;e{c(e,t)})}function i(e,t,r,n){let o=e[1],l=null!==t?t[1]:null,a=new Map;for(let e in o){let t=o[e],c=null!==l?l[e]:null,s=t[0],f=(0,u.createRouterCacheKey)(s),d=i(t,void 0===c?null:c,r,n),p=new Map;p.set(f,d),a.set(e,p)}let c=0===a.size,s=null!==t?t[2]:null;return{lazyData:null,parallelRoutes:a,prefetchRsc:n||void 0===s?null:s,prefetchHead:!n&&c?r:null,rsc:p(),head:c?p():null}}function c(e,t){let r=e.node;if(null===r)return;let n=e.children;if(null===n)s(e.route,r,t);else for(let e of n.values())c(e,t);e.node=null}function s(e,t,r){let n=e[1],o=t.parallelRoutes;for(let e in n){let t=n[e],l=o.get(e);if(void 0===l)continue;let a=t[0],i=(0,u.createRouterCacheKey)(a),c=l.get(i);void 0!==c&&s(t,c,r)}let l=t.rsc;d(l)&&(null===r?l.resolve(null):l.reject(r));let a=t.head;d(a)&&a.resolve(null)}let f=Symbol();function d(e){return e&&e.tag===f}function p(){let e,t;let r=new Promise((r,n)=>{e=r,t=n});return r.status="pending",r.resolve=t=>{"pending"===r.status&&(r.status="fulfilled",r.value=t,e(t))},r.reject=e=>{"pending"===r.status&&(r.status="rejected",r.reason=e,t(e))},r.tag=f,r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95606:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createPrefetchCacheKey",{enumerable:!0,get:function(){return l}});let n=r(51312),o=r(87027),u=r(68419);function l(e,t){let r=(0,u.createHrefFromUrl)(e,!1);return t&&!(0,o.pathHasPrefix)(r,t)?(0,n.addPathPrefix)(r,""+t+"%"):r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},16503:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fastRefreshReducer",{enumerable:!0,get:function(){return n}}),r(73546),r(68419),r(27098),r(11956),r(5596),r(28875),r(39671),r(47690),r(52224);let n=function(e,t){return e};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},40671:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findHeadInCache",{enumerable:!0,get:function(){return o}});let n=r(555);function o(e,t){return function e(t,r,o){if(0===Object.keys(r).length)return[t,o];for(let u in r){let[l,a]=r[u],i=t.parallelRoutes.get(u);if(!i)continue;let c=(0,n.createRouterCacheKey)(l),s=i.get(c);if(!s)continue;let f=e(s,a,o+"/"+c);if(f)return f}return null}(e,t,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6793:function(e,t){"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5596:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleExternalUrl:function(){return g},navigateReducer:function(){return P}});let n=r(73546),o=r(68419),u=r(23074),l=r(62950),a=r(27098),i=r(13556),c=r(11956),s=r(91414),f=r(28875),d=r(39671),p=r(71486),h=r(27052),y=r(5678),_=r(47690),v=r(63266);r(6384);let b=r(95606);function g(e,t,r,n){return t.mpaNavigation=!0,t.canonicalUrl=r,t.pendingPush=n,t.scrollableSegments=void 0,(0,f.handleMutable)(e,t)}function m(e){let t=[],[r,n]=e;if(0===Object.keys(n).length)return[[r]];for(let[e,o]of Object.entries(n))for(let n of m(o))""===r?t.push([e,...n]):t.push([r,e,...n]);return t}let P=function(e,t){let{url:r,isExternalUrl:P,navigateType:j,shouldScroll:R}=t,O={},{hash:S}=r,E=(0,o.createHrefFromUrl)(r),w="push"===j;if((0,h.prunePrefetchCache)(e.prefetchCache),O.preserveCustomHistoryState=!1,P)return g(e,O,r.toString(),w);let M=(0,b.createPrefetchCacheKey)(r,e.nextUrl),T=e.prefetchCache.get(M);if(!T){let t={data:(0,n.fetchServerResponse)(r,e.tree,e.nextUrl,e.buildId,void 0),kind:s.PrefetchKind.TEMPORARY,prefetchTime:Date.now(),treeAtTimeOfPrefetch:e.tree,lastUsedTime:null};e.prefetchCache.set(M,t),T=t}let x=(0,p.getPrefetchEntryCacheStatus)(T),{treeAtTimeOfPrefetch:C,data:N}=T;return y.prefetchQueue.bump(N),N.then(t=>{let[s,h,y]=t;if(T&&!T.lastUsedTime&&(T.lastUsedTime=Date.now()),"string"==typeof s)return g(e,O,s,w);let b=e.tree,P=e.cache,j=[];for(let t of s){let o=t.slice(0,-4),s=t.slice(-3)[0],f=["",...o],h=(0,a.applyRouterStatePatchToTreeSkipDefault)(f,b,s);if(null===h&&(h=(0,a.applyRouterStatePatchToTreeSkipDefault)(f,C,s)),null!==h){if((0,c.isNavigatingToNewRootLayout)(b,h))return g(e,O,E,w);let a=(0,_.createEmptyCacheNode)(),R=(0,d.applyFlightData)(P,a,t,(null==T?void 0:T.kind)==="auto"&&x===p.PrefetchCacheEntryStatus.reusable);for(let t of((!R&&x===p.PrefetchCacheEntryStatus.stale||y)&&(R=function(e,t,r,n,o){let u=!1;for(let a of(e.rsc=t.rsc,e.prefetchRsc=t.prefetchRsc,e.parallelRoutes=new Map(t.parallelRoutes),m(n).map(e=>[...r,...e])))(0,l.fillCacheWithDataProperty)(e,t,a,o),u=!0;return u}(a,P,o,s,()=>(0,n.fetchServerResponse)(r,b,e.nextUrl,e.buildId))),(0,i.shouldHardNavigate)(f,b)?(a.rsc=P.rsc,a.prefetchRsc=P.prefetchRsc,(0,u.invalidateCacheBelowFlightSegmentPath)(a,P,o),O.cache=a):R&&(O.cache=a),P=a,b=h,m(s))){let e=[...o,...t];e[e.length-1]!==v.DEFAULT_SEGMENT_KEY&&j.push(e)}}}return O.patchedTree=b,O.canonicalUrl=h?(0,o.createHrefFromUrl)(h):E,O.pendingPush=w,O.scrollableSegments=j,O.hashFragment=S,O.shouldScroll=R,(0,f.handleMutable)(e,O)},()=>e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5678:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{prefetchQueue:function(){return c},prefetchReducer:function(){return s}});let n=r(73546),o=r(91414),u=r(27052),l=r(42275),a=r(82418),i=r(95606),c=new a.PromiseQueue(5);function s(e,t){(0,u.prunePrefetchCache)(e.prefetchCache);let{url:r}=t;r.searchParams.delete(l.NEXT_RSC_UNION_QUERY);let a=(0,i.createPrefetchCacheKey)(r,e.nextUrl),s=e.prefetchCache.get(a);if(s&&(s.kind===o.PrefetchKind.TEMPORARY&&e.prefetchCache.set(a,{...s,kind:t.kind}),!(s.kind===o.PrefetchKind.AUTO&&t.kind===o.PrefetchKind.FULL)))return e;let f=c.enqueue(()=>(0,n.fetchServerResponse)(r,e.tree,e.nextUrl,e.buildId,t.kind));return e.prefetchCache.set(a,{treeAtTimeOfPrefetch:e.tree,data:f,kind:t.kind,prefetchTime:Date.now(),lastUsedTime:null}),e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},27052:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"prunePrefetchCache",{enumerable:!0,get:function(){return o}});let n=r(71486);function o(e){for(let[t,r]of e)(0,n.getPrefetchEntryCacheStatus)(r)===n.PrefetchCacheEntryStatus.expired&&e.delete(t)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},67491:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"refreshReducer",{enumerable:!0,get:function(){return d}});let n=r(73546),o=r(68419),u=r(27098),l=r(11956),a=r(5596),i=r(28875),c=r(4765),s=r(47690),f=r(52224);function d(e,t){let{origin:r}=t,d={},p=e.canonicalUrl,h=e.tree;d.preserveCustomHistoryState=!1;let y=(0,s.createEmptyCacheNode)();return y.lazyData=(0,n.fetchServerResponse)(new URL(p,r),[h[0],h[1],h[2],"refetch"],e.nextUrl,e.buildId),y.lazyData.then(r=>{let[n,s]=r;if("string"==typeof n)return(0,a.handleExternalUrl)(e,d,n,e.pushRef.pendingPush);for(let r of(y.lazyData=null,n)){if(3!==r.length)return console.log("REFRESH FAILED"),e;let[n]=r,i=(0,u.applyRouterStatePatchToFullTree)([""],h,n);if(null===i)return(0,f.handleSegmentMismatch)(e,t,n);if((0,l.isNavigatingToNewRootLayout)(h,i))return(0,a.handleExternalUrl)(e,d,p,e.pushRef.pendingPush);let _=s?(0,o.createHrefFromUrl)(s):void 0;s&&(d.canonicalUrl=_);let[v,b]=r.slice(-2);if(null!==v){let e=v[2];y.rsc=e,y.prefetchRsc=null,(0,c.fillLazyItemsTillLeafWithHead)(y,void 0,n,v,b),d.cache=y,d.prefetchCache=new Map}d.patchedTree=i,d.canonicalUrl=p,h=i}return(0,i.handleMutable)(e,d)},()=>e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},57222:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"restoreReducer",{enumerable:!0,get:function(){return u}});let n=r(68419),o=r(4038);function u(e,t){var r;let{url:u,tree:l}=t,a=(0,n.createHrefFromUrl)(u),i=e.cache;return{buildId:e.buildId,canonicalUrl:a,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:e.focusAndScrollRef,cache:i,prefetchCache:e.prefetchCache,tree:l,nextUrl:null!=(r=(0,o.extractPathFromFlightRouterState)(l))?r:u.pathname}}r(6384),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},40899:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverActionReducer",{enumerable:!0,get:function(){return b}});let n=r(15355),o=r(42275),u=r(45786),l=r(68419),a=r(5596),i=r(27098),c=r(11956),s=r(28875),f=r(4765),d=r(47690),p=r(4038),h=r(52224),{createFromFetch:y,encodeReply:_}=r(97355);async function v(e,t){let r,{actionId:l,actionArgs:a}=t,i=await _(a),c=(0,p.extractPathFromFlightRouterState)(e.tree),s=e.nextUrl&&e.nextUrl!==c,f=await fetch("",{method:"POST",headers:{Accept:o.RSC_CONTENT_TYPE_HEADER,[o.ACTION]:l,[o.NEXT_ROUTER_STATE_TREE]:encodeURIComponent(JSON.stringify(e.tree)),...s?{[o.NEXT_URL]:e.nextUrl}:{}},body:i}),d=f.headers.get("x-action-redirect");try{let e=JSON.parse(f.headers.get("x-action-revalidated")||"[[],0,0]");r={paths:e[0]||[],tag:!!e[1],cookie:e[2]}}catch(e){r={paths:[],tag:!1,cookie:!1}}let h=d?new URL((0,u.addBasePath)(d),new URL(e.canonicalUrl,window.location.href)):void 0;if(f.headers.get("content-type")===o.RSC_CONTENT_TYPE_HEADER){let e=await y(Promise.resolve(f),{callServer:n.callServer});if(d){let[,t]=null!=e?e:[];return{actionFlightData:t,redirectLocation:h,revalidatedParts:r}}let[t,[,o]]=null!=e?e:[];return{actionResult:t,actionFlightData:o,redirectLocation:h,revalidatedParts:r}}return{redirectLocation:h,revalidatedParts:r}}function b(e,t){let{resolve:r,reject:n}=t,o={},u=e.canonicalUrl,p=e.tree;return o.preserveCustomHistoryState=!1,o.inFlightServerAction=v(e,t),o.inFlightServerAction.then(n=>{let{actionResult:y,actionFlightData:_,redirectLocation:v}=n;if(v&&(e.pushRef.pendingPush=!0,o.pendingPush=!0),!_)return(o.actionResultResolved||(r(y),o.actionResultResolved=!0),v)?(0,a.handleExternalUrl)(e,o,v.href,e.pushRef.pendingPush):e;if("string"==typeof _)return(0,a.handleExternalUrl)(e,o,_,e.pushRef.pendingPush);for(let r of(o.inFlightServerAction=null,_)){if(3!==r.length)return console.log("SERVER ACTION APPLY FAILED"),e;let[n]=r,l=(0,i.applyRouterStatePatchToFullTree)([""],p,n);if(null===l)return(0,h.handleSegmentMismatch)(e,t,n);if((0,c.isNavigatingToNewRootLayout)(p,l))return(0,a.handleExternalUrl)(e,o,u,e.pushRef.pendingPush);let[s,y]=r.slice(-2),_=null!==s?s[2]:null;if(null!==_){let e=(0,d.createEmptyCacheNode)();e.rsc=_,e.prefetchRsc=null,(0,f.fillLazyItemsTillLeafWithHead)(e,void 0,n,s,y),o.cache=e,o.prefetchCache=new Map}o.patchedTree=l,o.canonicalUrl=u,p=l}if(v){let e=(0,l.createHrefFromUrl)(v,!1);o.canonicalUrl=e}return o.actionResultResolved||(r(y),o.actionResultResolved=!0),(0,s.handleMutable)(e,o)},t=>{if("rejected"===t.status)return o.actionResultResolved||(n(t.reason),o.actionResultResolved=!0),e;throw t})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},94173:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverPatchReducer",{enumerable:!0,get:function(){return f}});let n=r(68419),o=r(27098),u=r(11956),l=r(5596),a=r(39671),i=r(28875),c=r(47690),s=r(52224);function f(e,t){let{flightData:r,overrideCanonicalUrl:f}=t,d={};if(d.preserveCustomHistoryState=!1,"string"==typeof r)return(0,l.handleExternalUrl)(e,d,r,e.pushRef.pendingPush);let p=e.tree,h=e.cache;for(let i of r){let r=i.slice(0,-4),[y]=i.slice(-3,-2),_=(0,o.applyRouterStatePatchToTreeSkipDefault)(["",...r],p,y);if(null===_)return(0,s.handleSegmentMismatch)(e,t,y);if((0,u.isNavigatingToNewRootLayout)(p,_))return(0,l.handleExternalUrl)(e,d,e.canonicalUrl,e.pushRef.pendingPush);let v=f?(0,n.createHrefFromUrl)(f):void 0;v&&(d.canonicalUrl=v);let b=(0,c.createEmptyCacheNode)();(0,a.applyFlightData)(h,b,i),d.patchedTree=_,d.cache=b,h=b,p=_}return(0,i.handleMutable)(e,d)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91414:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PrefetchKind:function(){return r},ACTION_REFRESH:function(){return o},ACTION_NAVIGATE:function(){return u},ACTION_RESTORE:function(){return l},ACTION_SERVER_PATCH:function(){return a},ACTION_PREFETCH:function(){return i},ACTION_FAST_REFRESH:function(){return c},ACTION_SERVER_ACTION:function(){return s},isThenable:function(){return f}});let o="refresh",u="navigate",l="restore",a="server-patch",i="prefetch",c="fast-refresh",s="server-action";function f(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(n=r||(r={})).AUTO="auto",n.FULL="full",n.TEMPORARY="temporary",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},36878:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reducer",{enumerable:!0,get:function(){return f}});let n=r(91414),o=r(5596),u=r(94173),l=r(57222),a=r(67491),i=r(5678),c=r(16503),s=r(40899),f=function(e,t){switch(t.type){case n.ACTION_NAVIGATE:return(0,o.navigateReducer)(e,t);case n.ACTION_SERVER_PATCH:return(0,u.serverPatchReducer)(e,t);case n.ACTION_RESTORE:return(0,l.restoreReducer)(e,t);case n.ACTION_REFRESH:return(0,a.refreshReducer)(e,t);case n.ACTION_FAST_REFRESH:return(0,c.fastRefreshReducer)(e,t);case n.ACTION_PREFETCH:return(0,i.prefetchReducer)(e,t);case n.ACTION_SERVER_ACTION:return(0,s.serverActionReducer)(e,t);default:throw Error("Unknown action")}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},13556:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"shouldHardNavigate",{enumerable:!0,get:function(){return function e(t,r){let[o,u]=r,[l,a]=t;return(0,n.matchSegment)(l,o)?!(t.length<=2)&&e(t.slice(2),u[a]):!!Array.isArray(l)}}});let n=r(22295);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15797:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createSearchParamsBailoutProxy",{enumerable:!0,get:function(){return o}});let n=r(28181);function o(){return new Proxy({},{get(e,t){"string"==typeof t&&(0,n.staticGenerationBailout)("searchParams."+t)}})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},40002:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"staticGenerationAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(70693).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},28181:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isStaticGenBailoutError:function(){return a},staticGenerationBailout:function(){return c}});let n=r(47127),o=r(40002),u="NEXT_STATIC_GEN_BAILOUT";class l extends Error{constructor(...e){super(...e),this.code=u}}function a(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===u}function i(e,t){let{dynamic:r,link:n}=t||{};return"Page"+(r?' with `dynamic = "'+r+'"`':"")+" couldn't be rendered statically because it used `"+e+"`."+(n?" See more info here: "+n:"")}let c=(e,t)=>{let{dynamic:r,link:u}=void 0===t?{}:t,a=o.staticGenerationAsyncStorage.getStore();if(!a)return!1;if(a.forceStatic)return!0;if(a.dynamicShouldError)throw new l(i(e,{link:u,dynamic:null!=r?r:"error"}));let c=i(e,{dynamic:r,link:"https://nextjs.org/docs/messages/dynamic-server-error"});if(null==a.postpone||a.postpone.call(a,e),a.revalidate=0,a.isStaticGeneration){let t=new n.DynamicServerError(c);throw a.dynamicUsageDescription=e,a.dynamicUsageStack=t.stack,t}return!1};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},77831:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}}),r(86921);let n=r(3827);r(64090);let o=r(15797);function u(e){let{Component:t,propsForComponent:r,isStaticGeneration:u}=e;if(u){let e=(0,o.createSearchParamsBailoutProxy)();return(0,n.jsx)(t,{searchParams:e,...r})}return(0,n.jsx)(t,{...r})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},21276:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{useUnwrapState:function(){return a},useReducerWithReduxDevtools:function(){return i}});let n=r(91884)._(r(64090)),o=r(91414),u=r(85367);function l(e){if(e instanceof Map){let t={};for(let[r,n]of e.entries()){if("function"==typeof n){t[r]="fn()";continue}if("object"==typeof n&&null!==n){if(n.$$typeof){t[r]=n.$$typeof.toString();continue}if(n._bundlerConfig){t[r]="FlightData";continue}}t[r]=l(n)}return t}if("object"==typeof e&&null!==e){let t={};for(let r in e){let n=e[r];if("function"==typeof n){t[r]="fn()";continue}if("object"==typeof n&&null!==n){if(n.$$typeof){t[r]=n.$$typeof.toString();continue}if(n.hasOwnProperty("_bundlerConfig")){t[r]="FlightData";continue}}t[r]=l(n)}return t}return Array.isArray(e)?e.map(l):e}function a(e){return(0,o.isThenable)(e)?(0,n.use)(e):e}let i=function(e){let[t,r]=n.default.useState(e),o=(0,n.useContext)(u.ActionQueueContext);if(!o)throw Error("Invariant: Missing ActionQueueContext");let a=(0,n.useRef)(),i=(0,n.useRef)();return(0,n.useEffect)(()=>{if(!a.current&&!1!==i.current){if(void 0===i.current&&void 0===window.__REDUX_DEVTOOLS_EXTENSION__){i.current=!1;return}return a.current=window.__REDUX_DEVTOOLS_EXTENSION__.connect({instanceId:8e3,name:"next-router"}),a.current&&(a.current.init(l(e)),o&&(o.devToolsInstance=a.current)),()=>{a.current=void 0}}},[e,o]),[t,(0,n.useCallback)(t=>{o.state||(o.state=e),o.dispatch(t,r)},[o,e]),(0,n.useCallback)(e=>{a.current&&a.current.send({type:"RENDER_SYNC"},l(e))},[])]};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},87379:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return o}});let n=r(87027);function o(e){return(0,n.pathHasPrefix)(e,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},82139:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return u}});let n=r(95868),o=r(36506),u=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:u}=(0,o.parsePath)(e);return""+(0,n.removeTrailingSlash)(t)+r+u};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4101:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(99775);function o(e){let t="function"==typeof reportError?reportError:e=>{window.console.error(e)};(0,n.isBailoutToCSRError)(e)||t(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},18895:function(e,t,r){"use strict";function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(87379),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},47600:function(e,t,r){"use strict";var n=r(89542);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},89542:function(e,t,r){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(38790)},25450:function(e,t,r){"use strict";var n=r(89542),o=r(64090),u={stream:!0},l=new Map;function a(e){var t=r(e);return"function"!=typeof t.then||"fulfilled"===t.status?null:(t.then(function(e){t.status="fulfilled",t.value=e},function(e){t.status="rejected",t.reason=e}),t)}function i(){}var c=new Map,s=r.u;r.u=function(e){var t=c.get(e);return void 0!==t?t:s(e)};var f=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,d=Symbol.for("react.element"),p=Symbol.for("react.provider"),h=Symbol.for("react.server_context"),y=Symbol.for("react.lazy"),_=Symbol.for("react.default_value"),v=Symbol.iterator,b=Array.isArray,g=Object.getPrototypeOf,m=Object.prototype,P=new WeakMap,j=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function R(e,t,r,n){this.status=e,this.value=t,this.reason=r,this._response=n}function O(e){switch(e.status){case"resolved_model":C(e);break;case"resolved_module":N(e)}switch(e.status){case"fulfilled":return e.value;case"pending":case"blocked":case"cyclic":throw e;default:throw e.reason}}function S(e,t){for(var r=0;rh?(_=h,h=3,p++):(_=0,h=3);continue;case 2:44===(g=d[p++])?h=4:v=v<<4|(96d.length&&(g=-1)}var m=d.byteOffset+p;if(-1>>1,o=e[n];if(0>>1;nu(i,r))cu(s,i)?(e[n]=s,e[c]=r,n=c):(e[n]=i,e[a]=r,n=a);else if(cu(s,r))e[n]=s,e[c]=r,n=c;else break}}return t}function u(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var l,a=performance;t.unstable_now=function(){return a.now()}}else{var i=Date,c=i.now();t.unstable_now=function(){return i.now()-c}}var s=[],f=[],d=1,p=null,h=3,y=!1,_=!1,v=!1,b="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,m="undefined"!=typeof setImmediate?setImmediate:null;function P(e){for(var t=n(f);null!==t;){if(null===t.callback)o(f);else if(t.startTime<=e)o(f),t.sortIndex=t.expirationTime,r(s,t);else break;t=n(f)}}function j(e){if(v=!1,P(e),!_){if(null!==n(s))_=!0,C();else{var t=n(f);null!==t&&N(j,t.startTime-e)}}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var R=!1,O=-1,S=5,E=-1;function w(){return!(t.unstable_now()-Ee&&w());){var a=p.callback;if("function"==typeof a){p.callback=null,h=p.priorityLevel;var i=a(p.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof i){p.callback=i,P(e),r=!0;break t}p===n(s)&&o(s),P(e)}else o(s);p=n(s)}if(null!==p)r=!0;else{var c=n(f);null!==c&&N(j,c.startTime-e),r=!1}}break e}finally{p=null,h=u,y=!1}r=void 0}}finally{r?l():R=!1}}}if("function"==typeof m)l=function(){m(M)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,x=T.port2;T.port1.onmessage=M,l=function(){x.postMessage(null)}}else l=function(){b(M,0)};function C(){R||(R=!0,l())}function N(e,r){O=b(function(){e(t.unstable_now())},r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){_||y||(_=!0,C())},t.unstable_forceFrameRate=function(e){0>e||125l?(e.sortIndex=u,r(f,e),null===n(s)&&e===n(f)&&(v?(g(O),O=-1):v=!0,N(j,u-l))):(e.sortIndex=a,r(s,e),_||y||(_=!0,C())),e},t.unstable_shouldYield=w,t.unstable_wrapCallback=function(e){var t=h;return function(){var r=h;h=t;try{return e.apply(this,arguments)}finally{h=r}}}},58172:function(e,t,r){"use strict";e.exports=r(52531)},2883:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentParam",{enumerable:!0,get:function(){return o}});let n=r(94749);function o(e){let t=n.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{type:"optional-catchall",param:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{type:"catchall",param:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{type:"dynamic",param:e.slice(1,-1)}:null}},94749:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},isInterceptionRouteAppPath:function(){return u},extractInterceptionRouteInformation:function(){return l}});let n=r(37178),o=["(..)(..)","(.)","(..)","(...)"];function u(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function l(e){let t,r,u;for(let n of e.split("/"))if(r=o.find(e=>n.startsWith(e))){[t,u]=e.split(r,2);break}if(!t||!r||!u)throw Error("Invalid interception route: ".concat(e,". Must be in the format //(..|...|..)(..)/"));switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":u="/"===t?"/".concat(u):t+"/"+u;break;case"(..)":if("/"===t)throw Error("Invalid interception route: ".concat(e,". Cannot use (..) marker at the root level, use (.) instead."));u=t.split("/").slice(0,-1).concat(u).join("/");break;case"(...)":u="/"+u;break;case"(..)(..)":let l=t.split("/");if(l.length<=2)throw Error("Invalid interception route: ".concat(e,". Cannot use (..)(..) marker at the root level or one level up."));u=l.slice(0,-2).concat(u).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:u}}},38599:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AppRouterContext:function(){return o},LayoutRouterContext:function(){return u},GlobalLayoutRouterContext:function(){return l},TemplateContext:function(){return a},MissingSlotContext:function(){return i}});let n=r(86921)._(r(64090)),o=n.default.createContext(null),u=n.default.createContext(null),l=n.default.createContext(null),a=n.default.createContext(null),i=n.default.createContext(new Set)},1:function(e,t){"use strict";function r(e){let t=5381;for(let r=0;r>>0}function n(e){return r(e).toString(36).slice(0,5)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{djb2Hash:function(){return r},hexHash:function(){return n}})},27484:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=r(86921)._(r(64090)).default.createContext({})},14758:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{SearchParamsContext:function(){return o},PathnameContext:function(){return u},PathParamsContext:function(){return l}});let n=r(64090),o=(0,n.createContext)(null),u=(0,n.createContext)(null),l=(0,n.createContext)(null)},99775:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{BailoutToCSRError:function(){return n},isBailoutToCSRError:function(){return o}});let r="BAILOUT_TO_CLIENT_SIDE_RENDERING";class n extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=r}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}},89590:function(e,t){"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},85367:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ActionQueueContext:function(){return a},createMutableActionQueue:function(){return s}});let n=r(91884),o=r(91414),u=r(36878),l=n._(r(64090)),a=l.default.createContext(null);function i(e,t){null!==e.pending&&(e.pending=e.pending.next,null!==e.pending&&c({actionQueue:e,action:e.pending,setState:t}))}async function c(e){let{actionQueue:t,action:r,setState:n}=e,u=t.state;if(!u)throw Error("Invariant: Router state not initialized");t.pending=r;let l=r.payload,a=t.action(u,l);function c(e){if(r.discarded){t.needsRefresh&&null===t.pending&&(t.needsRefresh=!1,t.dispatch({type:o.ACTION_REFRESH,origin:window.location.origin},n));return}t.state=e,t.devToolsInstance&&t.devToolsInstance.send(l,e),i(t,n),r.resolve(e)}(0,o.isThenable)(a)?a.then(c,e=>{i(t,n),r.reject(e)}):c(a)}function s(){let e={state:null,dispatch:(t,r)=>(function(e,t,r){let n={resolve:r,reject:()=>{}};if(t.type!==o.ACTION_RESTORE){let e=new Promise((e,t)=>{n={resolve:e,reject:t}});(0,l.startTransition)(()=>{r(e)})}let u={payload:t,next:null,resolve:n.resolve,reject:n.reject};null===e.pending?(e.last=u,c({actionQueue:e,action:u,setState:r})):t.type===o.ACTION_NAVIGATE?(e.pending.discarded=!0,e.last=u,e.pending.payload.type===o.ACTION_SERVER_ACTION&&(e.needsRefresh=!0),c({actionQueue:e,action:u,setState:r})):(null!==e.last&&(e.last.next=u),e.last=u)})(e,t,r),action:async(e,t)=>{if(null===e)throw Error("Invariant: Router state not initialized");return(0,u.reducer)(e,t)},pending:null,last:null};return e}},51312:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});let n=r(36506);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:u}=(0,n.parsePath)(e);return""+t+r+o+u}},37178:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return u},normalizeRscURL:function(){return l}});let n=r(89590),o=r(63266);function u(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function l(e){return e.replace(/\.rsc($|\?)/,"$1")}},73011:function(e,t){"use strict";function r(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},16407:function(e,t){"use strict";function r(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return r}})},36506:function(e,t){"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},87027:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let n=r(36506);function o(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},95868:function(e,t){"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},63266:function(e,t){"use strict";function r(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isGroupSegment:function(){return r},PAGE_SEGMENT_KEY:function(){return n},DEFAULT_SEGMENT_KEY:function(){return o}});let n="__PAGE__",o="__DEFAULT__"},32472:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return o},useServerInsertedHTML:function(){return u}});let n=r(91884)._(r(64090)),o=n.default.createContext(null);function u(e){let t=(0,n.useContext)(o);t&&t(e)}},76184:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},70693:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return u}});let r=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}}let o=globalThis.AsyncLocalStorage;function u(){return o?new o:new n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},42299:function(e,t,r){"use strict";function n(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}r.r(t),r.d(t,{_:function(){return n},_class_private_field_loose_base:function(){return n}})},13603:function(e,t,r){"use strict";r.r(t),r.d(t,{_:function(){return o},_class_private_field_loose_key:function(){return o}});var n=0;function o(e){return"__private_"+n+++"_"+e}},86921:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:function(){return n},_interop_require_default:function(){return n}})},91884:function(e,t,r){"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var a=u?Object.getOwnPropertyDescriptor(e,l):null;a&&(a.get||a.set)?Object.defineProperty(o,l,a):o[l]=e[l]}return o.default=e,r&&r.set(e,o),o}r.r(t),r.d(t,{_:function(){return o},_interop_require_wildcard:function(){return o}})}}]);
\ No newline at end of file
diff --git a/_next/static/chunks/795d4814-21e34f4635fd0bf0.js b/_next/static/chunks/795d4814-21e34f4635fd0bf0.js
deleted file mode 100644
index ffc9b46..0000000
--- a/_next/static/chunks/795d4814-21e34f4635fd0bf0.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[51],{784:function(t,c,n){n.d(c,{ixJ:function(){return h}});var a=n(158);function h(t){return(0,a.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z"},child:[]}]})(t)}}}]);
\ No newline at end of file
diff --git a/_next/static/chunks/795d4814-2a696f380ef27dd3.js b/_next/static/chunks/795d4814-2a696f380ef27dd3.js
new file mode 100644
index 0000000..a22ba35
--- /dev/null
+++ b/_next/static/chunks/795d4814-2a696f380ef27dd3.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[51],{70784:function(t,c,n){n.d(c,{ixJ:function(){return h}});var a=n(70158);function h(t){return(0,a.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z"},child:[]}]})(t)}}}]);
\ No newline at end of file
diff --git a/_next/static/chunks/83.8dfb776387fdda02.js b/_next/static/chunks/83.8dfb776387fdda02.js
new file mode 100644
index 0000000..0e14457
--- /dev/null
+++ b/_next/static/chunks/83.8dfb776387fdda02.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[83],{83:function(e){e.exports=JSON.parse('{"video":{"speed":"Speed","normal":"Normal","video":"/images/video/en/video.png","videoDark":"/images/video/en/video_dark.png"},"links":[{"label":"Features","href":"#Ability"},{"label":"Pricing","href":"https://cloud.tryfastgpt.ai/price"},{"label":"FAQ","href":"#FAQ"},{"label":"Docs","href":"https://doc.fastgpt.in/"}],"Hero":{"maker":"Users are leveraging FastGPT to create their own specialized AI knowledge bases","title1":"Empower","title2":"AI","title3":"with Your Expertise","description":"A free, open-source, and powerful AI knowledge base platform, offers out-of-the-box data processing, model invocation, RAG retrieval, and visual AI workflows. Easily build complex LLM applications."},"SocialProof":{"maker":"Users are leveraging FastGPT to create their own specialized AI knowledge bases"},"Feature":{"title":"Why Choose FastGPT?","description":"Discover the advantages of FastGPT","doYouLike":"Do you find this open-source AI knowledge base platform valuable?","follow":"Show your support by giving us a star \uD83C\uDF1F"},"Ability":{"title":"Features"},"Pricing":{"title":"Pricing","title2":"Suitable for Commercial Use","description":"FastGPT is an open-source and free AI knowledge base platform.","doYouLike":"Do you find this open-source AI knowledge base platform valuable?","follow":"Show your support by giving us a star \uD83C\uDF1F"},"FAQ":{"title":"FAQ","description":"Find answers to the most common inquiries here."},"CTA":{"title":"Start Building Your Domain-Specific Knowledge Base Now","description1":"Create","description2":"your own AI-powered customer support,","description3":"integrate it with","description4":"your products, and ","description5":"accelerate","description6":" your growth today!"},"CTAButton":{"title":"Get Started"},"InterModal":{"desc":"您当前正在访问国际版网站,可以点击右侧按钮跳转至国内版。","tip":"不再提醒","button":"跳转","link":"/zh"}}')}}]);
\ No newline at end of file
diff --git a/_next/static/chunks/83.9da409bfd454a3bb.js b/_next/static/chunks/83.9da409bfd454a3bb.js
deleted file mode 100644
index c579846..0000000
--- a/_next/static/chunks/83.9da409bfd454a3bb.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[83],{83:function(e){e.exports=JSON.parse('{"video":{"speed":"Speed","normal":"Normal"},"links":[{"label":"Features","href":"#Ability"},{"label":"Pricing","href":"#Pricing"},{"label":"FAQ","href":"#FAQ"},{"label":"Docs","href":"https://doc.fastgpt.in/"}],"Hero":{"title1":"Empower","title2":"AI","title3":"with Your Expertise","description":"A free, open-source, and powerful AI knowledge base platform, offers out-of-the-box data processing, model invocation, RAG retrieval, and visual AI workflows. Easily build complex LLM applications."},"SocialProof":{"maker":"Users are leveraging FastGPT to create their own specialized AI knowledge bases"},"Feature":{"title":"Why Choose FastGPT?","description":"Discover the advantages of FastGPT"},"Ability":{"title":"Features"},"Pricing":{"title":"Pricing","title2":"Suitable for Commercial Use","description":"FastGPT is an open-source and free AI knowledge base platform.","doYouLike":"Do you find this open-source AI knowledge base platform valuable?","follow":"Show your support by giving us a star \uD83C\uDF1F"},"FAQ":{"title":"FAQ","description":"Find answers to the most common inquiries here."},"CTA":{"title":"Start Building Your Domain-Specific Knowledge Base Now","description1":"Create","description2":"your own AI-powered customer support,","description3":"integrate it with","description4":"your products, and ","description5":"accelerate","description6":" your growth today!"},"CTAButton":{"title":"Get FastGPT"}}')}}]);
\ No newline at end of file
diff --git a/_next/static/chunks/8e1d74a4-8c63f97639c87ab0.js b/_next/static/chunks/8e1d74a4-8c63f97639c87ab0.js
deleted file mode 100644
index bcfa92e..0000000
--- a/_next/static/chunks/8e1d74a4-8c63f97639c87ab0.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[699],{1399:function(t,c,n){n.d(c,{l_A:function(){return u}});var l=n(158);function u(t){return(0,l.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"},child:[]}]})(t)}}}]);
\ No newline at end of file
diff --git a/_next/static/chunks/8e1d74a4-f364a616f7523a2a.js b/_next/static/chunks/8e1d74a4-f364a616f7523a2a.js
new file mode 100644
index 0000000..02696a3
--- /dev/null
+++ b/_next/static/chunks/8e1d74a4-f364a616f7523a2a.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[699],{71399:function(a,c,t){t.d(c,{j2d:function(){return u}});var n=t(70158);function u(a){return(0,n.w_)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"},child:[]}]})(a)}}}]);
\ No newline at end of file
diff --git a/_next/static/chunks/923-8dbfe4017c59ef56.js b/_next/static/chunks/923-8dbfe4017c59ef56.js
deleted file mode 100644
index 5bf95d8..0000000
--- a/_next/static/chunks/923-8dbfe4017c59ef56.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[923],{1774:function(e,t,n){n.d(t,{F:function(){return u},f:function(){return s}});var r=n(4090);let o=["light","dark"],a="(prefers-color-scheme: dark)",l=(0,r.createContext)(void 0),i={setTheme:e=>{},themes:[]},u=()=>{var e;return null!==(e=(0,r.useContext)(l))&&void 0!==e?e:i},s=e=>(0,r.useContext)(l)?r.createElement(r.Fragment,null,e.children):r.createElement(f,e),c=["light","dark"],f=e=>{let{forcedTheme:t,disableTransitionOnChange:n=!1,enableSystem:i=!0,enableColorScheme:u=!0,storageKey:s="theme",themes:f=c,defaultTheme:g=i?"system":"light",attribute:y="data-theme",value:b,children:v,nonce:_}=e,[P,O]=(0,r.useState)(()=>h(s,g)),[R,S]=(0,r.useState)(()=>h(s)),E=b?Object.values(b):f,j=(0,r.useCallback)(e=>{let t=e;if(!t)return;"system"===e&&i&&(t=m());let r=b?b[t]:t,a=n?p():null,l=document.documentElement;if("class"===y?(l.classList.remove(...E),r&&l.classList.add(r)):r?l.setAttribute(y,r):l.removeAttribute(y),u){let e=o.includes(g)?g:null,n=o.includes(t)?t:e;l.style.colorScheme=n}null==a||a()},[]),w=(0,r.useCallback)(e=>{O(e);try{localStorage.setItem(s,e)}catch(e){}},[t]),x=(0,r.useCallback)(e=>{S(m(e)),"system"===P&&i&&!t&&j("system")},[P,t]);(0,r.useEffect)(()=>{let e=window.matchMedia(a);return e.addListener(x),x(e),()=>e.removeListener(x)},[x]),(0,r.useEffect)(()=>{let e=e=>{e.key===s&&w(e.newValue||g)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[w]),(0,r.useEffect)(()=>{j(null!=t?t:P)},[t,P]);let C=(0,r.useMemo)(()=>({theme:P,setTheme:w,forcedTheme:t,resolvedTheme:"system"===P?R:P,themes:i?[...f,"system"]:f,systemTheme:i?R:void 0}),[P,w,t,R,i,f]);return r.createElement(l.Provider,{value:C},r.createElement(d,{forcedTheme:t,disableTransitionOnChange:n,enableSystem:i,enableColorScheme:u,storageKey:s,themes:f,defaultTheme:g,attribute:y,value:b,children:v,attrs:E,nonce:_}),v)},d=(0,r.memo)(e=>{let{forcedTheme:t,storageKey:n,attribute:l,enableSystem:i,enableColorScheme:u,defaultTheme:s,value:c,attrs:f,nonce:d}=e,h="system"===s,p="class"===l?"var d=document.documentElement,c=d.classList;c.remove(".concat(f.map(e=>"'".concat(e,"'")).join(","),");"):"var d=document.documentElement,n='".concat(l,"',s='setAttribute';"),m=u?o.includes(s)&&s?"if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'".concat(s,"'"):"if(e==='light'||e==='dark')d.style.colorScheme=e":"",g=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=c?c[e]:e,a=t?e+"|| ''":"'".concat(r,"'"),i="";return u&&n&&!t&&o.includes(e)&&(i+="d.style.colorScheme = '".concat(e,"';")),"class"===l?i+=t||r?"c.add(".concat(a,")"):"null":r&&(i+="d[s](n,".concat(a,")")),i},y=t?"!function(){".concat(p).concat(g(t),"}()"):i?"!function(){try{".concat(p,"var e=localStorage.getItem('").concat(n,"');if('system'===e||(!e&&").concat(h,")){var t='").concat(a,"',m=window.matchMedia(t);if(m.media!==t||m.matches){").concat(g("dark"),"}else{").concat(g("light"),"}}else if(e){").concat(c?"var x=".concat(JSON.stringify(c),";"):"").concat(g(c?"x[e]":"e",!0),"}").concat(h?"":"else{"+g(s,!1,!1)+"}").concat(m,"}catch(e){}}()"):"!function(){try{".concat(p,"var e=localStorage.getItem('").concat(n,"');if(e){").concat(c?"var x=".concat(JSON.stringify(c),";"):"").concat(g(c?"x[e]":"e",!0),"}else{").concat(g(s,!1,!1),";}").concat(m,"}catch(t){}}();");return r.createElement("script",{nonce:d,dangerouslySetInnerHTML:{__html:y}})},()=>!0),h=(e,t)=>{let n;try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t},p=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},m=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light")},2956:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return r}}),n(2139);let r=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r{})}}function v(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let _=a.default.forwardRef(function(e,t){let n,r;let{href:u,as:y,children:_,prefetch:P=null,passHref:O,replace:R,shallow:S,scroll:E,locale:j,onClick:w,onMouseEnter:x,onTouchStart:C,legacyBehavior:M=!1,...N}=e;n=_,M&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let k=a.default.useContext(f.RouterContext),T=a.default.useContext(d.AppRouterContext),I=null!=k?k:T,L=!k,A=!1!==P,U=null===P?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:W,as:D}=a.default.useMemo(()=>{if(!k){let e=v(u);return{href:e,as:y?v(y):e}}let[e,t]=(0,l.resolveHref)(k,u,!0);return{href:e,as:y?(0,l.resolveHref)(k,y):t||e}},[k,u,y]),K=a.default.useRef(W),z=a.default.useRef(D);M&&(r=a.default.Children.only(n));let F=M?r&&"object"==typeof r&&r.ref:t,[q,$,B]=(0,h.useIntersection)({rootMargin:"200px"}),Y=a.default.useCallback(e=>{(z.current!==D||K.current!==W)&&(B(),z.current=D,K.current=W),q(e),F&&("function"==typeof F?F(e):"object"==typeof F&&(F.current=e))},[D,F,W,B,q]);a.default.useEffect(()=>{I&&$&&A&&b(I,W,D,{locale:j},{kind:U},L)},[D,W,$,j,A,null==k?void 0:k.locale,I,L,U]);let V={ref:Y,onClick(e){M||"function"!=typeof w||w(e),M&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),I&&!e.defaultPrevented&&function(e,t,n,r,o,l,u,s,c){let{nodeName:f}=e.currentTarget;if("A"===f.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,i.isLocalURL)(n)))return;e.preventDefault();let d=()=>{let e=null==u||u;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:l,locale:s,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})};c?a.default.startTransition(d):d()}(e,I,W,D,R,S,E,j,L)},onMouseEnter(e){M||"function"!=typeof x||x(e),M&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),I&&(A||!L)&&b(I,W,D,{locale:j,priority:!0,bypassPrefetchedCheck:!0},{kind:U},L)},onTouchStart(e){M||"function"!=typeof C||C(e),M&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),I&&(A||!L)&&b(I,W,D,{locale:j,priority:!0,bypassPrefetchedCheck:!0},{kind:U},L)}};if((0,s.isAbsoluteUrl)(D))V.href=D;else if(!M||O||"a"===r.type&&!("href"in r.props)){let e=void 0!==j?j:null==k?void 0:k.locale,t=(null==k?void 0:k.isLocaleDomain)&&(0,p.getDomainLocale)(D,e,null==k?void 0:k.locales,null==k?void 0:k.domainLocales);V.href=t||(0,m.addBasePath)((0,c.addLocale)(D,e,null==k?void 0:k.defaultLocale))}return M?a.default.cloneElement(r,V):(0,o.jsx)("a",{...N,...V,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2185:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{requestIdleCallback:function(){return n},cancelIdleCallback:function(){return r}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},r="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4542:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});let r=n(5770),o=n(1030),a=n(4544),l=n(6874),i=n(2139),u=n(7434),s=n(2360),c=n(6735);function f(e,t,n){let f;let d="string"==typeof t?t:(0,o.formatWithValidation)(t),h=d.match(/^[a-zA-Z]{1,}:\/\//),p=h?d.slice(h[0].length):d;if((p.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,l.normalizeRepeatedSlashes)(p);d=(h?h[0]:"")+t}if(!(0,u.isLocalURL)(d))return n?[d]:d;try{f=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(d,f);e.pathname=(0,i.normalizePathTrailingSlash)(e.pathname);let t="";if((0,s.isDynamicRoute)(e.pathname)&&e.searchParams&&n){let n=(0,r.searchParamsToUrlQuery)(e.searchParams),{result:l,params:i}=(0,c.interpolateAs)(e.pathname,e.pathname,n);l&&(t=(0,o.formatWithValidation)({pathname:l,hash:e.hash,query:(0,a.omit)(n,i)}))}let l=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return n?[l,t||l]:l}catch(e){return n?[d]:d}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5291:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return u}});let r=n(4090),o=n(2185),a="function"==typeof IntersectionObserver,l=new Map,i=[];function u(e){let{rootRef:t,rootMargin:n,disabled:u}=e,s=u||!a,[c,f]=(0,r.useState)(!1),d=(0,r.useRef)(null),h=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(a){if(s||c)return;let e=d.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:o,elements:a}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=i.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=l.get(r)))return t;let o=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:o},i.push(n),l.set(n,t),t}(n);return a.set(e,t),o.observe(e),function(){if(a.delete(e),o.unobserve(e),0===a.size){o.disconnect(),l.delete(r);let e=i.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&i.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,o.requestIdleCallback)(()=>f(!0));return()=>(0,o.cancelIdleCallback)(e)}},[s,n,t,c,d.current]),[h,c,(0,r.useCallback)(()=>{f(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2202:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let n=/[|\\{}()[\]^$+*?.-]/,r=/[|\\{}()[\]^$+*?.-]/g;function o(e){return n.test(e)?e.replace(r,"\\$&"):e}},6993:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});let r=n(6921)._(n(4090)).default.createContext(null)},1030:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{formatUrl:function(){return a},urlObjectKeys:function(){return l},formatWithValidation:function(){return i}});let r=n(1884)._(n(5770)),o=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:n}=e,a=e.protocol||"",l=e.pathname||"",i=e.hash||"",u=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:n&&(s=t+(~n.indexOf(":")?"["+n+"]":n),e.port&&(s+=":"+e.port)),u&&"object"==typeof u&&(u=String(r.urlQueryToSearchParams(u)));let c=e.search||u&&"?"+u||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||o.test(a))&&!1!==s?(s="//"+(s||""),l&&"/"!==l[0]&&(l="/"+l)):s||(s=""),i&&"#"!==i[0]&&(i="#"+i),c&&"?"!==c[0]&&(c="?"+c),""+a+s+(l=l.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+i}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function i(e){return a(e)}},2360:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getSortedRoutes:function(){return r.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let r=n(7409),o=n(1305)},6735:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return a}});let r=n(2395),o=n(9935);function a(e,t,n){let a="",l=(0,o.getRouteRegex)(e),i=l.groups,u=(t!==e?(0,r.getRouteMatcher)(l)(t):"")||n;a=e;let s=Object.keys(i);return s.every(e=>{let t=u[e]||"",{repeat:n,optional:r}=i[e],o="["+(n?"...":"")+e+"]";return r&&(o=(t?"":"/")+"["+o+"]"),n&&!Array.isArray(t)&&(t=[t]),(r||e in u)&&(a=a.replace(o,n?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(a=""),{params:s,result:a}}},1305:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return a}});let r=n(4749),o=/\/\[[^/]+?\](?=\/|$)/;function a(e){return(0,r.isInterceptionRouteAppPath)(e)&&(e=(0,r.extractInterceptionRouteInformation)(e).interceptedRoute),o.test(e)}},7434:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return a}});let r=n(6874),o=n(7379);function a(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,o.hasBasePath)(n.pathname)}catch(e){return!1}}},4544:function(e,t){function n(e,t){let n={};return Object.keys(e).forEach(r=>{t.includes(r)||(n[r]=e[r])}),n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return n}})},5770:function(e,t){function n(e){let t={};return e.forEach((e,n)=>{void 0===t[n]?t[n]=e:Array.isArray(t[n])?t[n].push(e):t[n]=[t[n],e]}),t}function r(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[n,o]=e;Array.isArray(o)?o.forEach(e=>t.append(n,r(e))):t.set(n,r(o))}),t}function a(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,n)=>e.append(n,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return o},assign:function(){return a}})},2395:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let r=n(6874);function o(e){let{re:t,groups:n}=e;return e=>{let o=t.exec(e);if(!o)return!1;let a=e=>{try{return decodeURIComponent(e)}catch(e){throw new r.DecodeError("failed to decode param")}},l={};return Object.keys(n).forEach(e=>{let t=n[e],r=o[t.pos];void 0!==r&&(l[e]=~r.indexOf("/")?r.split("/").map(e=>a(e)):t.repeat?[a(r)]:a(r))}),l}}},9935:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getRouteRegex:function(){return u},getNamedRouteRegex:function(){return f},getNamedMiddlewareRegex:function(){return d}});let r=n(4749),o=n(2202),a=n(5868);function l(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let n=e.startsWith("...");return n&&(e=e.slice(3)),{key:e,repeat:n,optional:t}}function i(e){let t=(0,a.removeTrailingSlash)(e).slice(1).split("/"),n={},i=1;return{parameterizedRoute:t.map(e=>{let t=r.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),a=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&a){let{key:e,optional:r,repeat:u}=l(a[1]);return n[e]={pos:i++,repeat:u,optional:r},"/"+(0,o.escapeStringRegexp)(t)+"([^/]+?)"}if(!a)return"/"+(0,o.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:r}=l(a[1]);return n[e]={pos:i++,repeat:t,optional:r},t?r?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:n}}function u(e){let{parameterizedRoute:t,groups:n}=i(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:n}}function s(e){let{interceptionMarker:t,getSafeRouteKey:n,segment:r,routeKeys:a,keyPrefix:i}=e,{key:u,optional:s,repeat:c}=l(r),f=u.replace(/\W/g,"");i&&(f=""+i+f);let d=!1;(0===f.length||f.length>30)&&(d=!0),isNaN(parseInt(f.slice(0,1)))||(d=!0),d&&(f=n()),i?a[f]=""+i+u:a[f]=u;let h=t?(0,o.escapeStringRegexp)(t):"";return c?s?"(?:/"+h+"(?<"+f+">.+?))?":"/"+h+"(?<"+f+">.+?)":"/"+h+"(?<"+f+">[^/]+?)"}function c(e,t){let n;let l=(0,a.removeTrailingSlash)(e).slice(1).split("/"),i=(n=0,()=>{let e="",t=++n;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),u={};return{namedParameterizedRoute:l.map(e=>{let n=r.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),a=e.match(/\[((?:\[.*\])|.+)\]/);if(n&&a){let[n]=e.split(a[0]);return s({getSafeRouteKey:i,interceptionMarker:n,segment:a[1],routeKeys:u,keyPrefix:t?"nxtI":void 0})}return a?s({getSafeRouteKey:i,segment:a[1],routeKeys:u,keyPrefix:t?"nxtP":void 0}):"/"+(0,o.escapeStringRegexp)(e)}).join(""),routeKeys:u}}function f(e,t){let n=c(e,t);return{...u(e),namedRegex:"^"+n.namedParameterizedRoute+"(?:/)?$",routeKeys:n.routeKeys}}function d(e,t){let{parameterizedRoute:n}=i(e),{catchAll:r=!0}=t;if("/"===n)return{namedRegex:"^/"+(r?".*":"")+"$"};let{namedParameterizedRoute:o}=c(e,!1);return{namedRegex:"^"+o+(r?"(?:(/.*)?)":"")+"$"}}},7409:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return r}});class n{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let n=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');n.unshift(t)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),n}_insert(e,t,r){if(0===e.length){this.placeholder=!1;return}if(r)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let n=o.slice(1,-1),l=!1;if(n.startsWith("[")&&n.endsWith("]")&&(n=n.slice(1,-1),l=!0),n.startsWith("...")&&(n=n.substring(3),r=!0),n.startsWith("[")||n.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+n+"').");if(n.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+n+"').");function a(e,n){if(null!==e&&e!==n)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+n+"').");t.forEach(e=>{if(e===n)throw Error('You cannot have the same slug name "'+n+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+n+'" differ only by non-word symbols within a single dynamic path')}),t.push(n)}if(r){if(l){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');a(this.optionalRestSlugName,n),this.optionalRestSlugName=n,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');a(this.restSlugName,n),this.restSlugName=n,o="[...]"}}else{if(l)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');a(this.slugName,n),this.slugName=n,o="[]"}}this.children.has(o)||this.children.set(o,new n),this.children.get(o)._insert(e.slice(1),t,r)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function r(e){let t=new n;return e.forEach(e=>t.insert(e)),t.smoosh()}},6874:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{WEB_VITALS:function(){return n},execOnce:function(){return r},isAbsoluteUrl:function(){return a},getLocationOrigin:function(){return l},getURL:function(){return i},getDisplayName:function(){return u},isResSent:function(){return s},normalizeRepeatedSlashes:function(){return c},loadGetInitialProps:function(){return f},SP:function(){return d},ST:function(){return h},DecodeError:function(){return p},NormalizeError:function(){return m},PageNotFoundError:function(){return g},MissingStaticPage:function(){return y},MiddlewareNotFoundError:function(){return b},stringifyError:function(){return v}});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function r(e){let t,n=!1;return function(){for(var r=arguments.length,o=Array(r),a=0;ao.test(e);function l(){let{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function i(){let{href:e}=window.location,t=l();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(n&&s(n))return r;if(!r)throw Error('"'+u(e)+'.getInitialProps()" should resolve to an object. But found "'+r+'" instead.');return r}let d="undefined"!=typeof performance,h=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class p extends Error{}class m extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class y extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function v(e){return JSON.stringify({message:e.message,stack:e.stack})}}}]);
\ No newline at end of file
diff --git a/_next/static/chunks/993-36282803f79fc698.js b/_next/static/chunks/993-36282803f79fc698.js
deleted file mode 100644
index fcc74e7..0000000
--- a/_next/static/chunks/993-36282803f79fc698.js
+++ /dev/null
@@ -1,55 +0,0 @@
-"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[993],{6760:function(){},7461:function(e,t,r){r.d(t,{Z:function(){return s}});var n=r(4090),i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
- * @license lucide-react v0.316.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),s=(e,t)=>{let r=(0,n.forwardRef)((r,s)=>{let{color:a="currentColor",size:l=24,strokeWidth:u=2,absoluteStrokeWidth:c,className:d="",children:f,...h}=r;return(0,n.createElement)("svg",{ref:s,...i,width:l,height:l,stroke:a,strokeWidth:c?24*Number(u)/Number(l):u,className:["lucide","lucide-".concat(o(e)),d].join(" "),...h},[...t.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(f)?f:[f]])});return r.displayName="".concat(e),r}},9259:function(e,t,r){r.d(t,{Z:function(){return n}});/**
- * @license lucide-react v0.316.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */let n=(0,r(7461).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},3441:function(e,t,r){r.d(t,{Z:function(){return n}});/**
- * @license lucide-react v0.316.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */let n=(0,r(7461).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},5159:function(e,t,r){r.d(t,{Z:function(){return n}});/**
- * @license lucide-react v0.316.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */let n=(0,r(7461).Z)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},9744:function(e,t,r){r.d(t,{Z:function(){return n}});/**
- * @license lucide-react v0.316.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */let n=(0,r(7461).Z)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},94:function(e,t,r){r.d(t,{Z:function(){return n}});/**
- * @license lucide-react v0.316.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */let n=(0,r(7461).Z)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},1318:function(e,t,r){r.d(t,{Z:function(){return n}});/**
- * @license lucide-react v0.316.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */let n=(0,r(7461).Z)("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]])},8821:function(e,t,r){/*!
- * negotiator
- * Copyright(c) 2012 Federico Romero
- * Copyright(c) 2012-2014 Isaac Z. Schlueter
- * Copyright(c) 2015 Douglas Christopher Wilson
- * MIT Licensed
- */var n=r(2878),i=r(2984),o=r(1140),s=r(4676);function a(e){if(!(this instanceof a))return new a(e);this.request=e}e.exports=a,e.exports.Negotiator=a,a.prototype.charset=function(e){var t=this.charsets(e);return t&&t[0]},a.prototype.charsets=function(e){return n(this.request.headers["accept-charset"],e)},a.prototype.encoding=function(e){var t=this.encodings(e);return t&&t[0]},a.prototype.encodings=function(e){return i(this.request.headers["accept-encoding"],e)},a.prototype.language=function(e){var t=this.languages(e);return t&&t[0]},a.prototype.languages=function(e){return o(this.request.headers["accept-language"],e)},a.prototype.mediaType=function(e){var t=this.mediaTypes(e);return t&&t[0]},a.prototype.mediaTypes=function(e){return s(this.request.headers.accept,e)},a.prototype.preferredCharset=a.prototype.charset,a.prototype.preferredCharsets=a.prototype.charsets,a.prototype.preferredEncoding=a.prototype.encoding,a.prototype.preferredEncodings=a.prototype.encodings,a.prototype.preferredLanguage=a.prototype.language,a.prototype.preferredLanguages=a.prototype.languages,a.prototype.preferredMediaType=a.prototype.mediaType,a.prototype.preferredMediaTypes=a.prototype.mediaTypes},2878:function(e){e.exports=r,e.exports.preferredCharsets=r;var t=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function r(e,r){var s=function(e){for(var r=e.split(","),n=0,i=0;n(n.s-o.s||n.q-o.q||n.o-o.o)&&(n=o)}return n}(e,s,t)});return a.filter(o).sort(n).map(function(e){return r[a.indexOf(e)]})}function n(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function i(e){return e.charset}function o(e){return e.q>0}},2984:function(e){e.exports=n,e.exports.preferredEncodings=n;var t=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function r(e,t,r){var n=0;if(t.encoding.toLowerCase()===e.toLowerCase())n|=1;else if("*"!==t.encoding)return null;return{i:r,o:t.i,q:t.q,s:n}}function n(e,n){var a=function(e){for(var n=e.split(","),i=!1,o=1,s=0,a=0;s(i.s-s.s||i.q-s.q||i.o-s.o)&&(i=s)}return i}(e,a,t)});return l.filter(s).sort(i).map(function(e){return n[l.indexOf(e)]})}function i(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function o(e){return e.encoding}function s(e){return e.q>0}},1140:function(e){e.exports=n,e.exports.preferredLanguages=n;var t=/^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/;function r(e,r){var n=t.exec(e);if(!n)return null;var i=n[1],o=n[2],s=i;o&&(s+="-"+o);var a=1;if(n[3])for(var l=n[3].split(";"),u=0;u(i.s-s.s||i.q-s.q||i.o-s.o)&&(i=s)}return i}(e,n,t)});return a.filter(s).sort(i).map(function(e){return t[a.indexOf(e)]})}function i(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function o(e){return e.full}function s(e){return e.q>0}},4676:function(e){e.exports=n,e.exports.preferredMediaTypes=n;var t=/^\s*([^\s\/;]+)\/([^;\s]+)\s*(?:;(.*))?$/;function r(e,r){var n=t.exec(e);if(!n)return null;var i=Object.create(null),o=1,s=n[2],u=n[1];if(n[3])for(var c=(function(e){for(var t=e.split(";"),r=1,n=0;r0){if(!s.every(function(e){return"*"==t.params[e]||(t.params[e]||"").toLowerCase()==(i.params[e]||"").toLowerCase()}))return null;o|=1}return{i:n,o:t.i,q:t.q,s:o}}(e,t[o],n);s&&0>(i.s-s.s||i.q-s.q||i.o-s.o)&&(i=s)}return i}(e,n,t)});return l.filter(s).sort(i).map(function(e){return t[l.indexOf(e)]})}function i(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function o(e){return e.type+"/"+e.subtype}function s(e){return e.q>0}function a(e){for(var t=0,r=0;-1!==(r=e.indexOf('"',r));)t++,r++;return t}function l(e){var t,r,n=e.indexOf("=");return -1===n?t=e:(t=e.substr(0,n),r=e.substr(n+1)),[t,r]}},703:function(e,t,r){r.d(t,{default:function(){return i.a}});var n=r(7447),i=r.n(n)},8792:function(e,t,r){r.d(t,{default:function(){return i.a}});var n=r(5250),i=r.n(n)},7907:function(e,t,r){var n=r(5313);r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}})},1749:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let n=r(6921),i=r(1884),o=r(3827),s=i._(r(4090)),a=n._(r(9542)),l=n._(r(2251)),u=r(8630),c=r(6906),d=r(337);r(6184);let f=r(6993),h=n._(r(536)),p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function m(e,t,r,n,i,o){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function g(e){let[t,r]=s.version.split(".",2),n=parseInt(t,10),i=parseInt(r,10);return n>18||18===n&&i>=3?{fetchPriority:e}:{fetchpriority:e}}let v=(0,s.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:a,width:l,decoding:u,className:c,style:d,fetchPriority:f,placeholder:h,loading:p,unoptimized:v,fill:y,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:x,setShowAltText:E,onLoad:P,onError:T,...S}=e;return(0,o.jsx)("img",{...S,...g(f),loading:p,width:l,height:a,decoding:u,"data-nimg":y?"fill":"1",className:c,style:d,sizes:i,srcSet:n,src:r,ref:(0,s.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(T&&(e.src=e.src),e.complete&&m(e,h,b,w,x,v))},[r,h,b,w,x,T,v,t]),onLoad:e=>{m(e.currentTarget,h,b,w,x,v)},onError:e=>{E(!0),"empty"!==h&&x(!0),T&&T(e)}})});function y(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...g(r.fetchPriority)};return t&&a.default.preload?(a.default.preload(r.src,n),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let b=(0,s.forwardRef)((e,t)=>{let r=(0,s.useContext)(f.RouterContext),n=(0,s.useContext)(d.ImageConfigContext),i=(0,s.useMemo)(()=>{let e=p||n||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r}},[n]),{onLoad:a,onLoadingComplete:l}=e,m=(0,s.useRef)(a);(0,s.useEffect)(()=>{m.current=a},[a]);let g=(0,s.useRef)(l);(0,s.useEffect)(()=>{g.current=l},[l]);let[b,w]=(0,s.useState)(!1),[x,E]=(0,s.useState)(!1),{props:P,meta:T}=(0,u.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:b,showAltText:x});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v,{...P,unoptimized:T.unoptimized,placeholder:T.placeholder,fill:T.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:w,setShowAltText:E,ref:t}),T.priority?(0,o.jsx)(y,{isAppRouter:!r,imgAttributes:P}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5827:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(6921)._(r(4090)).default.createContext({})},3044:function(e,t){function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},8630:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return a}}),r(6184);let n=r(7160),i=r(6906);function o(e){return void 0!==e.default}function s(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function a(e,t){var r;let a,l,u,{src:c,sizes:d,unoptimized:f=!1,priority:h=!1,loading:p,className:m,quality:g,width:v,height:y,fill:b=!1,style:w,onLoad:x,onLoadingComplete:E,placeholder:P="empty",blurDataURL:T,fetchPriority:S,layout:k,objectFit:C,objectPosition:M,lazyBoundary:A,lazyRoot:R,...L}=e,{imgConf:O,showAltText:K,blurComplete:D,defaultLoader:I}=t,j=O||i.imageConfigDefault;if("allSizes"in j)a=j;else{let e=[...j.deviceSizes,...j.imageSizes].sort((e,t)=>e-t),t=j.deviceSizes.sort((e,t)=>e-t);a={...j,allSizes:e,deviceSizes:t}}let F=L.loader||I;delete L.loader,delete L.srcSet;let V="__next_img_default"in F;if(V){if("custom"===a.loader)throw Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=F;F=t=>{let{config:r,...n}=t;return e(n)}}if(k){"fill"===k&&(b=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[k];e&&(w={...w,...e});let t={responsive:"100vw",fill:"100vw"}[k];t&&!d&&(d=t)}let N="",B=s(v),z=s(y);if("object"==typeof(r=c)&&(o(r)||void 0!==r.src)){let e=o(c)?c.default:c;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(l=e.blurWidth,u=e.blurHeight,T=T||e.blurDataURL,N=e.src,!b){if(B||z){if(B&&!z){let t=B/e.width;z=Math.round(e.height*t)}else if(!B&&z){let t=z/e.height;B=Math.round(e.width*t)}}else B=e.width,z=e.height}}let _=!h&&("lazy"===p||void 0===p);(!(c="string"==typeof c?c:N)||c.startsWith("data:")||c.startsWith("blob:"))&&(f=!0,_=!1),a.unoptimized&&(f=!0),V&&c.endsWith(".svg")&&!a.dangerouslyAllowSVG&&(f=!0),h&&(S="high");let W=s(g),H=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:C,objectPosition:M}:{},K?{}:{color:"transparent"},w),G=D||"empty"===P?null:"blur"===P?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:B,heightInt:z,blurWidth:l,blurHeight:u,blurDataURL:T||"",objectFit:H.objectFit})+'")':'url("'+P+'")',U=G?{backgroundSize:H.objectFit||"cover",backgroundPosition:H.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:G}:{},Z=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:o,sizes:s,loader:a}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);n)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,s),c=l.length-1;return{sizes:s||"w"!==u?s:"100vw",srcSet:l.map((e,n)=>a({config:t,src:r,quality:o,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:a({config:t,src:r,quality:o,width:l[c]})}}({config:a,src:c,unoptimized:f,width:B,quality:W,sizes:d,loader:F});return{props:{...L,loading:_?"lazy":p,fetchPriority:S,width:B,height:z,decoding:"async",className:m,style:{...H,...U},sizes:Z.sizes,srcSet:Z.srcSet,src:Z.src},meta:{unoptimized:f,priority:h,placeholder:P,fill:b}}}},2251:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{defaultHead:function(){return d},default:function(){return m}});let n=r(6921),i=r(1884),o=r(3827),s=i._(r(4090)),a=n._(r(7392)),l=r(5827),u=r(7484),c=r(3044);function d(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===s.default.Fragment?e.concat(s.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(6184);let h=["name","httpEquiv","charSet","itemProp"];function p(e,t){let{inAmpMode:r}=t;return e.reduce(f,[]).reverse().concat(d(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return i=>{let o=!0,s=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){s=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(let e=0,t=h.length;e{let n=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,s.default.cloneElement(e,t)}return s.default.cloneElement(e,{key:n})})}let m=function(e){let{children:t}=e,r=(0,s.useContext)(l.AmpStateContext),n=(0,s.useContext)(u.HeadManagerContext);return(0,o.jsx)(a.default,{reduceComponentsToState:p,headManager:n,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7160:function(e,t){function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:s}=e,a=n?40*n:t,l=i?40*i:r,u=a&&l?"viewBox='0 0 "+a+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},337:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=r(6921)._(r(4090)),i=r(6906),o=n.default.createContext(i.imageConfigDefault)},6906:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},7447:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getImageProps:function(){return a},default:function(){return l}});let n=r(6921),i=r(8630),o=r(1749),s=n._(r(536)),a=e=>{let{props:t}=(0,i.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}},l=o.Image},536:function(e,t){function r(e){let{config:t,src:r,width:n,quality:i}=e;return t.path+"?url="+encodeURIComponent(r)+"&w="+n+"&q="+(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},7392:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=r(4090),i=n.useLayoutEffect,o=n.useEffect;function s(e){let{headManager:t,reduceComponentsToState:r}=e;function s(){if(t&&t.mountedInstances){let i=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(i,e))}}return i(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),i(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},6393:function(e,t,r){r.r(t),r.d(t,{RoughNotation:function(){return k},RoughNotationGroup:function(){return T}});var n=r(4090);let i="http://www.w3.org/2000/svg";class o{next(){return this.seed?(2147483648-1&(this.seed=Math.imul(48271,this.seed)))/2147483648:Math.random()}constructor(e){this.seed=e}}function s(e,t,r,n,i){return{type:"path",ops:f(e,t,r,n,i)}}function a(e,t,r){let n=(e||[]).length;if(n>2){let i=[];for(let t=0;t3&&void 0!==arguments[3]?arguments[3]:1;return r.roughness*n*(u(r)*(t-e)+e)}function d(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return c(-e,e,t,r)}function f(e,t,r,n,i){let o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=o?i.disableMultiStrokeFill:i.disableMultiStroke,a=h(e,t,r,n,i,!0,!1);if(s)return a;let l=h(e,t,r,n,i,!0,!0);return a.concat(l)}function h(e,t,r,n,i,o,s){let a=Math.pow(e-r,2)+Math.pow(t-n,2),l=Math.sqrt(a),c=1;c=l<200?1:l>500?.4:-.0016668*l+1.233334;let f=i.maxRandomnessOffset||0;f*f*100>a&&(f=l/10);let h=f/2,p=.2+.2*u(i),m=i.bowing*i.maxRandomnessOffset*(n-t)/200,g=i.bowing*i.maxRandomnessOffset*(e-r)/200;m=d(m,i,c),g=d(g,i,c);let v=[],y=()=>d(h,i,c),b=()=>d(f,i,c);return o&&(s?v.push({op:"move",data:[e+y(),t+y()]}):v.push({op:"move",data:[e+d(f,i,c),t+d(f,i,c)]})),s?v.push({op:"bcurveTo",data:[m+e+(r-e)*p+y(),g+t+(n-t)*p+y(),m+e+2*(r-e)*p+y(),g+t+2*(n-t)*p+y(),r+y(),n+y()]}):v.push({op:"bcurveTo",data:[m+e+(r-e)*p+b(),g+t+(n-t)*p+b(),m+e+2*(r-e)*p+b(),g+t+2*(n-t)*p+b(),r+b(),n+b()]}),v}function p(e,t,r){let n=e.length,i=[];if(n>3){let o=[],s=1-r.curveTightness;i.push({op:"move",data:[e[1][0],e[1][1]]});for(let t=1;t+2{for(let t of e)t.contentRect&&this._resizeListener()})),this._ro&&this._ro.observe(this._e)}haveRectsChanged(){if(this._lastSizes.length){let e=this.rects();if(e.length!==this._lastSizes.length)return!0;for(let t=0;tMath.round(e)===Math.round(t);return r(e.x,t.x)&&r(e.y,t.y)&&r(e.w,t.w)&&r(e.h,t.h)}isShowing(){return"not-showing"!==this._state}refresh(){this.isShowing()&&!this.pendingRefresh&&(this.pendingRefresh=Promise.resolve().then(()=>{this.isShowing()&&this.show(),delete this.pendingRefresh}))}show(){switch(this._state){case"unattached":break;case"showing":this.hide(),this._svg&&this.render(this._svg,!0);break;case"not-showing":this.attach(),this._svg&&this.render(this._svg,!1)}}hide(){if(this._svg)for(;this._svg.lastChild;)this._svg.removeChild(this._svg.lastChild);this._state="not-showing"}remove(){this._svg&&this._svg.parentElement&&this._svg.parentElement.removeChild(this._svg),this._svg=void 0,this._state="unattached",this.detachListeners()}render(e,t){let r=this._config;t&&((r=JSON.parse(JSON.stringify(this._config))).animate=!1);let n=this.rects(),o=0;n.forEach(e=>o+=e.w);let u=r.animationDuration||800,c=0;for(let t=0;te.setAttribute(t,r);for(let n of t){let t=document.createElementNS(i,"path");if(u(t,"d",n),u(t,"fill","none"),u(t,"stroke",r.color||"currentColor"),u(t,"stroke-width",""+d),h){let e=t.getTotalLength();s.push(e),l+=e}e.appendChild(t),a.push(t)}if(h){let e=0;for(let t=0;t{this._resizing||(this._resizing=!0,setTimeout(()=>{this._resizing=!1,"showing"===this._state&&this.haveRectsChanged()&&this.show()},400))},this._e=e,this._config=JSON.parse(JSON.stringify(t)),this.attach()}}/*! *****************************************************************************
-Copyright (c) Microsoft Corporation.
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-PERFORMANCE OF THIS SOFTWARE.
-***************************************************************************** */var y=function(){return(y=Object.assign||function(e){for(var t,r=1,n=arguments.length;rt.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}(e,["animate","animationDelay","animationDuration","brackets","children","color","customElement","getAnnotationObject","iterations","multiline","order","padding","show","strokeWidth","type"]),C=(0,n.useRef)(null),M=(0,n.useRef)(),A=(0,n.useRef)({playing:!1,timeout:null}),R=(0,n.useRef)({animate:r,animationDuration:a,brackets:l,color:c,getAnnotationObject:f,iterations:void 0===h?2:h,multiline:void 0!==p&&p,padding:b,strokeWidth:P,type:void 0===T?"underline":T}),L=(0,n.useCallback)(function(){A.current.timeout||(A.current.timeout=window.setTimeout(function(){var e,t;A.current.playing=!0,null===(t=null===(e=M.current)||void 0===e?void 0:e.show)||void 0===t||t.call(e),window.setTimeout(function(){A.current.playing=!1,A.current.timeout=null},a)},o))},[o,a]),O=(0,n.useCallback)(function(){var e,t;null===(t=null===(e=M.current)||void 0===e?void 0:e.hide)||void 0===t||t.call(e),A.current.playing=!1,A.current.timeout&&(clearTimeout(A.current.timeout),A.current.timeout=null)},[]);return S({getAnnotation:(0,n.useCallback)(function(){return M.current},[M]),show:L,hide:O},"string"==typeof m?parseInt(m):m),(0,n.useEffect)(function(){var e=R.current,t=e.getAnnotationObject;return M.current=new v(C.current,e),t&&t(M.current),function(){var e,t;null===(t=null===(e=M.current)||void 0===e?void 0:e.remove)||void 0===t||t.call(e)}},[]),(0,n.useEffect)(function(){x?L():O()},[M,x,o,A,a,L,O]),(0,n.useEffect)(function(){M.current&&(M.current.animate=r,M.current.animationDuration=a,M.current.color=c,M.current.strokeWidth=P,M.current.padding=b)},[M,r,a,c,P,b]),n.createElement(void 0===d?"span":d,y({ref:C},k),u)}},2110:function(e,t,r){r.d(t,{Z:function(){return n}});function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,y.jsx)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",role:"presentation",viewBox:"0 0 24 24",width:"1em",...e,children:(0,y.jsx)("path",{d:"M15.5 19l-7-7 7-7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})}),w=r(7126),x=r(618),E=r(406),P=r(2435),T=r(3299),S=r(5998);class k extends T.Hg{add(e){let t;x.G.has(e)?(this.transforms.add(e),t="transform"):e.startsWith("origin")||(0,w.f)(e)||"willChange"===e||(t=(0,S.D)(e)),t&&((0,E.y4)(this.members,t),this.update())}remove(e){x.G.has(e)?(this.transforms.delete(e),this.transforms.size||(0,E.cl)(this.members,"transform")):(0,E.cl)(this.members,(0,S.D)(e)),this.update()}update(){this.set(this.members.length?this.members.join(", "):"auto")}constructor(){super(...arguments),this.members=[],this.transforms=new Set}}var C=r(4494),M=r(744),A={ease:[.36,.66,.4,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1]};A.easeOut,A.easeIn;var R={scaleSpring:{enter:{transform:"scale(1)",opacity:1,transition:{type:"spring",bounce:0,duration:.3}},exit:{transform:"scale(0.6)",opacity:0,transition:{type:"easeOut",duration:.2}}},scaleSpringOpacity:{initial:{opacity:0,transform:"scale(0.8)"},enter:{opacity:1,transform:"scale(1)",transition:{type:"spring",bounce:0,duration:.3}},exit:{opacity:0,transform:"scale(0.7)",transition:{type:"easeOut",bounce:0,duration:.18}}},scale:{enter:{scale:1},exit:{scale:.95}},scaleFadeIn:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.25,ease:A.easeIn}},exit:{transform:"scale(0.95)",opacity:0,transition:{duration:.2,ease:A.easeOut}}},scaleInOut:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.4,ease:A.ease}},exit:{transform:"scale(1.03)",opacity:0,transition:{duration:.3,ease:A.ease}}},fade:{enter:{opacity:1,transition:{duration:.4,ease:A.ease}},exit:{opacity:0,transition:{duration:.3,ease:A.ease}}},collapse:{enter:{opacity:1,height:"auto",transition:{height:{type:"spring",bounce:0,duration:.3},opacity:{easings:"ease",duration:.4}}},exit:{opacity:0,height:0,transition:{easings:"ease",duration:.3}}}},L=(0,v.Gp)((e,t)=>{let{Component:r,classNames:i,slots:o,indicator:s,children:v,title:w,subtitle:x,startContent:E,isOpen:T,isDisabled:S,hideIndicator:A,keepContentMounted:L,disableAnimation:O,motionProps:K,getBaseProps:D,getHeadingProps:I,getButtonProps:j,getTitleProps:F,getSubtitleProps:V,getContentProps:N,getIndicatorProps:B}=function(e){var t;let{ref:r,as:i,item:o,onFocusChange:s}=e,{state:v,className:y,indicator:b,children:w,title:x,subtitle:E,startContent:P,motionProps:T,focusedKey:S,isCompact:k=!1,classNames:C={},isDisabled:M=!1,hideIndicator:A=!1,disableAnimation:R=!1,keepContentMounted:L=!1,disableIndicatorAnimation:O=!1,onPress:K,onPressStart:D,onPressEnd:I,onPressChange:j,onPressUp:F,onClick:V,...N}=e,B=i||"div",z="string"==typeof B,_=(0,d.gy)(r),W=v.disabledKeys.has(o.key)||M,H=v.selectionManager.isSelected(o.key),{buttonProps:G,regionProps:U}=function(e,t,r){let{item:i,isDisabled:o}=e,s=i.key,a=t.selectionManager,l=(0,h.useId)(),u=(0,h.useId)(),c=t.disabledKeys.has(i.key)||o;(0,h.useEffect)(()=>{s===t.focusedKey&&document.activeElement!==r.current&&r.current&&(0,n.ex)(r.current)},[r,s,t.focusedKey]);let d=(0,h.useCallback)(e=>{a.canSelectItem(s)&&(a.select(s,e),t.toggleKey(s))},[s,a]),f=(0,h.useCallback)(e=>{"replace"===a.selectionBehavior&&a.extendSelection(e),a.setFocusedKey(e)},[a]),{buttonProps:g}=function(e,t){let r,{elementType:i="button",isDisabled:o,onPress:s,onPressStart:a,onPressEnd:l,onPressUp:u,onPressChange:c,preventFocusOnPress:d,allowFocusWhenDisabled:f,onClick:h,href:g,target:v,rel:y,type:b="button"}=e;r="button"===i?{type:b,disabled:o}:{role:"button",tabIndex:o?void 0:0,href:"a"===i&&o?void 0:g,target:"a"===i?v:void 0,type:"input"===i?b:void 0,disabled:"input"===i?o:void 0,"aria-disabled":o&&"input"!==i?o:void 0,rel:"a"===i?y:void 0};let{pressProps:w,isPressed:x}=(0,m.r7)({onPressStart:a,onPressEnd:l,onPressChange:c,onPress:s,onPressUp:u,isDisabled:o,preventFocusOnPress:d,ref:t}),{focusableProps:E}=(0,n.kc)(e,t);f&&(E.tabIndex=o?-1:E.tabIndex);let P=(0,p.dG)(E,w,(0,p.zL)(e,{labelable:!0}));return{isPressed:x,buttonProps:(0,p.dG)(r,P,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:e=>{h&&(h(e),console.warn("onClick is deprecated, please use onPress"))}})}}({id:l,elementType:"button",isDisabled:c,onKeyDown:(0,h.useCallback)(e=>{let r={ArrowDown:()=>{let e=t.collection.getKeyAfter(s);if(e&&t.disabledKeys.has(e)){let r=t.collection.getKeyAfter(e);r&&f(r)}else e&&f(e)},ArrowUp:()=>{let e=t.collection.getKeyBefore(s);if(e&&t.disabledKeys.has(e)){let r=t.collection.getKeyBefore(e);r&&f(r)}else e&&f(e)},Home:()=>{let e=t.collection.getFirstKey();e&&f(e)},End:()=>{let e=t.collection.getLastKey();e&&f(e)}}[e.key];r&&(e.preventDefault(),a.canSelectItem(s)&&r(e))},[s,a]),onPress:d},r),v=t.selectionManager.isSelected(i.key);return{buttonProps:{...g,"aria-expanded":v,"aria-controls":v?u:void 0},regionProps:{id:u,role:"region","aria-labelledby":l}}}({item:o,isDisabled:W},{...v,focusedKey:S},_),{onFocus:Z,onBlur:q,...X}=G,{isFocused:Y,isFocusVisible:$,focusProps:J}=(0,n.Fx)({autoFocus:null==(t=o.props)?void 0:t.autoFocus}),{isHovered:Q,hoverProps:ee}=(0,m.XI)({isDisabled:W}),{pressProps:et,isPressed:er}=(0,g.r)({ref:_,isDisabled:W,onPress:K,onPressStart:D,onPressEnd:I,onPressChange:j,onPressUp:F}),en=(0,h.useCallback)(()=>{null==s||s(!0,o.key)},[]),ei=(0,h.useCallback)(()=>{null==s||s(!1,o.key)},[]),eo=(0,h.useMemo)(()=>({...C}),[...Object.values(C)]),es=(0,h.useMemo)(()=>a({isCompact:k,isDisabled:W,hideIndicator:A,disableAnimation:R,disableIndicatorAnimation:O}),[k,W,A,R,O]),ea=(0,l.W)(null==eo?void 0:eo.base,y),el=(0,h.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-open":(0,u.PB)(H),"data-disabled":(0,u.PB)(W),className:es.base({class:ea}),...(0,p.dG)((0,f.z)(N,{enabled:z}),e)}},[ea,z,N,es,o.props,H,W]),eu=(0,h.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-open":(0,u.PB)(H),"data-disabled":(0,u.PB)(W),className:es.content({class:null==eo?void 0:eo.content}),...(0,p.dG)(U,e)}},[es,eo,U,H,W,null==eo?void 0:eo.content]),ec=(0,h.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"aria-hidden":(0,u.PB)(!0),"data-open":(0,u.PB)(H),"data-disabled":(0,u.PB)(W),className:es.indicator({class:null==eo?void 0:eo.indicator}),...e}},[es,null==eo?void 0:eo.indicator,H,W,null==eo?void 0:eo.indicator]),ed=(0,h.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-open":(0,u.PB)(H),"data-disabled":(0,u.PB)(W),className:es.heading({class:null==eo?void 0:eo.heading}),...e}},[es,null==eo?void 0:eo.heading,H,W,null==eo?void 0:eo.heading]),ef=(0,h.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-open":(0,u.PB)(H),"data-disabled":(0,u.PB)(W),className:es.title({class:null==eo?void 0:eo.title}),...e}},[es,null==eo?void 0:eo.title,H,W,null==eo?void 0:eo.title]),eh=(0,h.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-open":(0,u.PB)(H),"data-disabled":(0,u.PB)(W),className:es.subtitle({class:null==eo?void 0:eo.subtitle}),...e}},[es,eo,H,W,null==eo?void 0:eo.subtitle]);return{Component:B,item:o,slots:es,classNames:eo,domRef:_,indicator:b,children:w,title:x,subtitle:E,startContent:P,isOpen:H,isDisabled:W,hideIndicator:A,keepContentMounted:L,disableAnimation:R,motionProps:T,getBaseProps:el,getHeadingProps:ed,getButtonProps:function(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:_,"data-open":(0,u.PB)(H),"data-focus":(0,u.PB)(Y),"data-focus-visible":(0,u.PB)($),"data-disabled":(0,u.PB)(W),"data-hover":(0,u.PB)(Q),"data-pressed":(0,u.PB)(er),className:es.trigger({class:null==eo?void 0:eo.trigger}),onFocus:(0,c.v0)(en,Z,J.onFocus,N.onFocus,null==(e=o.props)?void 0:e.onFocus),onBlur:(0,c.v0)(ei,q,J.onBlur,N.onBlur,null==(t=o.props)?void 0:t.onBlur),...(0,p.dG)(X,ee,et,r),onClick:(0,p.tS)(et.onClick,V)}},getContentProps:eu,getIndicatorProps:ec,getTitleProps:ef,getSubtitleProps:eh}}({...e,ref:t}),z=(0,P.h)(()=>new k("auto")),_=(0,h.useMemo)(()=>"function"==typeof s?s({indicator:(0,y.jsx)(b,{}),isOpen:T,isDisabled:S}):s||null,[s,T,S])||(0,y.jsx)(b,{}),W=(0,h.useMemo)(()=>O?(0,y.jsx)("div",{...N(),children:v}):L?(0,y.jsx)(C.E.section,{animate:T?"enter":"exit",exit:"exit",initial:"exit",style:{overflowY:"hidden",willChange:z},variants:R.collapse,...K,children:(0,y.jsx)("div",{...N(),children:v})},"accordion-content"):(0,y.jsx)(M.M,{initial:!1,children:T&&(0,y.jsx)(C.E.section,{animate:"enter",exit:"exit",initial:"exit",style:{overflowY:"hidden",willChange:z},variants:R.collapse,...K,children:(0,y.jsx)("div",{...N(),children:v})},"accordion-content")}),[T,O,L,v,K]);return(0,y.jsxs)(r,{...D(),children:[(0,y.jsx)("h2",{...I(),children:(0,y.jsxs)("button",{...j(),children:[E&&(0,y.jsx)("div",{className:o.startContent({class:null==i?void 0:i.startContent}),children:E}),(0,y.jsxs)("div",{className:o.titleWrapper({class:null==i?void 0:i.titleWrapper}),children:[w&&(0,y.jsx)("span",{...F(),children:w}),x&&(0,y.jsx)("span",{...V(),children:x})]}),!A&&_&&(0,y.jsx)("span",{...B(),children:_})]})}),W]})});function O(e,t,r){let[n,i]=(0,h.useState)(e||t),o=(0,h.useRef)(void 0!==e),s=void 0!==e;(0,h.useEffect)(()=>{let e=o.current;e!==s&&console.warn("WARN: A component changed from ".concat(e?"controlled":"uncontrolled"," to ").concat(s?"controlled":"uncontrolled",".")),o.current=s},[s]);let a=s?e:n,l=(0,h.useCallback)(function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o1?t-1:0),i=1;i1?r-1:0),o=1;ot.has(e)),this._isSelectAll}get firstSelectedKey(){let e=null;for(let t of this.state.selectedKeys){let r=this.collection.getItem(t);(!e||r&&0>(0,K.eg)(this.collection,r,e))&&(e=r)}return null==e?void 0:e.key}get lastSelectedKey(){let e=null;for(let t of this.state.selectedKeys){let r=this.collection.getItem(t);(!e||r&&(0,K.eg)(this.collection,r,e)>0)&&(e=r)}return null==e?void 0:e.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){let t;if("none"!==this.selectionMode){if("single"===this.selectionMode){this.replaceSelection(e);return}if(e=this.getKey(e),"all"===this.state.selectedKeys)t=new D([e],e,e);else{let r=this.state.selectedKeys,n=r.anchorKey||e;for(let i of(t=new D(r,n,e),this.getKeyRange(n,r.currentKey||e)))t.delete(i);for(let r of this.getKeyRange(e,n))this.canSelectItem(r)&&t.add(r)}this.state.setSelectedKeys(t)}}getKeyRange(e,t){let r=this.collection.getItem(e),n=this.collection.getItem(t);return r&&n?0>=(0,K.eg)(this.collection,r,n)?this.getKeyRangeInternal(e,t):this.getKeyRangeInternal(t,e):[]}getKeyRangeInternal(e,t){let r=[],n=e;for(;n;){let e=this.collection.getItem(n);if((e&&"item"===e.type||"cell"===e.type&&this.allowsCellSelection)&&r.push(n),n===t)return r;n=this.collection.getKeyAfter(n)}return[]}getKey(e){let t=this.collection.getItem(e);if(!t||"cell"===t.type&&this.allowsCellSelection)return e;for(;"item"!==t.type&&null!=t.parentKey;)t=this.collection.getItem(t.parentKey);return t&&"item"===t.type?t.key:null}toggleSelection(e){if("none"===this.selectionMode)return;if("single"===this.selectionMode&&!this.isSelected(e)){this.replaceSelection(e);return}if(null==(e=this.getKey(e)))return;let t=new D("all"===this.state.selectedKeys?this.getSelectAllKeys():this.state.selectedKeys);t.has(e)?t.delete(e):this.canSelectItem(e)&&(t.add(e),t.anchorKey=e,t.currentKey=e),this.disallowEmptySelection&&0===t.size||this.state.setSelectedKeys(t)}replaceSelection(e){if("none"===this.selectionMode||null==(e=this.getKey(e)))return;let t=this.canSelectItem(e)?new D([e],e,e):new D;this.state.setSelectedKeys(t)}setSelectedKeys(e){if("none"===this.selectionMode)return;let t=new D;for(let r of e)if(null!=(r=this.getKey(r))&&(t.add(r),"single"===this.selectionMode))break;this.state.setSelectedKeys(t)}getSelectAllKeys(){let e=[],t=r=>{for(;r;){if(this.canSelectItem(r)){let n=this.collection.getItem(r);"item"===n.type&&e.push(r),n.hasChildNodes&&(this.allowsCellSelection||"item"!==n.type)&&t((0,K.l8)((0,K._P)(n,this.collection)).key)}r=this.collection.getKeyAfter(r)}};return t(this.collection.getFirstKey()),e}selectAll(){this.isSelectAll||"multiple"!==this.selectionMode||this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&("all"===this.state.selectedKeys||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new D)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(e,t){"none"!==this.selectionMode&&("single"===this.selectionMode?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):"toggle"===this.selectionBehavior||t&&("touch"===t.pointerType||"virtual"===t.pointerType)?this.toggleSelection(e):this.replaceSelection(e))}isSelectionEqual(e){if(e===this.state.selectedKeys)return!0;let t=this.selectedKeys;if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;for(let r of t)if(!e.has(r))return!1;return!0}canSelectItem(e){if("none"===this.state.selectionMode||this.state.disabledKeys.has(e))return!1;let t=this.collection.getItem(e);return!!t&&("cell"!==t.type||!!this.allowsCellSelection)}isDisabled(e){return this.state.disabledKeys.has(e)&&"all"===this.state.disabledBehavior}isLink(e){var t,r;return!!(null===(r=this.collection.getItem(e))||void 0===r?void 0:null===(t=r.props)||void 0===t?void 0:t.href)}constructor(e,t,r){var n;this.collection=e,this.state=t,this.allowsCellSelection=null!==(n=null==r?void 0:r.allowsCellSelection)&&void 0!==n&&n,this._isSelectAll=null}}class F{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}constructor(e,{expandedKeys:t}={}){let r;this.keyMap=new Map,this.iterable=e,t=t||new Set;let n=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&("section"===e.type||t.has(e.key)))for(let t of e.childNodes)n(t)};for(let t of e)n(t);let i=0;for(let[e,t]of this.keyMap)r?(r.nextKey=e,t.prevKey=r.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=i++),(r=t).nextKey=void 0;this.lastKey=null==r?void 0:r.key}}var V=r(9542);let N={prefix:String(Math.round(1e10*Math.random())),current:0},B=(h.createContext(N),h.createContext(!1));function z(){return!1}function _(){return!0}function W(e){return()=>{}}window.document&&window.document.createElement,new WeakMap,h.useId;let H=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),G=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]),U=Symbol.for("react-aria.i18n.locale");function Z(){let e=window[U]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch(t){e="en-US"}return{locale:e,direction:!function(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),r="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(r)return"rtl"===r.direction;if(t.script)return H.has(t.script)}let t=e.split("-")[0];return G.has(t)}(e)?"ltr":"rtl"}}let q=Z(),X=new Set;function Y(){for(let e of(q=Z(),X))e(q)}let $=h.createContext(null);function J(){let e=function(){let e="function"==typeof h.useSyncExternalStore?h.useSyncExternalStore(W,z,_):(0,h.useContext)(B),[t,r]=(0,h.useState)(q);return((0,h.useEffect)(()=>(0===X.size&&window.addEventListener("languagechange",Y),X.add(r),()=>{X.delete(r),0===X.size&&window.removeEventListener("languagechange",Y)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}();return(0,h.useContext)($)||e}new WeakMap;let Q=new Map;function ee(e){return(0,p.ad)()?e.altKey:e.ctrlKey}function et(e){return(0,p.V5)()?e.metaKey:e.ctrlKey}class er{getNextKey(e){for(e=this.collection.getKeyAfter(e);null!=e;){if("item"===this.collection.getItem(e).type&&!this.disabledKeys.has(e))return e;e=this.collection.getKeyAfter(e)}return null}getPreviousKey(e){for(e=this.collection.getKeyBefore(e);null!=e;){if("item"===this.collection.getItem(e).type&&!this.disabledKeys.has(e))return e;e=this.collection.getKeyBefore(e)}return null}findKey(e,t,r){let n=this.getItem(e);if(!n)return null;let i=n.getBoundingClientRect();do e=t(e),n=this.getItem(e);while(n&&r(i,n.getBoundingClientRect()));return e}isSameRow(e,t){return e.top===t.top||e.left!==t.left}isSameColumn(e,t){return e.left===t.left||e.top!==t.top}getKeyBelow(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getNextKey(e),this.isSameRow):this.getNextKey(e)}getKeyAbove(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getPreviousKey(e),this.isSameRow):this.getPreviousKey(e)}getNextColumn(e,t){return t?this.getPreviousKey(e):this.getNextKey(e)}getKeyRightOf(e){return"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(e,"rtl"===this.direction):this.findKey(e,e=>this.getNextColumn(e,"rtl"===this.direction),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(e,"rtl"===this.direction):null}getKeyLeftOf(e){return"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(e,"ltr"===this.direction):this.findKey(e,e=>this.getNextColumn(e,"ltr"===this.direction),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(e,"ltr"===this.direction):null}getFirstKey(){let e=this.collection.getFirstKey();for(;null!=e;){let t=this.collection.getItem(e);if((null==t?void 0:t.type)==="item"&&!this.disabledKeys.has(e))return e;e=this.collection.getKeyAfter(e)}return null}getLastKey(){let e=this.collection.getLastKey();for(;null!=e;){if("item"===this.collection.getItem(e).type&&!this.disabledKeys.has(e))return e;e=this.collection.getKeyBefore(e)}return null}getItem(e){return this.ref.current.querySelector('[data-key="'.concat(CSS.escape(e.toString()),'"]'))}getKeyPageAbove(e){let t=this.ref.current,r=this.getItem(e);if(!r)return null;if(!(0,p.a9)(t))return this.getFirstKey();let n=t.getBoundingClientRect(),i=r.getBoundingClientRect();if("horizontal"===this.orientation){let o=n.x-t.scrollLeft,s=Math.max(0,i.x-o+i.width-n.width);for(;r&&i.x-o>s;)i=null==(r=null==(e=this.getKeyAbove(e))?null:this.getItem(e))?void 0:r.getBoundingClientRect()}else{let o=n.y-t.scrollTop,s=Math.max(0,i.y-o+i.height-n.height);for(;r&&i.y-o>s;)i=null==(r=null==(e=this.getKeyAbove(e))?null:this.getItem(e))?void 0:r.getBoundingClientRect()}return null!=e?e:this.getFirstKey()}getKeyPageBelow(e){let t=this.ref.current,r=this.getItem(e);if(!r)return null;if(!(0,p.a9)(t))return this.getLastKey();let n=t.getBoundingClientRect(),i=r.getBoundingClientRect();if("horizontal"===this.orientation){let o=n.x-t.scrollLeft,s=Math.min(t.scrollWidth,i.x-o-i.width+n.width);for(;r&&i.x-o!e.isLayoutDirty&&e.willUpdate(!1),ea=e=>!0===e,el=e=>ea(!0===e)||"id"===e,eu=e=>{let{children:t,id:r,inherit:n=!0}=e,i=(0,h.useContext)(en.p),o=(0,h.useContext)(ei),[s,a]=(0,eo.N)(),l=(0,h.useRef)(null),u=i.id||o;null===l.current&&(el(n)&&u&&(r=r?u+"-"+r:u),l.current={id:r,group:ea(n)&&i.group||function(){let e=new Set,t=new WeakMap,r=()=>e.forEach(es);return{add:n=>{e.add(n),t.set(n,n.addEventListener("willUpdate",r))},remove:n=>{e.delete(n);let i=t.get(n);i&&(i(),t.delete(n)),r()},dirty:r}}()});let c=(0,h.useMemo)(()=>({...l.current,forceRender:s}),[a]);return h.createElement(en.p.Provider,{value:c},t)};var ec=r(5187),ed=(0,v.Gp)((e,t)=>{let{Component:r,values:i,state:o,isSplitted:a,showDivider:l,getBaseProps:u,disableAnimation:c,handleFocusChanged:g,itemClasses:v}=function(e){let{ref:t,as:r,className:i,items:o,variant:a,motionProps:l,expandedKeys:u,disabledKeys:c,selectedKeys:g,children:v,defaultExpandedKeys:y,selectionMode:b="single",selectionBehavior:w="toggle",keepContentMounted:x=!1,disallowEmptySelection:E,defaultSelectedKeys:P,onExpandedChange:T,onSelectionChange:S,dividerProps:k={},isCompact:C=!1,isDisabled:M=!1,showDivider:A=!0,hideIndicator:R=!1,disableAnimation:L=!1,disableIndicatorAnimation:N=!1,itemClasses:B,...z}=e,[_,W]=(0,h.useState)(null),H=r||"div",G="string"==typeof H,U=(0,d.gy)(t),Z=(0,h.useMemo)(()=>s({variant:a,className:i}),[a,i]),q={children:(0,h.useMemo)(()=>{let e=[];return h.Children.map(v,t=>{var r;if(h.isValidElement(t)&&"string"!=typeof(null==(r=t.props)?void 0:r.children)){let r=h.cloneElement(t,{hasChildItems:!1});e.push(r)}else e.push(t)}),e},[v]),items:o},X={expandedKeys:u,defaultExpandedKeys:y,onExpandedChange:T},Y=function(e){let[t,r]=O(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,e.onExpandedChange),n=function(e){let{selectionMode:t="none",disallowEmptySelection:r,allowDuplicateSelectionEvents:n,selectionBehavior:i="toggle",disabledBehavior:o="all"}=e,s=(0,h.useRef)(!1),[,a]=(0,h.useState)(!1),l=(0,h.useRef)(null),u=(0,h.useRef)(null),[,c]=(0,h.useState)(null),[d,f]=O((0,h.useMemo)(()=>I(e.selectedKeys),[e.selectedKeys]),(0,h.useMemo)(()=>I(e.defaultSelectedKeys,new D),[e.defaultSelectedKeys]),e.onSelectionChange),p=(0,h.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[m,g]=(0,h.useState)(i);"replace"===i&&"toggle"===m&&"object"==typeof d&&0===d.size&&g("replace");let v=(0,h.useRef)(i);return(0,h.useEffect)(()=>{i!==v.current&&(g(i),v.current=i)},[i]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:m,setSelectionBehavior:g,get isFocused(){return s.current},setFocused(e){s.current=e,a(e)},get focusedKey(){return l.current},get childFocusStrategy(){return u.current},setFocusedKey(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"first";l.current=e,u.current=t,c(e)},selectedKeys:d,setSelectedKeys(e){(n||!function(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}(e,d))&&f(e)},disabledKeys:p,disabledBehavior:o}}(e),i=(0,h.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=(0,K.Kx)(e,(0,h.useCallback)(e=>new F(e,{expandedKeys:t}),[t]),null);return(0,h.useEffect)(()=>{null==n.focusedKey||o.getItem(n.focusedKey)||n.setFocusedKey(null)},[o,n.focusedKey]),{collection:o,expandedKeys:t,disabledKeys:i,toggleKey:e=>{let n;r(((n=new Set(t)).has(e)?n.delete(e):n.add(e),n))},setExpandedKeys:r,selectionManager:new j(o,n)}}({disabledKeys:c,selectedKeys:g,selectionMode:b,selectionBehavior:w,disallowEmptySelection:E,defaultSelectedKeys:null!=P?P:y,onSelectionChange:S,...q,...X});Y.selectionManager.setFocusedKey=e=>{W(e)};let{accordionProps:$}=function(e,t,r){let{listProps:i}=function(e){let{selectionManager:t,collection:r,disabledKeys:i,ref:o,keyboardDelegate:s}=e,a=function(e){let{locale:t}=J(),r=t+(e?Object.entries(e).sort((e,t)=>e[0]s||new er(r,"selection"===l?new Set:i,o,a),[s,r,i,o,a,l]),{collectionProps:c}=function(e){let t,{selectionManager:r,keyboardDelegate:i,ref:o,autoFocus:s=!1,shouldFocusWrap:a=!1,disallowEmptySelection:l=!1,disallowSelectAll:u=!1,selectOnFocus:c="replace"===r.selectionBehavior,disallowTypeAhead:d=!1,shouldUseVirtualFocus:f,allowsTabNavigation:g=!1,isVirtualized:v,scrollRef:y=o,linkBehavior:b="action"}=e,{direction:w}=J(),x=(0,p.tv)(),E=(0,h.useRef)({top:0,left:0});(0,p.zX)(y,"scroll",v?null:()=>{E.current={top:y.current.scrollTop,left:y.current.scrollLeft}});let P=(0,h.useRef)(s);(0,h.useEffect)(()=>{if(P.current){let e=null;"first"===s&&(e=i.getFirstKey()),"last"===s&&(e=i.getLastKey());let t=r.selectedKeys;if(t.size){for(let n of t)if(r.canSelectItem(n)){e=n;break}}r.setFocused(!0),r.setFocusedKey(e),null!=e||f||(0,n.ex)(o.current)}},[]);let T=(0,h.useRef)(r.focusedKey);(0,h.useEffect)(()=>{let e=(0,m.Jz)();if(r.isFocused&&null!=r.focusedKey&&(null==y?void 0:y.current)){let t=y.current.querySelector('[data-key="'.concat(CSS.escape(r.focusedKey.toString()),'"]'));t&&("keyboard"===e||P.current)&&(v||(0,p.zT)(y.current,t),"virtual"!==e&&(0,p.Gt)(t,{containingElement:o.current}))}r.isFocused&&null==r.focusedKey&&null!=T.current&&(0,n.ex)(o.current),T.current=r.focusedKey,P.current=!1},[v,y,r.focusedKey,r.isFocused,o]);let S={onKeyDown:e=>{var t,s,d,f,h,m,v,E;if(e.altKey&&"Tab"===e.key&&e.preventDefault(),!o.current.contains(e.target))return;let P=(t,n)=>{if(null!=t){if(r.isLink(t)&&"selection"===b&&c&&!ee(e)){(0,V.flushSync)(()=>{r.setFocusedKey(t,n)});let i=y.current.querySelector('[data-key="'.concat(CSS.escape(t.toString()),'"]'));x.open(i,e);return}r.setFocusedKey(t,n),r.isLink(t)&&"override"===b||(e.shiftKey&&"multiple"===r.selectionMode?r.extendSelection(t):c&&!ee(e)&&r.replaceSelection(t))}};switch(e.key){case"ArrowDown":if(i.getKeyBelow){e.preventDefault();let n=null!=r.focusedKey?i.getKeyBelow(r.focusedKey):null===(t=i.getFirstKey)||void 0===t?void 0:t.call(i);null==n&&a&&(n=null===(s=i.getFirstKey)||void 0===s?void 0:s.call(i,r.focusedKey)),P(n)}break;case"ArrowUp":if(i.getKeyAbove){e.preventDefault();let t=null!=r.focusedKey?i.getKeyAbove(r.focusedKey):null===(d=i.getLastKey)||void 0===d?void 0:d.call(i);null==t&&a&&(t=null===(f=i.getLastKey)||void 0===f?void 0:f.call(i,r.focusedKey)),P(t)}break;case"ArrowLeft":if(i.getKeyLeftOf){e.preventDefault();let t=i.getKeyLeftOf(r.focusedKey);null==t&&a&&(t="rtl"===w?null===(h=i.getFirstKey)||void 0===h?void 0:h.call(i,r.focusedKey):null===(m=i.getLastKey)||void 0===m?void 0:m.call(i,r.focusedKey)),P(t,"rtl"===w?"first":"last")}break;case"ArrowRight":if(i.getKeyRightOf){e.preventDefault();let t=i.getKeyRightOf(r.focusedKey);null==t&&a&&(t="rtl"===w?null===(v=i.getLastKey)||void 0===v?void 0:v.call(i,r.focusedKey):null===(E=i.getFirstKey)||void 0===E?void 0:E.call(i,r.focusedKey)),P(t,"rtl"===w?"last":"first")}break;case"Home":if(i.getFirstKey){e.preventDefault();let t=i.getFirstKey(r.focusedKey,et(e));r.setFocusedKey(t),et(e)&&e.shiftKey&&"multiple"===r.selectionMode?r.extendSelection(t):c&&r.replaceSelection(t)}break;case"End":if(i.getLastKey){e.preventDefault();let t=i.getLastKey(r.focusedKey,et(e));r.setFocusedKey(t),et(e)&&e.shiftKey&&"multiple"===r.selectionMode?r.extendSelection(t):c&&r.replaceSelection(t)}break;case"PageDown":i.getKeyPageBelow&&(e.preventDefault(),P(i.getKeyPageBelow(r.focusedKey)));break;case"PageUp":i.getKeyPageAbove&&(e.preventDefault(),P(i.getKeyPageAbove(r.focusedKey)));break;case"a":et(e)&&"multiple"===r.selectionMode&&!0!==u&&(e.preventDefault(),r.selectAll());break;case"Escape":e.preventDefault(),l||r.clearSelection();break;case"Tab":if(!g){if(e.shiftKey)o.current.focus();else{let e,t,r=(0,n.QL)(o.current,{tabbable:!0});do(t=r.lastChild())&&(e=t);while(t);e&&!e.contains(document.activeElement)&&(0,p.Ao)(e)}}}},onFocus:e=>{if(r.isFocused){e.currentTarget.contains(e.target)||r.setFocused(!1);return}if(e.currentTarget.contains(e.target)){if(r.setFocused(!0),null==r.focusedKey){var t,n,s;let o=e.relatedTarget;null!=(s=o&&e.currentTarget.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING?null!==(t=r.lastSelectedKey)&&void 0!==t?t:i.getLastKey():null!==(n=r.firstSelectedKey)&&void 0!==n?n:i.getFirstKey())&&(r.setFocusedKey(s),c&&r.replaceSelection(s))}else v||(y.current.scrollTop=E.current.top,y.current.scrollLeft=E.current.left);if(!v&&null!=r.focusedKey){let e=y.current.querySelector('[data-key="'.concat(CSS.escape(r.focusedKey.toString()),'"]'));e&&(e.contains(document.activeElement)||(0,p.Ao)(e),"keyboard"===(0,m.Jz)()&&(0,p.Gt)(e,{containingElement:o.current}))}}},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||r.setFocused(!1)},onMouseDown(e){y.current===e.target&&e.preventDefault()}},{typeSelectProps:k}=function(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,i=(0,h.useRef)({search:"",timeout:null}).current;return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{var o;let s=1!==(o=e.key).length&&/^[A-Z]/i.test(o)?"":o;if(!s||e.ctrlKey||e.metaKey||!e.currentTarget.contains(e.target))return;" "!==s||!(i.search.trim().length>0)||(e.preventDefault(),"continuePropagation"in e||e.stopPropagation()),i.search+=s;let a=t.getKeyForSearch(i.search,r.focusedKey);null==a&&(a=t.getKeyForSearch(i.search)),null!=a&&(r.setFocusedKey(a),n&&n(a)),clearTimeout(i.timeout),i.timeout=setTimeout(()=>{i.search=""},1e3)}:null}}}({keyboardDelegate:i,selectionManager:r});return d||(S=(0,p.dG)(k,S)),f||(t=null==r.focusedKey?0:-1),{collectionProps:{...S,tabIndex:t}}}({...e,ref:o,selectionManager:t,keyboardDelegate:u});return{listProps:c}}({...e,...t,allowsTabNavigation:!0,ref:r});return delete i.onKeyDownCapture,{accordionProps:{...i,tabIndex:void 0}}}({...q,...X},Y,U);return{Component:H,values:(0,h.useMemo)(()=>({state:Y,focusedKey:_,motionProps:l,isCompact:C,isDisabled:M,hideIndicator:R,disableAnimation:L,keepContentMounted:x,disableIndicatorAnimation:N}),[_,C,M,R,g,L,x,null==Y?void 0:Y.expandedKeys.values,N,Y.expandedKeys.size,Y.disabledKeys.size,l]),state:Y,focusedKey:_,getBaseProps:(0,h.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:U,className:Z,"data-orientation":"vertical",...(0,p.dG)($,(0,f.z)(z,{enabled:G}),e)}},[]),isSplitted:"splitted"===a,classNames:Z,showDivider:A,dividerProps:k,disableAnimation:L,handleFocusChanged:(0,h.useCallback)((e,t)=>{e&&W(t)},[]),itemClasses:B}}({...e,ref:t}),b=(0,h.useCallback)((e,t)=>g(e,t),[g]),w=(0,h.useMemo)(()=>[...o.collection].map((e,t)=>{let r={...v,...e.props.classNames||{}};return(0,y.jsxs)(h.Fragment,{children:[(0,y.jsx)(L,{item:e,onFocusChange:b,...i,...e.props,classNames:r}),!a&&l&&tsvg]:max-w-[theme(spacing.unit-8)]"},disableAnimation:{true:"!transition-none",false:"data-[pressed=true]:scale-[0.97] transition-transform-colors-opacity motion-reduce:transition-none"}},defaultVariants:{size:"md",variant:"solid",color:"default",fullWidth:!1,isDisabled:!1,isInGroup:!1,disableAnimation:!1},compoundVariants:[{variant:"solid",color:"default",class:d.solid.default},{variant:"solid",color:"primary",class:d.solid.primary},{variant:"solid",color:"secondary",class:d.solid.secondary},{variant:"solid",color:"success",class:d.solid.success},{variant:"solid",color:"warning",class:d.solid.warning},{variant:"solid",color:"danger",class:d.solid.danger},{variant:"shadow",color:"default",class:d.shadow.default},{variant:"shadow",color:"primary",class:d.shadow.primary},{variant:"shadow",color:"secondary",class:d.shadow.secondary},{variant:"shadow",color:"success",class:d.shadow.success},{variant:"shadow",color:"warning",class:d.shadow.warning},{variant:"shadow",color:"danger",class:d.shadow.danger},{variant:"bordered",color:"default",class:d.bordered.default},{variant:"bordered",color:"primary",class:d.bordered.primary},{variant:"bordered",color:"secondary",class:d.bordered.secondary},{variant:"bordered",color:"success",class:d.bordered.success},{variant:"bordered",color:"warning",class:d.bordered.warning},{variant:"bordered",color:"danger",class:d.bordered.danger},{variant:"flat",color:"default",class:d.flat.default},{variant:"flat",color:"primary",class:d.flat.primary},{variant:"flat",color:"secondary",class:d.flat.secondary},{variant:"flat",color:"success",class:d.flat.success},{variant:"flat",color:"warning",class:d.flat.warning},{variant:"flat",color:"danger",class:d.flat.danger},{variant:"faded",color:"default",class:d.faded.default},{variant:"faded",color:"primary",class:d.faded.primary},{variant:"faded",color:"secondary",class:d.faded.secondary},{variant:"faded",color:"success",class:d.faded.success},{variant:"faded",color:"warning",class:d.faded.warning},{variant:"faded",color:"danger",class:d.faded.danger},{variant:"light",color:"default",class:[d.light.default,"data-[hover=true]:bg-default/40"]},{variant:"light",color:"primary",class:[d.light.primary,"data-[hover=true]:bg-primary/20"]},{variant:"light",color:"secondary",class:[d.light.secondary,"data-[hover=true]:bg-secondary/20"]},{variant:"light",color:"success",class:[d.light.success,"data-[hover=true]:bg-success/20"]},{variant:"light",color:"warning",class:[d.light.warning,"data-[hover=true]:bg-warning/20"]},{variant:"light",color:"danger",class:[d.light.danger,"data-[hover=true]:bg-danger/20"]},{variant:"ghost",color:"default",class:d.ghost.default},{variant:"ghost",color:"primary",class:d.ghost.primary},{variant:"ghost",color:"secondary",class:d.ghost.secondary},{variant:"ghost",color:"success",class:d.ghost.success},{variant:"ghost",color:"warning",class:d.ghost.warning},{variant:"ghost",color:"danger",class:d.ghost.danger},{isInGroup:!0,class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,size:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,isRounded:!0,class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,radius:"none",class:"rounded-none first:rounded-s-none last:rounded-e-none"},{isInGroup:!0,radius:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,radius:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,radius:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,radius:"full",class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,variant:["ghost","bordered"],color:"default",className:h.Zs.default},{isInGroup:!0,variant:["ghost","bordered"],color:"primary",className:h.Zs.primary},{isInGroup:!0,variant:["ghost","bordered"],color:"secondary",className:h.Zs.secondary},{isInGroup:!0,variant:["ghost","bordered"],color:"success",className:h.Zs.success},{isInGroup:!0,variant:["ghost","bordered"],color:"warning",className:h.Zs.warning},{isInGroup:!0,variant:["ghost","bordered"],color:"danger",className:h.Zs.danger},{isIconOnly:!0,size:"sm",class:"min-w-unit-8 w-unit-8 h-unit-8"},{isIconOnly:!0,size:"md",class:"min-w-unit-10 w-unit-10 h-unit-10"},{isIconOnly:!0,size:"lg",class:"min-w-unit-12 w-unit-12 h-unit-12"},{variant:["solid","faded","flat","bordered","shadow"],class:"data-[hover=true]:opacity-hover"}]});(0,f.tv)({base:"inline-flex items-center justify-center h-auto",variants:{fullWidth:{true:"w-full"}},defaultVariants:{fullWidth:!1}});var m=r(6411),g=r(7728),v=r(2164),y=r(4291),b=(0,f.tv)({slots:{base:"relative inline-flex flex-col gap-2 items-center justify-center",wrapper:"relative flex",circle1:["absolute","w-full","h-full","rounded-full","animate-spinner-ease-spin","border-2","border-solid","border-t-transparent","border-l-transparent","border-r-transparent"],circle2:["absolute","w-full","h-full","rounded-full","opacity-75","animate-spinner-linear-spin","border-2","border-dotted","border-t-transparent","border-l-transparent","border-r-transparent"],label:"text-foreground dark:text-foreground-dark font-regular"},variants:{size:{sm:{wrapper:"w-5 h-5",circle1:"border-2",circle2:"border-2",label:"text-small"},md:{wrapper:"w-8 h-8",circle1:"border-3",circle2:"border-3",label:"text-medium"},lg:{wrapper:"w-10 h-10",circle1:"border-3",circle2:"border-3",label:"text-large"}},color:{current:{circle1:"border-b-current",circle2:"border-b-current"},white:{circle1:"border-b-white",circle2:"border-b-white"},default:{circle1:"border-b-default",circle2:"border-b-default"},primary:{circle1:"border-b-primary",circle2:"border-b-primary"},secondary:{circle1:"border-b-secondary",circle2:"border-b-secondary"},success:{circle1:"border-b-success",circle2:"border-b-success"},warning:{circle1:"border-b-warning",circle2:"border-b-warning"},danger:{circle1:"border-b-danger",circle2:"border-b-danger"}},labelColor:{foreground:{label:"text-foreground"},primary:{label:"text-primary"},secondary:{label:"text-secondary"},success:{label:"text-success"},warning:{label:"text-warning"},danger:{label:"text-danger"}}},defaultVariants:{size:"md",color:"primary",labelColor:"foreground"}}),w=r(5142),x=r(3827),E=(0,y.Gp)((e,t)=>{let{slots:r,classNames:n,label:i,getSpinnerProps:o}=function(e){let[t,r]=(0,y.oe)(e,b.variantKeys),{children:n,className:i,classNames:o,label:a,...l}=t,u=(0,s.useMemo)(()=>b({...r}),[...Object.values(r)]),c=(0,w.W)(null==o?void 0:o.base,i),d=a||n,f=(0,s.useMemo)(()=>d&&"string"==typeof d?d:l["aria-label"]?"":"Loading",[n,d,l["aria-label"]]),h=(0,s.useCallback)(()=>({"aria-label":f,className:u.base({class:c}),...l}),[f,u,c,l]);return{label:d,slots:u,classNames:o,getSpinnerProps:h}}({...e});return(0,x.jsxs)("div",{ref:t,...o(),children:[(0,x.jsxs)("div",{className:r.wrapper({class:null==n?void 0:n.wrapper}),children:[(0,x.jsx)("i",{className:r.circle1({class:null==n?void 0:n.circle1})}),(0,x.jsx)("i",{className:r.circle2({class:null==n?void 0:n.circle2})})]}),i&&(0,x.jsx)("span",{className:r.label({class:null==n?void 0:n.label}),children:i})]})});E.displayName="NextUI.Spinner";var P=r(5342),T=(0,y.Gp)((e,t)=>{let{Component:r,domRef:n,children:d,styles:f,spinnerSize:h,spinner:y=(0,x.jsx)(E,{color:"current",size:h}),spinnerPlacement:b,startContent:w,endContent:T,isLoading:S,disableRipple:k,getButtonProps:C,getRippleProps:M,isIconOnly:A}=function(e){var t,r,n,d,f,h,y,b;let w=i(),x=!!w,{ref:E,as:P,children:T,startContent:S,endContent:k,autoFocus:C,className:M,spinner:A,fullWidth:R=null!=(t=null==w?void 0:w.fullWidth)&&t,size:L=null!=(r=null==w?void 0:w.size)?r:"md",color:O=null!=(n=null==w?void 0:w.color)?n:"default",variant:K=null!=(d=null==w?void 0:w.variant)?d:"solid",disableAnimation:D=null!=(f=null==w?void 0:w.disableAnimation)&&f,radius:I=null==w?void 0:w.radius,disableRipple:j=null!=(h=null==w?void 0:w.disableRipple)&&h,isDisabled:F=null!=(y=null==w?void 0:w.isDisabled)&&y,isIconOnly:V=null!=(b=null==w?void 0:w.isIconOnly)&&b,isLoading:N=!1,spinnerPlacement:B="start",onPress:z,onClick:_,...W}=e,H=P||"button",G="string"==typeof H,U=(0,u.gy)(E),{isFocusVisible:Z,isFocused:q,focusProps:X}=(0,a.Fx)({autoFocus:C}),Y=F||N,$=(0,s.useMemo)(()=>p({size:L,color:O,variant:K,radius:I,fullWidth:R,isDisabled:Y,isInGroup:x,disableAnimation:D,isIconOnly:V,className:M}),[L,O,K,I,R,Y,x,V,D,M]),{onClick:J,onClear:Q,ripples:ee}=(0,v.i)(),et=(0,s.useCallback)(e=>{j||Y||D||!U.current||J(e)},[j,Y,D,U,J]),{buttonProps:er,isPressed:en}=(0,m.j)({elementType:P,isDisabled:Y,onPress:z,onClick:(0,l.tS)(_,et),...W},U),{isHovered:ei,hoverProps:eo}=(0,g.XI)({isDisabled:Y}),es=(0,s.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-disabled":(0,o.PB)(Y),"data-focus":(0,o.PB)(q),"data-pressed":(0,o.PB)(en),"data-focus-visible":(0,o.PB)(Z),"data-hover":(0,o.PB)(ei),"data-loading":(0,o.PB)(N),...(0,l.dG)(er,X,eo,(0,c.z)(W,{enabled:G}),(0,c.z)(e))}},[N,Y,q,en,G,Z,ei,er,X,eo,W]),ea=e=>(0,s.isValidElement)(e)?(0,s.cloneElement)(e,{"aria-hidden":!0,focusable:!1,tabIndex:-1}):null,el=ea(S);return{Component:H,children:T,domRef:U,spinner:A,styles:$,startContent:el,endContent:ea(k),isLoading:N,spinnerPlacement:B,spinnerSize:(0,s.useMemo)(()=>({sm:"sm",md:"sm",lg:"md"})[L],[L]),disableRipple:j,getButtonProps:es,getRippleProps:(0,s.useCallback)(()=>({ripples:ee,onClear:Q}),[ee,Q]),isIconOnly:V}}({...e,ref:t});return(0,x.jsxs)(r,{ref:n,className:f,...C(),children:[w,S&&"start"===b&&y,S&&A?null:d,S&&"end"===b&&y,T,!k&&(0,x.jsx)(P.L,{...M()})]})});T.displayName="NextUI.Button";var S=T},1055:function(e,t,r){r.d(t,{G:function(){return u}});var n=r(2281),i=r(4291),o=r(3908),s=r(5142),a=r(3827),l=(0,i.Gp)((e,t)=>{var r;let{as:i,className:l,children:u,...c}=e,d=(0,o.gy)(t),{slots:f,classNames:h}=(0,n.R)(),p=(0,s.W)(null==h?void 0:h.body,l);return(0,a.jsx)(i||"div",{ref:d,className:null==(r=f.body)?void 0:r.call(f,{class:p}),...c,children:u})});l.displayName="NextUI.CardBody";var u=l},8111:function(e,t,r){r.d(t,{w:function(){return x}});var n=r(2281),i=r(5487),o=r(1244),s=(0,i.tv)({slots:{base:["flex","flex-col","relative","overflow-hidden","height-auto","outline-none","text-foreground","box-border","bg-content1",...o.Dh],header:["flex","p-3","z-10","w-full","justify-start","items-center","shrink-0","overflow-inherit","color-inherit","subpixel-antialiased"],body:["relative","flex","flex-1","w-full","p-3","flex-auto","flex-col","place-content-inherit","align-items-inherit","h-auto","break-words","text-left","overflow-y-auto","subpixel-antialiased"],footer:["p-3","h-auto","flex","w-full","items-center","overflow-hidden","color-inherit","subpixel-antialiased"]},variants:{shadow:{none:{base:"shadow-none"},sm:{base:"shadow-small"},md:{base:"shadow-medium"},lg:{base:"shadow-large"}},radius:{none:{base:"rounded-none",header:"rounded-none",footer:"rounded-none"},sm:{base:"rounded-small",header:"rounded-t-small",footer:"rounded-b-small"},md:{base:"rounded-medium",header:"rounded-t-medium",footer:"rounded-b-medium"},lg:{base:"rounded-large",header:"rounded-t-large",footer:"rounded-b-large"}},fullWidth:{true:{base:"w-full"}},isHoverable:{true:{base:"data-[hover=true]:bg-content2 dark:data-[hover=true]:bg-content2"}},isPressable:{true:{base:"cursor-pointer"}},isBlurred:{true:{base:["bg-background/80","dark:bg-background/20","backdrop-blur-md","backdrop-saturate-150"]}},isFooterBlurred:{true:{footer:["bg-background/10","backdrop-blur","backdrop-saturate-150"]}},isDisabled:{true:{base:"opacity-disabled cursor-not-allowed"}},disableAnimation:{true:"",false:{base:"transition-transform-background motion-reduce:transition-none"}}},compoundVariants:[{isPressable:!0,disableAnimation:!1,class:"data-[pressed=true]:scale-[0.97] tap-highlight-transparent"}],defaultVariants:{radius:"lg",shadow:"md",fullWidth:!1,isHoverable:!1,isPressable:!1,isDisabled:!1,disableAnimation:!1,isFooterBlurred:!1}}),a=r(4090),l=r(3308),u=r(8260),c=r(7728),d=r(6411),f=r(4291),h=r(5142),p=r(4808),m=r(2126),g=r(3908),v=r(2164),y=r(5342),b=r(3827),w=(0,f.Gp)((e,t)=>{let{children:r,context:i,Component:o,isPressable:w,disableAnimation:x,disableRipple:E,getCardProps:P,getRippleProps:T}=function(e){let[t,r]=(0,f.oe)(e,s.variantKeys),{ref:n,as:i,children:o,disableRipple:y=!1,onClick:b,onPress:w,autoFocus:x,className:E,classNames:P,allowTextSelectionOnPress:T=!0,...S}=t,k=(0,g.gy)(n),C=i||(e.isPressable?"button":"div"),M="string"==typeof C,A=(0,h.W)(null==P?void 0:P.base,E),{onClick:R,onClear:L,ripples:O}=(0,v.i)(),K=t=>{e.disableAnimation||y||!k.current||R(t)},{buttonProps:D,isPressed:I}=(0,d.j)({onPress:w,elementType:i,isDisabled:!e.isPressable,onClick:(0,l.tS)(b,K),allowTextSelectionOnPress:T,...S},k),{hoverProps:j,isHovered:F}=(0,c.XI)({isDisabled:!e.isHoverable,...S}),{isFocusVisible:V,isFocused:N,focusProps:B}=(0,u.Fx)({autoFocus:x}),z=(0,a.useMemo)(()=>s({...r}),[...Object.values(r)]),_=(0,a.useMemo)(()=>({isDisabled:e.isDisabled,isFooterBlurred:e.isFooterBlurred,disableAnimation:e.disableAnimation,fullWidth:e.fullWidth,slots:z,classNames:P}),[z,P,e.isDisabled,e.isFooterBlurred,e.disableAnimation,e.fullWidth]),W=(0,a.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:k,className:z.base({class:A}),tabIndex:e.isPressable?0:-1,"data-hover":(0,p.PB)(F),"data-pressed":(0,p.PB)(I),"data-focus":(0,p.PB)(N),"data-focus-visible":(0,p.PB)(V),"data-disabled":(0,p.PB)(e.isDisabled),...(0,l.dG)(e.isPressable?{...D,...B,role:"button"}:{},e.isHoverable?j:{},(0,m.z)(S,{enabled:M}),(0,m.z)(t))}},[k,z,A,M,e.isPressable,e.isHoverable,e.isDisabled,F,I,V,D,B,j,S]),H=(0,a.useCallback)(()=>({ripples:O,onClear:L}),[O,L]);return{context:_,domRef:k,Component:C,classNames:P,children:o,isHovered:F,isPressed:I,isPressable:e.isPressable,isHoverable:e.isHoverable,disableAnimation:e.disableAnimation,disableRipple:y,handleClick:K,isFocusVisible:V,getCardProps:W,getRippleProps:H}}({...e,ref:t});return(0,b.jsxs)(o,{...P(),children:[(0,b.jsx)(n.k,{value:i,children:r}),w&&!x&&!E&&(0,b.jsx)(y.L,{...T()})]})});w.displayName="NextUI.Card";var x=w},3031:function(e,t,r){r.d(t,{u:function(){return u}});var n=r(2281),i=r(4291),o=r(3908),s=r(5142),a=r(3827),l=(0,i.Gp)((e,t)=>{var r;let{as:i,className:l,children:u,...c}=e,d=(0,o.gy)(t),{slots:f,classNames:h}=(0,n.R)(),p=(0,s.W)(null==h?void 0:h.header,l);return(0,a.jsx)(i||"div",{ref:d,className:null==(r=f.header)?void 0:r.call(f,{class:p}),...c,children:u})});l.displayName="NextUI.CardHeader";var u=l},7599:function(e,t,r){r.d(t,{i:function(){return u}});var n=r(2281),i=r(4291),o=r(3908),s=r(5142),a=r(3827),l=(0,i.Gp)((e,t)=>{var r;let{as:i,className:l,children:u,...c}=e,d=(0,o.gy)(t),{slots:f,classNames:h}=(0,n.R)(),p=(0,s.W)(null==h?void 0:h.footer,l);return(0,a.jsx)(i||"div",{ref:d,className:null==(r=f.footer)?void 0:r.call(f,{class:p}),...c,children:u})});l.displayName="NextUI.CardFooter";var u=l},2281:function(e,t,r){r.d(t,{R:function(){return i},k:function(){return n}});var[n,i]=(0,r(2901).k)({name:"CardContext",strict:!0,errorMessage:"useCardContext: `context` is undefined. Seems you forgot to wrap component within "})},5187:function(e,t,r){r.d(t,{j:function(){return u}});var n=r(2126),i=(0,r(5487).tv)({base:"shrink-0 bg-divider border-none",variants:{orientation:{horizontal:"w-full h-divider",vertical:"h-full w-divider"}},defaultVariants:{orientation:"horizontal"}}),o=r(4090),s=r(4291),a=r(3827),l=(0,s.Gp)((e,t)=>{let{Component:r,getDividerProps:s}=function(e){var t;let r,s;let{as:a,className:l,orientation:u,...c}=e,d=a||"hr";"hr"===d&&"vertical"===u&&(d="div");let{separatorProps:f}=(t={elementType:"string"==typeof d?d:"hr",orientation:u},s=(0,n.z)(t,{enabled:"string"==typeof t.elementType}),("vertical"===t.orientation&&(r="vertical"),"hr"!==t.elementType)?{separatorProps:{...s,role:"separator","aria-orientation":r}}:{separatorProps:s}),h=(0,o.useMemo)(()=>i({orientation:u,className:l}),[u,l]);return{Component:d,getDividerProps:(0,o.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{className:h,role:"separator","data-orientation":u,...f,...c,...e}},[h,u,f,c])}}({...e});return(0,a.jsx)(r,{ref:t,...s()})});l.displayName="NextUI.Divider";var u=l},2117:function(e,t,r){r.d(t,{O:function(){return g}});var n=r(5487),i=r(1244),o=(0,n.tv)({base:["relative inline-flex items-center outline-none tap-highlight-transparent",...i.Dh],variants:{size:{sm:"text-small",md:"text-medium",lg:"text-large"},color:{foreground:"text-foreground",primary:"text-primary",secondary:"text-secondary",success:"text-success",warning:"text-warning",danger:"text-danger"},underline:{none:"no-underline",hover:"hover:underline",always:"underline",active:"active:underline",focus:"focus:underline"},isBlock:{true:["px-2","py-1","hover:after:opacity-100","after:content-['']","after:inset-0","after:opacity-0","after:w-full","after:h-full","after:rounded-xl","after:transition-background","after:absolute"],false:"hover:opacity-80 active:opacity-disabled transition-opacity"},isDisabled:{true:"opacity-disabled cursor-default pointer-events-none"},disableAnimation:{true:"after:transition-none transition-none"}},compoundVariants:[{isBlock:!0,color:"foreground",class:"hover:after:bg-foreground/10"},{isBlock:!0,color:"primary",class:"hover:after:bg-primary/20"},{isBlock:!0,color:"secondary",class:"hover:after:bg-secondary/20"},{isBlock:!0,color:"success",class:"hover:after:bg-success/20"},{isBlock:!0,color:"warning",class:"hover:after:bg-warning/20"},{isBlock:!0,color:"danger",class:"hover:after:bg-danger/20"},{underline:["hover","always","active","focus"],class:"underline-offset-4"}],defaultVariants:{color:"primary",size:"md",isBlock:!1,underline:"none",isDisabled:!1,disableAnimation:!1}}),s=r(3308),a=r(8260),l=r(8084),u=r(4291),c=r(3908),d=r(4808),f=r(4090),h=r(3827),p=e=>(0,h.jsxs)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"1em",...e,children:[(0,h.jsx)("path",{d:"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"}),(0,h.jsx)("path",{d:"M15 3h6v6"}),(0,h.jsx)("path",{d:"M10 14L21 3"})]}),m=(0,u.Gp)((e,t)=>{let{Component:r,children:n,showAnchorIcon:i,anchorIcon:m=(0,h.jsx)(p,{className:"flex mx-1 text-current self-center"}),getLinkProps:g}=function(e){var t,r;let[n,i]=(0,u.oe)(e,o.variantKeys),{ref:h,as:p,children:m,anchorIcon:g,isExternal:v=!1,showAnchorIcon:y=!1,autoFocus:b=!1,className:w,onPress:x,onPressStart:E,onPressEnd:P,onClick:T,...S}=n,k=(0,c.gy)(h),{linkProps:C}=function(e,t){let{elementType:r="a",onPress:n,onPressStart:i,onPressEnd:o,onClick:u,isDisabled:c,...d}=e,f={};"a"!==r&&(f={role:"link",tabIndex:c?void 0:0});let{focusableProps:h}=(0,a.kc)(e,t),{pressProps:p,isPressed:m}=(0,l.r)({onPress:n,onPressStart:i,onPressEnd:o,isDisabled:c,ref:t}),g=(0,s.zL)(d,{labelable:!0,isLink:"a"===r}),v=(0,s.dG)(h,p),y=(0,s.tv)();return{isPressed:m,linkProps:(0,s.dG)(g,{...v,...f,"aria-disabled":c||void 0,"aria-current":e["aria-current"],onClick:e=>{var t;null==(t=p.onClick)||t.call(p,e),u&&u(e),!y.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&(0,s.b0)(e.currentTarget,e)&&(e.preventDefault(),y.open(e.currentTarget,e))}})}}({...S,onPress:x,onPressStart:E,onPressEnd:P,onClick:T,isDisabled:e.isDisabled,elementType:"".concat(p)},k),{isFocused:M,isFocusVisible:A,focusProps:R}=(0,a.Fx)({autoFocus:b});v&&(S.rel=null!=(t=S.rel)?t:"noopener noreferrer",S.target=null!=(r=S.target)?r:"_blank");let L=(0,f.useMemo)(()=>o({...i,className:w}),[...Object.values(i),w]);return{Component:p||"a",children:m,anchorIcon:g,showAnchorIcon:y,getLinkProps:(0,f.useCallback)(()=>({ref:k,className:L,"data-focus":(0,d.PB)(M),"data-disabled":(0,d.PB)(e.isDisabled),"data-focus-visible":(0,d.PB)(A),...(0,s.dG)(R,C,S)}),[L,M,A,R,C,S])}}({ref:t,...e});return(0,h.jsx)(r,{...g(),children:(0,h.jsxs)(h.Fragment,{children:[n,i&&m]})})});m.displayName="NextUI.Link";var g=m},2126:function(e,t,r){r.d(t,{z:function(){return l}});var n=new Set(["id","type","style","title","role","tabIndex","htmlFor","width","height","abbr","accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","challenge","charset","checked","cite","class","className","cols","colSpan","command","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","dropzone","encType","for","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","hidden","high","href","hrefLang","httpEquiv","icon","inputMode","isMap","itemId","itemProp","itemRef","itemScope","itemType","kind","label","lang","list","loop","manifest","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","open","optimum","pattern","ping","placeholder","poster","preload","radioGroup","referrerPolicy","readOnly","rel","required","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","slot","sortable","span","spellCheck","src","srcDoc","srcSet","start","step","target","translate","typeMustMatch","useMap","value","wmode","wrap"]),i=new Set(["onCopy","onCut","onPaste","onLoad","onError","onWheel","onScroll","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onPointerDown","onPointerEnter","onPointerLeave","onPointerUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd"]),o=/^(data-.*)$/,s=/^(aria-.*)$/,a=/^(on[A-Z].*)$/;function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{labelable:r=!0,enabled:l=!0,propNames:u,omitPropNames:c,omitEventNames:d}=t,f={};if(!l)return e;for(let t in e)!((null==c?void 0:c.has(t))||(null==d?void 0:d.has(t))&&a.test(t)||a.test(t)&&!i.has(t))&&(Object.prototype.hasOwnProperty.call(e,t)&&(n.has(t)||r&&s.test(t)||(null==u?void 0:u.has(t))||o.test(t))||a.test(t))&&(f[t]=e[t]);return f}},3908:function(e,t,r){r.d(t,{gy:function(){return i}});var n=r(4090);function i(e){let t=(0,n.useRef)(null);return(0,n.useImperativeHandle)(e,()=>t.current),t}window.document&&window.document.createElement},2901:function(e,t,r){r.d(t,{k:function(){return i}});var n=r(4090);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:i}=e,o=n.createContext(void 0);return o.displayName=i,[o.Provider,function e(){var i;let s=n.useContext(o);if(!s&&t){let t=Error(r);throw t.name="ContextError",null==(i=Error.captureStackTrace)||i.call(Error,t,e),t}return s},o]}},5342:function(e,t,r){r.d(t,{L:function(){return l}});var n=r(744),i=r(4494),o=r(3827),s=(e,t,r)=>Math.min(Math.max(e,t),r),a=e=>{let{ripples:t=[],motionProps:r,color:a="currentColor",style:l,onClear:u}=e;return(0,o.jsx)(o.Fragment,{children:t.map(e=>{let t=s(.01*e.size,.2,e.size>100?.75:.5);return(0,o.jsx)(n.M,{mode:"popLayout",children:(0,o.jsx)(i.E.span,{animate:{transform:"scale(2)",opacity:0},className:"nextui-ripple",exit:{opacity:0},initial:{transform:"scale(0)",opacity:.35},style:{position:"absolute",backgroundColor:a,borderRadius:"100%",transformOrigin:"center",pointerEvents:"none",zIndex:10,top:e.y,left:e.x,width:"".concat(e.size,"px"),height:"".concat(e.size,"px"),...l},transition:{duration:t},onAnimationComplete:()=>{u(e.key)},...r})},e.key)})})};a.displayName="NextUI.Ripple";var l=a},2164:function(e,t,r){r.d(t,{i:function(){return o}});var n=r(7896),i=r(4090);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,r]=(0,i.useState)([]);return{ripples:t,onClick:(0,i.useCallback)(e=>{let t=e.currentTarget,i=Math.max(t.clientWidth,t.clientHeight),o=t.getBoundingClientRect();r(t=>[...t,{key:(0,n.QI)(t.length.toString()),size:i,x:e.clientX-o.x-i/2,y:e.clientY-o.y-i/2}])},[]),onClear:(0,i.useCallback)(e=>{r(t=>t.filter(t=>t.key!==e))},[]),...e}}},5142:function(e,t,r){r.d(t,{W:function(){return n}});function n(){for(var e=arguments.length,t=Array(e),r=0;r(null==t||t(e),null==e?void 0:e.defaultPrevented))}}function i(e){return"".concat(e,"-").concat(Math.floor(1e6*Math.random()))}r.d(t,{QI:function(){return i},v0:function(){return n}})},4808:function(e,t,r){r.d(t,{PB:function(){return n}});var n=e=>e?"true":void 0},4235:function(e,t,r){r.d(t,{q:function(){return f}});var n={px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},i=r(4291),o=(0,r(5487).tv)({base:"w-px h-px inline-block",variants:{isInline:{true:"inline-block",false:"block"}},defaultVariants:{isInline:!1}}),s=r(4808),a=r(5142),l=r(4090),u=e=>{var t;return null!=(t=n[e])?t:e},c=r(3827),d=(0,i.Gp)((e,t)=>{let{Component:r,getSpacerProps:n}=function(e){let[t,r]=(0,i.oe)(e,o.variantKeys),{as:n,className:c,x:d=1,y:f=1,...h}=t,p=(0,l.useMemo)(()=>o({...r,className:c}),[...Object.values(r),c]),m=u(d),g=u(f);return{Component:n||"span",getSpacerProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,...h,"aria-hidden":(0,s.PB)(!0),className:(0,a.W)(p,e.className),style:{...e.style,...h.style,marginLeft:m,marginTop:g}}}}}({...e});return(0,c.jsx)(r,{ref:t,...n()})});d.displayName="NextUI.Spacer";var f=d},4291:function(e,t,r){r.d(t,{Gp:function(){return i},oe:function(){return o}});var n=r(4090);function i(e){return(0,n.forwardRef)(e)}var o=function(e,t){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t)return[e,{}];let n=t.reduce((t,r)=>r in e?{...t,[r]:e[r]}:t,{});return r?[Object.keys(e).filter(e=>!t.includes(e)).reduce((t,r)=>({...t,[r]:e[r]}),{}),n]:[e,n]}},5487:function(e,t,r){r.d(t,{tv:function(){return er}});var n=["0","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl","8xl","9xl","1","2","3","3.5","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","20","24","28","32","36","40","44","48","52","56","60","64","72","80","96"].map(e=>"unit-".concat(e)),i=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=e=>!e||"object"!=typeof e||0===Object.keys(e).length,s=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function a(e){let t=[];return function e(t,r){t.forEach(function(t){Array.isArray(t)?e(t,r):r.push(t)})}(e,t),t}var l=function(){for(var e=arguments.length,t=Array(e),r=0;r{let r={},n=Object.keys(e),i=Object.keys(t);for(let o of n)if(i.includes(o)){let n=e[o],i=t[o];"object"==typeof n&&"object"==typeof i?r[o]=u(n,i):Array.isArray(n)||Array.isArray(i)?r[o]=l(i,n):r[o]=i+" "+n}else r[o]=e[o];for(let e of i)n.includes(e)||(r[e]=t[e]);return r},c=e=>e&&"string"==typeof e?e.replace(/\s+/g," ").trim():e,d=/^\[(.+)\]$/;function f(e,t){var r=e;return t.split("-").forEach(function(e){r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r}var h=/\s+/;function p(){for(var e,t,r=0,n="";re&&(t=0,n=r,r=new Map)}return{get:function(e){var t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(i(e,t),t):void 0},set:function(e,t){r.has(e)?r.set(e,t):i(e,t)}}}(e.cacheSize),splitModifiers:(r=1===(t=e.separator||":").length,n=t[0],i=t.length,function(e){for(var o,s=[],a=0,l=0,u=0;ul?o-l:void 0}}),...(l=e.theme,u=e.prefix,c={nextPart:new Map,validators:[]},(h=Object.entries(e.classGroups),u?h.map(function(e){return[e[0],e[1].map(function(e){return"string"==typeof e?u+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(function(e){return[u+e[0],e[1]]})):e})]}):h).forEach(function(e){var t=e[0];(function e(t,r,n,i){t.forEach(function(t){if("string"==typeof t){(""===t?r:f(r,t)).classGroupId=n;return}if("function"==typeof t){if(t.isThemeGetter){e(t(i),r,n,i);return}r.validators.push({validator:t,classGroupId:n});return}Object.entries(t).forEach(function(t){var o=t[0];e(t[1],f(r,o),n,i)})})})(e[1],c,t,l)}),o=e.conflictingClassGroups,a=void 0===(s=e.conflictingClassGroupModifiers)?{}:s,{getClassGroupId:function(e){var t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),function e(t,r){if(0===t.length)return r.classGroupId;var n,i=t[0],o=r.nextPart.get(i),s=o?e(t.slice(1),o):void 0;if(s)return s;if(0!==r.validators.length){var a=t.join("-");return null===(n=r.validators.find(function(e){return(0,e.validator)(a)}))||void 0===n?void 0:n.classGroupId}}(t,c)||function(e){if(d.test(e)){var t=d.exec(e)[1],r=null==t?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){var r=o[e]||[];return t&&a[e]?[].concat(r,a[e]):r}})}}(i.slice(1).reduce(function(e,t){return t(e)},o()))).cache.get,r=e.cache.set,s=a,a(n)};function a(n){var i,o,s,a,l,u=t(n);if(u)return u;var c=(o=(i=e).splitModifiers,s=i.getClassGroupId,a=i.getConflictingClassGroupIds,l=new Set,n.trim().split(h).map(function(e){var t=o(e),r=t.modifiers,n=t.hasImportantModifier,i=t.baseClassName,a=t.maybePostfixModifierPosition,l=s(a?i.substring(0,a):i),u=!!a;if(!l){if(!a||!(l=s(i)))return{isTailwindClass:!1,originalClassName:e};u=!1}var c=(function(e){if(e.length<=1)return e;var t=[],r=[];return e.forEach(function(e){"["===e[0]?(t.push.apply(t,r.sort().concat([e])),r=[]):r.push(e)}),t.push.apply(t,r.sort()),t})(r).join(":");return{isTailwindClass:!0,modifierId:n?c+"!":c,classGroupId:l,originalClassName:e,hasPostfixModifier:u}}).reverse().filter(function(e){if(!e.isTailwindClass)return!0;var t=e.modifierId,r=e.classGroupId,n=e.hasPostfixModifier,i=t+r;return!l.has(i)&&(l.add(i),a(r,n).forEach(function(e){return l.add(t+e)}),!0)}).reverse().map(function(e){return e.originalClassName}).join(" "));return r(n,c),c}return function(){return s(p.apply(null,arguments))}}function g(e){var t=function(t){return t[e]||[]};return t.isThemeGetter=!0,t}var v=/^\[(?:([a-z-]+):)?(.+)\]$/i,y=/^\d+\/\d+$/,b=new Set(["px","full","screen"]),w=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,x=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,E=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function P(e){return A(e)||b.has(e)||y.test(e)||T(e)}function T(e){return j(e,"length",F)}function S(e){return j(e,"size",V)}function k(e){return j(e,"position",V)}function C(e){return j(e,"url",N)}function M(e){return j(e,"number",A)}function A(e){return!Number.isNaN(Number(e))}function R(e){return e.endsWith("%")&&A(e.slice(0,-1))}function L(e){return B(e)||j(e,"number",B)}function O(e){return v.test(e)}function K(){return!0}function D(e){return w.test(e)}function I(e){return j(e,"",z)}function j(e,t,r){var n=v.exec(e);return!!n&&(n[1]?n[1]===t:r(n[2]))}function F(e){return x.test(e)}function V(){return!1}function N(e){return e.startsWith("url(")}function B(e){return Number.isInteger(Number(e))}function z(e){return E.test(e)}function _(){var e=g("colors"),t=g("spacing"),r=g("blur"),n=g("brightness"),i=g("borderColor"),o=g("borderRadius"),s=g("borderSpacing"),a=g("borderWidth"),l=g("contrast"),u=g("grayscale"),c=g("hueRotate"),d=g("invert"),f=g("gap"),h=g("gradientColorStops"),p=g("gradientColorStopPositions"),m=g("inset"),v=g("margin"),y=g("opacity"),b=g("padding"),w=g("saturate"),x=g("scale"),E=g("sepia"),j=g("skew"),F=g("space"),V=g("translate"),N=function(){return["auto","contain","none"]},B=function(){return["auto","hidden","clip","visible","scroll"]},z=function(){return["auto",O,t]},_=function(){return[O,t]},W=function(){return["",P]},H=function(){return["auto",A,O]},G=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},U=function(){return["solid","dashed","dotted","double","none"]},Z=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},q=function(){return["start","end","center","between","around","evenly","stretch"]},X=function(){return["","0",O]},Y=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},$=function(){return[A,M]},J=function(){return[A,O]};return{cacheSize:500,theme:{colors:[K],spacing:[P],blur:["none","",D,O],brightness:$(),borderColor:[e],borderRadius:["none","","full",D,O],borderSpacing:_(),borderWidth:W(),contrast:$(),grayscale:X(),hueRotate:J(),invert:X(),gap:_(),gradientColorStops:[e],gradientColorStopPositions:[R,T],inset:z(),margin:z(),opacity:$(),padding:_(),saturate:$(),scale:$(),sepia:X(),skew:J(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",O]}],container:["container"],columns:[{columns:[D]}],"break-after":[{"break-after":Y()}],"break-before":[{"break-before":Y()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(G(),[O])}],overflow:[{overflow:B()}],"overflow-x":[{"overflow-x":B()}],"overflow-y":[{"overflow-y":B()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",L]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",O]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",L]}],"grid-cols":[{"grid-cols":[K]}],"col-start-end":[{col:["auto",{span:["full",L]},O]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[K]}],"row-start-end":[{row:["auto",{span:[L]},O]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",O]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",O]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal"].concat(q())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(q(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(q(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[F]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[F]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",O,t]}],"min-w":[{"min-w":["min","max","fit",O,P]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[D]},D,O]}],h:[{h:[O,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",O,P]}],"max-h":[{"max-h":[O,t,"min","max","fit"]}],"font-size":[{text:["base",D,T]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",M]}],"font-family":[{font:[K]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",O]}],"line-clamp":[{"line-clamp":["none",A,M]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",O,P]}],"list-image":[{"list-image":["none",O]}],"list-style-type":[{list:["none","disc","decimal",O]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(U(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",P]}],"underline-offset":[{"underline-offset":["auto",O,P]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",O]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",O]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(G(),[k])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",S]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},C]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[p]}],"gradient-via-pos":[{via:[p]}],"gradient-to-pos":[{to:[p]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[].concat(U(),["hidden"])}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:U()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:[""].concat(U())}],"outline-offset":[{"outline-offset":[O,P]}],"outline-w":[{outline:[P]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[P]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",D,I]}],"shadow-color":[{shadow:[K]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":Z()}],"bg-blend":[{"bg-blend":Z()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",D,O]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",O]}],duration:[{duration:J()}],ease:[{ease:["linear","in","out","in-out",O]}],delay:[{delay:J()}],animate:[{animate:["none","spin","ping","pulse","bounce",O]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[L,O]}],"translate-x":[{"translate-x":[V]}],"translate-y":[{"translate-y":[V]}],"skew-x":[{"skew-x":[j]}],"skew-y":[{"skew-y":[j]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",O]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",O]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",O]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,M]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var W=m(_),H=Object.prototype.hasOwnProperty,G=new Set(["string","number","boolean"]),U={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},Z=e=>e||void 0,q=function(){for(var e=arguments.length,t=Array(e),r=0;re.twMerge?((!X||$)&&($=!1,X=o(Y)?W:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{for(let r in t)e.hasOwnProperty(r)?e[r]=q(e[r],t[r]):e[r]=t[r];return e},ee=(e,t)=>{let{extend:r=null,slots:n={},variants:a={},compoundVariants:d=[],compoundSlots:f=[],defaultVariants:h={}}=e,p={...U,...t},m=null!=r&&r.base?q(r.base,null==e?void 0:e.base):null==e?void 0:e.base,g=null!=r&&r.variants&&!o(r.variants)?u(a,r.variants):a,v=null!=r&&r.defaultVariants&&!o(r.defaultVariants)?{...r.defaultVariants,...h}:h;o(p.twMergeConfig)||s(p.twMergeConfig,Y)||($=!0,Y=p.twMergeConfig);let y=o(null==r?void 0:r.slots),b=o(n)?{}:{base:q(null==e?void 0:e.base,y&&(null==r?void 0:r.base)),...n},w=y?b:Q({...null==r?void 0:r.slots},o(b)?{base:null==e?void 0:e.base}:b),x=e=>{if(o(g)&&o(n)&&y)return J(m,null==e?void 0:e.class,null==e?void 0:e.className)(p);if(d&&!Array.isArray(d))throw TypeError('The "compoundVariants" prop must be an array. Received: '.concat(typeof d));if(f&&!Array.isArray(f))throw TypeError('The "compoundSlots" prop must be an array. Received: '.concat(typeof f));let t=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3?arguments[3]:void 0,i=r;if("string"==typeof t)i=i.concat(c(t).split(" ").map(t=>"".concat(e,":").concat(t)));else if(Array.isArray(t))i=i.concat(t.reduce((t,r)=>t.concat("".concat(e,":").concat(r)),[]));else if("object"==typeof t&&"string"==typeof n){for(let r in t)if(t.hasOwnProperty(r)&&r===n){let o=t[r];if(o&&"string"==typeof o){let t=c(o);i[n]?i[n]=i[n].concat(t.split(" ").map(t=>"".concat(e,":").concat(t))):i[n]=t.split(" ").map(t=>"".concat(e,":").concat(t))}else Array.isArray(o)&&o.length>0&&(i[n]=o.reduce((t,r)=>t.concat("".concat(e,":").concat(r)),[]))}}return i},s=function(r){var n;let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,u=s[r];if(!u||o(u))return null;let c=null!=(n=null==l?void 0:l[r])?n:null==e?void 0:e[r];if(null===c)return null;let d=i(c),f=Array.isArray(p.responsiveVariants)&&p.responsiveVariants.length>0||!0===p.responsiveVariants,h=null==v?void 0:v[r],m=[];if("object"==typeof d&&f)for(let[e,r]of Object.entries(d)){let n=u[r];if("initial"===e){h=r;continue}Array.isArray(p.responsiveVariants)&&!p.responsiveVariants.includes(e)||(m=t(e,n,m,a))}let y=u[d]||u[i(h)];return"object"==typeof m&&"string"==typeof a&&m[a]?Q(m,y):m.length>0?(m.push(y),m):y},a=(e,t)=>{if(!g||"object"!=typeof g)return null;let r=[];for(let n in g){let i=s(n,g,e,t),o="base"===e&&"string"==typeof i?i:i&&i[e];o&&(r[r.length]=o)}return r},u={};for(let t in e)void 0!==e[t]&&(u[t]=e[t]);let h=(t,r)=>{var n;let i="object"==typeof(null==e?void 0:e[t])?{[t]:null==(n=e[t])?void 0:n.initial}:{};return{...v,...u,...i,...r}},b=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,r=[];for(let{class:n,className:i,...o}of e){let e=!0;for(let[r,n]of Object.entries(o)){let i=h(r,t);if(Array.isArray(n)){if(!n.includes(i[r])){e=!1;break}}else if(i[r]!==n){e=!1;break}}e&&(n&&r.push(n),i&&r.push(i))}return r},x=e=>{let t=b(d,e);return l(b(null==r?void 0:r.compoundVariants,e),t)},E=e=>{let t=x(e);if(!Array.isArray(t))return t;let r={};for(let e of t)if("string"==typeof e&&(r.base=J(r.base,e)(p)),"object"==typeof e)for(let[t,n]of Object.entries(e))r[t]=J(r[t],n)(p);return r},P=e=>{if(f.length<1)return null;let t={};for(let{slots:r=[],class:n,className:i,...s}of f){if(!o(s)){let t=!0;for(let r of Object.keys(s)){let n=h(r,e)[r];if(void 0===n||(Array.isArray(s[r])?!s[r].includes(n):s[r]!==n)){t=!1;break}}if(!t)continue}for(let e of r)t[e]=t[e]||[],t[e].push([n,i])}return t};if(!o(n)||!y){let e={};if("object"==typeof w&&!o(w))for(let t of Object.keys(w))e[t]=e=>{var r,n;return J(w[t],a(t,e),(null!=(r=E(e))?r:[])[t],(null!=(n=P(e))?n:[])[t],null==e?void 0:e.class,null==e?void 0:e.className)(p)};return e}return J(m,g?Object.keys(g).map(e=>s(e,g)):null,x(),null==e?void 0:e.class,null==e?void 0:e.className)(p)};return x.variantKeys=(()=>{if(!(!g||"object"!=typeof g))return Object.keys(g)})(),x.extend=r,x.base=m,x.slots=w,x.variants=g,x.defaultVariants=v,x.compoundSlots=f,x.compoundVariants=d,x},et=["small","medium","large"],er=(e,t)=>{var r,i,o;return ee(e,{...t,twMerge:null==(r=null==t?void 0:t.twMerge)||r,twMergeConfig:{...null==t?void 0:t.twMergeConfig,theme:{...null==(i=null==t?void 0:t.twMergeConfig)?void 0:i.theme,opacity:["disabled"],spacing:["divider","unit",...n],borderWidth:et,borderRadius:et},classGroups:{...null==(o=null==t?void 0:t.twMergeConfig)?void 0:o.classGroups,shadow:[{shadow:et}],"font-size":[{text:["tiny",...et]}],"bg-image":["bg-stripe-gradient"],"min-w":[{"min-w":["unit",...n]}],"min-h":[{"min-h":["unit",...n]}]}}})}},1244:function(e,t,r){r.d(t,{Dh:function(){return n},Zs:function(){return i}});var n=["outline-none","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],i={default:["[&+.border-medium.border-default]:ms-[calc(theme(borderWidth.medium)*-1)]"],primary:["[&+.border-medium.border-primary]:ms-[calc(theme(borderWidth.medium)*-1)]"],secondary:["[&+.border-medium.border-secondary]:ms-[calc(theme(borderWidth.medium)*-1)]"],success:["[&+.border-medium.border-success]:ms-[calc(theme(borderWidth.medium)*-1)]"],warning:["[&+.border-medium.border-warning]:ms-[calc(theme(borderWidth.medium)*-1)]"],danger:["[&+.border-medium.border-danger]:ms-[calc(theme(borderWidth.medium)*-1)]"]}},6411:function(e,t,r){r.d(t,{j:function(){return s}});var n=r(3308),i=r(8260),o=r(8084);function s(e,t){let r,{elementType:s="button",isDisabled:a,onPress:l,onPressStart:u,onPressEnd:c,onPressChange:d,preventFocusOnPress:f,allowFocusWhenDisabled:h,onClick:p,href:m,target:g,rel:v,type:y="button",allowTextSelectionOnPress:b}=e;r="button"===s?{type:y,disabled:a}:{role:"button",tabIndex:a?void 0:0,href:"a"===s&&a?void 0:m,target:"a"===s?g:void 0,type:"input"===s?y:void 0,disabled:"input"===s?a:void 0,"aria-disabled":a&&"input"!==s?a:void 0,rel:"a"===s?v:void 0};let{pressProps:w,isPressed:x}=(0,o.r)({onPressStart:u,onPressEnd:c,onPressChange:d,onPress:l,isDisabled:a,preventFocusOnPress:f,allowTextSelectionOnPress:b,ref:t}),{focusableProps:E}=(0,i.kc)(e,t);h&&(E.tabIndex=a?-1:E.tabIndex);let P=(0,n.dG)(E,w,(0,n.zL)(e,{labelable:!0}));return{isPressed:x,buttonProps:(0,n.dG)(r,P,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:e=>{null==p||p(e)}})}}},8084:function(e,t,r){r.d(t,{r:function(){return P}});var n,i=r(4090),o=i.createContext(null);o.displayName="PressResponderContext";var s=Object.defineProperty,a=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,l=(e,t,r)=>(a(e,"symbol"!=typeof t?t+"":t,r),r),u=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},c=(e,t,r)=>(u(e,t,"read from private field"),r?r.call(e):t.get(e)),d=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},f=(e,t,r,n)=>(u(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),h=class{continuePropagation(){f(this,n,!1)}get shouldStopPropagation(){return c(this,n)}constructor(e,t,r){l(this,"type"),l(this,"pointerType"),l(this,"target"),l(this,"shiftKey"),l(this,"ctrlKey"),l(this,"metaKey"),l(this,"altKey"),d(this,n,!0),this.type=e,this.pointerType=t,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey}};n=new WeakMap;var p=e=>{var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document},m=e=>{var t,r;return null!=(r=null==(t=null==e?void 0:e.ownerDocument)?void 0:t.defaultView)?r:window},g=r(3308),v="default",y="",b=new WeakMap;function w(e){if((0,g.gn)()){if("default"===v){let t=p(e);y=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}v="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(b.set(e,e.style.userSelect),e.style.userSelect="none")}function x(e){if((0,g.gn)())"disabled"===v&&(v="restoring",setTimeout(()=>{(0,g.QB)(()=>{if("restoring"===v){let t=p(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=y||""),y="",v="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&b.has(e)){let t=b.get(e);"none"===e.style.userSelect&&t&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),b.delete(e)}}var E=Symbol("linkClicked");function P(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:s,onPressUp:a,isDisabled:l,isPressed:u,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:f,ref:v,...y}=function(e){let t=(0,i.useContext)(o);if(t){let{register:r,...n}=t;e=(0,g.dG)(n,e),r()}return(0,g.lE)(t,e.ref),e}(e),[b,P]=(0,i.useState)(!1),L=(0,i.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:O,removeAllGlobalListeners:K}=(0,g.xi)(),D=(0,g.iW)((e,t)=>{let i=L.current;if(l||i.didFirePressStart)return;let o=!0;if(i.isTriggeringEvent=!0,n){let r=new h("pressstart",t,e);n(r),o=r.shouldStopPropagation}return r&&r(!0),i.isTriggeringEvent=!1,i.didFirePressStart=!0,P(!0),o}),I=(0,g.iW)(function(e,n){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=L.current;if(!o.didFirePressStart)return;o.ignoreClickAfterPress=!0,o.didFirePressStart=!1,o.isTriggeringEvent=!0;let a=!0;if(s){let t=new h("pressend",n,e);s(t),a=t.shouldStopPropagation}if(r&&r(!1),P(!1),t&&i&&!l){let r=new h("press",n,e);t(r),a&&(a=r.shouldStopPropagation)}return o.isTriggeringEvent=!1,a}),j=(0,g.iW)((e,t)=>{let r=L.current;if(!l){if(a){r.isTriggeringEvent=!0;let n=new h("pressup",t,e);return a(n),r.isTriggeringEvent=!1,n.shouldStopPropagation}return!0}}),F=(0,g.iW)(e=>{let t=L.current;t.isPressed&&(t.isOverTarget&&t.target&&I(C(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,K(),!f&&t.target&&x(t.target))}),V=(0,g.iW)(e=>{d&&F(e)}),N=(0,i.useMemo)(()=>{let e=L.current,t={onKeyDown(t){var n;if(S(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){R(t.target,t.key)&&t.preventDefault();let i=!0;e.isPressed||t.repeat||(e.target=t.currentTarget,e.isPressed=!0,i=D(t,"keyboard"),O(p(t.currentTarget),"keyup",r,!1)),i&&t.stopPropagation(),t.metaKey&&(0,g.V5)()&&(null==(n=e.metaKeyEvents)||n.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onKeyUp(t){e.target&&S(t.nativeEvent,t.currentTarget)&&!t.repeat&&t.currentTarget.contains(t.target)&&j(C(e.target,t),"keyboard")},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!g.nG.isOpening){let r=!0;if(l&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,g.Zj)(t.nativeEvent))){l||c||(0,g.Ao)(t.currentTarget);let e=D(t,"virtual"),n=j(t,"virtual"),i=I(t,"virtual");r=e&&n&&i}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,r&&t.stopPropagation()}}},r=t=>{var r,n;if(e.isPressed&&e.target&&S(t,e.target)){R(t.target,t.key)&&t.preventDefault();let n=t.target,i=I(C(e.target,t),"keyboard",e.target.contains(n));K(),i&&t.stopPropagation(),"Enter"!==t.key&&T(e.target)&&e.target.contains(n)&&!t[E]&&(t[E]=!0,(0,g.nG)(e.target,t,!1)),e.isPressed=!1,null==(r=e.metaKeyEvents)||r.delete(t.key)}else if("Meta"===t.key&&(null==(n=e.metaKeyEvents)?void 0:n.size)){let t=e.metaKeyEvents;for(let r of(e.metaKeyEvents=null,t.values()))e.target&&e.target.dispatchEvent(new KeyboardEvent("keyup",r))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{if(0!==t.button||!t.currentTarget.contains(t.target))return;if((0,g.cr)(t.nativeEvent)){e.pointerType="virtual";return}A(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let o=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,l||c||(0,g.Ao)(t.currentTarget),f||w(e.target),o=D(t,e.pointerType),O(p(t.currentTarget),"pointermove",r,!1),O(p(t.currentTarget),"pointerup",n,!1),O(p(t.currentTarget),"pointercancel",i,!1)),o&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(A(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&M(t,t.currentTarget)&&j(t,e.pointerType||t.pointerType)};let r=t=>{t.pointerId===e.activePointerId&&e.target&&(M(t,e.target)?e.isOverTarget||(e.isOverTarget=!0,D(C(e.target,t),e.pointerType)):e.isOverTarget&&(e.isOverTarget=!1,I(C(e.target,t),e.pointerType,!1),V(t)))},n=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(M(t,e.target)?I(C(e.target,t),e.pointerType):e.isOverTarget&&I(C(e.target,t),e.pointerType),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,K(),f||x(e.target))},i=e=>{F(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&F(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(A(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=(0,g.Zj)(t.nativeEvent)?"virtual":"mouse",l||c||(0,g.Ao)(t.currentTarget),D(t,e.pointerType)&&t.stopPropagation(),O(p(t.currentTarget),"mouseup",r,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&(e.isOverTarget=!0,r=D(t,e.pointerType)),r&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&(e.isOverTarget=!1,r=I(t,e.pointerType,!1),V(t)),r&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&(e.ignoreEmulatedMouseEvents||0!==t.button||j(t,e.pointerType||"mouse"))};let r=t=>{if(0===t.button){if(e.isPressed=!1,K(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&(M(t,e.target)?I(C(e.target,t),e.pointerType):e.isOverTarget&&I(C(e.target,t),e.pointerType,!1),e.isOverTarget=!1)}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let r=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);r&&(e.activePointerId=r.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",l||c||(0,g.Ao)(t.currentTarget),f||w(e.target),D(t,e.pointerType)&&t.stopPropagation(),O(m(t.currentTarget),"scroll",n,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=k(t.nativeEvent,e.activePointerId),n=!0;r&&M(r,t.currentTarget)?e.isOverTarget||(e.isOverTarget=!0,n=D(t,e.pointerType)):e.isOverTarget&&(e.isOverTarget=!1,n=I(t,e.pointerType,!1),V(t)),n&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=k(t.nativeEvent,e.activePointerId),n=!0;r&&M(r,t.currentTarget)?(j(t,e.pointerType),n=I(t,e.pointerType)):e.isOverTarget&&(n=I(t,e.pointerType,!1)),n&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,!f&&e.target&&x(e.target),K()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&F(t))};let n=t=>{e.isPressed&&t.target.contains(e.target)&&F({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&F(e)}}return t},[O,l,c,K,f,F,V,I,D,j]);return(0,i.useEffect)(()=>()=>{!f&&L.current.target&&x(L.current.target)},[f]),{isPressed:u||b,pressProps:(0,g.dG)(y,N)}}function T(e){return"A"===e.tagName&&e.hasAttribute("href")}function S(e,t){let{key:r,code:n}=e,i=t.getAttribute("role");return("Enter"===r||" "===r||"Spacebar"===r||"Space"===n)&&!(t instanceof m(t).HTMLInputElement&&!O(t,r)||t instanceof m(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===i||!i&&T(t))&&"Enter"!==r)}function k(e,t){let r=e.changedTouches;for(let e=0;eo.right)&&!(o.left>i.right)&&!(i.top>o.bottom)&&!(o.top>i.bottom)}function A(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function R(e,t){return e instanceof HTMLInputElement?!O(e,t):e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!T(e)}var L=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function O(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:L.has(e.type)}},1266:function(e,t,r){r.d(t,{F:function(){return i},e:function(){return o}});var n=r(4090);function i(){for(var e=arguments.length,t=Array(e),r=0;rt.forEach(t=>{"function"==typeof t?t(e):null!=t&&(t.current=e)})}function o(){for(var e=arguments.length,t=Array(e),r=0;r2&&void 0!==arguments[2]?arguments[2]:{};return function(n){if(null==e||e(n),!1===r||!n.defaultPrevented)return null==t?void 0:t(n)}}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[],n=()=>{let t=r.map(e=>(0,f.createContext)(e));return function(r){let n=(null==r?void 0:r[e])||t;return(0,f.useMemo)(()=>({["__scope".concat(e)]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){let i=(0,f.createContext)(n),o=r.length;function s(t){let{scope:r,children:n,...s}=t,a=(null==r?void 0:r[e][o])||i,l=(0,f.useMemo)(()=>s,Object.values(s));return(0,f.createElement)(a.Provider,{value:l},n)}return r=[...r,n],s.displayName=t+"Provider",[s,function(r,s){let a=(null==s?void 0:s[e][o])||i,l=(0,f.useContext)(a);if(l)return l;if(void 0!==n)return n;throw Error("`".concat(r,"` must be used within `").concat(t,"`"))}]},function(){for(var e=arguments.length,t=Array(e),r=0;r{let e=t.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(t){let r=e.reduce((e,r)=>{let{useScope:n,scopeName:i}=r,o=n(t)["__scope".concat(i)];return{...e,...o}},{});return(0,f.useMemo)(()=>({["__scope".concat(n.scopeName)]:r}),[r])}};return i.scopeName=n.scopeName,i}(n,...t)]}var y=r(1266),b=r(9143);let w=(0,f.createContext)(void 0),x=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=(0,f.forwardRef)((e,r)=>{let{asChild:n,...i}=e,o=n?b.g7:t;return(0,f.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,f.createElement)(o,(0,d.Z)({},i,{ref:r}))});return r.displayName="Primitive.".concat(t),{...e,[t]:r}},{});function E(e){let t=(0,f.useRef)(e);return(0,f.useEffect)(()=>{t.current=e}),(0,f.useMemo)(()=>function(){for(var e,r=arguments.length,n=Array(r),i=0;i{var r;let{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:a,onInteractOutside:l,onDismiss:u,...c}=e,h=(0,f.useContext)(T),[p,m]=(0,f.useState)(null),v=null!==(r=null==p?void 0:p.ownerDocument)&&void 0!==r?r:null==globalThis?void 0:globalThis.document,[,b]=(0,f.useState)({}),w=(0,y.e)(t,e=>m(e)),S=Array.from(h.layers),[M]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),A=S.indexOf(M),R=p?S.indexOf(p):-1,L=h.layersWithOutsidePointerEventsDisabled.size>0,O=R>=A,K=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==globalThis?void 0:globalThis.document,r=E(e),n=(0,f.useRef)(!1),i=(0,f.useRef)(()=>{});return(0,f.useEffect)(()=>{let e=e=>{if(e.target&&!n.current){let n={originalEvent:e};function o(){C("dismissableLayer.pointerDownOutside",r,n,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=o,t.addEventListener("click",i.current,{once:!0})):o()}else t.removeEventListener("click",i.current);n.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...h.branches].some(e=>e.contains(t));!O||r||(null==s||s(e),null==l||l(e),e.defaultPrevented||null==u||u())},v),D=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==globalThis?void 0:globalThis.document,r=E(e),n=(0,f.useRef)(!1);return(0,f.useEffect)(()=>{let e=e=>{e.target&&!n.current&&C("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;[...h.branches].some(e=>e.contains(t))||(null==a||a(e),null==l||l(e),e.defaultPrevented||null==u||u())},v);return!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==globalThis?void 0:globalThis.document,r=E(e);(0,f.useEffect)(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[r,t])}(e=>{R!==h.layers.size-1||(null==o||o(e),!e.defaultPrevented&&u&&(e.preventDefault(),u()))},v),(0,f.useEffect)(()=>{if(p)return i&&(0===h.layersWithOutsidePointerEventsDisabled.size&&(n=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(p)),h.layers.add(p),k(),()=>{i&&1===h.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=n)}},[p,v,i,h]),(0,f.useEffect)(()=>()=>{p&&(h.layers.delete(p),h.layersWithOutsidePointerEventsDisabled.delete(p),k())},[p,h]),(0,f.useEffect)(()=>{let e=()=>b({});return document.addEventListener(P,e),()=>document.removeEventListener(P,e)},[]),(0,f.createElement)(x.div,(0,d.Z)({},c,{ref:w,style:{pointerEvents:L?O?"auto":"none":void 0,...e.style},onFocusCapture:g(e.onFocusCapture,D.onFocusCapture),onBlurCapture:g(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:g(e.onPointerDownCapture,K.onPointerDownCapture)}))});function k(){let e=new CustomEvent(P);document.dispatchEvent(e)}function C(e,t,r,n){let{discrete:i}=n,o=r.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});(t&&o.addEventListener(e,t,{once:!0}),i)?o&&(0,p.flushSync)(()=>o.dispatchEvent(s)):o.dispatchEvent(s)}let M=0;function A(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}let R="focusScope.autoFocusOnMount",L="focusScope.autoFocusOnUnmount",O={bubbles:!1,cancelable:!0},K=(0,f.forwardRef)((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...s}=e,[a,l]=(0,f.useState)(null),u=E(i),c=E(o),h=(0,f.useRef)(null),p=(0,y.e)(t,e=>l(e)),m=(0,f.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,f.useEffect)(()=>{if(n){function e(e){if(m.paused||!a)return;let t=e.target;a.contains(t)?h.current=t:j(h.current,{select:!0})}function t(e){if(m.paused||!a)return;let t=e.relatedTarget;null===t||a.contains(t)||j(h.current,{select:!0})}document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&j(a)});return a&&r.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,a,m.paused]),(0,f.useEffect)(()=>{if(a){F.add(m);let e=document.activeElement;if(!a.contains(e)){let t=new CustomEvent(R,O);a.addEventListener(R,u),a.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=document.activeElement;for(let n of e)if(j(n,{select:t}),document.activeElement!==r)return}(D(a).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&j(a))}return()=>{a.removeEventListener(R,u),setTimeout(()=>{let t=new CustomEvent(L,O);a.addEventListener(L,c),a.dispatchEvent(t),t.defaultPrevented||j(null!=e?e:document.body,{select:!0}),a.removeEventListener(L,c),F.remove(m)},0)}}},[a,u,c,m]);let g=(0,f.useCallback)(e=>{if(!r&&!n||m.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[n,o]=function(e){let t=D(e);return[I(t,e),I(t.reverse(),e)]}(t);n&&o?e.shiftKey||i!==o?e.shiftKey&&i===n&&(e.preventDefault(),r&&j(o,{select:!0})):(e.preventDefault(),r&&j(n,{select:!0})):i===t&&e.preventDefault()}},[r,n,m.paused]);return(0,f.createElement)(x.div,(0,d.Z)({tabIndex:-1},s,{ref:p,onKeyDown:g}))});function D(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function I(e,t){for(let r of e)if(!function(e,t){let{upTo:r}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===r||e!==r);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function j(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}let F=(i=[],{add(e){let t=i[0];e!==t&&(null==t||t.pause()),(i=V(i,e)).unshift(e)},remove(e){var t;null===(t=(i=V(i,e))[0])||void 0===t||t.resume()}});function V(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}let N=(null==globalThis?void 0:globalThis.document)?f.useLayoutEffect:()=>{},B=h["useId".toString()]||(()=>void 0),z=0;function _(e){let[t,r]=f.useState(B());return N(()=>{e||r(e=>null!=e?e:String(z++))},[e]),e||(t?"radix-".concat(t):"")}let W=["top","right","bottom","left"],H=Math.min,G=Math.max,U=Math.round,Z=Math.floor,q=e=>({x:e,y:e}),X={left:"right",right:"left",bottom:"top",top:"bottom"},Y={start:"end",end:"start"};function $(e,t){return"function"==typeof e?e(t):e}function J(e){return e.split("-")[0]}function Q(e){return e.split("-")[1]}function ee(e){return"x"===e?"y":"x"}function et(e){return"y"===e?"height":"width"}function er(e){return["top","bottom"].includes(J(e))?"y":"x"}function en(e){return e.replace(/start|end/g,e=>Y[e])}function ei(e){return e.replace(/left|right|bottom|top/g,e=>X[e])}function eo(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function es(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function ea(e,t,r){let n,{reference:i,floating:o}=e,s=er(t),a=ee(er(t)),l=et(a),u=J(t),c="y"===s,d=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,h=i[l]/2-o[l]/2;switch(u){case"top":n={x:d,y:i.y-o.height};break;case"bottom":n={x:d,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:f};break;case"left":n={x:i.x-o.width,y:f};break;default:n={x:i.x,y:i.y}}switch(Q(t)){case"start":n[a]-=h*(r&&c?-1:1);break;case"end":n[a]+=h*(r&&c?-1:1)}return n}let el=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:s}=r,a=o.filter(Boolean),l=await (null==s.isRTL?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=ea(u,n,l),f=n,h={},p=0;for(let r=0;re[t]>=0)}async function ef(e,t){let{placement:r,platform:n,elements:i}=e,o=await (null==n.isRTL?void 0:n.isRTL(i.floating)),s=J(r),a=Q(r),l="y"===er(r),u=["left","top"].includes(s)?-1:1,c=o&&l?-1:1,d=$(t,e),{mainAxis:f,crossAxis:h,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return a&&"number"==typeof p&&(h="end"===a?-1*p:p),l?{x:h*c,y:f*u}:{x:f*u,y:h*c}}function eh(e){return eg(e)?(e.nodeName||"").toLowerCase():"#document"}function ep(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function em(e){var t;return null==(t=(eg(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function eg(e){return e instanceof Node||e instanceof ep(e).Node}function ev(e){return e instanceof Element||e instanceof ep(e).Element}function ey(e){return e instanceof HTMLElement||e instanceof ep(e).HTMLElement}function eb(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof ep(e).ShadowRoot)}function ew(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=eT(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function ex(e){let t=eE(),r=eT(e);return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some(e=>(r.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(r.contain||"").includes(e))}function eE(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function eP(e){return["html","body","#document"].includes(eh(e))}function eT(e){return ep(e).getComputedStyle(e)}function eS(e){return ev(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ek(e){if("html"===eh(e))return e;let t=e.assignedSlot||e.parentNode||eb(e)&&e.host||em(e);return eb(t)?t.host:t}function eC(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=function e(t){let r=ek(t);return eP(r)?t.ownerDocument?t.ownerDocument.body:t.body:ey(r)&&ew(r)?r:e(r)}(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),s=ep(i);return o?t.concat(s,s.visualViewport||[],ew(i)?i:[],s.frameElement&&r?eC(s.frameElement):[]):t.concat(i,eC(i,[],r))}function eM(e){let t=eT(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=ey(e),o=i?e.offsetWidth:r,s=i?e.offsetHeight:n,a=U(r)!==o||U(n)!==s;return a&&(r=o,n=s),{width:r,height:n,$:a}}function eA(e){return ev(e)?e:e.contextElement}function eR(e){let t=eA(e);if(!ey(t))return q(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:o}=eM(t),s=(o?U(r.width):r.width)/n,a=(o?U(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}let eL=q(0);function eO(e){let t=ep(e);return eE()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eL}function eK(e,t,r,n){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),s=eA(e),a=q(1);t&&(n?ev(n)&&(a=eR(n)):a=eR(e));let l=(void 0===(i=r)&&(i=!1),n&&(!i||n===ep(s))&&i)?eO(s):q(0),u=(o.left+l.x)/a.x,c=(o.top+l.y)/a.y,d=o.width/a.x,f=o.height/a.y;if(s){let e=ep(s),t=n&&ev(n)?ep(n):n,r=e,i=r.frameElement;for(;i&&n&&t!==r;){let e=eR(i),t=i.getBoundingClientRect(),n=eT(i),o=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,f*=e.y,u+=o,c+=s,i=(r=ep(i)).frameElement}}return es({width:d,height:f,x:u,y:c})}let eD=[":popover-open",":modal"];function eI(e){return eD.some(t=>{try{return e.matches(t)}catch(e){return!1}})}function ej(e){return eK(em(e)).left+eS(e).scrollLeft}function eF(e,t,r){let n;if("viewport"===t)n=function(e,t){let r=ep(e),n=em(e),i=r.visualViewport,o=n.clientWidth,s=n.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;let e=eE();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a,y:l}}(e,r);else if("document"===t)n=function(e){let t=em(e),r=eS(e),n=e.ownerDocument.body,i=G(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=G(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+ej(e),a=-r.scrollTop;return"rtl"===eT(n).direction&&(s+=G(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:s,y:a}}(em(e));else if(ev(t))n=function(e,t){let r=eK(e,!0,"fixed"===t),n=r.top+e.clientTop,i=r.left+e.clientLeft,o=ey(e)?eR(e):q(1),s=e.clientWidth*o.x;return{width:s,height:e.clientHeight*o.y,x:i*o.x,y:n*o.y}}(t,r);else{let r=eO(e);n={...t,x:t.x-r.x,y:t.y-r.y}}return es(n)}function eV(e,t){return ey(e)&&"fixed"!==eT(e).position?t?t(e):e.offsetParent:null}function eN(e,t){let r=ep(e);if(!ey(e)||eI(e))return r;let n=eV(e,t);for(;n&&["table","td","th"].includes(eh(n))&&"static"===eT(n).position;)n=eV(n,t);return n&&("html"===eh(n)||"body"===eh(n)&&"static"===eT(n).position&&!ex(n))?r:n||function(e){let t=ek(e);for(;ey(t)&&!eP(t);){if(ex(t))return t;t=ek(t)}return null}(e)||r}let eB=async function(e){let t=this.getOffsetParent||eN,r=this.getDimensions;return{reference:function(e,t,r){let n=ey(t),i=em(t),o="fixed"===r,s=eK(e,!0,o,t),a={scrollLeft:0,scrollTop:0},l=q(0);if(n||!n&&!o){if(("body"!==eh(t)||ew(i))&&(a=eS(t)),n){let e=eK(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=ej(i))}return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await r(e.floating)}}},ez={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,o="fixed"===i,s=em(n),a=!!t&&eI(t.floating);if(n===s||a&&o)return r;let l={scrollLeft:0,scrollTop:0},u=q(1),c=q(0),d=ey(n);if((d||!d&&!o)&&(("body"!==eh(n)||ew(s))&&(l=eS(n)),ey(n))){let e=eK(n);u=eR(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+c.x,y:r.y*u.y-l.scrollTop*u.y+c.y}},getDocumentElement:em,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,o=[..."clippingAncestors"===r?function(e,t){let r=t.get(e);if(r)return r;let n=eC(e,[],!1).filter(e=>ev(e)&&"body"!==eh(e)),i=null,o="fixed"===eT(e).position,s=o?ek(e):e;for(;ev(s)&&!eP(s);){let t=eT(s),r=ex(s);r||"fixed"!==t.position||(i=null),(o?!r&&!i:!r&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||ew(s)&&!r&&function e(t,r){let n=ek(t);return!(n===r||!ev(n)||eP(n))&&("fixed"===eT(n).position||e(n,r))}(e,s))?n=n.filter(e=>e!==s):i=t,s=ek(s)}return t.set(e,n),n}(t,this._c):[].concat(r),n],s=o[0],a=o.reduce((e,r)=>{let n=eF(t,r,i);return e.top=G(n.top,e.top),e.right=H(n.right,e.right),e.bottom=H(n.bottom,e.bottom),e.left=G(n.left,e.left),e},eF(t,s,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:eN,getElementRects:eB,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=eM(e);return{width:t,height:r}},getScale:eR,isElement:ev,isRTL:function(e){return"rtl"===eT(e).direction}},e_=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:i,rects:o,platform:s,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=$(e,t)||{};if(null==u)return{};let d=eo(c),f={x:r,y:n},h=ee(er(i)),p=et(h),m=await s.getDimensions(u),g="y"===h,v=g?"clientHeight":"clientWidth",y=o.reference[p]+o.reference[h]-f[h]-o.floating[p],b=f[h]-o.reference[h],w=await (null==s.getOffsetParent?void 0:s.getOffsetParent(u)),x=w?w[v]:0;x&&await (null==s.isElement?void 0:s.isElement(w))||(x=a.floating[v]||o.floating[p]);let E=x/2-m[p]/2-1,P=H(d[g?"top":"left"],E),T=H(d[g?"bottom":"right"],E),S=x-m[p]-T,k=x/2-m[p]/2+(y/2-b/2),C=G(P,H(k,S)),M=!l.arrow&&null!=Q(i)&&k!==C&&o.reference[p]/2-(k{let n=new Map,i={platform:ez,...r},o={...i.platform,_c:n};return el(e,t,{...i,platform:o})},eH=e=>({name:"arrow",options:e,fn(t){let{element:r,padding:n}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?e_({element:r.current,padding:n}).fn(t):{}:r?e_({element:r,padding:n}).fn(t):{}}});var eG="undefined"!=typeof document?f.useLayoutEffect:f.useEffect;function eU(e,t){let r,n,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!eU(e[n],t[n]))return!1;return!0}if((r=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,i[n]))return!1;for(n=r;0!=n--;){let r=i[n];if(("_owner"!==r||!e.$$typeof)&&!eU(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function eZ(e){return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eq(e,t){let r=eZ(e);return Math.round(t*r)/r}function eX(e){let t=f.useRef(e);return eG(()=>{t.current=e}),t}let eY=(0,f.forwardRef)((e,t)=>{let{children:r,width:n=10,height:i=5,...o}=e;return(0,f.createElement)(x.svg,(0,d.Z)({},o,{ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?r:(0,f.createElement)("polygon",{points:"0,0 30,0 15,10"}))}),e$="Popper",[eJ,eQ]=v(e$),[e0,e1]=eJ(e$),e2=(0,f.forwardRef)((e,t)=>{let{__scopePopper:r,virtualRef:n,...i}=e,o=e1("PopperAnchor",r),s=(0,f.useRef)(null),a=(0,y.e)(t,s);return(0,f.useEffect)(()=>{o.onAnchorChange((null==n?void 0:n.current)||s.current)}),n?null:(0,f.createElement)(x.div,(0,d.Z)({},i,{ref:a}))}),e3="PopperContent",[e4,e5]=eJ(e3),e8=(0,f.forwardRef)((e,t)=>{var r,n,i,o,s,a,l,u,c,h,m,g,v,b;let{__scopePopper:w,side:P="bottom",sideOffset:T=0,align:S="center",alignOffset:k=0,arrowPadding:C=0,avoidCollisions:M=!0,collisionBoundary:A=[],collisionPadding:R=0,sticky:L="partial",hideWhenDetached:O=!1,updatePositionStrategy:K="optimized",onPlaced:D,...I}=e,j=e1(e3,w),[F,V]=(0,f.useState)(null),B=(0,y.e)(t,e=>V(e)),[z,_]=(0,f.useState)(null),W=function(e){let[t,r]=(0,f.useState)(void 0);return N(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(z),U=null!==(r=null==W?void 0:W.width)&&void 0!==r?r:0,q=null!==(n=null==W?void 0:W.height)&&void 0!==n?n:0,X="number"==typeof R?R:{top:0,right:0,bottom:0,left:0,...R},Y=Array.isArray(A)?A:[A],eo=Y.length>0,es={padding:X,boundary:Y.filter(e9),altBoundary:eo},{refs:ea,floatingStyles:el,placement:eh,isPositioned:ep,middlewareData:eg}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:o,floating:s}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,d]=f.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=f.useState(n);eU(h,n)||m(n);let[g,v]=f.useState(null),[y,b]=f.useState(null),w=f.useCallback(e=>{e!==T.current&&(T.current=e,v(e))},[]),x=f.useCallback(e=>{e!==S.current&&(S.current=e,b(e))},[]),E=o||g,P=s||y,T=f.useRef(null),S=f.useRef(null),k=f.useRef(c),C=null!=l,M=eX(l),A=eX(i),R=f.useCallback(()=>{if(!T.current||!S.current)return;let e={placement:t,strategy:r,middleware:h};A.current&&(e.platform=A.current),eW(T.current,S.current,e).then(e=>{let t={...e,isPositioned:!0};L.current&&!eU(k.current,t)&&(k.current=t,p.flushSync(()=>{d(t)}))})},[h,t,r,A]);eG(()=>{!1===u&&k.current.isPositioned&&(k.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[u]);let L=f.useRef(!1);eG(()=>(L.current=!0,()=>{L.current=!1}),[]),eG(()=>{if(E&&(T.current=E),P&&(S.current=P),E&&P){if(M.current)return M.current(E,P,R);R()}},[E,P,R,M,C]);let O=f.useMemo(()=>({reference:T,floating:S,setReference:w,setFloating:x}),[w,x]),K=f.useMemo(()=>({reference:E,floating:P}),[E,P]),D=f.useMemo(()=>{let e={position:r,left:0,top:0};if(!K.floating)return e;let t=eq(K.floating,c.x),n=eq(K.floating,c.y);return a?{...e,transform:"translate("+t+"px, "+n+"px)",...eZ(K.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,a,K.floating,c.x,c.y]);return f.useMemo(()=>({...c,update:R,refs:O,elements:K,floatingStyles:D}),[c,R,O,K,D])}({strategy:"fixed",placement:P+("center"!==S?"-"+S:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r{o&&e.addEventListener("scroll",r,{passive:!0}),s&&e.addEventListener("resize",r)});let f=c&&l?function(e,t){let r,n=null,i=em(e);function o(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),o();let{left:u,top:c,width:d,height:f}=e.getBoundingClientRect();if(a||t(),!d||!f)return;let h=Z(c),p=Z(i.clientWidth-(u+d)),m={rootMargin:-h+"px "+-p+"px "+-Z(i.clientHeight-(c+f))+"px "+-Z(u)+"px",threshold:G(0,H(1,l))||1},g=!0;function v(e){let t=e[0].intersectionRatio;if(t!==l){if(!g)return s();t?s(!1,t):r=setTimeout(()=>{s(!1,1e-7)},100)}g=!1}try{n=new IntersectionObserver(v,{...m,root:i.ownerDocument})}catch(e){n=new IntersectionObserver(v,m)}n.observe(e)}(!0),o}(c,r):null,h=-1,p=null;a&&(p=new ResizeObserver(e=>{let[n]=e;n&&n.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=p)||e.observe(t)})),r()}),c&&!u&&p.observe(c),p.observe(t));let m=u?eK(e):null;return u&&function t(){let n=eK(e);m&&(n.x!==m.x||n.y!==m.y||n.width!==m.width||n.height!==m.height)&&r(),m=n,i=requestAnimationFrame(t)}(),r(),()=>{var e;d.forEach(e=>{o&&e.removeEventListener("scroll",r),s&&e.removeEventListener("resize",r)}),null==f||f(),null==(e=p)||e.disconnect(),p=null,u&&cancelAnimationFrame(i)}}(...t,{animationFrame:"always"===K})},elements:{reference:j.anchor},middleware:[{name:"offset",options:c={mainAxis:T+q,alignmentAxis:k},async fn(e){var t,r;let{x:n,y:i,placement:o,middlewareData:s}=e,a=await ef(e,c);return o===(null==(t=s.offset)?void 0:t.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:n+a.x,y:i+a.y,data:{...a,placement:o}}}},M&&{name:"shift",options:m={mainAxis:!0,crossAxis:!1,limiter:"partial"===L?(void 0===h&&(h={}),{options:h,fn(e){let{x:t,y:r,placement:n,rects:i,middlewareData:o}=e,{offset:s=0,mainAxis:a=!0,crossAxis:l=!0}=$(h,e),u={x:t,y:r},c=er(n),d=ee(c),f=u[d],p=u[c],m=$(s,e),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(a){let e="y"===d?"height":"width",t=i.reference[d]-i.floating[e]+g.mainAxis,r=i.reference[d]+i.reference[e]-g.mainAxis;fr&&(f=r)}if(l){var v,y;let e="y"===d?"width":"height",t=["top","left"].includes(J(n)),r=i.reference[c]-i.floating[e]+(t&&(null==(v=o.offset)?void 0:v[c])||0)+(t?0:g.crossAxis),s=i.reference[c]+i.reference[e]+(t?0:(null==(y=o.offset)?void 0:y[c])||0)-(t?g.crossAxis:0);ps&&(p=s)}return{[d]:f,[c]:p}}}):void 0,...es},async fn(e){let{x:t,y:r,placement:n}=e,{mainAxis:i=!0,crossAxis:o=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...a}=$(m,e),l={x:t,y:r},u=await eu(e,a),c=er(J(n)),d=ee(c),f=l[d],h=l[c];if(i){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",r=f+u[e],n=f-u[t];f=G(r,H(f,n))}if(o){let e="y"===c?"top":"left",t="y"===c?"bottom":"right",r=h+u[e],n=h-u[t];h=G(r,H(h,n))}let p=s.fn({...e,[d]:f,[c]:h});return{...p,data:{x:p.x-t,y:p.y-r}}}},M&&{name:"flip",options:g={...es},async fn(e){var t,r,n,i,o;let{placement:s,middlewareData:a,rects:l,initialPlacement:u,platform:c,elements:d}=e,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...b}=$(g,e);if(null!=(t=a.arrow)&&t.alignmentOffset)return{};let w=J(s),x=J(u)===u,E=await (null==c.isRTL?void 0:c.isRTL(d.floating)),P=p||(x||!y?[ei(u)]:function(e){let t=ei(e);return[en(e),t,en(t)]}(u));p||"none"===v||P.push(...function(e,t,r,n){let i=Q(e),o=function(e,t,r){let n=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":if(r)return t?i:n;return t?n:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(J(e),"start"===r,n);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(en)))),o}(u,y,v,E));let T=[u,...P],S=await eu(e,b),k=[],C=(null==(r=a.flip)?void 0:r.overflows)||[];if(f&&k.push(S[w]),h){let e=function(e,t,r){void 0===r&&(r=!1);let n=Q(e),i=ee(er(e)),o=et(i),s="x"===i?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=ei(s)),[s,ei(s)]}(s,l,E);k.push(S[e[0]],S[e[1]])}if(C=[...C,{placement:s,overflows:k}],!k.every(e=>e<=0)){let e=((null==(n=a.flip)?void 0:n.index)||0)+1,t=T[e];if(t)return{data:{index:e,overflows:C},reset:{placement:t}};let r=null==(i=C.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(m){case"bestFit":{let e=null==(o=C.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(r=e);break}case"initialPlacement":r=u}if(s!==r)return{reset:{placement:r}}}return{}}},{name:"size",options:v={...es,apply:e=>{let{elements:t,rects:r,availableWidth:n,availableHeight:i}=e,{width:o,height:s}=r.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(n,"px")),a.setProperty("--radix-popper-available-height","".concat(i,"px")),a.setProperty("--radix-popper-anchor-width","".concat(o,"px")),a.setProperty("--radix-popper-anchor-height","".concat(s,"px"))}},async fn(e){let t,r;let{placement:n,rects:i,platform:o,elements:s}=e,{apply:a=()=>{},...l}=$(v,e),u=await eu(e,l),c=J(n),d=Q(n),f="y"===er(n),{width:h,height:p}=i.floating;"top"===c||"bottom"===c?(t=c,r=d===(await (null==o.isRTL?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(r=c,t="end"===d?"top":"bottom");let m=p-u[t],g=h-u[r],y=!e.middlewareData.shift,b=m,w=g;if(f){let e=h-u.left-u.right;w=d||y?H(g,e):e}else{let e=p-u.top-u.bottom;b=d||y?H(m,e):e}if(y&&!d){let e=G(u.left,0),t=G(u.right,0),r=G(u.top,0),n=G(u.bottom,0);f?w=h-2*(0!==e||0!==t?e+t:G(u.left,u.right)):b=p-2*(0!==r||0!==n?r+n:G(u.top,u.bottom))}await a({...e,availableWidth:w,availableHeight:b});let x=await o.getDimensions(s.floating);return h!==x.width||p!==x.height?{reset:{rects:!0}}:{}}},z&&eH({element:z,padding:C}),e7({arrowWidth:U,arrowHeight:q}),O&&{name:"hide",options:b={strategy:"referenceHidden",...es},async fn(e){let{rects:t}=e,{strategy:r="referenceHidden",...n}=$(b,e);switch(r){case"referenceHidden":{let r=ec(await eu(e,{...n,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:ed(r)}}}case"escaped":{let r=ec(await eu(e,{...n,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:ed(r)}}}default:return{}}}}]}),[ev,ey]=te(eh),eb=E(D);N(()=>{ep&&(null==eb||eb())},[ep,eb]);let ew=null===(i=eg.arrow)||void 0===i?void 0:i.x,ex=null===(o=eg.arrow)||void 0===o?void 0:o.y,eE=(null===(s=eg.arrow)||void 0===s?void 0:s.centerOffset)!==0,[eP,eT]=(0,f.useState)();return N(()=>{F&&eT(window.getComputedStyle(F).zIndex)},[F]),(0,f.createElement)("div",{ref:ea.setFloating,"data-radix-popper-content-wrapper":"",style:{...el,transform:ep?el.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eP,"--radix-popper-transform-origin":[null===(a=eg.transformOrigin)||void 0===a?void 0:a.x,null===(l=eg.transformOrigin)||void 0===l?void 0:l.y].join(" ")},dir:e.dir},(0,f.createElement)(e4,{scope:w,placedSide:ev,onArrowChange:_,arrowX:ew,arrowY:ex,shouldHideArrow:eE},(0,f.createElement)(x.div,(0,d.Z)({"data-side":ev,"data-align":ey},I,{ref:B,style:{...I.style,animation:ep?void 0:"none",opacity:null!==(u=eg.hide)&&void 0!==u&&u.referenceHidden?0:void 0}}))))}),e6={top:"bottom",right:"left",bottom:"top",left:"right"};function e9(e){return null!==e}let e7=e=>({name:"transformOrigin",options:e,fn(t){var r,n,i,o,s;let{placement:a,rects:l,middlewareData:u}=t,c=(null===(r=u.arrow)||void 0===r?void 0:r.centerOffset)!==0,d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[h,p]=te(a),m={start:"0%",center:"50%",end:"100%"}[p],g=(null!==(n=null===(i=u.arrow)||void 0===i?void 0:i.x)&&void 0!==n?n:0)+d/2,v=(null!==(o=null===(s=u.arrow)||void 0===s?void 0:s.y)&&void 0!==o?o:0)+f/2,y="",b="";return"bottom"===h?(y=c?m:"".concat(g,"px"),b="".concat(-f,"px")):"top"===h?(y=c?m:"".concat(g,"px"),b="".concat(l.floating.height+f,"px")):"right"===h?(y="".concat(-f,"px"),b=c?m:"".concat(v,"px")):"left"===h&&(y="".concat(l.floating.width+f,"px"),b=c?m:"".concat(v,"px")),{data:{x:y,y:b}}}});function te(e){let[t,r="center"]=e.split("-");return[t,r]}let tt=e=>{let{__scopePopper:t,children:r}=e,[n,i]=(0,f.useState)(null);return(0,f.createElement)(e0,{scope:t,anchor:n,onAnchorChange:i},r)},tr=(0,f.forwardRef)((e,t)=>{var r;let{container:n=null==globalThis?void 0:null===(r=globalThis.document)||void 0===r?void 0:r.body,...i}=e;return n?p.createPortal((0,f.createElement)(x.div,(0,d.Z)({},i,{ref:t})),n):null});function tn(e){let{prop:t,defaultProp:r,onChange:n=()=>{}}=e,[i,o]=function(e){let{defaultProp:t,onChange:r}=e,n=(0,f.useState)(t),[i]=n,o=(0,f.useRef)(i),s=E(r);return(0,f.useEffect)(()=>{o.current!==i&&(s(i),o.current=i)},[i,o,s]),n}({defaultProp:r,onChange:n}),s=void 0!==t,a=s?t:i,l=E(n);return[a,(0,f.useCallback)(e=>{if(s){let r="function"==typeof e?e(t):e;r!==t&&l(r)}else o(e)},[s,t,o,l])]}let ti=(0,f.forwardRef)((e,t)=>(0,f.createElement)(x.span,(0,d.Z)({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}})));var to=new WeakMap,ts=new WeakMap,ta={},tl=0,tu=function(e){return e&&(e.host||tu(e.parentNode))},tc=function(e,t,r,n){var i=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=tu(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});ta[r]||(ta[r]=new WeakMap);var o=ta[r],s=[],a=new Set,l=new Set(i),u=function(e){!e||a.has(e)||(a.add(e),u(e.parentNode))};i.forEach(u);var c=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(a.has(e))c(e);else try{var t=e.getAttribute(n),i=null!==t&&"false"!==t,l=(to.get(e)||0)+1,u=(o.get(e)||0)+1;to.set(e,l),o.set(e,u),s.push(e),1===l&&i&&ts.set(e,!0),1===u&&e.setAttribute(r,"true"),i||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return c(t),a.clear(),tl++,function(){s.forEach(function(e){var t=to.get(e)-1,i=o.get(e)-1;to.set(e,t),o.set(e,i),t||(ts.has(e)||e.removeAttribute(n),ts.delete(e)),i||e.removeAttribute(r)}),--tl||(to=new WeakMap,to=new WeakMap,ts=new WeakMap,ta={})}},td=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),tc(n,i,r,"aria-hidden")):function(){return null}},tf=function(){return(tf=Object.assign||function(e){for(var t,r=1,n=arguments.length;rt.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}"function"==typeof SuppressedError&&SuppressedError;var tp="right-scroll-bar-position",tm="width-before-scroll-bar";function tg(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var tv=new WeakMap,ty=(void 0===o&&(o={}),(void 0===s&&(s=function(e){return e}),a=[],l=!1,u={read:function(){if(l)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=s(e,l);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(l=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){l=!0;var t=[];if(a.length){var r=a;a=[],r.forEach(e),t=a}var n=function(){var r=t;t=[],r.forEach(e)},i=function(){return Promise.resolve().then(n)};i(),a={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),a}}}}).options=tf({async:!0,ssr:!1},o),u),tb=function(){},tw=f.forwardRef(function(e,t){var r,n,i,o,s=f.useRef(null),a=f.useState({onScrollCapture:tb,onWheelCapture:tb,onTouchMoveCapture:tb}),l=a[0],u=a[1],c=e.forwardProps,d=e.children,h=e.className,p=e.removeScrollBar,m=e.enabled,g=e.shards,v=e.sideCar,y=e.noIsolation,b=e.inert,w=e.allowPinchZoom,x=e.as,E=th(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),P=(r=[s,t],n=function(e){return r.forEach(function(t){return tg(t,e)})},(i=(0,f.useState)(function(){return{value:null,callback:n,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=n,o=i.facade,f.useLayoutEffect(function(){var e=tv.get(o);if(e){var t=new Set(e),n=new Set(r),i=o.current;t.forEach(function(e){n.has(e)||tg(e,null)}),n.forEach(function(e){t.has(e)||tg(e,i)})}tv.set(o,r)},[r]),o),T=tf(tf({},E),l);return f.createElement(f.Fragment,null,m&&f.createElement(v,{sideCar:ty,removeScrollBar:p,shards:g,noIsolation:y,inert:b,setCallbacks:u,allowPinchZoom:!!w,lockRef:s}),c?f.cloneElement(f.Children.only(d),tf(tf({},T),{ref:P})):f.createElement(void 0===x?"div":x,tf({},T,{className:h,ref:P}),d))});tw.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},tw.classNames={fullWidth:tm,zeroRight:tp};var tx=function(e){var t=e.sideCar,r=th(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return f.createElement(n,tf({},r))};tx.isSideCarExport=!0;var tE=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=c||r.nc;return t&&e.setAttribute("nonce",t),e}())){var i,o;(i=t).styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},tP=function(){var e=tE();return function(t,r){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},tT=function(){var e=tP();return function(t){return e(t.styles,t.dynamic),null}},tS=function(e){return parseInt(e||"",10)||0},tk=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[tS(r),tS(n),tS(i)]},tC=function(e){void 0===e&&(e="margin");var t=tk(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},tM=tT(),tA="data-scroll-locked",tR=function(e,t,r,n){var i=e.left,o=e.top,s=e.right,a=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(a,"px ").concat(n,";\n }\n body[").concat(tA,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(a,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(tp," {\n right: ").concat(a,"px ").concat(n,";\n }\n \n .").concat(tm," {\n margin-right: ").concat(a,"px ").concat(n,";\n }\n \n .").concat(tp," .").concat(tp," {\n right: 0 ").concat(n,";\n }\n \n .").concat(tm," .").concat(tm," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(tA,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},tL=function(){var e=parseInt(document.body.getAttribute(tA)||"0",10);return isFinite(e)?e:0},tO=function(){f.useEffect(function(){return document.body.setAttribute(tA,(tL()+1).toString()),function(){var e=tL()-1;e<=0?document.body.removeAttribute(tA):document.body.setAttribute(tA,e.toString())}},[])},tK=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=void 0===n?"margin":n;tO();var o=f.useMemo(function(){return tC(i)},[i]);return f.createElement(tM,{styles:tR(o,!t,i,r?"":"!important")})},tD=!1;try{var tI=Object.defineProperty({},"passive",{get:function(){return tD=!0,!0}});window.addEventListener("test",tI,tI),window.removeEventListener("test",tI,tI)}catch(e){tD=!1}var tj=!!tD&&{passive:!1},tF=function(e,t){var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===r[t])},tV=function(e,t){var r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),tN(e,r)){var n=tB(e,r);if(n[1]>n[2])return!0}r=r.parentNode}while(r&&r!==document.body);return!1},tN=function(e,t){return"v"===e?tF(t,"overflowY"):tF(t,"overflowX")},tB=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},tz=function(e,t,r,n,i){var o,s=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),a=s*n,l=r.target,u=t.contains(l),c=!1,d=a>0,f=0,h=0;do{var p=tB(e,l),m=p[0],g=p[1]-p[2]-s*m;(m||g)&&tN(e,l)&&(f+=g,h+=m),l=l.parentNode}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(i&&0===f||!i&&a>f)?c=!0:!d&&(i&&0===h||!i&&-a>h)&&(c=!0),c},t_=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tW=function(e){return[e.deltaX,e.deltaY]},tH=function(e){return e&&"current"in e?e.current:e},tG=0,tU=[],tZ=(ty.useMedium(function(e){var t=f.useRef([]),r=f.useRef([0,0]),n=f.useRef(),i=f.useState(tG++)[0],o=f.useState(function(){return tT()})[0],s=f.useRef(e);f.useEffect(function(){s.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i