!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ac597010-b8b1-4f66-902d-9d058886404c",e._sentryDebugIdIdentifier="sentry-dbid-ac597010-b8b1-4f66-902d-9d058886404c")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7547],{4272:(e,t,r)=>{r.d(t,{$:()=>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","enterKeyHint","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"]),o=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"]),i=/^(data-.*)$/,a=/^(aria-.*)$/,s=/^(on[A-Z].*)$/;function l(e,t={}){let{labelable:r=!0,enabled:u=!0,propNames:c,omitPropNames:d,omitEventNames:f,omitDataProps:p,omitEventProps:g}=t,v={};if(!u)return e;for(let t in e)!((null==d?void 0:d.has(t))||(null==f?void 0:f.has(t))&&s.test(t)||s.test(t)&&!o.has(t)||p&&i.test(t)||g&&s.test(t))&&(Object.prototype.hasOwnProperty.call(e,t)&&(n.has(t)||r&&a.test(t)||(null==c?void 0:c.has(t))||i.test(t))||s.test(t))&&(v[t]=e[t]);return v}},12982:(e,t,r)=>{r.d(t,{q:()=>o});var n=r(78293);function o(){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:o}=e,i=n.createContext(void 0);return i.displayName=o,[i.Provider,function e(){var o;let a=n.useContext(i);if(!a&&t){let t=Error(r);throw t.name="ContextError",null==(o=Error.captureStackTrace)||o.call(Error,t,e),t}return a},i]}},1968:(e,t,r)=>{r.d(t,{$S:()=>a,mK:()=>o,zD:()=>i});var n=r(78293);function o(e){return{UNSAFE_getDOMNode:()=>e.current}}function i(e){let t=(0,n.useRef)(null);return(0,n.useImperativeHandle)(e,()=>t.current),t}function a(e,t){return e&&t&&e.xt.x&&e.yt.y}"undefined"!=typeof window&&window.document&&window.document.createElement},31865:(e,t,r)=>{r.d(t,{k:()=>i});var n=r(81790),o=r(78293);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,r]=(0,o.useState)([]),i=(0,o.useCallback)(e=>{let t=e.target,o=Math.max(t.clientWidth,t.clientHeight);r(t=>[...t,{key:(0,n.Lz)(t.length.toString()),size:o,x:e.x-o/2,y:e.y-o/2}])},[]);return{ripples:t,onClear:(0,o.useCallback)(e=>{r(t=>t.filter(t=>t.key!==e))},[]),onPress:i,...e}}},90951:(e,t,r)=>{r.d(t,{j:()=>c});var n=r(2245),o=r(1254),i=r(72576),a=r(72537),s=r(55057),l=()=>Promise.all([r.e(8015),r.e(5747)]).then(r.bind(r,35747)).then(e=>e.default),u=e=>{let{ripples:t=[],motionProps:r,color:u="currentColor",style:c,onClear:d}=e;return(0,s.jsx)(s.Fragment,{children:t.map(e=>{let t=(0,a.qE)(.01*e.size,.2,e.size>100?.75:.5);return(0,s.jsx)(n.F,{features:l,children:(0,s.jsx)(o.N,{mode:"popLayout",children:(0,s.jsx)(i.m.span,{animate:{transform:"scale(2)",opacity:0},className:"heroui-ripple",exit:{opacity:0},initial:{transform:"scale(0)",opacity:.35},style:{position:"absolute",backgroundColor:u,borderRadius:"100%",transformOrigin:"center",pointerEvents:"none",overflow:"hidden",inset:0,zIndex:0,top:e.y,left:e.x,width:"".concat(e.size,"px"),height:"".concat(e.size,"px"),...c},transition:{duration:t},onAnimationComplete:()=>{d(e.key)},...r})})},e.key)})})};u.displayName="HeroUI.Ripple";var c=u},45095:(e,t,r)=>{r.d(t,{$:()=>n});function n(...e){for(var t,r,o=0,i="";o{r.d(t,{R:()=>o});var n={};function o(e,t,...r){let i=t?` [${t}]`:" ",a=`[Next UI]${i}: ${e}`;"undefined"!=typeof console&&(n[a]||(n[a]=!0))}},74687:(e,t,r)=>{r.d(t,{Gv:()=>i,Im:()=>a,Tn:()=>s,gt:()=>n,sE:()=>l});var n=!1;function o(e){return Array.isArray(e)}function i(e){let t=typeof e;return null!=e&&("object"===t||"function"===t)&&!o(e)}function a(e){return o(e)?o(e)&&0===e.length:i(e)?i(e)&&0===Object.keys(e).length:null==e||""===e}function s(e){return"function"==typeof e}var l=e=>e?"true":void 0},72537:(e,t,r)=>{function n(e,t){return Array.from({length:t-e+1},(t,r)=>r+e)}function o(e,t,r){return Math.min(Math.max(e,t),r)}function i(e,t=100){return Math.min(Math.max(e,0),t)}r.d(t,{QN:()=>i,qE:()=>o,y1:()=>n})},81790:(e,t,r)=>{r.d(t,{Hj:()=>g,ZH:()=>p,sg:()=>b,QA:()=>T,Lz:()=>v,kW:()=>w,d4:()=>x,t6:()=>y,cJ:()=>h,GU:()=>m});var n=Object.create,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t)=>function(){return t||(0,e[a(e)[0]])((t={exports:{}}).exports,t),t.exports},c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))l.call(e,s)||s===r||o(e,s,{get:()=>t[s],enumerable:!(n=i(t,s))||n.enumerable});return e},d=u({"../../../node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.production.min.js"(e){"use strict";var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,v={};function m(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||p}function y(){}function b(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||p}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=m.prototype;var h=b.prototype=new y;h.constructor=b,g(h,m.prototype),h.isPureReactComponent=!0;var w=Array.isArray,x=Object.prototype.hasOwnProperty,E={current:null},T={key:!0,ref:!0,__self:!0,__source:!0};function P(e,r,n){var o,i={},a=null,s=null;if(null!=r)for(o in void 0!==r.ref&&(s=r.ref),void 0!==r.key&&(a=""+r.key),r)x.call(r,o)&&!T.hasOwnProperty(o)&&(i[o]=r[o]);var l=arguments.length-2;if(1===l)i.children=n;else if(1(r=null!=e?n(s(e)):{},c(!t&&e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)))(u({"../../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"(e,t){"use strict";t.exports=d()}})()),p=e=>e?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():"";function g(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}function v(e){return`${e}-${Math.floor(1e6*Math.random())}`}function m(e){for(let t in e)t.startsWith("on")&&delete e[t];return e}function y(e){if(!e||"object"!=typeof e)return"";try{return JSON.stringify(e)}catch(e){return""}}function b(e,t=0){let r;return function(...n){void 0!==r&&clearTimeout(r),r=setTimeout(()=>{r=void 0,e.apply(this,n)},t)}}var h=(e,t)=>{let r=Object.assign({},e);return t.forEach(e=>{delete r[e]}),r},w=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),x=(e,t)=>Object.fromEntries(Object.entries(e).map(([e,r])=>[t(r,e),r])),E=()=>"19"===f.default.version.split(".")[0],T=e=>E()?e:e?"":void 0},98182:(e,t,r)=>{r.d(t,{Rf:()=>o,YK:()=>l,m9:()=>i,rE:()=>a,wc:()=>s});var n=r(78293);function o(e){return(0,n.forwardRef)(e)}var i=e=>({...e,[Symbol.iterator]:function(){let e=Object.keys(this),t=0;return{next:()=>{if(t>=e.length)return{done:!0};let r=e[t],n=this[r];return t++,{value:{key:r,value:n},done:!1}}}}}),a=(e,t,r=!0)=>{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]},s=(e,t,r)=>[Object.keys(e).filter(e=>!t.includes(e)||(null==r?void 0:r.includes(e))).reduce((t,r)=>({...t,[r]:e[r]}),{}),t.reduce((t,r)=>({...t,[r]:e[r]}),{})],l=e=>{var t,r,n;return!!(null==(n=null==(r=null==(t=e.type)?void 0:t.render)?void 0:r.displayName)?void 0:n.includes("HeroUI"))}},60789:(e,t,r)=>{r.d(t,{n:()=>n,o:()=>o});var[n,o]=(0,r(12982).q)({name:"ProviderContext",strict:!1})},46157:(e,t,r)=>{r.d(t,{$1:()=>s,KU:()=>l,fF:()=>o,ir:()=>n,n3:()=>d,oT:()=>c,pJ:()=>u,wA:()=>a,zb:()=>i});var n=e=>({color:`hsl(var(--${e}-foreground))`,backgroundColor:`hsl(var(--${e}-background))`}),o=["focus-visible:z-10","focus-visible:outline-2","focus-visible:outline-focus","focus-visible:outline-offset-2"],i=["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"],a=["outline-none","group-data-[focus-visible=true]:z-10","group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus","group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background"],s=["outline-none","ring-2","ring-focus","ring-offset-2","ring-offset-background"],l=["absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2"],u=["absolute","inset-0"],c={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)]"]},d=["[--cursor-hit-x:8px]","font-inherit","text-[100%]","leading-[1.15]","m-0","p-0","overflow-visible","box-border","absolute","top-0","start-[calc(var(--cursor-hit-x)*-1)]","w-[calc(100%+var(--cursor-hit-x)*2)]","h-full","opacity-[0.0001]","z-[1]","cursor-pointer","disabled:cursor-default"]},71980:(e,t,r)=>{r.d(t,{M:()=>n,w:()=>o});var n=["small","medium","large"],o={theme:{opacity:["disabled"],spacing:["divider"],borderWidth:n,borderRadius:n},classGroups:{shadow:[{shadow:n}],"font-size":[{text:["tiny",...n]}],"bg-image":["bg-stripe-gradient-default","bg-stripe-gradient-primary","bg-stripe-gradient-secondary","bg-stripe-gradient-success","bg-stripe-gradient-warning","bg-stripe-gradient-danger"]}}},56846:(e,t,r)=>{r.d(t,{tv:()=>et});var n=r(71980),o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=e=>!e||"object"!=typeof e||0===Object.keys(e).length,a=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function s(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=(...e)=>s(e).filter(Boolean),u=(e,t)=>{let r={},n=Object.keys(e),o=Object.keys(t);for(let i of n)if(o.includes(i)){let n=e[i],o=t[i];"object"==typeof n&&"object"==typeof o?r[i]=u(n,o):Array.isArray(n)||Array.isArray(o)?r[i]=l(o,n):r[i]=o+" "+n}else r[i]=e[i];for(let e of o)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 p=/\s+/;function g(){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))?(o(e,t),t):void 0},set:function(e,t){r.has(e)?r.set(e,t):o(e,t)}}}(e.cacheSize),splitModifiers:(r=1===(t=e.separator||":").length,n=t[0],o=t.length,function(e){for(var i,a=[],s=0,l=0,u=0;ul?i-l:void 0}}),...(l=e.theme,u=e.prefix,c={nextPart:new Map,validators:[]},(p=Object.entries(e.classGroups),u?p.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})]}):p).forEach(function(e){var t=e[0];(function e(t,r,n,o){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(o),r,n,o);return}r.validators.push({validator:t,classGroupId:n});return}Object.entries(t).forEach(function(t){var i=t[0];e(t[1],f(r,i),n,o)})})})(e[1],c,t,l)}),i=e.conflictingClassGroups,s=void 0===(a=e.conflictingClassGroupModifiers)?{}:a,{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=t[0],o=r.nextPart.get(n),i=o?e(t.slice(1),o):void 0;if(i)return i;if(0!==r.validators.length){var a=t.join("-");return r.validators.find(function(e){return(0,e.validator)(a)})?.classGroupId}}(t,c)||function(e){if(d.test(e)){var t=d.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){var r=i[e]||[];return t&&s[e]?[].concat(r,s[e]):r}})}}(o.slice(1).reduce(function(e,t){return t(e)},i()))).cache.get,r=e.cache.set,a=s,s(n)};function s(n){var o,i,a,s,l,u=t(n);if(u)return u;var c=(i=(o=e).splitModifiers,a=o.getClassGroupId,s=o.getConflictingClassGroupIds,l=new Set,n.trim().split(p).map(function(e){var t=i(e),r=t.modifiers,n=t.hasImportantModifier,o=t.baseClassName,s=t.maybePostfixModifierPosition,l=a(s?o.substring(0,s):o),u=!!s;if(!l){if(!s||!(l=a(o)))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,o=t+r;return!l.has(o)&&(l.add(o),s(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 a(g.apply(null,arguments))}}function m(e){var t=function(t){return t[e]||[]};return t.isThemeGetter=!0,t}var y=/^\[(?:([a-z-]+):)?(.+)\]$/i,b=/^\d+\/\d+$/,h=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 T(e){return j(e)||h.has(e)||b.test(e)||P(e)}function P(e){return $(e,"length",D)}function k(e){return $(e,"size",F)}function C(e){return $(e,"position",F)}function S(e){return $(e,"url",K)}function M(e){return $(e,"number",j)}function j(e){return!Number.isNaN(Number(e))}function L(e){return e.endsWith("%")&&j(e.slice(0,-1))}function A(e){return z(e)||$(e,"number",z)}function O(e){return y.test(e)}function I(){return!0}function _(e){return w.test(e)}function R(e){return $(e,"",N)}function $(e,t,r){var n=y.exec(e);return!!n&&(n[1]?n[1]===t:r(n[2]))}function D(e){return x.test(e)}function F(){return!1}function K(e){return e.startsWith("url(")}function z(e){return Number.isInteger(Number(e))}function N(e){return E.test(e)}function W(){var e=m("colors"),t=m("spacing"),r=m("blur"),n=m("brightness"),o=m("borderColor"),i=m("borderRadius"),a=m("borderSpacing"),s=m("borderWidth"),l=m("contrast"),u=m("grayscale"),c=m("hueRotate"),d=m("invert"),f=m("gap"),p=m("gradientColorStops"),g=m("gradientColorStopPositions"),v=m("inset"),y=m("margin"),b=m("opacity"),h=m("padding"),w=m("saturate"),x=m("scale"),E=m("sepia"),$=m("skew"),D=m("space"),F=m("translate"),K=function(){return["auto","contain","none"]},z=function(){return["auto","hidden","clip","visible","scroll"]},N=function(){return["auto",O,t]},W=function(){return[O,t]},H=function(){return["",T]},V=function(){return["auto",j,O]},B=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},U=function(){return["solid","dashed","dotted","double","none"]},Y=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},G=function(){return["start","end","center","between","around","evenly","stretch"]},X=function(){return["","0",O]},q=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},J=function(){return[j,M]},Q=function(){return[j,O]};return{cacheSize:500,theme:{colors:[I],spacing:[T],blur:["none","",_,O],brightness:J(),borderColor:[e],borderRadius:["none","","full",_,O],borderSpacing:W(),borderWidth:H(),contrast:J(),grayscale:X(),hueRotate:Q(),invert:X(),gap:W(),gradientColorStops:[e],gradientColorStopPositions:[L,P],inset:N(),margin:N(),opacity:J(),padding:W(),saturate:J(),scale:J(),sepia:X(),skew:Q(),space:W(),translate:W()},classGroups:{aspect:[{aspect:["auto","square","video",O]}],container:["container"],columns:[{columns:[_]}],"break-after":[{"break-after":q()}],"break-before":[{"break-before":q()}],"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(B(),[O])}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:K()}],"overscroll-x":[{"overscroll-x":K()}],"overscroll-y":[{"overscroll-y":K()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",A]}],basis:[{basis:N()}],"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",A]}],"grid-cols":[{"grid-cols":[I]}],"col-start-end":[{col:["auto",{span:["full",A]},O]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[I]}],"row-start-end":[{row:["auto",{span:[A]},O]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"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(G())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(G(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(G(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[D]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[D]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",O,t]}],"min-w":[{"min-w":["min","max","fit",O,T]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[_]},_,O]}],h:[{h:[O,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",O,T]}],"max-h":[{"max-h":[O,t,"min","max","fit"]}],"font-size":[{text:["base",_,P]}],"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:[I]}],"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",j,M]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",O,T]}],"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":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(U(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",T]}],"underline-offset":[{"underline-offset":["auto",O,T]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:W()}],"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":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(B(),[C])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",k]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},S]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"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":[b]}],"border-style":[{border:[].concat(U(),["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":[b]}],"divide-style":[{divide:U()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:[""].concat(U())}],"outline-offset":[{"outline-offset":[O,T]}],"outline-w":[{outline:[T]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[T]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",_,R]}],"shadow-color":[{shadow:[I]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":Y()}],"bg-blend":[{"bg-blend":Y()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",_,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":[b]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",O]}],duration:[{duration:Q()}],ease:[{ease:["linear","in","out","in-out",O]}],delay:[{delay:Q()}],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:[A,O]}],"translate-x":[{"translate-x":[F]}],"translate-y":[{"translate-y":[F]}],"skew-x":[{"skew-x":[$]}],"skew-y":[{"skew-y":[$]}],"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":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","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:[T,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 H=v(W),V=Object.prototype.hasOwnProperty,B=new Set(["string","number","boolean"]),U={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},Y=e=>e||void 0,G=(...e)=>Y(s(e).filter(Boolean).join(" ")),X=null,q={},J=!1,Q=(...e)=>t=>t.twMerge?((!X||J)&&(J=!1,X=i(q)?H: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]=G(e[r],t[r]):e[r]=t[r];return e},ee=(e,t)=>{let{extend:r=null,slots:n={},variants:s={},compoundVariants:d=[],compoundSlots:f=[],defaultVariants:p={}}=e,g={...U,...t},v=null!=r&&r.base?G(r.base,null==e?void 0:e.base):null==e?void 0:e.base,m=null!=r&&r.variants&&!i(r.variants)?u(s,r.variants):s,y=null!=r&&r.defaultVariants&&!i(r.defaultVariants)?{...r.defaultVariants,...p}:p;i(g.twMergeConfig)||a(g.twMergeConfig,q)||(J=!0,q=g.twMergeConfig);let b=i(null==r?void 0:r.slots),h=i(n)?{}:{base:G(null==e?void 0:e.base,b&&(null==r?void 0:r.base)),...n},w=b?h:Z({...null==r?void 0:r.slots},i(h)?{base:null==e?void 0:e.base}:h),x=e=>{if(i(m)&&i(n)&&b)return Q(v,null==e?void 0:e.class,null==e?void 0:e.className)(g);if(d&&!Array.isArray(d))throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof d}`);if(f&&!Array.isArray(f))throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof f}`);let t=(e,t,r=[],n)=>{let o=r;if("string"==typeof t)o=o.concat(c(t).split(" ").map(t=>`${e}:${t}`));else if(Array.isArray(t))o=o.concat(t.reduce((t,r)=>t.concat(`${e}:${r}`),[]));else if("object"==typeof t&&"string"==typeof n){for(let r in t)if(t.hasOwnProperty(r)&&r===n){let i=t[r];if(i&&"string"==typeof i){let t=c(i);o[n]?o[n]=o[n].concat(t.split(" ").map(t=>`${e}:${t}`)):o[n]=t.split(" ").map(t=>`${e}:${t}`)}else Array.isArray(i)&&i.length>0&&(o[n]=i.reduce((t,r)=>t.concat(`${e}:${r}`),[]))}}return o},a=(r,n=m,a=null,s=null)=>{var l;let u=n[r];if(!u||i(u))return null;let c=null!=(l=null==s?void 0:s[r])?l:null==e?void 0:e[r];if(null===c)return null;let d=o(c),f=Array.isArray(g.responsiveVariants)&&g.responsiveVariants.length>0||!0===g.responsiveVariants,p=null==y?void 0:y[r],v=[];if("object"==typeof d&&f)for(let[e,r]of Object.entries(d)){let n=u[r];if("initial"===e){p=r;continue}Array.isArray(g.responsiveVariants)&&!g.responsiveVariants.includes(e)||(v=t(e,n,v,a))}let b=u[d]||u[o(p)];return"object"==typeof v&&"string"==typeof a&&v[a]?Z(v,b):v.length>0?(v.push(b),v):b},s=(e,t)=>{if(!m||"object"!=typeof m)return null;let r=[];for(let n in m){let o=a(n,m,e,t),i="base"===e&&"string"==typeof o?o:o&&o[e];i&&(r[r.length]=i)}return r},u={};for(let t in e)void 0!==e[t]&&(u[t]=e[t]);let p=(t,r)=>{var n;let o="object"==typeof(null==e?void 0:e[t])?{[t]:null==(n=e[t])?void 0:n.initial}:{};return{...y,...u,...o,...r}},h=(e=[],t)=>{let r=[];for(let{class:n,className:o,...i}of e){let e=!0;for(let[r,n]of Object.entries(i)){let o=p(r,t);if(Array.isArray(n)){if(!n.includes(o[r])){e=!1;break}}else if(o[r]!==n){e=!1;break}}e&&(n&&r.push(n),o&&r.push(o))}return r},x=e=>{let t=h(d,e);return l(h(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=Q(r.base,e)(g)),"object"==typeof e)for(let[t,n]of Object.entries(e))r[t]=Q(r[t],n)(g);return r},T=e=>{if(f.length<1)return null;let t={};for(let{slots:r=[],class:n,className:o,...a}of f){if(!i(a)){let t=!0;for(let r of Object.keys(a)){let n=p(r,e)[r];if(void 0===n||(Array.isArray(a[r])?!a[r].includes(n):a[r]!==n)){t=!1;break}}if(!t)continue}for(let e of r)t[e]=t[e]||[],t[e].push([n,o])}return t};if(!i(n)||!b){let e={};if("object"==typeof w&&!i(w))for(let t of Object.keys(w))e[t]=e=>{var r,n;return Q(w[t],s(t,e),(null!=(r=E(e))?r:[])[t],(null!=(n=T(e))?n:[])[t],null==e?void 0:e.class,null==e?void 0:e.className)(g)};return e}return Q(v,m?Object.keys(m).map(e=>a(e,m)):null,x(),null==e?void 0:e.class,null==e?void 0:e.className)(g)};return x.variantKeys=(()=>{if(!(!m||"object"!=typeof m))return Object.keys(m)})(),x.extend=r,x.base=v,x.slots=w,x.variants=m,x.defaultVariants=y,x.compoundSlots=f,x.compoundVariants=d,x},et=(e,t)=>{var r,o,i;return ee(e,{...t,twMerge:null==(r=null==t?void 0:t.twMerge)||r,twMergeConfig:{...null==t?void 0:t.twMergeConfig,theme:{...null==(o=null==t?void 0:t.twMergeConfig)?void 0:o.theme,...n.w.theme},classGroups:{...null==(i=null==t?void 0:t.twMergeConfig)?void 0:i.classGroups,...n.w.classGroups}}})}},37562:(e,t,r)=>{r.d(t,{l:()=>u});var n=r(64231),o=r(47191),i=r(76508),a=r(96262),s=r(76341),l=r(73831);function u(e,t){let r,{elementType:u="button",isDisabled:c,onPress:d,onPressStart:f,onPressEnd:p,onPressChange:g,preventFocusOnPress:v,allowFocusWhenDisabled:m,onClick:y,href:b,target:h,rel:w,type:x="button",allowTextSelectionOnPress:E}=e;r="button"===u?{type:x,disabled:c}:{role:"button",tabIndex:c?void 0:0,href:"a"!==u||c?void 0:b,target:"a"===u?h:void 0,type:"input"===u?x:void 0,disabled:"input"===u?c:void 0,"aria-disabled":c&&"input"!==u?c:void 0,rel:"a"===u?w:void 0};let T=(0,o.un)()||(0,o.m0)();y&&"function"==typeof y&&(0,n.R)("onClick is deprecated, please use onPress instead. See: https://github.com/heroui-inc/heroui/issues/4292","useButton");let{pressProps:P,isPressed:k}=(0,l.d)({onPressStart:f,onPressEnd:p,onPressChange:g,onPress:e=>{T&&(null==y||y(e)),null==d||d(e)},isDisabled:c,preventFocusOnPress:v,allowTextSelectionOnPress:E,ref:t}),{focusableProps:C}=(0,s.W)(e,t);m&&(C.tabIndex=c?-1:C.tabIndex);let S=(0,i.v)(C,P,(0,a.$)(e,{labelable:!0}));return{isPressed:k,buttonProps:(0,i.v)(r,S,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:e=>{"button"===x&&T||null==y||y(e)}})}}},92726:(e,t,r)=>{r.d(t,{l:()=>s});var n=r(42697),o=r(73732),i=r(10545),a=r(83726);function s(e){let t=(0,n.T)(e);if("virtual"===(0,a.ME)()){let r=t.activeElement;(0,o.v)(()=>{t.activeElement===r&&e.isConnected&&(0,i.e)(e)})}else(0,i.e)(e)}},43247:(e,t,r)=>{r.d(t,{o:()=>s});var n=r(83726),o=r(55074),i=r(69523),a=r(78293);function s(e={}){let{autoFocus:t=!1,isTextInput:r,within:l}=e,u=(0,a.useRef)({isFocused:!1,isFocusVisible:t||(0,n.pP)()}),[c,d]=(0,a.useState)(!1),[f,p]=(0,a.useState)(()=>u.current.isFocused&&u.current.isFocusVisible),g=(0,a.useCallback)(()=>p(u.current.isFocused&&u.current.isFocusVisible),[]),v=(0,a.useCallback)(e=>{u.current.isFocused=e,d(e),g()},[g]);(0,n.K7)(e=>{u.current.isFocusVisible=e,g()},[],{isTextInput:r});let{focusProps:m}=(0,o.i)({isDisabled:l,onFocusChange:v}),{focusWithinProps:y}=(0,i.R)({isDisabled:!l,onFocusWithinChange:v});return{isFocused:c,isFocusVisible:f,focusProps:l?y:m}}},76341:(e,t,r)=>{r.d(t,{W:()=>c});var n=r(92726),o=r(96265),i=r(76508),a=r(78293),s=r(55074),l=r(21088);let u=a.createContext(null);function c(e,t){let{focusProps:r}=(0,s.i)(e),{keyboardProps:c}=(0,l.d)(e),d=(0,i.v)(r,c),f=function(e){let t=(0,a.useContext)(u)||{};(0,o.w)(t,e);let{ref:r,...n}=t;return n}(t),p=e.isDisabled?{}:f,g=(0,a.useRef)(e.autoFocus);return(0,a.useEffect)(()=>{g.current&&t.current&&(0,n.l)(t.current),g.current=!1},[t]),{focusableProps:(0,i.v)({...d,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},p)}}},36900:(e,t,r)=>{r.d(t,{F:()=>n});let n=r(78293).createContext({register:()=>{}});n.displayName="PressResponderContext"},50304:(e,t,r)=>{r.d(t,{E:()=>c,M:()=>u});var n=r(47191),o=r(42697),i=r(73732);let a="default",s="",l=new WeakMap;function u(e){if((0,n.un)()){if("default"===a){let t=(0,o.T)(e);s=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}a="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(l.set(e,e.style.userSelect),e.style.userSelect="none")}function c(e){if((0,n.un)())"disabled"===a&&(a="restoring",setTimeout(()=>{(0,i.v)(()=>{if("restoring"===a){let t=(0,o.T)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=s||""),s="",a="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&l.has(e)){let t=l.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),l.delete(e)}}},55074:(e,t,r)=>{r.d(t,{i:()=>a});var n=r(81878),o=r(78293),i=r(42697);function a(e){let{isDisabled:t,onFocus:r,onBlur:a,onFocusChange:s}=e,l=(0,o.useCallback)(e=>{if(e.target===e.currentTarget)return a&&a(e),s&&s(!1),!0},[a,s]),u=(0,n.y)(l),c=(0,o.useCallback)(e=>{let t=(0,i.T)(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(r&&r(e),s&&s(!0),u(e))},[s,r,u]);return{focusProps:{onFocus:!t&&(r||s||a)?c:void 0,onBlur:!t&&(a||s)?l:void 0}}}},83726:(e,t,r)=>{r.d(t,{Cl:()=>T,K7:()=>k,ME:()=>E,pP:()=>x});var n=r(47191),o=r(68729),i=r(42697),a=r(78293);let s=null,l=new Set,u=new Map,c=!1,d=!1,f={Tab:!0,Escape:!0};function p(e,t){for(let r of l)r(e,t)}function g(e){c=!0,e.metaKey||!(0,n.cX)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(s="keyboard",p("keyboard",e))}function v(e){s="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(c=!0,p("pointer",e))}function m(e){(0,o.Y)(e)&&(c=!0,s="virtual")}function y(e){e.target!==window&&e.target!==document&&(c||d||(s="virtual",p("virtual",e)),c=!1,d=!1)}function b(){c=!1,d=!0}function h(e){if("undefined"==typeof window||u.get((0,i.m)(e)))return;let t=(0,i.m)(e),r=(0,i.T)(e),n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){c=!0,n.apply(this,arguments)},r.addEventListener("keydown",g,!0),r.addEventListener("keyup",g,!0),r.addEventListener("click",m,!0),t.addEventListener("focus",y,!0),t.addEventListener("blur",b,!1),"undefined"!=typeof PointerEvent?(r.addEventListener("pointerdown",v,!0),r.addEventListener("pointermove",v,!0),r.addEventListener("pointerup",v,!0)):(r.addEventListener("mousedown",v,!0),r.addEventListener("mousemove",v,!0),r.addEventListener("mouseup",v,!0)),t.addEventListener("beforeunload",()=>{w(e)},{once:!0}),u.set(t,{focus:n})}let w=(e,t)=>{let r=(0,i.m)(e),n=(0,i.T)(e);t&&n.removeEventListener("DOMContentLoaded",t),u.has(r)&&(r.HTMLElement.prototype.focus=u.get(r).focus,n.removeEventListener("keydown",g,!0),n.removeEventListener("keyup",g,!0),n.removeEventListener("click",m,!0),r.removeEventListener("focus",y,!0),r.removeEventListener("blur",b,!1),"undefined"!=typeof PointerEvent?(n.removeEventListener("pointerdown",v,!0),n.removeEventListener("pointermove",v,!0),n.removeEventListener("pointerup",v,!0)):(n.removeEventListener("mousedown",v,!0),n.removeEventListener("mousemove",v,!0),n.removeEventListener("mouseup",v,!0)),u.delete(r))};function x(){return"pointer"!==s}function E(){return s}function T(e){s=e,p(e,null)}"undefined"!=typeof document&&function(e){let t;let r=(0,i.T)(void 0);"loading"!==r.readyState?h(void 0):(t=()=>{h(void 0)},r.addEventListener("DOMContentLoaded",t)),()=>w(e,t)}();let P=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function k(e,t,r){h(),(0,a.useEffect)(()=>{let t=(t,n)=>{(function(e,t,r){var n;let o="undefined"!=typeof window?(0,i.m)(null==r?void 0:r.target).HTMLInputElement:HTMLInputElement,a="undefined"!=typeof window?(0,i.m)(null==r?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,s="undefined"!=typeof window?(0,i.m)(null==r?void 0:r.target).HTMLElement:HTMLElement,l="undefined"!=typeof window?(0,i.m)(null==r?void 0:r.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==r?void 0:r.target)instanceof o&&!P.has(null==r?void 0:null===(n=r.target)||void 0===n?void 0:n.type)||(null==r?void 0:r.target)instanceof a||(null==r?void 0:r.target)instanceof s&&(null==r?void 0:r.target.isContentEditable))&&"keyboard"===t&&r instanceof l&&!f[r.key])})(!!(null==r?void 0:r.isTextInput),t,n)&&e(x())};return l.add(t),()=>{l.delete(t)}},t)}},69523:(e,t,r)=>{r.d(t,{R:()=>i});var n=r(81878),o=r(78293);function i(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:i,onFocusWithinChange:a}=e,s=(0,o.useRef)({isFocusWithin:!1}),l=(0,o.useCallback)(e=>{s.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(s.current.isFocusWithin=!1,r&&r(e),a&&a(!1))},[r,a,s]),u=(0,n.y)(l),c=(0,o.useCallback)(e=>{s.current.isFocusWithin||document.activeElement!==e.target||(i&&i(e),a&&a(!0),s.current.isFocusWithin=!0,u(e))},[i,a,u]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:l}}}},62676:(e,t,r)=>{r.d(t,{M:()=>u});var n=r(78293);let o=!1,i=0;function a(){o=!0,setTimeout(()=>{o=!1},50)}function s(e){"touch"===e.pointerType&&a()}function l(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",s):document.addEventListener("touchend",a),i++,()=>{--i>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",s):document.removeEventListener("touchend",a))}}function u(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:i,isDisabled:a}=e,[s,u]=(0,n.useState)(!1),c=(0,n.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,n.useEffect)(l,[]);let{hoverProps:d,triggerHoverEnd:f}=(0,n.useMemo)(()=>{let e=(e,n)=>{if(c.pointerType=n,a||"touch"===n||c.isHovered||!e.currentTarget.contains(e.target))return;c.isHovered=!0;let o=e.currentTarget;c.target=o,t&&t({type:"hoverstart",target:o,pointerType:n}),r&&r(!0),u(!0)},n=(e,t)=>{if(c.pointerType="",c.target=null,"touch"===t||!c.isHovered)return;c.isHovered=!1;let n=e.currentTarget;i&&i({type:"hoverend",target:n,pointerType:t}),r&&r(!1),u(!1)},s={};return"undefined"!=typeof PointerEvent?(s.onPointerEnter=t=>{o&&"mouse"===t.pointerType||e(t,t.pointerType)},s.onPointerLeave=e=>{!a&&e.currentTarget.contains(e.target)&&n(e,e.pointerType)}):(s.onTouchStart=()=>{c.ignoreEmulatedMouseEvents=!0},s.onMouseEnter=t=>{c.ignoreEmulatedMouseEvents||o||e(t,"mouse"),c.ignoreEmulatedMouseEvents=!1},s.onMouseLeave=e=>{!a&&e.currentTarget.contains(e.target)&&n(e,"mouse")}),{hoverProps:s,triggerHoverEnd:n}},[t,r,i,a,c]);return(0,n.useEffect)(()=>{a&&f({currentTarget:c.target},c.pointerType)},[a]),{hoverProps:d,isHovered:s}}},21088:(e,t,r)=>{function n(e){if(!e)return;let t=!0;return r=>{e({...r,preventDefault(){r.preventDefault()},isDefaultPrevented:()=>r.isDefaultPrevented(),stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}}),t&&r.stopPropagation()}}function o(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:n(e.onKeyDown),onKeyUp:n(e.onKeyUp)}}}r.d(t,{d:()=>o})},73831:(e,t,r)=>{r.d(t,{d:()=>E});var n=r(50304),o=r(36900),i=r(41743),a=r(95402),s=r(80585),l=r(76508),u=r(96265),c=r(33625),d=r(54636),f=r(42697),p=r(22155),g=r(47191),v=r(7242),m=r(68729),y=r(10545),b=r(78293),h=new WeakMap;class w{continuePropagation(){(0,s._)(this,h,!1)}get shouldStopPropagation(){return(0,i._)(this,h)}constructor(e,t,r,n){var o;(0,a._)(this,h,{writable:!0,value:void 0}),(0,s._)(this,h,!0);let i=null!==(o=null==n?void 0:n.target)&&void 0!==o?o:r.currentTarget,l=null==i?void 0:i.getBoundingClientRect(),u,c=0,d,f=null;null!=r.clientX&&null!=r.clientY&&(d=r.clientX,f=r.clientY),l&&(null!=d&&null!=f?(u=d-l.left,c=f-l.top):(u=l.width/2,c=l.height/2)),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,this.x=u,this.y=c}}let x=Symbol("linkClicked");function E(e){let{onPress:t,onPressChange:r,onPressStart:i,onPressEnd:a,onPressUp:s,isDisabled:h,isPressed:E,preventFocusOnPress:O,shouldCancelOnPointerExit:I,allowTextSelectionOnPress:_,ref:R,...$}=function(e){let t=(0,b.useContext)(o.F);if(t){let{register:r,...n}=t;e=(0,l.v)(n,e),r()}return(0,u.w)(t,e.ref),e}(e),[D,F]=(0,b.useState)(!1),K=(0,b.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:z,removeAllGlobalListeners:N}=(0,c.A)(),W=(0,d.J)((e,t)=>{let n=K.current;if(h||n.didFirePressStart)return!1;let o=!0;if(n.isTriggeringEvent=!0,i){let r=new w("pressstart",t,e);i(r),o=r.shouldStopPropagation}return r&&r(!0),n.isTriggeringEvent=!1,n.didFirePressStart=!0,F(!0),o}),H=(0,d.J)((e,n,o=!0)=>{let i=K.current;if(!i.didFirePressStart)return!1;i.ignoreClickAfterPress=!0,i.didFirePressStart=!1,i.isTriggeringEvent=!0;let s=!0;if(a){let t=new w("pressend",n,e);a(t),s=t.shouldStopPropagation}if(r&&r(!1),F(!1),t&&o&&!h){let r=new w("press",n,e);t(r),s&&(s=r.shouldStopPropagation)}return i.isTriggeringEvent=!1,s}),V=(0,d.J)((e,t)=>{let r=K.current;if(h)return!1;if(s){r.isTriggeringEvent=!0;let n=new w("pressup",t,e);return s(n),r.isTriggeringEvent=!1,n.shouldStopPropagation}return!0}),B=(0,d.J)(e=>{let t=K.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&H(S(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,N(),_||(0,n.E)(t.target))}),U=(0,d.J)(e=>{I&&B(e)}),Y=(0,b.useMemo)(()=>{let e=K.current,t={onKeyDown(t){if(P(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var n;A(t.target,t.key)&&t.preventDefault();let o=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,o=W(t,"keyboard");let n=t.currentTarget;z((0,f.T)(t.currentTarget),"keyup",(0,p.c)(t=>{P(t,n)&&!t.repeat&&n.contains(t.target)&&e.target&&V(S(e.target,t),"keyboard")},r),!0)}o&&t.stopPropagation(),t.metaKey&&(0,g.cX)()&&(null===(n=e.metaKeyEvents)||void 0===n||n.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!v.Fe.isOpening){let r=!0;if(h&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,m.Y)(t.nativeEvent))){h||O||(0,y.e)(t.currentTarget);let e=W(t,"virtual"),n=V(t,"virtual"),o=H(t,"virtual");r=e&&n&&o}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,r&&t.stopPropagation()}}},r=t=>{var r,n,o;if(e.isPressed&&e.target&&P(t,e.target)){A(t.target,t.key)&&t.preventDefault();let r=t.target;H(S(e.target,t),"keyboard",e.target.contains(r)),N(),"Enter"!==t.key&&T(e.target)&&e.target.contains(r)&&!t[x]&&(t[x]=!0,(0,v.Fe)(e.target,t,!1)),e.isPressed=!1,null===(n=e.metaKeyEvents)||void 0===n||n.delete(t.key)}else if("Meta"===t.key&&(null===(r=e.metaKeyEvents)||void 0===r?void 0:r.size)){let t=e.metaKeyEvents;for(let r of(e.metaKeyEvents=void 0,t.values()))null===(o=e.target)||void 0===o||o.dispatchEvent(new KeyboardEvent("keyup",r))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{if(0!==t.button||!t.currentTarget.contains(t.target))return;if((0,m.P)(t.nativeEvent)){e.pointerType="virtual";return}j(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let i=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,h||O||(0,y.e)(t.currentTarget),_||(0,n.M)(e.target),i=W(t,e.pointerType),z((0,f.T)(t.currentTarget),"pointermove",r,!1),z((0,f.T)(t.currentTarget),"pointerup",o,!1),z((0,f.T)(t.currentTarget),"pointercancel",a,!1)),i&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(j(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&M(t,t.currentTarget)&&V(t,e.pointerType||t.pointerType)};let r=t=>{t.pointerId===e.activePointerId&&(e.target&&M(t,e.target)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,W(S(e.target,t),e.pointerType)):e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,H(S(e.target,t),e.pointerType,!1),U(t)))},o=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(M(t,e.target)&&null!=e.pointerType?H(S(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&H(S(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,N(),_||(0,n.E)(e.target),"ontouchend"in e.target&&"mouse"!==t.pointerType&&z(e.target,"touchend",i,{once:!0}))},i=e=>{L(e.currentTarget)&&e.preventDefault()},a=e=>{B(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&B(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(j(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=(0,m.Y)(t.nativeEvent)?"virtual":"mouse",h||O||(0,y.e)(t.currentTarget),W(t,e.pointerType)&&t.stopPropagation(),z((0,f.T)(t.currentTarget),"mouseup",r,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,r=W(t,e.pointerType)),r&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,r=H(t,e.pointerType,!1),U(t)),r&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&V(t,e.pointerType||"mouse")};let r=t=>{if(0===t.button){if(e.isPressed=!1,N(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&M(t,e.target)&&null!=e.pointerType?H(S(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&H(S(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",h||O||(0,y.e)(t.currentTarget),_||(0,n.M)(e.target),W(C(e.target,t),e.pointerType)&&t.stopPropagation(),z((0,f.m)(t.currentTarget),"scroll",o,!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||null==e.pointerType||(e.isOverTarget=!0,n=W(C(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,n=H(C(e.target,t),e.pointerType,!1),U(C(e.target,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),o=!0;r&&M(r,t.currentTarget)&&null!=e.pointerType?(V(C(e.target,t),e.pointerType),o=H(C(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(o=H(C(e.target,t),e.pointerType,!1)),o&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!_&&(0,n.E)(e.target),N()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&B(C(e.target,t)))};let o=t=>{e.isPressed&&t.target.contains(e.target)&&B({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&B(e)}}return t},[z,h,O,N,_,B,U,H,W,V]);return(0,b.useEffect)(()=>()=>{var e;_||(0,n.E)(null!==(e=K.current.target)&&void 0!==e?e:void 0)},[_]),{isPressed:E||D,pressProps:(0,l.v)($,Y)}}function T(e){return"A"===e.tagName&&e.hasAttribute("href")}function P(e,t){let{key:r,code:n}=e,o=t.getAttribute("role");return("Enter"===r||" "===r||"Spacebar"===r||"Space"===n)&&!(t instanceof(0,f.m)(t).HTMLInputElement&&!I(t,r)||t instanceof(0,f.m)(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===o||!o&&T(t))&&"Enter"!==r)}function k(e,t){let r=e.changedTouches;for(let e=0;ei.right)&&!(i.left>o.right)&&!(o.top>i.bottom)&&!(i.top>o.bottom)}function j(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function L(e){return!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!T(e))}function A(e,t){return e instanceof HTMLInputElement?!I(e,t):L(e)}let O=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function I(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:O.has(e.type)}},81878:(e,t,r)=>{r.d(t,{y:()=>s});var n=r(78293),o=r(77732),i=r(54636);class a{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function s(e){let t=(0,n.useRef)({isFocused:!1,observer:null});(0,o.N)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let r=(0,i.J)(t=>{null==e||e(t)});return(0,n.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=e.target;n.addEventListener("focusout",e=>{t.current.isFocused=!1,n.disabled&&r(new a("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let r=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:r})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:r}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[r])}},20065:(e,t,r)=>{r.d(t,{Cc:()=>u,wR:()=>p});var n=r(78293);let o={prefix:String(Math.round(1e10*Math.random())),current:0},i=n.createContext(o),a=n.createContext(!1),s=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l=new WeakMap,u="function"==typeof n.useId?function(e){let t=n.useId(),[r]=(0,n.useState)(p()),i=r?"react-aria":`react-aria${o.prefix}`;return e||`${i}-${t}`}:function(e){let t=(0,n.useContext)(i);t!==o||s||console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server.");let r=function(e=!1){let t=(0,n.useContext)(i),r=(0,n.useRef)(null);if(null===r.current&&!e){var o,a;let e=null===(a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===a?void 0:null===(o=a.ReactCurrentOwner)||void 0===o?void 0:o.current;if(e){let r=l.get(e);null==r?l.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==r.state&&(t.current=r.id,l.delete(e))}r.current=++t.current}return r.current}(!!e),a=`react-aria${t.prefix}`;return e||`${a}-${r}`};function c(){return!1}function d(){return!0}function f(e){return()=>{}}function p(){return"function"==typeof n.useSyncExternalStore?n.useSyncExternalStore(f,c,d):(0,n.useContext)(a)}},22155:(e,t,r)=>{r.d(t,{c:()=>n});function n(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}},42697:(e,t,r)=>{r.d(t,{T:()=>n,m:()=>o});let n=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},o=e=>e&&"window"in e&&e.window===e?e:n(e).defaultView||window},96262:(e,t,r)=>{r.d(t,{$:()=>s});let n=new Set(["id"]),o=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),i=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),a=/^(data-.*)$/;function s(e,t={}){let{labelable:r,isLink:l,propNames:u}=t,c={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n.has(t)||r&&o.has(t)||l&&i.has(t)||(null==u?void 0:u.has(t))||a.test(t))&&(c[t]=e[t]);return c}},10545:(e,t,r)=>{function n(e){if(function(){if(null==o){o=!1;try{document.createElement("div").focus({get preventScroll(){return o=!0,!0}})}catch{}}return o}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeightn});let o=null},68729:(e,t,r)=>{r.d(t,{P:()=>i,Y:()=>o});var n=r(47191);function o(e){return 0===e.mozInputSource&&!!e.isTrusted||((0,n.m0)()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function i(e){return!(0,n.m0)()&&0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType}},76508:(e,t,r)=>{r.d(t,{v:()=>a});var n=r(22155),o=r(43579),i=r(61957);function a(...e){let t={...e[0]};for(let r=1;r=65&&90>=e.charCodeAt(2)?t[e]=(0,n.c)(r,s):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof s?t[e]=(0,i.A)(r,s):"id"===e&&r&&s?t.id=(0,o.Tw)(r,s):t[e]=void 0!==s?s:r}}return t}},7242:(e,t,r)=>{r.d(t,{Fe:()=>c,HI:()=>f,_h:()=>p,pg:()=>s,rd:()=>l,sU:()=>u});var n=r(10545),o=r(47191),i=r(78293);let a=(0,i.createContext)({isNative:!0,open:function(e,t){d(e,e=>c(e,t))},useHref:e=>e});function s(e){let{children:t,navigate:r,useHref:n}=e,o=(0,i.useMemo)(()=>({isNative:!1,open:(e,t,n,o)=>{d(e,e=>{u(e,t)?r(n,o):c(e,t)})},useHref:n||(e=>e)}),[r,n]);return i.createElement(a.Provider,{value:o},t)}function l(){return(0,i.useContext)(a)}function u(e,t){let r=e.getAttribute("target");return(!r||"_self"===r)&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function c(e,t,r=!0){var i,a;let{metaKey:s,ctrlKey:l,altKey:u,shiftKey:d}=t;(0,o.gm)()&&(null===(a=window.event)||void 0===a?void 0:null===(i=a.type)||void 0===i?void 0:i.startsWith("key"))&&"_blank"===e.target&&((0,o.cX)()?s=!0:l=!0);let f=(0,o.Tc)()&&(0,o.cX)()&&!(0,o.bh)()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:s,ctrlKey:l,altKey:u,shiftKey:d}):new MouseEvent("click",{metaKey:s,ctrlKey:l,altKey:u,shiftKey:d,bubbles:!0,cancelable:!0});c.isOpening=r,(0,n.e)(e),e.dispatchEvent(f),c.isOpening=!1}function d(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}function f(e){var t;let r=l().useHref(null!==(t=e.href)&&void 0!==t?t:"");return{"data-href":e.href?r:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function p(e){var t;let r=l().useHref(null!==(t=null==e?void 0:e.href)&&void 0!==t?t:"");return{href:(null==e?void 0:e.href)?r:void 0,target:null==e?void 0:e.target,rel:null==e?void 0:e.rel,download:null==e?void 0:e.download,ping:null==e?void 0:e.ping,referrerPolicy:null==e?void 0:e.referrerPolicy}}c.isOpening=!1},47191:(e,t,r)=>{function n(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function o(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function i(e){let t=null;return()=>(null==t&&(t=e()),t)}r.d(t,{Tc:()=>d,bh:()=>l,cX:()=>a,gm:()=>g,lg:()=>c,m0:()=>p,un:()=>u});let a=i(function(){return o(/^Mac/i)}),s=i(function(){return o(/^iPhone/i)}),l=i(function(){return o(/^iPad/i)||a()&&navigator.maxTouchPoints>1}),u=i(function(){return s()||l()}),c=i(function(){return a()||u()}),d=i(function(){return n(/AppleWebKit/i)&&!f()}),f=i(function(){return n(/Chrome/i)}),p=i(function(){return n(/Android/i)}),g=i(function(){return n(/Firefox/i)})},73732:(e,t,r)=>{r.d(t,{v:()=>a});let n=new Map,o=new Set;function i(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=r=>{if(!e(r)||!r.target)return;let i=n.get(r.target);if(i&&(i.delete(r.propertyName),0===i.size&&(r.target.removeEventListener("transitioncancel",t),n.delete(r.target)),0===n.size)){for(let e of o)e();o.clear()}};document.body.addEventListener("transitionrun",r=>{if(!e(r)||!r.target)return;let o=n.get(r.target);o||(o=new Set,n.set(r.target,o),r.target.addEventListener("transitioncancel",t,{once:!0})),o.add(r.propertyName)}),document.body.addEventListener("transitionend",t)}function a(e){requestAnimationFrame(()=>{0===n.size?e():o.add(e)})}"undefined"!=typeof document&&("loading"!==document.readyState?i():document.addEventListener("DOMContentLoaded",i))},54636:(e,t,r)=>{r.d(t,{J:()=>i});var n=r(77732),o=r(78293);function i(e){let t=(0,o.useRef)(null);return(0,n.N)(()=>{t.current=e},[e]),(0,o.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}},33625:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(78293);function o(){let e=(0,n.useRef)(new Map),t=(0,n.useCallback)((t,r,n,o)=>{let i=(null==o?void 0:o.once)?(...t)=>{e.current.delete(n),n(...t)}:n;e.current.set(n,{type:r,eventTarget:t,fn:i,options:o}),t.addEventListener(r,n,o)},[]),r=(0,n.useCallback)((t,r,n,o)=>{var i;let a=(null===(i=e.current.get(n))||void 0===i?void 0:i.fn)||n;t.removeEventListener(r,a,o),e.current.delete(n)},[]),o=(0,n.useCallback)(()=>{e.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]);return(0,n.useEffect)(()=>o,[o]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:o}}},43579:(e,t,r)=>{r.d(t,{Tw:()=>c,Bi:()=>u,X1:()=>d});var n=r(77732),o=r(54636),i=r(78293),a=r(20065);let s=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l=new Map;function u(e){let[t,r]=(0,i.useState)(e),o=(0,i.useRef)(null),u=(0,a.Cc)(t),c=(0,i.useCallback)(e=>{o.current=e},[]);return s&&(l.has(u)&&!l.get(u).includes(c)?l.set(u,[...l.get(u),c]):l.set(u,[c])),(0,n.N)(()=>()=>{l.delete(u)},[u]),(0,i.useEffect)(()=>{let e=o.current;e&&(o.current=null,r(e))}),u}function c(e,t){if(e===t)return e;let r=l.get(e);if(r)return r.forEach(e=>e(t)),t;let n=l.get(t);return n?(n.forEach(t=>t(e)),e):t}function d(e=[]){let t=u(),[r,a]=function(e){let[t,r]=(0,i.useState)(e),a=(0,i.useRef)(null),s=(0,o.J)(()=>{if(!a.current)return;let e=a.current.next();if(e.done){a.current=null;return}t===e.value?s():r(e.value)});(0,n.N)(()=>{a.current&&s()});let l=(0,o.J)(e=>{a.current=e(t),s()});return[t,l]}(t),s=(0,i.useCallback)(()=>{a(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,a]);return(0,n.N)(s,[t,s,...e]),r}},77732:(e,t,r)=>{r.d(t,{N:()=>o});var n=r(78293);let o="undefined"!=typeof document?n.useLayoutEffect:()=>{}},96265:(e,t,r)=>{r.d(t,{w:()=>o});var n=r(77732);function o(e,t){(0,n.N)(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}},21131:(e,t,r)=>{r.d(t,{_:()=>n});function n(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}},41743:(e,t,r)=>{r.d(t,{_:()=>o});var n=r(21131);function o(e,t){var r=(0,n._)(e,t,"get");return r.get?r.get.call(e):r.value}},95402:(e,t,r)=>{r.d(t,{_:()=>n});function n(e,t,r){!function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,r)}},80585:(e,t,r)=>{r.d(t,{_:()=>o});var n=r(21131);function o(e,t,r){var o=(0,n._)(e,t,"set");return!function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=r}}(e,o,r),r}},61957:(e,t,r)=>{r.d(t,{A:()=>n});let n=function(){for(var e,t,r=0,n="",o=arguments.length;r{r.d(t,{n:()=>n});let n="data-"+(0,r(1296).I)("framerAppearId")},64658:(e,t,r)=>{r.d(t,{N:()=>n});function n(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}},60448:(e,t,r)=>{r.d(t,{p:()=>n});let n=e=>Array.isArray(e)},1254:(e,t,r)=>{r.d(t,{N:()=>y});var n=r(55057),o=r(78293),i=r(91635),a=r(42999),s=r(68655),l=r(12782);class u extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function c(e){let{children:t,isPresent:r}=e,i=(0,o.useId)(),a=(0,o.useRef)(null),s=(0,o.useRef)({width:0,height:0,top:0,left:0}),{nonce:c}=(0,o.useContext)(l.Q);return(0,o.useInsertionEffect)(()=>{let{width:e,height:t,top:n,left:o}=s.current;if(r||!a.current||!e||!t)return;a.current.dataset.motionPopId=i;let l=document.createElement("style");return c&&(l.nonce=c),document.head.appendChild(l),l.sheet&&l.sheet.insertRule('\n [data-motion-pop-id="'.concat(i,'"] {\n position: absolute !important;\n width: ').concat(e,"px !important;\n height: ").concat(t,"px !important;\n top: ").concat(n,"px !important;\n left: ").concat(o,"px !important;\n }\n ")),()=>{document.head.removeChild(l)}},[r]),(0,n.jsx)(u,{isPresent:r,childRef:a,sizeRef:s,children:o.cloneElement(t,{ref:a})})}let d=e=>{let{children:t,initial:r,isPresent:i,onExitComplete:l,custom:u,presenceAffectsLayout:d,mode:p}=e,g=(0,a.M)(f),v=(0,o.useId)(),m=(0,o.useCallback)(e=>{for(let t of(g.set(e,!0),g.values()))if(!t)return;l&&l()},[g,l]),y=(0,o.useMemo)(()=>({id:v,initial:r,isPresent:i,custom:u,onExitComplete:m,register:e=>(g.set(e,!1),()=>g.delete(e))}),d?[Math.random(),m]:[i,m]);return(0,o.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[i]),o.useEffect(()=>{i||g.size||!l||l()},[i]),"popLayout"===p&&(t=(0,n.jsx)(c,{isPresent:i,children:t})),(0,n.jsx)(s.t.Provider,{value:y,children:t})};function f(){return new Map}var p=r(15512);let g=e=>e.key||"";function v(e){let t=[];return o.Children.forEach(e,e=>{(0,o.isValidElement)(e)&&t.push(e)}),t}var m=r(41672);let y=e=>{let{children:t,custom:r,initial:s=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:c="sync",propagate:f=!1}=e,[y,b]=(0,p.xQ)(f),h=(0,o.useMemo)(()=>v(t),[t]),w=f&&!y?[]:h.map(g),x=(0,o.useRef)(!0),E=(0,o.useRef)(h),T=(0,a.M)(()=>new Map),[P,k]=(0,o.useState)(h),[C,S]=(0,o.useState)(h);(0,m.E)(()=>{x.current=!1,E.current=h;for(let e=0;e{let t=g(e),o=(!f||!!y)&&(h===C||w.includes(t));return(0,n.jsx)(d,{isPresent:o,initial:(!x.current||!!s)&&void 0,custom:o?void 0:r,presenceAffectsLayout:u,mode:c,onExitComplete:o?void 0:()=>{if(!T.has(t))return;T.set(t,!0);let e=!0;T.forEach(t=>{t||(e=!1)}),e&&(null==j||j(),S(E.current),f&&(null==b||b()),l&&l())},children:e},t)})})}},15512:(e,t,r)=>{r.d(t,{xQ:()=>i});var n=r(78293),o=r(68655);function i(e=!0){let t=(0,n.useContext)(o.t);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:a,register:s}=t,l=(0,n.useId)();(0,n.useEffect)(()=>{e&&s(l)},[e]);let u=(0,n.useCallback)(()=>e&&a&&a(l),[l,a,e]);return!r&&a?[!1,u]:[!0]}},2245:(e,t,r)=>{r.d(t,{F:()=>s});var n=r(55057),o=r(78293),i=r(35708),a=r(43526);function s(e){let{children:t,features:r,strict:s=!1}=e,[,u]=(0,o.useState)(!l(r)),c=(0,o.useRef)(void 0);if(!l(r)){let{renderer:e,...t}=r;c.current=e,(0,a.Y)(t)}return(0,o.useEffect)(()=>{l(r)&&r().then(e=>{let{renderer:t,...r}=e;(0,a.Y)(r),c.current=t,u(!0)})},[]),(0,n.jsx)(i.Y.Provider,{value:{renderer:c.current,strict:s},children:t})}function l(e){return"function"==typeof e}},91635:(e,t,r)=>{r.d(t,{L:()=>n});let n=(0,r(78293).createContext)({})},35708:(e,t,r)=>{r.d(t,{Y:()=>n});let n=(0,r(78293).createContext)({strict:!1})},12782:(e,t,r)=>{r.d(t,{Q:()=>n});let n=(0,r(78293).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},68655:(e,t,r)=>{r.d(t,{t:()=>n});let n=(0,r(78293).createContext)(null)},41879:(e,t,r)=>{r.d(t,{N:()=>n});let n=(0,r(78293).createContext)({})},4220:(e,t,r)=>{r.d(t,{I:()=>i});var n=r(84014);let o=["read","resolveKeyframes","update","preRender","render","postRender"];function i(e,t){let r=!1,i=!0,a={delta:0,timestamp:0,isProcessing:!1},s=()=>r=!0,l=o.reduce((e,t)=>(e[t]=function(e){let t=new Set,r=new Set,n=!1,o=!1,i=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function s(t){i.has(t)&&(l.schedule(t),e()),t(a)}let l={schedule:(e,o=!1,a=!1)=>{let s=a&&n?t:r;return o&&i.add(e),s.has(e)||s.add(e),e},cancel:e=>{r.delete(e),i.delete(e)},process:e=>{if(a=e,n){o=!0;return}n=!0,[t,r]=[r,t],t.forEach(s),t.clear(),n=!1,o&&(o=!1,l.process(e))}};return l}(s),e),{}),{read:u,resolveKeyframes:c,update:d,preRender:f,render:p,postRender:g}=l,v=()=>{let o=n.W.useManualTiming?a.timestamp:performance.now();r=!1,a.delta=i?1e3/60:Math.max(Math.min(o-a.timestamp,40),1),a.timestamp=o,a.isProcessing=!0,u.process(a),c.process(a),d.process(a),f.process(a),p.process(a),g.process(a),a.isProcessing=!1,r&&t&&(i=!1,e(v))},m=()=>{r=!0,i=!0,a.isProcessing||e(v)};return{schedule:o.reduce((e,t)=>{let n=l[t];return e[t]=(e,t=!1,o=!1)=>(r||m(),n.schedule(e,t,o)),e},{}),cancel:e=>{for(let t=0;t{r.d(t,{Gt:()=>o,PP:()=>s,WG:()=>i,uv:()=>a});var n=r(69972);let{schedule:o,cancel:i,state:a,steps:s}=(0,r(4220).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},35128:(e,t,r)=>{r.d(t,{k:()=>n});let{schedule:n,cancel:o}=(0,r(4220).I)(queueMicrotask,!1)},5220:(e,t,r)=>{r.d(t,{B:()=>o});let n={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"]},o={};for(let e in n)o[e]={isEnabled:t=>n[e].some(e=>!!t[e])}},43526:(e,t,r)=>{r.d(t,{Y:()=>o});var n=r(5220);function o(e){for(let t in e)n.B[t]={...n.B[t],...e[t]}}},57513:(e,t,r)=>{r.d(t,{z:()=>i});var n=r(35227),o=r(29585);function i(e,{layout:t,layoutId:r}){return o.f.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!n.H[e]||"opacity"===e)}},35227:(e,t,r)=>{r.d(t,{$:()=>o,H:()=>n});let n={};function o(e){Object.assign(n,e)}},72576:(e,t,r)=>{r.d(t,{m:()=>V});var n=r(55057),o=r(78293),i=r(91635),a=r(35708),s=r(12782);let l=(0,o.createContext)({});var u=r(55091),c=r(887);function d(e){return Array.isArray(e)?e.join(" "):e}var f=r(29858),p=r(5220),g=r(43526);let v=Symbol.for("motionComponentSymbol");var m=r(77145),y=r(68655),b=r(41672),h=r(79182),w=r(35128),x=r(41879),E=r(72538),T=r(9604),P=r(64658),k=r(33765),C=r(42999),S=r(69904);let M=e=>(t,r)=>{let n=(0,o.useContext)(l),i=(0,o.useContext)(y.t),a=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:r},n,o,i){let a={latestValues:function(e,t,r,n){let o={},i=n(e,{});for(let e in i)o[e]=(0,S.u)(i[e]);let{initial:a,animate:s}=e,l=(0,c.e)(e),u=(0,c.O)(e);t&&u&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let d=!!r&&!1===r.initial,f=(d=d||!1===a)?s:a;if(f&&"boolean"!=typeof f&&!(0,P.N)(f)){let t=Array.isArray(f)?f:[f];for(let r=0;rr({props:n,current:e,...a}),a.onUpdate=e=>r(e)),a})(e,t,n,i);return r?a():(0,C.M)(a)};var j=r(29585),L=r(27420);let A=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),O=()=>({...A(),attrs:{}});var I=r(91201),_=r(57967),R=r(18389);let $=["x","y","width","height","cx","cy","r"],D={useVisualState:M({scrapeMotionValuesFromProps:R.x,createRenderState:O,onUpdate:({props:e,prevProps:t,current:r,renderState:n,latestValues:o})=>{if(!r)return;let i=!!e.drag;if(!i){for(let e in o)if(j.f.has(e)){i=!0;break}}if(!i)return;let a=!t;if(t)for(let r=0;r<$.length;r++){let n=$[r];e[n]!==t[n]&&(a=!0)}a&&T.Gt.read(()=>{!function(e,t){try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(e){t.dimensions={x:0,y:0,width:0,height:0}}}(r,n),T.Gt.render(()=>{(0,L.B)(n,o,(0,I.n)(r.tagName),e.transformTemplate),(0,_.d)(r,n)})})}})},F={useVisualState:M({scrapeMotionValuesFromProps:r(25524).x,createRenderState:A})};var K=r(57513),z=r(26292),N=r(81053);function W(e,t,r){for(let n in t)(0,z.S)(t[n])||(0,K.z)(n,r)||(e[n]=t[n])}var H=r(46714);let V=function(e){if("undefined"==typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(r,n)=>"create"===n?e:(t.has(n)||t.set(n,e(n)),t.get(n))})}(function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){return function(e){var t,r;let{preloadedFeatures:E,createVisualElement:T,useRender:P,useVisualState:k,Component:C}=e;function S(e,t){var r;let g;let v={...(0,o.useContext)(s.Q),...e,layoutId:function(e){let{layoutId:t}=e,r=(0,o.useContext)(i.L).id;return r&&void 0!==t?r+"-"+t:t}(e)},{isStatic:E}=v,S=function(e){let{initial:t,animate:r}=function(e,t){if((0,c.e)(e)){let{initial:t,animate:r}=e;return{initial:!1===t||(0,u.w)(t)?t:void 0,animate:(0,u.w)(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,o.useContext)(l));return(0,o.useMemo)(()=>({initial:t,animate:r}),[d(t),d(r)])}(e),M=k(e,E);if(!E&&f.B){(0,o.useContext)(a.Y).strict;let e=function(e){let{drag:t,layout:r}=p.B;if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==r?void 0:r.isEnabled(e))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(v);g=e.MeasureLayout,S.visualElement=function(e,t,r,n,i){var u,c;let{visualElement:d}=(0,o.useContext)(l),f=(0,o.useContext)(a.Y),p=(0,o.useContext)(y.t),g=(0,o.useContext)(s.Q).reducedMotion,v=(0,o.useRef)(null);n=n||f.renderer,!v.current&&n&&(v.current=n(e,{visualState:t,parent:d,props:r,presenceContext:p,blockInitialAnimation:!!p&&!1===p.initial,reducedMotionConfig:g}));let E=v.current,T=(0,o.useContext)(x.N);E&&!E.projection&&i&&("html"===E.type||"svg"===E.type)&&function(e,t,r,n){let{layoutId:o,layout:i,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:u}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!a||s&&(0,m.X)(s),visualElement:e,animationType:"string"==typeof i?i:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:u})}(v.current,r,i,T);let P=(0,o.useRef)(!1);(0,o.useInsertionEffect)(()=>{E&&P.current&&E.update(r,p)});let k=r[h.n],C=(0,o.useRef)(!!k&&!(null===(u=window.MotionHandoffIsComplete)||void 0===u?void 0:u.call(window,k))&&(null===(c=window.MotionHasOptimisedAnimation)||void 0===c?void 0:c.call(window,k)));return(0,b.E)(()=>{E&&(P.current=!0,window.MotionIsMounted=!0,E.updateFeatures(),w.k.render(E.render),C.current&&E.animationState&&E.animationState.animateChanges())}),(0,o.useEffect)(()=>{E&&(!C.current&&E.animationState&&E.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,k)}),C.current=!1))}),E}(C,M,v,T,e.ProjectionNode)}return(0,n.jsxs)(l.Provider,{value:S,children:[g&&S.visualElement?(0,n.jsx)(g,{visualElement:S.visualElement,...v}):null,P(C,e,(r=S.visualElement,(0,o.useCallback)(e=>{e&&M.onMount&&M.onMount(e),r&&(e?r.mount(e):r.unmount()),t&&("function"==typeof t?t(e):(0,m.X)(t)&&(t.current=e))},[r])),M,E,S.visualElement)]})}E&&(0,g.Y)(E),S.displayName="motion.".concat("string"==typeof C?C:"create(".concat(null!==(r=null!==(t=C.displayName)&&void 0!==t?t:C.name)&&void 0!==r?r:"",")"));let M=(0,o.forwardRef)(S);return M[v]=C,M}({...(0,E.Q)(e)?D:F,preloadedFeatures:void 0,useRender:function(e=!1){return(t,r,n,{latestValues:i},a)=>{let s=((0,E.Q)(t)?function(e,t,r,n){let i=(0,o.useMemo)(()=>{let r=O();return(0,L.B)(r,t,(0,I.n)(n),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};W(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let r={},n=function(e,t){let r=e.style||{},n={};return W(n,r,e),Object.assign(n,function({transformTemplate:e},t){return(0,o.useMemo)(()=>{let r=A();return(0,N.O)(r,t,e),Object.assign({},r.vars,r.style)},[t])}(e,t)),n}(e,t);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=n,r})(r,i,a,t),l=(0,H.J)(r,"string"==typeof t,e),u=t!==o.Fragment?{...l,...s,ref:n}:{},{children:c}=r,d=(0,o.useMemo)(()=>(0,z.S)(c)?c.get():c,[c]);return(0,o.createElement)(t,{...u,children:d})}}(t),createVisualElement:void 0,Component:e})})},1296:(e,t,r)=>{r.d(t,{I:()=>n});let n=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},46714:(e,t,r)=>{r.d(t,{J:()=>s,D:()=>a});let n=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 o(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||n.has(e)}let i=e=>!o(e);function a(e){e&&(i=t=>t.startsWith("on")?!o(t):e(t))}try{a(require("@emotion/is-prop-valid").default)}catch(e){}function s(e,t,r){let n={};for(let a in e)("values"!==a||"object"!=typeof e.values)&&(i(a)||!0===r&&o(a)||!t&&!o(a)||e.draggable&&a.startsWith("onDrag"))&&(n[a]=e[a]);return n}},62434:(e,t,r)=>{r.d(t,{j:()=>o,p:()=>a});let n=e=>t=>"string"==typeof t&&t.startsWith(e),o=n("--"),i=n("var(--"),a=e=>!!i(e)&&s.test(e.split("/*")[0].trim()),s=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},72538:(e,t,r)=>{r.d(t,{Q:()=>o});let n=["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 o(e){if("string"!=typeof e||e.includes("-"));else if(n.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}},49055:(e,t,r)=>{r.d(t,{W:()=>l});var n=r(17904),o=r(80761);let i={borderWidth:o.px,borderTopWidth:o.px,borderRightWidth:o.px,borderBottomWidth:o.px,borderLeftWidth:o.px,borderRadius:o.px,radius:o.px,borderTopLeftRadius:o.px,borderTopRightRadius:o.px,borderBottomRightRadius:o.px,borderBottomLeftRadius:o.px,width:o.px,maxWidth:o.px,height:o.px,maxHeight:o.px,top:o.px,right:o.px,bottom:o.px,left:o.px,padding:o.px,paddingTop:o.px,paddingRight:o.px,paddingBottom:o.px,paddingLeft:o.px,margin:o.px,marginTop:o.px,marginRight:o.px,marginBottom:o.px,marginLeft:o.px,backgroundPositionX:o.px,backgroundPositionY:o.px},a={rotate:o.uj,rotateX:o.uj,rotateY:o.uj,rotateZ:o.uj,scale:n.hs,scaleX:n.hs,scaleY:n.hs,scaleZ:n.hs,skew:o.uj,skewX:o.uj,skewY:o.uj,distance:o.px,translateX:o.px,translateY:o.px,translateZ:o.px,x:o.px,y:o.px,z:o.px,perspective:o.px,transformPerspective:o.px,opacity:n.X4,originX:o.gQ,originY:o.gQ,originZ:o.px},s={...n.ai,transform:Math.round},l={...i,...a,zIndex:s,size:o.px,fillOpacity:n.X4,strokeOpacity:n.X4,numOctaves:s}},81053:(e,t,r)=>{r.d(t,{O:()=>u});var n=r(62434);let o=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var i=r(49055),a=r(29585);let s={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=a.U.length;function u(e,t,r){let{style:u,vars:c,transformOrigin:d}=e,f=!1,p=!1;for(let e in t){let r=t[e];if(a.f.has(e)){f=!0;continue}if((0,n.j)(e)){c[e]=r;continue}{let t=o(r,i.W[e]);e.startsWith("origin")?(p=!0,d[e]=t):u[e]=t}}if(!t.transform&&(f||r?u.transform=function(e,t,r){let n="",u=!0;for(let c=0;c{r.d(t,{U:()=>n,f:()=>o});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set(n)},90194:(e,t,r)=>{r.d(t,{e:()=>n});function n(e,{style:t,vars:r},n,o){for(let i in Object.assign(e.style,t,o&&o.getProjectionStyles(n)),r)e.style.setProperty(i,r[i])}},25524:(e,t,r)=>{r.d(t,{x:()=>i});var n=r(57513),o=r(26292);function i(e,t,r){var i;let{style:a}=e,s={};for(let l in a)((0,o.S)(a[l])||t.style&&(0,o.S)(t.style[l])||(0,n.z)(l,e)||(null===(i=null==r?void 0:r.getValue(l))||void 0===i?void 0:i.liveStyle)!==void 0)&&(s[l]=a[l]);return s}},27420:(e,t,r)=>{r.d(t,{B:()=>l});var n=r(81053),o=r(80761);let i={offset:"stroke-dashoffset",array:"stroke-dasharray"},a={offset:"strokeDashoffset",array:"strokeDasharray"};function s(e,t,r){return"string"==typeof e?e:o.px.transform(t+r*e)}function l(e,{attrX:t,attrY:r,attrScale:l,originX:u,originY:c,pathLength:d,pathSpacing:f=1,pathOffset:p=0,...g},v,m){if((0,n.O)(e,g,m),v){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:y,style:b,dimensions:h}=e;y.transform&&(h&&(b.transform=y.transform),delete y.transform),h&&(void 0!==u||void 0!==c||b.transform)&&(b.transformOrigin=function(e,t,r){let n=s(t,e.x,e.width),o=s(r,e.y,e.height);return`${n} ${o}`}(h,void 0!==u?u:.5,void 0!==c?c:.5)),void 0!==t&&(y.x=t),void 0!==r&&(y.y=r),void 0!==l&&(y.scale=l),void 0!==d&&function(e,t,r=1,n=0,s=!0){e.pathLength=1;let l=s?i:a;e[l.offset]=o.px.transform(-n);let u=o.px.transform(t),c=o.px.transform(r);e[l.array]=`${u} ${c}`}(y,d,f,p,!1)}},9703:(e,t,r)=>{r.d(t,{e:()=>n});let n=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"])},91201:(e,t,r)=>{r.d(t,{n:()=>n});let n=e=>"string"==typeof e&&"svg"===e.toLowerCase()},57967:(e,t,r)=>{r.d(t,{d:()=>a});var n=r(1296),o=r(90194),i=r(9703);function a(e,t,r,a){for(let r in(0,o.e)(e,t,void 0,a),t.attrs)e.setAttribute(i.e.has(r)?r:(0,n.I)(r),t.attrs[r])}},18389:(e,t,r)=>{r.d(t,{x:()=>a});var n=r(26292),o=r(29585),i=r(25524);function a(e,t,r){let a=(0,i.x)(e,t,r);for(let r in e)((0,n.S)(e[r])||(0,n.S)(t[r]))&&(a[-1!==o.U.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return a}},887:(e,t,r)=>{r.d(t,{O:()=>s,e:()=>a});var n=r(64658),o=r(55091),i=r(41530);function a(e){return(0,n.N)(e.animate)||i._.some(t=>(0,o.w)(e[t]))}function s(e){return!!(a(e)||e.variants)}},55091:(e,t,r)=>{r.d(t,{w:()=>n});function n(e){return"string"==typeof e||Array.isArray(e)}},33765:(e,t,r)=>{function n(e,t,r,n){if("function"==typeof t||("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t)){let[o,i]=function(e){let t=[{},{}];return null==e||e.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}(n);t=t(void 0!==r?r:e.custom,o,i)}return t}r.d(t,{a:()=>n})},41530:(e,t,r)=>{r.d(t,{U:()=>n,_:()=>o});let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],o=["initial",...n]},84014:(e,t,r)=>{r.d(t,{W:()=>n});let n={skipAnimations:!1,useManualTiming:!1}},56984:(e,t,r)=>{r.d(t,{q:()=>n});let n=(e,t,r)=>r>t?t:r{r.d(t,{B:()=>n});let n="undefined"!=typeof window},77145:(e,t,r)=>{r.d(t,{X:()=>n});function n(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}},43413:(e,t,r)=>{r.d(t,{B:()=>o,K:()=>i});var n=r(60448);let o=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),i=e=>(0,n.p)(e)?e[e.length-1]||0:e},42999:(e,t,r)=>{r.d(t,{M:()=>o});var n=r(78293);function o(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},41672:(e,t,r)=>{r.d(t,{E:()=>o});var n=r(78293);let o=r(29858).B?n.useLayoutEffect:n.useEffect},17904:(e,t,r)=>{r.d(t,{X4:()=>i,ai:()=>o,hs:()=>a});var n=r(56984);let o={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},i={...o,transform:e=>(0,n.q)(0,1,e)},a={...o,default:1}},80761:(e,t,r)=>{r.d(t,{KN:()=>i,gQ:()=>u,px:()=>a,uj:()=>o,vh:()=>s,vw:()=>l});let n=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),o=n("deg"),i=n("%"),a=n("px"),s=n("vh"),l=n("vw"),u={...i,parse:e=>i.parse(e)/100,transform:e=>i.transform(100*e)}},26292:(e,t,r)=>{r.d(t,{S:()=>n});let n=e=>!!(e&&e.getVelocity)},69904:(e,t,r)=>{r.d(t,{u:()=>i});var n=r(43413),o=r(26292);function i(e){let t=(0,o.S)(e)?e.get():e;return(0,n.B)(t)?t.toValue():t}},69972:(e,t,r)=>{r.d(t,{l:()=>n});let n=e=>e}}]);