diff --git "a/_next/static/chunks/946-310f6d0c4f8124d5.js" "b/_next/static/chunks/946-310f6d0c4f8124d5.js" deleted file mode 100644--- "a/_next/static/chunks/946-310f6d0c4f8124d5.js" +++ /dev/null @@ -1,36 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[946],{44:function(e){"use strict";let t;function r(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function n(e,t,n){let o=n<.5?n*(1+t):n+t-n*t,a=2*n-o;return Math.round(255*r(a,o,e+1/3))<<24|Math.round(255*r(a,o,e))<<16|Math.round(255*r(a,o,e-1/3))<<8}let o="[-+]?\\d*\\.?\\d+",a=o+"%";function i(...e){return"\\(\\s*("+e.join(")\\s*,?\\s*(")+")\\s*\\)"}function l(...e){return"\\(\\s*("+e.slice(0,e.length-1).join(")\\s*,?\\s*(")+")\\s*/\\s*("+e[e.length-1]+")\\s*\\)"}function s(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}function u(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function c(e){return(parseFloat(e)%360+360)%360/360}function f(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function p(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}e.exports=function(e){let d;if("number"==typeof e)return e>>>0===e&&e>=0&&e<=4294967295?e:null;if("string"!=typeof e)return null;let m=(void 0===t&&(t={rgb:RegExp("rgb"+i(o,o,o)),rgba:RegExp("rgba("+s(o,o,o,o)+"|"+l(o,o,o,o)+")"),hsl:RegExp("hsl"+i(o,a,a)),hsla:RegExp("hsla("+s(o,a,a,o)+"|"+l(o,a,a,o)+")"),hwb:RegExp("hwb"+i(o,a,a)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/}),t);if(d=m.hex6.exec(e))return parseInt(d[1]+"ff",16)>>>0;let y=function(e){switch(e){case"transparent":return 0;case"aliceblue":return 4042850303;case"antiquewhite":return 4209760255;case"aqua":case"cyan":return 16777215;case"aquamarine":return 2147472639;case"azure":return 4043309055;case"beige":return 4126530815;case"bisque":return 4293182719;case"black":return 255;case"blanchedalmond":return 4293643775;case"blue":return 65535;case"blueviolet":return 2318131967;case"brown":return 2771004159;case"burlywood":return 3736635391;case"burntsienna":return 3934150143;case"cadetblue":return 1604231423;case"chartreuse":return 2147418367;case"chocolate":return 3530104575;case"coral":return 4286533887;case"cornflowerblue":return 1687547391;case"cornsilk":return 4294499583;case"crimson":return 3692313855;case"darkblue":return 35839;case"darkcyan":return 9145343;case"darkgoldenrod":return 3095792639;case"darkgray":case"darkgrey":return 2846468607;case"darkgreen":return 6553855;case"darkkhaki":return 3182914559;case"darkmagenta":return 2332068863;case"darkolivegreen":return 1433087999;case"darkorange":return 4287365375;case"darkorchid":return 2570243327;case"darkred":return 2332033279;case"darksalmon":return 3918953215;case"darkseagreen":return 2411499519;case"darkslateblue":return 1211993087;case"darkslategray":case"darkslategrey":return 793726975;case"darkturquoise":return 13554175;case"darkviolet":return 2483082239;case"deeppink":return 4279538687;case"deepskyblue":return 12582911;case"dimgray":case"dimgrey":return 1768516095;case"dodgerblue":return 512819199;case"firebrick":return 2988581631;case"floralwhite":return 4294635775;case"forestgreen":return 579543807;case"fuchsia":case"magenta":return 4278255615;case"gainsboro":return 3705462015;case"ghostwhite":return 4177068031;case"gold":return 4292280575;case"goldenrod":return 3668254975;case"gray":case"grey":return 2155905279;case"green":return 8388863;case"greenyellow":return 2919182335;case"honeydew":return 4043305215;case"hotpink":return 4285117695;case"indianred":return 3445382399;case"indigo":return 1258324735;case"ivory":return 4294963455;case"khaki":return 4041641215;case"lavender":return 3873897215;case"lavenderblush":return 4293981695;case"lawngreen":return 2096890111;case"lemonchiffon":return 4294626815;case"lightblue":return 2916673279;case"lightcoral":return 4034953471;case"lightcyan":return 3774873599;case"lightgoldenrodyellow":return 4210742015;case"lightgray":case"lightgrey":return 3553874943;case"lightgreen":return 2431553791;case"lightpink":return 4290167295;case"lightsalmon":return 4288707327;case"lightseagreen":return 548580095;case"lightskyblue":return 2278488831;case"lightslategray":case"lightslategrey":return 2005441023;case"lightsteelblue":return 2965692159;case"lightyellow":return 4294959359;case"lime":return 16711935;case"limegreen":return 852308735;case"linen":return 4210091775;case"maroon":return 2147483903;case"mediumaquamarine":return 1724754687;case"mediumblue":return 52735;case"mediumorchid":return 3126187007;case"mediumpurple":return 2473647103;case"mediumseagreen":return 1018393087;case"mediumslateblue":return 2070474495;case"mediumspringgreen":return 16423679;case"mediumturquoise":return 1221709055;case"mediumvioletred":return 3340076543;case"midnightblue":return 421097727;case"mintcream":return 4127193855;case"mistyrose":return 4293190143;case"moccasin":return 4293178879;case"navajowhite":return 4292783615;case"navy":return 33023;case"oldlace":return 4260751103;case"olive":return 2155872511;case"olivedrab":return 1804477439;case"orange":return 4289003775;case"orangered":return 4282712319;case"orchid":return 3664828159;case"palegoldenrod":return 4008225535;case"palegreen":return 2566625535;case"paleturquoise":return 2951671551;case"palevioletred":return 3681588223;case"papayawhip":return 4293907967;case"peachpuff":return 4292524543;case"peru":return 3448061951;case"pink":return 4290825215;case"plum":return 3718307327;case"powderblue":return 2967529215;case"purple":return 2147516671;case"rebeccapurple":return 1714657791;case"red":return 4278190335;case"rosybrown":return 3163525119;case"royalblue":return 1097458175;case"saddlebrown":return 2336560127;case"salmon":return 4202722047;case"sandybrown":return 4104413439;case"seagreen":return 780883967;case"seashell":return 4294307583;case"sienna":return 2689740287;case"silver":return 3233857791;case"skyblue":return 2278484991;case"slateblue":return 1784335871;case"slategray":case"slategrey":return 1887473919;case"snow":return 4294638335;case"springgreen":return 16744447;case"steelblue":return 1182971135;case"tan":return 3535047935;case"teal":return 8421631;case"thistle":return 3636451583;case"tomato":return 4284696575;case"turquoise":return 1088475391;case"violet":return 4001558271;case"wheat":return 4125012991;case"white":return 4294967295;case"whitesmoke":return 4126537215;case"yellow":return 4294902015;case"yellowgreen":return 2597139199}return null}(e);return null!=y?y:(d=m.rgb.exec(e))?(u(d[1])<<24|u(d[2])<<16|u(d[3])<<8|255)>>>0:(d=m.rgba.exec(e))?void 0!==d[6]?(u(d[6])<<24|u(d[7])<<16|u(d[8])<<8|f(d[9]))>>>0:(u(d[2])<<24|u(d[3])<<16|u(d[4])<<8|f(d[5]))>>>0:(d=m.hex3.exec(e))?parseInt(d[1]+d[1]+d[2]+d[2]+d[3]+d[3]+"ff",16)>>>0:(d=m.hex8.exec(e))?parseInt(d[1],16)>>>0:(d=m.hex4.exec(e))?parseInt(d[1]+d[1]+d[2]+d[2]+d[3]+d[3]+d[4]+d[4],16)>>>0:(d=m.hsl.exec(e))?(255|n(c(d[1]),p(d[2]),p(d[3])))>>>0:(d=m.hsla.exec(e))?void 0!==d[6]?(n(c(d[6]),p(d[7]),p(d[8]))|f(d[9]))>>>0:(n(c(d[2]),p(d[3]),p(d[4]))|f(d[5]))>>>0:(d=m.hwb.exec(e))?(255|function(e,t,n){if(t+n>=1){let e=Math.round(255*t/(t+n));return e<<24|e<<16|e<<8}return Math.round(255*(r(0,1,e+1/3)*(1-t-n)+t))<<24|Math.round(255*(r(0,1,e)*(1-t-n)+t))<<16|Math.round(255*(r(0,1,e-1/3)*(1-t-n)+t))<<8}(c(d[1]),p(d[2]),p(d[3])))>>>0:null}},9100:function(e,t,r){let n,o,a;var i=Object.create,l=Object.defineProperty,s=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,c=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,p=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of u(t))f.call(e,o)||o===r||l(e,o,{get:()=>t[o],enumerable:!(n=s(t,o))||n.enumerable});return e},d={};((e,t)=>{for(var r in t)l(e,r,{get:t[r],enumerable:!0})})(d,{composeRefs:()=>b,setRef:()=>y,useComposedRefs:()=>g}),e.exports=p(l({},"__esModule",{value:!0}),d);var m=(a=null!=(n=r(2265))?i(c(n)):{},p(!o&&n&&n.__esModule?a:l(a,"default",{value:n,enumerable:!0}),n));function y(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function b(...e){return t=>e.forEach(e=>y(e,t))}function g(...e){return m.useCallback(b(...e),e)}},428:function(e,t,r){let n,o;var a=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,u=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of l(t))s.call(e,o)||o===r||a(e,o,{get:()=>t[o],enumerable:!(n=i(t,o))||n.enumerable});return e},c={};e.exports=u(a({},"__esModule",{value:!0}),c),n=r(9100),o=e.exports,u(c,n,"default"),o&&u(o,n,"default")},583:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{currentPlatform:()=>O,isAndroid:()=>g,isChrome:()=>m,isClient:()=>p,isIos:()=>h,isServer:()=>f,isTouchable:()=>b,isWeb:()=>u,isWebTouchable:()=>y,isWindowDefined:()=>c,useIsomorphicLayoutEffect:()=>d}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(2265);let u=!0,c="u">typeof window,f=!c,p=c,d=f?s.useEffect:s.useLayoutEffect,m="u">typeof navigator&&/Chrome/.test(navigator.userAgent||""),y=p&&("ontouchstart"in window||navigator.maxTouchPoints>0),b=!u||y,g=!1,h=!1,O="web"},5527:function(e,t,r){let n,o;var a=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,u=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of l(t))s.call(e,o)||o===r||a(e,o,{get:()=>t[o],enumerable:!(n=i(t,o))||n.enumerable});return e},c={};e.exports=u(a({},"__esModule",{value:!0}),c),n=r(583),o=e.exports,u(c,n,"default"),o&&u(o,n,"default")},2250:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};function i(e,t,r){}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{createOptimizedView:()=>i}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a)},4750:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};function i(){return null}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{getBaseViews:()=>i}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a)},4989:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{getBoundingClientRect:()=>i}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let i=e=>{if(!(!e||1!==e.nodeType))return e.getBoundingClientRect?.()}},6141:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{getRect:()=>u}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(4989);let u=e=>{let t=(0,s.getBoundingClientRect)(e);if(!t)return;let{x:r,y:n,top:o,left:a}=t;return{x:r,y:n,width:e.offsetWidth,height:e.offsetHeight,top:o,left:a}}},1736:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{measureElement:()=>d,measureLayout:()=>y,useElementLayout:()=>h}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(5527),u=r(4989);let c=new WeakMap,f=new Set,p=null;if("u">typeof window&&"ResizeObserver"in window&&(p=new ResizeObserver(e=>{for(let{target:t}of e){let e=c.get(t);if("function"!=typeof e)return;d(t).then(t=>{e(t)})}}),"function"==typeof window.addEventListener)){let e;window.addEventListener("resize",()=>{clearTimeout(e),e=setTimeout(()=>{f.forEach(e=>e())},4)})}let d=async e=>new Promise(t=>{y(e,null,(r,n,o,a,i,l)=>{t({nativeEvent:{layout:{x:r,y:n,width:o,height:a,left:i,top:l},target:e},timeStamp:Date.now()})})}),m=new WeakMap,y=(e,t,r)=>{let n=t||e?.parentNode;if(n instanceof HTMLElement){let t=Date.now();m.set(e,t),Promise.all([g(e),g(n)]).then(([n,o])=>{if(o&&n&&m.get(e)===t){let{x:e,y:t,width:a,height:i,left:l,top:s}=b(n,o);r(e,t,a,i,l,s)}})}},b=(e,t)=>{let{height:r,left:n,top:o,width:a}=e;return{x:n-t.left,y:o-t.top,width:a,height:r,left:n,top:o}},g=e=>new Promise(t=>{let r=setTimeout(function(){t((0,u.getBoundingClientRect)(e))},10);new IntersectionObserver((e,n)=>{clearTimeout(r),n.disconnect(),t(e[0]?.boundingClientRect)},{threshold:1e-4}).observe(e)});function h(e,t){(0,s.useIsomorphicLayoutEffect)(()=>{if(!t)return;let r=e.current;r&&c.set(r,t)},[e,t]),(0,s.useIsomorphicLayoutEffect)(()=>{if(!p)return;let r=e.current;if(!r||!c.has(r))return;let n=()=>{d(r).then(t)};return f.add(n),p.observe(r),()=>{f.delete(n),p?.unobserve(r)}},[e])}},9117:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{usePlatformMethods:()=>f}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(5527),u=r(6141),c=r(1736);function f(e){(0,s.useIsomorphicLayoutEffect)(()=>{let t=e.current;t&&(t.measure||=e=>(0,c.measureLayout)(t,null,e),t.measureLayout||=(e,r)=>(0,c.measureLayout)(t,e,r),t.measureInWindow||=e=>{t&&setTimeout(()=>{let{height:r,left:n,top:o,width:a}=(0,u.getRect)(t);e(n,o,a,r)},0)})},[e])}},3974:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l=(e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e},s=(e,t,r)=>(l(e,t,"default"),r&&l(r,t,"default")),u={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(u,{Stack:()=>g,Text:()=>h,View:()=>b}),e.exports=l(n({},"__esModule",{value:!0}),u);var c=r(1338),f=r(1013),p=r(2265),d=(r(2250),r(4750)),m=r(1736),y=r(9117);r(4156),s(u,r(1013),e.exports),s(u,r(4837),e.exports),(0,d.getBaseViews)(),(0,f.setupHooks)({getBaseViews:d.getBaseViews,usePropsTransform(e,t,r,n){{let o="string"==typeof e,{onMoveShouldSetResponder:a,onMoveShouldSetResponderCapture:i,onResponderEnd:l,onResponderGrant:s,onResponderMove:u,onResponderReject:f,onResponderRelease:d,onResponderStart:b,onResponderTerminate:g,onResponderTerminationRequest:h,onScrollShouldSetResponder:O,onScrollShouldSetResponderCapture:v,onSelectionChangeShouldSetResponder:w,onSelectionChangeShouldSetResponderCapture:j,onStartShouldSetResponder:P,onStartShouldSetResponderCapture:S,collapsable:_,focusable:x,accessible:C,accessibilityDisabled:T,onLayout:M,hrefAttrs:E,...N}=t;if(n||o){let e=(0,p.useMemo)(()=>({get current(){return r.current.host}}),[r]);(0,y.usePlatformMethods)(e),(0,m.useElementLayout)(e,o?M:void 0),(0,c.useResponderEvents)(e,o?{onMoveShouldSetResponder:a,onMoveShouldSetResponderCapture:i,onResponderEnd:l,onResponderGrant:s,onResponderMove:u,onResponderReject:f,onResponderRelease:d,onResponderStart:b,onResponderTerminate:g,onResponderTerminationRequest:h,onScrollShouldSetResponder:O,onScrollShouldSetResponderCapture:v,onSelectionChangeShouldSetResponder:w,onSelectionChangeShouldSetResponderCapture:j,onStartShouldSetResponder:P,onStartShouldSetResponderCapture:S}:void 0)}if(o){if(N.href&&E){let{download:e,rel:t,target:r}=E;null!=e&&(N.download=e),t&&(N.rel=t),"string"==typeof r&&(N.target="_"!==r.charAt(0)?`_${r}`:r)}return N}}},useEvents(e,t,{pseudos:r},n,o){}});let b=f.View,g=f.Stack,h=f.Text},4837:function(e){let t;var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty;e.exports=(t={},((e,t,i,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))a.call(e,s)||s===i||r(e,s,{get:()=>t[s],enumerable:!(l=n(t,s))||l.enumerable});return e})(r({},"__esModule",{value:!0}),t))},4156:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{Pressability:()=>i,usePressability:()=>l}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let i={},l=e=>({})},7160:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};function i(e,[t,r]){return Math.min(r,Math.max(t,e))}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{clamp:()=>i}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a)},1475:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};function i(e,t,{checkDefaultPrevented:r=!0}={}){return e&&t?n=>{if(e?.(n),!n||!(r&&"defaultPrevented"in n)||"defaultPrevented"in n&&!n.defaultPrevented)return t?.(n)}:t||e||void 0}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{composeEventHandlers:()=>i}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a)},5762:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};function i(e){let t=arguments,r=[],n="",o=t.length,a=null;for(let e=o;e>=0;e--){let o=t[e];if(!o)continue;if(!Array.isArray(o)&&"string"!=typeof o){(a=a||[]).push(o);continue}let i=Array.isArray(o)?o:o.split(" "),s=i.length;for(let e=s-1;e>=0;e--){let t=i[e];if(!t||" "===t)continue;if("_"!==t[0]){n=t+" "+n;continue}let o=t.indexOf("-");if(o<1){n=t+" "+n;continue}let s="_"===t[o+1],u=t.slice(1,t.lastIndexOf("-")),c=s?t.slice(o+2,o+7):null,f=c?u+c:u;!(r.indexOf(f)>-1)&&(r.push(f),u&&a&&a.some(e=>{if(c){let t=l[c];return e&&e[t]&&u in e[t]&&null!==e[t]}return e&&u in e&&null!==e[u]})||(n=t+" "+n))}}return n}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{concatClassName:()=>i}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let l={hover:"hoverStyle",focus:"focusStyle",press:"pressStyle",focusVisible:"focusVisibleStyle",disabled:"disabledStyle"}},4267:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l=(e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e},s=(e,t,r)=>(l(e,t,"default"),r&&l(r,t,"default")),u={};e.exports=l(n({},"__esModule",{value:!0}),u),s(u,r(2947),e.exports),s(u,r(7160),e.exports),s(u,r(1475),e.exports),s(u,r(5762),e.exports),s(u,r(5292),e.exports),s(u,r(8858),e.exports),s(u,r(524),e.exports),s(u,r(2210),e.exports)},8858:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{shouldRenderNativePlatform:()=>c}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(5527);let u=["web","android","ios"];function c(e){if(!e)return null;let t=function(e){let t=new Set(!0===e?u:!1===e?[]:Array.isArray(e)?e:[e]);return t.has("mobile")&&(t.add("android"),t.add("ios"),t.delete("mobile")),t}(e);for(let e of u)if(e===s.currentPlatform&&t.has(e))return e;return null}},5292:function(e){let t;var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty;e.exports=(t={},((e,t,i,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))a.call(e,s)||s===i||r(e,s,{get:()=>t[s],enumerable:!(l=n(t,s))||l.enumerable});return e})(r({},"__esModule",{value:!0}),t))},524:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{stylePropsAll:()=>g,stylePropsFont:()=>m,stylePropsText:()=>b,stylePropsTextOnly:()=>y,stylePropsTransform:()=>p,stylePropsUnitless:()=>f,stylePropsView:()=>d,tokenCategories:()=>c,validPseudoKeys:()=>h,validStyles:()=>O}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(5527);let u={color:!0,textDecorationColor:!0,textShadowColor:!0},c={radius:{borderRadius:!0,borderTopLeftRadius:!0,borderTopRightRadius:!0,borderBottomLeftRadius:!0,borderBottomRightRadius:!0,borderStartStartRadius:!0,borderStartEndRadius:!0,borderEndStartRadius:!0,borderEndEndRadius:!0},size:{width:!0,height:!0,minWidth:!0,minHeight:!0,maxWidth:!0,maxHeight:!0},zIndex:{zIndex:!0},color:{backgroundColor:!0,borderColor:!0,borderBlockStartColor:!0,borderBlockEndColor:!0,borderBlockColor:!0,borderBottomColor:!0,borderTopColor:!0,borderLeftColor:!0,borderRightColor:!0,borderEndColor:!0,borderStartColor:!0,shadowColor:!0,...u,outlineColor:!0}},f={WebkitLineClamp:!0,animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,columnCount:!0,flex:!0,flexGrow:!0,flexOrder:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,gridRow:!0,gridRowEnd:!0,gridRowGap:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridColumnStart:!0,lineClamp:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,scale:!0,scaleX:!0,scaleY:!0,scaleZ:!0,shadowOpacity:!0},p={x:!0,y:!0,scale:!0,perspective:!0,scaleX:!0,scaleY:!0,skewX:!0,skewY:!0,matrix:!0,rotate:!0,rotateY:!0,rotateX:!0,rotateZ:!0},d={backfaceVisibility:!0,borderBottomEndRadius:!0,borderBottomStartRadius:!0,borderBottomWidth:!0,borderLeftWidth:!0,borderRightWidth:!0,borderStyle:!0,borderTopEndRadius:!0,borderTopStartRadius:!0,borderTopWidth:!0,borderWidth:!0,transform:!0,transformOrigin:!0,alignContent:!0,alignItems:!0,alignSelf:!0,borderEndWidth:!0,borderStartWidth:!0,bottom:!0,display:!0,end:!0,flexBasis:!0,flexDirection:!0,flexWrap:!0,gap:!0,columnGap:!0,rowGap:!0,justifyContent:!0,left:!0,margin:!0,marginBlockEnd:!0,marginBlockStart:!0,marginInlineEnd:!0,marginInline:!0,marginInlineStart:!0,marginBottom:!0,marginEnd:!0,marginHorizontal:!0,marginLeft:!0,marginRight:!0,marginStart:!0,marginTop:!0,marginVertical:!0,overflow:!0,padding:!0,paddingBottom:!0,paddingInline:!0,paddingBlock:!0,paddingBlockStart:!0,paddingInlineEnd:!0,paddingInlineStart:!0,paddingEnd:!0,paddingHorizontal:!0,paddingLeft:!0,paddingRight:!0,paddingStart:!0,paddingTop:!0,paddingVertical:!0,position:!0,right:!0,start:!0,top:!0,direction:!0,shadowOffset:!0,shadowRadius:!0,...c.color,...c.radius,...c.size,...c.radius,...p,...f,borderBottomStyle:!0,borderTopStyle:!0,borderLeftStyle:!0,borderRightStyle:!0,overflowX:!0,overflowY:!0,userSelect:!0,cursor:!0,contain:!0,pointerEvents:!0,boxSizing:!0,boxShadow:!0,outlineStyle:!0,outlineOffset:!0,outlineWidth:!0,touchAction:!0,...s.isAndroid?{elevationAndroid:!0}:{}},m={fontFamily:!0,fontSize:!0,fontStyle:!0,fontWeight:!0,letterSpacing:!0,lineHeight:!0,textTransform:!0},y={...m,textAlign:!0,textDecorationLine:!0,textDecorationStyle:!0,...u,textShadowOffset:!0,textShadowRadius:!0,whiteSpace:!0,wordWrap:!0,textOverflow:!0,textDecorationDistance:!0,userSelect:!0,selectable:!0,cursor:!0,WebkitLineClamp:!0,WebkitBoxOrient:!0},b={...d,...y},g=b,h={enterStyle:!0,exitStyle:!0,hoverStyle:!0,pressStyle:!0,focusStyle:!0,disabledStyle:!0,focusVisibleStyle:!0},O={...h,...d}},2210:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{withStaticProperties:()=>c}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(2265);let u=Symbol(),c=(e,t)=>{let r=(()=>{if(e[u]){let t=(0,s.forwardRef)((t,r)=>(0,s.createElement)(e,{...t,ref:r}));for(let r in e){let n=e[r];t[r]=n&&"object"==typeof n?{...n}:n}}return e})();return Object.assign(r,t),r[u]=!0,r}},6040:function(e,t,r){let n,o,a;var i=Object.create,l=Object.defineProperty,s=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,c=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,p=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of u(t))f.call(e,o)||o===r||l(e,o,{get:()=>t[o],enumerable:!(n=s(t,o))||n.enumerable});return e},d={};((e,t)=>{for(var r in t)l(e,r,{get:t[r],enumerable:!0})})(d,{default:()=>g,normalizeCSSColor:()=>y,rgba:()=>b}),e.exports=p(l({},"__esModule",{value:!0}),d);var m=(a=null!=(n=r(44))?i(c(n)):{},p(!o&&n&&n.__esModule?a:l(a,"default",{value:n,enumerable:!0}),n));let y=m.default||m;function b(e){return{r:Math.round((4278190080&e)>>>24),g:Math.round((16711680&e)>>>16),b:Math.round((65280&e)>>>8),a:((255&e)>>>0)/255}}var g=y},7961:function(){void 0===globalThis.__DEV__&&(globalThis.__DEV__=!1)},8574:function(e,t,r){let n,o,a;var i=Object.create,l=Object.defineProperty,s=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,c=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,p=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of u(t))f.call(e,o)||o===r||l(e,o,{get:()=>t[o],enumerable:!(n=s(t,o))||n.enumerable});return e},d={};((e,t)=>{for(var r in t)l(e,r,{get:t[r],enumerable:!0})})(d,{addNode:()=>A,attachListeners:()=>k,getResponderNode:()=>V,removeNode:()=>D,terminateResponder:()=>I}),e.exports=p(l({},"__esModule",{value:!0}),d);var m=(a=null!=(n=r(8247))?i(c(n)):{},p(!o&&n&&n.__esModule?a:l(a,"default",{value:n,enumerable:!0}),n)),y=r(1733),b=r(7324),g=r(5001),h=r(5001);let O={},v=["onStartShouldSetResponderCapture","onStartShouldSetResponder",{bubbles:!0}],w=["onMoveShouldSetResponderCapture","onMoveShouldSetResponder",{bubbles:!0}],j={touchstart:v,mousedown:v,touchmove:w,mousemove:w,scroll:["onScrollShouldSetResponderCapture","onScrollShouldSetResponder",{bubbles:!1}]},P={id:null,idPath:null,node:null},S=new Map,_=!1,x=0,C={id:null,node:null,idPath:null},T=new y.ResponderTouchHistoryStore;function M(e){return S.get(e)??O}function E(e){let t=e.type,r=e.target;if("touchstart"===t&&(_=!0),("touchmove"===t||x>1)&&(_=!1),"mousedown"===t&&_||"mousemove"===t&&_||"mousemove"===t&&x<1)return;if(_&&"mouseup"===t){0===x&&(_=!1);return}let n=(0,b.isStartish)(t)&&(0,h.isPrimaryPointerDown)(e),o=(0,b.isMoveish)(t),a=(0,b.isEndish)(t),i=(0,b.isScroll)(t),l=(0,b.isSelectionChange)(t),s=(0,m.default)(e,T);(n||o||a)&&(e.touches?x=e.touches.length:n?x=1:a&&(x=0),T.recordTouchTrack(t,s.nativeEvent));let u=(0,h.getResponderPaths)(e),c=!1,f;if(n||o||i&&x>0){let t=C.idPath,r=u.idPath;if(null!=t&&null!=r){let e=(0,h.getLowestCommonAncestor)(t,r);if(null!=e){let t=r.indexOf(e)+(e===C.id?1:0);u={idPath:r.slice(t),nodePath:u.nodePath.slice(t)}}else u=null}null!=u&&null!=(f=function(e,t,r){let n=j[t.type];if(null!=n){let{idPath:o,nodePath:a}=e,i=n[0],l=n[1],{bubbles:s}=n[2],u=(e,t,n)=>{let a=M(e)[n];if(null!=a&&(r.currentTarget=t,!0===a(r))){let r=o.slice(o.indexOf(e));return{id:e,node:t,idPath:r}}};for(let e=o.length-1;e>=0;e--){let t=u(o[e],a[e],i);if(null!=t)return t;if(!0===r.isPropagationStopped())return}if(s)for(let e=0;e{document.addEventListener(e,E)}),N.forEach(e=>{document.addEventListener(e,E,!0)}),window[$]=!0)}function A(e,t,r){(0,h.setResponderId)(t,e),S.set(e,r)}function D(e){C.id===e&&I(),S.has(e)&&S.delete(e)}function I(){let{id:e,node:t}=C;if(null!=e&&null!=t){let{onResponderTerminate:r}=M(e);if(null!=r){let e=(0,m.default)({},T);e.currentTarget=t,r(e)}C=P}_=!1,x=0}function V(){return C.node}},1733:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{ResponderTouchHistoryStore:()=>u}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(7324);class u{_touchHistory={touchBank:[],numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0};recordTouchTrack(e,t){let r=this._touchHistory;if((0,s.isMoveish)(e))t.changedTouches.forEach(e=>(function(e,t){let r=t.touchBank[f(e)];r?(r.touchActive=!0,r.previousPageX=r.currentPageX,r.previousPageY=r.currentPageY,r.previousTimeStamp=r.currentTimeStamp,r.currentPageX=e.pageX,r.currentPageY=e.pageY,r.currentTimeStamp=c(e),t.mostRecentTimeStamp=c(e)):console.warn(`Cannot record touch move without a touch start. -`,`Touch Move: ${p(e)} -`,`Touch Bank: ${d(t)}`)})(e,r));else if((0,s.isStartish)(e))t.changedTouches.forEach(e=>(function(e,t){let r=f(e),n=t.touchBank[r];n?(n.touchActive=!0,n.startPageX=e.pageX,n.startPageY=e.pageY,n.startTimeStamp=c(e),n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=c(e),n.previousPageX=e.pageX,n.previousPageY=e.pageY,n.previousTimeStamp=c(e)):t.touchBank[r]={touchActive:!0,startPageX:e.pageX,startPageY:e.pageY,startTimeStamp:c(e),currentPageX:e.pageX,currentPageY:e.pageY,currentTimeStamp:c(e),previousPageX:e.pageX,previousPageY:e.pageY,previousTimeStamp:c(e)},t.mostRecentTimeStamp=c(e)})(e,r)),r.numberActiveTouches=t.touches.length,1===r.numberActiveTouches&&(r.indexOfSingleActiveTouch=t.touches[0].identifier);else if((0,s.isEndish)(e)&&(t.changedTouches.forEach(e=>(function(e,t){let r=t.touchBank[f(e)];r?(r.touchActive=!1,r.previousPageX=r.currentPageX,r.previousPageY=r.currentPageY,r.previousTimeStamp=r.currentTimeStamp,r.currentPageX=e.pageX,r.currentPageY=e.pageY,r.currentTimeStamp=c(e),t.mostRecentTimeStamp=c(e)):console.warn(`Cannot record touch end without a touch start. -`,`Touch End: ${p(e)} -`,`Touch Bank: ${d(t)}`)})(e,r)),r.numberActiveTouches=t.touches.length,1===r.numberActiveTouches)){let{touchBank:e}=r;for(let t=0;t20&&(r+=` (original size: ${t.length})`),r}},8247:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{default:()=>d}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(5001);let u=()=>{},c={},f=[];function p(e){return e>20?e%20:e}function d(e,t){let r,n=!1,o,a,i=e.changedTouches,l=e.type,d=!0===e.metaKey,m=!0===e.shiftKey,y=i?.[0].force||0,b=p(i?.[0].identifier||0),g=i?.[0].clientX||e.clientX,h=i?.[0].clientY||e.clientY,O=i?.[0].pageX||e.pageX,v=i?.[0].pageY||e.pageY,w="function"==typeof e.preventDefault?e.preventDefault.bind(e):u,j=e.timeStamp;function P(e){return Array.prototype.slice.call(e).map(e=>({force:e.force,identifier:p(e.identifier),get locationX(){return _(e.clientX)},get locationY(){return x(e.clientY)},pageX:e.pageX,pageY:e.pageY,target:e.target,timestamp:j}))}if(null!=i)o=P(i),a=P(e.touches);else{let t=[{force:y,identifier:b,get locationX(){return _(g)},get locationY(){return x(h)},pageX:O,pageY:v,target:e.target,timestamp:j}];o=t,a="mouseup"===l||"dragstart"===l?f:t}let S={bubbles:!0,cancelable:!0,currentTarget:null,defaultPrevented:e.defaultPrevented,dispatchConfig:c,eventPhase:e.eventPhase,isDefaultPrevented:()=>e.defaultPrevented,isPropagationStopped:()=>n,isTrusted:e.isTrusted,nativeEvent:{altKey:!1,ctrlKey:!1,metaKey:d,shiftKey:m,changedTouches:o,force:y,identifier:b,get locationX(){return _(g)},get locationY(){return x(h)},pageX:O,pageY:v,target:e.target,timestamp:j,touches:a,type:l},persist:u,preventDefault:w,stopPropagation(){n=!0},target:e.target,timeStamp:j,touchHistory:t.touchHistory};function _(e){if(r=r||(0,s.getBoundingClientRect)(S.currentTarget))return e-r.left}function x(e){if(r=r||(0,s.getBoundingClientRect)(S.currentTarget))return e-r.top}return S}},1338:function(e,t,r){let n,o;var a=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,u=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of l(t))s.call(e,o)||o===r||a(e,o,{get:()=>t[o],enumerable:!(n=i(t,o))||n.enumerable});return e},c={};e.exports=u(a({},"__esModule",{value:!0}),c),n=r(1456),o=e.exports,u(c,n,"default"),o&&u(o,n,"default")},7324:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{BLUR:()=>i,CONTEXT_MENU:()=>l,FOCUS_OUT:()=>s,MOUSE_CANCEL:()=>p,MOUSE_DOWN:()=>u,MOUSE_MOVE:()=>c,MOUSE_UP:()=>f,SCROLL:()=>g,SELECT:()=>h,SELECTION_CHANGE:()=>O,TOUCH_CANCEL:()=>b,TOUCH_END:()=>y,TOUCH_MOVE:()=>m,TOUCH_START:()=>d,isCancelish:()=>P,isEndish:()=>j,isMoveish:()=>w,isScroll:()=>S,isSelectionChange:()=>_,isStartish:()=>v}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let i="blur",l="contextmenu",s="focusout",u="mousedown",c="mousemove",f="mouseup",p="dragstart",d="touchstart",m="touchmove",y="touchend",b="touchcancel",g="scroll",h="select",O="selectionchange";function v(e){return e===d||e===u}function w(e){return e===m||e===c}function j(e){return e===y||e===f||P(e)}function P(e){return e===b||e===p}function S(e){return e===g}function _(e){return e===h||e===O}},1456:function(e,t,r){let n,o;var a=Object.create,i=Object.defineProperty,l=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,f=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of s(t))c.call(e,o)||o===r||i(e,o,{get:()=>t[o],enumerable:!(n=l(t,o))||n.enumerable});return e},p=(e,t,r)=>(r=null!=e?a(u(e)):{},f(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)),d={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(d,{useResponderEvents:()=>g}),e.exports=f(i({},"__esModule",{value:!0}),d);var m=p(r(2265)),y=p(r(8574));n=r(5001),o=e.exports,f(d,n,"default"),o&&f(o,n,"default");let b={};function g(e,t=b){let r=m.useId(),n=m.useRef(!1);m.useEffect(()=>(y.attachListeners(),()=>{y.removeNode(r)}),[r]),m.useEffect(()=>{let{onMoveShouldSetResponder:o,onMoveShouldSetResponderCapture:a,onScrollShouldSetResponder:i,onScrollShouldSetResponderCapture:l,onSelectionChangeShouldSetResponder:s,onSelectionChangeShouldSetResponderCapture:u,onStartShouldSetResponder:c,onStartShouldSetResponderCapture:f}=t,p=e.current;null!=o||null!=a||null!=i||null!=l||null!=s||null!=u||null!=c||null!=f?(y.addNode(r,p,t),n.current=!0):n.current&&(y.removeNode(r),n.current=!1)},[t,e,r])}},5001:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{canUseDOM:()=>l,getBoundingClientRect:()=>s,getLowestCommonAncestor:()=>p,getResponderPaths:()=>f,hasTargetTouches:()=>d,hasValidSelection:()=>m,isPrimaryPointerDown:()=>y,isSelectionValid:()=>b,setResponderId:()=>c}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let i="__reactResponderId",l=!!("u">typeof window&&window.document&&window.document.createElement),s=e=>{if(e&&1===e.nodeType&&e.getBoundingClientRect)return e.getBoundingClientRect()};function u(e){let t=[];for(;null!=e&&e!==document.body;)t.push(e),e=e.parentNode;return t}function c(e,t){null!=e&&(e[i]=t)}function f(e){let t=[],r=[],n="selectionchange"===e.type?u(window.getSelection()?.anchorNode):null!=e.composedPath?e.composedPath():u(e.target);for(let e=0;e0&&(o=e[a=r-n],r=n),n-r>0&&(i=t[l=n-r],n=r);let s=r;for(;s--;){if(o===i)return o;o=e[a++],i=t[l++]}return null}function d(e,t){if(!t||0===t.length)return!1;for(let r=0;r=1&&t!==` -`&&!!o}},2947:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{simpleHash:()=>l}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let i=new Map,l=(e,t=10)=>{if(i.has(e))return i.get(e);let r=0,n="",o=e.length;for(let a=0;a=65&&i<=90||i>=97&&i<=122||95===i||45===i||i>=48&&i<=57)&&o<=t)){n+=e[a];continue}r=s(r,e[a])}let a=n+(r?Math.abs(r):"");return i.size>1e4&&i.clear(),i.set(e,a),a},s=(e,t)=>Math.imul(31,e)+t.charCodeAt(0)|0},2513:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{useClientValue:()=>p,useDidFinishSSR:()=>f}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(2265);let u=()=>{},c=()=>u;function f(e){return(0,s.useSyncExternalStore)(c,()=>e??!0,()=>!1)}function p(e){return f()?"function"==typeof e?e():e:void 0}},9832:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l=(e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e},s=(e,t,r)=>(l(e,t,"default"),r&&l(r,t,"default")),u={};e.exports=l(n({},"__esModule",{value:!0}),u),s(u,r(7281),e.exports),s(u,r(5177),e.exports)},7281:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{useEvent:()=>u}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(5177);function u(e){return(0,s.useGet)(e,c,!0)}let c=()=>{throw Error("Cannot call an event handler while rendering.")}},5177:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{useGet:()=>c}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(5527),u=r(2265);function c(e,t,r){let n=(0,u.useRef)(t??e);return(0,s.useIsomorphicLayoutEffect)(()=>{n.current=e}),(0,u.useCallback)(r?(...e)=>n.current?.apply(null,e):()=>n.current,[])}},3668:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{isServerSide:()=>u,useForceUpdate:()=>f}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(2265);let u=typeof window>"u",c=()=>{};function f(){return u?c:(0,s.useReducer)(e=>Math.random(),0)[1]}},8126:function(e,t,r){let n,o,a;var i=Object.create,l=Object.defineProperty,s=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,c=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,p=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of u(t))f.call(e,o)||o===r||l(e,o,{get:()=>t[o],enumerable:!(n=s(t,o))||n.enumerable});return e},d={};((e,t)=>{for(var r in t)l(e,r,{get:t[r],enumerable:!0})})(d,{Tamagui:()=>m,getValueFromIdentifier:()=>b,setIdentifierValue:()=>g}),e.exports=p(l({},"__esModule",{value:!0}),d),a=null!=(n=r(4267))?i(c(n)):{},p(!o&&n&&n.__esModule?a:l(a,"default",{value:n,enumerable:!0}),n),r(2651),r(5319),r(5126),r(1127);let m=void 0,y=new Map,b=e=>y.get(e),g=(e,t)=>{y.set(e,t)}},4786:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{_withStableStyle:()=>f}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(2265),u=r(1127),c=r(2281);let f=(e,t)=>(0,s.forwardRef)((r,n)=>{let{_expressions:o=[],...a}=r,i=(0,u.useTheme)();return(0,c.jsx)(e,{ref:n,style:t(i,o),...a})})},2651:function(e,t,r){let n,o,a;var i=Object.defineProperty,l=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.prototype.hasOwnProperty,c={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(c,{configListeners:()=>j,devConfig:()=>a,getConfig:()=>m,getFont:()=>_,getThemes:()=>w,getToken:()=>h,getTokenObject:()=>g,getTokenValue:()=>O,getTokens:()=>b,onConfiguredOnce:()=>P,setConfig:()=>p,setConfigFont:()=>d,setTokens:()=>y,setupDev:()=>x,updateConfig:()=>S,useTokens:()=>v}),e.exports=((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of s(t))u.call(e,o)||o===r||i(e,o,{get:()=>t[o],enumerable:!(n=l(t,o))||n.enumerable});return e})(i({},"__esModule",{value:!0}),c);var f=r(5527);let p=e=>{n=e},d=(e,t,r)=>{n.fonts[e]=t,n.fontsParsed[`$${e}`]=r},m=()=>{if(!n)throw Error("Err0");return n};function y(e){o=e}let b=({prefixed:e}={})=>{let{tokens:t,tokensParsed:r}=n;return!1===e?t:!0===e?r:o},g=(e,t)=>n.specificTokens[e]??(t?o[t]?.[e]:o[Object.keys(o).find(t=>o[t][e])||""]?.[e]),h=(e,t,r=f.isWeb)=>{let n=g(e,t);return r?n?.variable:n?.val},O=(e,t)=>{if(!("unset"===e||"auto"===e))return h(e,t,!1)},v=b,w=()=>n.themes,j=new Set,P=e=>{n?e(n):j.add(e)},S=(e,t)=>{Object.assign(n[e],t)},_=e=>{let t=m();return t.fontsParsed[e]??Object.entries(t.fontsParsed).find(([r])=>t.fontsParsed[r]?.family?.val===e)?.[1]};function x(e){}},6414:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{accessibilityDirectMap:()=>i,accessibilityWebRoleToNativeRole:()=>c,nativeAccessibilityState:()=>u,nativeAccessibilityValue:()=>s,webToNativeAccessibilityDirectMap:()=>l}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let i={};{let e={Hidden:!0,ActiveDescendant:!0,Atomic:!0,AutoComplete:!0,Busy:!0,Checked:!0,ColumnCount:"colcount",ColumnIndex:"colindex",ColumnSpan:"colspan",Current:!0,Details:!0,ErrorMessage:!0,Expanded:!0,HasPopup:!0,Invalid:!0,Label:!0,Level:!0,Modal:!0,Multiline:!0,MultiSelectable:!0,Orientation:!0,Owns:!0,Placeholder:!0,PosInSet:!0,Pressed:!0,RoleDescription:!0,RowCount:!0,RowIndex:!0,RowSpan:!0,Selected:!0,SetSize:!0,Sort:!0,ValueMax:!0,ValueMin:!0,ValueNow:!0,ValueText:!0};for(let t in e){let r=e[t];!0===r&&(r=t.toLowerCase()),i[`accessibility${t}`]=`aria-${r}`}}let l=null,s=null,u=null,c=null},1267:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{FONT_DATA_ATTRIBUTE_NAME:()=>s,THEME_CLASSNAME_PREFIX:()=>l,THEME_NAME_SEPARATOR:()=>i,stackDefaultStyles:()=>u,webViewFlexCompatStyles:()=>c}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let i="_",l="t_",s="data-tamagui-font",u={},c={display:"flex",alignItems:"stretch",flexDirection:"column",flexBasis:"auto",boxSizing:"border-box",position:"relative",minHeight:0,minWidth:0,flexShrink:0};Object.assign(u,c)},4920:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{isDevTools:()=>i}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let i=!1},458:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{ComponentContext:()=>s}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);let s=(0,r(1480).createStyledContext)({disableSSR:void 0,inText:!1,language:null,animationDriver:null,groups:{emit:null,subscribe:null,state:{}}})},3397:function(e,t,r){let n,o,a,i,l;var s=r(357),u=Object.create,c=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,d=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,y=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of p(t))m.call(e,o)||o===r||c(e,o,{get:()=>t[o],enumerable:!(n=f(t,o))||n.enumerable});return e},b={};((e,t)=>{for(var r in t)c(e,r,{get:t[r],enumerable:!0})})(b,{Spacer:()=>B,Unspaced:()=>H,createComponent:()=>W,isDisabled:()=>q,mouseUps:()=>V,spacedChildren:()=>U,subscribeToContextGroup:()=>J,useComponentState:()=>L}),e.exports=y(c({},"__esModule",{value:!0}),b);var g=r(428),h=r(5527),O=r(4267),v=r(2513),w=(l=null!=(a=r(2265))?u(d(a)):{},y(!i&&a&&a.__esModule?l:c(l,"default",{value:a,enumerable:!0}),a)),j=r(2651),P=r(1267),S=r(458),_=r(4044),x=r(4172),C=r(8047),T=r(7789),M=r(9761),E=(r(1631),r(8204)),N=r(3224),R=r(5126),$=r(1127),k=r(3227),A=r(588),D=r(8044),I=(r(843),r(4920),r(2281));let V=new Set;if("u">typeof document){let e=()=>{V.forEach(e=>e()),V.clear()};addEventListener("mouseup",e),addEventListener("touchend",e),addEventListener("touchcancel",e)}let L=(e,{animationDriver:t,groups:r},n,o)=>{var a;let i=t?.useAnimations,l=(0,w.useRef)({}),s=!!("animation"in e||e.style&&Object.keys(a=e.style).some(e=>{let t=a[e];return t&&"object"==typeof t&&"_animation"in t})),u=t?.supportsCSSVars,c=l.current,f=!!(s&&!n.isHOC&&i||c.hasAnimated),p=!h.isServer&&f;p&&!c.hasAnimated&&(c.hasAnimated=!0);let d=!!o?.disableSSR||(0,v.useDidFinishSSR)(),m=p&&!1!==e.animatePresence&&t?.usePresence?.()||null,y=m?.[2],b=y?.isPresent===!1,g=y?.isPresent===!0&&!1!==y.initial,O=!!e.enterStyle,j=s&&t?.isReactNative,P=n.isReactNative,S=p;P||!j||n.isHOC||d||(S=!1,c.willHydrate=!0);let _=!d||!c.host,T=O||g?_?x.defaultComponentStateShouldEnter:x.defaultComponentState:x.defaultComponentStateMounted,E=q(e);null!=E&&(T.disabled=E);let N=(0,w.useState)(T),R=e.forceStyle?{...N[0],[e.forceStyle]:!0}:N[0],$=N[1];E!==R.disabled&&(R.disabled=E,E&&Object.assign(R,x.defaultComponentStateMounted),$({...R}));let k=(0,C.createShallowSetState)($,E,e.debug);if(d&&"should-enter"===R.unmounted&&(R.unmounted=!0),y&&S&&d&&n.variants){let{enterVariant:t,exitVariant:r,enterExitVariant:o,custom:a}=y;(0,M.isObj)(a)&&Object.assign(e,a);let i=r??o,l=t??o;R.unmounted&&l&&n.variants[l]?e[l]=!0:b&&i&&(e[i]=r!==o)}let A=!!(!h.isWeb||S&&!u||!n.acceptsClassName||e.disableClassName&&d),D=e.group;if(D&&!c.group){let e=new Set;c.group={listeners:e,emit(t,r){e.forEach(e=>e(t,r))},subscribe:t=>(e.add(t),()=>{e.delete(t)})}}if(D){let e=r.state,t=k;k=r=>{t(r),c.group.emit(D,{pseudo:r});let n={...e[D],...r};e[D]=n}}return{curStateRef:c,disabled:E,groupName:D,hasAnimationProp:s,hasEnterStyle:O,isAnimated:S,isExiting:b,isHydrated:d,presence:m,presenceState:y,setState:$,setStateShallow:k,shouldAvoidClasses:A,state:R,stateRef:l,supportsCSSVars:u,willBeAnimated:p,willBeAnimatedClient:f}},F={value:!1};function W(e){let{componentName:t}=e,r=null,a=e.defaultProps;(0,j.onConfiguredOnce)(e=>{if(r=e,t){let r=e.defaultProps?.[t];r&&(a={...r,...a})}});let{Component:i,isText:l,isZStack:u,isHOC:c,validStyles:f={},variants:p={}}=e,d=(0,w.forwardRef)((t,d)=>{let m,y,b,v,P;let C=(0,w.useContext)(S.ComponentContext),{context:M,isReactNative:N}=e;if(M){b=(0,w.useContext)(M);let{inverseShorthands:e}=(0,j.getConfig)();for(let r in M.props){let n=t[r]??t[e[r]]??a?.[r]??a?.[e[r]];void 0===n?b&&(r in f||r in p)&&((m||={})[r]=b[r]):(y||={})[r]=n}}let W=m?{...a,...m}:a,H=t;W&&(H=(0,E.mergeProps)(W,t));let B=H.debug,X=H.componentName||e.componentName;s.env.TAMAGUI_IS_CORE_NODE;let K=C.animationDriver,G=K?.useAnimations,{curStateRef:q,disabled:Z,groupName:Q,hasAnimationProp:ee,hasEnterStyle:et,isAnimated:er,isExiting:en,isHydrated:eo,presence:ea,presenceState:ei,setState:el,setStateShallow:es,shouldAvoidClasses:eu,state:ec,stateRef:ef,supportsCSSVars:ep,willBeAnimated:ed,willBeAnimatedClient:em}=L(H,C,e,r),ey=!!t.forceStyle,eb=eu||ey,eg=!!(h.isWeb&&l&&C.inText),eh=!i||"string"==typeof i,eO=H.tag,ev=h.isWeb&&eh&&eO||i,ew=l?n||ev||"span":o||ev||(eg?"span":"div");K&&er&&(ew=K[l?"Text":"View"]||ew);let ej=H["data-disable-theme"]||c;H.themeShallow&&(q.themeShallow=!0);let eP={name:H.theme,componentName:X,disable:ej,shallow:q.themeShallow,inverse:H.themeInverse,debug:B};"boolean"==typeof q.isListeningToTheme&&(eP.shouldUpdate=()=>ef.current.isListeningToTheme);let[eS,e_]=(0,$.useThemeWithState)(eP);ew=i||ew;let ex=(0,R.useMedia)(ef,C);(0,_.setDidGetVariableValue)(!1);let eC={mediaState:ex,noClassNames:eb,resolveValues:er&&!ep||c&&!1==ec.unmounted&&ee?"value":"auto",isExiting:en,isAnimated:er},eT=(0,T.useSplitStyles)(H,e,e_,eS?.state?.name||"",ec,eC,null,C,ew,B);H.group&&"hide"===H.untilMeasured&&!q.hasMeasured&&(eT.style||={},eT.style.opacity=0),q.isListeningToTheme=eT.dynamicThemeAccess;let eM=eT.hasMedia&&Array.isArray(eT.hasMedia),eE=(0,_.didGetVariableValue)()||eM||eb&&!0===eT.hasMedia,eN=eM?eT.hasMedia:null;(0,R.setMediaShouldUpdate)(ef,{enabled:eE,keys:eN});let{viewProps:eR,pseudos:e$,style:ek,classNames:eA,space:eD}=eT,eI=H,{asChild:eV,children:eL,themeShallow:eF,spaceDirection:eW,onPress:ez,onLongPress:eH,onPressIn:eB,onPressOut:eU,onHoverIn:eX,onHoverOut:eK,onMouseUp:eG,onMouseDown:eY,onMouseEnter:eq,onMouseLeave:eJ,onFocus:eZ,onBlur:eQ,separator:e0,forceStyle:e1,onClick:e2,theme:e5,defaultVariants:e4,...e3}=eR,e7=e3;if(!eh&&H.forceStyle&&(e7.forceStyle=H.forceStyle),c&&e5&&(e7.theme=e5),ew.acceptTagProp&&(e7.tag=eO),(ep?em:ed)&&G&&!c){let t=G({props:eI,style:ek||{},presence:ea,componentState:ec,styleProps:eC,theme:eS.state?.theme,pseudos:e$||null,staticConfig:e,stateRef:ef});(er||ep)&&t&&(v=t.style,e7.style=v)}Q&&(e3.onLayout=(0,O.composeEventHandlers)(e3.onLayout,e=>{ef.current.group.emit(Q,{layout:e.nativeEvent.layout}),ef.current.hasMeasured||"hide"!==H.untilMeasured||el(e=>({...e})),ef.current.hasMeasured=!0})),e7=k.hooks.usePropsTransform?.(ew,e3,ef,q.willHydrate)||e3,q.composedRef||(q.composedRef=(0,g.composeRefs)(e=>ef.current.host=e,d)),e7.ref=q.composedRef;let{pseudoGroups:e6,mediaGroups:e8}=eT;q.unPress||(q.unPress=()=>es({press:!1,pressIn:!1}));let e9=q.unPress;(0,w.useEffect)(()=>{if(Z)return;if(ec.unmounted){es({unmounted:!1});return}let e=J({disabled:Z,componentContext:C,setStateShallow:es,state:ec,mediaGroups:e8,pseudoGroups:e6});return()=>{e?.(),V.delete(e9)}},[Z,e6?Object.keys([...e6]).join(""):0,e8?Object.keys([...e8]).join(""):0]);let te=!Z&&eb&&e$?.pressStyle,tt=!Z&&eb&&e$?.focusStyle,tr=!Z&&eb&&e$?.focusVisibleStyle,tn=!!(te||tt||tr||eZ||eQ),to=!!(Q||te||ez||eU||eB||eY||eG||eH||e2||e$?.focusVisibleStyle),ta=!Z&&eb&&e$?.hoverStyle,ti=!!(Q||ta||eX||eK),tl=h.isWeb&&!!(Q||ti||eq||eJ),ts=!Z&&!H.asChild&&!!(tn||to||tl||te||ta||tt),tu=!!(Q||te),tc=ts?{onPressOut:to?e=>{e9(),eU?.(e),eG?.(e)}:void 0,...(tl||to)&&{onMouseEnter:e=>{let t={};ti&&(t.hover=!0),tu&&ec.pressIn&&(t.press=!0),es(t),eX?.(e),eq?.(e)},onMouseLeave:e=>{let t={};V.add(e9),ti&&(t.hover=!1),tu&&ec.pressIn&&(t.press=!1,t.pressIn=!1),es(t),eK?.(e),eJ?.(e)}},onPressIn:to?e=>{(te||Q)&&es({press:!0,pressIn:!0}),eB?.(e),eY?.(e),h.isWeb&&V.add(e9)}:void 0,onPress:to?e=>{e9(),h.isWeb&&e2?.(e),ez?.(e),eH?.(e)}:void 0,...tn&&{onFocus:e=>{e$?.focusVisibleStyle?setTimeout(()=>{es({focus:!0,focusVisible:!!F.value})},0):es({focus:!0,focusVisible:!1}),eZ?.(e)},onBlur:e=>{es({focus:!1,focusVisible:!1}),eQ?.(e)}}}:null;tc&&!N&&Object.assign(e7,z(tc)),k.hooks.useEvents?.(e7,tc,eT,es,e);let tf=H.spaceDirection||"both",tp=!eL||eV?eL:U({separator:e0,children:eL,space:eD,direction:tf,isZStack:u,debug:B});eV&&(ew=A.Slot,Object.assign(e7,z({onPress:ez,onLongPress:eH,onPressIn:eB,onPressOut:eU,onMouseUp:eG,onMouseDown:eY,onMouseEnter:eq,onMouseLeave:eJ},"web"===eV||"except-style-web"===eV))),k.hooks.useChildren&&(P=k.hooks.useChildren(ew,tp,e7,tc,e)),tp=P||(0,w.createElement)(ew,e7,tp);let td=r?.animations?.ResetPresence;td&&ed&&(et||ei)&&tp&&"string"!=typeof tp&&(tp=(0,I.jsx)(td,{children:tp}));let tm=q.group,ty=(0,w.useMemo)(()=>{if(!(!tm||!Q))return tm.listeners.clear(),{...C.groups,state:{...C.groups.state,[Q]:{pseudo:x.defaultComponentStateMounted,layout:{width:Y(eT.style?.width),height:Y(eT.style?.height)}}},emit:tm.emit,subscribe:tm.subscribe}},[Q]);if(Q&&ty&&(tp=(0,I.jsx)(S.ComponentContext.Provider,{...C,groups:ty,children:tp})),tp=ej?tp:(0,D.getThemedChildren)(eS,tp,eP,!1),N&&!eV&&(tp=(0,I.jsx)("span",{className:"_dsp_contents",...eo&&tc&&z(tc),children:tp})),e.context){let t=e.context.props;for(let e in t)(e7.style&&e in e7.style||e in e7)&&((y||={})[e]=e7.style?.[e]??e7[e])}if(y){let t=e.context.Provider;tp=(0,I.jsx)(t,{...b,...y,children:tp})}return tp});e.componentName&&(d.displayName=e.componentName);let m=d;function y(t){return{...e,...t,neverFlatten:!0,isHOC:!0,isStyledHOC:!1}}function b(e,t){let r=e.render?.length===2?e:(0,w.forwardRef)(e),n=y(t?.staticConfig);return r=t?.disableTheme?r:(0,N.themeable)(r,n),s.env.TAMAGUI_MEMOIZE_STYLEABLE&&(r=(0,w.memo)(r)),r.staticConfig=n,r.styleable=b,r}return(s.env.TAMAGUI_FORCE_MEMO||e.memo)&&(m=(0,w.memo)(m)),m.staticConfig=e,m.extractable=function(e,t){return e.staticConfig=y(t),e.styleable=b,e},m.styleable=b,m}function z(e,t=!0){return{onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,[t?"onClick":"onPress"]:e.onPress,onMouseDown:e.onPressIn,onMouseUp:e.onPressOut,onTouchStart:e.onPressIn,onTouchEnd:e.onPressOut,onFocus:e.onFocus,onBlur:e.onBlur}}function H(e){return e.children}h.isWeb&&globalThis.document&&(document.addEventListener("keydown",()=>{F.value=!0}),document.addEventListener("mousedown",()=>{F.value=!1}),document.addEventListener("mousemove",()=>{F.value=!1})),H.isUnspaced=!0;let B=W({acceptsClassName:!0,memo:!0,componentName:"Spacer",validStyles:O.validStyles,defaultProps:{...P.stackDefaultStyles,tag:"span",size:!0,pointerEvents:"none"},variants:{size:{"...":(e,{tokens:t})=>{e=!0===e?"$true":e;let r=t.space[e]??e;return{width:r,height:r,minWidth:r,minHeight:r}}},flex:{true:{flexGrow:1}},direction:{horizontal:{height:0,minHeight:0},vertical:{width:0,minWidth:0},both:{}}}});function U(e){let{isZStack:t,children:r,space:n,direction:o,spaceFlex:a,separator:i}=e,l=!!(n||a),s=null!=i;if(!(l||s||t))return r;let u=w.Children.toArray(r);if(u.length<=1&&!t&&!u[0]?.type?.shouldForwardSpace)return u;let c=[];for(let[e,r]of u.entries()){let s=null==r||Array.isArray(r)&&0===r.length;if(!s&&w.default.isValidElement(r)&&r.type?.shouldForwardSpace&&(r=w.default.cloneElement(r,{space:n,spaceFlex:a,separator:i,key:r.key})),s||!r||r.key&&!t?c.push(r):c.push((0,I.jsx)(w.Fragment,{children:t?(0,I.jsx)(G,{children:r}):r},e)),K(r)&&0===e||t)continue;let f=u[e+1];f&&!K(f)&&(i?(l&&c.push(X({key:`_${e}_00tmgui`,direction:o,space:n,spaceFlex:a})),c.push(w.default.isValidElement(i)?w.default.cloneElement(i,{key:`sep_${e}`}):i),l&&c.push(X({key:`_${e}01tmgui`,direction:o,space:n,spaceFlex:a}))):c.push(X({key:`_${e}02tmgui`,direction:o,space:n,spaceFlex:a})))}return c}function X({key:e,direction:t,space:r,spaceFlex:n}){return(0,I.jsx)(B,{size:r,direction:t,..."u">typeof n&&{flex:!0===n?1:!1===n?0:n}},e)}function K(e){let t=e?.type;return t?.isVisuallyHidden||t?.isUnspaced}let G=W({defaultProps:{...P.stackDefaultStyles,flexDirection:"column",position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"box-none"}}),Y=e=>"string"!=typeof e?e:+e.replace("px",""),q=e=>e.disabled||e.accessibilityState?.disabled||e["aria-disabled"]||e.accessibilityDisabled||!1,J=({disabled:e=!1,setStateShallow:t,pseudoGroups:r,mediaGroups:n,componentContext:o,state:a})=>{if(r||n){let e={pseudo:{},media:{}};return o.groups?.subscribe((o,{layout:i,pseudo:l})=>{if(l&&r?.has(String(o)))Object.assign(e.pseudo,l),s();else if(i&&n){let t=Object.fromEntries([...n].map(e=>[e,(0,R.mediaKeyMatch)(e,i)])),r=C.mergeIfNotShallowEqual(e.media,t);r!==e.media&&(Object.assign(e.media,r),s())}function s(){t({group:{...a.group,[o]:e}})}})}}},3620:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{createFont:()=>s}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let i=["100","200","300","400","500","600","700","800","900"],l=(e,t,r)=>{if("string"==typeof e)return e;let n=Object.keys(e),o=e[n[0]];return Object.fromEntries([...new Set([...t,...n])].map(t=>{let n=e[t]??r??o;return o=n,r=n,[t,n]}))},s=e=>{let t=Object.keys(e.size);return Object.freeze(Object.fromEntries(Object.entries(e).map(([r,n])=>[r,l(n,"face"===r?i:t,"face"===r?{normal:e.family}:void 0)])))}},1968:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};function i(e){return Object.freeze(e)}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{createShorthands:()=>i}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a)},7712:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{createTamagui:()=>O}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(5527),u=r(2651),c=r(8912),f=r(8823),p=r(5319),d=r(5087),m=r(685),y=r(1223),b=r(5126),g=r(9299);r(8126);let h=new WeakMap;function O(e){let t;if(h.has(e))return e;let r={},n=(0,c.createVariables)(e.tokens||{});if(e.tokens){let e={};for(let t in n){r[t]={},e[t]={};let o=n[t];for(let n in o){let a=o[n],i=`$${n}`;r[t][i]=a,e[t][i]=a,e[t][n]=a}}(0,u.setTokens)(e)}if(e.themes){let n=0===Object.keys(e.themes).length;t=(0,p.scanAllSheets)(n,r)}(0,p.listenForSheetChanges)();let o=null,a;if(e.fonts){let t=Object.fromEntries(Object.entries(e.fonts).map(([e,t])=>[e,(0,c.createVariables)(t,"f",!0)]));a=(()=>{let e={};for(let r in t){let n=t[r],a=(0,g.parseFont)(n);e[`$${r}`]=a,!o&&a.size&&(o=new Set(Object.keys(a.size)))}return e})()}let i={},l=(()=>{let r=[],o=[],l={};for(let e in n)for(let t in n[e]){let r=n[e][t];i[`$${e}.${t}`]=r,s.isWeb&&((0,m.registerCSSVariable)(r),o.push((0,m.variableToCSS)(r,"zIndex"===e)))}if(s.isWeb){let t=function(e,t=""){return`:root${t} {${n}${[...e].join(`;${n}`)}${n}}`};for(let e in a){let t=a[e],[r,n]=e.includes("_")?e.split("_"):[e],o=(0,g.registerFontVariables)(t);l[e]={name:r.slice(1),declarations:o,language:n}}let n=e.cssStyleSeparator||"";if(r.push(t(o)),l)for(let e in l){let{name:n,declarations:o,language:a="default"}=l[e],i=`.font_${n}`,s=`:root .t_lang-${n}-${a} ${i}`,u=t(o,"default"===a?` ${i}, ${s}`:s);r.push(u)}}let u={...e.themes},c=t??function(e){let t=[],r=new Map;for(let n in e){let o=n.startsWith("dark")?"dark":n.startsWith("light")?"light":"",a=e[n],i=o+JSON.stringify(a);if(r.has(i)){r.get(i).names.push(n);continue}let l={...a};for(let e in l)(0,y.ensureThemeVariable)(l,e);let s={names:[n],theme:l};t.push(s),r.set(i,s)}return t}(u);return{themes:(0,d.proxyThemesToParents)(c),cssRuleSets:r,getThemeRulesSets(){let t=[];if(s.isWeb)for(let{names:r,theme:n}of c)t=[...t,...(0,f.getThemeCSSRules)({config:e,themeName:r[0],names:r,theme:n})];return t}}})(),O=e.shorthands||{},v=-1,w=(e={})=>{let{separator:t=` -`,sinceLastCall:r,exclude:n}=e;if(r&&v>=0){let e=(0,p.getAllRules)();return v=e.length,e.slice(v).join(t)}v=0;let o=(0,p.getAllRules)().join(t);return"design-system"===n?o:`._ovs-contain {overscroll-behavior:contain;} -.is_Text .is_Text {display:inline-flex;} -._dsp_contents {display:contents;} -${l.cssRuleSets.join(t)} -${n?"":l.getThemeRulesSets().join(t)} -${o}`},j=e.defaultFont||e.fonts&&("body"in e.fonts?"body":"");!j&&e.fonts&&(j=Object.keys(e.fonts)[0]),j?.[0]==="$"&&(j=j.slice(1));let P=`$${j}`,S={fonts:{},onlyAllowShorthands:!1,fontLanguages:[],animations:{},media:{},...e,unset:{fontFamily:e.defaultFont?P:void 0,...e.unset},settings:{webContainerType:"inline-size",...e.settings},tokens:n,shorthands:O,inverseShorthands:O?Object.fromEntries(Object.entries(O).map(([e,t])=>[t,e])):{},themes:l.themes,fontsParsed:a||{},themeConfig:l,tokensParsed:r,parsed:!0,getNewCSS:e=>w({...e,sinceLastCall:!0}),getCSS:w,defaultFont:P,fontSizeTokens:o||new Set,specificTokens:i};return(0,b.configureMedia)(S),(0,u.setConfig)(S),h.set(S,!0),u.configListeners.size&&(u.configListeners.forEach(e=>e(S)),u.configListeners.clear()),S}},6893:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{createTheme:()=>i}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let i=e=>e},4801:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{createTokens:()=>u}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(8912);function u(e){return(0,s.createVariables)(e)}},4044:function(e,t,r){var n=r(357),o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,s={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(s,{createCSSVariable:()=>S,createVariable:()=>m,didGetVariableValue:()=>v,getVariable:()=>g,getVariableName:()=>j,getVariableValue:()=>w,getVariableVariable:()=>P,isVariable:()=>b,setDidGetVariableValue:()=>O,variableToString:()=>y}),e.exports=((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))l.call(e,s)||s===r||o(e,s,{get:()=>t[s],enumerable:!(n=a(t,s))||n.enumerable});return e})(o({},"__esModule",{value:!0}),s);var u=r(5527),c=r(4267),f=r(2651);let p="isVar";function d(e){return`var(--${n.env.TAMAGUI_CSS_VARIABLE_PREFIX||""}${e})`}let m=(e,t=!1)=>{if(!t&&b(e))return e;let{key:r,name:n,val:o}=e;return{[p]:!0,key:r,name:t?"":(0,c.simpleHash)(n,40),val:o,variable:u.isWeb?t?d(n):S(n):""}};function y(e,t=!1){return b(e)?!t&&u.isWeb&&e.variable?e.variable:`${e.val}`:`${e||""}`}function b(e){return e&&"object"==typeof e&&p in e}function g(e){return(O(!0),b(e))?y(e):y((0,f.getConfig)().tokensParsed[e]??e)}let h=!1,O=e=>h=e,v=()=>h;function w(e){return b(e)?(O(!0),e.val):e}function j(e){return b(e)?e.name:e}function P(e){return b(e)?e.variable:e}let S=(e,t=!0)=>{let r=(0,c.simpleHash)(e,60);return t?d(r):r}},8912:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{createVariables:()=>f}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(4267),u=r(4044);let c=new WeakMap,f=(e,t="",r=!1)=>{if(c.has(e))return e;let n={},o=0;for(let a in e){o++;let i=e[a],l="$"===a[0],c=l?a:`$${a}`,p=l?c.slice(1):a;if((0,u.isVariable)(i)){n[p]=i;continue}let d=(0,s.simpleHash)(p),m=r?d.slice(0,2):o;if(m=t?`${t}-${m}`:d,i&&"object"==typeof i){n[p]=f(e[p],m,!1);continue}let y=(0,u.isVariable)(i)?i:(0,u.createVariable)({val:i,name:m,key:c});n[p]=y}return c.set(n,!0),n}},4172:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{defaultComponentState:()=>i,defaultComponentStateMounted:()=>l,defaultComponentStateShouldEnter:()=>s}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let i={hover:!1,press:!1,pressIn:!1,focus:!1,focusVisible:!1,unmounted:!0,disabled:!1},l={...i,unmounted:!1},s={...i,unmounted:"should-enter"}},9475:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{ThemeManager:()=>m,getHasThemeUpdatingProps:()=>p,getManagers:()=>b}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(5527),u=r(2651),c=r(1267);let f={name:""};function p(e){return!!(e.name||e.componentName||e.inverse||e.reset)}let d=0;class m{constructor(e={},t){if(this.props=e,d=(d+1)%Number.MAX_VALUE,this.id=d,"root"===t){this.updateStateFromProps(e,!1);return}if(!t)throw"❌ 000";if(this.parentManager=t,!this.updateStateFromProps(e,!1))return t}id=0;themeListeners=new Set;parentManager=null;state=f;updateStateFromProps(e=this.props||{},t=!0){if(this.props=e,e.forceTheme)return this.state.theme=e.forceTheme,this.state.name=e.name||"",this.updateState(this.state,!0),this.state;let r=this.getStateIfChanged(e);if(r)return this.updateState(r,t),r}updateState(e,t=!0){this.state=e,this._allKeys=null,t&&queueMicrotask(()=>{this.notify()})}getStateIfChanged(e=this.props,t=this.state,r=this.parentManager){let n=this.getState(e,r);return t&&t!==f&&!n?r?.state:this.getStateShouldChange(n,t)?n:void 0}getStateShouldChange(e,t=this.state){return!(!e?.theme||e.theme===t?.theme)}getState(e=this.props,t=this.parentManager){return function(e,t){if(e.name&&e.reset)throw Error("❌004");if(!p(e))return null;let r=(0,u.getThemes)(),[n,o]=b(t),a=!!t?.state.isComponent,i=e.reset&&!a?1:0,l=n[i],f=n[i+1];if(!l&&e.reset)return null;let{componentName:d}=e,m=null,g=l?.state.name||"";l?.state.isComponent&&(g=g.replace(/_[A-Z][A-Za-z]+/,""));let h=e.reset?g:e.name||"",O=o.map(e=>e?.state.name||"");a&&O.shift();let v=g.split(c.THEME_NAME_SEPARATOR),w=v.length,j=e.componentName&&!h?w:0;for(let t=w;t>=j;t--){let n=v.slice(0,t).join(c.THEME_NAME_SEPARATOR);e.inverse&&(n=y(n));let o=[];if(n&&n!==g&&n.includes(h)&&o.push(n),h&&o.unshift(n?`${n}_${h}`:h),1===t){let e=o.findIndex(e=>!e.includes("_"));e>0&&o.splice(e,0,h)}if(d&&!e.reset){let e=v.length,r=[];if(h&&e>1){let e=v[0];r.push(`${e}_${h}_${d}`)}if(r.push(`${n}_${d}`),h){if(t>e){let e=v.slice(0,t-1).join(c.THEME_NAME_SEPARATOR);if(e){let t=`${e}_${h}_${d}`;r.unshift(t)}}let o=`${n}_${h}_${d}`;r.unshift(o)}o=[...r,...o,...O]}let a=o.find(e=>e in r);if(a){let e=a.split("_"),[t,...n]=e,o=e[e.length-1],i=o[0]===o[0].toUpperCase(),u="light"===t?"light":"dark"===t?"dark":void 0,p=c.THEME_CLASSNAME_PREFIX,d=s.isWeb?`${p}sub_theme ${p}${u&&n.length?n.join("_"):t}`:"";m={name:a,parentName:(l||f)?.state?.name,theme:r[a],className:d,isComponent:i,scheme:u};break}}return m}(e,t)||null}_allKeys=null;get allKeys(){return this._allKeys||=new Set([...this.parentManager?.allKeys||[],...Object.keys(this.state.theme||{})]),this._allKeys}notify(e=!1){this.themeListeners.forEach(t=>t(this.state.name,this,e))}onChangeTheme(e,t){return this.themeListeners.add(e),()=>{this.themeListeners.delete(e)}}}let y=e=>e.startsWith("light")?e.replace(/^light/,"dark"):e.replace(/^dark/,"light");function b(e){let t=[],r=[],n=e;for(;n;)r.push(n),n.state.isComponent&&t.push(n),n=n.parentManager;return[r,t]}},4195:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{ThemeManagerIDContext:()=>s}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);let s=(0,r(2265).createContext)(1)},10:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{MEDIA_SEP:()=>f,createMediaStyle:()=>y}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(2651),u=r(5126),c=r(1707);let f="_",p=null,d=null,m={press:"active"},y=(e,t,r,n,o,a)=>{let{property:i,identifier:l,rules:y}=e,b=(0,s.getConfig)(),g=b.settings.mediaPropOrder,h="theme"===n,O="group"===n,v=h||"platform"===n||O,w=l.slice(0,l.indexOf("-")+1),j=`${w}${f}${t.replace("-","")}${o?"0":""}${f}`,P="",S,_,x=l.replace(w,j),C=y.map(e=>e.replace(l,x)).join(";");if(v){let e=Array((a||0)+(O?1:0)).fill(":root").join("");if(h||O){let r=(0,c.getGroupPropParts)(t),n=r?.name;S=r?.media,O&&(_=n);let o=C.indexOf(":root"),a=C.lastIndexOf("{"),i=C.slice(o,a),l=b.themeClassNameOnRoot&&h?"":" ",s=r.pseudo?m[r.pseudo]||r.pseudo:void 0,u=s?`:${s}`:"",f=`:root${e}${l}`,p=`.t_${(O?"group_":"")+n}${u}`,d=`${f}${p} ${i.replace(":root","")}`;P=C.replace(i,d)}else P=`${e}${C}`}if(!v||S){if(!d){let e=Object.keys(r);d=Object.fromEntries(e.map(e=>[e,(0,u.mediaObjectToString)(r[e])])),g||(p=Object.fromEntries(e.map((e,t)=>[e,Array(t+1).fill(":root").join("")])))}let e=S||t,n=d[e],i=`${o?"not all and ":""}${n}`,l=S?"":g?Array(a).fill(":root").join(""):p[e],s=S?`@container ${_}`:"@media";S&&(C=P),P=C.includes(s)?C.replace("{",` and ${i} {`).replace("and screen and","and"):`${s} ${i}{${l}${C}}`,S&&(P=`@supports (contain: ${b.settings.webContainerType||"inline-size"}) {${P}}`)}return{property:i,rules:[P],identifier:x}}},8047:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};function i(e,t,r){return n=>e(e=>l(e,n,t,r))}function l(e,t,r,n){return r||!e||!t||s(e,t)?e||t:{...e,...t}}function s(e,t){for(let r in t)if(e[r]!==t[r])return!1;return!0}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{createShallowSetState:()=>i,isEqualShallow:()=>s,mergeIfNotShallowEqual:()=>l}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a)},1480:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{createStyledContext:()=>f}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(2265),u=r(845),c=r(2281);function f(e){let t=(0,s.createContext)(e),r=t.Provider,n=new Map;return t.Provider=({children:t,scope:o,...a})=>{let i=(0,s.useMemo)(()=>({...e,...a}),[(0,u.objectIdentityKey)(a)]),l=r;if(o){let t=n.get(o);t||(t=(0,s.createContext)(e),n.set(o,t)),l=t.Provider}return(0,c.jsx)(l,{value:i,children:t})},t.props=e,t.context=t,t.useStyledContext=e=>{let r=e?n.get(e):t;return(0,s.useContext)(r)},t}},4332:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{defaultOffset:()=>i}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let i={height:0,width:0}},5228:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{expandStyle:()=>u}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(5527);function u(e,t){if("flex"===e)return[["flexGrow",t],["flexShrink",1],["flexBasis","auto"]];switch(e){case"textAlignVertical":return[["verticalAlign","center"===t?"middle":t]];case"writingDirection":return[["direction",t]]}if(e in m)return m[e].map(e=>[e,t])}let c=["Top","Right","Bottom","Left"],f=["Right","Left"],p=["Top","Bottom"],d=["X","Y"],m={borderColor:["TopColor","RightColor","BottomColor","LeftColor"],borderRadius:["TopLeftRadius","TopRightRadius","BottomRightRadius","BottomLeftRadius"],borderWidth:["TopWidth","RightWidth","BottomWidth","LeftWidth"],margin:c,marginHorizontal:f,marginVertical:p,overscrollBehavior:d,padding:c,paddingHorizontal:f,paddingVertical:p,...s.isWeb&&{borderStyle:["TopStyle","RightStyle","BottomStyle","LeftStyle"],overflow:d}};for(let e in m){let t=e.slice(0,/[A-Z]/.exec(e)?.index??e.length);m[e]=m[e].map(e=>`${t}${e}`)}},4038:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{fixStyles:()=>c}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(5527),u=r(2987);function c(e){for(let t in(null!=e.shadowRadius||e.shadowColor||null!=e.shadowOpacity||e.shadowOffset)&&Object.assign(e,(0,u.normalizeShadow)(e)),p)t in e&&(e[p[t]]||="solid")}let f=s.isWeb?null:"borderStyle",p={borderWidth:"borderStyle",borderBottomWidth:f||"borderBottomStyle",borderTopWidth:f||"borderTopStyle",borderLeftWidth:f||"borderLeftStyle",borderRightWidth:f||"borderRightStyle"}},9384:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{getExpandedShorthands:()=>u}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(2651);function u(e){let t=(0,s.getConfig)().shorthands;if(!t)return e;let r={};for(let n in e)r[t[n]||n]=e[n];return r}},1707:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{getGroupPropParts:()=>u}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(5126);function u(e){let t=(0,s.getMedia)(),[r,n,o,a]=e.split("-"),i=o in t?o:void 0;return{name:n,pseudo:i?a:o,media:i}}},7789:function(e,t,r){let n;var o=r(357),a=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,u={};((e,t)=>{for(var r in t)a(e,r,{get:t[r],enumerable:!0})})(u,{PROP_SPLIT:()=>C,getSplitStyles:()=>M,getSubStyle:()=>R,useSplitStyles:()=>k}),e.exports=((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of l(t))s.call(e,o)||o===r||a(e,o,{get:()=>t[o],enumerable:!(n=i(t,o))||n.enumerable});return e})(a({},"__esModule",{value:!0}),u);var c=r(5527),f=r(4267),p=r(2265),d=r(2651),m=r(6414),y=r(1267),b=(r(4920),r(5126)),g=r(10),h=r(4038),O=r(1707),v=r(2216),w=r(5319),j=(r(1631),r(6931)),P=r(364),S=r(7462),_=r(1464),x=r(5871);let C="-";function T(e,t){return(t.validStyles||(t.isText||t.isInput?f.stylePropsText:f.validStyles))[e]||t.accept?.[e]}let M=(e,t,r,o,a,i,l,s,u,p,M)=>{n=n||(0,d.getConfig)(),c.isWeb&&i.isAnimated&&n.animations.isReactNative&&!i.noNormalize&&(i.noNormalize="values");let{shorthands:$}=n,{isHOC:k,isText:D,isInput:V,variants:W,isReactNative:U,inlineProps:X,inlineWhenUnflattened:K,parentStaticConfig:G,acceptsClassName:Y}=t,q={},J=i.mediaState||b.mediaState,Z={},Q=Y&&c.isWeb&&!i.noClassNames,ee=[],et={},er={},en=null,eo=e.space,ea=!1,ei,el,es,eu=(e.className,0),ec={curProps:{},classNames:et,conf:n,props:e,styleProps:i,componentState:a,staticConfig:t,style:null,theme:r,usedKeys:Z,viewProps:q,context:s,debug:p,skipThemeTokenResolution:M};for(let r in e){let l=r,p=e[r];if(t.accept&&("style"===t.accept[l]||"textStyle"===t.accept[l])&&"object"==typeof p){let e=R(ec,l,p,i.noClassNames);q[l]=e;continue}if(i.disableExpandShorthands||l in $&&(l=$[l]),"className"===l||l in Z||e.asChild&&y.webViewFlexCompatStyles[l]===p)continue;if(l in _.skipProps&&!i.noSkip&&!k){if("group"===l){let e=`t_group_${p}`,t=n.settings.webContainerType||"inline-size";A(ee,{identifier:e,property:"container",rules:[`.${e} { container-name: ${p}; container-type: ${t}; }`]})}continue}let d=typeof p,h=T(l,t);if(h&&"string"===d&&"_"===p[0]){let e=l in f.validStyles,t=!e&&l.includes(C)&&f.validStyles[l.split(C)[0]];if(e||t){Q?(E(er,et,l,p,t),ec.style&&delete ec.style[l]):(ec.style||={},ec.style[l]=(0,j.reverseMapClassNameToValue)(l,p),delete et[l]);continue}}if(p!==e[l]&&(ec.curProps[l]=p),"dataSet"===l){for(let e in p)q[`data-${L(e)}`]=p[e];continue}if(!i.noExpand){if("disabled"===l&&!0===p&&(q["aria-disabled"]=!0,("button"===u||"form"===u||"input"===u||"select"===u||"textarea"===u)&&(q.disabled=!0),!W?.disabled))continue;if("testID"===l){q[U?l:"data-testid"]=p;continue}if("id"===l||"nativeID"===l){q.id=p;continue}let e=!1;if(U){if(l in m.accessibilityDirectMap||l.startsWith("accessibility")){q[l]=p;continue}}else{if(e=!0,l in m.accessibilityDirectMap){q[m.accessibilityDirectMap[l]]=p;continue}switch(l){case"accessibilityRole":"none"===p?q.role="presentation":q.role=z[p]||p;continue;case"accessibilityLabelledBy":case"accessibilityFlowTo":case"accessibilityControls":case"accessibilityDescribedBy":q[`aria-${l.replace("accessibility","").toLowerCase()}`]=Array.isArray(p)?p.join(" "):p;continue;case"accessibilityKeyShortcuts":Array.isArray(p)&&(q["aria-keyshortcuts"]=p.join(" "));continue;case"accessibilityLiveRegion":q["aria-live"]="none"===p?"off":p;continue;case"accessibilityReadOnly":q["aria-readonly"]=p,("input"===u||"select"===u||"textarea"===u)&&(q.readOnly=!0);continue;case"accessibilityRequired":q["aria-required"]=p,("input"===u||"select"===u||"textarea"===u)&&(q.required=p);continue;default:e=!1}}if(e)continue}let w=l in $,x=!h&&W&&l in W,M=w||h||x,F=l in f.validPseudoKeys,B=!M&&!F&&(0,b.isMediaKey)(l),K=!!(B||F);if(K&&l.startsWith("$group-")){let e=l.split("-")[1];s?.groups.subscribe&&!s?.groups.state[e]&&(l=l.replace("$group-","$group-true-"))}let Y=h||K||x&&!i.noExpand||w;if(Y&&("except-style"===e.asChild||"except-style-web"===e.asChild))continue;let ef=!Y||k&&G?.variants&&l in G.variants||X?.has(l),ep=G?.variants?.[l],ed=!!(k&&(w||h||K||ep||l in _.skipProps));if((ef||ed)&&(H(q,l,p,K),!x)||!i.noSkip&&l in _.skipProps)continue;(D||V)&&p&&("fontFamily"===l||l===$.fontFamily)&&p in n.fontsParsed&&(ec.fontFamily=p);let em=K||!x&&!h,ey=em?null:(0,P.propMapper)(l,p,ec);if(!em){if(!ey)continue;let e=(0,P.getPropMappedFontFamily)(ey);e&&(ec.fontFamily=e)}let eb=l,eg=p,eh=ey?ey.length:1;for(let r=0;r=(Z[t]||0)&&(en||={},en[eb]||={},en[eb][t]=r,N(ec,t,r))}if(!o)for(let e in eg){let t=$[e]||e;Z[t]=Math.max(l,Z[t]||0)}}continue}if(B){if(!eg)continue;if("platform"===B){let e=eb.slice(10);if(e!==c.currentPlatform&&"web"!==e)continue}ea||=!0;let e=eb.slice(1),t=eg.space;if((t||!Q)&&(Array.isArray(ea)||(ea=[]),ea.push(e)),Q){let r=R(ec,eb,eg,!1);if(t&&(delete r.space,J[e])){let t=(0,b.getMediaImportanceIfMoreImportant)(e,"space",Z,!0);t&&(eo=eg.space,Z.space=t)}let n=(0,v.getStylesAtomic)(r),o=eu;for(let t of(eu+=1,n)){let r=(0,g.createMediaStyle)(t,e,b.mediaQueryConfig,B,!1,o),n=`${t.property}${C}${e}${t.pseudo||""}`;n in Z||(A(ee,r),E(er,et,n,r.identifier,!0,!0))}}else{let t=R(ec,eb,eg,!0),r="theme"===B,n="group"===B;if(!r&&"platform"!==B&&!n&&!J[e])continue;let i=0;if(r){ei=!0;let t=e.slice(6);if(!(o===t||o.startsWith(t)))continue}else if(n){let t=(0,O.getGroupPropParts)(e),r=t.name,n=s?.groups.state[r];if(!n)continue;let o=t.pseudo,l=t.media,u=a.group?.[r];if(l){(es||=new Set).add(l);let e=u?.media,t=e?.[l];if(!e&&n.layout&&(t=(0,b.mediaKeyMatch)(l,n.layout)),!t)continue;i=2}if(o){if((el||=new Set).add(r),!(u||s.groups.state[r]).pseudo?.[o])continue;i=S.pseudoPriorities[o]}}for(let r in t){if("space"===r){eo=p.space;continue}ec.style||={},function(e,t,r,n,o,a,i){let l=(0,b.getMediaImportanceIfMoreImportant)(t,r,o,a);i&&(l=(l||0)+i),null!==l&&(o[r]=l,N(e,r,n))}(ec,e,r,t[r],Z,J[e],i),"fontFamily"===eb&&(ec.fontFamily=t.fontFamily)}}continue}if(!k&&T(eb,t)){N(ec,eb,eg);continue}x||(q[eb]=eg)}}}if(!1!==i.noNormalize&&(ec.style&&((0,h.fixStyles)(ec.style),c.isWeb&&!t.isReactNative&&(0,v.styleToCSS)(ec.style)),ec.flatTransforms&&(ec.style||={},Object.entries(ec.flatTransforms).sort(([e],[t])=>e.localeCompare(t)).forEach(([e,t])=>{F(ec.style,e,t,!0)})),l)){if(Q)for(let e in l.classNames){let t=l.classNames[e];ec.style&&e in ec.style||e in et||(et[e]=t)}if(!Q)for(let e in l.style)e in et||ec.style&&e in ec.style||(ec.style||={},ec.style[e]=l.style[e])}if(!i.noNormalize&&!t.isReactNative&&!t.isHOC&&(!i.isAnimated||n.animations.supportsCSSVars)&&Array.isArray(ec.style?.transform)&&(ec.style.transform=(0,x.transformsToString)(ec.style.transform)),ec.style&&Q){let t;if(!ec.style.$$css){for(let r of(0,v.getStylesAtomic)(ec.style)){let n=r.property,o=i.isAnimated&&i.noClassNames&&(!e.animateOnly||e.animateOnly.includes(n)),a=!o&&!i.isAnimated&&e.animateOnly?.includes(n);o?(t||={})[n]=ec.style[n]:a?(t||={})[n]=r.value:(A(ee,r),E(er,et,n,r.identifier,!1,!0))}ec.style=t||{}}if(er)for(let e in er){if(!er[e])continue;let[t,r]=er[e],n=`_transform${t}`;if(c.isClient&&!w.insertedTransforms[n]){let t=`.${n} { transform: ${r}; }`;A(ee,{identifier:n,rules:[t],property:e})}et[e]=n}}if(!U&&null==q.tabIndex){let t=q.focusable??q.accessible;q.focusable&&delete q.focusable;let r=q.role;!1===t&&(q.tabIndex="-1"),"a"===u||"button"===u||"input"===u||"select"===u||"textarea"===u?(!1===t||!0===e.accessibilityDisabled)&&(q.tabIndex="-1"):("button"===r||"checkbox"===r||"link"===r||"radio"===r||"textbox"===r||"switch"===r)&&!1!==t&&(q.tabIndex="0"),t&&(q.tabIndex="0",delete q.focusable)}let ef=e.style;if(ef){if(k)q.style=B(ef);else{let e=Array.isArray(ef),t=e?ef.length:1;for(let r=0;r{let{staticConfig:o,props:a,conf:i,styleProps:l}=e,s={};for(let u in r){let c=r[u];u=i.shorthands[u]||u;let p=(0,P.propMapper)(u,c,e,{...a,...a[t]});if(!(!p||!o.isHOC&&u in _.skipProps&&!l.noSkip))for(let[e,t]of p)!n&&e in f.stylePropsTransform?F(s,e,t):s[e]=l.noNormalize?t:(0,j.normalizeValueWithProperty)(t,u)}return l.noNormalize||(0,h.fixStyles)(s),s},$=c.isWeb?p.useInsertionEffect||c.useIsomorphicLayoutEffect:()=>{},k=(e,t,r,n,o,a,i,l,s,u)=>{let c=M(e,t,r,n,o,a,i,l,s,u);return $(()=>{(0,w.insertStyleRules)(c.rulesToInsert)},[c.rulesToInsert]),c};function A(e,t){(0,w.shouldInsertStyleRules)(t.identifier)&&((0,w.updateRules)(t.identifier,t.rules),e.push(t))}let D=o.env.TAMAGUI_DEFAULT_COLOR||"rgba(0,0,0,0)",I={...Object.fromEntries(Object.entries(f.tokenCategories.color).map(([e,t])=>[e,D])),opacity:1,scale:1,rotate:"0deg",rotateY:"0deg",rotateX:"0deg",x:0,y:0,borderRadius:0},V=e=>`-${e.toLowerCase()}`,L=e=>e.replace(/[A-Z]/g,V),F=(e,t,r,n=!1)=>{"string"!=typeof e.transform&&(e.transform||=[],e.transform[n?"unshift":"push"]({[W[t]||t]:r}))},W={x:"translateX",y:"translateY"},z={adjustable:"slider",header:"heading",image:"img",link:"link",none:"presentation",summary:"region"};function H(e,t,r,n=!1){if(n){let n={...e[t],...r};delete e[t],e[t]=n}else e[t]=r}function B(e){let t={};for(let r in e){let n=e[r];r in f.stylePropsTransform?F(t,r,n):t[r]=(0,j.normalizeValueWithProperty)(n,r)}return c.isWeb&&Array.isArray(t.transform)&&(t.transform=(0,x.transformsToString)(t.transform)),(0,h.fixStyles)(t),t}},2216:function(e,t,r){let n;var o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,s={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(s,{getStyleAtomic:()=>g,getStylesAtomic:()=>b,styleToCSS:()=>O}),e.exports=((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))l.call(e,s)||s===r||o(e,s,{get:()=>t[s],enumerable:!(n=a(t,s))||n.enumerable});return e})(o({},"__esModule",{value:!0}),s);var u=r(4267),c=r(2651),f=r(4332),p=r(6853),d=r(6931),m=r(7462),y=r(5871);function b(e){O(e);let t=[];for(let r in e){let n=e[r];if(r in m.pseudoDescriptors)n&&t.push(...g(n,m.pseudoDescriptors[r]));else{let n=h(e,r);n&&t.push(n)}}return t}let g=(e,t)=>{O(e);let r=[];for(let n in e){let o=h(e,n,t);o&&r.push(o)}return r},h=(e,t,r)=>{let o=e[t];if(null==o)return;"transform"===t&&Array.isArray(e.transform)&&(o=(0,y.transformsToString)(o));let a=(0,d.normalizeValueWithProperty)(o,t),i=(0,u.simpleHash)(`${a}`),l=r?`0${r.name}-`:"";n||=(0,c.getConfig)();let s=`_${n.inverseShorthands[t]||t}-${l}${i}`,f=function(e,t,r,n){let o=n?"disabled"===n.name?"[aria-disabled]":`:${n.name}`:"",a=n?n?.selector?`${n?.selector} .${e}`:`${S[n.name]} .${e}${o}`:`:root .${e}`,i=!!n,l=[];switch(t){case"placeholderTextColor":{let e=v([["color",r],["opacity",1]],i);l.push(`${a}::placeholder${e}`);break}case"backgroundClip":case"userSelect":{let e=`Webkit${t[0].toUpperCase()}${t.slice(1)}`,n=v([[t,r],[e,r]],i);l.push(`${a}${n}`);break}case"pointerEvents":{let e=r;"auto"===r||"box-only"===r?(e="auto","box-only"===r&&l.push(`${a}>*${x}`)):("none"===r||"box-none"===r)&&(e="none","box-none"===r&&l.push(`${a}>*${_}`));let t=v([["pointerEvents",e]],!0);l.push(`${a}${t}`);break}default:{let e=v([[t,r]],i);l.push(`${a}${e}`)}}return n?.name==="hover"&&(l=l.map(e=>`@media (hover) {${e}}`)),l}(s,t,a,r);return{property:t,pseudo:r?.name,identifier:s,rules:f,value:a}};function O(e){let{shadowOffset:t,shadowRadius:r,shadowColor:n,shadowOpacity:o}=e;if(r||n){let a=t||f.defaultOffset,i=(0,d.normalizeValueWithProperty)(a.width),l=(0,d.normalizeValueWithProperty)(a.height),s=(0,d.normalizeValueWithProperty)(r),u=(0,p.normalizeColor)(n,o),c=`${i} ${l} ${s} ${u}`;e.boxShadow=e.boxShadow?`${e.boxShadow}, ${c}`:c,delete e.shadowOffset,delete e.shadowRadius,delete e.shadowColor,delete e.shadowOpacity}let{textShadowColor:a,textShadowOffset:i,textShadowRadius:l}=e;if(a||i||l){let{height:t,width:r}=i||f.defaultOffset,n=l||0,o=(0,d.normalizeValueWithProperty)(a,"textShadowColor");if(o&&(0!==t||0!==r||0!==n)){let a=(0,d.normalizeValueWithProperty)(n),i=(0,d.normalizeValueWithProperty)(r),l=(0,d.normalizeValueWithProperty)(t);e.textShadow=`${i} ${l} ${a} ${o}`}delete e.textShadowColor,delete e.textShadowOffset,delete e.textShadowRadius}}function v(e,t=!1){let r="";for(let[n,o]of e)r+=`${P(n)}:${o}${t?" !important":""};`;return`{${r}}`}let w={},j=e=>`-${e.toLowerCase()}`,P=e=>{if(e in w)return w[e];let t=e.replace(/[A-Z]/g,j);return w[e]=t,t},S=(()=>{let e={};for(let t in m.pseudoDescriptors){let r=m.pseudoDescriptors[t];e[r.name]=`${[...Array(r.priority)].map(()=>":root").join("")} `}return e})(),_=v([["pointerEvents","auto"]],!0),x=v([["pointerEvents","none"]],!0)},8823:function(e,t,r){var n=r(357),o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,s={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(s,{getThemeCSSRules:()=>d}),e.exports=((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))l.call(e,s)||s===r||o(e,s,{get:()=>t[s],enumerable:!(n=a(t,s))||n.enumerable});return e})(o({},"__esModule",{value:!0}),s);var u=r(4267),c=r(1267),f=r(4044),p=r(685);function d(e){let t=[];if(!n.env.TAMAGUI_DOES_SSR_CSS||"mutates-themes"===n.env.TAMAGUI_DOES_SSR_CSS||"false"===n.env.TAMAGUI_DOES_SSR_CSS){let{config:r,themeName:o,theme:a,names:i}=e,l=e.hasDarkLight??(r.themes&&("light"in r.themes||"dark"in r.themes)),s=`.${c.THEME_CLASSNAME_PREFIX}`,d="";for(let e in a){let t=a[e],r=null;r=p.tokensValueToVariable.has(t.val)?p.tokensValueToVariable.get(t.val).variable:t.val,d+=`--${n.env.TAMAGUI_CSS_VARIABLE_PREFIX||""}${(0,u.simpleHash)(e,40)}:${r};`}let g="dark"===o,h="light"===o,O=i.map(e=>`${s}${e}`),v=new Set(g||h?O:[]);if(l){let e=r.maxDarkLightNesting??3;for(let t of i){let r=g||t.startsWith("dark_"),n=!r&&(h||t.startsWith("light_"));if(!(r||n)){v.add(`${s}${t}`);continue}let o=`${s}${t.replace(/^(dark|light)_/,"")}`,[a,i]=r?["dark","light"]:["light","dark"],l=Math.round(1.5*e);for(let e=0;e`${s}${t%2==0?a:i}`),n=r.length>1?r.slice(1):r;if(t){let[e,t,...r]=n;n=[t,...r,t]}let l=o===n[n.length-1]?"":o;v.add(`${n.join(" ")} ${l}`.trim())}}}let w=[...v].sort((e,t)=>e.localeCompare(t)),j=`${w.map(e=>`:root${b(e)&&r.themeClassNameOnRoot?"":" "}${e}`).join(", ")} {${d}}`;if(t.push(j),r.shouldAddPrefersColorThemes){let e=a.background?`background:${(0,f.variableToString)(a.background)};`:"",r=a.color?`color:${(0,f.variableToString)(a.color)}`:"",n=`body{${e}${r}}`,i=o.startsWith("dark"),l=`${w.map(e=>e==m||e===y?":root":i&&e.startsWith(y)||!i&&e.startsWith(m)?void 0:e.replace(/^\.t_(dark|light) /,"").trim()).filter(Boolean).join(", ")} {${d}}`,s=`@media(prefers-color-scheme:${i?"dark":"light"}){ - ${n} - ${l} - }`;t.push(s)}if(r.selectionStyles){let e=r.selectionStyles(a);if(e){let r=O.map(e=>`${e} ::selection`).join(", "),n=Object.entries(e).flatMap(([e,t])=>t?`${"backgroundColor"===e?"background":e}:${(0,f.variableToString)(t)}`:[]).join(";");if(n){let e=`${r}{${n}}`;t.push(e)}}}}return t}let m=".t_dark",y=".t_light",b=e=>e===m||e===y||e.startsWith(".t_dark ")||e.startsWith(".t_light ")},5768:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{getFontsForLanguage:()=>f,getVariantExtras:()=>u}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(4044);function u(e){let{curProps:t,props:r,conf:n,context:o,theme:a}=e,i=n.fontsParsed;o?.language&&(i=f(n.fontsParsed,o.language));let l=(0,s.getVariableValue)(e.fontFamily||e.curProps.fontFamily||e.conf.defaultFont),u=i[l]||i[e.conf.defaultFont];return{fonts:i,tokens:n.tokensParsed,theme:a,fontFamily:l,font:u,props:new Proxy(r,{get(e,r){for(let o of[r,n.inverseShorthands[r]])if(o)return Reflect.has(t,o)?Reflect.get(t,o):Reflect.get(e,o)}})}}let c=new WeakMap;function f(e,t){if(c.has(t))return c.get(t);let r={...e,...Object.fromEntries(Object.entries(t).map(([t,r])=>{if("default"===r)return[];let n=`$${t}_${r}`;return[`$${t}`,e[n]]}))};return c.set(t,r),r}},5319:function(e,t,r){var n=r(357),o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,s={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(s,{getAllRules:()=>g,getAllSelectors:()=>b,getAllTransforms:()=>h,insertStyleRules:()=>$,insertedTransforms:()=>y,listenForSheetChanges:()=>v,scanAllSheets:()=>j,shouldInsertStyleRules:()=>A,updateRules:()=>R}),e.exports=((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))l.call(e,s)||s===r||o(e,s,{get:()=>t[s],enumerable:!(n=a(t,s))||n.enumerable});return e})(o({},"__esModule",{value:!0}),s);var u=r(5527),c=r(4044);let f=new WeakMap,p=new Map,d={},m={},y={},b=()=>d,g=()=>Object.values(m),h=()=>y;function O(e,t,r){let n=t.indexOf("transform:");if(-1===n)return;let o=t.indexOf(";"),a=t.slice(n+10,o);if(!y[e])return y[e]=a,!0}function v(){u.isClient&&new MutationObserver(e=>{for(let t of e)if(t instanceof HTMLStyleElement&&t.sheet||t instanceof HTMLLinkElement&&t.href.endsWith(".css")){j();break}}).observe(document.head,{childList:!0})}let w=null;function j(e=!1,t){let r;if(!u.isClient)return;let n=document.styleSheets||[],o=w,a=new Set(n);if(document.styleSheets){for(let n of a)if(n){let o=x(n,!1,e,t);o&&(r=o)}w=a}if(o)for(let e of o)e&&!a.has(e)&&x(e,!0);return r}function P(e,t=!1){let r=(p.get(e)||0)+(t?-1:1);return p.set(e,r),r}let S=n.env.TAMAGUI_BAIL_AFTER_SCANNING_X_CSS_RULES,_=S?+S:250;function x(e,t=!1,r=!1,o){let a;try{if(!(a=e.cssRules))return}catch{return}let i=M(a[0],r)?.[0],l=M(a[a.length-1],r)?.[0],s=`${a.length}${i}${l}`,u=f.get(e);if(!t&&u===s)return;let p=a.length,m=0,y;for(let e=0;e_)return;continue}let[s,u,f]=l;if(f){let e=function(e,t){let r=e.selectorText.split(",");if(!r.length)return;if(t&&!C)for(let e in C={},t.color){let r=t.color[e];C[r.name]=r.val}let o=(e.cssText||"").slice(e.selectorText.length+2,-1).trim().split(";"),a={};for(let e of o){let t;let r=e.indexOf(":");if(-1===r)continue;let o=e.indexOf("--"),i=e.slice(-1===o?0:o+2,r);n.env.TAMAGUI_CSS_VARIABLE_PREFIX&&(i=i.replace(n.env.TAMAGUI_CSS_VARIABLE_PREFIX,""));let l=e.slice(r+2);if(l.startsWith("var(")){let e=l.slice(6,-1),r=C[e];r?t=r:(T||=getComputedStyle(document.body),t=T.getPropertyValue("--"+e))}else t=l;a[i]=(0,c.createVariable)({key:i,name:i,val:t},!0)}let i={names:[],theme:a};for(let e of r){let[t,r,n,o,a]=e.match(/(.t_(light|dark))?[\s]?(.t_([a-z0-9_]+))[\s]*$/i)||[],l=a&&n&&n!==a?`${n}_${a}`:a||n;!l||i.names.includes(l)||"light_dark"===l||"dark_light"===l||i.names.push(l)}return i}(u,o);e&&(y||=[]).push(e);continue}let p=P(s,t);t?0===p&&delete d[s]:s in d||(!s.startsWith("_transform-")||O(s,u.cssText,u))&&(d[s]=u.cssText)}return f.set(e,s),y}let C,T=null;function M(e,t=!1){if(e instanceof CSSStyleRule){let r=e.selectorText;if(":"===r[0]&&"r"===r[1]){if(r.startsWith(":root ._"))return[E(r),e];if(t&&(r.startsWith(":root.t_")||r.startsWith(":root .t_")))return[r.slice(0,20),e,!0]}}else if(e instanceof CSSMediaRule)return e.cssRules.length>1?void 0:M(e.cssRules[0])}let E=e=>{let t=e.slice(7);return e.includes(":")?t.replace(/:[a-z]+$/,""):t},N=u.isClient?document.head.appendChild(document.createElement("style")).sheet:null;function R(e,t){return!(e in m)&&(m[e]=t.join(" "),!e.startsWith("_transform-")||O(e,t[0]))}function $(e){if(!(!e.length||!N)){for(let{identifier:t,rules:r}of e)if(A(t))for(let e of(d[t]=r.join(` -`),P(t),R(t,r),r))N.insertRule(e,N.cssRules.length)}}let k=n.env.TAMAGUI_INSERT_SELECTOR_TRIES?+n.env.TAMAGUI_INSERT_SELECTOR_TRIES:2;function A(e){let t=p.get(e);return void 0===t||t{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{isObj:()=>i}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let i=e=>e&&!Array.isArray(e)&&"object"==typeof e},4234:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};function i(e,t){let r=e?.staticConfig;return!!(r&&(!t||t===r.componentName))}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{isTamaguiComponent:()=>i}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a)},4008:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{isTamaguiElement:()=>c}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(2265),u=r(4234);let c=(e,t)=>(0,s.isValidElement)(e)&&(0,u.isTamaguiComponent)(e.type,t)},1631:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};function i(...e){}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{log:()=>i}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a)},6137:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{matchMedia:()=>i,setupMatchMedia:()=>l}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let i="u">typeof window&&window.matchMedia||function(e){return{match:(e,t)=>!1,addListener(){},removeListener(){},matches:!1}};function l(e){}},8204:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{mergeProps:()=>c}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(5126),u=r(7462);let c=(e,t,r)=>{let n={};for(let o in e)f(n,e,t,o,r);if(t)for(let e in t)f(n,t,void 0,e,r);return n};function f(e,t,r,n,o){let a=o?.[n]||null,i=t[n];if(n in u.pseudoDescriptors||s.mediaKeys.has(n)){e[n]={...e[n],...i};return}r&&(n in r||a&&a in r)||(e[a||n]=i)}},3623:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{mergeVariants:()=>i}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let i=(e,t,r=0)=>{let n={};for(let o in t){let a=e?.[o],l=t[o];a&&"function"!=typeof l?a&&!l?n[o]=a[o]:0===r?n[o]=i(a,l,r+1):n[o]={...a,...l}:n[o]=l}return{...e,...n}}},6853:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{getRgba:()=>f,normalizeColor:()=>c,rgba:()=>u.rgba}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(6040),u=r(6040);let c=(e,t)=>{if(e){if("$"===e[0])return e;if(e.startsWith("var(")){if("number"==typeof t&&t<1)return`color-mix(in srgb, ${e} ${100*t}%, transparent)`}else{let r=f(e);if(r){let e=`${r.r},${r.g},${r.b}`;return 1===t?`rgb(${e})`:`rgba(${e},${t??r.a??1})`}}return e}},f=e=>{let t=(0,s.normalizeCSSColor)(e);if(null!=t)return(0,s.rgba)(t)}},2987:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{normalizeShadow:()=>c}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(4332),u=r(6853);function c({shadowColor:e,shadowOffset:t,shadowOpacity:r,shadowRadius:n}){let{height:o,width:a}=t||s.defaultOffset;return{shadowOffset:{width:a||0,height:o||0},shadowRadius:n||0,shadowColor:(0,u.normalizeColor)(e,1),shadowOpacity:r??(e?u.getRgba(e)?.a:1)}}},9688:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{normalizeStyle:()=>function e(t,r=!1){let n={};for(let o in t){let a=t[o];if(null==a)continue;if(o in p.pseudoDescriptors||"$"===o[0]&&(0,c.isObj)(a)){n[o]=e(a,r);continue}let i=r?a:(0,f.normalizeValueWithProperty)(a,o),l=(0,s.expandStyle)(o,i);l?Object.assign(n,Object.fromEntries(l)):n[o]=i}return(0,u.fixStyles)(n),n}}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(5228),u=r(4038),c=r(9761),f=r(6931),p=r(7462)},6931:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{normalizeValueWithProperty:()=>p,reverseMapClassNameToValue:()=>m}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(5527),u=r(4267),c=r(5319);let f={...u.stylePropsAll,translateX:!0,translateY:!0};function p(e,t=""){if(!s.isWeb||u.stylePropsUnitless[t]||t&&!f[t]||"boolean"==typeof e)return e;let r=e;return e&&"object"==typeof e?e:("number"==typeof e?r=`${e}px`:t&&(r=`${r}`),r)}let d={};function m(e,t){let r;let n=(0,c.getAllSelectors)()[t];if(d[n])return d[n];if(!n)return;let o=n.replace(/.*:/,"").replace(/;.*/,"").trim();return r=o.startsWith("var(")?o:u.stylePropsUnitless[e]?+o:o.endsWith("px")?+o.replace("px",""):o,d[n]=r,r}},845:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};function i(e){let t="";for(let r in e){t+=r;let n=e[r],o=typeof n;if(n&&("object"===o||"function"===o)){if(l.has(n))t+=l.get(n);else{let e=Math.random();l.set(n,e),t+=e}}else t+=o+n}return t}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{objectIdentityKey:()=>i}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let l=new WeakMap},364:function(e,t,r){var n=r(357),o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,s={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(s,{getFontFamilyFromNameOrVariable:()=>v,getPropMappedFontFamily:()=>P,getTokenForKey:()=>T,propMapper:()=>h}),e.exports=((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))l.call(e,s)||s===r||o(e,s,{get:()=>t[s],enumerable:!(n=a(t,s))||n.enumerable});return e})(o({},"__esModule",{value:!0}),s),r(5527);var u=r(4267),c=r(2651),f=r(4044),p=r(5228),d=r(9688),m=r(5768),y=r(9761),b=r(7462),g=r(1464);let h=(e,t,r,n)=>{if(C=null,"elevationAndroid"===e)return;if("unset"===t){let n=r.conf.unset?.[e];if(null==n)return;t=n}let o=r.styleProps.fallbackProps||n,a=o?new Proxy(r,{get:(e,t)=>"curProps"===t?o:Reflect.get(e,t)}):r,{conf:i,styleProps:l,fontFamily:s,staticConfig:u,skipThemeTokenResolution:c}=a,{variants:d}=u;if(!l.noExpand&&d&&e in d){a.curProps[e]=t;let r=O(e,t,l,a,"");if(r)return r}if(l.disableExpandShorthands||e in i.shorthands&&(e=i.shorthands[e]),t&&("$"===t[0]?t=T(e,t,l.resolveValues,a):(0,f.isVariable)(t)&&(t=M(e,t,l.resolveValues))),null!=t){let r=(l.noExpand?null:(0,p.expandStyle)(e,t))||[[e,t]];return"fontFamily"===e&&C&&j.set(r,C),r}},O=(e,t,r,o,a)=>{let i;let{staticConfig:l,conf:s,debug:u}=o,{variants:c}=l;if(!c)return;let p=function(e,t,r){if("function"==typeof e)return e;let n=e[t];if(n)return n;if(null!=t){let{tokensParsed:n}=r;for(let{name:r,spreadName:o}of _)if(o in e&&t in n[r])return e[o];let o=e["...fontSize"];if(o&&r.fontSizeTokens.has(t))return o}return e[`:${typeof t}`]||e["..."]}(c[e],t,s);if(!p){if("1"===n.env.TAMAGUI_WARN_ON_MISSING_VARIANT&&"boolean"!=typeof t){let r=l.componentName||"[UnnamedComponent]";console.warn(`No variant found: ${r} has variant "${e}", but no matching value "${t}"`)}return}if("function"==typeof p&&(p=p(t,(0,m.getVariantExtras)(o))),(0,y.isObj)(p)){let t=p.fontFamily||p[s.inverseShorthands.fontFamily];t&&(i=v(t,s),o.fontFamily=i),p=S(e,p,r,o,a)}if(p){let e=Object.entries((0,d.normalizeStyle)(p,!!r.noNormalize));return i&&"$"===i[0]&&j.set(e,(0,f.getVariableValue)(i)),e}};function v(e,t){if((0,f.isVariable)(e)){let r=w.get(e);if(r)return r;for(let r in t.fontsParsed){let n=t.fontsParsed[r].family;if((0,f.isVariable)(n)&&(w.set(n,r),n===e))return r}}else if("string"==typeof e&&"$"===e[0])return e}let w=new WeakMap,j=new WeakMap,P=e=>e&&j.get(e),S=(e,t,r,n,o)=>{let{conf:a,staticConfig:i,debug:l,theme:s}=n,{variants:u}=i,c={};for(let i in t){let l=a.shorthands[i]||i,s=t[i];if(!(!r.noSkip&&l in g.skipProps)){if(r.noExpand)c[l]=s;else if(u&&l in u){if(n.curProps[l]=s,o&&o===e)c[l]="$"===s[0]?T(l,s,r.resolveValues,n):s;else{let t=O(l,s,r,n,e);if(t)for(let[e,r]of t)null!=r&&(e in b.pseudoDescriptors?(c[e]??={},Object.assign(c[e],r)):c[e]=r)}continue}if((0,f.isVariable)(s)){c[l]=M(l,s,r.resolveValues);continue}if("string"==typeof s){let e="$"===s[0]?T(l,s,r.resolveValues,n):s;c[l]=e;continue}if((0,y.isObj)(s)){let t=S(l,s,r,n,e);c[l]??={},Object.assign(c[l],t)}else c[l]=s}}return c},_=["size","color","radius","space","zIndex"].map(e=>({name:e,spreadName:`...${e}`})),x={fontSize:"size",fontWeight:"weight"},C=null,T=(e,t,r="none",n)=>{if("none"===r)return t;let{theme:o,conf:a=(0,c.getConfig)(),context:i,fontFamily:l,staticConfig:s}=n,f=a.tokensParsed,p,d=!1,y=s?.accept?.[e];if(y){let e=o?.[t]??f[y][t];null!=e&&(r="value",p=e,d=!0)}if(o&&t in o){if(p=o[t],n.skipThemeTokenResolution&&p?.val)return t;d=!0}else{if(t in a.specificTokens)d=!0,p=a.specificTokens[t];else{switch(e){case"fontFamily":p=(i?.language?m.getFontsForLanguage(a.fontsParsed,i.language):a.fontsParsed)[t]?.family||t,C=t,d=!0;break;case"fontSize":case"lineHeight":case"letterSpacing":case"fontWeight":{let r=a.defaultFont||"$body",n=l||r;if(n){let o=i?.language?(0,m.getFontsForLanguage)(a.fontsParsed,i.language):a.fontsParsed;p=(o[n]||o[r])?.[x[e]||e]?.[t]||t,d=!0}}}for(let r in u.tokenCategories)if(e in u.tokenCategories[r]){let e=f[r][t];null!=e&&(p=e,d=!0)}}if(!d){let e=f.space[t];null!=e&&(p=e,d=!0)}}if(d)return M(e,p,r)};function M(e,t,r){if("none"===r)return t;if((0,f.isVariable)(t)){if("value"===r)return t.val;let e=t?.get;return"function"==typeof e?e("web"===r?"web":void 0):t.variable}return t}},5087:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{proxyThemeToParents:()=>f,proxyThemesToParents:()=>c}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(2651);let u={};function c(e){for(let{names:t,theme:r}of e)for(let e of t)u[e]=r;let t={};for(let{names:r,theme:n}of e)for(let e of r){let r=f(e,n);t[e]=r}return t}function f(e,t){let r=[],n=e.split("_").slice(0,-1).map(e=>(r.push(e),r.join("_"))),o=n.length;return new Proxy(t,{get(e,t){if(!t||"undefined"==t||Reflect.has(e,t))return Reflect.get(e,t);for(let e=o-1;e>=0;e--){let r=u[n[e]];if(r&&Reflect.has(r,t))return Reflect.get(r,t)}return(0,s.getTokenObject)(t)}})}},6618:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};function i(e){return new Proxy(e||{},{has:(e,t)=>Reflect.has(e,l(t)),get:(e,t)=>Reflect.get(e,l(t))})}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{proxyThemeVariables:()=>i}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let l=e=>"string"==typeof e&&"$"===e[0]?e.slice(1):e},7462:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{pseudoDescriptors:()=>s,pseudoDescriptorsBase:()=>i,pseudoPriorities:()=>l}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let i={hoverStyle:{name:"hover",priority:1},pressStyle:{name:"active",stateKey:"press",priority:2},focusVisibleStyle:{name:"focus-visible",priority:3,stateKey:"focusVisible"},focusStyle:{name:"focus",priority:3},disabledStyle:{name:"disabled",priority:4,stateKey:"disabled"}},l={hover:1,press:2,focus:3,focusVisible:3,disabled:4},s={...i,enterStyle:{name:"enter",selector:".t_unmounted",priority:4},exitStyle:{name:"exit",priority:5}}},685:function(e,t,r){var n=r(357),o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,s={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(s,{registerCSSVariable:()=>c,tokensValueToVariable:()=>p,variableToCSS:()=>f}),e.exports=((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))l.call(e,s)||s===r||o(e,s,{get:()=>t[s],enumerable:!(n=a(t,s))||n.enumerable});return e})(o({},"__esModule",{value:!0}),s);var u=r(4044);let c=e=>{p.set((0,u.getVariableValue)(e),e)},f=(e,t=!1)=>`--${n.env.TAMAGUI_CSS_VARIABLE_PREFIX||""}${(0,u.createCSSVariable)(e.name,!1)}:${t||"number"!=typeof e.val?e.val:`${e.val}px`}`,p=new Map},1464:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{skipProps:()=>i}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let i={untilMeasured:1,animation:1,space:1,animateOnly:1,disableClassName:1,debug:1,componentName:1,disableOptimization:1,tag:1,style:1,group:1,themeInverse:1,animatePresence:1}},3224:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{themeable:()=>f}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(2265),u=r(8044),c=r(2281);function f(e,t){let r=(0,s.forwardRef)(function(r,n){let{themeInverse:o,theme:a,componentName:i,themeReset:l,...s}=r,f=(0,c.jsx)(e,{ref:n,...s,"data-disable-theme":!0});return(0,c.jsx)(u.Theme,{componentName:i||t?.componentName,name:a,"disable-child-theme":!0,debug:r.debug,inverse:o,reset:l,children:f})});return r.displayName=`Themed(${e?.displayName||e?.name||"Anonymous"})`,r}},1223:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{ensureThemeVariable:()=>u}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(4044);function u(e,t){let r=e[t];(0,s.isVariable)(r)?r.name!==t&&(e[t]=(0,s.createVariable)({key:r.name,name:t,val:r.val})):e[t]=(0,s.createVariable)({key:t,name:t,val:r})}},5871:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{transformsToString:()=>u}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(6931);function u(e){return e.map(e=>{let t=Object.keys(e)[0],r=e[t];return"matrix"===t||"matrix3d"===t?`${t}(${r.join(",")})`:`${t}(${(0,s.normalizeValueWithProperty)(r,t)})`}).join(" ")}},2007:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{useConfiguration:()=>f}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(2265),u=r(2651),c=r(458);let f=()=>{let{groups:e,animationDriver:t,...r}=(0,s.useContext)(c.ComponentContext),{animations:n,...o}=(0,u.getConfig)();return{...o,...r,animationDriver:t??(0,u.getConfig)().animations}}},2209:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{getDisableSSR:()=>u}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(2651);function u(e){return e?.disableSSR??(0,s.getConfig)().disableSSR}},3080:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{useIsTouchDevice:()=>c}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(5527),u=r(2513);let c=()=>!s.isWeb||!!(0,u.useDidFinishSSR)()&&s.isTouchable},5126:function(e,t,r){let n,o;var a=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,u={};((e,t)=>{for(var r in t)a(e,r,{get:t[r],enumerable:!0})})(u,{configureMedia:()=>_,getMedia:()=>h,getMediaImportanceIfMoreImportant:()=>D,getMediaKeyImportance:()=>j,isMediaKey:()=>v,mediaKeyMatch:()=>W,mediaKeyToQuery:()=>F,mediaKeys:()=>O,mediaObjectToString:()=>L,mediaQueryConfig:()=>g,mediaState:()=>b,setMediaShouldUpdate:()=>$,setupMediaListeners:()=>C,useMedia:()=>A}),e.exports=((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of l(t))s.call(e,o)||o===r||a(e,o,{get:()=>t[o],enumerable:!(n=i(t,o))||n.enumerable});return e})(a({},"__esModule",{value:!0}),u);var c=r(5527),f=r(2265),p=r(2651),d=r(6137),m=r(7462),y=r(2209);let b={},g={},h=()=>b,O=new Set,v=e=>{if(O.has(e))return!0;if("$"===e[0]){if(e.startsWith("$platform-"))return"platform";if(e.startsWith("$theme-"))return"theme";if(e.startsWith("$group-"))return"group"}return!1},w=Object.keys(m.pseudoDescriptors).length,j=e=>(0,p.getConfig)().settings.mediaPropOrder?w:o.indexOf(e)+100,P=new Set,S=0,_=e=>{let{media:t,mediaQueryDefaultActive:r}=e;if(t){for(let e in S++,t)b[e]=r?.[e]||!1,O.add(`$${e}`);Object.assign(g,t),n={...b},o=Object.keys(t),e.disableSSR?C():N()}},x=-1;function C(){if(!(c.isWeb&&c.isServer)&&x!==S)for(let e in x=S,P.forEach(e=>e()),P.clear(),g){let t=function(){let t=!!n().matches;t!==b[e]&&(b={...b,[e]:t},N())},r=L(g[e],e),n=()=>(0,d.matchMedia)(r),o=n();if(!o)throw Error("⚠️ No match");o.addListener(t),P.add(()=>{o.removeListener(t)}),t()}}let T=new Set,M=!1,E=-1;function N(){M&&E===S||(E=S,M=!0,Promise.resolve().then(()=>{M=!1,T.forEach(e=>e(b))}))}let R=new WeakMap;function $(e,t){return R.set(e,t)}function k(e){return T.add(e),()=>T.delete(e)}function A(e,t){let r=(0,f.useRef)(),o=((0,y.getDisableSSR)(t)||!c.isWeb?b:n)||{},a=(0,f.useSyncExternalStore)(k,()=>{if(!r.current)return o;let{touched:t,prev:n}=r.current,a=e?R.get(e):void 0;if(a&&!1===a.enabled)return n;let i=a?.keys??((!a||a.enabled)&&t?[...t]:null);return!i||i?.every(e=>b[e]===n[e])?n:(r.current.prev=b,b)},()=>o);return new Proxy(a,{get:(e,t)=>("string"==typeof t&&(r.current||={prev:o},r.current.touched||=new Set,r.current.touched.add(t)),Reflect.get(a,t))})}let D=(e,t,r,n)=>{let o=(0,p.getConfig)(),a=n&&!o.settings.mediaPropOrder?j(e):w;return!r[t]||a>r[t]?a:null},I=new WeakMap,V={};function L(e,t){if("string"==typeof e)return e;if(I.has(e))return I.get(e);let r=Object.entries(e).map(([e,t])=>(e=e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`).toLowerCase(),"string"==typeof t||"number"==typeof t&&/[height|width]$/.test(e)&&(t=`${t}px`),`(${e}: ${t})`)).join(" and ");return t&&(V[t]=r),I.set(e,r),r}function F(e){return V[e]||L(g[e],e)}function W(e,t){let r=g[e];return Object.keys(r).every(e=>{let n=+r[e],o=e.startsWith("max"),a=t[e.endsWith("Width")?"width":"height"];return o?an})}},5157:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{useProps:()=>b,usePropsAndStyle:()=>h,useStyle:()=>g}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(2265),u=r(2651),c=r(458),f=r(3397),p=r(7789),d=r(738),m=r(5126),y=r(1127);function b(e,t){let[r,n]=h(e,{...t,noExpand:!0,noNormalize:!0,resolveValues:"none"});return{...r,...n}}function g(e,t){return h(e,t)[1]||{}}function h(e,t){let r=t?.forComponent?.staticConfig??d.Stack.staticConfig,[n,o]=(0,y.useThemeWithState)({componentName:r.componentName}),a=(0,s.useContext)(c.ComponentContext),{state:i,disabled:l,setStateShallow:b}=(0,f.useComponentState)(e,a,r,(0,u.getConfig)()),g=(0,m.useMedia)(),h=(0,p.useSplitStyles)(e,r,o,n.state?.name||"",i,{isAnimated:!1,mediaState:g,noSkip:!0,noMergeStyle:!0,noClassNames:!0,resolveValues:"auto",...t},null,a),{mediaGroups:O,pseudoGroups:v}=h;return(0,s.useEffect)(()=>{if(!l){if(i.unmounted){b({unmounted:!1});return}return(0,f.subscribeToContextGroup)({disabled:l,componentContext:a,setStateShallow:b,state:i,mediaGroups:O,pseudoGroups:v})}},[l,v?Object.keys([...v]).join(""):0,O?Object.keys([...O]).join(""):0]),[h.viewProps,h.style||{},o,g]}},1127:function(e,t,r){let n;var o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,s={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(s,{activeThemeManagers:()=>v,getThemeManager:()=>S,getThemeProxied:()=>O,useChangeThemeEffect:()=>x,useTheme:()=>g,useThemeWithState:()=>h}),e.exports=((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))l.call(e,s)||s===r||o(e,s,{get:()=>t[s],enumerable:!(n=a(t,s))||n.enumerable});return e})(o({},"__esModule",{value:!0}),s);var u=r(5527),c=r(2265),f=r(2651),p=r(4044),d=r(9475),m=r(4195),y=r(8047);let b={name:null},g=(e=b)=>{let[t,r]=h(e);return r||function(){if(n)return n;let e=(0,f.getConfig)(),t=e.themes.light?"light":Object.keys(e.themes)[0];return n=O({theme:e.themes[t],name:t})}()},h=e=>{let t=(0,c.useRef)([]),r=x(e,!1,t.current,u.isServer?void 0:()=>e.shouldUpdate?.()??(t.current.length>0||void 0)),{themeManager:n,state:o}=r;return[r,(0,c.useMemo)(()=>n&&o?.theme?O(o,e.deopt,n,t.current,e.debug):{},[o?.theme,n,e.deopt,e.debug])]};function O({theme:e,name:t,scheme:r},n=!1,o,a,i){return e?((0,f.getConfig)(),new Proxy(e,{has:(t,r)=>!!Reflect.has(e,r)||("string"==typeof r?("$"===r[0]&&(r=r.slice(1)),o?.allKeys.has(r)):void 0),get(t,r){if("undefined"!==r&&"string"==typeof r){let t="$"===r[0]?r.slice(1):r,n=e[t];if(n&&"object"==typeof n)return new Proxy(n,{get(e,r){if("val"===r)a&&!a.includes(t)&&a.push(t);else if("get"===r)return e=>(0,p.getVariable)(n);return Reflect.get(n,r)}})}return Reflect.get(t,r)}})):{}}let v=new Set,w=new WeakMap,j={},P=e=>j[e],S=e=>w.get(P(e)),_=e=>{if(!j[e.id]){let t=j[e.id]={};w.set(t,e)}},x=(e,t=!1,r,n)=>{let{disable:o}=e,a=S((0,c.useContext)(m.ThemeManagerIDContext));if(!t&&!a||o)return{isNewTheme:!1,state:a?.state,themeManager:a};let[i,l]=(0,c.useState)(j),{state:s,mounted:p,isNewTheme:b,themeManager:g,inversed:h}=i,O=!!(!i.mounted&&e.inverse);function w(t=g,r,o=s,i=!1){let l=n?.();if(!t||!i&&!1===l)return;let u=r||t.getState(e,a);if(i||u&&!(!0!==l&&!t.getStateShouldChange(u,o)))return u}if(u.isServer||(0,c.useEffect)(()=>{if(!g)return;if(e.inverse&&!p){l(e=>j({...e,mounted:!0}));return}(b||w(g))&&(v.add(g),l(j));let t=g.onChangeTheme((e,t,r)=>{r&&l(e=>j(e,!0))}),o=a?.onChangeTheme((t,o,a)=>{let i=a||n?.()||e.deopt||void 0;(i??!!(r?.length||b))&&l(e=>j(e,i))},g.id);return()=>{t(),o?.(),b&&v.delete(g)}},[g,a,b,e.componentName,e.inverse,e.name,e.reset,p]),u.isWeb&&O)return{isNewTheme:!1,inversed:!1,themeManager:a,state:{name:"",...a?.state,className:""}};return{state:s,isNewTheme:b,inversed:h,themeManager:g};function j(o,i=!1){if(o&&n?.()===!1&&!i)return o;let l=a,s;if((0,d.getHasThemeUpdatingProps)(e)){let n=()=>new d.ThemeManager(e,t?"root":a);if(o?.themeManager){l=o.themeManager;let u=i||!!r?.length,c=l.getState(e,a),f=w(l,c,o.state,u);f?(s=f,o.isNewTheme||t?l.updateState(f):l=n()):o.isNewTheme&&a&&!c&&(l=a)}else s={...(l=n()).state}}let c=!!(l!==a||e.inverse);c&&_(l);let p=!!u.isWeb&&!(0,f.getConfig)().disableSSR,m=!p||t||o?.mounted;s||(c?s=l.state:(s=a.state,l=a));let b=o?.inversed,g=!!c&&s.scheme!==a?.state.scheme||(p?null==b&&null:e.inverse),h={themeManager:l,isNewTheme:c,mounted:m,inversed:g},O=o&&!i&&(0,y.isEqualShallow)(o,h)&&(0,y.isEqualShallow)(o.state,s);return o&&O?o:(h.state=s,h)}}},6925:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{useThemeName:()=>p}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(5527),u=r(2265),c=r(4195),f=r(1127);function p(e){let t=(0,f.getThemeManager)((0,u.useContext)(c.ThemeManagerIDContext)),[r,n]=(0,u.useState)(t?.state.name||"");return(0,s.useIsomorphicLayoutEffect)(()=>{if(t)return n(t.state.name),t.onChangeTheme((t,r)=>{let o=e?.parent&&r.state.parentName||t;o&&n(o)})},[t?.state.name]),r}},1013:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l=(e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e},s=(e,t,r)=>(l(e,t,"default"),r&&l(r,t,"default")),u={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(u,{configureMedia:()=>f.configureMedia,getConfig:()=>c.getConfig,getMedia:()=>f.getMedia,getThemes:()=>c.getThemes,getToken:()=>c.getToken,getTokenValue:()=>c.getTokenValue,getTokens:()=>c.getTokens,mediaKeyMatch:()=>f.mediaKeyMatch,mediaObjectToString:()=>f.mediaObjectToString,mediaQueryConfig:()=>f.mediaQueryConfig,mediaState:()=>f.mediaState,setupDev:()=>c.setupDev,updateConfig:()=>c.updateConfig,useMedia:()=>f.useMedia}),e.exports=l(n({},"__esModule",{value:!0}),u),s(u,r(8126),e.exports),s(u,r(3397),e.exports),s(u,r(1968),e.exports),s(u,r(6893),e.exports),s(u,r(7712),e.exports),s(u,r(3620),e.exports),s(u,r(4801),e.exports),s(u,r(4044),e.exports),s(u,r(8912),e.exports),s(u,r(9299),e.exports),s(u,r(9587),e.exports),s(u,r(3619),e.exports),s(u,r(1115),e.exports);var c=r(2651);s(u,r(1267),e.exports),s(u,r(458),e.exports),s(u,r(4786),e.exports),s(u,r(10),e.exports),s(u,r(8047),e.exports),s(u,r(1480),e.exports),s(u,r(4038),e.exports),s(u,r(9384),e.exports),s(u,r(7789),e.exports),s(u,r(2216),e.exports),s(u,r(3397),e.exports),s(u,r(8823),e.exports),s(u,r(5768),e.exports),s(u,r(4234),e.exports),s(u,r(4008),e.exports),s(u,r(6137),e.exports),s(u,r(8204),e.exports),s(u,r(6853),e.exports),s(u,r(9688),e.exports),s(u,r(6931),e.exports),s(u,r(364),e.exports),s(u,r(5087),e.exports),s(u,r(6618),e.exports),s(u,r(7462),e.exports),s(u,r(3224),e.exports),s(u,r(1223),e.exports),s(u,r(5871),e.exports);var f=r(5126);s(u,r(1127),e.exports),s(u,r(6925),e.exports),s(u,r(2007),e.exports),s(u,r(3080),e.exports),s(u,r(5157),e.exports),s(u,r(2007),e.exports),s(u,r(588),e.exports),s(u,r(738),e.exports),s(u,r(3403),e.exports),s(u,r(1804),e.exports),s(u,r(8044),e.exports),s(u,r(6043),e.exports),s(u,r(5688),e.exports),s(u,r(4416),e.exports),s(u,r(1880),e.exports),s(u,r(2513),e.exports),s(u,r(9832),e.exports),s(u,r(428),e.exports),s(u,r(4267),e.exports),s(u,r(5527),e.exports),s(u,r(3227),e.exports)},9299:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{insertFont:()=>d,parseFont:()=>y,registerFontVariables:()=>b,updateFont:()=>m}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(2651),u=r(1267),c=r(3620),f=r(8912),p=r(685);function d(e,t){let r=(0,c.createFont)(t),n=(0,f.createVariables)(r,e),o=y(n);if("u">typeof document){let t=b(o),r=document.querySelector(`style[${u.FONT_DATA_ATTRIBUTE_NAME}="${e}"]`)||document.createElement("style");r.innerText=`:root .font_${e} {${t.join(";")}}`,r.setAttribute(u.FONT_DATA_ATTRIBUTE_NAME,e),document.head.appendChild(r)}return(0,s.setConfigFont)(e,n,o),o}let m=d;function y(e){let t={};for(let r in e){let n=e[r];if("family"===r||"face"===r)t[r]=n;else for(let e in t[r]={},n){let o=n[e];o.val?.[0]==="$"&&(o=o.val),t[r][`$${e}`]=o}}return t}function b(e){let t=[];for(let r in e)if("face"!==r){if("family"===r){let n=e[r];(0,p.registerCSSVariable)(n),t.push((0,p.variableToCSS)(n))}else for(let n in e[r])if("string"!=typeof e[r][n]){let o=e[r][n];(0,p.registerCSSVariable)(o),t.push((0,p.variableToCSS)(o))}}return t}},1115:function(e){let t;var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty;e.exports=(t={},((e,t,i,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))a.call(e,s)||s===i||r(e,s,{get:()=>t[s],enumerable:!(l=n(t,s))||l.enumerable});return e})(r({},"__esModule",{value:!0}),t))},3227:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{hooks:()=>i,setupHooks:()=>l}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let i={};function l(e){Object.assign(i,e)}},3619:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{getReactNativeConfig:()=>l,setupReactNative:()=>u}),e.exports=((e,a,i,l)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))o.call(e,s)||s===i||t(e,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return e})(t({},"__esModule",{value:!0}),a);let i=new WeakMap;function l(e){if(e)return e.getSize&&e.prefetch?s.Image:"Text"===e.displayName&&e.render?s.Text:e.render&&("ScrollView"===e.displayName||"View"===e.displayName)?s.default:e.State?.blurTextInput?s.TextInput:i.get(e)}let s={Image:{isReactNative:!0,inlineProps:new Set(["src","width","height"])},Text:{isReactNative:!0,isText:!0},TextInput:{isReactNative:!0,isInput:!0,isText:!0},default:{isReactNative:!0}};function u(e){}},9587:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{styled:()=>f}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(3397),u=r(3623),c=r(3619);function f(e,t,r){let n=e.staticConfig,o=!!n&&!(n.isReactNative||n.isHOC),a=n?.isHOC&&!n?.isStyledHOC||o?e:n?.Component||e,i=n?void 0:(0,c.getReactNativeConfig)(a),l=!!(i||r?.isReactNative||n?.isReactNative),f=(()=>{if(t){let{variants:e,name:s,defaultVariants:c,acceptsClassName:f,context:p,...d}=t;c&&(d={...c,...d}),n&&(n.isHOC&&!n.isStyledHOC||(d={...n.defaultProps,...d},n.variants&&(e=(0,u.mergeVariants)(n.variants,e)))),n?.isHOC&&s&&(d.componentName=s);let m=!!(r?.isText||n?.isText),y=f??(o||l||n?.isHOC&&n?.acceptsClassName),b={...n,...r,...!o&&{Component:a},variants:e,defaultProps:d,defaultVariants:c,componentName:s||n?.componentName,isReactNative:l,isText:m,acceptsClassName:y,context:p,...i,isStyledHOC:!!n?.isHOC,parentStaticConfig:n};return(d.children||!y||p)&&(b.neverFlatten=!0),b}})(),p=(0,s.createComponent)(f||{});for(let t in e)"propTypes"!==t&&(t in p||(p[t]=e[t]));return p}},1880:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{Configuration:()=>f}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(2265),u=r(458),c=r(2281);let f=e=>{let t=(0,s.useContext)(u.ComponentContext);return(0,c.jsx)(u.ComponentContext.Provider,{...t,...e})};f.displayName="Configuration"},5688:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{FontLanguage:()=>u}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(2281);let u=({children:e,...t})=>(0,s.jsx)("div",{style:{display:"contents"},className:Object.entries(t).map(([e,t])=>`t_lang-${e}-${t}`).join(" "),children:e});u.displayName="FontLanguage"},588:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{Slot:()=>d,Slottable:()=>m}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(428),u=r(5527),c=r(4267),f=r(2265),p=r(2281);let d=(0,f.forwardRef)(function(e,t){let{children:r,...n}=e;if((0,f.isValidElement)(r)){let e=function(e,t){let r=e.props,n={...r},o="string"==typeof e.type;if(o)for(let e in y)e in t&&(t[y[e]]=t[e],delete t[e]);for(let e in r){let a=t[e],i=r[e];o&&e in y&&(e=y[e],delete n[e]),b.test(e)?n[e]=(0,c.composeEventHandlers)(i,a):"style"===e?n[e]={...a,...i}:"className"===e&&(n[e]=[a,i].filter(Boolean).join(" "))}return{...t,...n}}(r,n);return(0,f.cloneElement)(r,r.type.avoidForwardRef?e:{...e,ref:(0,s.composeRefs)(t,r.ref)})}return f.Children.count(r)>1?f.Children.only(null):null});d.displayName="Slot";let m=({children:e})=>(0,p.jsx)(p.Fragment,{children:e});m.displayName="Slottable";let y=u.isWeb?{onPress:"onClick",onPressOut:"onMouseUp",onPressIn:"onMouseDown"}:{},b=/^on[A-Z]/},738:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{Stack:()=>c}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(4267),u=r(1267);let c=(0,r(3397).createComponent)({acceptsClassName:!0,defaultProps:u.stackDefaultStyles,validStyles:s.validStyles});c.displayName="Stack"},4416:function(e,t,r){let n,o,a;var i=Object.create,l=Object.defineProperty,s=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,c=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,p=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of u(t))f.call(e,o)||o===r||l(e,o,{get:()=>t[o],enumerable:!(n=s(t,o))||n.enumerable});return e},d={};((e,t)=>{for(var r in t)l(e,r,{get:t[r],enumerable:!0})})(d,{TamaguiProvider:()=>v}),e.exports=p(l({},"__esModule",{value:!0}),d);var m=r(5527),y=(a=null!=(n=r(2265))?i(c(n)):{},p(!o&&n&&n.__esModule?a:l(a,"default",{value:n,enumerable:!0}),n)),b=r(458),g=r(5126),h=r(6043),O=r(2281);function v({children:e,disableInjectCSS:t,config:r,...n}){return(0,g.setupMediaListeners)(),m.isClient&&y.useLayoutEffect(()=>{if(r&&(r.disableSSR||document.documentElement.classList.contains("t_unmounted")&&document.documentElement.classList.remove("t_unmounted"),!t)){let e=document.createElement("style");return e.appendChild(document.createTextNode(r.getCSS())),document.head.appendChild(e),()=>{document.head.removeChild(e)}}},[r,t]),(0,O.jsx)(b.ComponentContext.Provider,{animationDriver:r?.animations,children:(0,O.jsx)(h.ThemeProvider,{themeClassNameOnRoot:r?.themeClassNameOnRoot,disableRootThemeClass:r?.disableRootThemeClass,...n,defaultTheme:n.defaultTheme??(r?Object.keys(r.themes)[0]:""),children:e})})}v.displayName="TamaguiProvider"},1804:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{Text:()=>f}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(4267),u=r(3397);let c={maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},f=(0,u.createComponent)({acceptsClassName:!0,isText:!0,defaultProps:{fontFamily:"unset",display:"inline",boxSizing:"border-box",wordWrap:"break-word",whiteSpace:"pre-wrap",margin:0},inlineWhenUnflattened:new Set(["fontFamily"]),variants:{numberOfLines:{1:c,":number":e=>e>=1?{WebkitLineClamp:e,WebkitBoxOrient:"vertical",display:"-webkit-box",overflow:"hidden"}:null},selectable:{true:{userSelect:"text",cursor:"text"},false:{userSelect:"none",cursor:"default"}},ellipse:{true:c},ellipsis:{true:c}},validStyles:{...s.validStyles,...s.stylePropsTextOnly}});f.displayName="Text"},8044:function(e,t,r){let n,o,a;var i=Object.create,l=Object.defineProperty,s=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,c=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,p=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of u(t))f.call(e,o)||o===r||l(e,o,{get:()=>t[o],enumerable:!(n=s(t,o))||n.enumerable});return e},d={};((e,t)=>{for(var r in t)l(e,r,{get:t[r],enumerable:!0})})(d,{Theme:()=>v,getThemedChildren:()=>w}),e.exports=p(l({},"__esModule",{value:!0}),d);var m=r(5527),y=(a=null!=(n=r(2265))?i(c(n)):{},p(!o&&n&&n.__esModule?a:l(a,"default",{value:n,enumerable:!0}),n)),b=r(4044),g=r(4195),h=r(1127),O=(r(843),r(2281));let v=(0,y.forwardRef)(function({children:e,...t},r){if(t.disable)return e;let n=!!t._isRoot,o=(0,h.useChangeThemeEffect)(t,n),a=t["disable-child-theme"]?y.Children.map(e,e=>(0,y.cloneElement)(e,{"data-disable-theme":!0})):e;if(r)try{y.default.Children.only(a),a=(0,y.cloneElement)(a,{ref:r})}catch{}return w(o,a,t,n)});function w(e,t,r,n=!1){let{themeManager:o,isNewTheme:a}=e;if(!o)throw Error("❌ 005");let{shallow:i,forceClassName:l}=r,s=(0,y.useRef)(!1),u=a||r.inverse||s.current||l||n;if(u&&(s.current=!0),!u)return t;let c=t;i&&(c=y.Children.toArray(t).map(e=>(0,y.isValidElement)(e)?(0,y.cloneElement)(e,void 0,(0,O.jsx)(v,{name:o.state.parentName,children:e.props.children})):e));let f=(0,O.jsx)(g.ThemeManagerIDContext.Provider,{value:o.id,children:c});return!1===l?f:m.isWeb?function({children:e,themeState:t,forceClassName:r,isRoot:n}){if(n&&!1===r)return e;let o=t.inversed,{className:a,style:i}=function(e,t=!1){if(!e.isNewTheme)return{className:"",style:j};let r=e.state?.theme&&e.isNewTheme?(0,b.variableToString)(e.state.theme.color):"",n=e.state?.className||"";return t&&(n=n.replace("t_sub_theme","")),{style:r?{color:r}:void 0,className:n}}(t,n),l=(0,O.jsx)("span",{className:`${a} _dsp_contents is_Theme`,style:i,children:e});if(null!=o||r){let e=t.state?.name||"",r=e.startsWith("light")?"t_light is_inversed":e.startsWith("dark")?"t_dark is_inversed":"";l=(0,O.jsx)("span",{className:`${o?r:""} _dsp_contents`,children:l})}return l}({children:f,themeState:e,forceClassName:l,isRoot:n}):f}v.displayName="Theme",v.avoidForwardRef=!0;let j={}},843:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};function s({themeState:e,themeProps:t,children:r}){return r}((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{ThemeDebug:()=>s}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l),r(2513),r(3668),r(2265),r(4887),r(2281),s.displayName="ThemeDebug"},6043:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{ThemeProvider:()=>d}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(5527),u=r(2265),c=r(1267),f=r(8044),p=r(2281);let d=e=>(s.isClient&&(0,u.useLayoutEffect)(()=>{if(e.disableRootThemeClass)return;let t=`${c.THEME_CLASSNAME_PREFIX}${e.defaultTheme}`,r=e.themeClassNameOnRoot?document.documentElement:document.body;return r.classList.add(t),()=>{r.classList.remove(t)}},[e.defaultTheme,e.disableRootThemeClass,e.themeClassNameOnRoot]),(0,p.jsx)(f.Theme,{className:e.className,name:e.defaultTheme,forceClassName:!e.disableRootThemeClass,_isRoot:!0,children:e.children}))},3403:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{View:()=>c}),e.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))i.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(l=o(t,s))||l.enumerable});return e})(n({},"__esModule",{value:!0}),l);var s=r(4267),u=r(1267);let c=(0,r(3397).createComponent)({acceptsClassName:!0,defaultProps:u.stackDefaultStyles,validStyles:s.validStyles})},357:function(e,t,r){"use strict";var n,o;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(o=r.g.process)?void 0:o.env)?r.g.process:r(8081)},8081:function(e){!function(){var t={229:function(e){var t,r,n,o=e.exports={};function a(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var s=[],u=!1,c=-1;function f(){u&&n&&(u=!1,n.length?s=n.concat(s):c=-1,s.length&&p())}function p(){if(!u){var e=l(f);u=!0;for(var t=s.length;t;){for(n=s,s=[];++c1)for(var r=1;r{try{return window.localStorage,!0}catch{return!1}},a=new Map,i=e=>{if(null!=e.encryptionKey)throw Error("MMKV: 'encryptionKey' is not supported on Web!");if(null!=e.path)throw Error("MMKV: 'path' is not supported on Web!");!o()&&n&&console.warn("MMKV: LocalStorage has been disabled. Your experience will be limited to in-memory storage!");let t=()=>{var e,t;if(!n)throw Error("Tried to access storage on the server. Did you forget to call this in useEffect?");if(!o())return{getItem:e=>a.get(e)??null,setItem:(e,t)=>a.set(e,t),removeItem:e=>a.delete(e),clear:()=>a.clear(),length:a.size,key:e=>Object.keys(a).at(e)??null};let i=(null===(e=r.g)||void 0===e?void 0:e.localStorage)??(null===(t=window)||void 0===t?void 0:t.localStorage)??localStorage;if(null==i)throw Error("Could not find 'localStorage' instance!");return i},i=null!=r.g.TextEncoder?new r.g.TextEncoder:{encode:()=>{throw Error("TextEncoder is not supported in this environment!")},encodeInto:()=>{throw Error("TextEncoder is not supported in this environment!")},encoding:"utf-8"};if(e.id.includes("\\"))throw Error("MMKV: `id` cannot contain the backslash character (`\\`)!");let l=`${e.id}\\`,s=e=>{if(e.includes("\\"))throw Error("MMKV: `key` cannot contain the backslash character (`\\`)!");return`${l}${e}`};return{clearAll:()=>{for(let e of Object.keys(t()))e.startsWith(l)&&t().removeItem(e)},delete:e=>t().removeItem(s(e)),set:(e,r)=>{t().setItem(s(e),r.toString())},getString:e=>t().getItem(s(e))??void 0,getNumber:e=>{let r=t().getItem(s(e));if(null!=r)return Number(r)},getBoolean:e=>{let r=t().getItem(s(e));if(null!=r)return"true"===r},getBuffer:e=>{let r=t().getItem(s(e));if(null!=r)return i.encode(r)},getAllKeys:()=>Object.keys(t()).filter(e=>e.startsWith(l)).map(e=>e.slice(l.length)),contains:e=>null!=t().getItem(s(e)),recrypt:()=>{throw Error("`recrypt(..)` is not supported on Web!")}}},l=()=>{let e=new Map;return{clearAll:()=>e.clear(),delete:t=>e.delete(t),set:(t,r)=>e.set(t,r),getString:t=>{let r=e.get(t);return"string"==typeof r?r:void 0},getNumber:t=>{let r=e.get(t);return"number"==typeof r?r:void 0},getBoolean:t=>{let r=e.get(t);return"boolean"==typeof r?r:void 0},getBuffer:t=>{let r=e.get(t);return r instanceof Uint8Array?r:void 0},getAllKeys:()=>Array.from(e.keys()),contains:t=>e.has(t),recrypt:()=>{console.warn("Encryption is not supported in mocked MMKV instances!")}}};var s,u=r(357);let c=new Map;class f{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{id:"mmkv.default"};this.id=e.id,this.nativeInstance=null!=r.g.process&&null!=u.env.JEST_WORKER_ID?l():i(e),this.functionCache={}}get onValueChangedListeners(){return c.has(this.id)||c.set(this.id,[]),c.get(this.id)}getFunctionFromCache(e){return null==this.functionCache[e]&&(this.functionCache[e]=this.nativeInstance[e]),this.functionCache[e]}onValuesChanged(e){if(0!==this.onValueChangedListeners.length)for(let t of e)for(let e of this.onValueChangedListeners)e(t)}set(e,t){this.getFunctionFromCache("set")(e,t),this.onValuesChanged([e])}getBoolean(e){return this.getFunctionFromCache("getBoolean")(e)}getString(e){return this.getFunctionFromCache("getString")(e)}getNumber(e){return this.getFunctionFromCache("getNumber")(e)}getBuffer(e){return this.getFunctionFromCache("getBuffer")(e)}contains(e){return this.getFunctionFromCache("contains")(e)}delete(e){this.getFunctionFromCache("delete")(e),this.onValuesChanged([e])}getAllKeys(){return this.getFunctionFromCache("getAllKeys")()}clearAll(){let e=this.getAllKeys();this.getFunctionFromCache("clearAll")(),this.onValuesChanged(e)}recrypt(e){return this.getFunctionFromCache("recrypt")(e)}toString(){return`MMKV (${this.id}): [${this.getAllKeys().join(", ")}]`}toJSON(){return{[this.id]:this.getAllKeys()}}addOnValueChangedListener(e){return this.onValueChangedListeners.push(e),{remove:()=>{let t=this.onValueChangedListeners.indexOf(e);-1!==t&&this.onValueChangedListeners.splice(t,1)}}}}var p=r(2265);let d=null;function m(e){return(t,r)=>{let n=r??(null==d&&(d=new f),d),[o,a]=(0,p.useState)(0),i=(0,p.useMemo)(()=>e(n,t),[n,t,o]),l=(0,p.useCallback)(r=>{let o="function"==typeof r?r(e(n,t)):r;switch(typeof o){case"number":case"string":case"boolean":n.set(t,o);break;case"undefined":n.delete(t);break;case"object":if(o instanceof Uint8Array){n.set(t,o);break}throw Error(`MMKV: Type object (${o}) is not supported!`);default:throw Error(`MMKV: Type ${typeof o} is not supported!`)}},[t,n]);return(0,p.useEffect)(()=>{let e=n.addOnValueChangedListener(e=>{e===t&&a(e=>e+1)});return()=>e.remove()},[t,n]),[i,l]}}m((e,t)=>e.getString(t)),m((e,t)=>e.getNumber(t)),m((e,t)=>e.getBoolean(t)),m((e,t)=>e.getBuffer(t))},4492:function(e,t,r){"use strict";/** - * @license React - * use-sync-external-store-shim.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var n=r(2265),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useState,i=n.useEffect,l=n.useLayoutEffect,s=n.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=a({inst:{value:r,getSnapshot:t}}),o=n[0].inst,c=n[1];return l(function(){o.value=r,o.getSnapshot=t,u(o)&&c({inst:o})},[e,r,t]),i(function(){return u(o)&&c({inst:o}),e(function(){u(o)&&c({inst:o})})},[e]),s(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},5107:function(e,t,r){"use strict";/** - * @license React - * use-sync-external-store-shim/with-selector.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var n=r(2265),o=r(554),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=o.useSyncExternalStore,l=n.useRef,s=n.useEffect,u=n.useMemo,c=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,o){var f=l(null);if(null===f.current){var p={hasValue:!1,value:null};f.current=p}else p=f.current;var d=i(e,(f=u(function(){function e(e){if(!s){if(s=!0,i=e,e=n(e),void 0!==o&&p.hasValue){var t=p.value;if(o(t,e))return l=t}return l=e}if(t=l,a(i,e))return t;var r=n(e);return void 0!==o&&o(t,r)?t:(i=e,l=r)}var i,l,s=!1,u=void 0===r?null:r;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,r,n,o]))[0],f[1]);return s(function(){p.hasValue=!0,p.value=d},[d]),c(d),d}},554:function(e,t,r){"use strict";e.exports=r(4492)},5006:function(e,t,r){"use strict";e.exports=r(5107)},281:function(e,t,r){"use strict";r.d(t,{Dt:function(){return c},C5:function(){return i},s:function(){return f},wT:function(){return u},$L:function(){return o},LI:function(){return l}});var n=r(2265);let o=!0,a="u">typeof window,i=a,l=a?n.useLayoutEffect:n.useEffect,s=("u">typeof navigator&&/Chrome/.test(navigator.userAgent||""),i&&("ontouchstart"in window||navigator.maxTouchPoints>0)),u=!o||s,c=!1,f=!1},4624:function(e,t,r){"use strict";let n;r.d(t,{h_:function(){return u},$2:function(){return _},b5:function(){return x},Xp:function(){return P}}),r(7961);var o=r(281),a=r(5377),i=r(2265),l=r(4887),s=r(2281);let u=i.memo(({host:e=globalThis.document?.body,...t})=>{let r=(0,s.jsx)(a.FA,{contain:"strict",fullscreen:!0,position:o.$L?"fixed":"absolute",maxWidth:o.$L?"100vw":"100%",maxHeight:o.$L?"100vh":"100%",pointerEvents:"none",...t}),[n,u]=i.useState(null);return(0,o.LI)(()=>{u(e)},[e]),n&&t.children?(0,l.createPortal)(r,n):null});var c=r(3974),f=r(6616),p=((n=p||{})[n.REGISTER_HOST=0]="REGISTER_HOST",n[n.DEREGISTER_HOST=1]="DEREGISTER_HOST",n[n.ADD_UPDATE_PORTAL=2]="ADD_UPDATE_PORTAL",n[n.REMOVE_PORTAL=3]="REMOVE_PORTAL",n);let d={},m=(e,t)=>(t in e||(e[t]=[]),e),y=(e,t)=>(delete e[t],e),b=(e,t,r,n)=>{t in e||(e=m(e,t));let o=e[t].findIndex(e=>e.name===r);return -1!==o?e[t][o].node=n:e[t].push({name:r,node:n}),e},g=(e,t,r)=>{if(!(t in e))return console.info(`Failed to remove portal '${r}', '${t}' was not registered!`),e;let n=e[t].findIndex(e=>e.name===r);return -1!==n&&e[t].splice(n,1),e},h=(e,t)=>{let{type:r}=t;switch(r){case 0:return m({...e},t.hostName);case 1:return y({...e},t.hostName);case 2:return b({...e},t.hostName,t.portalName,t.node);case 3:return g({...e},t.hostName,t.portalName);default:return e}},O=(0,i.createContext)(null),v=(0,i.createContext)(null),w=e=>{let t=(0,i.useContext)(O);if(null===t)throw Error("'PortalStateContext' cannot be null, please add 'PortalProvider' to the root component.");return t[e]||[]},j=(e="root")=>{let t=(0,i.useContext)(v);if(null===t)throw Error("'PortalDispatchContext' cannot be null, please add 'PortalProvider' to the root component.");let r=(0,i.useCallback)(()=>{t({type:0,hostName:e})},[]),n=(0,i.useCallback)(()=>{t({type:1,hostName:e})},[]),o=(0,i.useCallback)((r,n)=>{t({type:2,hostName:e,portalName:r,node:n})},[]);return{registerHost:r,deregisterHost:n,addPortal:o,updatePortal:o,removePortal:(0,i.useCallback)(r=>{t({type:3,hostName:e,portalName:r})},[])}},P=(0,i.memo)(({rootHostName:e="root",shouldAddRootHost:t=!0,children:r})=>{let[n,o]=(0,i.useReducer)(h,d),a=(0,i.useMemo)(()=>e=>{(0,i.startTransition)(()=>{o(e)})},[o]);return(0,s.jsx)(v.Provider,{value:a,children:(0,s.jsxs)(O.Provider,{value:n,children:[r,t&&(0,s.jsx)(_,{name:e})]})})});P.displayName="PortalProvider";let S=e=>(0,s.jsx)(s.Fragment,{children:e}),_=(0,i.memo)(e=>{let{name:t,forwardProps:r,render:n=S}=e,o=!(0,f.S)(),a=w(t),{registerHost:l,deregisterHost:s}=j(e.name);return(0,i.useEffect)(()=>{if(!o)return l(),()=>{s()}},[o]),n(r?a.map(e=>{let t=e.node;return r?i.Children.map(t,e=>i.isValidElement(e)?i.cloneElement(e,{key:e.key,...r}):e):t}):a.map(e=>e.node))});_.displayName="PortalHost";let x=(0,i.memo)(e=>{let{name:t,hostName:r,handleOnMount:n,handleOnUnmount:a,handleOnUpdate:l,children:s}=e,{addPortal:u,removePortal:f}=j(r),p=(0,i.useId)(),d=t||p,m=(0,c.useEvent)(()=>{n?n(()=>u(d,s)):u(d,s)}),y=(0,c.useEvent)(()=>{a?a(()=>f(d)):f(d)}),b=(0,c.useEvent)(()=>{l?l(()=>u(d,s)):u(d,s)});return(0,o.LI)(()=>(m(),()=>{y()}),[]),(0,i.useEffect)(()=>{b()},[s]),null});x.displayName="Portal"},5377:function(e,t,r){"use strict";r.d(t,{FA:function(){return l},Xu:function(){return a},sL:function(){return s}});var n=r(3974),o=r(8587);let a={position:"absolute",top:0,left:0,right:0,bottom:0},i={fullscreen:{true:a},elevation:{"...size":o.y,":number":o.y},inset:e=>e&&"object"==typeof e?e:{top:e,left:e,bottom:e,right:e}},l=(0,n.styled)(n.View,{flexDirection:"column",variants:i});l.displayName="YStack";let s=(0,n.styled)(n.View,{flexDirection:"row",variants:i});s.displayName="XStack",(0,n.styled)(l,{position:"relative"},{neverFlatten:!0,isZStack:!0}).displayName="ZStack"},8587:function(e,t,r){"use strict";r.d(t,{y:function(){return o}});var n=r(3974);let o=(e,t)=>{if(!e)return;let{tokens:r}=t,o=r.size[e];return a((0,n.isVariable)(o)?+o.val:e,t)},a=(e,{theme:t,tokens:r})=>{let o=0;if(!0===e){let e=(0,n.getVariableValue)(r.size.true);o="number"==typeof e?e:10}else o=+e;if(0===o)return;let[a,i]=[Math.round(o/4+1),Math.round(o/2+2)];return{shadowColor:t.shadowColor,shadowRadius:i,shadowOffset:{height:a,width:0},...n.isAndroid?{elevationAndroid:2*a}:{}}}},6616:function(e,t,r){"use strict";r.d(t,{S:function(){return i}});var n=r(2265);let o=()=>{},a=()=>o;function i(e){return(0,n.useSyncExternalStore)(a,()=>e??!0,()=>!1)}},9087:function(e,t,r){"use strict";r.d(t,{z:function(){return a}});var n=r(281),o=r(2265);function a(e){return function(e,t,r){let a=(0,o.useRef)(t??e);return(0,n.LI)(()=>{a.current=e}),(0,o.useCallback)(r?(...e)=>a.current?.apply(null,e):()=>a.current,[])}(e,i,!0)}let i=()=>{throw Error("Cannot call an event handler while rendering.")}},5390:function(e,t,r){"use strict";r.d(t,{Oy:function(){return a},il:function(){return i},oO:function(){return l}});var n=r(2265),o=r(2281);let a=(0,n.createContext)(null),i=e=>(0,o.jsx)(a.Provider,{value:null,children:e.children});function l(){let e=(0,n.useContext)(a);if(!e)return[!0,null,e];let{id:t,isPresent:r,onExitComplete:o,register:i}=e;return(0,n.useEffect)(()=>i(t),[]),!r&&o?[!1,()=>o?.(t),e]:[!0,void 0,e]}},9099:function(e,t,r){"use strict";r.d(t,{Ue:function(){return p}});let n=e=>{let t;let r=new Set,n=(e,n)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=n?n:"object"!=typeof o||null===o)?o:Object.assign({},t,o),r.forEach(r=>r(t,e))}},o=()=>t,a={setState:n,getState:o,getInitialState:()=>i,subscribe:e=>(r.add(e),()=>r.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),r.clear()}},i=t=e(n,o,a);return a},o=e=>e?n(e):n;var a=r(2265),i=r(5006);let{useDebugValue:l}=a,{useSyncExternalStoreWithSelector:s}=i,u=!1,c=e=>e,f=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?o(e):e,r=(e,r)=>(function(e,t=c,r){r&&!u&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),u=!0);let n=s(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,r);return l(n),n})(t,e,r);return Object.assign(r,t),r},p=e=>e?f(e):f},9291:function(e,t,r){"use strict";r.d(t,{FL:function(){return s},mW:function(){return i},tJ:function(){return p}});let n=new Map,o=e=>{let t=n.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([e,t])=>[e,t.getState()])):{}},a=(e,t,r)=>{if(void 0===e)return{type:"untracked",connection:t.connect(r)};let o=n.get(r.name);if(o)return{type:"tracked",store:e,...o};let a={connection:t.connect(r),stores:{}};return n.set(r.name,a),{type:"tracked",store:e,...a}},i=(e,t={})=>(r,n,i)=>{let s;let{enabled:u,anonymousActionType:c,store:f,...p}=t;try{s=(null==u||u)&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(e){}if(!s)return u&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(r,n,i);let{connection:d,...m}=a(f,s,p),y=!0;i.setState=(e,t,a)=>{let l=r(e,t);if(!y)return l;let s=void 0===a?{type:c||"anonymous"}:"string"==typeof a?{type:a}:a;return void 0===f?null==d||d.send(s,n()):null==d||d.send({...s,type:`${f}/${s.type}`},{...o(p.name),[f]:i.getState()}),l};let b=(...e)=>{let t=y;y=!1,r(...e),y=t},g=e(i.setState,n,i);if("untracked"===m.type?null==d||d.init(g):(m.stores[m.store]=i,null==d||d.init(Object.fromEntries(Object.entries(m.stores).map(([e,t])=>[e,e===m.store?g:t.getState()])))),i.dispatchFromDevtools&&"function"==typeof i.dispatch){let e=!1,t=i.dispatch;i.dispatch=(...r)=>{"__setState"!==r[0].type||e||(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),e=!0),t(...r)}}return d.subscribe(e=>{var t;switch(e.type){case"ACTION":if("string"!=typeof e.payload){console.error("[zustand devtools middleware] Unsupported action format");return}return l(e.payload,e=>{if("__setState"===e.type){if(void 0===f){b(e.state);return}1!==Object.keys(e.state).length&&console.error(` - [zustand devtools middleware] Unsupported __setState action format. - When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(), - and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } } - `);let t=e.state[f];if(null==t)return;JSON.stringify(i.getState())!==JSON.stringify(t)&&b(t);return}i.dispatchFromDevtools&&"function"==typeof i.dispatch&&i.dispatch(e)});case"DISPATCH":switch(e.payload.type){case"RESET":if(b(g),void 0===f)return null==d?void 0:d.init(i.getState());return null==d?void 0:d.init(o(p.name));case"COMMIT":if(void 0===f){null==d||d.init(i.getState());break}return null==d?void 0:d.init(o(p.name));case"ROLLBACK":return l(e.state,e=>{if(void 0===f){b(e),null==d||d.init(i.getState());return}b(e[f]),null==d||d.init(o(p.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return l(e.state,e=>{if(void 0===f){b(e);return}JSON.stringify(i.getState())!==JSON.stringify(e[f])&&b(e[f])});case"IMPORT_STATE":{let{nextLiftedState:r}=e.payload,n=null==(t=r.computedStates.slice(-1)[0])?void 0:t.state;if(!n)return;void 0===f?b(n):b(n[f]),null==d||d.send(null,r);break}case"PAUSE_RECORDING":return y=!y}return}}),g},l=(e,t)=>{let r;try{r=JSON.parse(e)}catch(e){console.error("[zustand devtools middleware] Could not parse the received json",e)}void 0!==r&&t(r)};function s(e,t){let r;try{r=e()}catch(e){return}return{getItem:e=>{var n;let o=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),a=null!=(n=r.getItem(e))?n:null;return a instanceof Promise?a.then(o):o(a)},setItem:(e,n)=>r.setItem(e,JSON.stringify(n,null==t?void 0:t.replacer)),removeItem:e=>r.removeItem(e)}}let u=e=>t=>{try{let r=e(t);if(r instanceof Promise)return r;return{then:e=>u(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>u(t)(e)}}},c=(e,t)=>(r,n,o)=>{let a,i,l={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},s=!1,c=new Set,f=new Set;try{a=l.getStorage()}catch(e){}if(!a)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${l.name}', the given storage is currently unavailable.`),r(...e)},n,o);let p=u(l.serialize),d=()=>{let e;let t=p({state:l.partialize({...n()}),version:l.version}).then(e=>a.setItem(l.name,e)).catch(t=>{e=t});if(e)throw e;return t},m=o.setState;o.setState=(e,t)=>{m(e,t),d()};let y=e((...e)=>{r(...e),d()},n,o),b=()=>{var e;if(!a)return;s=!1,c.forEach(e=>e(n()));let t=(null==(e=l.onRehydrateStorage)?void 0:e.call(l,n()))||void 0;return u(a.getItem.bind(a))(l.name).then(e=>{if(e)return l.deserialize(e)}).then(e=>{if(e){if("number"!=typeof e.version||e.version===l.version)return e.state;if(l.migrate)return l.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}}).then(e=>{var t;return r(i=l.merge(e,null!=(t=n())?t:y),!0),d()}).then(()=>{null==t||t(i,void 0),s=!0,f.forEach(e=>e(i))}).catch(e=>{null==t||t(void 0,e)})};return o.persist={setOptions:e=>{l={...l,...e},e.getStorage&&(a=e.getStorage())},clearStorage:()=>{null==a||a.removeItem(l.name)},getOptions:()=>l,rehydrate:()=>b(),hasHydrated:()=>s,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(f.add(e),()=>{f.delete(e)})},b(),i||y},f=(e,t)=>(r,n,o)=>{let a,i={storage:s(()=>localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},l=!1,c=new Set,f=new Set,p=i.storage;if(!p)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),r(...e)},n,o);let d=()=>{let e=i.partialize({...n()});return p.setItem(i.name,{state:e,version:i.version})},m=o.setState;o.setState=(e,t)=>{m(e,t),d()};let y=e((...e)=>{r(...e),d()},n,o);o.getInitialState=()=>y;let b=()=>{var e,t;if(!p)return;l=!1,c.forEach(e=>{var t;return e(null!=(t=n())?t:y)});let o=(null==(t=i.onRehydrateStorage)?void 0:t.call(i,null!=(e=n())?e:y))||void 0;return u(p.getItem.bind(p))(i.name).then(e=>{if(e){if("number"!=typeof e.version||e.version===i.version)return e.state;if(i.migrate)return i.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}}).then(e=>{var t;return r(a=i.merge(e,null!=(t=n())?t:y),!0),d()}).then(()=>{null==o||o(a,void 0),a=n(),l=!0,f.forEach(e=>e(a))}).catch(e=>{null==o||o(void 0,e)})};return o.persist={setOptions:e=>{i={...i,...e},e.storage&&(p=e.storage)},clearStorage:()=>{null==p||p.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>b(),hasHydrated:()=>l,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(f.add(e),()=>{f.delete(e)})},i.skipHydration||b(),a||y},p=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?(console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),c(e,t)):f(e,t)},2844:function(e,t,r){"use strict";r.d(t,{n:function(){return B}});var n,o=Symbol.for("immer-nothing"),a=Symbol.for("immer-draftable"),i=Symbol.for("immer-state");function l(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var s=Object.getPrototypeOf;function u(e){return!!e&&!!e[i]}function c(e){return!!e&&(p(e)||Array.isArray(e)||!!e[a]||!!e.constructor?.[a]||g(e)||h(e))}var f=Object.prototype.constructor.toString();function p(e){if(!e||"object"!=typeof e)return!1;let t=s(e);if(null===t)return!0;let r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===f}function d(e,t){0===m(e)?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function m(e){let t=e[i];return t?t.type_:Array.isArray(e)?1:g(e)?2:h(e)?3:0}function y(e,t){return 2===m(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function b(e,t,r){let n=m(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function g(e){return e instanceof Map}function h(e){return e instanceof Set}function O(e){return e.copy_||e.base_}function v(e,t){if(g(e))return new Map(e);if(h(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&p(e))return s(e)?{...e}:Object.assign(Object.create(null),e);let r=Object.getOwnPropertyDescriptors(e);delete r[i];let n=Reflect.ownKeys(r);for(let t=0;t1&&(e.set=e.add=e.clear=e.delete=j),Object.freeze(e),t&&Object.entries(e).forEach(([e,t])=>w(t,!0))),e}function j(){l(2)}function P(e){return Object.isFrozen(e)}var S={};function _(e){let t=S[e];return t||l(0,e),t}function x(e,t){t&&(_("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function C(e){T(e),e.drafts_.forEach(E),e.drafts_=null}function T(e){e===n&&(n=e.parent_)}function M(e){return n={drafts_:[],parent_:n,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function E(e){let t=e[i];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function N(e,t){t.unfinalizedDrafts_=t.drafts_.length;let r=t.drafts_[0];return void 0!==e&&e!==r?(r[i].modified_&&(C(t),l(4)),c(e)&&(e=R(t,e),t.parent_||k(t,e)),t.patches_&&_("Patches").generateReplacementPatches_(r[i].base_,e,t.patches_,t.inversePatches_)):e=R(t,r,[]),C(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==o?e:void 0}function R(e,t,r){if(P(t))return t;let n=t[i];if(!n)return d(t,(o,a)=>$(e,n,t,o,a,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return k(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;let t=n.copy_,o=t,a=!1;3===n.type_&&(o=new Set(t),t.clear(),a=!0),d(o,(o,i)=>$(e,n,t,o,i,r,a)),k(e,t,!1),r&&e.patches_&&_("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function $(e,t,r,n,o,a,i){if(u(o)){let i=R(e,o,a&&t&&3!==t.type_&&!y(t.assigned_,n)?a.concat(n):void 0);if(b(r,n,i),!u(i))return;e.canAutoFreeze_=!1}else i&&r.add(o);if(c(o)&&!P(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;R(e,o),(!t||!t.scope_.parent_)&&"symbol"!=typeof n&&Object.prototype.propertyIsEnumerable.call(r,n)&&k(e,o)}}function k(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&w(t,r)}var A={get(e,t){if(t===i)return e;let r=O(e);if(!y(r,t))return function(e,t,r){let n=V(t,r);return n?"value"in n?n.value:n.get?.call(e.draft_):void 0}(e,r,t);let n=r[t];return e.finalized_||!c(n)?n:n===I(e.base_,t)?(F(e),e.copy_[t]=W(n,e)):n},has:(e,t)=>t in O(e),ownKeys:e=>Reflect.ownKeys(O(e)),set(e,t,r){let n=V(O(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){let n=I(O(e),t),o=n?.[i];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if((r===n?0!==r||1/r==1/n:r!=r&&n!=n)&&(void 0!==r||y(e.base_,t)))return!0;F(e),L(e)}return!!(e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t]))||(e.copy_[t]=r,e.assigned_[t]=!0,!0)},deleteProperty:(e,t)=>(void 0!==I(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,F(e),L(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){let r=O(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty(){l(11)},getPrototypeOf:e=>s(e.base_),setPrototypeOf(){l(12)}},D={};function I(e,t){let r=e[i];return(r?O(r):e)[t]}function V(e,t){if(!(t in e))return;let r=s(e);for(;r;){let e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=s(r)}}function L(e){!e.modified_&&(e.modified_=!0,e.parent_&&L(e.parent_))}function F(e){e.copy_||(e.copy_=v(e.base_,e.scope_.immer_.useStrictShallowCopy_))}function W(e,t){let r=g(e)?_("MapSet").proxyMap_(e,t):h(e)?_("MapSet").proxySet_(e,t):function(e,t){let r=Array.isArray(e),o={type_:r?1:0,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},a=o,i=A;r&&(a=[o],i=D);let{revoke:l,proxy:s}=Proxy.revocable(a,i);return o.draft_=s,o.revoke_=l,s}(e,t);return(t?t.scope_:n).drafts_.push(r),r}d(A,(e,t)=>{D[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),D.deleteProperty=function(e,t){return D.set.call(this,e,t,void 0)},D.set=function(e,t,r){return A.set.call(this,e[0],t,r,e[0])};var z=new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,t,r)=>{let n;if("function"==typeof e&&"function"!=typeof t){let r=t;t=e;let n=this;return function(e=r,...o){return n.produce(e,e=>t.call(this,e,...o))}}if("function"!=typeof t&&l(6),void 0!==r&&"function"!=typeof r&&l(7),c(e)){let o=M(this),a=W(e,void 0),i=!0;try{n=t(a),i=!1}finally{i?C(o):T(o)}return x(o,r),N(n,o)}if(e&&"object"==typeof e)l(1,e);else{if(void 0===(n=t(e))&&(n=e),n===o&&(n=void 0),this.autoFreeze_&&w(n,!0),r){let t=[],o=[];_("Patches").generateReplacementPatches_(e,n,t,o),r(t,o)}return n}},this.produceWithPatches=(e,t)=>{let r,n;return"function"==typeof e?(t,...r)=>this.produceWithPatches(t,t=>e(t,...r)):[this.produce(e,t,(e,t)=>{r=e,n=t}),r,n]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){var t;c(e)||l(8),u(e)&&(u(t=e)||l(10,t),e=function e(t){let r;if(!c(t)||P(t))return t;let n=t[i];if(n){if(!n.modified_)return n.base_;n.finalized_=!0,r=v(t,n.scope_.immer_.useStrictShallowCopy_)}else r=v(t,!0);return d(r,(t,n)=>{b(r,t,e(n))}),n&&(n.finalized_=!1),r}(t));let r=M(this),n=W(e,void 0);return n[i].isManual_=!0,T(r),n}finishDraft(e,t){let r=e&&e[i];r&&r.isManual_||l(9);let{scope_:n}=r;return x(n,t),N(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){let n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));let n=_("Patches").applyPatches_;return u(e)?n(e,t):this.produce(e,e=>n(e,t))}},H=z.produce;z.produceWithPatches.bind(z),z.setAutoFreeze.bind(z),z.setUseStrictShallowCopy.bind(z),z.applyPatches.bind(z),z.createDraft.bind(z),z.finishDraft.bind(z);let B=e=>(t,r,n)=>(n.setState=(e,r,...n)=>t("function"==typeof e?H(e):e,r,...n),e(n.setState,r,n))}}]); \ No newline at end of file