File size: 88,724 Bytes
dcf3d12
8543ba2
 
 
dcf3d12
 
 
 
1
2
3
4
5
6
7
8
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[143],{44:function(e){"use strict";let t;function n(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function r(e,t,r){let i=r<.5?r*(1+t):r+t-r*t,o=2*r-i;return Math.round(255*n(o,i,e+1/3))<<24|Math.round(255*n(o,i,e))<<16|Math.round(255*n(o,i,e-1/3))<<8}let i="[-+]?\\d*\\.?\\d+",o=i+"%";function a(...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 d(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}e.exports=function(e){let h;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"+a(i,i,i)),rgba:RegExp("rgba("+s(i,i,i,i)+"|"+l(i,i,i,i)+")"),hsl:RegExp("hsl"+a(i,o,o)),hsla:RegExp("hsla("+s(i,o,o,i)+"|"+l(i,o,o,i)+")"),hwb:RegExp("hwb"+a(i,o,o)),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(h=m.hex6.exec(e))return parseInt(h[1]+"ff",16)>>>0;let p=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!=p?p:(h=m.rgb.exec(e))?(u(h[1])<<24|u(h[2])<<16|u(h[3])<<8|255)>>>0:(h=m.rgba.exec(e))?void 0!==h[6]?(u(h[6])<<24|u(h[7])<<16|u(h[8])<<8|f(h[9]))>>>0:(u(h[2])<<24|u(h[3])<<16|u(h[4])<<8|f(h[5]))>>>0:(h=m.hex3.exec(e))?parseInt(h[1]+h[1]+h[2]+h[2]+h[3]+h[3]+"ff",16)>>>0:(h=m.hex8.exec(e))?parseInt(h[1],16)>>>0:(h=m.hex4.exec(e))?parseInt(h[1]+h[1]+h[2]+h[2]+h[3]+h[3]+h[4]+h[4],16)>>>0:(h=m.hsl.exec(e))?(255|r(c(h[1]),d(h[2]),d(h[3])))>>>0:(h=m.hsla.exec(e))?void 0!==h[6]?(r(c(h[6]),d(h[7]),d(h[8]))|f(h[9]))>>>0:(r(c(h[2]),d(h[3]),d(h[4]))|f(h[5]))>>>0:(h=m.hwb.exec(e))?(255|function(e,t,r){if(t+r>=1){let e=Math.round(255*t/(t+r));return e<<24|e<<16|e<<8}return Math.round(255*(n(0,1,e+1/3)*(1-t-r)+t))<<24|Math.round(255*(n(0,1,e)*(1-t-r)+t))<<16|Math.round(255*(n(0,1,e-1/3)*(1-t-r)+t))<<8}(c(h[1]),d(h[2]),d(h[3])))>>>0:null}},7961:function(){void 0===globalThis.__DEV__&&(globalThis.__DEV__=!1)},357:function(e,t,n){"use strict";var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(8081)},8081:function(e){!function(){var t={229:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var s=[],u=!1,c=-1;function f(){u&&r&&(u=!1,r.length?s=r.concat(s):c=-1,s.length&&d())}function d(){if(!u){var e=l(f);u=!0;for(var t=s.length;t;){for(r=s,s=[];++c<t;)r&&r[c].run();c=-1,t=s.length}r=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new h(e,t)),1!==s.length||u||l(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,r),a=!1}finally{a&&delete n[e]}return o.exports}r.ab="//";var i=r(229);e.exports=i}()},9046:function(e,t,n){"use strict";n.d(t,{FE:function(){return i},ex:function(){return o}});var r=n(2265);function i(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):e&&(e.current=t)})}function o(...e){return r.useCallback(i(...e),e)}},281:function(e,t,n){"use strict";n.d(t,{ob:function(){return h},Dt:function(){return f},C5:function(){return l},s:function(){return d},sk:function(){return a},wT:function(){return c},$L:function(){return i},LI:function(){return s}});var r=n(2265);let i=!0,o="u">typeof window,a=!o,l=o,s=a?r.useEffect:r.useLayoutEffect,u=("u">typeof navigator&&/Chrome/.test(navigator.userAgent||""),l&&("ontouchstart"in window||navigator.maxTouchPoints>0)),c=!i||u,f=!1,d=!1,h="web"},2166:function(e,t,n){"use strict";n.d(t,{Kq:function(){return ei},xv:function(){return eo},G7:function(){return er}});var r=n(2265);let i="__reactResponderId",o=!!("u">typeof window&&window.document&&window.document.createElement),a=e=>{if(e&&1===e.nodeType&&e.getBoundingClientRect)return e.getBoundingClientRect()};function l(e){let t=[];for(;null!=e&&e!==document.body;)t.push(e),e=e.parentNode;return t}let s=()=>{},u={},c=[];function f(e){return e>20?e%20:e}function d(e,t){let n,r=!1,i,o,l=e.changedTouches,d=e.type,h=!0===e.metaKey,m=!0===e.shiftKey,p=l?.[0].force||0,g=f(l?.[0].identifier||0),y=l?.[0].clientX||e.clientX,b=l?.[0].clientY||e.clientY,v=l?.[0].pageX||e.pageX,S=l?.[0].pageY||e.pageY,w="function"==typeof e.preventDefault?e.preventDefault.bind(e):s,x=e.timeStamp;function T(e){return Array.prototype.slice.call(e).map(e=>({force:e.force,identifier:f(e.identifier),get locationX(){return E(e.clientX)},get locationY(){return C(e.clientY)},pageX:e.pageX,pageY:e.pageY,target:e.target,timestamp:x}))}if(null!=l)i=T(l),o=T(e.touches);else{let t=[{force:p,identifier:g,get locationX(){return E(y)},get locationY(){return C(b)},pageX:v,pageY:S,target:e.target,timestamp:x}];i=t,o="mouseup"===d||"dragstart"===d?c:t}let $={bubbles:!0,cancelable:!0,currentTarget:null,defaultPrevented:e.defaultPrevented,dispatchConfig:u,eventPhase:e.eventPhase,isDefaultPrevented:()=>e.defaultPrevented,isPropagationStopped:()=>r,isTrusted:e.isTrusted,nativeEvent:{altKey:!1,ctrlKey:!1,metaKey:h,shiftKey:m,changedTouches:i,force:p,identifier:g,get locationX(){return E(y)},get locationY(){return C(b)},pageX:v,pageY:S,target:e.target,timestamp:x,touches:o,type:d},persist:s,preventDefault:w,stopPropagation(){r=!0},target:e.target,timeStamp:x,touchHistory:t.touchHistory};function E(e){if(n=n||a($.currentTarget))return e-n.left}function C(e){if(n=n||a($.currentTarget))return e-n.top}return $}function h(e){return"touchstart"===e||"mousedown"===e}function m(e){return"touchmove"===e||"mousemove"===e}function p(e){return"touchend"===e||"mouseup"===e||g(e)}function g(e){return"touchcancel"===e||"dragstart"===e}class y{_touchHistory={touchBank:[],numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0};recordTouchTrack(e,t){let n=this._touchHistory;if(m(e))t.changedTouches.forEach(e=>(function(e,t){let n=t.touchBank[v(e)];n?(n.touchActive=!0,n.previousPageX=n.currentPageX,n.previousPageY=n.currentPageY,n.previousTimeStamp=n.currentTimeStamp,n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=b(e),t.mostRecentTimeStamp=b(e)):console.warn(`Cannot record touch move without a touch start.
`,`Touch Move: ${S(e)}
`,`Touch Bank: ${w(t)}`)})(e,n));else if(h(e))t.changedTouches.forEach(e=>(function(e,t){let n=v(e),r=t.touchBank[n];r?(r.touchActive=!0,r.startPageX=e.pageX,r.startPageY=e.pageY,r.startTimeStamp=b(e),r.currentPageX=e.pageX,r.currentPageY=e.pageY,r.currentTimeStamp=b(e),r.previousPageX=e.pageX,r.previousPageY=e.pageY,r.previousTimeStamp=b(e)):t.touchBank[n]={touchActive:!0,startPageX:e.pageX,startPageY:e.pageY,startTimeStamp:b(e),currentPageX:e.pageX,currentPageY:e.pageY,currentTimeStamp:b(e),previousPageX:e.pageX,previousPageY:e.pageY,previousTimeStamp:b(e)},t.mostRecentTimeStamp=b(e)})(e,n)),n.numberActiveTouches=t.touches.length,1===n.numberActiveTouches&&(n.indexOfSingleActiveTouch=t.touches[0].identifier);else if(p(e)&&(t.changedTouches.forEach(e=>(function(e,t){let n=t.touchBank[v(e)];n?(n.touchActive=!1,n.previousPageX=n.currentPageX,n.previousPageY=n.currentPageY,n.previousTimeStamp=n.currentTimeStamp,n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=b(e),t.mostRecentTimeStamp=b(e)):console.warn(`Cannot record touch end without a touch start.
`,`Touch End: ${S(e)}
`,`Touch Bank: ${w(t)}`)})(e,n)),n.numberActiveTouches=t.touches.length,1===n.numberActiveTouches)){let{touchBank:e}=n;for(let t=0;t<e.length;t++)if(e[t]?.touchActive){n.indexOfSingleActiveTouch=t;break}}}get touchHistory(){return this._touchHistory}}function b(e){return e.timeStamp||e.timestamp}function v({identifier:e}){return null==e&&console.error("Touch object is missing identifier."),e}function S(e){return JSON.stringify({identifier:e.identifier,pageX:e.pageX,pageY:e.pageY,timestamp:b(e)})}function w(e){let{touchBank:t}=e,n=JSON.stringify(t.slice(0,20));return t.length>20&&(n+=` (original size: ${t.length})`),n}let x={},T=["onStartShouldSetResponderCapture","onStartShouldSetResponder",{bubbles:!0}],$=["onMoveShouldSetResponderCapture","onMoveShouldSetResponder",{bubbles:!0}],E={touchstart:T,mousedown:T,touchmove:$,mousemove:$,scroll:["onScrollShouldSetResponderCapture","onScrollShouldSetResponder",{bubbles:!1}]},C={id:null,idPath:null,node:null},k=new Map,R=!1,P=0,A={id:null,node:null,idPath:null},_=new y;function O(e){return k.get(e)??x}function N(e){let t=e.type,n=e.target;if("touchstart"===t&&(R=!0),("touchmove"===t||P>1)&&(R=!1),"mousedown"===t&&R||"mousemove"===t&&R||"mousemove"===t&&P<1)return;if(R&&"mouseup"===t){0===P&&(R=!1);return}let r=h(t)&&function(e){let{altKey:t,button:n,buttons:r,ctrlKey:i,type:o}=e,a=!1===t&&!1===i;return!!("touchstart"===o||"touchmove"===o||"mousedown"===o&&(0===n||1===r)&&a||"mousemove"===o&&1===r&&a)}(e),o=m(t),a=p(t),s="scroll"===t,u="select"===t||"selectionchange"===t,c=d(e,_);(r||o||a)&&(e.touches?P=e.touches.length:r?P=1:a&&(P=0),_.recordTouchTrack(t,c.nativeEvent));let f=function(e){let t=[],n=[],r="selectionchange"===e.type?l(window.getSelection()?.anchorNode):null!=e.composedPath?e.composedPath():l(e.target);for(let e=0;e<r.length;e++){let o=r[e],a=null!=o?o[i]:null;null!=a&&(t.push(a),n.push(o))}return{idPath:t,nodePath:n}}(e),y=!1,b;if(r||o||s&&P>0){let t=A.idPath,n=f.idPath;if(null!=t&&null!=n){let e=function(e,t){let n=e.length,r=t.length;if(0===n||0===r||e[n-1]!==t[r-1])return null;let i=e[0],o=0,a=t[0],l=0;n-r>0&&(i=e[o=n-r],n=r),r-n>0&&(a=t[l=r-n],r=n);let s=n;for(;s--;){if(i===a)return i;i=e[o++],a=t[l++]}return null}(t,n);if(null!=e){let t=n.indexOf(e)+(e===A.id?1:0);f={idPath:n.slice(t),nodePath:f.nodePath.slice(t)}}else f=null}null!=f&&null!=(b=function(e,t,n){let r=E[t.type];if(null!=r){let{idPath:i,nodePath:o}=e,a=r[0],l=r[1],{bubbles:s}=r[2],u=(e,t,r)=>{let o=O(e)[r];if(null!=o&&(n.currentTarget=t,!0===o(n))){let n=i.slice(i.indexOf(e));return{id:e,node:t,idPath:n}}};for(let e=i.length-1;e>=0;e--){let t=u(i[e],o[e],a);if(null!=t)return t;if(!0===n.isPropagationStopped())return}if(s)for(let e=0;e<i.length;e++){let t=u(i[e],o[e],l);if(null!=t)return t;if(!0===n.isPropagationStopped())return}else{let e=i[0],n=o[0];if(t.target===n)return u(e,n,l)}}}(f,e,c))&&(function(e,t){let{id:n,node:r}=A,{id:i,node:o}=t,{onResponderGrant:a,onResponderReject:l}=O(i);if(e.bubbles=!1,e.cancelable=!1,e.currentTarget=o,null==n)null!=a&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderGrant",a(e)),A=t;else{let{onResponderTerminate:i,onResponderTerminationRequest:s}=O(n),u=!0;null!=s&&(e.currentTarget=r,e.dispatchConfig.registrationName="onResponderTerminationRequest",!1===s(e)&&(u=!1)),u?(null!=i&&(e.currentTarget=r,e.dispatchConfig.registrationName="onResponderTerminate",i(e)),null!=a&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderGrant",a(e)),A=t):null!=l&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderReject",l(e))}}(c,b),y=!0)}if(null!=A.id&&null!=A.node){let{id:i,node:l}=A,{onResponderStart:f,onResponderMove:d,onResponderEnd:h,onResponderRelease:m,onResponderTerminate:p,onResponderTerminationRequest:b}=O(i);if(c.bubbles=!1,c.cancelable=!1,c.currentTarget=l,r)null!=f&&(c.dispatchConfig.registrationName="onResponderStart",f(c));else if(o)null!=d&&(c.dispatchConfig.registrationName="onResponderMove",d(c));else{let r=g(t)||"contextmenu"===t||"blur"===t&&n===window||"blur"===t&&n.contains(l)&&e.relatedTarget!==l||s&&0===P||s&&n.contains(l)&&n!==l||u&&("selectionchange"===e.type?function(){let e=window.getSelection();if(!e)return!1;let t=e.toString(),n=e.anchorNode,r=e.focusNode,i=n&&n.nodeType===window.Node.TEXT_NODE||r&&r.nodeType===window.Node.TEXT_NODE;return t.length>=1&&t!==`
`&&!!i}():"select"===e.type),i=a&&!r&&!function(e,t){if(!t||0===t.length)return!1;for(let n=0;n<t.length;n++){let r=t[n].target;if(null!=r&&e.contains(r))return!0}return!1}(l,e.touches);if(a&&null!=h&&(c.dispatchConfig.registrationName="onResponderEnd",h(c)),i&&(null!=m&&(c.dispatchConfig.registrationName="onResponderRelease",m(c)),A=C),r){let e=!0;("contextmenu"===t||"scroll"===t||"selectionchange"===t)&&(y?e=!1:null!=b&&(c.dispatchConfig.registrationName="onResponderTerminationRequest",!1===b(c)&&(e=!1))),e&&(null!=p&&(c.dispatchConfig.registrationName="onResponderTerminate",p(c)),A=C,R=!1,P=0)}}}}let L=["blur","scroll"],M=["mousedown","mousemove","mouseup","dragstart","touchstart","touchmove","touchend","touchcancel","contextmenu","select","selectionchange"],I=Symbol();function j(e){A.id===e&&function(){let{id:e,node:t}=A;if(null!=e&&null!=t){let{onResponderTerminate:n}=O(e);if(null!=n){let e=d({},_);e.currentTarget=t,n(e)}A=C}R=!1,P=0}(),k.has(e)&&k.delete(e)}let W={};var B=n(4283),z=n(2145),F=n(9242);let Y=(0,n(5260).LM)({acceptsClassName:!0,defaultProps:F.tn,validStyles:z.Qn});var D=n(5566),V=n(8475);function X(){return null}var H=n(281);let G=e=>{if(!(!e||1!==e.nodeType))return e.getBoundingClientRect?.()},U=new WeakMap,K=new Set,Q=null;if("u">typeof window&&"ResizeObserver"in window&&(Q=new ResizeObserver(e=>{for(let{target:t}of e){let e=U.get(t);if("function"!=typeof e)return;q(t).then(t=>{e(t)})}}),"function"==typeof window.addEventListener)){let e;window.addEventListener("resize",()=>{clearTimeout(e),e=setTimeout(()=>{K.forEach(e=>e())},4)})}let q=async e=>new Promise(t=>{J(e,null,(n,r,i,o,a,l)=>{t({nativeEvent:{layout:{x:n,y:r,width:i,height:o,left:a,top:l},target:e},timeStamp:Date.now()})})}),Z=new WeakMap,J=(e,t,n)=>{let r=t||e?.parentNode;if(r instanceof HTMLElement){let t=Date.now();Z.set(e,t),Promise.all([et(e),et(r)]).then(([r,i])=>{if(i&&r&&Z.get(e)===t){let{x:e,y:t,width:o,height:a,left:l,top:s}=ee(r,i);n(e,t,o,a,l,s)}})}},ee=(e,t)=>{let{height:n,left:r,top:i,width:o}=e;return{x:r-t.left,y:i-t.top,width:o,height:n,left:r,top:i}},et=e=>new Promise(t=>{let n=setTimeout(function(){t(G(e))},10);new IntersectionObserver((e,r)=>{clearTimeout(n),r.disconnect(),t(e[0]?.boundingClientRect)},{threshold:1e-4}).observe(e)}),en=e=>{let t=G(e);if(!t)return;let{x:n,y:r,top:i,left:o}=t;return{x:n,y:r,width:e.offsetWidth,height:e.offsetHeight,top:i,left:o}};X(),(0,B.b)({getBaseViews:X,usePropsTransform(e,t,n,a){{let s="string"==typeof e,{onMoveShouldSetResponder:u,onMoveShouldSetResponderCapture:c,onResponderEnd:f,onResponderGrant:d,onResponderMove:h,onResponderReject:m,onResponderRelease:p,onResponderStart:g,onResponderTerminate:y,onResponderTerminationRequest:b,onScrollShouldSetResponder:v,onScrollShouldSetResponderCapture:S,onSelectionChangeShouldSetResponder:w,onSelectionChangeShouldSetResponderCapture:x,onStartShouldSetResponder:T,onStartShouldSetResponderCapture:$,collapsable:E,focusable:C,accessible:R,accessibilityDisabled:P,onLayout:A,hrefAttrs:_,...O}=t;if(a||s){var l;let e=(0,r.useMemo)(()=>({get current(){return n.current.host}}),[n]);(0,H.LI)(()=>{let t=e.current;t&&(t.measure||=e=>J(t,null,e),t.measureLayout||=(e,n)=>J(t,e,n),t.measureInWindow||=e=>{t&&setTimeout(()=>{let{height:n,left:r,top:i,width:o}=en(t);e(r,i,o,n)},0)})},[e]),l=s?A:void 0,(0,H.LI)(()=>{if(!l)return;let t=e.current;t&&U.set(t,l)},[e,l]),(0,H.LI)(()=>{if(!Q)return;let t=e.current;if(!t||!U.has(t))return;let n=()=>{q(t).then(l)};return K.add(n),Q.observe(t),()=>{K.delete(n),Q?.unobserve(t)}},[e]),function(e,t=W){let n=r.useId(),a=r.useRef(!1);r.useEffect(()=>(o&&!window[I]&&(window.addEventListener("blur",N),M.forEach(e=>{document.addEventListener(e,N)}),L.forEach(e=>{document.addEventListener(e,N,!0)}),window[I]=!0),()=>{j(n)}),[n]),r.useEffect(()=>{let{onMoveShouldSetResponder:r,onMoveShouldSetResponderCapture:o,onScrollShouldSetResponder:l,onScrollShouldSetResponderCapture:s,onSelectionChangeShouldSetResponder:u,onSelectionChangeShouldSetResponderCapture:c,onStartShouldSetResponder:f,onStartShouldSetResponderCapture:d}=t,h=e.current;null!=r||null!=o||null!=l||null!=s||null!=u||null!=c||null!=f||null!=d?(null!=h&&(h[i]=n),k.set(n,t),a.current=!0):a.current&&(j(n),a.current=!1)},[t,e,n])}(e,s?{onMoveShouldSetResponder:u,onMoveShouldSetResponderCapture:c,onResponderEnd:f,onResponderGrant:d,onResponderMove:h,onResponderReject:m,onResponderRelease:p,onResponderStart:g,onResponderTerminate:y,onResponderTerminationRequest:b,onScrollShouldSetResponder:v,onScrollShouldSetResponderCapture:S,onSelectionChangeShouldSetResponder:w,onSelectionChangeShouldSetResponderCapture:x,onStartShouldSetResponder:T,onStartShouldSetResponderCapture:$}:void 0)}if(s){if(O.href&&_){let{download:e,rel:t,target:n}=_;null!=e&&(O.download=e),t&&(O.rel=t),"string"==typeof n&&(O.target="_"!==n.charAt(0)?`_${n}`:n)}return O}}},useEvents(e,t,{pseudos:n},r,i){}});let er=Y,ei=D.K,eo=V.x},2145:function(e,t,n){"use strict";n.d(t,{Eo:function(){return s},Nq:function(){return l},Ve:function(){return u},Wk:function(){return c},Mj:function(){return a},M:function(){return i},cC:function(){return v},FB:function(){return b},hT:function(){return y},Dc:function(){return p},O0:function(){return m},CV:function(){return h},M6:function(){return S},Qn:function(){return w},$e:function(){return $}});let r=new Map,i=(e,t=10)=>{if(r.has(e))return r.get(e);let n=0,i="",a=e.length;for(let r=0;r<a;r++){let l=e.charCodeAt(r);if("strict"!==t&&(46===l&&(i+="d0t"),(l>=65&&l<=90||l>=97&&l<=122||95===l||45===l||l>=48&&l<=57)&&a<=t)){i+=e[r];continue}n=o(n,e[r])}let l=i+(n?Math.abs(n):"");return r.size>1e4&&r.clear(),r.set(e,l),l},o=(e,t)=>Math.imul(31,e)+t.charCodeAt(0)|0;function a(e,t,{checkDefaultPrevented:n=!0}={}){return e&&t?r=>{if(e?.(r),!r||!(n&&"defaultPrevented"in r)||"defaultPrevented"in r&&!r.defaultPrevented)return t?.(r)}:t||e||void 0}let l=0,s=2,u=3,c=4;var f=n(281);let d={color:!0,textDecorationColor:!0,textShadowColor:!0},h={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,blockSize:!0,minBlockSize:!0,maxBlockSize:!0,inlineSize:!0,minInlineSize:!0,maxInlineSize:!0},zIndex:{zIndex:!0},color:{backgroundColor:!0,borderColor:!0,borderBlockStartColor:!0,borderBlockEndColor:!0,borderBlockColor:!0,borderBottomColor:!0,borderInlineColor:!0,borderInlineStartColor:!0,borderInlineEndColor:!0,borderTopColor:!0,borderLeftColor:!0,borderRightColor:!0,borderEndColor:!0,borderStartColor:!0,shadowColor:!0,...d,outlineColor:!0,caretColor:!0}},m={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},g={backfaceVisibility:!0,borderBottomEndRadius:!0,borderBottomStartRadius:!0,borderBottomWidth:!0,borderLeftWidth:!0,borderRightWidth:!0,borderBlockWidth:!0,borderBlockEndWidth:!0,borderBlockStartWidth:!0,borderInlineWidth:!0,borderInlineEndWidth:!0,borderInlineStartWidth:!0,borderStyle:!0,borderBlockStyle:!0,borderBlockEndStyle:!0,borderBlockStartStyle:!0,borderInlineStyle:!0,borderInlineEndStyle:!0,borderInlineStartStyle:!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,marginBlock:!0,marginBlockEnd:!0,marginBlockStart:!0,marginInline:!0,marginInlineStart:!0,marginInlineEnd:!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,inset:!0,insetBlock:!0,insetBlockEnd:!0,insetBlockStart:!0,insetInline:!0,insetInlineEnd:!0,insetInlineStart:!0,direction:!0,shadowOffset:!0,shadowRadius:!0,...h.color,...h.radius,...h.size,...h.radius,...p,...m,backdropFilter:!0,background:!0,backgroundAttachment:!0,backgroundBlendMode:!0,backgroundClip:!0,backgroundColor:!0,backgroundImage:!0,backgroundOrigin:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundSize:!0,borderBottomStyle:!0,borderImage:!0,borderLeftStyle:!0,borderRightStyle:!0,borderTopStyle:!0,boxShadow:!0,boxSizing:!0,caretColor:!0,clipPath:!0,contain:!0,content:!0,cursor:!0,filter:!0,float:!0,mask:!0,maskBorder:!0,maskBorderMode:!0,maskBorderOutset:!0,maskBorderRepeat:!0,maskBorderSlice:!0,maskBorderSource:!0,maskBorderWidth:!0,maskClip:!0,maskComposite:!0,maskImage:!0,maskMode:!0,maskOrigin:!0,maskPosition:!0,maskRepeat:!0,maskSize:!0,maskType:!0,mixBlendMode:!0,objectFit:!0,objectPosition:!0,outlineOffset:!0,outlineStyle:!0,outlineWidth:!0,overflowBlock:!0,overflowInline:!0,overflowX:!0,overflowY:!0,pointerEvents:!0,scrollbarWidth:!0,textEmphasis:!0,touchAction:!0,transformStyle:!0,userSelect:!0,...f.Dt?{elevationAndroid:!0}:{}},y={fontFamily:!0,fontSize:!0,fontStyle:!0,fontWeight:!0,letterSpacing:!0,lineHeight:!0,textTransform:!0,textAlign:!0,textDecorationLine:!0,textDecorationStyle:!0,...d,textShadowOffset:!0,textShadowRadius:!0,userSelect:!0,selectable:!0,verticalAlign:!0,whiteSpace:!0,wordWrap:!0,textOverflow:!0,textDecorationDistance:!0,cursor:!0,WebkitLineClamp:!0,WebkitBoxOrient:!0},b={...g,...y},v=b,S={enterStyle:!0,exitStyle:!0,hoverStyle:!0,pressStyle:!0,focusStyle:!0,disabledStyle:!0,focusVisibleStyle:!0},w={...S,...g};var x=n(2265);let T=Symbol(),$=(e,t)=>{let n=(()=>{if(e[T]){let t=(0,x.forwardRef)((t,n)=>(0,x.createElement)(e,{...t,ref:n}));for(let n in e){let r=e[n];t[n]=r&&"object"==typeof r?{...r}:r}}return e})();return Object.assign(n,t),n[T]=!0,n}},4624:function(e,t,n){"use strict";let r;n.d(t,{h_:function(){return c},$2:function(){return E},b5:function(){return C},Xp:function(){return T}}),n(7961);var i=n(281),o=n(5377),a=n(2265),l=n(4887),s=n(6616),u=n(2281);let c=a.memo(({host:e=globalThis.document?.body,...t})=>{if(i.sk)return null;let n=(0,s.SZ)(),r=(0,u.jsx)(o.FA,{contain:"strict",fullscreen:!0,position:"fixed",maxWidth:"100vw",maxHeight:"100vh",pointerEvents:"none",...t});return(0,l.createPortal)(n?r:null,e)});var f=n(9087),d=((r=d||{})[r.REGISTER_HOST=0]="REGISTER_HOST",r[r.DEREGISTER_HOST=1]="DEREGISTER_HOST",r[r.ADD_UPDATE_PORTAL=2]="ADD_UPDATE_PORTAL",r[r.REMOVE_PORTAL=3]="REMOVE_PORTAL",r);let h={},m=(e,t)=>(t in e||(e[t]=[]),e),p=(e,t)=>(delete e[t],e),g=(e,t,n,r)=>{t in e||(e=m(e,t));let i=e[t].findIndex(e=>e.name===n);return -1!==i?e[t][i].node=r:e[t].push({name:n,node:r}),e},y=(e,t,n)=>{if(!(t in e))return console.info(`Failed to remove portal '${n}', '${t}' was not registered!`),e;let r=e[t].findIndex(e=>e.name===n);return -1!==r&&e[t].splice(r,1),e},b=(e,t)=>{let{type:n}=t;switch(n){case 0:return m({...e},t.hostName);case 1:return p({...e},t.hostName);case 2:return g({...e},t.hostName,t.portalName,t.node);case 3:return y({...e},t.hostName,t.portalName);default:return e}},v=(0,a.createContext)(null),S=(0,a.createContext)(null),w=e=>{let t=(0,a.useContext)(v);if(null===t)throw Error("'PortalStateContext' cannot be null, please add 'PortalProvider' to the root component.");return t[e]||[]},x=(e="root")=>{let t=(0,a.useContext)(S);if(null===t)throw Error("'PortalDispatchContext' cannot be null, please add 'PortalProvider' to the root component.");let n=(0,a.useCallback)(()=>{t({type:0,hostName:e})},[]),r=(0,a.useCallback)(()=>{t({type:1,hostName:e})},[]),i=(0,a.useCallback)((n,r)=>{t({type:2,hostName:e,portalName:n,node:r})},[]);return{registerHost:n,deregisterHost:r,addPortal:i,updatePortal:i,removePortal:(0,a.useCallback)(n=>{t({type:3,hostName:e,portalName:n})},[])}},T=(0,a.memo)(({rootHostName:e="root",shouldAddRootHost:t=!0,children:n})=>{let[r,i]=(0,a.useReducer)(b,h),o=(0,a.useMemo)(()=>e=>{(0,a.startTransition)(()=>{i(e)})},[i]);return(0,u.jsx)(S.Provider,{value:o,children:(0,u.jsxs)(v.Provider,{value:r,children:[n,t&&(0,u.jsx)(E,{name:e})]})})});T.displayName="PortalProvider";let $=e=>(0,u.jsx)(u.Fragment,{children:e}),E=(0,a.memo)(e=>{let{name:t,forwardProps:n,render:r=$}=e,i=w(t),{registerHost:o,deregisterHost:l}=x(e.name);return(0,a.useEffect)(()=>{if(!(typeof window>"u"))return o(),()=>{l()}},[]),r(n?i.map(e=>{let t=e.node;return n?a.Children.map(t,e=>a.isValidElement(e)?a.cloneElement(e,{key:e.key,...n}):e):t}):i.map(e=>e.node))});E.displayName="PortalHost";let C=(0,a.memo)(e=>{let{name:t,hostName:n,handleOnMount:r,handleOnUnmount:o,handleOnUpdate:l,children:s}=e,{addPortal:u,removePortal:c}=x(n),d=(0,a.useId)(),h=t||d,m=(0,f.z)(()=>{r?r(()=>u(h,s)):u(h,s)}),p=(0,f.z)(()=>{o?o(()=>c(h)):c(h)}),g=(0,f.z)(()=>{l?l(()=>u(h,s)):u(h,s)});return(0,i.LI)(()=>(m(),()=>{p()}),[]),(0,a.useEffect)(()=>{g()},[s]),null});C.displayName="Portal"},5377:function(e,t,n){"use strict";n.d(t,{FA:function(){return s},Xu:function(){return a},sL:function(){return u}});var r=n(4975),i=n(2166),o=n(8587);let a={position:"absolute",top:0,left:0,right:0,bottom:0},l={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}},s=(0,r.z)(i.G7,{flexDirection:"column",variants:l});s.displayName="YStack";let u=(0,r.z)(i.G7,{flexDirection:"row",variants:l});u.displayName="XStack",(0,r.z)(s,{position:"relative"},{neverFlatten:!0,isZStack:!0}).displayName="ZStack"},8587:function(e,t,n){"use strict";n.d(t,{y:function(){return o}});var r=n(2202),i=n(281);let o=(e,t)=>{if(!e)return;let{tokens:n}=t,i=n.size[e];return a((0,r.cG)(i)?+i.val:e,t)},a=(e,{theme:t,tokens:n})=>{let o=0;if(!0===e){let e=(0,r.Ve)(n.size.true);o="number"==typeof e?e:10}else o=+e;if(0===o)return;let[a,l]=[Math.round(o/4+1),Math.round(o/2+2)];return{shadowColor:t.shadowColor,shadowRadius:l,shadowOffset:{height:a,width:0},...i.Dt?{elevationAndroid:2*a}:{}}}},6616:function(e,t,n){"use strict";n.d(t,{SZ:function(){return a}});var r=n(2265);let i=()=>{},o=()=>i;function a(e,t){if(t?.sync)return(0,r.useSyncExternalStore)(o,()=>e??!0,()=>!1);let[n,i]=(0,r.useState)(e);return(0,r.useEffect)(()=>{i(e??!0)},[]),n??!1}},9087:function(e,t,n){"use strict";n.d(t,{z:function(){return a},X:function(){return o}});var r=n(281),i=n(2265);function o(e,t,n){let o=(0,i.useRef)(t??e);return(0,r.LI)(()=>{o.current=e}),(0,i.useCallback)(n?(...e)=>o.current?.apply(null,e):()=>o.current,[])}function a(e){return o(e,l,!0)}let l=()=>{throw Error("Cannot call an event handler while rendering.")}},5390:function(e,t,n){"use strict";n.d(t,{Oy:function(){return o},il:function(){return a},oO:function(){return l}});var r=n(2265),i=n(2281);let o=(0,r.createContext)(null),a=e=>(0,i.jsx)(o.Provider,{value:null,children:e.children});function l(){let e=(0,r.useContext)(o);if(!e)return[!0,null,e];let{id:t,isPresent:n,onExitComplete:i,register:a}=e;return(0,r.useEffect)(()=>a(t),[]),!n&&i?[!1,()=>i?.(t),e]:[!0,void 0,e]}},5986:function(e,t,n){"use strict";let r,i;n.d(t,{RC:function(){return h},Wi:function(){return d},d0:function(){return s},iE:function(){return l},lz:function(){return u},p_:function(){return c},v6:function(){return a},xC:function(){return p},zG:function(){return m}});var o=n(281);let a=e=>{r=e},l=()=>{if(!r)throw Error("Err0");return r};function s(e){i=e}let u=({prefixed:e}={})=>{let{tokens:t,tokensParsed:n}=r;return!1===e?t:!0===e?n:i},c=(e,t)=>r.specificTokens[e]??(t?i[t]?.[e]:i[Object.keys(i).find(t=>i[t][e])||""]?.[e]),f=(e,t,n=o.$L)=>{let r=c(e,t);return n?r?.variable:r?.val},d=(e,t)=>{if(!("unset"===e||"auto"===e))return f(e,t,!1)},h=()=>r.themes,m=new Set,p=e=>{r?e(r):m.add(e)}},9242:function(e,t,n){"use strict";n.d(t,{L2:function(){return r},nx:function(){return i},tn:function(){return o},zm:function(){return a}});let r="_",i="t_",o={},a={display:"flex",alignItems:"stretch",flexDirection:"column",flexBasis:"auto",boxSizing:"border-box",position:"relative",minHeight:0,minWidth:0,flexShrink:0};Object.assign(o,a)},7562:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});let r=(0,n(925).i)({disableSSR:void 0,inText:!1,language:null,animationDriver:null,groups:{emit:null,subscribe:null,state:{}}})},5260:function(e,t,n){"use strict";let r,i;n.d(t,{LZ:function(){return M},LM:function(){return N},P9:function(){return I},En:function(){return Y},Ee:function(){return _}});var o=n(9046),a=n(281),l=n(2145),s=n(2265),u=n(5986),c=n(9242),f=n(7562),d=n(2202);let h={hover:!1,press:!1,pressIn:!1,focus:!1,focusVisible:!1,unmounted:!0,disabled:!1},m={...h,unmounted:!1},p={...h,unmounted:"should-enter"};var g=n(3820),y=n(2622),b=n(1616),v=n(450);let S=void 0;var w=n(9235),x=n(6962),T=n(9097),$=n(8411),E=n(4283),C=n(4326),k=n(1130),R=n(2281),P=n(357);let A=new Set;if("u">typeof document){let e=()=>{A.forEach(e=>e(e=>e.press||e.pressIn?{...e,press:!1,pressIn:!1}:e)),A.clear()};addEventListener("mouseup",e),addEventListener("touchend",e),addEventListener("touchcancel",e)}let _=(e,{animationDriver:t,groups:n},r,i)=>{var o;let l=t?.useAnimations,u=(0,s.useRef)(void 0);u.current||(u.current={});let c=!!("animation"in e||e.style&&Object.keys(o=e.style).some(e=>{let t=o[e];return t&&"object"==typeof t&&"_animation"in t})),f=t?.supportsCSSVars,d=u.current,y=!!(c&&!r.isHOC&&l||d.hasAnimated),v=!a.sk&&y;v&&!d.hasAnimated&&(d.hasAnimated=!0);let S=v&&!1!==e.animatePresence&&t?.usePresence?.()||null,w=S?.[2],T=w?.isPresent===!1,$=w?.isPresent===!0&&!1!==w.initial,E=!!e.enterStyle,C=c&&t?.isReactNative,k=!v||(0,x.f)(),R=E||$||!k&&C?a.$L&&!k?h:p:m,P=F(e);null!=P&&(R.disabled=P);let A=(0,s.useState)(R),_=e.forceStyle?{...A[0],[e.forceStyle]:!0}:A[0],O=A[1],N=!1===_.unmounted||"should-enter"===_.unmounted,L=v;a.$L&&C&&!r.isHOC&&!0===_.unmounted&&(L=!1,d.willHydrate=!0),P!==_.disabled&&(_.disabled=P,P&&Object.assign(_,m),O({..._}));let M=(0,g.JL)(O,P,!1,e.debug);if(w&&L&&N&&r.variants){let{enterVariant:t,exitVariant:n,enterExitVariant:i,custom:o}=w;(0,b.B)(o)&&Object.assign(e,o);let a=n??i,l=t??i;_.unmounted&&l&&r.variants[l]?e[l]=!0:T&&a&&(e[a]=n!==i)}let I=!a.$L;if(a.$L){let{disableClassName:t}=e,n=L&&!f&&k&&!a.sk,r=t&&!a.sk&&k&&!0===_.unmounted;(n||r)&&(I=!0)}let j=e.group;if(j&&!d.group){let e=new Set;d.group={listeners:e,emit(t,n){e.forEach(e=>e(t,n))},subscribe:t=>(e.add(t),()=>{e.delete(t)})}}if(j){let e=n.state,t=M;M=n=>{t(n),d.group.emit(j,{pseudo:n});let r={...e[j],...n};e[j]=r}}return{curStateRef:d,disabled:P,groupName:j,hasAnimationProp:c,hasEnterStyle:E,isAnimated:L,isExiting:T,isHydrated:N,presence:S,presenceState:w,setState:O,setStateShallow:M,shouldAvoidClasses:I,state:_,stateRef:u,supportsCSSVars:f,willBeAnimated:v,willBeAnimatedClient:y}},O={value:!1};function N(e){let{componentName:t}=e,n=null,c=e.defaultProps;(0,u.xC)(e=>{if(n=e,t){let n=e.defaultProps?.[t];n&&(c={...n,...c})}});let{Component:h,isText:p,isZStack:g,isHOC:b,validStyles:x={},variants:N={}}=e,M=(0,s.forwardRef)((t,w)=>{let M,j,W,B,F;let D=(0,s.useContext)(f.s),{context:V,isReactNative:X}=e;if(V){W=(0,s.useContext)(V);let{inverseShorthands:e}=(0,u.iE)();for(let n in V.props){let r=t[n]??t[e[n]]??c?.[n]??c?.[e[n]];void 0===r?W&&(n in x||n in N)&&((M||={})[n]=W[n]):(j||={})[n]=r}}let H=M?{...c,...M}:c,G=t;H&&(G=(0,v.d)(H,t));let U=G.debug,K=G.componentName||e.componentName;P.env.TAMAGUI_IS_CORE_NODE;let Q=D.animationDriver,q=Q?.useAnimations,{curStateRef:Z,disabled:J,groupName:ee,hasAnimationProp:et,hasEnterStyle:en,isAnimated:er,isExiting:ei,isHydrated:eo,presence:ea,presenceState:el,setState:es,setStateShallow:eu,shouldAvoidClasses:ec,state:ef,stateRef:ed,supportsCSSVars:eh,willBeAnimated:em,willBeAnimatedClient:ep}=_(G,D,e,n),eg=!!t.forceStyle,ey=ec||eg,eb=!!(a.$L&&p&&D.inText),ev=!h||"string"==typeof h,eS=G.tag,ew=a.$L&&ev&&eS||h,ex=p?r||ew||"span":i||ew||(eb?"span":"div");Q&&er&&(ex=Q[p?"Text":"View"]||ex);let eT=G["data-disable-theme"]||b;G.themeShallow&&(Z.themeShallow=!0);let e$={componentName:K,disable:eT,shallow:Z.themeShallow,debug:U};"themeInverse"in G&&(e$.inverse=G.themeInverse),"theme"in G&&(e$.name=G.theme),"boolean"==typeof Z.isListeningToTheme&&(e$.shouldUpdate=()=>ed.current.isListeningToTheme);let[eE,eC]=(0,$.WU)(e$);ex=h||ex;let ek=(0,T.GS)(ed,D,U);(0,d.zY)(!1);let eR={mediaState:ek,noClassNames:ey,resolveValues:er&&!eh||b&&!1==ef.unmounted&&et?"value":"auto",isExiting:ei,isAnimated:er,willBeAnimated:em},eP=(0,y.DP)(G,e,eC,eE?.state?.name||"",ef,eR,null,D,ex,U);G.group&&"hide"===G.untilMeasured&&!Z.hasMeasured&&(eP.style||={},eP.style.opacity=0),Z.isListeningToTheme=eP.dynamicThemeAccess;let eA=eP.hasMedia&&!0!==eP.hasMedia,e_=(0,d.yx)()||eA||ey&&!0===eP.hasMedia,eO=eA?eP.hasMedia:null;(0,T.Zv)(ed,{enabled:e_,keys:eO});let{viewProps:eN,pseudos:eL,style:eM,classNames:eI,space:ej}=eP,eW=G,{asChild:eB,children:ez,themeShallow:eF,spaceDirection:eY,onPress:eD,onLongPress:eV,onPressIn:eX,onPressOut:eH,onHoverIn:eG,onHoverOut:eU,onMouseUp:eK,onMouseDown:eQ,onMouseEnter:eq,onMouseLeave:eZ,onFocus:eJ,onBlur:e0,separator:e1,forceStyle:e2,onClick:e5,theme:e3,defaultVariants:e4,...e9}=eN,e6=e9;if(!ev&&G.forceStyle&&(e6.forceStyle=G.forceStyle),b&&e3&&(e6.theme=e3),ex.acceptTagProp&&(e6.tag=eS),(eh?ep:em)&&q&&!b){let t=q({props:eW,style:eM||{},presence:ea,componentState:ef,styleProps:eR,theme:eE.state?.theme,pseudos:eL||null,staticConfig:e,stateRef:ed});(er||eh)&&t&&(B=t.style,e6.style=B)}ee&&(e9.onLayout=(0,l.Mj)(e9.onLayout,e=>{ed.current.group.emit(ee,{layout:e.nativeEvent.layout}),ed.current.hasMeasured||"hide"!==G.untilMeasured||es(e=>({...e})),ed.current.hasMeasured=!0})),e6=E.P.usePropsTransform?.(ex,e9,ed,Z.willHydrate)||e9,Z.composedRef||(Z.composedRef=(0,o.FE)(e=>ed.current.host=e,w,S)),e6.ref=Z.composedRef;let{pseudoGroups:e7,mediaGroups:e8}=eP,te=()=>eu({press:!1,pressIn:!1});(0,s.useEffect)(()=>{if(J)return;if(!0===ef.unmounted&&en){eu({unmounted:"should-enter"});return}if(ef.unmounted){eu({unmounted:!1});return}let e=Y({disabled:J,componentContext:D,setStateShallow:eu,state:ef,mediaGroups:e8,pseudoGroups:e7});return()=>{e?.(),A.delete(es)}},[ef.unmounted,J,e7?Object.keys([...e7]).join(""):0,e8?Object.keys([...e8]).join(""):0]);let tt=!J&&ey&&eL?.pressStyle,tn=!J&&ey&&eL?.focusStyle,tr=!J&&ey&&eL?.focusVisibleStyle,ti=!!(tt||tn||tr||eJ||e0),to=!!(ee||tt||eD||eH||eX||eQ||eK||eV||e5||eL?.focusVisibleStyle),ta=!J&&ey&&eL?.hoverStyle,tl=!!(ee||ta||eG||eU),ts=a.$L&&!!(ee||tl||eq||eZ),tu=!J&&!G.asChild&&!!(ti||to||ts||tt||ta||tn),tc=!!(ee||tt),tf=tu?{onPressOut:to?e=>{te(),eH?.(e),eK?.(e)}:void 0,...(ts||to)&&{onMouseEnter:e=>{let t={};tl&&(t.hover=!0),tc&&ef.pressIn&&(t.press=!0),eu(t),eG?.(e),eq?.(e)},onMouseLeave:e=>{let t={};tl&&(t.hover=!1),tc&&ef.pressIn&&(t.press=!1,t.pressIn=!1),eu(t),eU?.(e),eZ?.(e)}},onPressIn:to?e=>{(tt||ee)&&eu({press:!0,pressIn:!0}),eX?.(e),eQ?.(e),a.$L&&A.add(es)}:void 0,onPress:to?e=>{te(),a.$L&&e5?.(e),eD?.(e),eV?.(e)}:void 0,...ti&&{onFocus:e=>{eL?.focusVisibleStyle?setTimeout(()=>{eu({focus:!0,focusVisible:!!O.value})},0):eu({focus:!0,focusVisible:!1}),eJ?.(e)},onBlur:e=>{eu({focus:!1,focusVisible:!1}),e0?.(e)}}}:null;tf&&!X&&Object.assign(e6,L(tf)),E.P.useEvents?.(e6,tf,eP,eu,e);let td=G.spaceDirection||"both",th=!ez||eB?ez:I({separator:e1,children:ez,space:ej,direction:td,isZStack:g,debug:U});eB&&(ex=C.g,Object.assign(e6,L({onPress:eD,onLongPress:eV,onPressIn:eX,onPressOut:eH,onMouseUp:eK,onMouseDown:eQ,onMouseEnter:eq,onMouseLeave:eZ},"web"===eB||"except-style-web"===eB))),E.P.useChildren&&(F=E.P.useChildren(ex,th,e6,tf,e)),th=F||(0,s.createElement)(ex,e6,th);let tm=n?.animations?.ResetPresence;tm&&em&&(en||el)&&th&&"string"!=typeof th&&(th=(0,R.jsx)(tm,{children:th}));let tp=Z.group,tg=(0,s.useMemo)(()=>{if(!(!tp||!ee))return tp.listeners.clear(),{...D.groups,state:{...D.groups.state,[ee]:{pseudo:m,layout:{width:z(eP.style?.width),height:z(eP.style?.height)}}},emit:tp.emit,subscribe:tp.subscribe}},[ee]);if(ee&&tg&&(th=(0,R.jsx)(f.s.Provider,{...D,groups:tg,children:th})),th=eT?th:(0,k.u)(eE,th,e$,!1,ed),X&&!eB&&(th=(0,R.jsx)("span",{className:"_dsp_contents",...eo&&tf&&L(tf),children:th})),e.context){let t=e.context.props;for(let e in t)(e6.style&&e in e6.style||e in e6)&&((j||={})[e]=e6.style?.[e]??e6[e])}if(j){let t=e.context.Provider;th=(0,R.jsx)(t,{...W,...j,children:th})}if(P.env.TAMAGUI_REACT_19){let{rulesToInsert:e}=eP,t=Object.keys(eP.rulesToInsert);t.length&&(th=(0,R.jsxs)(R.Fragment,{children:[th,t.map(t=>{let n=e[t],r=n[l.Eo];return(0,R.jsx)("style",{href:`t_${r}`,precedence:"default",children:n[l.Wk].join(`
`)},r)})]}))}return th});e.componentName&&(M.displayName=e.componentName);let j=M;function W(t){return{...e,...t,neverFlatten:!0,isHOC:!0,isStyledHOC:!1}}function B(e,t){let n=e.render?.length===2?e:(0,s.forwardRef)(e),r=W(t?.staticConfig);return n=t?.disableTheme?n:(0,w.Y)(n,r),P.env.TAMAGUI_MEMOIZE_STYLEABLE&&(n=(0,s.memo)(n)),n.staticConfig=r,n.styleable=B,n}return(P.env.TAMAGUI_FORCE_MEMO||e.memo)&&(j=(0,s.memo)(j)),j.staticConfig=e,j.extractable=function(e,t){return e.staticConfig=W(t),e.styleable=B,e},j.styleable=B,j}function L(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}}a.$L&&globalThis.document&&(document.addEventListener("keydown",()=>{O.value=!0}),document.addEventListener("mousedown",()=>{O.value=!1}),document.addEventListener("mousemove",()=>{O.value=!1}));let M=N({acceptsClassName:!0,memo:!0,componentName:"Spacer",validStyles:l.Qn,defaultProps:{...c.tn,tag:"span",size:!0,pointerEvents:"none"},variants:{size:{"...":(e,{tokens:t})=>{e=!0===e?"$true":e;let n=t.space[e]??e;return{width:n,height:n,minWidth:n,minHeight:n}}},flex:{true:{flexGrow:1}},direction:{horizontal:{height:0,minHeight:0},vertical:{width:0,minWidth:0},both:{}}}});function I(e){let{isZStack:t,children:n,space:r,direction:i,spaceFlex:o,separator:a,ensureKeys:l}=e,u=!!(r||o),c=null!=a,f=Array.isArray(n);if(!l&&!(u||c||t))return n;let d=f?n:s.Children.toArray(n);if(d.length<=1&&!t&&!d[0]?.type?.shouldForwardSpace)return n;let h=[];for(let[e,n]of d.entries()){let l=null==n||Array.isArray(n)&&0===n.length;if(!l&&s.isValidElement(n)&&n.type?.shouldForwardSpace&&(n=s.cloneElement(n,{space:r,spaceFlex:o,separator:a,key:n.key})),l||!n||n.key&&!t?h.push(n):h.push((0,R.jsx)(s.Fragment,{children:t?(0,R.jsx)(B,{children:n}):n},`${e}0t`)),W(n)&&0===e||t)continue;let c=d[e+1];c&&!l&&!W(c)&&(a?(u&&h.push(j({key:`_${e}_00t`,direction:i,space:r,spaceFlex:o})),h.push((0,R.jsx)(s.Fragment,{children:a},`${e}03t`)),u&&h.push(j({key:`_${e}01t`,direction:i,space:r,spaceFlex:o}))):h.push(j({key:`_${e}02t`,direction:i,space:r,spaceFlex:o})))}return h}function j({key:e,direction:t,space:n,spaceFlex:r}){return(0,R.jsx)(M,{size:n,direction:t,..."u">typeof r&&{flex:!0===r?1:!1===r?0:r}},e)}function W(e){let t=e?.type;return t?.isVisuallyHidden||t?.isUnspaced}let B=N({defaultProps:{...c.tn,flexDirection:"column",position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"box-none"}}),z=e=>"string"!=typeof e?e:+e.replace("px",""),F=e=>e.disabled||e.accessibilityState?.disabled||e["aria-disabled"]||e.accessibilityDisabled||!1,Y=({disabled:e=!1,setStateShallow:t,pseudoGroups:n,mediaGroups:r,componentContext:i,state:o})=>{if(n||r){let e={pseudo:{},media:{}};return i.groups?.subscribe((i,{layout:a,pseudo:l})=>{if(l&&n?.has(String(i)))Object.assign(e.pseudo,l),s();else if(a&&r){let t=Object.fromEntries([...r].map(e=>[e,(0,T.yj)(e,a)])),n=g.xK(e.media,t);n!==e.media&&(Object.assign(e.media,n),s())}function s(){t({group:{...o.group,[i]:e}})}})}}},2202:function(e,t,n){"use strict";n.d(t,{E0:function(){return f},Os:function(){return s},Ve:function(){return p},bK:function(){return g},cG:function(){return c},lk:function(){return u},yx:function(){return m},zY:function(){return h}});var r=n(281),i=n(2145),o=n(5986),a=n(357);function l(e){return`var(--${a.env.TAMAGUI_CSS_VARIABLE_PREFIX||""}${e})`}let s=(e,t=!1)=>{if(!t&&c(e))return e;let{key:n,name:o,val:a}=e;return{isVar:!0,key:n,name:t?o:(0,i.M)(o,40),val:a,variable:r.$L?t?l(o):g(o):""}};function u(e,t=!1){return c(e)?!t&&r.$L&&e.variable?e.variable:`${e.val}`:`${e||""}`}function c(e){return e&&"object"==typeof e&&"isVar"in e}function f(e,t="size"){if(h(!0),c(e))return u(e);let n=(0,o.iE)().tokensParsed;return u(n[t]?.[e]??e)}let d=!1,h=e=>d=e,m=()=>d;function p(e,t){if(c(e))return h(!0),e.val;if(t){let n=o.iE().tokensParsed[t]?.[e];if(n)return h(!0),n.val}return e}let g=(e,t=!0)=>{let n=(0,i.M)(e,60);return t?l(n):n}},9033:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});let r=(0,n(2265).createContext)(1)},3820:function(e,t,n){"use strict";n.d(t,{JL:function(){return o},N2:function(){return l},xK:function(){return a}});var r=n(2265);let i=e=>e();function o(e,t,n,o){return l=>{(n?r.startTransition:i)(()=>{e(e=>a(e,l,t,o))})}}function a(e,t,n,r){return n||!e||!t||l(e,t)?e||t:{...e,...t}}function l(e,t){for(let n in t)if(e[n]!==t[n])return!1;return!0}},925:function(e,t,n){"use strict";n.d(t,{i:function(){return a}});var r=n(2265);let i=new WeakMap;var o=n(2281);function a(e){let t=(0,r.createContext)(e),n=t.Provider,a=new Map;return t.Provider=({children:t,scope:l,...s})=>{let u=(0,r.useMemo)(()=>({...e,...s}),[function(e){let t="";for(let n in e){t+=n;let r=e[n],o=typeof r;if(r&&("object"===o||"function"===o)){if(i.has(r))t+=i.get(r);else{let e=Math.random();i.set(r,e),t+=e}}else t+=o+r}return t}(s)]),c=n;if(l){let t=a.get(l);t||(t=(0,r.createContext)(e),a.set(l,t)),c=t.Provider}return(0,o.jsx)(c,{value:u,children:t})},t.props=e,t.context=t,t.useStyledContext=e=>{let n=e?a.get(e):t;return(0,r.useContext)(n)},t}},2622:function(e,t,n){"use strict";let r,i;n.d(t,{DP:function(){return ey}});var o=n(281),a=n(2145),l=n(2265),s=n(5986);let u={};{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 n=e[t];!0===n&&(n=t.toLowerCase()),u[`accessibility${t}`]=`aria-${n}`}}var c=n(9242),f=n(9097);function d(e){let t=(0,f.om)(),[n,r,i,o]=e.split("-"),a=i in t?i:void 0;return{name:r,pseudo:a?o:i,media:a}}let h=null,m=null,p={press:"active"},g=(e,t,n,r,i,o)=>{let[a,l,u,c,g]=e,y=(0,s.iE)(),b=y.settings.mediaPropOrder,v="theme"===r,S="group"===r,w=v||"platform"===r||S,x=u.slice(0,u.indexOf("-")+1),T=`${x}_${t.replace("-","")}${i?"0":""}_`,$="",E,C,k=u.replace(x,T),R=g.map(e=>e.replace(u,k)).join(";");if(w){let e=Array((o||0)+(S?1:0)).fill(":root").join("");if(v||S){let n=d(t),r=n?.name;E=n?.media,S&&(C=r);let i=R.indexOf(":root"),o=R.lastIndexOf("{"),a=R.slice(i,o),l=y.themeClassNameOnRoot&&v?"":" ",s=n.pseudo?p[n.pseudo]||n.pseudo:void 0,u=s?`:${s}`:"",c=`:root${e}${l}`,f=`.t_${(S?"group_":"")+r}${u}`,h=`${c}${f} ${a.replace(":root","")}`;$=R.replace(a,h)}else $=`${e}${R}`}if(!w||E){if(!m){let e=Object.keys(n);m=Object.fromEntries(e.map(e=>[e,(0,f.yS)(n[e])])),b||(h=Object.fromEntries(e.map((e,t)=>[e,Array(t+1).fill(":root").join("")])))}let e=E||t,r=m[e],a=`${i?"not all and ":""}${r}`,l=E?"":b?Array(o).fill(":root").join(""):h[e],s=E?`@container ${C}`:"@media";E&&(R=$),$=R.includes(s)?R.replace("{",` and ${a} {`).replace("and screen and","and"):`${s} ${a}{${l}${R}}`,E&&($=`@supports (contain: ${y.settings.webContainerType||"inline-size"}) {${$}}`)}return[a,void 0,k,void 0,[$]]},y={height:0,width:0};var b=n(2117);function v(e){for(let t in(null!=e.shadowRadius||e.shadowColor||null!=e.shadowOpacity||e.shadowOffset)&&Object.assign(e,function({shadowColor:e,shadowOffset:t,shadowOpacity:n,shadowRadius:r}){let{height:i,width:o}=t||y;return{shadowOffset:{width:o||0,height:i||0},shadowRadius:r||0,shadowColor:(0,b.ut)(e,1),shadowOpacity:n??(e?b.HY(e)?.a:1)}}(e)),w)t in e&&(e[w[t]]||="solid")}let S=o.$L?null:"borderStyle",w={borderWidth:"borderStyle",borderBottomWidth:S||"borderBottomStyle",borderTopWidth:S||"borderTopStyle",borderLeftWidth:S||"borderLeftStyle",borderRightWidth:S||"borderRightStyle"};var x=n(8829),T=n(7440),$=n(1333);function E(e){R(e);let t=[];for(let n in e){let r=e[n];if(n in T.Qy)r&&t.push(...C(r,T.Qy[n]));else{let r=k(e,n);r&&t.push(r)}}return t}let C=(e,t)=>{R(e);let n=[];for(let r in e){let i=k(e,r,t);i&&n.push(i)}return n},k=(e,t,n)=>{let i=e[t];if(null==i)return;"transform"===t&&Array.isArray(e.transform)&&(i=(0,$.m)(i));let o=(0,x.Y)(i,t),l=(0,a.M)(`${o}`),u=n?`0${n.name}-`:"";r||=(0,s.iE)();let c=`_${r.inverseShorthands[t]||t}-${u}${l}`,f=function(e,t,n,r){let i=r?"disabled"===r.name?"[aria-disabled]":`:${r.name}`:"",o=r?r?.selector?`${r?.selector} .${e}`:`${N[r.name]} .${e}${i}`:`:root .${e}`,a=!!r,l=[];switch(t){case"placeholderTextColor":{let e=P([["color",n],["opacity",1]],a);l.push(`${o}::placeholder${e}`);break}case"backgroundClip":case"userSelect":{let e=`Webkit${t[0].toUpperCase()}${t.slice(1)}`,r=P([[t,n],[e,n]],a);l.push(`${o}${r}`);break}case"pointerEvents":{let e=n;"auto"===n||"box-only"===n?(e="auto","box-only"===n&&l.push(`${o}>*${M}`)):("none"===n||"box-none"===n)&&(e="none","box-none"===n&&l.push(`${o}>*${L}`));let t=P([["pointerEvents",e]],!0);l.push(`${o}${t}`);break}default:{let e=P([[t,n]],a);l.push(`${o}${e}`)}}return r?.name==="hover"&&(l=l.map(e=>`@media (hover) {${e}}`)),l}(c,t,o,n);return[t,o,c,n?.name,f]};function R(e){let{shadowOffset:t,shadowRadius:n,shadowColor:r,shadowOpacity:i}=e;if(n||r){let o=t||y,a=(0,x.Y)(o.width),l=(0,x.Y)(o.height),s=(0,x.Y)(n),u=(0,b.ut)(r,i),c=`${a} ${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:o,textShadowOffset:a,textShadowRadius:l}=e;if(o||a||l){let{height:t,width:n}=a||y,r=l||0,i=(0,x.Y)(o,"textShadowColor");if(i&&(0!==t||0!==n||0!==r)){let o=(0,x.Y)(r),a=(0,x.Y)(n),l=(0,x.Y)(t);e.textShadow=`${a} ${l} ${o} ${i}`}delete e.textShadowColor,delete e.textShadowOffset,delete e.textShadowRadius}}function P(e,t=!1){let n="";for(let[r,i]of e)n+=`${O(r)}:${i}${t?" !important":""};`;return`{${n}}`}let A={},_=e=>`-${e.toLowerCase()}`,O=e=>{if(e in A)return A[e];let t=e.replace(/[A-Z]/g,_);return A[e]=t,t},N=(()=>{let e={};for(let t in T.Qy){let n=T.Qy[t];e[n.name]=`${[...Array(n.priority)].map(()=>":root").join("")} `}return e})(),L=P([["pointerEvents","auto"]],!0),M=P([["pointerEvents","none"]],!0);var I=n(7393),j=n(2202);let W={},B={};function z(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]]}return e in X?X[e].map(e=>[e,t]):e in B?B[e].map(e=>[e,t]):e in W?W[e](t):void 0}let F=["Top","Right","Bottom","Left"],Y=["Right","Left"],D=["Top","Bottom"],V=["X","Y"],X={borderColor:["TopColor","RightColor","BottomColor","LeftColor"],borderRadius:["TopLeftRadius","TopRightRadius","BottomRightRadius","BottomLeftRadius"],borderWidth:["TopWidth","RightWidth","BottomWidth","LeftWidth"],margin:F,marginHorizontal:Y,marginVertical:D,overscrollBehavior:V,padding:F,paddingHorizontal:Y,paddingVertical:D,...o.$L&&{borderStyle:["TopStyle","RightStyle","BottomStyle","LeftStyle"],overflow:V}};for(let e in X){let t=e.slice(0,/[A-Z]/.exec(e)?.index??e.length);X[e]=X[e].map(e=>`${t}${e}`)}var H=n(1616);let G=new WeakMap,U=e=>{if(G.has(e))return G.get(e);let{curProps:t,props:n,conf:r,context:i,theme:o}=e,a=r.fontsParsed;i?.language&&(a=Q(r.fontsParsed,i.language));let l={fonts:a,tokens:r.tokensParsed,theme:o,get fontFamily(){return(0,j.Ve)(e.fontFamily||e.curProps.fontFamily||e.conf.defaultFont)},get font(){return a[this.fontFamily]||a[e.conf.defaultFont]},props:new Proxy(n,{get(e,n){for(let i of[n,r.inverseShorthands[n]])if(i)return Reflect.has(t,i)?Reflect.get(t,i):Reflect.get(e,i)}})};return G.set(e,l),l},K=new WeakMap;function Q(e,t){if(K.has(t))return K.get(t);let n={...e,...Object.fromEntries(Object.entries(t).map(([t,n])=>{if("default"===n)return[];let r=`$${t}_${n}`;return[`$${t}`,e[r]]}))};return K.set(t,n),n}let q={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};var Z=n(357);let J=(e,t,n,r)=>{if(el=null,"elevationAndroid"===e)return;if("unset"===t){let r=n.conf.unset?.[e];if(null==r)return;t=r}let i=n.styleProps.fallbackProps||r,o=i?new Proxy(n,{get:(e,t)=>"curProps"===t?i:Reflect.get(e,t)}):n,{conf:a,styleProps:l,fontFamily:s,staticConfig:u}=o,{variants:c}=u;if(!l.noExpand&&c&&e in c){o.curProps[e]=t;let n=ee(e,t,l,o,"");if(n)return n}if(l.disableExpandShorthands||e in a.shorthands&&(e=a.shorthands[e]),t&&("$"===t[0]?t=es(e,t,l.resolveValues,o):(0,j.cG)(t)&&(t=eu(e,t,l.resolveValues))),null!=t){let n=(l.noExpand?null:z(e,t))||[[e,t]];return"fontFamily"===e&&el&&en.set(n,el),n}},ee=(e,t,n,r,i)=>{let o;let{staticConfig:a,conf:l,debug:s}=r,{variants:u}=a;if(!u)return;let c=function(e,t,n){if("function"==typeof e)return e;let r=e[t];if(r)return r;if(null!=t){let{tokensParsed:r}=n;for(let{name:n,spreadName:i}of eo)if(i in e&&t in r[n])return e[i];let i=e["...fontSize"];if(i&&n.fontSizeTokens.has(t))return i}return e[`:${typeof t}`]||e["..."]}(u[e],t,l);if(!c){if("1"===Z.env.TAMAGUI_WARN_ON_MISSING_VARIANT&&"boolean"!=typeof t){let n=a.componentName||"[UnnamedComponent]";console.warn(`No variant found: ${n} has variant "${e}", but no matching value "${t}"`)}return}if("function"==typeof c&&(c=c(t,U(r))),(0,H.B)(c)){let t=c.fontFamily||c[l.inverseShorthands.fontFamily];t&&(o=function(e,t){if((0,j.cG)(e)){let n=et.get(e);if(n)return n;for(let n in t.fontsParsed){let r=t.fontsParsed[n].family;if((0,j.cG)(r)&&(et.set(r,n),r===e))return n}}else if("string"==typeof e&&"$"===e[0])return e}(t,l),r.fontFamily=o),c=ei(e,c,n,r,i)}if(c){let e=Object.entries(function e(t,n=!1){let r={};for(let i in t){let o=t[i];if(null==o)continue;if(i in T.Qy||"$"===i[0]&&(0,H.B)(o)){r[i]=e(o,n);continue}let a=n?o:(0,x.Y)(o,i),l=z(i,a);l?Object.assign(r,Object.fromEntries(l)):r[i]=a}return v(r),r}(c,!!n.noNormalize));return o&&"$"===o[0]&&en.set(e,(0,j.Ve)(o)),e}},et=new WeakMap,en=new WeakMap,er=e=>e&&en.get(e),ei=(e,t,n,r,i)=>{let{conf:o,staticConfig:a,debug:l,theme:s}=r,{variants:u}=a,c={};for(let a in t){let l=o.shorthands[a]||a,s=t[a];if(!(!n.noSkip&&l in q)){if(n.noExpand)c[l]=s;else if(u&&l in u){if(r.curProps[l]=s,i&&i===e)c[l]="$"===s[0]?es(l,s,n.resolveValues,r):s;else{let t=ee(l,s,n,r,e);if(t)for(let[e,n]of t)null!=n&&(e in T.Qy?(c[e]??={},Object.assign(c[e],n)):c[e]=n)}continue}if((0,j.cG)(s)){c[l]=eu(l,s,n.resolveValues);continue}if("string"==typeof s){let e="$"===s[0]?es(l,s,n.resolveValues,r):s;c[l]=e;continue}if((0,H.B)(s)){let t=ei(l,s,n,r,e);c[l]??={},Object.assign(c[l],t)}else c[l]=s}}return c},eo=["size","color","radius","space","zIndex"].map(e=>({name:e,spreadName:`...${e}`})),ea={fontSize:"size",fontWeight:"weight"},el=null,es=(e,t,n="none",r)=>{if("none"===n)return t;let{theme:i,conf:o=(0,s.iE)(),context:l,fontFamily:u,staticConfig:c}=r,f=o.tokensParsed,d,h=!1,m=c?.accept?.[e];if(m){let e=i?.[t]??f[m][t];null!=e&&(n="value",d=e,h=!0)}if(i&&t in i){if(d=i[t],r.skipThemeTokenResolution&&d?.val)return t;h=!0}else{if(t in o.specificTokens)h=!0,d=o.specificTokens[t];else{switch(e){case"fontFamily":d=(l?.language?Q(o.fontsParsed,l.language):o.fontsParsed)[t]?.family||t,el=t,h=!0;break;case"fontSize":case"lineHeight":case"letterSpacing":case"fontWeight":{let n=o.defaultFont||"$body",r=u||n;if(r){let i=l?.language?Q(o.fontsParsed,l.language):o.fontsParsed;d=(i[r]||i[n])?.[ea[e]||e]?.[t]||t,h=!0}}}for(let n in a.CV)if(e in a.CV[n]){let e=f[n][t];null!=e&&(d=e,h=!0)}}if(!h){let e=f.space[t];null!=e&&(d=e,h=!0)}}if(h)return eu(e,d,n)};function eu(e,t,n){if("none"===n)return t;if((0,j.cG)(t)){if("value"===n)return t.val;let e=t?.get;return"function"==typeof e?e("web"===n?"web":void 0):t.variable}return t}var ec=n(357);function ef(e,t){return(t.validStyles||(t.isText||t.isInput?a.FB:a.Qn))[e]||t.accept?.[e]}let ed=(e,t,n,r,l,h,m,p,y,b,S)=>{i=i||(0,s.iE)(),o.$L&&h.isAnimated&&i.animations.isReactNative&&!h.noNormalize&&(h.noNormalize="values");let{shorthands:w}=i,{isHOC:k,isText:P,isInput:A,variants:_,isReactNative:O,inlineProps:N,inlineWhenUnflattened:L,parentStaticConfig:M,acceptsClassName:j}=t,W={},B=h.mediaState||f.nA,z={},F=j&&o.$L&&!h.noClassNames,Y={},D={},V={},X=null,H=e.space,G=!1,U,K,Q,Z=(e.className,0),ee,et={get curProps(){return ee||={}},classNames:D,conf:i,props:e,styleProps:h,componentState:l,staticConfig:t,style:null,theme:n,usedKeys:z,viewProps:W,context:p,debug:b,skipThemeTokenResolution:S},{asChild:en}=e,{accept:ei}=t,{noSkip:eo,disableExpandShorthands:ea,noExpand:el}=h,{webContainerType:es}=i.settings,eu=M?.variants;for(let n in e){let s=n,m=e[s];if(ei){let e=ei[s];if(("style"===e||"textStyle"===e)&&m&&"object"==typeof m){W[s]=ep(et,s,m,h.noClassNames);continue}}if(ea||s in w&&(s=w[s]),"className"===s||s in z||en&&c.zm[s]===m)continue;if(s in q&&!eo&&!k){if("group"===s){let e=`t_group_${m}`;eb(Y,["continer",void 0,e,void 0,[`.${e} { container-name: ${m}; container-type: ${es||"inline-size"}; }`]])}continue}let b=typeof m,v=ef(s,t);if(v&&"string"===b&&"_"===m[0]){let e=s in a.Qn,t=!e&&s.includes("-")&&a.Qn[s.split("-")[0]];if(e||t){F?(eh(V,D,s,m,t),et.style&&delete et.style[s]):(et.style||={},et.style[s]=(0,x.R)(s,m),delete D[s]);continue}}if("dataSet"===s){for(let e in m)W[`data-${ex(e)}`]=m[e];continue}if(!el){if("disabled"===s&&!0===m&&(W["aria-disabled"]=!0,("button"===y||"form"===y||"input"===y||"select"===y||"textarea"===y)&&(W.disabled=!0),!_?.disabled))continue;if("testID"===s){W[O?s:"data-testid"]=m;continue}if("id"===s||"nativeID"===s){W.id=m;continue}let e=!1;if(O){if(s in u||s.startsWith("accessibility")){W[s]=m;continue}}else{if(e=!0,s in u){W[u[s]]=m;continue}switch(s){case"accessibilityRole":"none"===m?W.role="presentation":W.role=eE[m]||m;continue;case"accessibilityLabelledBy":case"accessibilityFlowTo":case"accessibilityControls":case"accessibilityDescribedBy":W[`aria-${s.replace("accessibility","").toLowerCase()}`]=Array.isArray(m)?m.join(" "):m;continue;case"accessibilityKeyShortcuts":Array.isArray(m)&&(W["aria-keyshortcuts"]=m.join(" "));continue;case"accessibilityLiveRegion":W["aria-live"]="none"===m?"off":m;continue;case"accessibilityReadOnly":W["aria-readonly"]=m,("input"===y||"select"===y||"textarea"===y)&&(W.readOnly=!0);continue;case"accessibilityRequired":W["aria-required"]=m,("input"===y||"select"===y||"textarea"===y)&&(W.required=m);continue;default:e=!1}}if(e)continue}let S=s in w,$=!v&&_&&s in _,R=S||v||$,L=s in a.M6,I=!R&&!L&&(0,f._z)(s),j=!!(I||L);if(j&&s.startsWith("$group-")){let e=s.split("-")[1];p?.groups.subscribe&&!p?.groups.state[e]&&(s=s.replace("$group-","$group-true-"))}let ee=v||j||$&&!el||S;if(ee&&("except-style"===en||"except-style-web"===en))continue;let ec=!ee||k&&eu&&s in eu||N?.has(s),ed=eu?.[s],eg=!!(k&&(S||v||j||ed||s in q));if((ec||eg)&&(eC(W,s,m,j),!$)||!eo&&s in q)continue;(P||A)&&m&&("fontFamily"===s||s===w.fontFamily)&&m in i.fontsParsed&&(et.fontFamily=m);let ey=j||!$&&!v,ev=ey?null:J(s,m,et);if(!ey){if(!ev)continue;let e=er(ev);e&&(et.fontFamily=e)}let ew=s,eT=m,e$=ev?ev.length:1;for(let n=0;n<e$;n++){if(ev){let[e,t]=ev[n];ew=e,eT=t}if(null!=eT&&!(ew in z)){if(j=!!((I=!(L=ew in a.M6)&&!v&&(0,f._z)(ew))||L),$=_&&ew in _,N?.has(ew)&&(W[ew]=e[ew]??eT),h.noExpand&&L||k&&(j||M?.variants?.[s])){eC(W,ew,eT,j);continue}if(L){if(!eT)continue;let e=ep(et,ew,eT,h.noClassNames),t=T.Qy[ew],n="enterStyle"===ew,r="exitStyle"===ew;if(!t)continue;if(F||(X||={},X[ew]||={}),F&&!r)for(let n of C(e,t)){let e=`${n[a.Nq]}-${t.name}`;e in z||(eb(Y,n),eh(V,D,e,n[a.Eo],j,!0))}if(!F||r||n){let i=!1===l[t.stateKey||t.name];r&&(i=!h.isExiting),n&&!1===l.unmounted&&(i=!0);let o=t.priority;for(let t in e){let n=e[t];if(i){let e=eS[t];null==e||t in z||et.style&&t in et.style||em(et,t,e)}else o>=(z[t]||0)&&(X||={},X[ew]||={},X[ew][t]=n,em(et,t,n))}if(!i)for(let e in eT){let t=w[e]||e;z[t]=Math.max(o,z[t]||0)}}continue}if(I){if(!eT)continue;let e=eT.space,t=ew.slice(1);if(G||=!0,(e||!F||h.willBeAnimated)&&("object"!=typeof G&&(G={}),G[t]=!0),"platform"===I){let e=ew.slice(10);if(e!==o.ob&&"web"!==e)continue}if(F){let n=ep(et,ew,eT,!1);if(e&&(delete n.space,B[t])){let e=(0,f.ae)(t,"space",z,!0);e&&(H=eT.space,z.space=e)}let r=E(n),i=Z;for(let e of(Z+=1,r)){let n=g(e,t,f.aN,I,!1,i),r=`${e[a.Nq]}-${t}${e[a.Ve]||""}`;r in z||(eb(Y,n),eh(V,D,r,n[a.Eo],!0,!0))}}else{let e="theme"===I,n="group"===I;if(!e&&"platform"!==I&&!n&&!B[t])continue;let i=ep(et,ew,eT,!0),o=0;if(e){U=!0;let e=t.slice(6);if(!(r===e||r.startsWith(e)))continue}else if(n){let e=d(t),n=e.name,r=p?.groups.state[n];if(!r)continue;let i=e.pseudo,a=e.media,s=l.group?.[n];if(a){(Q||=new Set).add(a);let e=s?.media,t=e?.[a];if(!e&&r.layout&&(t=(0,f.yj)(a,r.layout)),!t)continue;o=2}if(i){if((K||=new Set).add(n),!(s||p.groups.state[n]).pseudo?.[i])continue;o=T.MX[i]}}for(let e in i){if("space"===e){H=m.space;continue}et.style||={},function(e,t,n,r,i,o,a){let l=(0,f.ae)(t,n,i,o);a&&(l=(l||0)+a),null!==l&&(i[n]=l,em(e,n,r))}(et,t,e,i[e],z,B[t],o),"fontFamily"===ew&&(et.fontFamily=i.fontFamily)}}continue}if(!k&&ef(ew,t)){em(et,ew,eT);continue}$||(W[ew]=eT)}}}if(!1!==h.noNormalize&&(et.style&&(v(et.style),o.$L&&!O&&R(et.style)),et.flatTransforms&&(et.style||={},Object.entries(et.flatTransforms).sort(([e],[t])=>e.localeCompare(t)).forEach(([e,t])=>{eT(et.style,e,t,!0)})),m)){if(F)for(let e in m.classNames){let t=m.classNames[e];et.style&&e in et.style||e in D||(D[e]=t)}if(!F)for(let e in m.style)e in D||et.style&&e in et.style||(et.style||={},et.style[e]=m.style[e])}if(!h.noNormalize&&!t.isReactNative&&!t.isHOC&&(!h.isAnimated||i.animations.supportsCSSVars)&&Array.isArray(et.style?.transform)&&(et.style.transform=(0,$.m)(et.style.transform)),et.style&&F){let t;if(!et.style.$$css){for(let n of E(et.style)){let[r,i,o]=n,a=h.isAnimated&&h.noClassNames&&(!e.animateOnly||e.animateOnly.includes(r)),l=!a&&!h.isAnimated&&e.animateOnly?.includes(r);a?(t||={})[r]=et.style[r]:l?(t||={})[r]=i:(eb(Y,n),eh(V,D,r,o,!1,!0))}et.style=t||{}}if(V)for(let e in V){if(!V[e])continue;let[t,n]=V[e],r=`_transform${t}`;if(o.C5&&!I.MD[r]){let t=`.${r} { transform: ${n}; }`;eb(Y,[e,n,r,void 0,[t]])}D[e]=r}}if(!O&&null==W.tabIndex){let t=W.focusable??W.accessible;W.focusable&&delete W.focusable;let n=W.role;!1===t&&(W.tabIndex="-1"),"a"===y||"button"===y||"input"===y||"select"===y||"textarea"===y?(!1===t||!0===e.accessibilityDisabled)&&(W.tabIndex="-1"):("button"===n||"checkbox"===n||"link"===n||"radio"===n||"textbox"===n||"switch"===n)&&!1!==t&&(W.tabIndex="0"),t&&(W.tabIndex="0",delete W.focusable)}let ec=e.style;if(ec){if(k)W.style=ek(ec);else{let e=Array.isArray(ec),t=e?ec.length:1;for(let n=0;n<t;n++){let t=e?ec[n]:ec;t&&(t.$$css?Object.assign(et.classNames,t):(et.style||={},Object.assign(et.style,ek(t))))}}}let ed={space:H,hasMedia:G,fontFamily:et.fontFamily,viewProps:W,style:et.style,pseudos:X,classNames:D,rulesToInsert:Y,dynamicThemeAccess:U,pseudoGroups:K,mediaGroups:Q};if(!("except-style"===en||"except-style-web"===en)){let n=et.style;{let r=P||A?et.fontFamily||t.defaultProps?.fontFamily:null;r&&"$"===r[0]&&(r=r.slice(1));let o=r?`font_${r}`:"",a=e.group?`t_group_${e.group}`:"",l=e.componentName||t.componentName,s=e.asChild||!l?"":`is_${l}`,u=[];s&&u.push(s),o&&u.push(o),D&&u.push(Object.values(D).join(" ")),a&&u.push(a),e.className&&u.push(e.className);let c=u.join(" ");if(h.noMergeStyle)c&&(W.className=c);else if(h.isAnimated&&!i.animations.supportsCSSVars&&O)n&&(W.style=n);else if(O){let e={$$css:!0};for(let t of c.split(" "))e[t]=t;W.style=[...Array.isArray(n)?n:[n],e]}else c&&(W.className=c),n&&(W.style=n)}}return ed};function eh(e,t,n,r,i=!1,a=!1){if(r){if(!a&&"_"===r[0]&&r.startsWith("_transform-")){let t=i?n:"transform",a=I.MD[r];!o.C5||a||((0,I.jc)(),(a=I.MD[r])||!o.$L||"_"===r[0]||(a=r)),e[t]||=["",""],e[t][0]+=r.replace("_transform",""),a&&(e[t][1]+=a)}else t[n]=r}}function em(e,t,n,r=!1){let{classNames:i,viewProps:l,usedKeys:s,styleProps:u,staticConfig:c}=e;if(o.$L&&n?.[0]==="_")i[t]=n,s[t]||=1;else if(t in a.Dc)e.flatTransforms||={},e.flatTransforms[t]=n;else{let i=!o.$L||r||u.noNormalize?n:(0,x.Y)(n,t);c.accept&&t in c.accept?l[t]=i:(e.style||={},e.style[t]=i)}}let ep=(e,t,n,r)=>{let{staticConfig:i,props:o,conf:l,styleProps:s}=e,u={};for(let c in n){let f=n[c],d=J(c=l.shorthands[c]||c,f,e,{...o,...o[t]});if(!(!d||!i.isHOC&&c in q&&!s.noSkip))for(let[e,t]of d)!r&&e in a.Dc?eT(u,e,t):u[e]=s.noNormalize?t:(0,x.Y)(t,c)}return s.noNormalize||v(u),u},eg=o.$L?l.useInsertionEffect||o.LI:()=>{},ey=(e,t,n,r,o,a,l,u,c,f)=>{i=i||(0,s.iE)();let d=ed(e,t,n,r,o,a,l,u,c,f);return ec.env.TAMAGUI_REACT_19||eg(()=>{(0,I._N)(d.rulesToInsert)},[d.rulesToInsert]),d};function eb(e,t){{let n=t[a.Eo];ec.env.TAMAGUI_REACT_19||(0,I.Jt)(n)&&(0,I.GU)(n,t[a.Wk]),e[n]=t}}let ev=ec.env.TAMAGUI_DEFAULT_COLOR||"rgba(0,0,0,0)",eS={...Object.fromEntries(Object.entries(a.CV.color).map(([e,t])=>[e,ev])),opacity:1,scale:1,rotate:"0deg",rotateY:"0deg",rotateX:"0deg",x:0,y:0,borderRadius:0},ew=e=>`-${e.toLowerCase()}`,ex=e=>e.replace(/[A-Z]/g,ew),eT=(e,t,n,r=!1)=>{"string"!=typeof e.transform&&(e.transform||=[],e.transform[r?"unshift":"push"]({[e$[t]||t]:n}))},e$={x:"translateX",y:"translateY"},eE={adjustable:"slider",header:"heading",image:"img",link:"link",none:"presentation",summary:"region"};function eC(e,t,n,r=!1){if(r){let r={...e[t],...n};delete e[t],e[t]=r}else e[t]=n}function ek(e){let t={};for(let n in e){let r=e[n];n in a.Dc?eT(t,n,r):t[n]=(0,x.Y)(r,n)}return o.$L&&Array.isArray(t.transform)&&(t.transform=(0,$.m)(t.transform)),v(t),t}},7393:function(e,t,n){"use strict";n.d(t,{GU:function(){return k},Jt:function(){return A},MD:function(){return f},OJ:function(){return p},UY:function(){return h},_N:function(){return R},jc:function(){return y},tN:function(){return d}});var r=n(281),i=n(2145),o=n(2202),a=n(357);let l=new WeakMap,s=new Map,u={},c={},f={},d=()=>u,h=()=>Object.values(c);function m(e,t,n){let r=t.indexOf("transform:");if(-1===r)return;let i=t.indexOf(";"),o=t.slice(r+10,i);if(!f[e])return f[e]=o,!0}function p(){r.C5&&new MutationObserver(e=>{for(let t of e)if(t instanceof HTMLStyleElement&&t.sheet||t instanceof HTMLLinkElement&&t.href.endsWith(".css")){y();break}}).observe(document.head,{childList:!0})}let g=null;function y(e=!1,t){let n;if(!r.C5)return;let i=document.styleSheets||[],o=g,a=new Set(i);if(document.styleSheets){for(let r of a)if(r){let i=w(r,!1,e,t);i&&(n=i)}g=a}if(o)for(let e of o)e&&!a.has(e)&&w(e,!0);return n}function b(e,t=!1){let n=(s.get(e)||0)+(t?-1:1);return s.set(e,n),n}let v=a.env.TAMAGUI_BAIL_AFTER_SCANNING_X_CSS_RULES,S=v?+v:250;function w(e,t=!1,n=!1,r){let i;try{if(!(i=e.cssRules))return}catch{return}let s=$(i[0],n)?.[0],c=$(i[i.length-1],n)?.[0],f=`${i.length}${s}${c}`,d=l.get(e);if(!t&&d===f)return;let h=i.length,p=0,g;for(let e=0;e<h;e++){let l=i[e];if(!(l instanceof CSSStyleRule))continue;let s=$(l,n);if(s)p=0;else{if(++p>S)return;continue}let[c,f,d]=s;if(d){let e=function(e,t){let n=e.selectorText.split(",");if(!n.length)return;if(t&&!x)for(let e in x={},t.color){let n=t.color[e];x[n.name]=n.val}let r=(e.cssText||"").slice(e.selectorText.length+2,-1).split(";"),i={};for(let e of r){let t;let n=e.indexOf(":");if(-1===n)continue;let r=e.indexOf("--"),l=e.slice(-1===r?0:r+2,n);a.env.TAMAGUI_CSS_VARIABLE_PREFIX&&(l=l.replace(a.env.TAMAGUI_CSS_VARIABLE_PREFIX,""));let s=e.slice(n+2);if("v"===s[0]&&s.startsWith("var(")){let e=s.slice(6,-1),n=x[e];n?t=n:(T||=getComputedStyle(document.body),t=T.getPropertyValue("--"+e))}else t=s;i[l]=(0,o.Os)({key:l,name:l,val:t},!0)}let l=new Set;for(let e of n){let t=e.lastIndexOf(".t_"),n=e.slice(t).slice(3),[r]=e[t-5],i="d"===r?"dark":"i"===r?"light":"",o=i&&i!==n?`${i}_${n}`:n;o&&"light_dark"!==o&&"dark_light"!==o&&l.add(o)}return{names:[...l],theme:i}}(f,r);e&&(g||=[]).push(e);continue}if(!a.env.TAMAGUI_REACT_19){let e=b(c,t);t?0===e&&delete u[c]:c in u||(!c.startsWith("_transform-")||m(c,f.cssText,f))&&(u[c]=f.cssText)}}return l.set(e,f),g}let x,T=null;function $(e,t=!1){if(e instanceof CSSStyleRule){let n=e.selectorText;if(":"===n[0]&&"r"===n[1]){if(n.startsWith(":root ._"))return[E(n),e];if(t&&(n.startsWith(":root.t_")||n.startsWith(":root .t_")))return[n.slice(0,20),e,!0]}}else if(e instanceof CSSMediaRule)return e.cssRules.length>1?void 0:$(e.cssRules[0])}let E=e=>{let t=e.indexOf(":");return t>-1?e.slice(7,t):e.slice(7)},C=r.C5&&document.head?document.head.appendChild(document.createElement("style")).sheet:null;function k(e,t){if(!a.env.TAMAGUI_REACT_19)return!(e in c)&&(c[e]=t.join(" "),!e.startsWith("_transform-")||m(e,t[0]))}function R(e){if(!a.env.TAMAGUI_REACT_19&&C)for(let t in e){let n=e[t],r=n[i.Eo];if(!A(r))continue;let o=n[i.Wk];for(let e of(u[r]=o.join(`
`),b(r),k(r,o),o))try{C.insertRule(e,C.cssRules.length)}catch(e){console.error("Error inserting CSS",e)}}}let P=a.env.TAMAGUI_INSERT_SELECTOR_TRIES?+a.env.TAMAGUI_INSERT_SELECTOR_TRIES:1;function A(e){if(a.env.TAMAGUI_REACT_19)return!0;{let t=s.get(e);return void 0===t||t<P}}},1616:function(e,t,n){"use strict";n.d(t,{B:function(){return r}});let r=e=>e&&!Array.isArray(e)&&"object"==typeof e},9533:function(e,t,n){"use strict";n.d(t,{D:function(){return i},L:function(){return r}});let r="u">typeof window&&window.matchMedia||function(e){return{match:(e,t)=>!1,addListener(){},removeListener(){},matches:!1}};function i(e){}},450:function(e,t,n){"use strict";n.d(t,{d:function(){return o}});var r=n(9097),i=n(7440);let o=(e,t,n)=>{let r={};for(let i in e)a(r,e,t,i,n);if(t)for(let e in t)a(r,t,void 0,e,n);return r};function a(e,t,n,o,a){let l=a?.[o]||null,s=t[o];if(o in i.Qy||r.Lk.has(o)){e[o]={...e[o],...s};return}n&&(o in n||l&&l in n)||(e[l||o]=s)}},2117:function(e,t,n){"use strict";n.d(t,{HY:function(){return l},ut:function(){return a}});var r=n(44),i=n.t(r,2);let o=r||i,a=(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 n=l(e);if(n){let e=`${n.r},${n.g},${n.b}`;return 1===t?`rgb(${e})`:`rgba(${e},${t??n.a??1})`}}return e}},l=e=>{let t=o(e);if(null!=t)return{r:Math.round((4278190080&t)>>>24),g:Math.round((16711680&t)>>>16),b:Math.round((65280&t)>>>8),a:((255&t)>>>0)/255}}},8829:function(e,t,n){"use strict";n.d(t,{R:function(){return u},Y:function(){return l}});var r=n(281),i=n(2145),o=n(7393);let a={...i.cC,translateX:!0,translateY:!0};function l(e,t=""){if(!r.$L||i.O0[t]||t&&!a[t]||"boolean"==typeof e)return e;let n=e;return e&&"object"==typeof e?e:("number"==typeof e?n=`${e}px`:t&&(n=`${n}`),n)}let s={};function u(e,t){let n;let r=(0,o.tN)()[t];if(s[r])return s[r];if(!r)return;let a=r.replace(/.*:/,"").replace(/;.*/,"").trim();return n=a.startsWith("var(")?a:i.O0[e]?+a:a.endsWith("px")?+a.replace("px",""):a,s[r]=n,n}},7440:function(e,t,n){"use strict";n.d(t,{MX:function(){return r},Qy:function(){return i}});let r={hover:1,press:2,focus:3,focusVisible:3,disabled:4},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"},enterStyle:{name:"enter",selector:".t_unmounted",priority:4},exitStyle:{name:"exit",priority:5}}},9235:function(e,t,n){"use strict";n.d(t,{Y:function(){return a}});var r=n(2265),i=n(1130),o=n(2281);function a(e,t){let n=(0,r.forwardRef)(function(n,r){let{themeInverse:a,theme:l,componentName:s,themeReset:u,...c}=n,f=(0,o.jsx)(e,{ref:r,...c,"data-disable-theme":!0});return(0,o.jsx)(i.Q,{componentName:s||t?.componentName,name:l,"disable-child-theme":!0,debug:n.debug,inverse:a,reset:u,children:f})});return n.displayName=`Themed(${e?.displayName||e?.name||"Anonymous"})`,n}},1333:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});var r=n(8829);function i(e){return e.map(e=>{let t=Object.keys(e)[0],n=e[t];return"matrix"===t||"matrix3d"===t?`${t}(${n.join(",")})`:`${t}(${(0,r.Y)(n,t)})`}).join(" ")}},6962:function(e,t,n){"use strict";n.d(t,{U:function(){return i},f:function(){return o}});var r=n(2265);function i(){return!0}function o(){return u()}Date.now();let a=()=>()=>{},l=()=>!0,s=()=>!1,u=()=>(0,r.useSyncExternalStore)(a,l,s)},9097:function(e,t,n){"use strict";let r,i;n.d(t,{jl:function(){return w},om:function(){return h},ae:function(){return O},_z:function(){return g},yj:function(){return I},Lk:function(){return m},yS:function(){return M},aN:function(){return d},nA:function(){return f},Zv:function(){return P},yL:function(){return T},GS:function(){return _}});var o=n(281),a=n(2265),l=n(5986),s=n(9533),u=n(7440),c=n(357);let f={},d={},h=()=>f,m=new Set,p=/\$(platform|theme|group)-/,g=e=>{if(m.has(e))return!0;if("$"===e[0]){let t=e.match(p);if(t)return t[1]}return!1},y=Object.keys(u.Qy).length,b=e=>(0,l.iE)().settings.mediaPropOrder?y:i.indexOf(e)+100,v=new Set,S=0,w=e=>{let{media:t,mediaQueryDefaultActive:n}=e;if(t){for(let e in S++,t)f[e]=n?.[e]||!1,m.add(`$${e}`);Object.assign(d,t),r={...f},i=Object.keys(t),e.disableSSR?T():k()}},x=-1;function T(){if(!(o.$L&&o.sk)&&x!==S)for(let e in x=S,v.forEach(e=>e()),v.clear(),d){let t=function(){let t=!!r().matches;t!==f[e]&&(f={...f,[e]:t},k())},n=M(d[e],e),r=()=>(0,s.L)(n),i=r();if(!i)throw Error("⚠️ No match");i.addListener(t),v.add(()=>{i.removeListener(t)}),t()}}let $=new Set,E=!1,C=-1;function k(){E&&C===S||(C=S,E=!0,Promise.resolve().then(()=>{E=!1,$.forEach(e=>e(f))}))}let R=new WeakMap;function P(e,t){return R.set(e,{...R.get(e),...t})}function A(e){return $.add(e),()=>{$.delete(e)}}function _(e,t,n){let i;let s=e??(0,a.useRef)(),u=t?.disableSSR??(0,l.iE)().disableSSR,d=(u||!o.$L?f:r)||{},h=R.get(s);h||(h={prev:d},R.set(s,h));let m=()=>{if(!h)return d;let{enabled:e,keys:t,prev:n=d}=h;if(!1===e)return n;let r=t??(e&&t)??null;return!r||Object.keys(r).every(e=>f[e]===n[e])?n:(h.prev=f,f)};if(c.env.TAMAGUI_SYNC_MEDIA_QUERY)i=(0,a.useSyncExternalStore)(A,m,()=>d);else{let[e,t]=(0,a.useState)(d);i=e,(0,o.LI)(()=>{function e(){t(m)}return e(),u||Promise.resolve().then(()=>{e()}),A(e)},[])}return new Proxy(i,{get:(e,t)=>("string"==typeof t&&(h.keys||={},h.keys[t]=!0),Reflect.get(i,t))})}let O=(e,t,n,r)=>{let i=(0,l.iE)(),o=r&&!i.settings.mediaPropOrder?b(e):y;return!n[t]||o>n[t]?o:null},N=new WeakMap,L={};function M(e,t){if("string"==typeof e)return e;if(N.has(e))return N.get(e);let n=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&&(L[t]=n),N.set(e,n),n}function I(e,t){let n=d[e];return Object.keys(n).every(e=>{let r=+n[e],i=e.startsWith("max"),o=t[e.endsWith("Width")?"width":"height"];return i?o<r:o>r})}},8411:function(e,t,n){"use strict";let r;n.d(t,{q4:function(){return $},fe:function(){return C},Fg:function(){return y},WU:function(){return b}});var i=n(281),o=n(2265),a=n(5986),l=n(2202),s=n(9242);let u={name:""};function c(e){return!!(e.name||e.componentName||e.inverse||e.reset)}let f=0;class d{constructor(e={},t){if(this.props=e,f=(f+1)%Number.MAX_VALUE,this.id=f,"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=u;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 n=this.getStateIfChanged(e);if(n)return this.updateState(n,t),n}updateState(e,t=!0){this.state=e,this._allKeys=null,t&&queueMicrotask(()=>{this.notify()})}getStateIfChanged(e=this.props,t=this.state,n=this.parentManager){let r=this.getState(e,n);return t&&t!==u&&!r?n?.state:this.getStateShouldChange(r,t)?r: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(!c(e))return null;let n=(0,a.RC)(),[r,o]=function(e){let t=[],n=[],r=e;for(;r;)n.push(r),r.state.isComponent&&t.push(r),r=r.parentManager;return[n,t]}(t),l=!!t?.state.isComponent,u=e.reset&&!l?1:0,f=r[u],d=r[u+1];if(!f&&e.reset)return null;let{componentName:m}=e,p=null,g=f?.state.name||"";f?.state.isComponent&&(g=g.replace(/_[A-Z][A-Za-z]+/,""));let y=e.reset?g:e.name||"",b=o.map(e=>e?.state.name||"");l&&b.shift();let v=g.split(s.L2),S=v.length,w=e.componentName&&!y?S:0;for(let t=S;t>=w;t--){let r=v.slice(0,t).join(s.L2);e.inverse&&(r=h(r));let o=[];if(r&&r!==g&&r.includes(y)&&o.push(r),y&&o.unshift(r?`${r}_${y}`:y),1===t){let e=o.findIndex(e=>!e.includes("_"));e>0&&o.splice(e,0,y)}if(m&&!e.reset){let e=v.length,n=[];if(y&&e>1){let e=v[0];n.push(`${e}_${y}_${m}`)}if(n.push(`${r}_${m}`),y){if(t>e){let e=v.slice(0,t-1).join(s.L2);if(e){let t=`${e}_${y}_${m}`;n.unshift(t)}}let i=`${r}_${y}_${m}`;n.unshift(i)}o=[...n,...o,...b]}let a=o.find(e=>e in n);if(a){let e=a.split("_"),[t,...r]=e,o=e[e.length-1],l=o[0]===o[0].toUpperCase(),u="light"===t?"light":"dark"===t?"dark":void 0,c=s.nx,h=i.$L?`${c}sub_theme ${c}${u&&r.length?r.join("_"):t}`:"";p={name:a,parentName:(f||d)?.state?.name,theme:n[a],className:h,isComponent:l,scheme:u};break}}return p}(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 h=e=>e.startsWith("light")?e.replace(/^light/,"dark"):e.replace(/^dark/,"light");var m=n(9033),p=n(3820);let g={name:null},y=(e=g)=>{let[t,n]=b(e);return n||function(){if(r)return r;let e=(0,a.iE)(),t=e.themes.light?"light":Object.keys(e.themes)[0];return r=v({theme:e.themes[t],name:t})}()},b=e=>{let t=(0,o.useRef)([]),n=C(e,!1,t.current,i.sk?void 0:()=>e.shouldUpdate?.()??(t.current.length>0||void 0)),{themeManager:r,state:a}=n;return[n,(0,o.useMemo)(()=>r&&a?.theme?v(a,e.deopt,r,t.current,e.debug):{},[a?.theme,r,e.deopt,e.debug])]};function v({theme:e,name:t,scheme:n},r=!1,i,o,s){return e?((0,a.iE)(),new Proxy(e,{has:(t,n)=>!!Reflect.has(e,n)||("string"==typeof n?("$"===n[0]&&(n=n.slice(1)),i?.allKeys.has(n)):void 0),get(t,n){if("undefined"!==n&&"string"==typeof n){let t="$"===n[0]?n.slice(1):n,r=e[t];if(r&&"object"==typeof r)return new Proxy(r,{get(e,n){if("val"===n)o&&!o.includes(t)&&o.push(t);else if("get"===n)return e=>(0,l.E0)(r);return Reflect.get(r,n)}})}return Reflect.get(t,n)}})):{}}let S=new Set,w=new WeakMap,x={},T=e=>x[e],$=e=>w.get(T(e)),E=e=>{if(!x[e.id]){let t=x[e.id]={};w.set(t,e)}},C=(e,t=!1,n,r)=>{let{disable:l}=e,s=$((0,o.useContext)(m.s));if(!t&&!s||l)return{isNewTheme:!1,state:s?.state,themeManager:s};let[u,f]=(0,o.useState)(T),{state:h,mounted:g,isNewTheme:y,themeManager:b,inversed:v}=u,w=!!(!u.mounted&&e.inverse);function x(t=b,n,i=h,o=!1){let a=r?.();if(!t||!o&&!1===a)return;let l=n||t.getState(e,s);if(o||l&&!(!0!==a&&!t.getStateShouldChange(l,i)))return l}if(i.sk||(0,o.useEffect)(()=>{if(!b)return;if(e.inverse&&!g){f(e=>T({...e,mounted:!0}));return}(y||x(b))&&(S.add(b),f(T));let t=b.onChangeTheme((e,t,n)=>{n&&f(e=>T(e,!0))}),i=s?.onChangeTheme((t,i,o)=>{let a=o||r?.()||e.deopt||void 0;(a??!!(n?.length||y))&&f(e=>T(e,a))},b.id);return()=>{t(),i?.(),y&&S.delete(b)}},[b,s,y,e.componentName,e.inverse,e.name,e.reset,g]),i.$L&&w)return{isNewTheme:!1,inversed:!1,themeManager:s,state:{name:"",...s?.state,className:""}};return{state:h,isNewTheme:y,inversed:v,themeManager:b};function T(o,l=!1){if(o&&r?.()===!1&&!l)return o;let u=s,f;if(c(e)){let r=()=>new d(e,t?"root":s);if(o?.themeManager){u=o.themeManager;let i=l||!!n?.length,a=u.getState(e,s),c=x(u,a,o.state,i);c?(f=c,o.isNewTheme||t?u.updateState(c):u=r()):o.isNewTheme&&s&&!a&&(u=s)}else f={...(u=r()).state}}let h=!!(u!==s||e.inverse);h&&E(u);let m=!!i.$L&&!(0,a.iE)().disableSSR,g=!m||t||o?.mounted;f||(h?f=u.state:(f=s.state,u=s));let y=o?.inversed,b=h&&f.scheme!==s?.state.scheme,v={themeManager:u,isNewTheme:h,mounted:g,inversed:!t&&(!!b||(m?null==y&&null:e.inverse))},S=o&&!l&&(0,p.N2)(o,v)&&(0,p.N2)(o.state,f);return o&&S?o:(v.state=f,v)}}},4283:function(e,t,n){"use strict";n.d(t,{P:function(){return r},b:function(){return i}});let r={};function i(e){Object.assign(r,e)}},4975:function(e,t,n){"use strict";n.d(t,{z:function(){return l}});var r=n(5260);let i=(e,t,n=0)=>{let r={};for(let o in t){let a=e?.[o],l=t[o];a&&"function"!=typeof l?a&&!l?r[o]=a[o]:0===n?r[o]=i(a,l,n+1):r[o]={...a,...l}:r[o]=l}return{...e,...r}},o=new WeakMap,a={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 l(e,t,n){let l=e.staticConfig,s=!!l&&!(l.isReactNative||l.isHOC),u=l?.isHOC&&!l?.isStyledHOC||s?e:l?.Component||e,c=l?void 0:function(e){if(e)return e.getSize&&e.prefetch?a.Image:"Text"===e.displayName&&e.render?a.Text:e.render&&("ScrollView"===e.displayName||"View"===e.displayName)?a.default:e.State?.blurTextInput?a.TextInput:o.get(e)}(u),f=!!(c||n?.isReactNative||l?.isReactNative),d=(()=>{if(t){let{variants:e,name:r,defaultVariants:o,acceptsClassName:a,context:d,...h}=t;o&&(h={...o,...h}),l&&(l.isHOC&&!l.isStyledHOC||(h={...l.defaultProps,...h},l.variants&&(e=i(l.variants,e)))),l?.isHOC&&r&&(h.componentName=r);let m=!!(n?.isText||l?.isText),p=a??(s||f||l?.isHOC&&l?.acceptsClassName),g={...l,...n,...!s&&{Component:u},variants:e,defaultProps:h,defaultVariants:o,componentName:r||l?.componentName,isReactNative:f,isText:m,acceptsClassName:p,context:d,...c,isStyledHOC:!!l?.isHOC,parentStaticConfig:l};return(h.children||!p||d)&&(g.neverFlatten=!0),g}})(),h=(0,r.LM)(d||{});for(let t in e)"propTypes"!==t&&(t in h||(h[t]=e[t]));return h}},4326:function(e,t,n){"use strict";n.d(t,{g:function(){return s}});var r=n(9046),i=n(281),o=n(2145),a=n(2265);n(2281);let l=a.version.startsWith("19."),s=(0,a.forwardRef)(function(e,t){let{children:n,...i}=e;if((0,a.isValidElement)(n)){let e=function(e,t){let n=e.props,r={...n},i="string"==typeof e.type;if(i)for(let e in u)e in t&&(t[u[e]]=t[e],delete t[e]);for(let e in n){let a=t[e],l=n[e];i&&e in u&&(e=u[e],delete r[e]),c.test(e)?r[e]=(0,o.Mj)(l,a):"style"===e?r[e]={...a,...l}:"className"===e&&(r[e]=[a,l].filter(Boolean).join(" "))}return{...t,...r}}(n,i);return(0,a.cloneElement)(n,n.type.avoidForwardRef?e:{...e,ref:(0,r.FE)(t,l?n.props.ref:n.ref)})}return a.Children.count(n)>1?a.Children.only(null):null});s.displayName="Slot";let u=i.$L?{onPress:"onClick",onPressOut:"onMouseUp",onPressIn:"onMouseDown"}:{},c=/^on[A-Z]/},5566:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(2145),i=n(9242);let o=(0,n(5260).LM)({acceptsClassName:!0,defaultProps:i.tn,validStyles:r.Qn});o.displayName="Stack"},8475:function(e,t,n){"use strict";n.d(t,{x:function(){return a}});var r=n(2145),i=n(5260);let o={maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},a=(0,i.LM)({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:o,":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:o},ellipsis:{true:o}},validStyles:{...r.Qn,...r.hT}});a.displayName="Text"},1130:function(e,t,n){"use strict";n.d(t,{Q:function(){return u},u:function(){return c}});var r=n(281),i=n(2265),o=n(2202),a=n(9033),l=n(8411),s=n(2281);let u=(0,i.forwardRef)(function({children:e,...t},n){if(t.disable)return e;let r=!!t._isRoot,o=(0,l.fe)(t,r),a=t["disable-child-theme"]?i.Children.map(e,e=>(0,i.cloneElement)(e,{"data-disable-theme":!0})):e;if(n)try{i.Children.only(a),a=(0,i.cloneElement)(a,{ref:n})}catch{}return c(o,a,t,r,(0,i.useRef)({hasEverThemed:!1}))});function c(e,t,n,l=!1,c){let{themeManager:d,isNewTheme:h}=e;if(!d)throw Error("❌ 005");let{shallow:m,forceClassName:p}=n,g=h||"inverse"in n||"name"in n||c.current.hasEverThemed||l;if(g&&(c.current.hasEverThemed=!0),!g)return t;let y=t;m&&(y=i.Children.toArray(t).map(e=>(0,i.isValidElement)(e)?(0,i.cloneElement)(e,void 0,(0,s.jsx)(u,{name:d.state.parentName,children:e.props.children})):e));let b=(0,s.jsx)(a.s.Provider,{value:d.id,children:y});return!1===p?b:r.$L?function({children:e,themeState:t,forceClassName:n,isRoot:r}){if(r&&!1===n)return e;let i=t.inversed,{className:a,style:l}=function(e,t=!1){if(!e.isNewTheme)return{className:"",style:f};let n=e.state?.theme&&e.isNewTheme?(0,o.lk)(e.state.theme.color):"",r=e.state?.className||"";return t&&(r=r.replace("t_sub_theme","")),{style:n?{color:n}:void 0,className:r}}(t,r),u=(0,s.jsx)("span",{className:`${a} _dsp_contents is_Theme`,style:l,children:e});if(null!=i||n){let e=t.state?.name||"",n=e.startsWith("light")?"t_light is_inversed":e.startsWith("dark")?"t_dark is_inversed":"";u=(0,s.jsx)("span",{className:`${i?n:""} _dsp_contents`,children:u})}return u}({children:b,themeState:e,forceClassName:p,isRoot:l}):b}u.displayName="Theme",u.avoidForwardRef=!0;let f={}}}]);