1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8408],{25053:function(e,t,r){"use strict";r.d(t,{X:function(){return l}});var i=r(7653),n=r(44740),s=r(33380),a=r(44429);let o=e=>{let{color:t="black",size:r=24,...i}=e;return(0,a.jsxs)(n.ny,{width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...i,children:[(0,a.jsx)(n.y$,{d:"M18 6 6 18",stroke:t}),(0,a.jsx)(n.y$,{d:"m6 6 12 12",stroke:t})]})};o.displayName="X";let l=(0,i.memo)((0,s.H)(o))},87171:function(e,t,r){"use strict";r.d(t,{G:function(){return p}});var i=r(93500),n=r(67815),s=r(46159),a=r.n(s),o=r(7653);let l=["light","dark"],u="(prefers-color-scheme: dark)",h=(e,t)=>{let r;if(!(typeof window>"u")){try{r=localStorage.getItem(e)||void 0}catch{}return r||t}},d=e=>(e||(e=window.matchMedia(u)),e.matches?"dark":"light");var c=r(19260),f=r(44429);let p=(0,o.memo)(({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:r=!0,enableColorScheme:s=!0,storageKey:a="theme",themes:p=l,defaultTheme:m=r?"system":"light",attribute:v="class",skipNextHead:g,onChangeTheme:b,value:y={dark:"t_dark",light:"t_light"},children:C})=>{let[w,S]=(0,o.useState)(()=>h(a,m)),[k,x]=(0,o.useState)(()=>h(a)),N=y?Object.values(y):p,T=(0,n.z)(r=>{let i=d(r),n=()=>x(i);t?n():o.startTransition(()=>n()),"system"!==w||e||L(i,!1)}),L=(0,n.z)((e,t=!0,i=!0)=>{let n=y?.[e]||e;if(t)try{localStorage.setItem(a,e)}catch{}if("system"===e&&r){let e=d();n=y?.[e]||e}if(b?.(n.replace("t_","")),i){let e=document.documentElement;"class"===v?(e.classList.remove(...N),e.classList.add(n)):e.setAttribute(v,n)}});(0,i.LI)(()=>{let e=window.matchMedia(u);return e.addListener(T),T(e),()=>{e.removeListener(T)}},[]);let E=(0,n.z)(t=>{e?L(t,!0,!1):L(t),S(t)});(0,o.useEffect)(()=>{let e=e=>{e.key===a&&E(e.newValue||m)};return window.addEventListener("storage",e),()=>{window.removeEventListener("storage",e)}},[m,E,a]),(0,i.LI)(()=>{if(!s)return;let t=e&&l.includes(e)?e:w&&l.includes(w)?w:"system"===w&&k||null;("u">typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")!==(t||"light")&&document.documentElement.style.setProperty("color-scheme",t)},[s,w,k,e]);let I=(0,n.z)(()=>{let e="dark"===k?["system","light","dark"]:["system","dark","light"];E(e[(e.indexOf(w)+1)%e.length])}),R=r?k:void 0,A=(0,o.useMemo)(()=>({theme:w,current:w,set:E,toggle:I,forcedTheme:e,resolvedTheme:"system"===w?k:w,themes:r?[...p,"system"]:p,systemTheme:R}),[w,E,I,e,k,r,p,R]);return(0,f.jsxs)(c.m.Provider,{value:A,children:[(0,f.jsx)(_,{forcedTheme:e,storageKey:a,systemTheme:k,attribute:v,value:y,enableSystem:r,defaultTheme:m,attrs:N,skipNextHead:g}),(0,o.useMemo)(()=>C,[C])]})}),_=(0,o.memo)(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:i,defaultTheme:n,value:s,attrs:o,skipNextHead:l})=>{let h="class"===r?`var d=document.documentElement.classList;${o.map(e=>`d.remove('${e}')`).join(";")};`:"var d=document.documentElement;",d=(e,t)=>{e=s?.[e]||e;let i=t?e:`'${e}'`;return"class"===r?`d.add(${i})`:`d.setAttribute('${r}', ${i})`},c="system"===n,p=(0,f.jsx)(f.Fragment,{children:e?(0,f.jsx)("script",{dangerouslySetInnerHTML:{__html:`!function(){${h}${d(e)}}()`}},"next-themes-script"):i?(0,f.jsx)("script",{dangerouslySetInnerHTML:{__html:`!function(){try {${h}var e=localStorage.getItem('${t}');${c?"":d(n)+";"}if("system"===e||(!e&&${c})){var t="${u}",m=window.matchMedia(t);m.media!==t||m.matches?${d("dark")}:${d("light")}}else if(e) ${s?`var x=${JSON.stringify(s)};`:""}${d(s?"x[e]":"e",!0)}}catch(e){}}()`}},"next-themes-script"):(0,f.jsx)("script",{dangerouslySetInnerHTML:{__html:`!function(){try{${h}var e=localStorage.getItem("${t}");if(e){${s?`var x=${JSON.stringify(s)};`:""}${d(s?"x[e]":"e",!0)}}else{${d(n)};}}catch(t){}}();`}},"next-themes-script")});return l?p:(0,f.jsx)(a(),{children:p})},(e,t)=>e.forcedTheme===t.forcedTheme)},19260:function(e,t,r){"use strict";r.d(t,{m:function(){return i}});let i=r(7653).createContext({toggle:()=>{},set:e=>{},themes:[]})},96254:function(e,t,r){"use strict";r.d(t,{U:function(){return s}});var i=r(7653),n=r(93500);let s=({fallback:e="light"}={})=>{let t=e;if(n.C5){let r=[...document.documentElement.classList];t=r.includes("t_dark")?"dark":r.includes("t_light")?"light":e}return i.useState(t)}},35333:function(e,t,r){"use strict";r.d(t,{ZP:function(){return y}});
1class i extends Error{constructor(e,t){super(t),this.code=e}}var n,s={UIManager:r(17072).Z},a=r(35524),o=r(88280),l=r(32689);let u=(Date.now()+"-"+Math.floor(1e9*Math.random())).toString();var h={get appOwnership(){return null},get executionEnvironment(){return o.Dd.Bare},get sessionId(){return u},get isHeadless(){if("undefined"==typeof navigator)return!0;return/\bHeadlessChrome\//.test(navigator.userAgent)},get expoVersion(){return this.manifest.sdkVersion||null},get linkingUri(){if("undefined"!=typeof location)return location.origin;return""},get expoRuntimeVersion(){return this.expoVersion},get deviceName(){return function(){if("undefined"!=typeof navigator&&"string"==typeof navigator.userAgent){let e=navigator.userAgent.toLowerCase();if(e.includes("edge"))return"Edge";if(e.includes("edg"))return"Chromium Edge";if(e.includes("opr")&&window.opr)return"Opera";if(e.includes("chrome")&&window.chrome)return"Chrome";else if(e.includes("trident"))return"IE";else if(e.includes("firefox"))return"Firefox";else if(e.includes("safari"))return"Safari"}}()},get systemFonts(){return[]},get statusBarHeight(){return 0},get deviceYearClass(){return null},get manifest(){return l.env.APP_MANIFEST||{}},get manifest2(){return null},get experienceUrl(){if("undefined"!=typeof location)return location.origin;return""},get debugMode(){return!1},getWebViewUserAgentAsync:async()=>"undefined"!=typeof navigator?navigator.userAgent:null};h||console.warn("No native ExponentConstants module found, are you sure the expo-constants's module is linked properly?");let d=null;if(s.EXDevLauncher){let e;s.EXDevLauncher.manifestString&&(e=JSON.parse(s.EXDevLauncher.manifestString)),e&&Object.keys(e).length>0&&(d=e)}let c=null;if(h&&h.manifest){let e=h.manifest;c="string"==typeof e?JSON.parse(e):e}let f=null!==(n=d)&&void 0!==n?n:c,{name:p,appOwnership:_,...m}=h||{},v={...m,appOwnership:null!=_?_:null};function g(e){return"metadata"in e}function b(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!f){let t=null===f?"null":"undefined";if(m.executionEnvironment===o.Dd.Bare&&"web"!==a.Z.OS)e||console.warn("Constants.manifest is ".concat(t," because the embedded app.config could not be read. Ensure that you have installed the expo-constants build scripts if you need to read from Constants.manifest."));else if(m.executionEnvironment===o.Dd.StoreClient||m.executionEnvironment===o.Dd.Standalone)throw new i("ERR_CONSTANTS_MANIFEST_UNAVAILABLE","Constants.manifest is ".concat(t,", must be an object."))}return f}Object.defineProperties(v,{__unsafeNoWarnManifest:{get(){let e=b(!0);return e&&!g(e)?e:null},enumerable:!1},__unsafeNoWarnManifest2:{get(){let e=b(!0);return e&&g(e)?e:null},enumerable:!1},manifest:{get(){let e=b();return e&&!g(e)?e:null},enumerable:!0},manifest2:{get(){let e=b();return e&&g(e)?e:null},enumerable:!0},expoConfig:{get(){let e=b(!0);if(!e)return null;if(g(e)){var t,r;return null!==(r=null===(t=e.extra)||void 0===t?void 0:t.expoClient)&&void 0!==r?r:null}return g(e)?null:e},enumerable:!0},expoGoConfig:{get(){let e=b(!0);if(!e)return null;if(g(e)){var t,r;return null!==(r=null===(t=e.extra)||void 0===t?void 0:t.expoGo)&&void 0!==r?r:null}return g(e)?null:e},enumerable:!0},easConfig:{get(){let e=b(!0);if(!e)return null;if(g(e)){var t,r;return null!==(r=null===(t=e.extra)||void 0===t?void 0:t.eas)&&void 0!==r?r:null}return g(e)?null:e},enumerable:!0},__rawManifest_TEST:{get:()=>f,set(e){f=e},enumerable:!1}});var y=v},88280:function(e,t,r){"use strict";var i,n,s,a,o;r.d(t,{Dd:function(){return n}}),(i||(i={})).Expo="expo",(a=n||(n={})).Bare="bare",a.Standalone="standalone",a.StoreClient="storeClient",(o=s||(s={})).Handset="handset",o.Tablet="tablet",o.Desktop="desktop",o.TV="tv",o.Unsupported="unsupported"},27842:function(e,t,r){"use strict";r.d(t,{default:function(){return n.a}});var i=r(97100),n=r.n(i)},36247:function(e,t,r){"use strict";var i=r(98481);r.o(i,"redirect")&&r.d(t,{redirect:function(){return i.redirect}}),r.o(i,"useParams")&&r.d(t,{useParams:function(){return i.useParams}}),r.o(i,"usePathname")&&r.d(t,{usePathname:function(){return i.usePathname}}),r.o(i,"useRouter")&&r.d(t,{useRouter:function(){return i.useRouter}}),r.o(i,"useSearchParams")&&r.d(t,{useSearchParams:function(){return i.useSearchParams}}),r.o(i,"useServerInsertedHTML")&&r.d(t,{useServerInsertedHTML:function(){return i.useServerInsertedHTML}})},46159:function(e,t){"use strict";function r(){return null}
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},97100:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let i=r(29292);r(44429),r(7653);let n=i._(r(30510));function s(e,t){var r;let i={loading:e=>{let{error:t,isLoading:r,pastDelay:i}=e;return null}};"function"==typeof e&&(i.loader=e);let s={...i,...t};return(0,n.default)({...s,modules:null==(r=s.loadableGenerated)?void 0:r.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},43252:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return n}});let i=r(33473);function n(e){let{reason:t,children:r}=e;if("undefined"==typeof window)throw new i.BailoutToCSRError(t);return r}},30510:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let i=r(44429),n=r(7653),s=r(43252),a=r(84896);function o(e){return{default:e&&"default"in e?e.default:e}}let l={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},u=function(e){let t={...l,...e},r=(0,n.lazy)(()=>t.loader().then(o)),u=t.loading;function h(e){let o=u?(0,i.jsx)(u,{isLoading:!0,pastDelay:!0,error:null}):null,l=t.ssr?(0,i.jsxs)(i.Fragment,{children:["undefined"==typeof window?(0,i.jsx)(a.PreloadCss,{moduleIds:t.modules}):null,(0,i.jsx)(r,{...e})]}):(0,i.jsx)(s.BailoutToCSR,{reason:"next/dynamic",children:(0,i.jsx)(r,{...e})});return(0,i.jsx)(n.Suspense,{fallback:o,children:l})}return h.displayName="LoadableComponent",h}},84896:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadCss",{enumerable:!0,get:function(){return s}});let i=r(44429),n=r(78249);function s(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let r=(0,n.getExpectedRequestStore)("next/dynamic css"),s=[];if(r.reactLoadableManifest&&t){let e=r.reactLoadableManifest;for(let r of t){if(!e[r])continue;let t=e[r].files.filter(e=>e.endsWith(".css"));s.push(...t)}}return 0===s.length?null:(0,i.jsx)(i.Fragment,{children:s.map(e=>(0,i.jsx)("link",{precedence:"dynamic",rel:"stylesheet",href:r.assetPrefix+"/_next/"+encodeURI(e),as:"style"},e))})}},32190:function(e){"use strict";function t(e,t){if(null!=e)return e;var r=Error(void 0!==t?t:"Got unexpected "+e);throw r.framesToPop=1,r}e.exports=t,e.exports.default=t,Object.defineProperty(e.exports,"__esModule",{value:!0})},52182:function(e,t,r){"use strict";r.d(t,{Z:function(){return I}});var i=r(92070),n=r(30874),s=r(50141),a=r(7653),o=r(94930),l=[],u=r(94787),h=/^data:/;class d{static has(e){var t=d._entries;return h.test(e)||!!t[e]}static add(e){var t=d._entries,r=Date.now();t[e]?(t[e].lastUsedTimestamp=r,t[e].refCount+=1):t[e]={lastUsedTimestamp:r,refCount:1}}static remove(e){var t=d._entries;t[e]&&(t[e].refCount-=1),d._cleanUpIfNeeded()}static _cleanUpIfNeeded(){var e,t,r=d._entries,i=Object.keys(r);i.length+1>d._maximumEntries&&(i.forEach(i=>{var n=r[i];(!t||n.lastUsedTimestamp<t.lastUsedTimestamp)&&0===n.refCount&&(e=i,t=n)}),e&&delete r[e])}}d._maximumEntries=256,d._entries={};var c=0,f={},p={abort(e){var t=f[""+e];t&&(t.onerror=null,t.onload=null,t=null,delete f[""+e])},getSize(e,t,r){var i=!1,n=setInterval(a,16),s=p.load(e,a,function(){"function"==typeof r&&r(),p.abort(s),clearInterval(n)});function a(){var e=f[""+s];if(e){var r=e.naturalHeight,a=e.naturalWidth;r&&a&&(t(a,r),i=!0)}i&&(p.abort(s),clearInterval(n))}},has:e=>d.has(e),load(e,t,r){c+=1;var i=new window.Image;return i.onerror=r,i.onload=e=>{var r=()=>t({nativeEvent:e});"function"==typeof i.decode?i.decode().then(r,r):setTimeout(r,0)}
1,i.src=e,f[""+c]=i,c},prefetch:e=>new Promise((t,r)=>{p.load(e,()=>{d.add(e),d.remove(e),t()},r)}),queryCache(e){var t={};return e.forEach(e=>{d.has(e)&&(t[e]="disk/memory")}),Promise.resolve(t)}},_=r(36468);class m{static get(){return _.Z.get("window").scale}static getFontScale(){return _.Z.get("window").fontScale||m.get()}static getPixelSizeForLayoutSize(e){return Math.round(e*m.get())}static roundToNearestPixel(e){var t=m.get();return Math.round(e*t)/t}}var v=r(6994),g=r(13432),b=r(55243),y=r(85855),C=["aria-label","accessibilityLabel","blurRadius","defaultSource","draggable","onError","onLayout","onLoad","onLoadEnd","onLoadStart","pointerEvents","source","style"],w="LOADED",S="LOADING",k=0,x=/^(data:image\/svg\+xml;utf8,)(.*)/;function N(e){var t=null;if("number"==typeof e){var r=l[e-1];if(null==r)throw Error('Image: asset with ID "'+e+'" could not be found. Please check the image source or packager.');var i=r.scales[0];if(r.scales.length>1){var n=m.get();i=r.scales.reduce((e,t)=>Math.abs(t-n)<Math.abs(e-n)?t:e)}var s=1!==i?"@"+i+"x":"";t=r?r.httpServerLocation+"/"+r.name+s+"."+r.type:""}else"string"==typeof e?t=e:e&&"string"==typeof e.uri&&(t=e.uri);if(t){var a=t.match(x);if(a)return""+a[1]+encodeURIComponent(a[2])}return t}var T=a.forwardRef((e,t)=>{var r,i=e["aria-label"],h=e.accessibilityLabel,d=e.blurRadius,c=e.defaultSource,f=e.draggable,_=e.onError,m=e.onLayout,x=e.onLoad,T=e.onLoadEnd,I=e.onLoadStart,R=e.pointerEvents,A=e.source,V=e.style,M=(0,s.Z)(e,C),P=i||h,O=a.useState(()=>{var e=N(A);return null!=e&&p.has(e)?w:"IDLE"}),F=O[0],D=O[1],j=a.useState({}),Z=j[0],H=j[1],$=a.useContext(g.Z),z=a.useRef(null),W=a.useRef(k++),U=a.useRef(null),B=F===w||F===S&&null==c,K=function(e,t,r,i){var n=v.Z.flatten(e),s=n.filter,a=n.resizeMode,o=n.shadowOffset,l=n.tintColor;n.resizeMode&&(0,y.O)("Image.style.resizeMode","Image: style.resizeMode is deprecated. Please use props.resizeMode."),n.tintColor&&(0,y.O)("Image.style.tintColor","Image: style.tintColor is deprecated. Please use props.tintColor.");var h=[],d=null;if(s&&h.push(s),t&&h.push("blur("+t+"px)"),o){var c=(0,u.Lm)(n);c&&h.push("drop-shadow("+c+")")}return(i||l)&&null!=r&&h.push("url(#tint-"+r+")"),h.length>0&&(d=h.join(" ")),[a,d,l]}(V,d,W.current,e.tintColor),q=K[0],G=K[1],J=K[2],X=e.resizeMode||q||"cover",Y=e.tintColor||J,Q=B?A:c,ee=N(Q),et=function(e){if("number"==typeof e){var t=l[e-1];return{height:t.height,width:t.width}}if(null!=e&&!Array.isArray(e)&&"object"==typeof e)return{height:e.height,width:e.width}}(Q),er=ee?'url("'+ee+'")':null,ei=function(){if(null!=z.current&&("center"===X||"repeat"===X)){var e=z.current,t=e.naturalHeight,r=e.naturalWidth,i=Z.height,n=Z.width;if(t&&r&&i&&n){var s=Math.min(1,n/r,i/t);return Math.ceil(s*r)+"px "+Math.ceil(s*t)+"px"}}}(),en=ee?(0,o.Z)("img",{alt:P||"",style:L.accessibilityImage$raw,draggable:f||!1,ref:z,src:ee}):null,es=N(A);return a.useEffect(()=>{function e(){null!=U.current&&(p.abort(U.current),U.current=null)}return e(),null!=es&&(D(S),I&&I(),U.current=p.load(es,function(e){D(w),x&&x(e),T&&T()},function(){D("ERRORED"),_&&_({nativeEvent:{error:"Failed to load resource "+es+" (404)"}}),T&&T()})),e},[es,U,D,_,x,T,I]),a.createElement(b.Z,(0,n.Z)({},M,{"aria-label":P,onLayout:function(e){if("center"===X||"repeat"===X||m){var t=e.nativeEvent.layout;m&&m(e),H(t)}},pointerEvents:R,ref:t,style:[L.root,$&&L.inline,et,V,L.undo,{boxShadow:null}]}),a.createElement(b.Z,{style:[L.image,E[X],{backgroundImage:er,filter:G},null!=ei&&{backgroundSize:ei}],suppressHydrationWarning:!0}),en,(r=W.current,Y&&null!=r?a.createElement("svg",{style:{position:"absolute",height:0,visibility:"hidden",width:0}},a.createElement("defs",null,a.createElement("filter",{id:"tint-"+r,suppressHydrationWarning:!0},a.createElement("feFlood",{floodColor:""+Y,key:Y}),a.createElement("feComposite",{in2:"SourceAlpha",operator:"atop"})))):null))});T.displayName="Image",T.getSize=function(e,t,r){p.getSize(e,t,r)},T.prefetch=function(e){return p.prefetch(e)},T.queryCache=function(e){return p.queryCache(e)};var L=v.Z.create({root:{flexBasis:"auto",overflow:"hidden",zIndex:0},inline:{display:"inline-flex"}
1,undo:{blurRadius:null,shadowColor:null,shadowOpacity:null,shadowOffset:null,shadowRadius:null,tintColor:null,overlayColor:null,resizeMode:null},image:(0,i.Z)((0,i.Z)({},v.Z.absoluteFillObject),{},{backgroundColor:"transparent",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"cover",height:"100%",width:"100%",zIndex:-1}),accessibilityImage$raw:(0,i.Z)((0,i.Z)({},v.Z.absoluteFillObject),{},{height:"100%",opacity:0,width:"100%",zIndex:-1})}),E=v.Z.create({center:{backgroundSize:"auto"},contain:{backgroundSize:"contain"},cover:{backgroundSize:"cover"},none:{backgroundPosition:"0",backgroundSize:"auto"},repeat:{backgroundPosition:"0",backgroundRepeat:"repeat",backgroundSize:"auto"},stretch:{backgroundSize:"100% 100%"}}),I=T},35198:function(e,t,r){"use strict";var i=r(92070),n=r(50141),s=r(7653),a=r(94930),o=r(29571),l=r(25469),u=r(24890),h=r(72707),d=r(64158),c=r(44672),f=r(6994),p=r(13432),_=r(51615),m=r(85855),v=["hrefAttrs","numberOfLines","onClick","onLayout","onPress","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStart
1ShouldSetResponder","onStartShouldSetResponderCapture","selectable"],g=Object.assign({},o.lG,o.LO,o._T,o.YB,o.Uy,o.hJ,o.E5,o.vr,{href:!0,lang:!0,pointerEvents:!0}),b=e=>(0,l.Z)(e,g),y=s.forwardRef((e,t)=>{var r=e.hrefAttrs,i=e.numberOfLines,o=e.onClick,l=e.onLayout,f=e.onPress,g=e.onMoveShouldSetResponder,y=e.onMoveShouldSetResponderCapture,C=e.onResponderEnd,S=e.onResponderGrant,k=e.onResponderMove,x=e.onResponderReject,N=e.onResponderRelease,T=e.onResponderStart,L=e.onResponderTerminate,E=e.onResponderTerminationRequest,I=e.onScrollShouldSetResponder,R=e.onScrollShouldSetResponderCapture,A=e.onSelectionChangeShouldSetResponder,V=e.onSelectionChangeShouldSetResponderCapture,M=e.onStartShouldSetResponder,P=e.onStartShouldSetResponderCapture,O=e.selectable,F=(0,n.Z)(e,v);null!=O&&(0,m.O)("selectable","selectable prop is deprecated. Use styles.userSelect.");var D=s.useContext(p.Z),j=s.useRef(null),Z=(0,_.PE)().direction;(0,u.Z)(j,l),(0,c.Z)(j,{onMoveShouldSetResponder:g,onMoveShouldSetResponderCapture:y,onResponderEnd:C,onResponderGrant:S,onResponderMove:k,onResponderReject:x,onResponderRelease:N,onResponderStart:T,onResponderTerminate:L,onResponderTerminationRequest:E,onScrollShouldSetResponder:I,onScrollShouldSetResponderCapture:R,onSelectionChangeShouldSetResponder:A,onSelectionChangeShouldSetResponderCapture:V,onStartShouldSetResponder:M,onStartShouldSetResponderCapture:P});var H=s.useCallback(e=>{null!=o?o(e):null!=f&&(e.stopPropagation(),f(e))},[o,f]),$=D?"span":"div",z=null!=e.lang?(0,_.w1)(e.lang):null,W=e.dir||z,U=W||Z,B=b(F);if(B.dir=W,D||(B.dir=null!=W?W:"auto"),(o||f)&&(B.onClick=H),B.style=[null!=i&&i>1&&{WebkitLineClamp:i},!0===D?w.textHasAncestor$raw:w.text$raw,1===i&&w.textOneLine,null!=i&&i>1&&w.textMultiLine,e.style,!0===O&&w.selectable,!1===O&&w.notSelectable,f&&w.pressable],null!=e.href&&($="a",null!=r)){var K=r.download,q=r.rel,G=r.target;null!=K&&(B.download=K),null!=q&&(B.rel=q),"string"==typeof G&&(B.target="_"!==G.charAt(0)?"_"+G:G)}var J=(0,d.Z)(B),X=(0,h.Z)(j,J,t);B.ref=X;var Y=(0,a.Z)($,B,{writingDirection:U});return D?Y:s.createElement(p.Z.Provider,{value:!0},Y)});y.displayName="Text";var C={backgroundColor:"transparent",border:"0 solid black",boxSizing:"border-box",color:"black",display:"inline",font:"14px System",listStyle:"none",margin:0,padding:0,position:"relative",textAlign:"start",textDecoration:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},w=f.Z.create({text$raw:C,textHasAncestor$raw:(0,i.Z)((0,i.Z)({},C),{},{color:"inherit",font:"inherit",textAlign:"inherit",whiteSpace:"inherit"}),textOneLine:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordWrap:"normal"},textMultiLine:{display:"-webkit-box",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",WebkitBoxOrient:"vertical"},notSelectable:{userSelect:"none"},selectable:{userSelect:"text"},pressable:{cursor:"pointer"}});t.Z=y},61646:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var i=r(7653),n=r(13401).Z&&null!=window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)"):null,s=new WeakMap,a={getColorScheme:()=>n&&n.matches?"dark":"light",addChangeListener(e){var t=s.get(e);return t||(t=t=>{e({colorScheme:t.matches?"dark":"light"})},s.set(e,t)),n&&n.addListener(t),{remove:function(){var t=s.get(e);n&&t&&n.removeListener(t),s.delete(e)}}}};function o(){var e=i.useState(a.getColorScheme()),t=e[0],r=e[1];return i.useEffect(()=>a.addChangeListener(function(e){r(e.colorScheme)}).remove),t}},52402:function(){},19856:function(e,t,r){"use strict";r.d(t,{aR:function(){return R}});var i=r(81051),n=r(93500),s=r(5952),a=r(92950),o=r(96383),l=r(14237),u=r(7653),h=r(44429);let d="AlertDialog",[c,f]=(0,a.b)(d,[o.p8]),p=(0,o.p8)(),_="AlertDialogTrigger",m=(0,s.styled)(s.View,{name:_}),v=u.forwardRef((e,t)=>{if(e.__native){let{__native:t,onPress:r,__onPress:i,...n}=e;return(0,h.jsx)(m,{...n,onPress:(0,l.Mj)(r,i)})}let{__scopeAlertDialog:r,...i}=e,n=p(r);return(0,h.jsx)(o.hg,{...n,...i,ref:t})});v.displayName=_;let g=e=>{let{__scopeAlertDialog:t,...r}=e,i=p(t);return(0,h.jsx)(o.PK,{...i,...r})};g.displayName="AlertDialogPortal";let b="AlertDialogOverlay",y=(0,s.styled)(o.qF,{name:b}).extractable(u.forwardRef((e,t)=>
1{let{__scopeAlertDialog:r,...i}=e,n=p(r);return(0,h.jsx)(o.t9,{...n,...i,ref:t})}));y.displayName=b;let C="AlertDialogContent",[w,S]=c(C),k=u.forwardRef((e,t)=>{let{__scopeAlertDialog:r,children:a,...d}=e,c=p(r),f=u.useRef(null),_=(0,i.ex)(t,f),m=u.useRef(null);return(0,h.jsx)(o.Rr,{contentName:C,titleName:x,docsSlug:"alert-dialog",children:(0,h.jsx)(w,{scope:r,cancelRef:m,children:(0,h.jsxs)(o.cZ,{role:"alertdialog",...c,...d,ref:_,onOpenAutoFocus:(0,l.Mj)(d.onOpenAutoFocus,e=>{e.preventDefault(),n.$L&&m.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,h.jsx)(s.Slottable,{children:a}),!1]})})})});k.displayName=C;let x="AlertDialogTitle",N=u.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...i}=e,n=p(r);return(0,h.jsx)(o.$N,{...n,...i,ref:t})});N.displayName=x;let T=u.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...i}=e,n=p(r);return(0,h.jsx)(o.Be,{...n,...i,ref:t})});T.displayName="AlertDialogDescription";let L=u.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...i}=e,n=p(r);return(0,h.jsx)(o.GG,{...n,...i,ref:t})});L.displayName="AlertDialogAction";let E="AlertDialogCancel",I=u.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,{cancelRef:s}=S(E,r),a=p(r),l=(0,i.ex)(t,s);return(0,h.jsx)(o.GG,{...a,...n,ref:l})});I.displayName=E;let R=(0,l.$e)(e=>{let{__scopeAlertDialog:t,native:r,...i}=e,n=p(t);return(0,h.jsx)(o.Vq,{...n,...i,modal:!0})},{Trigger:v,Portal:g,Overlay:y,Content:k,Action:L,Cancel:I,Title:N,Description:T});R.displayName=d},95640:function(e,t,r){"use strict";r.d(t,{eG:function(){return tq}});var i,n,s,a=r(7653),o=r(29710),l=r(93500),u=r(79953),h=r(92070),d=r(35524),c=r(30874),f=r(50141),p=r(55243),_=r(6994),m=function e(t,r,i){if(void 0===i&&(i=-1),0===i)return!0;if(t===r||"function"==typeof t&&"function"==typeof r)return!1;if("object"!=typeof t||null===t)return t!==r;if("object"!=typeof r||null===r||t.constructor!==r.constructor)return!0;if(Array.isArray(t)){var n=t.length;if(r.length!==n)return!0;for(var s=0;s<n;s++)if(e(t[s],r[s],i-1))return!0}else{for(var a in t)if(e(t[a],r[a],i-1))return!0;for(var o in r)if(void 0===t[o]&&void 0!==r[o])return!0}return!1},v=r(36362),g=r.n(v);function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}function y(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return b(e,void 0);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?b(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var C=["colors","enabled","onRefresh","progressBackgroundColor","progressViewOffset","refreshing","size","tintColor","title","titleColor"],w=function(e){e.colors,e.enabled,e.onRefresh,e.progressBackgroundColor,e.progressViewOffset,e.refreshing,e.size,e.tintColor,e.title,e.titleColor;var t=(0,f.Z)(e,C);return a.createElement(p.Z,t)},S=r(31384),k=r(91405);class x{dispose(e){void 0===e&&(e={abort:!1}),this._taskHandle&&(this._taskHandle.cancel(),e.abort||this._callback(),this._taskHandle=null)}schedule(){if(!this._taskHandle){var e=setTimeout(()=>{this._taskHandle=k.Z.runAfterInteractions(()=>{this._taskHandle=null,this._callback()})},this._delay);this._taskHandle={cancel:()=>clearTimeout(e)}}}constructor(e,t){this._delay=t,this._callback=e}}var N=function(e,t,r){return t<e?e:t>r?r:t};class T{enumerateRegions(){return this._regions}addCells(e){if(g()(e.first>=0&&e.first<this._numCells&&e.last>=-1&&e.last<this._numCells&&e.last>=e.first-1,"CellRenderMask.addCells called with invalid cell range"),!(e.last<e.first)){var t=this._findRegion(e.first),r=t[0],i=t[1],n=this._findRegion(e.last),s=n[0],a=n[1];if(i!==a||r.isSpacer){var o=[],l=[],u=(0,h.Z)((0,h.Z)({},e),{},{isSpacer:!1});
1r.first<u.first&&(r.isSpacer?o.push({first:r.first,last:u.first-1,isSpacer:!0}):u.first=r.first),s.last>u.last&&(s.isSpacer?l.push({first:u.last+1,last:s.last,isSpacer:!0}):u.last=s.last);var d=[...o,u,...l];this._regions.splice(i,a-i+1,...d)}}}numCells(){return this._numCells}equals(e){return this._numCells===e._numCells&&this._regions.length===e._regions.length&&this._regions.every((t,r)=>t.first===e._regions[r].first&&t.last===e._regions[r].last&&t.isSpacer===e._regions[r].isSpacer)}_findRegion(e){for(var t=0,r=this._regions.length-1;t<=r;){var i=Math.floor((t+r)/2),n=this._regions[i];if(e>=n.first&&e<=n.last)return[n,i];e<n.first?r=i-1:e>n.last&&(t=i+1)}g()(!1,"A region was not found containing cellIdx "+e)}constructor(e){g()(e>=0,"CellRenderMask must contain a non-negative number os cells"),this._numCells=e,0===e?this._regions=[]:this._regions=[{first:0,last:e-1,isSpacer:!0}]}}class L{add(e,t){g()(!this._childrenToCellKey.has(e),"Trying to add already present child list");var r,i=null!==(r=this._cellKeyToChildren.get(t))&&void 0!==r?r:new Set;i.add(e),this._cellKeyToChildren.set(t,i),this._childrenToCellKey.set(e,t)}remove(e){var t=this._childrenToCellKey.get(e);g()(null!=t,"Trying to remove non-present child list"),this._childrenToCellKey.delete(e);var r=this._cellKeyToChildren.get(t);g()(r,"_cellKeyToChildren should contain cellKey"),r.delete(e),0===r.size&&this._cellKeyToChildren.delete(t)}forEach(e){for(var t,r=y(this._cellKeyToChildren.values());!(t=r()).done;)for(var i,n=t.value,s=y(n);!(i=s()).done;)e(i.value)}forEachInCell(e,t){for(var r,i,n=null!==(r=this._cellKeyToChildren.get(e))&&void 0!==r?r:[],s=y(n);!(i=s()).done;)t(i.value)}anyInCell(e,t){for(var r,i,n=null!==(r=this._cellKeyToChildren.get(e))&&void 0!==r?r:[],s=y(n);!(i=s()).done;)if(t(i.value))return!0;return!1}size(){return this._childrenToCellKey.size}constructor(){this._cellKeyToChildren=new Map,this._childrenToCellKey=new Map}}class E{constructor(){this.any_blank_count=0,this.any_blank_ms=0,this.any_blank_speed_sum=0,this.mostly_blank_count=0,this.mostly_blank_ms=0,this.pixels_blank=0,this.pixels_sampled=0,this.pixels_scrolled=0,this.total_time_spent=0,this.sample_count=0}}var I=[],R=10,A=null;class V{static addListener(e){return null===A&&console.warn("Call `FillRateHelper.setSampleRate` before `addListener`."),I.push(e),{remove:()=>{I=I.filter(t=>e!==t)}}}static setSampleRate(e){A=e}static setMinSampleCount(e){R=e}activate(){this._enabled&&null==this._samplesStartTime&&(this._samplesStartTime=r.g.performance.now())}deactivateAndFlush(){if(this._enabled){var e=this._samplesStartTime;if(null!=e){if(this._info.sample_count<R){this._resetData();return}var t=r.g.performance.now()-e,i=(0,h.Z)((0,h.Z)({},this._info),{},{total_time_spent:t});I.forEach(e=>e(i)),this._resetData()}}}computeBlankness(e,t,i){if(!this._enabled||0===e.getItemCount(e.data)||t.last<t.first||null==this._samplesStartTime)return 0;var n=i.dOffset,s=i.offset,a=i.velocity,o=i.visibleLength;this._info.sample_count++,this._info.pixels_sampled+=Math.round(o),this._info.pixels_scrolled+=Math.round(Math.abs(n));var l=Math.round(1e3*Math.abs(a)),u=r.g.performance.now();null!=this._anyBlankStartTime&&(this._info.any_blank_ms+=u-this._anyBlankStartTime),this._anyBlankStartTime=null,null!=this._mostlyBlankStartTime&&(this._info.mostly_blank_ms+=u-this._mostlyBlankStartTime),this._mostlyBlankStartTime=null;for(var h=0,d=t.first,c=this._getFrameMetrics(d,e);d<=t.last&&(!c||!c.inLayout);)c=this._getFrameMetrics(d,e),d++;c&&d>0&&(h=Math.min(o,Math.max(0,c.offset-s)));for(var f=0,p=t.last,_=this._getFrameMetrics(p,e);p>=t.first&&(!_||!_.inLayout);)_=this._getFrameMetrics(p,e),p--;_&&p<e.getItemCount(e.data)-1&&(f=Math.min(o,Math.max(0,s+o-(_.offset+_.length))));var m=Math.round(h+f),v=m/o;return v>0?(this._anyBlankStartTime=u,this._info.any_blank_speed_sum+=l,this._info.any_blank_count++,this._info.pixels_blank+=m,v>.5&&(this._mostlyBlankStartTime=u,this._info.mostly_blank_count++)):(l<.01||1>Math.abs(n))&&this.deactivateAndFlush(),v}enabled(){return this._enabled}_resetData(){this._anyBlankStartTime=null,this._info=new E,this._mostlyBlankStartTime=null,this._samplesStartTime=null}constructor(e){this._anyBlankStartTime=null,this._enabled=!1,this._info=new E,this._mostlyBlankStartTime=null,this._samplesStartTime=null,this._getFrameMetrics=e,this._enabled=(A||0)>Math.random(),this._resetData()}}class M extends a.PureComponent{setState(e,t){"function"==typeof e?super.setState((t,r)=>{var i;this._inAsyncStateUpdate=!0;try{i=e(t,r)}catch(e){throw e}finally{this._inAsyncStateUpdate=!1}return i},t):super.setState(e,t)}_installSetStateHooks(){var e=this,t=this.props,r=this.state;Object.defineProperty(this,"props",{get:()=>(g()(!e._inAsyncStateUpdate,'"this.props" should not be accessed during state updates'),t),set(e){t=e}}),Object.defineProperty(this,"state",{get:()=>(g()(!e._inAsyncStateUpdate,'"this.state" should not be acceessed during state updates'),r),set(e){r=e}})}constructor(e){super(e),this._inAsyncStateUpdate=!1,this._installSetStateHooks()}}
1class P{dispose(){this._timers.forEach(clearTimeout)}computeViewableItems(e,t,r,i,n){var s=e.getItemCount(e.data),a=this._config,o=a.itemVisiblePercentThreshold,l=a.viewAreaCoveragePercentThreshold,u=null!=l,h=u?l:o;g()(null!=h&&null!=o!=(null!=l),"Must set exactly one of itemVisiblePercentThreshold or viewAreaCoveragePercentThreshold");var d=[];if(0===s)return d;var c=-1,f=n||{first:0,last:s-1},p=f.first,_=f.last;if(_>=s)return console.warn("Invalid render range computing viewability "+JSON.stringify({renderRange:n,itemCount:s})),[];for(var m=p;m<=_;m++){var v=i(m,e);if(v){var b=v.offset-t,y=b+v.length;if(b<r&&y>0)c=m,function(e,t,r,i,n,s){if(r>=0&&i<=n&&i>r)return!0;var a=Math.max(0,Math.min(i,n)-Math.max(r,0));return 100*(e?a/n:a/s)>=t}(u,h,b,y,r,v.length)&&d.push(m);else if(c>=0)break}}return d}onUpdate(e,t,r,i,n,s,a){var o=e.getItemCount(e.data);if((!this._config.waitForInteraction||this._hasInteracted)&&0!==o&&i(0,e)){var l=[];if(o&&(l=this.computeViewableItems(e,t,r,i,a)),!(this._viewableIndices.length===l.length&&this._viewableIndices.every((e,t)=>e===l[t]))){if(this._viewableIndices=l,this._config.minimumViewTime){var u=setTimeout(()=>{this._timers.delete(u),this._onUpdateSync(e,l,s,n)},this._config.minimumViewTime);this._timers.add(u)}else this._onUpdateSync(e,l,s,n)}}}resetViewableIndices(){this._viewableIndices=[]}recordInteraction(){this._hasInteracted=!0}_onUpdateSync(e,t,r,i){t=t.filter(e=>this._viewableIndices.includes(e));for(var n,s=this._viewableItems,a=new Map(t.map(t=>{var r=i(t,!0,e);return[r.key,r]})),o=[],l=y(a);!(n=l()).done;){var u=n.value,d=u[0],c=u[1];s.has(d)||o.push(c)}for(var f,p=y(s);!(f=p()).done;){var _=f.value,m=_[0],v=_[1];a.has(m)||o.push((0,h.Z)((0,h.Z)({},v),{},{isViewable:!1}))}o.length>0&&(this._viewableItems=a,r({viewableItems:Array.from(a.values()),changed:o,viewabilityConfig:this._config}))}constructor(e){void 0===e&&(e={viewAreaCoveragePercentThreshold:0}),this._hasInteracted=!1,this._timers=new Set,this._viewableIndices=[],this._viewableItems=new Map,this._config=e}}var O=a.createContext(null);function F(e){var t=e.children,r=e.value,i=(0,a.useMemo)(()=>({cellKey:null,getScrollMetrics:r.getScrollMetrics,horizontal:r.horizontal,getOutermostParentListRef:r.getOutermostParentListRef,registerAsNestedChild:r.registerAsNestedChild,unregisterAsNestedChild:r.unregisterAsNestedChild}),[r.getScrollMetrics,r.horizontal,r.getOutermostParentListRef,r.registerAsNestedChild,r.unregisterAsNestedChild]);return a.createElement(O.Provider,{value:i},t)}function D(e){var t=e.cellKey,r=e.children,i=(0,a.useContext)(O),n=(0,a.useMemo)(()=>null==i?null:(0,h.Z)((0,h.Z)({},i),{},{cellKey:t}),[i,t]);return a.createElement(O.Provider,{value:n},r)}class j extends a.Component{static getDerivedStateFromProps(e,t){return{separatorProps:(0,h.Z)((0,h.Z)({},t.separatorProps),{},{leadingItem:e.item})}}updateSeparatorProps(e){this.setState(t=>({separatorProps:(0,h.Z)((0,h.Z)({},t.separatorProps),e)}))}componentWillUnmount(){this.props.onUnmount(this.props.cellKey)}_renderElement(e,t,r,i){return(e&&t&&console.warn("VirtualizedList: Both ListItemComponent and renderItem props are present. ListItemComponent will take precedence over renderItem."),t)?a.createElement(t,{item:r,index:i,separators:this._separators}):e?e({item:r,index:i,separators:this._separators}):void g()(!1,"VirtualizedList: Either ListItemComponent or renderItem props are required but none were found.")}render(){var e=this.props,t=e.CellRendererComponent,r=e.ItemSeparatorComponent,i=e.ListItemComponent,n=e.cellKey,s=e.horizontal,o=e.item,l=e.index,u=e.inversionStyle,h=e.onCellFocusCapture,d=e.onCellLayout,f=e.renderItem,_=this._renderElement(f,i,o,l),m=a.isValidElement(r)?r:r&&a.createElement(r,this.state.separatorProps),v=u?s?[Z.rowReverse,u]:[Z.columnReverse,u]:s?[Z.row,u]:u,g=t?a.createElement(t,(0,c.Z)({cellKey:n,index:l,item:o,style:v,onFocusCapture:h},d&&{onLayout:this._onLayout}),_,m):a.createElement(p.Z,(0,c.Z)({style:v,onFocusCapture:h},d&&{onLayout:this._onLayout}),_,m);return a.createElement(D,{cellKey:this.props.cellKey},g)}constructor(){super(...arguments),this.state={separatorProps:{highlighted:!1,leadingItem:this.props.item}},this._separators={highlight:()=>{var e=this.props,t=e.cellKey,r=e.prevCellKey;this.props.onUpdateSeparators([t,r],{highlighted:!0})},unhighlight:()=>{var e=this.props,t=e.cellKey,r=e.prevCellKey;this.props.onUpdateSeparators([t,r],{highlighted:!1})},updateProps:(e,t)=>{var r=this.props,i=r.cellKey,n=r.prevCellKey;this.props.onUpdateSeparators(["leading"===e?n:i],t)}},this._onLayout=e=>{this.props.onCellLayout&&this.props.onCellLayout(e,this.props.cellKey,this.props.index)}}}var Z=_.Z.create({row:{flexDirection:"row"},rowReverse:{flexDirection:"row-reverse"},columnReverse:{flexDirection:"column-reverse"}});function H(e,t){return"object"==typeof e&&(null==e?void 0:e.key)!=null?e.key:"object"==typeof e&&(null==e?void 0:e.id)!=null?e.id:String(t)}var $=r(32190),z=r.n($),W=!1,U="";function B(e){return null!=e&&e}function K(e){return null!=e?e:10}function q(e){return null!=e?e:2}function G(e){return null!=e?e:21}class J extends M{scrollToEnd(e){var t=!e||e.animated,r=this.props.getItemCount(this.props.data)-1;if(!(r<0)){var i=this.__getFrameMetricsApprox(r,this.props),n=Math.max(0,i.offset+i.length+this._footerLength-this._scrollMetrics.visibleLength);if(null!=this._scrollRef){if(null==this._scrollRef.scrollTo){console.warn("No scrollTo method provided. This may be because you have two nested VirtualizedLists with the same orientation, or because you are using a custom component that does not implement scrollTo.");return}this._scrollRef.scrollTo(B(this.props.horizontal)?{x:n,animated:t}:{y:n,animated:t})}}}scrollToIndex(e){var t=this.props,r=t.data,i=t.horizontal,n=t.getItemCount,s=t.getItemLayout,a=t.onScrollToIndexFailed,o=e.animated,l=e.index,u=e.viewOffset,h=e.viewPosition;if(g()(l>=0,"scrollToIndex out of range: requested index "+l+" but minimum is 0"),g()(n(r)>=1,"scrollToIndex out of range: item length "+n(r)+" but minimum is 1"),g()(l<n(r),"scrollToIndex out of range: requested index "+l+" is out of 0 to "+(n(r)-1)),!s&&l>this._highestMeasuredFrameIndex){g()(!!a,"scrollToIndex should be used in conjunction with getItemLayout or onScrollToIndexFailed, otherwise there is no way to know the location of offscreen indices or handle failures."),a({averageItemLength:this._averageCellLength,highestMeasuredFrameIndex:this._highestMeasuredFrameIndex,index:l});return}var d=this.__getFrameMetricsApprox(Math.floor(l),this.props),c=Math.max(0,this._getOffsetApprox(l,this.props)-(h||0)*(this._scrollMetrics.visibleLength-d.length))-(u||0);if(null!=this._scrollRef){if(null==this._scrollRef.scrollTo){console.warn("No scrollTo method provided. This may be because you have two nested VirtualizedLists with the same orientation, or because you are using a custom component that does not implement scrollTo.");return}this._scrollRef.scrollTo(i?{x:c,animated:o}:{y:c,animated:o})}}scrollToItem(e){for(var t=e.item,r=this.props,i=r.data,n=r.getItem,s=(0,r.getItemCount)(i),a=0;a<s;a++)if(n(i,a)===t){this.scrollToIndex((0,h.Z)((0,h.Z)({},e),{},{index:a}));break}}scrollToOffset(e){var t=e.animated,r=e.offset;if(null!=this._scrollRef){if(null==this._scrollRef.scrollTo){console.warn("No scrollTo method provided. This may be because you have two nested VirtualizedLists with the same orientation, or because you are using a custom component that does not implement scrollTo.");return}this._scrollRef.scrollTo(B(this.props.horizontal)?{x:r,animated:t}:{y:r,animated:t})}}
1recordInteraction(){this._nestedChildLists.forEach(e=>{e.recordInteraction()}),this._viewabilityTuples.forEach(e=>{e.viewabilityHelper.recordInteraction()}),this._updateViewableItems(this.props,this.state.cellsAroundViewport)}flashScrollIndicators(){null!=this._scrollRef&&this._scrollRef.flashScrollIndicators()}getScrollResponder(){if(this._scrollRef&&this._scrollRef.getScrollResponder)return this._scrollRef.getScrollResponder()}getScrollableNode(){return this._scrollRef&&this._scrollRef.getScrollableNode?this._scrollRef.getScrollableNode():this._scrollRef}getScrollRef(){return this._scrollRef&&this._scrollRef.getScrollRef?this._scrollRef.getScrollRef():this._scrollRef}_getCellKey(){var e;return(null==(e=this.context)?void 0:e.cellKey)||"rootList"}hasMore(){return this._hasMore}_checkProps(e){var t=e.onScroll,r=e.windowSize,i=e.getItemCount,n=e.data,s=e.initialScrollIndex;g()(!t||!t.__isNative,"Components based on VirtualizedList must be wrapped with Animated.createAnimatedComponent to support native onScroll events with useNativeDriver"),g()(G(r)>0,"VirtualizedList: The windowSize prop must be present and set to a value greater than 0."),g()(i,'VirtualizedList: The "getItemCount" prop must be provided');var a=i(n);null!=s&&!this._hasTriggeredInitialScrollToIndex&&(s<0||a>0&&s>=a)&&!this._hasWarned.initialScrollIndex&&(console.warn('initialScrollIndex "'+s+'" is not valid (list has '+a+" items)"),this._hasWarned.initialScrollIndex=!0)}static _createRenderMask(e,t,r){var i=e.getItemCount(e.data);g()(t.first>=0&&t.last>=t.first-1&&t.last<i,'Invalid cells around viewport "['+t.first+", "+t.last+']" was passed to VirtualizedList._createRenderMask');var n=new T(i);if(i>0){for(var s=[t,...null!=r?r:[]],a=0;a<s.length;a++){var o=s[a];n.addCells(o)}if(null==e.initialScrollIndex||e.initialScrollIndex<=0){var l=J._initialRenderRegion(e);n.addCells(l)}var u=new Set(e.stickyHeaderIndices);J._ensureClosestStickyHeader(e,u,n,t.first)}return n}static _initialRenderRegion(e){var t,r,i=e.getItemCount(e.data),n=Math.max(0,Math.min(i-1,Math.floor(null!==(r=e.initialScrollIndex)&&void 0!==r?r:0))),s=Math.min(i,n+(null!=(t=e.initialNumToRender)?t:10))-1;return{first:n,last:s}}static _ensureClosestStickyHeader(e,t,r,i){for(var n=e.ListHeaderComponent?1:0,s=i-1;s>=0;s--)if(t.has(s+n)){r.addCells({first:s,last:s});break}}_adjustCellsAroundViewport(e,t){var r,i=e.data,n=e.getItemCount,s=q(e.onEndReachedThreshold),a=this._scrollMetrics,o=a.contentLength,l=a.offset,u=a.visibleLength,h=o-u-l;if(u<=0||o<=0)return t.last>=n(i)?J._constrainToItemCount(t,e):t;if(e.disableVirtualization){var d=h<s*u?K(e.maxToRenderPerBatch):0;r={first:0,last:Math.min(t.last+d,n(i)-1)}}else{if(e.initialScrollIndex&&!this._scrollMetrics.offset&&Math.abs(h)>=Number.EPSILON)return t.last>=n(i)?J._constrainToItemCount(t,e):t;r=function(e,t,r,i,n,s){var a=e.getItemCount(e.data);if(0===a)return{first:0,last:-1};var o=s.offset,l=s.velocity,u=s.visibleLength,h=s.zoomScale,d=void 0===h?1:h,c=Math.max(0,o),f=c+u,p=(r-1)*u,_=l>1?"after":l<-1?"before":"none",m=Math.max(0,c-.5*p);if(n(a-1,e).offset*d<m)return{first:Math.max(0,a-1-t),last:a-1};var v=function(e,t,r,i){void 0===i&&(i=1);for(var n=t.getItemCount(t.data),s=[],a=0;a<e.length;a++)for(var o=e[a],l=0,u=n-1;l<=u;){var h=l+(u-l>>>1),d=r(h,t),c=d.offset*i,f=(d.offset+d.length)*i;if(0===h&&o<c||0!==h&&o<=c)u=h-1;else if(o>f)l=h+1;else{s[a]=h;break}}return s}([m,c,f,Math.max(0,f+.5*p)],e,n,d),g=v[0],b=v[1],y=v[2],C=v[3];g=null==g?0:g,b=null==b?Math.max(0,g):b,C=null==C?a-1:C,y=null==y?Math.min(C,b+t-1):y;for(var w={first:b,last:y},S=w.last-w.first+1-Math.max(0,1+Math.min(w.last,i.last)-Math.max(w.first,i.first));!(b<=g)||!(y>=C);){var k=S>=t,x=b<=i.first||b>i.last,N=b>g&&(!k||!x),T=y>=i.last||y<i.first,L=y<C&&(!k||!T);if(k&&!N&&!L)break;N&&!("after"===_&&L&&T)&&(x&&S++,b--),L&&!("before"===_&&N&&x)&&(T&&S++,y++)}if(!(y>=b&&b>=0&&y<a&&b>=g&&y<=C&&b<=w.first&&y>=w.last))throw Error("Bad window calculation "+JSON.stringify({first:b,last:y,itemCount:a,overscanFirst:g,overscanLast:C,visible:w}));return{first:b,last:y}}(e,K(e.maxToRenderPerBatch),G(e.windowSize),t,this.__getFrameMetricsApprox,this._scrollMetrics),g()(r.last<n(i),"computeWindowedRenderLimits() should return range in-bounds")}if(this._nestedChildLists.size()>0){var c=this._findFirstChildWithMore(r.first,r.last);r.last=null!=c?c:r.last}return r}_findFirstChildWithMore(e,t){for(var r=e;r<=t;r++){var i=this._indicesToKeys.get(r);if(null!=i&&this._nestedChildLists.anyInCell(i,e=>e.hasMore()))return r}return null}componentDidMount(){this._isNestedWithSameOrientation()&&this.context.registerAsNestedChild({ref:this,cellKey:this.context.cellKey}),this.setupWebWheelHandler()}componentWillUnmount(){this._isNestedWithSameOrientation()&&this.context.unregisterAsNestedChild({ref:this}),this._updateCellsToRenderBatcher.dispose({abort:!0}
1),this._viewabilityTuples.forEach(e=>{e.viewabilityHelper.dispose()}),this._fillRateHelper.deactivateAndFlush(),this.teardownWebWheelHandler()}setupWebWheelHandler(){if(this._scrollRef&&this._scrollRef.getScrollableNode)this._scrollRef.getScrollableNode().addEventListener("wheel",this.invertedWheelEventHandler);else{setTimeout(()=>this.setupWebWheelHandler(),50);return}}teardownWebWheelHandler(){this._scrollRef&&this._scrollRef.getScrollableNode&&this._scrollRef.getScrollableNode().removeEventListener("wheel",this.invertedWheelEventHandler)}static getDerivedStateFromProps(e,t){if(e.getItemCount(e.data)===t.renderMask.numCells())return t;var r=J._constrainToItemCount(t.cellsAroundViewport,e);return{cellsAroundViewport:r,renderMask:J._createRenderMask(e,r)}}_pushCells(e,t,r,i,n,s){var o,l=this,u=this.props,h=u.CellRendererComponent,d=u.ItemSeparatorComponent,f=u.ListHeaderComponent,p=u.ListItemComponent,_=u.data,m=u.debug,v=u.getItem,g=u.getItemCount,b=u.getItemLayout,y=u.horizontal,C=u.renderItem,w=f?1:0,S=g(_)-1;n=Math.min(S,n);for(var k=i;k<=n;k++)!function(){var i=v(_,k),n=l._keyExtractor(i,k,l.props);l._indicesToKeys.set(k,n),r.has(k+w)&&t.push(e.length);var u=null==b||m||l._fillRateHelper.enabled();e.push(a.createElement(j,(0,c.Z)({CellRendererComponent:h,ItemSeparatorComponent:k<S?d:void 0,ListItemComponent:p,cellKey:n,horizontal:y,index:k,inversionStyle:s,item:i,key:n,prevCellKey:o,onUpdateSeparators:l._onUpdateSeparators,onCellFocusCapture:e=>l._onCellFocusCapture(n),onUnmount:l._onCellUnmount,ref:e=>{l._cellRefs[n]=e},renderItem:C},u&&{onCellLayout:l._onCellLayout}))),o=n}()}static _constrainToItemCount(e,t){var r=t.getItemCount(t.data),i=Math.min(r-1,e.last);return{first:N(0,r-1-K(t.maxToRenderPerBatch),e.first),last:i}}_isNestedWithSameOrientation(){var e=this.context;return!!(e&&!!e.horizontal===B(this.props.horizontal))}_keyExtractor(e,t,r){if(null!=r.keyExtractor)return r.keyExtractor(e,t);var i=H(e,t);return i===String(t)&&(W=!0,e.type&&e.type.displayName&&(U=e.type.displayName)),i}render(){this._checkProps(this.props);var e,t=this.props,r=t.ListEmptyComponent,i=t.ListFooterComponent,n=t.ListHeaderComponent,s=this.props,o=s.data,l=s.horizontal,u=this.props.inverted?B(this.props.horizontal)?X.horizontallyInverted:X.verticallyInverted:null,d=[],c=new Set(this.props.stickyHeaderIndices),f=[];if(n){c.has(0)&&f.push(0);var _=a.isValidElement(n)?n:a.createElement(n,null);d.push(a.createElement(D,{cellKey:this._getCellKey()+"-header",key:"$header"},a.createElement(p.Z,{onLayout:this._onLayoutHeader,style:[u,this.props.ListHeaderComponentStyle]},_)))}var m=this.props.getItemCount(o);if(0===m&&r){var v=a.isValidElement(r)?r:a.createElement(r,null);d.push(a.createElement(D,{cellKey:this._getCellKey()+"-empty",key:"$empty"},a.cloneElement(v,{onLayout:e=>{this._onLayoutEmpty(e),v.props.onLayout&&v.props.onLayout(e)},style:[u,v.props.style]})))}if(m>0){W=!1,U="";for(var g,b=this._getSpacerKey(!l),C=this.state.renderMask.enumerateRegions(),w=function(e,t){for(var r=e.length-1;r>=0;r--)if(t(e[r]))return e[r];return null}(C,e=>e.isSpacer),S=y(C);!(g=S()).done;){var k=g.value;if(k.isSpacer){if(this.props.disableVirtualization)continue;var x=k!==w||this.props.getItemLayout?k.last:N(k.first-1,k.last,this._highestMeasuredFrameIndex),T=this.__getFrameMetricsApprox(k.first,this.props),L=this.__getFrameMetricsApprox(x,this.props),E=L.offset+L.length-T.offset;d.push(a.createElement(p.Z,{key:"$spacer-"+k.first,style:{[b]:E}}))}else this._pushCells(d,f,c,k.first,k.last,u)}!this._hasWarned.keys&&W&&(console.warn("VirtualizedList: missing keys for items, make sure to specify a key or id property on each item or provide a custom keyExtractor.",U),this._hasWarned.keys=!0)}if(i){var I=a.isValidElement(i)?i:a.createElement(i,null);d.push(a.createElement(D,{cellKey:this._getFooterCellKey(),key:"$footer"},a.createElement(p.Z,{onLayout:this._onLayoutFooter,style:[u,this.props.ListFooterComponentStyle]},I)))}var R=(0,h.Z)((0,h.Z)({},this.props),{},{onContentSizeChange:this._onContentSizeChange,onLayout:this._onLayout,onScroll:this._onScroll,onScrollBeginDrag:this._onScrollBeginDrag,onScrollEndDrag:this._onScrollEndDrag,onMomentumScrollBegin:this._onMomentumScrollBegin,onMomentumScrollEnd:this._onMomentumScrollEnd,scrollEventThrottle:null!=(e=this.props.scrollEventThrottle)?e:50,invertStickyHeaders:void 0!==this.props.invertStickyHeaders?this.props.invertStickyHeaders:this.props.inverted,stickyHeaderIndices:f,style:u?[u,this.props.style]:this.props.style});this._hasMore=this.state.cellsAroundViewport.last<m-1;var A=a.createElement(F,{value:{cellKey:null,getScrollMetrics:this._getScrollMetrics,horizontal:B(this.props.horizontal),getOutermostParentListRef:this._getOutermostParentListRef,registerAsNestedChild:this._registerAsNestedChild,unregisterAsNestedChild:this._unregisterAsNestedChild}}
1,a.cloneElement((this.props.renderScrollComponent||this._defaultRenderScrollComponent)(R),{ref:this._captureScrollRef},d));return this.props.debug?a.createElement(p.Z,{style:X.debug},A,this._renderDebugOverlay()):A}componentDidUpdate(e){var t=this.props,r=t.data,i=t.extraData;(r!==e.data||i!==e.extraData)&&this._viewabilityTuples.forEach(e=>{e.viewabilityHelper.resetViewableIndices()});var n=this._hiPriInProgress;this._scheduleCellsToRenderUpdate(),n&&(this._hiPriInProgress=!1)}_computeBlankness(){this._fillRateHelper.computeBlankness(this.props,this.state.cellsAroundViewport,this._scrollMetrics)}_onCellFocusCapture(e){this._lastFocusedCellKey=e,this._updateCellsToRender()}_triggerRemeasureForChildListsInCell(e){this._nestedChildLists.forEachInCell(e,e=>{e.measureLayoutRelativeToContainingList()})}measureLayoutRelativeToContainingList(){try{if(!this._scrollRef)return;this._scrollRef.measureLayout(this.context.getOutermostParentListRef().getScrollRef(),(e,t,r,i)=>{this._offsetFromParentVirtualizedList=this._selectOffset({x:e,y:t}),this._scrollMetrics.contentLength=this._selectLength({width:r,height:i});var n=this._convertParentScrollMetrics(this.context.getScrollMetrics());(this._scrollMetrics.visibleLength!==n.visibleLength||this._scrollMetrics.offset!==n.offset)&&(this._scrollMetrics.visibleLength=n.visibleLength,this._scrollMetrics.offset=n.offset,this._nestedChildLists.forEach(e=>{e.measureLayoutRelativeToContainingList()}))},e=>{console.warn("VirtualizedList: Encountered an error while measuring a list's offset from its containing VirtualizedList.")})}catch(e){console.warn("measureLayoutRelativeToContainingList threw an error",e.stack)}}_getFooterCellKey(){return this._getCellKey()+"-footer"}_renderDebugOverlay(){for(var e=this._scrollMetrics.visibleLength/(this._scrollMetrics.contentLength||1),t=[],r=this.props.getItemCount(this.props.data),i=0;i<r;i++){var n=this.__getFrameMetricsApprox(i,this.props);n.inLayout&&t.push(n)}var s=this.__getFrameMetricsApprox(this.state.cellsAroundViewport.first,this.props).offset,o=this.__getFrameMetricsApprox(this.state.cellsAroundViewport.last,this.props),l=o.offset+o.length-s,u=this._scrollMetrics.offset,h=this._scrollMetrics.visibleLength;return a.createElement(p.Z,{style:[X.debugOverlayBase,X.debugOverlay]},t.map((t,r)=>a.createElement(p.Z,{key:"f"+r,style:[X.debugOverlayBase,X.debugOverlayFrame,{top:t.offset*e,height:t.length*e}]})),a.createElement(p.Z,{style:[X.debugOverlayBase,X.debugOverlayFrameLast,{top:s*e,height:l*e}]}),a.createElement(p.Z,{style:[X.debugOverlayBase,X.debugOverlayFrameVis,{top:u*e,height:h*e}]}))}_selectLength(e){return B(this.props.horizontal)?e.width:e.height}_selectOffset(e){return B(this.props.horizontal)?e.x:e.y}_maybeCallOnEdgeReached(){var e=this.props,t=e.data,r=e.getItemCount,i=e.onStartReached,n=e.onStartReachedThreshold,s=e.onEndReached,a=e.onEndReachedThreshold,o=e.initialScrollIndex,l=this._scrollMetrics,u=l.contentLength,h=l.visibleLength,d=l.offset,c=d,f=u-h-d;c<.001&&(c=0),f<.001&&(f=0);var p=c<=(null!=n?n*h:2),_=f<=(null!=a?a*h:2);s&&this.state.cellsAroundViewport.last===r(t)-1&&_&&this._scrollMetrics.contentLength!==this._sentEndForContentLength?(this._sentEndForContentLength=this._scrollMetrics.contentLength,s({distanceFromEnd:f})):null!=i&&0===this.state.cellsAroundViewport.first&&p&&this._scrollMetrics.contentLength!==this._sentStartForContentLength?o&&0===this._scrollMetrics.timestamp||(this._sentStartForContentLength=this._scrollMetrics.contentLength,i({distanceFromStart:c})):(this._sentStartForContentLength=p?this._sentStartForContentLength:0,this._sentEndForContentLength=_?this._sentEndForContentLength:0)}_scheduleCellsToRenderUpdate(){var e,t=this.state.cellsAroundViewport,r=t.first,i=t.last,n=this._scrollMetrics,s=n.offset,a=n.visibleLength,o=n.velocity,l=this.props.getItemCount(this.props.data),u=!1,h=null!=(e=this.props.onStartReachedThreshold)?e:2,d=q(this.props.onEndReachedThreshold);if(r>0){var c=s-this.__getFrameMetricsApprox(r,this.props).offset;u=c<0||o<-2&&c<h*a/2}if(!u&&i>=0&&i<l-1){var f=this.__getFrameMetricsApprox(i,this.props).offset-(s+a);u=f<0||o>2&&f<d*a/2}if(u&&(this._averageCellLength||this.props.getItemLayout)&&!this._hiPriInProgress){this._hiPriInProgress=!0,this._updateCellsToRenderBatcher.dispose({abort:!0}),this._updateCellsToRender();return}this._updateCellsToRenderBatcher.schedule()}
1_updateViewableItems(e,t){this._viewabilityTuples.forEach(r=>{r.viewabilityHelper.onUpdate(e,this._scrollMetrics.offset,this._scrollMetrics.visibleLength,this._getFrameMetrics,this._createViewToken,r.onViewableItemsChanged,t)})}constructor(e){if(super(e),this._getScrollMetrics=()=>this._scrollMetrics,this._getOutermostParentListRef=()=>this._isNestedWithSameOrientation()?this.context.getOutermostParentListRef():this,this._registerAsNestedChild=e=>{this._nestedChildLists.add(e.ref,e.cellKey),this._hasInteracted&&e.ref.recordInteraction()},this._unregisterAsNestedChild=e=>{this._nestedChildLists.remove(e.ref)},this._onUpdateSeparators=(e,t)=>{e.forEach(e=>{var r=null!=e&&this._cellRefs[e];r&&r.updateSeparatorProps(t)})},this._getSpacerKey=e=>e?"height":"width",this._averageCellLength=0,this._cellRefs={},this._frames={},this._footerLength=0,this._hasTriggeredInitialScrollToIndex=!1,this._hasInteracted=!1,this._hasMore=!1,this._hasWarned={},this._headerLength=0,this._hiPriInProgress=!1,this._highestMeasuredFrameIndex=0,this._indicesToKeys=new Map,this._lastFocusedCellKey=null,this._nestedChildLists=new L,this._offsetFromParentVirtualizedList=0,this._prevParentOffset=0,this._scrollMetrics={contentLength:0,dOffset:0,dt:10,offset:0,timestamp:0,velocity:0,visibleLength:0,zoomScale:1},this._scrollRef=null,this._sentStartForContentLength=0,this._sentEndForContentLength=0,this._totalCellLength=0,this._totalCellsMeasured=0,this._viewabilityTuples=[],this._captureScrollRef=e=>{this._scrollRef=e},this._defaultRenderScrollComponent=e=>{var t,r=e.onRefresh;return this._isNestedWithSameOrientation()?a.createElement(p.Z,e):r?(g()("boolean"==typeof e.refreshing,"`refreshing` prop must be set as a boolean in order to use `onRefresh`, but got `"+JSON.stringify(null!==(t=e.refreshing)&&void 0!==t?t:"undefined")+"`"),a.createElement(S.Z,(0,c.Z)({},e,{refreshControl:null==e.refreshControl?a.createElement(w,{refreshing:e.refreshing,onRefresh:r,progressViewOffset:e.progressViewOffset}):e.refreshControl}))):a.createElement(S.Z,e)},this._onCellLayout=(e,t,r)=>{var i=e.nativeEvent.layout,n={offset:this._selectOffset(i),length:this._selectLength(i),index:r,inLayout:!0},s=this._frames[t];s&&n.offset===s.offset&&n.length===s.length&&r===s.index?this._frames[t].inLayout=!0:(this._totalCellLength+=n.length-(s?s.length:0),this._totalCellsMeasured+=s?0:1,this._averageCellLength=this._totalCellLength/this._totalCellsMeasured,this._frames[t]=n,this._highestMeasuredFrameIndex=Math.max(this._highestMeasuredFrameIndex,r),this._scheduleCellsToRenderUpdate()),this._triggerRemeasureForChildListsInCell(t),this._computeBlankness(),this._updateViewableItems(this.props,this.state.cellsAroundViewport)},this._onCellUnmount=e=>{delete this._cellRefs[e];var t=this._frames[e];t&&(this._frames[e]=(0,h.Z)((0,h.Z)({},t),{},{inLayout:!1}))},this._onLayout=e=>{this._isNestedWithSameOrientation()?this.measureLayoutRelativeToContainingList():this._scrollMetrics.visibleLength=this._selectLength(e.nativeEvent.layout),this.props.onLayout&&this.props.onLayout(e),this._scheduleCellsToRenderUpdate(),this._maybeCallOnEdgeReached()},this._onLayoutEmpty=e=>{this.props.onLayout&&this.props.onLayout(e)},this._onLayoutFooter=e=>{this._triggerRemeasureForChildListsInCell(this._getFooterCellKey()),this._footerLength=this._selectLength(e.nativeEvent.layout)},this._onLayoutHeader=e=>{this._headerLength=this._selectLength(e.nativeEvent.layout)},this._onContentSizeChange=(e,t)=>
1{e>0&&t>0&&null!=this.props.initialScrollIndex&&this.props.initialScrollIndex>0&&!this._hasTriggeredInitialScrollToIndex&&(null==this.props.contentOffset&&(this.props.initialScrollIndex<this.props.getItemCount(this.props.data)?this.scrollToIndex({animated:!1,index:z()(this.props.initialScrollIndex)}):this.scrollToEnd({animated:!1})),this._hasTriggeredInitialScrollToIndex=!0),this.props.onContentSizeChange&&this.props.onContentSizeChange(e,t),this._scrollMetrics.contentLength=this._selectLength({height:t,width:e}),this._scheduleCellsToRenderUpdate(),this._maybeCallOnEdgeReached()},this._convertParentScrollMetrics=e=>{var t=e.offset-this._offsetFromParentVirtualizedList,r=e.visibleLength,i=t-this._scrollMetrics.offset;return{visibleLength:r,contentLength:this._scrollMetrics.contentLength,offset:t,dOffset:i}},this._onScroll=e=>{this._nestedChildLists.forEach(t=>{t._onScroll(e)}),this.props.onScroll&&this.props.onScroll(e);var t=e.timeStamp,r=this._selectLength(e.nativeEvent.layoutMeasurement),i=this._selectLength(e.nativeEvent.contentSize),n=this._selectOffset(e.nativeEvent.contentOffset),s=n-this._scrollMetrics.offset;if(this._isNestedWithSameOrientation()){if(0===this._scrollMetrics.contentLength)return;var a=this._convertParentScrollMetrics({visibleLength:r,offset:n});r=a.visibleLength,i=a.contentLength,n=a.offset,s=a.dOffset}var o=this._scrollMetrics.timestamp?Math.max(1,t-this._scrollMetrics.timestamp):1,l=s/o;o>500&&this._scrollMetrics.dt>500&&i>5*r&&!this._hasWarned.perf&&(function(){console.log(...arguments)}("VirtualizedList: You have a large list that is slow to update - make sure your renderItem function renders components that follow React performance best practices like PureComponent, shouldComponentUpdate, etc.",{dt:o,prevDt:this._scrollMetrics.dt,contentLength:i}),this._hasWarned.perf=!0);var u=e.nativeEvent.zoomScale<0?1:e.nativeEvent.zoomScale;this._scrollMetrics={contentLength:i,dt:o,dOffset:s,offset:n,timestamp:t,velocity:l,visibleLength:r,zoomScale:u},this._updateViewableItems(this.props,this.state.cellsAroundViewport),this.props&&(this._maybeCallOnEdgeReached(),0!==l&&this._fillRateHelper.activate(),this._computeBlankness(),this._scheduleCellsToRenderUpdate())},this._onScrollBeginDrag=e=>{this._nestedChildLists.forEach(t=>{t._onScrollBeginDrag(e)}),this._viewabilityTuples.forEach(e=>{e.viewabilityHelper.recordInteraction()}),this._hasInteracted=!0,this.props.onScrollBeginDrag&&this.props.onScrollBeginDrag(e)},this._onScrollEndDrag=e=>{this._nestedChildLists.forEach(t=>{t._onScrollEndDrag(e)});var t=e.nativeEvent.velocity;t&&(this._scrollMetrics.velocity=this._selectOffset(t)),this._computeBlankness(),this.props.onScrollEndDrag&&this.props.onScrollEndDrag(e)},this._onMomentumScrollBegin=e=>{this._nestedChildLists.forEach(t=>{t._onMomentumScrollBegin(e)}),this.props.onMomentumScrollBegin&&this.props.onMomentumScrollBegin(e)},this._onMomentumScrollEnd=e=>{this._nestedChildLists.forEach(t=>{t._onMomentumScrollEnd(e)}),this._scrollMetrics.velocity=0,this._computeBlankness(),this.props.onMomentumScrollEnd&&this.props.onMomentumScrollEnd(e)},this._updateCellsToRender=()=>{this._updateViewableItems(this.props,this.state.cellsAroundViewport),this.setState((e,t)=>{var r=this._adjustCellsAroundViewport(t,e.cellsAroundViewport),i=J._createRenderMask(t,r,this._getNonViewportRenderRegions(t));return r.first===e.cellsAroundViewport.first&&r.last===e.cellsAroundViewport.last&&i.equals(e.renderMask)?null:{cellsAroundViewport:r,renderMask:i}})},this._createViewToken=(e,t,r)=>{var i=r.data,n=(0,r.getItem)(i,e);return{index:e,item:n,key:this._keyExtractor(n,e,r),isViewable:t}},this._getOffsetApprox=(e,t)=>{if(Number.isInteger(e))return this.__getFrameMetricsApprox(e,t).offset;var r=this.__getFrameMetricsApprox(Math.floor(e),t),i=e-Math.floor(e);return r.offset+i*r.length},this.__getFrameMetricsApprox=(e,t)=>{var r=this._getFrameMetrics(e,t);if(r&&r.index===e)return r;var i=t.data,n=t.getItemCount,s=t.getItemLayout;return g()(e>=0&&e<n(i),"Tried to get frame for out of range index "+e),g()(!s,"Should not have to estimate frames when a measurement metrics function is provided"),{length:this._averageCellLength,offset:this._averageCellLength*e}},this._getFrameMetrics=(e,t)=>
1{var r=t.data,i=t.getItem,n=t.getItemCount,s=t.getItemLayout;g()(e>=0&&e<n(r),"Tried to get frame for out of range index "+e);var a=i(r,e),o=this._frames[this._keyExtractor(a,e,t)];return(!o||o.index!==e)&&s?s(r,e):o},this._getNonViewportRenderRegions=e=>{if(!(this._lastFocusedCellKey&&this._cellRefs[this._lastFocusedCellKey]))return[];var t=this._cellRefs[this._lastFocusedCellKey].props.index,r=e.getItemCount(e.data);if(t>=r||this._keyExtractor(e.getItem(e.data,t),t,e)!==this._lastFocusedCellKey)return[];for(var i=t,n=0,s=i-1;s>=0&&n<this._scrollMetrics.visibleLength;s--)i--,n+=this.__getFrameMetricsApprox(s,e).length;for(var a=t,o=0,l=a+1;l<r&&o<this._scrollMetrics.visibleLength;l++)a++,o+=this.__getFrameMetricsApprox(l,e).length;return[{first:i,last:a}]},this._checkProps(e),this._fillRateHelper=new V(this._getFrameMetrics),this._updateCellsToRenderBatcher=new x(this._updateCellsToRender,null!==(t=this.props.updateCellsBatchingPeriod)&&void 0!==t?t:50),this.props.viewabilityConfigCallbackPairs)this._viewabilityTuples=this.props.viewabilityConfigCallbackPairs.map(e=>({viewabilityHelper:new P(e.viewabilityConfig),onViewableItemsChanged:e.onViewableItemsChanged}));else{var t,r=this.props,i=r.onViewableItemsChanged,n=r.viewabilityConfig;i&&this._viewabilityTuples.push({viewabilityHelper:new P(n),onViewableItemsChanged:i})}var s=J._initialRenderRegion(e);this.state={cellsAroundViewport:s,renderMask:J._createRenderMask(e,s)},this.invertedWheelEventHandler=e=>{var t=this.props.horizontal?e.target.scrollLeft:e.target.scrollTop,r=this.props.horizontal?e.target.scrollWidth:e.target.scrollHeight,i=this.props.horizontal?e.target.clientWidth:e.target.clientHeight,n=this.props.horizontal?e.deltaX||e.wheelDeltaX:e.deltaY||e.wheelDeltaY,s=n;r>i&&(s=n<0?Math.min(n+t,0):Math.max(n-(r-i-t),0));var a=n-s;if(this.props.inverted&&this._scrollRef&&this._scrollRef.getScrollableNode){var o=this._scrollRef.getScrollableNode();if(this.props.horizontal){e.target.scrollLeft+=a;var l=o.scrollLeft-s;o.scrollLeft=this.props.getItemLayout?l:Math.min(l,this._totalCellLength)}else{e.target.scrollTop+=a;var u=o.scrollTop-s;o.scrollTop=this.props.getItemLayout?u:Math.min(u,this._totalCellLength)}e.preventDefault()}}}}J.contextType=O;var X=_.Z.create({verticallyInverted:{transform:"scaleY(-1)"},horizontallyInverted:{transform:"scaleX(-1)"},debug:{flex:1},debugOverlayBase:{position:"absolute",top:0,right:0},debugOverlay:{bottom:0,width:20,borderColor:"blue",borderWidth:1},debugOverlayFrame:{left:0,backgroundColor:"orange"},debugOverlayFrameLast:{left:0,borderColor:"green",borderWidth:2},debugOverlayFrameVis:{left:0,borderColor:"red",borderWidth:2}}),Y=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Q(e,t){if(e.length!==t.length)return!1;for(var r,i,n=0;n<e.length;n++)if(!((r=e[n])===(i=t[n])||Y(r)&&Y(i)))return!1;return!0}var ee=["numColumns","columnWrapperStyle","removeClippedSubviews","strictMode"];function et(e){return null!=e?e:1}class er extends a.PureComponent{scrollToEnd(e){this._listRef&&this._listRef.scrollToEnd(e)}scrollToIndex(e){this._listRef&&this._listRef.scrollToIndex(e)}scrollToItem(e){this._listRef&&this._listRef.scrollToItem(e)}scrollToOffset(e){this._listRef&&this._listRef.scrollToOffset(e)}recordInteraction(){this._listRef&&this._listRef.recordInteraction()}flashScrollIndicators(){this._listRef&&this._listRef.flashScrollIndicators()}getScrollResponder(){if(this._listRef)return this._listRef.getScrollResponder()}getNativeScrollRef(){if(this._listRef)return this._listRef.getScrollRef()}getScrollableNode(){if(this._listRef)return this._listRef.getScrollableNode()}componentDidUpdate(e){g()(e.numColumns===this.props.numColumns,"Changing numColumns on the fly is not supported. Change the key prop on FlatList when changing the number of columns to force a fresh render of the component."),g()(e.onViewableItemsChanged===this.props.onViewableItemsChanged,"Changing onViewableItemsChanged on the fly is not supported"),g()(!m(e.viewabilityConfig,this.props.viewabilityConfig),"Changing viewabilityConfig on the fly is not supported"),g()(e.viewabilityConfigCallbackPairs===this.props.viewabilityConfigCallbackPairs,"Changing viewabilityConfigCallbackPairs on the fly is not supported"),this._checkProps(this.props)}_checkProps(e){var t=e.getItem,r=e.getItemCount,i=e.horizontal,n=e.columnWrapperStyle,s=e.onViewableItemsChanged,a=e.viewabilityConfigCallbackPairs,o=et(this.props.numColumns);g()(!t&&!r,"FlatList does not support custom data formats."),o>1?g()(!i,"numColumns does not support horizontal."):g()(!n,"columnWrapperStyle not supported for single column lists"),g()(!(s&&a),"FlatList does not support setting both onViewableItemsChanged and viewabilityConfigCallbackPairs.")}_pushMultiColumnViewable(e,t){var r,i=et(this.props.numColumns),n=null!==(r=this.props.keyExtractor)&&void 0!==r?r:H;t.item.forEach((r,s)=>{g()(null!=t.index,"Missing index!");var a=t.index*i+s;e.push((0,h.Z)((0,h.Z)({},t),{},{item:r,key:n(r,a),index:a}))})}_createOnViewableItemsChanged(e){return t=>{var r=et(this.props.numColumns);if(e){if(r>1){var i=[],n=[];
1t.viewableItems.forEach(e=>this._pushMultiColumnViewable(n,e)),t.changed.forEach(e=>this._pushMultiColumnViewable(i,e)),e({viewableItems:n,changed:i})}else e(t)}}}render(){var e=this.props,t=e.numColumns,r=e.columnWrapperStyle,i=e.removeClippedSubviews,n=e.strictMode,s=(0,f.Z)(e,ee),o=void 0!==n&&n?this._memoizedRenderer:this._renderer;return a.createElement(J,(0,c.Z)({},s,{getItem:this._getItem,getItemCount:this._getItemCount,keyExtractor:this._keyExtractor,ref:this._captureRef,viewabilityConfigCallbackPairs:this._virtualizedListPairs,removeClippedSubviews:null!=i?i:"android"===d.Z.OS},o(this.props.ListItemComponent,this.props.renderItem,r,t,this.props.extraData)))}constructor(e){super(e),this._virtualizedListPairs=[],this._captureRef=e=>{this._listRef=e},this._getItem=(e,t)=>{var r=et(this.props.numColumns);if(!(r>1))return e[t];for(var i=[],n=0;n<r;n++){var s=t*r+n;if(s<e.length){var a=e[s];i.push(a)}}return i},this._getItemCount=e=>{if(null==e||"number"!=typeof Object(e).length)return 0;var t=et(this.props.numColumns);return t>1?Math.ceil(e.length/t):e.length},this._keyExtractor=(e,t)=>{var r,i=et(this.props.numColumns),n=null!==(r=this.props.keyExtractor)&&void 0!==r?r:H;return i>1?(g()(Array.isArray(e),"FlatList: Encountered internal consistency error, expected each item to consist of an array with 1-%s columns; instead, received a single item.",i),e.map((e,r)=>n(e,t*i+r)).join(":")):n(e,t)},this._renderer=(e,t,r,i,n)=>{var s=et(i),o=r=>e?a.createElement(e,r):t?t(r):null,l=e=>{if(!(s>1))return o(e);var t=e.item,i=e.index;return g()(Array.isArray(t),"Expected array of items with numColumns > 1"),a.createElement(p.Z,{style:[ei.row,r]},t.map((t,r)=>{var n=o({item:t,index:i*s+r,separators:e.separators});return null!=n?a.createElement(a.Fragment,{key:r},n):null}))};return e?{ListItemComponent:l}:{renderItem:l}},this._memoizedRenderer=function(e,t){void 0===t&&(t=Q);var r=null;function i(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(r&&r.lastThis===this&&t(i,r.lastArgs))return r.lastResult;var s=e.apply(this,i);return r={lastResult:s,lastArgs:i,lastThis:this},s}return i.clear=function(){r=null},i}(this._renderer),this._checkProps(this.props),this.props.viewabilityConfigCallbackPairs?this._virtualizedListPairs=this.props.viewabilityConfigCallbackPairs.map(e=>({viewabilityConfig:e.viewabilityConfig,onViewableItemsChanged:this._createOnViewableItemsChanged(e.onViewableItemsChanged)})):this.props.onViewableItemsChanged&&this._virtualizedListPairs.push({viewabilityConfig:this.props.viewabilityConfig,onViewableItemsChanged:this._createOnViewableItemsChanged(this.props.onViewableItemsChanged)})}}var ei=_.Z.create({row:{flexDirection:"row"}}),en=new(r(20462)).Z;class es{addListener(e,t,r){null==(i=this._nativeModule)||i.addListener(e);var i,n=en.addListener(e,t,r);return{remove:()=>{if(null!=n){var e;null==(e=this._nativeModule)||e.removeListeners(1),n.remove(),n=null}}}}removeListener(e,t){var r;null==(r=this._nativeModule)||r.removeListeners(1),en.removeListener(e,t)}emit(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];en.emit(e,...r)}removeAllListeners(e){var t;g()(null!=e,"`NativeEventEmitter.removeAllListener()` requires a non-null argument."),null==(t=this._nativeModule)||t.removeListeners(this.listenerCount(e)),en.removeAllListeners(e)}listenerCount(e){return en.listenerCount(e)}constructor(e){"ios"===d.Z.OS&&(g()(null!=e,"`new NativeEventEmitter()` requires a non-null argument."),this._nativeModule=e)}}var ea=d.Z,eo={animatedShouldDebounceQueueFlush:()=>!1,animatedShouldUseSingleOp:()=>!1},el=("ios"===ea.OS&&r.g.RN$Bridgeless,null),eu=1,eh=1,ed=new Set,ec=!1,ef=[];"android"===ea.OS&&null!=el&&el.queueAndExecuteBatchedOperations&&eo.animatedShouldUseSingleOp();var ep=null,e_={getValue:function(e,t){g()(el,"Native animated module is not available"),e_.queueOperation(el.getValue,e,t)},setWaitingForIdentifier:function(e){ed.add(e),ec=!0,eo.animatedShouldDebounceQueueFlush()&&ep&&clearTimeout(ep)},unsetWaitingForIdentifier:function(e){ed.delete(e),0===ed.size&&(ec=!1,e_.disableQueue())},disableQueue:function(){g()(el,"Native animated module is not available"),eo.animatedShouldDebounceQueueFlush()?(clearImmediate(ep),ep=setImmediate(e_.flushQueue)):e_.flushQueue()},flushQueue:function(){},queueOperation:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];ec||0!==ef.length?ef.push(()=>e(...r)):e(...r)},createAnimatedNode:function(e,t){g()(el,"Native animated module is not available"),e_.queueOperation(el.createAnimatedNode,e,t)},updateAnimatedNodeConfig:function(e,t){g()(el,"Native animated module is not available")},startListeningToAnimatedNodeValue:function(e){g()(el,"Native animated module is not available"),e_.queueOperation(el.
1startListeningToAnimatedNodeValue,e)},stopListeningToAnimatedNodeValue:function(e){g()(el,"Native animated module is not available"),e_.queueOperation(el.stopListeningToAnimatedNodeValue,e)},connectAnimatedNodes:function(e,t){g()(el,"Native animated module is not available"),e_.queueOperation(el.connectAnimatedNodes,e,t)},disconnectAnimatedNodes:function(e,t){g()(el,"Native animated module is not available"),e_.queueOperation(el.disconnectAnimatedNodes,e,t)},startAnimatingNode:function(e,t,r,i){g()(el,"Native animated module is not available"),e_.queueOperation(el.startAnimatingNode,e,t,r,i)},stopAnimation:function(e){g()(el,"Native animated module is not available"),e_.queueOperation(el.stopAnimation,e)},setAnimatedNodeValue:function(e,t){g()(el,"Native animated module is not available"),e_.queueOperation(el.setAnimatedNodeValue,e,t)},setAnimatedNodeOffset:function(e,t){g()(el,"Native animated module is not available"),e_.queueOperation(el.setAnimatedNodeOffset,e,t)},flattenAnimatedNodeOffset:function(e){g()(el,"Native animated module is not available"),e_.queueOperation(el.flattenAnimatedNodeOffset,e)},extractAnimatedNodeOffset:function(e){g()(el,"Native animated module is not available"),e_.queueOperation(el.extractAnimatedNodeOffset,e)},connectAnimatedNodeToView:function(e,t){g()(el,"Native animated module is not available"),e_.queueOperation(el.connectAnimatedNodeToView,e,t)},disconnectAnimatedNodeFromView:function(e,t){g()(el,"Native animated module is not available"),e_.queueOperation(el.disconnectAnimatedNodeFromView,e,t)},restoreDefaultValues:function(e){g()(el,"Native animated module is not available"),null!=el.restoreDefaultValues&&e_.queueOperation(el.restoreDefaultValues,e)},dropAnimatedNode:function(e){g()(el,"Native animated module is not available"),e_.queueOperation(el.dropAnimatedNode,e)},addAnimatedEventToView:function(e,t,r){g()(el,"Native animated module is not available"),e_.queueOperation(el.addAnimatedEventToView,e,t,r)},removeAnimatedEventFromView(e,t,r){g()(el,"Native animated module is not available"),e_.queueOperation(el.removeAnimatedEventFromView,e,t,r)}},em={backgroundColor:!0,borderBottomColor:!0,borderColor:!0,borderEndColor:!0,borderLeftColor:!0,borderRightColor:!0,borderStartColor:!0,borderTopColor:!0,color:!0,tintColor:!0},ev=(0,h.Z)((0,h.Z)({},em),{},{borderBottomEndRadius:!0,borderBottomLeftRadius:!0,borderBottomRightRadius:!0,borderBottomStartRadius:!0,borderRadius:!0,borderTopEndRadius:!0,borderTopLeftRadius:!0,borderTopRightRadius:!0,borderTopStartRadius:!0,elevation:!0,opacity:!0,transform:!0,zIndex:!0,shadowOpacity:!0,shadowRadius:!0,scaleX:!0,scaleY:!0,translateX:!0,translateY:!0}),eg={translateX:!0,translateY:!0,scale:!0,scaleX:!0,scaleY:!0,rotate:!0,rotateX:!0,rotateY:!0,rotateZ:!0,perspective:!0},eb={inputRange:!0,outputRange:!0,extrapolate:!0,extrapolateRight:!0,extrapolateLeft:!0};function ey(e){return ev.hasOwnProperty(e)}function eC(e){return eg.hasOwnProperty(e)}function ew(e){return eb.hasOwnProperty(e)}function eS(){return eh++}var ek=!1;function ex(e){return(null==e.useNativeDriver&&console.warn("Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`"),!0!==e.useNativeDriver||el)?e.useNativeDriver||!1:(ek||(console.warn("Animated: `useNativeDriver` is not supported because the native animated module is missing. Falling back to JS-based animation. To resolve this, add `RCTAnimation` module to this app, or remove `useNativeDriver`. Make sure to run `bundle exec pod install` first. Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md"),ek=!0),!1)}var eN={API:e_,isSupportedColorStyleProp:function(e){return em.hasOwnProperty(e)},isSupportedStyleProp:ey,isSupportedTransformProp:eC,isSupportedInterpolationParam:ew,addWhitelistedStyleProp:function(e){ev[e]=!0},addWhitelistedTransformProp:function(e){eg[e]=!0},addWhitelistedInterpolationParam:function(e){eb[e]=!0},validateStyles:function(e){for(var t in e)if(!ey(t))throw Error("Style property '"+t+"' is not supported by native animated module")}
1,validateTransform:function(e){e.forEach(e=>{if(!eC(e.property))throw Error("Property '"+e.property+"' is not supported by native animated module")})},validateInterpolation:function(e){for(var t in e)if(!ew(t))throw Error("Interpolation property '"+t+"' is not supported by native animated module")},generateNewNodeTag:function(){return eu++},generateNewAnimationId:eS,assertNativeAnimatedModule:function(){g()(el,"Native animated module is not available")},shouldUseNativeDriver:ex,transformDataType:function(e){return"string"==typeof e&&/deg$/.test(e)?(parseFloat(e)||0)*Math.PI/180:e},get nativeEventEmitter(){return i||(i=new es("ios"!==ea.OS?null:el)),i}},eT=eN.API,eL=1;class eE{__attach(){}__detach(){this.__isNative&&null!=this.__nativeTag&&(eN.API.dropAnimatedNode(this.__nativeTag),this.__nativeTag=void 0)}__getValue(){}__getAnimatedValue(){return this.__getValue()}__addChild(e){}__removeChild(e){}__getChildren(){return[]}__makeNative(e){if(!this.__isNative)throw Error('This node cannot be made a "native" animated node');this._platformConfig=e,this.hasListeners()&&this._startListeningToNativeValueUpdates()}addListener(e){var t=String(eL++);return this._listeners[t]=e,this.__isNative&&this._startListeningToNativeValueUpdates(),t}removeListener(e){delete this._listeners[e],this.__isNative&&!this.hasListeners()&&this._stopListeningForNativeValueUpdates()}removeAllListeners(){this._listeners={},this.__isNative&&this._stopListeningForNativeValueUpdates()}hasListeners(){return!!Object.keys(this._listeners).length}_startListeningToNativeValueUpdates(){(!this.__nativeAnimatedValueListener||this.__shouldUpdateListenersForNewNativeTag)&&(this.__shouldUpdateListenersForNewNativeTag&&(this.__shouldUpdateListenersForNewNativeTag=!1,this._stopListeningForNativeValueUpdates()),eT.startListeningToAnimatedNodeValue(this.__getNativeTag()),this.__nativeAnimatedValueListener=eN.nativeEventEmitter.addListener("onAnimatedValueUpdate",e=>{e.tag===this.__getNativeTag()&&this.__onAnimatedValueUpdateReceived(e.value)}))}__onAnimatedValueUpdateReceived(e){this.__callListeners(e)}__callListeners(e){for(var t in this._listeners)this._listeners[t]({value:e})}_stopListeningForNativeValueUpdates(){this.__nativeAnimatedValueListener&&(this.__nativeAnimatedValueListener.remove(),this.__nativeAnimatedValueListener=null,eT.stopListeningToAnimatedNodeValue(this.__getNativeTag()))}__getNativeTag(){eN.assertNativeAnimatedModule(),g()(this.__isNative,'Attempt to get native tag from node not marked as "native"');var e,t=null!==(e=this.__nativeTag)&&void 0!==e?e:eN.generateNewNodeTag();if(null==this.__nativeTag){this.__nativeTag=t;var r=this.__getNativeConfig();this._platformConfig&&(r.platformConfig=this._platformConfig),eN.API.createAnimatedNode(t,r),this.__shouldUpdateListenersForNewNativeTag=!0}return t}__getNativeConfig(){throw Error("This JS animated node type cannot be used as native animated node")}toJSON(){return this.__getValue()}__getPlatformConfig(){return this._platformConfig}__setPlatformConfig(e){this._platformConfig=e}constructor(){this._listeners={}}}var eI=eE;class eR extends eI{__makeNative(e){if(!this.__isNative){this.__isNative=!0;for(var t,r=y(this._children);!(t=r()).done;){var i=t.value;i.__makeNative(e),eN.API.connectAnimatedNodes(this.__getNativeTag(),i.__getNativeTag())}}super.__makeNative(e)}__addChild(e){0===this._children.length&&this.__attach(),this._children.push(e),this.__isNative&&(e.__makeNative(this.__getPlatformConfig()),eN.API.connectAnimatedNodes(this.__getNativeTag(),e.__getNativeTag()))}__removeChild(e){var t=this._children.indexOf(e);if(-1===t){console.warn("Trying to remove a child that doesn't exist");return}this.__isNative&&e.__isNative&&eN.API.disconnectAnimatedNodes(this.__getNativeTag(),e.__getNativeTag()),this._children.splice(t,1),0===this._children.length&&this.__detach()}__getChildren(){return this._children}__callListeners(e){if(super.__callListeners(e),!this.__isNative)for(var t,r=y(this._children);!(t=r()).done;){var i=t.value;i.__getValue&&i.__callListeners(i.__getValue())}}constructor(){super(),this._children=[]}}var eA=eR,eV=r(89937),eM=r.n(eV),eP=e=>e;function eO(e){if(e.outputRange&&"string"==typeof e.outputRange[0]){var t,r,i,n,s;return t=e.outputRange,g()(t.length>=2,"Bad output range"),function(e){for(var t=e[0].replace(eD,""),r=1;r<e.length;++r)g()(t===e[r].replace(eD,""),"invalid pattern "+e[0]+" and "+e[r])}(t=t.map(eF)),r=t[0].match(eD).map(()=>
1[]),t.forEach(e=>{e.match(eD).forEach((e,t)=>{r[t].push(+e)})}),n=t[0].match(eD).map((t,i)=>eO((0,h.Z)((0,h.Z)({},e),{},{outputRange:r[i]}))),s="string"==typeof(i=t[0])&&i.startsWith("rgb"),e=>{var r=0;return t[0].replace(eD,()=>{var t=+n[r++](e);return s&&(t=r<4?Math.round(t):Math.round(1e3*t)/1e3),String(t)})}}var a=e.outputRange,o=e.inputRange,l=e.easing||eP,u="extend";void 0!==e.extrapolateLeft?u=e.extrapolateLeft:void 0!==e.extrapolate&&(u=e.extrapolate);var d="extend";return void 0!==e.extrapolateRight?d=e.extrapolateRight:void 0!==e.extrapolate&&(d=e.extrapolate),e=>{g()("number"==typeof e,"Cannot interpolation an input which is not a number");var t=function(e,t){var r;for(r=1;r<t.length-1&&!(t[r]>=e);++r);return r-1}(e,o);return function(e,t,r,i,n,s,a,o){var l=e;if(l<t){if("identity"===a)return l;"clamp"===a&&(l=t)}if(l>r){if("identity"===o)return l;"clamp"===o&&(l=r)}return i===n?i:t===r?e<=t?i:n:(t===-1/0?l=-l:r===1/0?l-=t:l=(l-t)/(r-t),l=s(l),i===-1/0?l=-l:n===1/0?l+=i:l=l*(n-i)+i,l)}(e,o[t],o[t+1],a[t],a[t+1],l,u,d)}}function eF(e){var t=eM()(e);return null===t||"number"!=typeof t?e:"rgba("+((4278190080&(t=t||0))>>>24)+", "+((16711680&t)>>>16)+", "+((65280&t)>>>8)+", "+(255&t)/255+")"}var eD=/[+-]?(?:\d+\.?\d*|\.\d+)(?:[eE][+-]?\d+)?/g;class ej extends eA{__makeNative(e){this._parent.__makeNative(e),super.__makeNative(e)}__getValue(){var e=this._parent.__getValue();return g()("number"==typeof e,"Cannot interpolate an input which is not a number."),this._interpolation(e)}interpolate(e){return new ej(this,e)}__attach(){this._parent.__addChild(this)}__detach(){this._parent.__removeChild(this),super.__detach()}__transformDataType(e){return e.map(eN.transformDataType)}__getNativeConfig(){return{inputRange:this._config.inputRange,outputRange:this.__transformDataType(this._config.outputRange),extrapolateLeft:this._config.extrapolateLeft||this._config.extrapolate||"extend",extrapolateRight:this._config.extrapolateRight||this._config.extrapolate||"extend",type:"interpolation"}}constructor(e,t){super(),this._parent=e,this._config=t,this._interpolation=eO(t)}}ej.__createInterpolation=eO;var eZ=eN.API;class eH extends eA{__detach(){this.__isNative&&eZ.getValue(this.__getNativeTag(),e=>{this._value=e-this._offset}),this.stopAnimation(),super.__detach()}__getValue(){return this._value+this._offset}setValue(e){if(this._animation&&(this._animation.stop(),this._animation=null),this._updateValue(e,!this.__isNative),this.__isNative){var t,r;t=this.__getNativeTag().toString(),r=()=>eZ.setAnimatedNodeValue(this.__getNativeTag(),e),eZ.setWaitingForIdentifier(t),r(),eZ.unsetWaitingForIdentifier(t)}}setOffset(e){this._offset=e,this.__isNative&&eZ.setAnimatedNodeOffset(this.__getNativeTag(),e)}flattenOffset(){this._value+=this._offset,this._offset=0,this.__isNative&&eZ.flattenAnimatedNodeOffset(this.__getNativeTag())}extractOffset(){this._offset+=this._value,this._value=0,this.__isNative&&eZ.extractAnimatedNodeOffset(this.__getNativeTag())}stopAnimation(e){this.stopTracking(),this._animation&&this._animation.stop(),this._animation=null,e&&(this.__isNative?eZ.getValue(this.__getNativeTag(),e):e(this.__getValue()))}resetAnimation(e){this.stopAnimation(e),this._value=this._startingValue,this.__isNative&&eZ.setAnimatedNodeValue(this.__getNativeTag(),this._startingValue)}__onAnimatedValueUpdateReceived(e){this._updateValue(e,!1)}interpolate(e){return new ej(this,e)}animate(e,t){var r=null;e.__isInteraction&&(r=k.Z.createInteractionHandle());var i=this._animation;this._animation&&this._animation.stop(),this._animation=e,e.start(this._value,e=>{this._updateValue(e,!0)},e=>{this._animation=null,null!==r&&k.Z.clearInteractionHandle(r),t&&t(e)},i,this)}stopTracking(){this._tracking&&this._tracking.__detach(),this._tracking=null}track(e){this.stopTracking(),this._tracking=e,this._tracking&&this._tracking.update()}_updateValue(e,t){if(void 0===e)throw Error("AnimatedValue: Attempting to set value to undefined");if(this._value=e,t){var r;r=new Set,function e(t){"function"==typeof t.update?r.add(t):t.__getChildren().forEac
1h(e)}(this),r.forEach(e=>e.update())}super.__callListeners(this.__getValue())}__getNativeConfig(){return{type:"value",value:this._value,offset:this._offset}}constructor(e,t){if(super(),"number"!=typeof e)throw Error("AnimatedValue: Attempting to set value to undefined");this._startingValue=this._value=e,this._offset=0,this._animation=null,t&&t.useNativeDriver&&this.__makeNative()}}function e$(e,t,r){var i=[],n=(e,t)=>{if(e instanceof eH)e.__makeNative(),i.push({nativeEventPath:t,animatedValueTag:e.__getNativeTag()});else if("object"==typeof e)for(var r in e)n(e[r],t.concat(r))};return g()(r[0]&&r[0].nativeEvent,"Native driven events only support animated values contained inside `nativeEvent`."),n(r[0].nativeEvent,[]),null!=e&&i.forEach(r=>{eN.API.addAnimatedEventToView(e,t,r)}),{detach(){null!=e&&i.forEach(r=>{eN.API.removeAnimatedEventFromView(e,t,r.animatedValueTag)})}}}class ez{__addListener(e){this._listeners.push(e)}__removeListener(e){this._listeners=this._listeners.filter(t=>t!==e)}__attach(e,t){g()(this.__isNative,"Only native driven events need to be attached."),this._attachedEvent=e$(e,t,this._argMapping)}__detach(e,t){g()(this.__isNative,"Only native driven events need to be detached."),this._attachedEvent&&this._attachedEvent.detach()}__getHandler(){var e=this;return this.__isNative?this._callListeners:function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];var n=(e,t,r)=>{if(e instanceof eH)"number"==typeof t&&e.setValue(t);else if("object"==typeof e)for(var i in e)n(e[i],t[i],i)};e._argMapping.forEach((e,t)=>{n(e,r[t],"arg"+t)}),e._callListeners(...r)}}_callListeners(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];this._listeners.forEach(e=>e(...t))}constructor(e,t){this._listeners=[],this._argMapping=e,null==t&&(console.warn("Animated.event now requires a second argument for options"),t={useNativeDriver:!1}),t.listener&&this.__addListener(t.listener),this._callListeners=this._callListeners.bind(this),this._attachedEvent=null,this.__isNative=ex(t)}}
1class eW extends eA{__makeNative(){this._transforms.forEach(e=>{for(var t in e){var r=e[t];r instanceof eI&&r.__makeNative()}}),super.__makeNative()}__getValue(){return this._transforms.map(e=>{var t={};for(var r in e){var i=e[r];i instanceof eI?t[r]=i.__getValue():t[r]=i}return t})}__getAnimatedValue(){return this._transforms.map(e=>{var t={};for(var r in e){var i=e[r];i instanceof eI?t[r]=i.__getAnimatedValue():t[r]=i}return t})}__attach(){this._transforms.forEach(e=>{for(var t in e){var r=e[t];r instanceof eI&&r.__addChild(this)}})}__detach(){this._transforms.forEach(e=>{for(var t in e){var r=e[t];r instanceof eI&&r.__removeChild(this)}}),super.__detach()}__getNativeConfig(){var e=[];return this._transforms.forEach(t=>{for(var r in t){var i=t[r];i instanceof eI?e.push({type:"animated",property:r,nodeTag:i.__getNativeTag()}):e.push({type:"static",property:r,value:eN.transformDataType(i)})}}),eN.validateTransform(e),{type:"transform",transforms:e}}constructor(e){super(),this._transforms=e}}var eU=_.Z.flatten;class eB extends eA{_walkStyleAndGetValues(e){var t={};for(var r in e){var i=e[r];i instanceof eI?i.__isNative||(t[r]=i.__getValue()):i&&!Array.isArray(i)&&"object"==typeof i?t[r]=this._walkStyleAndGetValues(i):t[r]=i}return t}__getValue(){return[this._inputStyle,this._walkStyleAndGetValues(this._style)]}_walkStyleAndGetAnimatedValues(e){var t={};for(var r in e){var i=e[r];i instanceof eI?t[r]=i.__getAnimatedValue():i&&!Array.isArray(i)&&"object"==typeof i&&(t[r]=this._walkStyleAndGetAnimatedValues(i))}return t}__getAnimatedValue(){return this._walkStyleAndGetAnimatedValues(this._style)}__attach(){for(var e in this._style){var t=this._style[e];t instanceof eI&&t.__addChild(this)}}__detach(){for(var e in this._style){var t=this._style[e];t instanceof eI&&t.__removeChild(this)}super.__detach()}__makeNative(){for(var e in this._style){var t=this._style[e];t instanceof eI&&t.__makeNative()}super.__makeNative()}__getNativeConfig(){var e={};for(var t in this._style)if(this._style[t]instanceof eI){var r=this._style[t];r.__makeNative(),e[t]=r.__getNativeTag()}return eN.validateStyles(e),{type:"style",style:e}}constructor(e){super(),this._inputStyle=e,this._style=function e(t){var r=eU(t),i={};for(var n in r){var s=r[n];"transform"===n&&Array.isArray(s)?i[n]=new eW(s):s instanceof eI?i[n]=s:s&&!Array.isArray(s)&&"object"==typeof s&&(i[n]=e(s))}return i}(e)}}class eK extends eI{__getValue(){var e={};for(var t in this._props){var r=this._props[t];r instanceof eI?(!r.__isNative||r instanceof eB)&&(e[t]=r.__getValue()):r instanceof ez?e[t]=r.__getHandler():e[t]=r}return e}__getAnimatedValue(){var e={};for(var t in this._props){var r=this._props[t];r instanceof eI&&(e[t]=r.__getAnimatedValue())}return e}__attach(){for(var e in this._props){var t=this._props[e];t instanceof eI&&t.__addChild(this)}}__detach(){for(var e in this.__isNative&&this._animatedView&&this.__disconnectAnimatedView(),this._props){var t=this._props[e];t instanceof eI&&t.__removeChild(this)}super.__detach()}update(){this._callback()}__makeNative(){if(!this.__isNative){for(var e in this.__isNative=!0,this._props){var t=this._props[e];t instanceof eI&&t.__makeNative()}this._animatedView&&this.__connectAnimatedView()}}setNativeView(e){this._animatedView!==e&&(this._animatedView=e,this.__isNative&&this.__connectAnimatedView())}__connectAnimatedView(){g()(this.__isNative,'Expected node to be marked as "native"');var e=this._animatedView;g()(null!=e,"Unable to locate attached view in the native tree"),eN.API.connectAnimatedNodeToView(this.__getNativeTag(),e)}__disconnectAnimatedView(){g()(this.__isNative,'Expected node to be marked as "native"');var e=this._animatedView;g()(null!=e,"Unable to locate attached view in the native tree"),eN.API.disconnectAnimatedNodeFromView(this.__getNativeTag(),e)}__restoreDefaultValues(){this.__isNative&&eN.API.restoreDefaultValues(this.__getNativeTag())}__getNativeConfig(){var e={};for(var t in this._props){var r=this._props[t];r instanceof eI&&(r.__makeNative(),e[t]=r.__getNativeTag())}return{type:"props",props:e}}constructor(e,t){super(),e.style&&(e=(0,h.Z)((0,h.Z)({},e),{},{style:new eB(e.style)}
1)),this._props=e,this._callback=t,this.__attach()}}var eq=r(12817),eG=["style"];function eJ(e){return a.forwardRef((t,r)=>{var i,n,s,o,l,u,d,p,_,m=(o=(0,a.useReducer)(e=>e+1,0)[1],l=(0,a.useRef)(null),i=u=(0,a.useMemo)(()=>new eK(t,()=>null==l.current?void 0:l.current()),[t]),n=(0,a.useRef)(null),s=(0,a.useRef)(!1),(0,a.useEffect)(()=>{eN.API.flushQueue()}),(0,eq.Z)(()=>(s.current=!1,()=>{s.current=!0}),[]),(0,eq.Z)(()=>{if(i.__attach(),null!=n.current){var e=n.current;e.__restoreDefaultValues(),e.__detach(),n.current=null}return()=>{s.current?i.__detach():n.current=i}},[i]),d=(0,a.useCallback)(e=>{u.setNativeView(e),l.current=()=>{o()};var r="object"==typeof e&&"function"==typeof(null==e?void 0:e.getScrollableNode)?e.getScrollableNode():e,i=[];for(var n in t){var s=t[n];s instanceof ez&&s.__isNative&&(s.__attach(r,n),i.push([n,s]))}return()=>{l.current=null;for(var e=0;e<i.length;e++){var t=i[e],n=t[0];t[1].__detach(r,n)}}},[t,u]),p=(0,a.useRef)(void 0),_=(0,a.useCallback)(e=>{p.current&&(p.current(),p.current=void 0),null!=e&&(p.current=d(e))},[d]),[(0,h.Z)((0,h.Z)({},u.__getValue()),{},{collapsable:!1}),_]),v=m[0],g=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,a.useCallback)(e=>{for(var r=0;r<t.length;r++){var i=t[r];null!=i&&("function"==typeof i?i(e):i.current=e)}},[...t])}(m[1],r),b=v.passthroughAnimatedPropExplicitValues,y=v.style,C=null!=b?b:{},w=C.style,S=(0,f.Z)(C,eG);return a.createElement(e,(0,c.Z)({},v,S,{style:[y,w],ref:g}))})}var eX=eJ(a.forwardRef((e,t)=>a.createElement(er,(0,c.Z)({scrollEventThrottle:1e-4},e,{ref:t})))),eY=eJ(r(52182).Z),eQ=eJ(a.forwardRef((e,t)=>a.createElement(S.Z,(0,c.Z)({scrollEventThrottle:1e-4},e,{ref:t})))),e0=["ItemSeparatorComponent","SectionSeparatorComponent","renderItem","renderSectionFooter","renderSectionHeader","sections","stickySectionHeadersEnabled"];class e1 extends a.PureComponent{scrollToLocation(e){for(var t=e.itemIndex,r=0;r<e.sectionIndex;r++)t+=this.props.getItemCount(this.props.sections[r].data)+2;var i=e.viewOffset||0;if(null!=this._listRef){e.itemIndex>0&&this.props.stickySectionHeadersEnabled&&(i+=this._listRef.__getFrameMetricsApprox(t-e.itemIndex,this._listRef.props).length);var n=(0,h.Z)((0,h.Z)({},e),{},{viewOffset:i,index:t});this._listRef.scrollToIndex(n)}}getListRef(){return this._listRef}render(){for(var e,t=this.props,r=(t.ItemSeparatorComponent,t.SectionSeparatorComponent,t.renderItem,t.renderSectionFooter,t.renderSectionHeader,t.sections,t.stickySectionHeadersEnabled,(0,f.Z)(t,e0)),i=this.props.ListHeaderComponent?1:0,n=this.props.stickySectionHeadersEnabled?[]:void 0,s=0,o=y(this.props.sections);!(e=o()).done;){var l=e.value;null!=n&&n.push(s+i),s+=2+this.props.getItemCount(l.data)}var u=this._renderItem(s);return a.createElement(J,(0,c.Z)({},r,{keyExtractor:this._keyExtractor,stickyHeaderIndices:n,renderItem:u,data:this.props.sections,getItem:(e,t)=>this._getItem(this.props,e,t),getItemCount:()=>s,onViewableItemsChanged:this.props.onViewableItemsChanged?this._onViewableItemsChanged:void 0,ref:this._captureRef}))}_getItem(e,t,r){if(!t)return null;for(var i=r-1,n=0;n<t.length;n++){var s=t[n],a=s.data,o=e.getItemCount(a);if(-1===i||i===o)return s;if(i<o)return e.getItem(a,i);i-=o+2}return null}_subExtractor(e){for(var t=e,r=this.props,i=r.getItem,n=r.getItemCount,s=r.keyExtractor,a=r.sections,o=0;o<a.length;o++){var l=a[o],u=l.data,h=l.key||String(o);if((t-=1)>=n(u)+1)t-=n(u)+1;else{if(-1===t)return{section:l,key:h+":header",index:null,header:!0,trailingSection:a[o+1]};if(t===n(u))return{section:l,key:h+":footer",index:null,header:!1,trailingSection:a[o+1]};var d=l.keyExtractor||s||H;return{section:l,key:h+":"+d(i(u,t),t),index:t,leadingItem:i(u,t-1),leadingSection:a[o-1],trailingItem:i(u,t+1),trailingSection:a[o+1]}}}}_getSeparatorComponent(e,t,r){if(!(t=t||this._subExtractor(e)))return null;var i=t.section.ItemSeparatorComponent||this.props.ItemSeparatorComponent,n=this.props.SectionSeparatorComponent,s=e===r-1,a=t.index===this.props.getItemCount(t.section.data)-1;return n&&a?n:!i||a||s?null:i}constructor(){super(...arguments),this._keyExtractor=(e,t)=>
1{var r=this._subExtractor(t);return r&&r.key||String(t)},this._convertViewable=e=>{g()(null!=e.index,"Received a broken ViewToken");var t,r=this._subExtractor(e.index);if(!r)return null;var i=r.section.keyExtractor,n=this.props.keyExtractor||H,s=null!=i?i(e.item,r.index):n(e.item,null!==(t=r.index)&&void 0!==t?t:0);return(0,h.Z)((0,h.Z)({},e),{},{index:r.index,key:s,section:r.section})},this._onViewableItemsChanged=e=>{var t=e.viewableItems,r=e.changed,i=this.props.onViewableItemsChanged;null!=i&&i({viewableItems:t.map(this._convertViewable,this).filter(Boolean),changed:r.map(this._convertViewable,this).filter(Boolean)})},this._renderItem=e=>t=>{var r=t.item,i=t.index,n=this._subExtractor(i);if(!n)return null;var s=n.index;if(null==s){var o=n.section;if(!0===n.header){var l=this.props.renderSectionHeader;return l?l({section:o}):null}var u=this.props.renderSectionFooter;return u?u({section:o}):null}var h=n.section.renderItem||this.props.renderItem,d=this._getSeparatorComponent(i,n,e);return g()(h,"no renderItem!"),a.createElement(e2,{SeparatorComponent:d,LeadingSeparatorComponent:0===s?this.props.SectionSeparatorComponent:void 0,cellKey:n.key,index:s,item:r,leadingItem:n.leadingItem,leadingSection:n.leadingSection,prevCellKey:(this._subExtractor(i-1)||{}).key,setSelfHighlightCallback:this._setUpdateHighlightFor,setSelfUpdatePropsCallback:this._setUpdatePropsFor,updateHighlightFor:this._updateHighlightFor,updatePropsFor:this._updatePropsFor,renderItem:h,section:n.section,trailingItem:n.trailingItem,trailingSection:n.trailingSection,inverted:!!this.props.inverted})},this._updatePropsFor=(e,t)=>{var r=this._updatePropsMap[e];null!=r&&r(t)},this._updateHighlightFor=(e,t)=>{var r=this._updateHighlightMap[e];null!=r&&r(t)},this._setUpdateHighlightFor=(e,t)=>{null!=t?this._updateHighlightMap[e]=t:delete this._updateHighlightFor[e]},this._setUpdatePropsFor=(e,t)=>{null!=t?this._updatePropsMap[e]=t:delete this._updatePropsMap[e]},this._updateHighlightMap={},this._updatePropsMap={},this._captureRef=e=>{this._listRef=e}}}function e2(e){var t=e.LeadingSeparatorComponent,r=e.SeparatorComponent,i=e.cellKey,n=e.prevCellKey,s=e.setSelfHighlightCallback,o=e.updateHighlightFor,l=e.setSelfUpdatePropsCallback,u=e.updatePropsFor,d=e.item,f=e.index,_=e.section,m=e.inverted,v=a.useState(!1),g=v[0],b=v[1],y=a.useState(!1),C=y[0],w=y[1],S=a.useState({leadingItem:e.leadingItem,leadingSection:e.leadingSection,section:e.section,trailingItem:e.item,trailingSection:e.trailingSection}),k=S[0],x=S[1],N=a.useState({leadingItem:e.item,leadingSection:e.leadingSection,section:e.section,trailingItem:e.trailingItem,trailingSection:e.trailingSection}),T=N[0],L=N[1];a.useEffect(()=>(s(i,w),l(i,L),()=>{l(i,null),s(i,null)}),[i,s,L,l]);var E=e.renderItem({item:d,index:f,section:_,separators:{highlight:()=>{b(!0),w(!0),null!=n&&o(n,!0)},unhighlight:()=>{b(!1),w(!1),null!=n&&o(n,!1)},updateProps:(e,i)=>{"leading"===e?null!=t?x((0,h.Z)((0,h.Z)({},k),i)):null!=n&&u(n,(0,h.Z)((0,h.Z)({},k),i)):"trailing"===e&&null!=r&&L((0,h.Z)((0,h.Z)({},T),i))}}}),I=null!=t&&a.createElement(t,(0,c.Z)({highlighted:g},k)),R=null!=r&&a.createElement(r,(0,c.Z)({highlighted:C},T));return I||R?a.createElement(p.Z,null,!1===m?I:R,E,!1===m?R:I):E}var e5=["stickySectionHeadersEnabled"];class e4 extends a.PureComponent{scrollToLocation(e){null!=this._wrapperListRef&&this._wrapperListRef.scrollToLocation(e)}recordInteraction(){var e=this._wrapperListRef&&this._wrapperListRef.getListRef();e&&e.recordInteraction()}flashScrollIndicators(){var e=this._wrapperListRef&&this._wrapperListRef.getListRef();e&&e.flashScrollIndicators()}getScrollResponder(){var e=this._wrapperListRef&&this._wrapperListRef.getListRef();if(e)return e.getScrollResponder()}getScrollableNode(){var e=this._wrapperListRef&&this._wrapperListRef.getListRef();if(e)return e.getScrollableNode()}render(){var e=this.props,t=e.stickySectionHeadersEnabled,r=(0,f.Z)(e,e5),i=null!=t?t:"ios"===d.Z.OS;return a.createElement(e1,(0,c.Z)({},r,{stickySectionHeadersEnabled:i,ref:this._captureRef,getItemCount:e=>e.length,getItem:(e,t)=>e[t]}))}constructor(){super(...arguments),this._captureRef=e=>{this._wrapperListRef=e}}}var e3=eJ(a.forwardRef((e,t)=>
1a.createElement(e4,(0,c.Z)({scrollEventThrottle:1e-4},e,{ref:t})))),e9=eJ(r(35198).Z),e8=eJ(p.Z);class e7 extends eA{__makeNative(e){this._a.__makeNative(e),this._b.__makeNative(e),super.__makeNative(e)}__getValue(){return this._a.__getValue()+this._b.__getValue()}interpolate(e){return new ej(this,e)}__attach(){this._a.__addChild(this),this._b.__addChild(this)}__detach(){this._a.__removeChild(this),this._b.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"addition",input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}constructor(e,t){super(),this._a="number"==typeof e?new eH(e):e,this._b="number"==typeof t?new eH(t):t}}class e6 extends eA{__makeNative(e){this._a.__makeNative(e),super.__makeNative(e)}interpolate(e){return new ej(this,e)}__getValue(){var e=this._a.__getValue(),t=e-this._lastValue;return this._lastValue=e,this._value=Math.min(Math.max(this._value+t,this._min),this._max),this._value}__attach(){this._a.__addChild(this)}__detach(){this._a.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"diffclamp",input:this._a.__getNativeTag(),min:this._min,max:this._max}}constructor(e,t,r){super(),this._a=e,this._min=t,this._max=r,this._value=this._lastValue=this._a.__getValue()}}class te extends eA{__makeNative(e){this._a.__makeNative(e),this._b.__makeNative(e),super.__makeNative(e)}__getValue(){var e=this._a.__getValue(),t=this._b.__getValue();return 0===t?(this._warnedAboutDivideByZero||(console.error("Detected division by zero in AnimatedDivision"),this._warnedAboutDivideByZero=!0),0):(this._warnedAboutDivideByZero=!1,e/t)}interpolate(e){return new ej(this,e)}__attach(){this._a.__addChild(this),this._b.__addChild(this)}__detach(){this._a.__removeChild(this),this._b.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"division",input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}constructor(e,t){super(),this._warnedAboutDivideByZero=!1,(0===t||t instanceof eI&&0===t.__getValue())&&console.error("Detected potential division by zero in AnimatedDivision"),this._a="number"==typeof e?new eH(e):e,this._b="number"==typeof t?new eH(t):t}}class tt extends eA{__makeNative(e){this._a.__makeNative(e),super.__makeNative(e)}__getValue(){return(this._a.__getValue()%this._modulus+this._modulus)%this._modulus}interpolate(e){return new ej(this,e)}__attach(){this._a.__addChild(this)}__detach(){this._a.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"modulus",input:this._a.__getNativeTag(),modulus:this._modulus}}constructor(e,t){super(),this._a=e,this._modulus=t}}class tr extends eA{__makeNative(e){this._a.__makeNative(e),this._b.__makeNative(e),super.__makeNative(e)}__getValue(){return this._a.__getValue()*this._b.__getValue()}interpolate(e){return new ej(this,e)}__attach(){this._a.__addChild(this),this._b.__addChild(this)}__detach(){this._a.__removeChild(this),this._b.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"multiplication",input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}constructor(e,t){super(),this._a="number"==typeof e?new eH(e):e,this._b="number"==typeof t?new eH(t):t}}class ti extends eA{__makeNative(e){this._a.__makeNative(e),this._b.__makeNative(e),super.__makeNative(e)}__getValue(){return this._a.__getValue()-this._b.__getValue()}interpolate(e){return new ej(this,e)}__attach(){this._a.__addChild(this),this._b.__addChild(this)}__detach(){this._a.__removeChild(this),this._b.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"subtraction",input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}constructor(e,t){super(),this._a="number"==typeof e?new eH(e):e,this._b="number"==typeof t?new eH(t):t}}class tn extends eI{__makeNative(){this.__isNative=!0,this._parent.__makeNative(),super.__makeNative(),this._value.__makeNative()}__getValue(){return this._parent.__getValue()}__attach(){this._parent.__addChild(this),this._useNativeDriver&&this.__makeNative()}__detach(){this._parent.__removeChild(this),super.__detach()}update(){this._value.animate(new this._animationClass((0,h.Z)((0,h.Z)({},this._animationConfig),{},{toValue:this._animationConfig.toValue.__getValue()})),this._callback)}__getNativeConfig(){var e=new this._animationClass((0,h.Z)((0,h.Z)({},this._animationConfig),{},{toValue:void 0})).__getNativeAnimationConfig();return{type:"tracking",animationId:eS(),animationConfig:e,toValue:this._parent.__getNativeTag(),value:this._value.__getNativeTag()}}constructor(e,t,r,i,n){super(),this._value=e,this._parent=t,this._animationClass=r,this._animationConfig=i,this._useNativeDriver=ex(i),this._callback=n,this.__attach()}}var ts=1;class ta extends eA{setValue(e){this.x.setValue(e.x),this.y.setValue(e.y)}setOffset(e){this.x.setOffset(e.x),this.y.setOffset(e.y)}flattenOffset(){this.x.flattenOffset(),this.y.flattenOffset()}extractOffset(){this.x.extractOffset(),this.y.extractOffset()}__getValue(){return{x:this.x.__getValue(),y:this.y.__getValue()}}resetAnimation(e){this.x.resetAnimation(),this.y.resetAnimation(),e&&e(this.__getValue())}stopAnimation(e){this.x.stopAnimation(),this.y.stopAnimation(),e&&e(this.__getValue())}addListener(e){var t=String(ts++),r=t=>{t.value,e(this.__getValue())};return this._listeners[t]={x:this.x.addListener(r),y:this.y.addListener(r)},t}removeListener(e){this.x.removeListener(this._listeners[e].x),this.y.removeListener(this._listeners[e].y),delete this._listeners[e]}removeAllListeners(){this.x.removeAllListeners(),this.y.removeAllListeners(),this._listeners={}}getLayout(){return{left:this.x,top:this.y}}getTranslateTransform(){return[{translateX:this.x},{translateY:this.y}]}constructor(e){super();var t=e||{x:0,y:0};"number"==typeof t.x&&"number"==typeof t.y?(this.x=new eH(t.x),this.y=new eH(t.y)):(g()(t.x instanceof eH&&t.y instanceof eH,"AnimatedValueXY must be initialized with an object of numbers or AnimatedValues."),this.x=t.x,this.y=t.y),this._listeners={}}}var to=1;class tl{start(e,t,r,i,n){}stop(){this.__nativeId&&eN.API.stopAnimation(this.__nativeId)}__getNativeAnimationConfig(){throw Error("This animation type cannot be offloaded to native")}__debouncedOnEnd(e){var t=this.__onEnd;this.__onEnd=null,t&&t(e)}__startNativeAnimation(e){var t=to+":startAnimation";to+=1,eN.API.setWaitingForIdentifier(t);try{var r=this.__getNativeAnimationConfig();e.__makeNative(r.platformConfig),this.__nativeId=eN.generateNewAnimationId(),eN.API.startAnimatingNode(this.__nativeId,e.__getNativeTag(),r,this.__debouncedOnEnd.bind(this))}catch(e){throw e}finally{eN.API.unsetWaitingForIdentifier(t)}}}var tu=tl;class th extends tu{__getNativeAnimationConfig(){return{type:"decay",deceleration:this._deceleration,velocity:this._velocity,iterations:this.__iterations}}start(e,t,r,i,n){this.__active=!0,this._lastValue=e,this._fromValue=e,this._onUpdate=t,this.__onEnd=r,this._startTime=Date.now(),this._useNativeDriver?this.__startNativeAnimation(n):this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this))}onUpdate(){var e=Date.now(),t=this._fromValue+this._velocity/(1-this._deceleration)*(1-Math.exp(-(1-this._deceleration)*(e-this._startTime)));if(this._onUpdate(t),.1>Math.abs(this._lastValue-t)){this.__debouncedOnEnd({finished:!0});return}this._lastValue=t,this.__active&&(this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this)))}stop(){super.stop(),this.__active=!1,r.g.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}constructor(e){var t,r,i;super(),this._deceleration=null!==(t=e.deceleration)&&void 0!==t?t:.998,this._velocity=e.velocity,this._useNativeDriver=ex(e),this.__isInteraction=null!==(r=e.isInteraction)&&void 0!==r?r:!this._useNativeDriver,this.__iterations=null!==(i=e.iterations)&&void 0!==i?i:1}}function td(e){return(e-30)*3.62+194}var tc={fromOrigamiTensionAndFriction:function(e,t){return{stiffness:td(e),damping:(t-8)*3+25}},fromBouncinessAndSpeed:function(e,t){var r,i,n,s,a=(e/1.7-0)/20,o=.5+(t/1.7-0)/20*199.5,l=(i=a=0+.8*a,n=(r=o)<=18?7e-4*Math.pow(r,3)-.031
1*Math.pow(r,2)+.64*r+1.28:r>18&&r<=44?44e-6*Math.pow(r,3)-.006*Math.pow(r,2)+.36*r+2:45e-8*Math.pow(r,3)-332e-6*Math.pow(r,2)+.1078*r+5.84,.01*(s=2*i-i*i)+(1-s)*n);return{stiffness:td(o),damping:(l-8)*3+25}}};class tf extends tu{__getNativeAnimationConfig(){var e;return{type:"spring",overshootClamping:this._overshootClamping,restDisplacementThreshold:this._restDisplacementThreshold,restSpeedThreshold:this._restSpeedThreshold,stiffness:this._stiffness,damping:this._damping,mass:this._mass,initialVelocity:null!==(e=this._initialVelocity)&&void 0!==e?e:this._lastVelocity,toValue:this._toValue,iterations:this.__iterations,platformConfig:this._platformConfig}}start(e,t,r,i,n){if(this.__active=!0,this._startPosition=e,this._lastPosition=this._startPosition,this._onUpdate=t,this.__onEnd=r,this._lastTime=Date.now(),this._frameTime=0,i instanceof tf){var s=i.getInternalState();this._lastPosition=s.lastPosition,this._lastVelocity=s.lastVelocity,this._initialVelocity=this._lastVelocity,this._lastTime=s.lastTime}var a=()=>{this._useNativeDriver?this.__startNativeAnimation(n):this.onUpdate()};this._delay?this._timeout=setTimeout(a,this._delay):a()}getInternalState(){return{lastPosition:this._lastPosition,lastVelocity:this._lastVelocity,lastTime:this._lastTime}}onUpdate(){var e=Date.now();e>this._lastTime+64&&(e=this._lastTime+64);var t=(e-this._lastTime)/1e3;this._frameTime+=t;var r=this._damping,i=this._mass,n=this._stiffness,s=-this._initialVelocity,a=r/(2*Math.sqrt(n*i)),o=Math.sqrt(n/i),l=o*Math.sqrt(1-a*a),u=this._toValue-this._startPosition,h=0,d=0,c=this._frameTime;if(a<1){var f=Math.exp(-a*o*c);h=this._toValue-f*((s+a*o*u)/l*Math.sin(l*c)+u*Math.cos(l*c)),d=a*o*f*(Math.sin(l*c)*(s+a*o*u)/l+u*Math.cos(l*c))-f*(Math.cos(l*c)*(s+a*o*u)-l*u*Math.sin(l*c))}else{var p=Math.exp(-o*c);h=this._toValue-p*(u+(s+o*u)*c),d=p*(s*(c*o-1)+c*u*(o*o))}if(this._lastTime=e,this._lastPosition=h,this._lastVelocity=d,this._onUpdate(h),this.__active){var _=!1;this._overshootClamping&&0!==this._stiffness&&(_=this._startPosition<this._toValue?h>this._toValue:h<this._toValue);var m=Math.abs(d)<=this._restSpeedThreshold,v=!0;if(0!==this._stiffness&&(v=Math.abs(this._toValue-h)<=this._restDisplacementThreshold),_||m&&v){0!==this._stiffness&&(this._lastPosition=this._toValue,this._lastVelocity=0,this._onUpdate(this._toValue)),this.__debouncedOnEnd({finished:!0});return}this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this))}}stop(){super.stop(),this.__active=!1,clearTimeout(this._timeout),r.g.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}constructor(e){if(super(),this._overshootClamping=null!==(t=e.overshootClamping)&&void 0!==t&&t,this._restDisplacementThreshold=null!==(r=e.restDisplacementThreshold)&&void 0!==r?r:.001,this._restSpeedThreshold=null!==(i=e.restSpeedThreshold)&&void 0!==i?i:.001,this._initialVelocity=null!==(n=e.velocity)&&void 0!==n?n:0,this._lastVelocity=null!==(s=e.velocity)&&void 0!==s?s:0,this._toValue=e.toValue,this._delay=null!==(a=e.delay)&&void 0!==a?a:0,this._useNativeDriver=ex(e),this._platformConfig=e.platformConfig,this.__isInteraction=null!==(o=e.isInteraction)&&void 0!==o?o:!this._useNativeDriver,this.__iterations=null!==(l=e.iterations)&&void 0!==l?l:1,void 0!==e.stiffness||void 0!==e.damping||void 0!==e.mass)g()(void 0===e.bounciness&&void 0===e.speed&&void 0===e.tension&&void 0===e.friction,"You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one"),this._stiffness=null!==(u=e.stiffness)&&void 0!==u?u:100,this._damping=null!==(h=e.damping)&&void 0!==h?h:10,this._mass=null!==(d=e.mass)&&void 0!==d?d:1;else if(void 0!==e.bounciness||void 0!==e.speed){g()(void 0===e.tension&&void 0===e.friction&&void 0===e.stiffness&&void 0===e.damping&&void 0===e.mass,"You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one");var t,r,i,n,s,a,o,l,u,h,d,c,f,p=tc.fromBouncinessAndSpeed(null!==(c=e.bounciness)&&void 0!==c?c:8,null!==(f=e.speed)&&void 0!==f?f:12);this._stiffness=p.stiffness,this._damping=p.damping,this._mass=1}else{var _,m,v=tc.fromOrigamiTensionAndFriction(null!==(_=e.tension)&&void 0!==_?_:40,null!==(m=e.friction)&&void 0!==m?m:7);this._stiffness=v.stiffness,this._damping=v.damping,this._mass=1}g()(this._stiffness>0,"Stiffness value must be greater than 0"),g()(this._damping>0,"Damping value must be greater than 0"),g()(this._mass>0,"Mass value must be greater than 0")}}var tp="function"==typeof Float32Array;function t_(e,t,r){return(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e}function tm(e,t,r){return 3*(1-3*r+3*t)*e*e+2*(3*r-6*t)*e+3*t}class tv{static step0(e){return e>0?1:0}static step1(e){return e>=1?1:0}static linear(e){return e}static ease(e){return n||(n=tv.bezier(.42,0,1,1)),n(e)}static quad(e){return e*e}static cubic(e){return e*e*e}static poly(e){return t=>Math.pow(t,e)}static sin(e){return 1-Math.cos(e*Math.PI/2)}static circle(e){return 1-Math.sqrt(1-e*e)}static exp(e){return Math.pow(2,10*(e-1))}static elastic(e){void 0===e&&(e=1);var t=e*Math.PI;return e=>
11-Math.pow(Math.cos(e*Math.PI/2),3)*Math.cos(e*t)}static back(e){return void 0===e&&(e=1.70158),t=>t*t*((e+1)*t-e)}static bounce(e){if(e<1/2.75)return 7.5625*e*e;if(e<2/2.75){var t=e-1.5/2.75;return 7.5625*t*t+.75}if(e<2.5/2.75){var r=e-2.25/2.75;return 7.5625*r*r+.9375}var i=e-2.625/2.75;return 7.5625*i*i+.984375}static bezier(e,t,r,i){return function(e,t,r,i){if(!(e>=0&&e<=1&&r>=0&&r<=1))throw Error("bezier x values must be in [0, 1] range");var n=tp?new Float32Array(11):Array(11);if(e!==t||r!==i)for(var s=0;s<11;++s)n[s]=t_(.1*s,e,r);return function(s){return e===t&&r===i?s:0===s?0:1===s?1:t_(function(t){for(var i=0,s=1;10!==s&&n[s]<=t;++s)i+=.1;var a=i+(t-n[--s])/(n[s+1]-n[s])*.1,o=tm(a,e,r);return o>=.001?function(e,t,r,i){for(var n=t,s=0;s<4;++s){var a=tm(n,r,i);if(0===a)break;var o=t_(n,r,i)-e;n-=o/a}return n}(t,a,e,r):0===o?a:function(e,t,r,i,n){var s,a,o=0,l=t,u=r;do(s=t_(a=l+(u-l)/2,i,n)-e)>0?u=a:l=a;while(Math.abs(s)>1e-7&&++o<10);return a}(t,i,i+.1,e,r)}(s),t,i)}}(e,t,r,i)}static in(e){return e}static out(e){return t=>1-e(1-t)}static inOut(e){return t=>t<.5?e(2*t)/2:1-e((1-t)*2)/2}}class tg extends tu{__getNativeAnimationConfig(){for(var e=[],t=Math.round(this._duration/(1e3/60)),r=0;r<t;r++)e.push(this._easing(r/t));return e.push(this._easing(1)),{type:"frames",frames:e,toValue:this._toValue,iterations:this.__iterations,platformConfig:this._platformConfig}}start(e,t,r,i,n){this.__active=!0,this._fromValue=e,this._onUpdate=t,this.__onEnd=r;var s=()=>{0!==this._duration||this._useNativeDriver?(this._startTime=Date.now(),this._useNativeDriver?this.__startNativeAnimation(n):this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this))):(this._onUpdate(this._toValue),this.__debouncedOnEnd({finished:!0}))};this._delay?this._timeout=setTimeout(s,this._delay):s()}onUpdate(){var e=Date.now();if(e>=this._startTime+this._duration){0===this._duration?this._onUpdate(this._toValue):this._onUpdate(this._fromValue+this._easing(1)*(this._toValue-this._fromValue)),this.__debouncedOnEnd({finished:!0});return}this._onUpdate(this._fromValue+this._easing((e-this._startTime)/this._duration)*(this._toValue-this._fromValue)),this.__active&&(this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this)))}stop(){super.stop(),this.__active=!1,clearTimeout(this._timeout),r.g.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}constructor(e){var t,r,i,n,a;super(),this._toValue=e.toValue,this._easing=null!==(t=e.easing)&&void 0!==t?t:(s||(s=tv.inOut(tv.ease)),s),this._duration=null!==(r=e.duration)&&void 0!==r?r:500,this._delay=null!==(i=e.delay)&&void 0!==i?i:0,this.__iterations=null!==(n=e.iterations)&&void 0!==n?n:1,this._useNativeDriver=ex(e),this._platformConfig=e.platformConfig,this.__isInteraction=null!==(a=e.isInteraction)&&void 0!==a?a:!this._useNativeDriver}}var tb=eN.API,ty={r:0,g:0,b:0,a:1},tC=1,tw=e=>e;function tS(e){if(null==e)return null;if(tk(e))return e;var t=eM()(e);if(null==t)return null;if("object"==typeof t){var r=tw(t);if(null!=r)return r}else if("number"==typeof t){var i=(4278190080&t)>>>24;return{r:i,g:(16711680&t)>>>16,b:(65280&t)>>>8,a:(255&t)/255}}return null}function tk(e){return e&&"number"==typeof e.r&&"number"==typeof e.g&&"number"==typeof e.b&&"number"==typeof e.a}class tx extends eA{setValue(e){var t,r=!1;if(this.__isNative){var i=this.__getNativeTag();tb.setWaitingForIdentifier(i.toString())}var n=null!==(t=tS(e))&&void 0!==t?t:ty;if(tk(n)?(this.r.setValue(n.r),this.g.setValue(n.g),this.b.setValue(n.b),this.a.setValue(n.a),null!=this.nativeColor&&(this.nativeColor=null,r=!0)):this.nativeColor!==n&&(this.nativeColor=n,r=!0),this.__isNative){var s=this.__getNativeTag();r&&tb.updateAnimatedNodeConfig(s,this.__getNativeConfig()),tb.unsetWaitingForIdentifier(s.toString())}}setOffset(e){this.r.setOffset(e.r),this.g.setOffset(e.g),this.b.setOffset(e.b),this.a.setOffset(e.a)}flattenOffset(){this.r.flattenOffset(),this.g.flattenOffset(),this.b.flattenOffset(),this.a.flattenOffset()}extractOffset(){this.r.extractOffset(),this.g.extractOffset(),this.b.extractOffset(),this.a.extractOffset()}addListener(e){var t=String(tC++),r=t=>{t.value,e(this.__getValue())};return this._listeners[t]={r:this.r.addListener(r),g:this.g.addListener(r),b:this.b.addListener(r),a:this.a.addListener(r)},t}removeListener(e){this.r.removeListener(this._listeners[e].r),this.g.removeListener(this._listeners[e].g),this.b.removeListener(this._listeners[e].b),this.a.removeListener(this._listeners[e].a),delete this._listeners[e]}removeAllListeners(){this.r.removeAllListeners(),this.g.removeAllListeners(),this.b.removeAllListeners(),this.a.removeAllListeners(),this._listeners={}}stopAnimation(e){this.r.stopAnimation(),this.g.stopAnimation(),this.b.stopAnimation(),this.a.stopAnimation(),e&&e(this.__getValue())}resetAnimation(e){this.r.resetAnimation(),this.g.resetAnimation(),this.b.resetAnimation(),this.a.resetAnimation(),e&&e(this.__getValue())}__getValue(){return null!=this.nativeColor?this.nativeColor:"rgba("+this.r.__getValue()+", "+this.g.__getValue()+", "+this.b.__getValue()+", "+this.a.__getValue()+")"}__attach(){this.r.__addChild(this),this.g.__addChild(this),this.b.__addChild(this),this.a.__addChild(this),super.__attach()}__detach(){this.r.__removeChild(this),this.g.__removeChild(this),this.b.__removeChild(this),this.a.__removeChild(this),super.__detach()}__makeNative(e){this.r.__makeNative(e),this.g.__makeNative(e),this.b.__makeNative(e),this.a.__makeNative(e),super.__makeNative(e)}__getNativeConfig(){return{type:"color",r:this.r.__getNativeTag(),g:this.g.__getNativeTag(),b:this.b.__getNativeTag(),a:this.a.__getNativeTag(),nativeColor:this.nativeColor}}constructor(e,t){super(),this._listeners={};var r=null!=e?e:ty;if(r&&r.r instanceof eH&&r.g instanceof eH&&r.b instanceof eH&&r.a instanceof eH)this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a;else{var i,n=null!==(i=tS(r))&&void 0!==i?i:ty,s=ty;tk(n)?s=n:this.nativeColor=n,this.r=new eH(s.r),this.g=new eH(s.g),this.b=new eH(s.b),this.a=new eH(s.a)}(this.nativeColor||t&&t.useNativeDriver)&&this.__makeNative()}}var tN=function(e,t){return e&&t.onComplete?function(){t.onComplete&&t.onComplete(...arguments),e&&e(...arguments)}:e||t.onComplete},tT=function(e,t,r){if(e instanceof ta){var i=(0,h.Z)({},t),n=(0,h.Z)({},t);for(var s in t){var a=t[s],o=a.x,l=a.y;void 0!==o&&void 0!==l&&(i[s]=o,n[s]=l)}return tI([r(e.x,i),r(e.y,n)],{stopTogether:!1})}if(e instanceof tx){var u=(0,h.Z)({},t),d=(0,h.Z)({},t),c=(0,h.Z)({},t),f=(0,h.Z)({},t);for(var p in t){var _=t[p],m=_.r,v=_.g,g=_.b,b=_.a;void 0!==m&&void 0!==v&&void 0!==g&&void 0!==b&&(u[p]=m,d[p]=v,c[p]=g,f[p]=b)}return tI([r(e.r,u),r(e.g,d),r(e.b,c),r(e.a,f)],{stopTogether:!1})}return null},tL=function e(t,r){var i=function(e,t,r){r=tN(r,t),e.stopTracking(),t.toValue instanceof eI?e.track(new tn(e,t.toValue,tg,t,r)):e.animate(new tg(t),r)};return tT(t,r,e)||{start:function(e){i(t,r,e)},stop:function(){t.stopAnimation()},reset:function(){t.resetAnimation()},_startNativeLoop:function(e){i(t,(0,h.Z)((0,h.Z)({},r),{},{iterations:e}))},_isUsingNativeDriver:function(){return r.useNativeDriver||!1}}},tE=function(e){var t=0;return{start:function(r){0===e.length?r&&r({finished:!0}):e[t].start(function i(n){if(!n.finished||++t===e.length){r&&r(n);return}e[t].start(i)})},stop:function(){t<e.length&&e[t].stop()},reset:function(){e.forEach((e,r)=>{r<=t&&e.reset()}),t=0},_startNativeLoop:function(){throw Error("Loops run using the native driver cannot contain Animated.sequence animations")},_isUsingNativeDriver:function(){return!1}}},tI=function(e,t){var r=0,i={},n=!(t&&!1===t.stopTogether),s={start:function(t){if(r===e.length){t&&t({finished:!0});return}e.forEach((a,o)=>
1{var l=function(a){if(i[o]=!0,++r===e.length){r=0,t&&t(a);return}!a.finished&&n&&s.stop()};a?a.start(l):l({finished:!0})})},stop:function(){e.forEach((e,t)=>{i[t]||e.stop(),i[t]=!0})},reset:function(){e.forEach((e,t)=>{e.reset(),i[t]=!1,r=0})},_startNativeLoop:function(){throw Error("Loops run using the native driver cannot contain Animated.parallel animations")},_isUsingNativeDriver:function(){return!1}};return s},tR=function(e){return tL(new eH(0),{toValue:0,delay:e,duration:0,useNativeDriver:!1})},tA={Value:eH,ValueXY:ta,Color:tx,Interpolation:ej,Node:eI,decay:function e(t,r){var i=function(e,t,r){r=tN(r,t),e.stopTracking(),e.animate(new th(t),r)};return tT(t,r,e)||{start:function(e){i(t,r,e)},stop:function(){t.stopAnimation()},reset:function(){t.resetAnimation()},_startNativeLoop:function(e){i(t,(0,h.Z)((0,h.Z)({},r),{},{iterations:e}))},_isUsingNativeDriver:function(){return r.useNativeDriver||!1}}},timing:tL,spring:function e(t,r){var i=function(e,t,r){r=tN(r,t),e.stopTracking(),t.toValue instanceof eI?e.track(new tn(e,t.toValue,tf,t,r)):e.animate(new tf(t),r)};return tT(t,r,e)||{start:function(e){i(t,r,e)},stop:function(){t.stopAnimation()},reset:function(){t.resetAnimation()},_startNativeLoop:function(e){i(t,(0,h.Z)((0,h.Z)({},r),{},{iterations:e}))},_isUsingNativeDriver:function(){return r.useNativeDriver||!1}}},add:function(e,t){return new e7(e,t)},subtract:function(e,t){return new ti(e,t)},divide:function(e,t){return new te(e,t)},multiply:function(e,t){return new tr(e,t)},modulo:function(e,t){return new tt(e,t)},diffClamp:function(e,t,r){return new e6(e,t,r)},delay:tR,sequence:tE,parallel:tI,stagger:function(e,t){return tI(t.map((t,r)=>tE([tR(e*r),t])))},loop:function(e,t){var r=void 0===t?{}:t,i=r.iterations,n=void 0===i?-1:i,s=r.resetBeforeIteration,a=void 0===s||s,o=!1,l=0;return{start:function(t){e&&0!==n?e._isUsingNativeDriver()?e._startNativeLoop(n):function r(i){void 0===i&&(i={finished:!0}),o||l===n||!1===i.finished?t&&t(i):(l++,a&&e.reset(),e.start(r))}():t&&t({finished:!0})},stop:function(){o=!0,e.stop()},reset:function(){l=0,o=!1,e.reset()},_startNativeLoop:function(){throw Error("Loops run using the native driver cannot contain Animated.loop animations")},_isUsingNativeDriver:function(){return e._isUsingNativeDriver()}}},event:function(e,t){var r=new ez(e,t);return r.__isNative?r:r.__getHandler()},createAnimatedComponent:eJ,attachNativeEvent:e$,forkEvent:function(e,t){return e?e instanceof ez?(e.__addListener(t),e):function(){"function"==typeof e&&e(...arguments),t(...arguments)}:t},unforkEvent:function(e,t){e&&e instanceof ez&&e.__removeListener(t)},Event:ez},tV=!1;function tM(e){return t=>{e(null==t?t:function(){if(tV){console.warn("Ignoring recursive animation callback when running mock animations");return}tV=!0;try{t(...arguments)}finally{tV=!1}})}}var tP={start:()=>{},stop:()=>{},reset:()=>{},_startNativeLoop:()=>{},_isUsingNativeDriver:()=>!1},tO=e=>(0,h.Z)((0,h.Z)({},tP),{},{start:tM(t=>{e.forEach(e=>e.start()),null==t||t({finished:!0})})}),tF={Value:eH,ValueXY:ta,Color:tx,Interpolation:ej,Node:eI,decay:function(e,t){return tP},timing:function(e,t){return(0,h.Z)((0,h.Z)({},tP),{},{start:tM(r=>{e.setValue(t.toValue),null==r||r({finished:!0})})})},spring:function(e,t){return(0,h.Z)((0,h.Z)({},tP),{},{start:tM(r=>{e.setValue(t.toValue),null==r||r({finished:!0})})})},add:tA.add,subtract:tA.subtract,divide:tA.divide,multiply:tA.multiply,modulo:tA.modulo,diffClamp:tA.diffClamp,delay:function(e){return tP},sequence:function(e){return tO(e)},parallel:function(e,t){return tO(e)},stagger:function(e,t){return tO(t)},loop:function(e,t){return(void 0===t?{}:t).iterations,tP},event:tA.event,createAnimatedComponent:eJ,attachNativeEvent:e$,forkEvent:tA.forkEvent,unforkEvent:tA.unforkEvent,Event:ez},tD=d.Z.isTesting?tF:tA,tj=(0,h.Z)({FlatList:eX,Image:eY,ScrollView:eQ,SectionList:e3,Text:e9,View:e8},tD);let tZ={transform:!0,opacity:!0},tH={backgroundColor:!0,color:!0,borderColor:!0,borderLeftColor:!0,borderRightColor:!0,borderTopColor:!0,borderBottomColor:!0},t$={borderRadius:!0,borderTopLeftRadius:!0,borderTopRightRadius:!0,borderBottomLeftRadius:!0,borderBottomRightRadius:!0,borderWidth:!0,borderLeftWidth:!0,borderRightWidth:!0,borderTopWidth:!0,borderBottomWidth:!0,...tH},tz=tj.View,tW=tj.Text;function tU(e){let t=a.useRef(null);return t.current||(t.current={composite:null,val:new tj.Value(e),strategy:{type:"spring"}}),{getInstance:()=>t.current.val,getValue:()=>t.current.val._value,stop(){t.current.composite?.stop(),t.current.composite=null},setValue(e,{type:r,...i}={type:"spring"},n){let s=t.current.val,a=n?({finished:e})=>e?n():null:void 0;if("direct"===r)s.setValue(e);else if("spring"===r){t.current.composite?.stop();let r=tj.spring(s,{...i,toValue:e,useNativeDriver:!l.$L});r.start(a),t.current.composite=r}else{t.current.composite?.stop();let r=tj.timing(s,{...i,toValue:e,useNativeDriver:!l.$L});r.start(a),t.current.composite=r}}}}function tB({value:e},t){let r=(0,u.useEvent)(e=>{t(e.value)});a.useEffect(()=>{let t=e.getInstance().addListener(r);return()=>{e.getInstance().removeListener(t)}},[e,r])}function tK(e,t){return t(e.getInstance())}function tq(e){return{isReactNative:!0,animations:e,View:tz,Text:tW,useAnimatedNumber:tU,useAnimatedNumberReaction:tB,useAnimatedNumberStyle:tK,usePresence:o.oO,ResetPresence:o.il,useAnimations:({props:t,onDidAnimate:r,style:i,componentState:n,presence:s})=>
1{let o=l.$L&&!0===n.unmounted,u=s?.[0]===!1,h=s?.[1],d=a.useRef({}),c=a.useRef([]),f=a.useRef(new WeakMap),p=t.animateOnly||[],_=!!t.animateOnly,m=[JSON.stringify(i),n,u,!!r],v=a.useMemo(()=>!!l.$L||Object.keys(i).some(e=>p.length?!tZ[e]&&-1===p.indexOf(e):!tZ[e]),m),g=a.useMemo(()=>{let r=[],n=[],s={};for(let e in i){let t=i[e];if(!o){if(null==tZ[e]&&!t$[e]||_&&!p.includes(e)){s[e]=t;continue}if("transform"!==e){d.current[e]=a(e,d.current[e],t);continue}if(t){if("string"==typeof t){console.warn("Warning: Tamagui can't animate string transforms yet!");continue}for(let[e,r]of t.entries()){if(!r)continue;let t=Object.keys(r)[0],i=c.current[e]?.[t];c.current[e]={[t]:a(t,i,r[t])},c.current=[...c.current]}}}}return{runners:r,completions:n,style:[s,{...Object.fromEntries(Object.entries(d.current).map(([e,t])=>[e,f.current.get(t)?.interpolation||t])),transform:c.current.map(e=>{let t=Object.keys(e)[0],r=f.current.get(e[t])?.interpolation||e[t];return{[t]:r}})}]};function a(i,s,a){let o;let u=tH[i],[h,d]=u?[0,void 0]:function(e,t=!1){if("string"!=typeof e)return[e];let[r,i,n]=e.match(/([-0-9]+)(deg|%|px)/)??[];return[+i,n]}(a),c=h,p=s||new tj.Value(h),_=f.current.get(p);if(d&&(o=function(e,t,r="deg"){t===e&&(e=t-1e-9);let i=[e,t],n=[`${e}${r}`,`${t}${r}`];return t<e&&(i.reverse(),n.reverse()),{inputRange:i,outputRange:n}}(_?.current??p._value,h,d),f.current.set(p,{interpolation:p.interpolate(o),current:h})),u&&(c=_?.animateToValue?0:1,o=function(e,t,r){let i=[e||t,t];return 0===r&&i.reverse(),{inputRange:[0,1],outputRange:i}}(_?.current,a,c),f.current.set(p,{current:a,interpolation:p.interpolate(o),animateToValue:_?.animateToValue?0:1})),p){let s;let a=function(e,t,r){if("string"==typeof r)return t[r];let i="",n,s=tG[e];if(Array.isArray(r)){i=r[0];let t=r[1]?.[e]??r[1]?.[s];t&&("string"==typeof t?i=t:(i=t.type||i,n=t))}else{let t=r?.[e]??r?.[s];i=t?.type,n=t}return{...t[i],...n}}(i,e,t.animation),o=new Promise(e=>{s=e});n.push(o),r.push(()=>{function e(){return tj[a.type||"spring"](p,{toValue:c,useNativeDriver:!l.$L&&!v,...a})}p.stopAnimation(),(a.delay?tj.sequence([tj.delay(a.delay),e()]):e()).start(({finished:e})=>{e&&s()})})}return p}},m);return(0,l.LI)(()=>{g.runners.forEach(e=>e());let e=!1;return Promise.all(g.completions).then(()=>{e||(r?.(),u&&h?.())}),()=>{e=!0}},m),g}}}let tG={x:"translateX",y:"translateY",translateX:"x",translateY:"y"}},42223:function(e,t,r){"use strict";r.d(t,{oD:function(){return v},zx:function(){return b}});var i=r(55887),n=r(82827),s=r(14237),a=r(81543),o=r(14473),l=r(81950),u=r(4634),h=r(16914),d=r(79953),c=r(7653),f=r(44429),p=r(32689);let _=(0,d.createStyledContext)({color:void 0,ellipse:void 0,fontFamily:void 0,fontSize:void 0,fontStyle:void 0,fontWeight:void 0,letterSpacing:void 0,maxFontSizeMultiplier:void 0,size:void 0,textAlign:void 0,variant:void 0}),m=(0,d.styled)(o.K,{name:"Button",tag:"button",context:_,role:"button",focusable:!0,variants:{unstyled:{false:{size:"$true",justifyContent:"center",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",cursor:"pointer",hoverTheme:!0,pressTheme:!0,backgrounded:!0,borderWidth:1,borderColor:"transparent",focusVisibleStyle:{outlineColor:"$outlineColor",outlineStyle:"solid",outlineWidth:2}}},variant:{outlined:{backgroundColor:"transparent",borderWidth:2,borderColor:"$borderColor",hoverStyle:{backgroundColor:"transparent",borderColor:"$borderColorHover"},pressStyle:{backgroundColor:"transparent",borderColor:"$borderColorPress"},focusVisibleStyle:{backgroundColor:"transparent",borderColor:"$borderColorFocus"}}},size:{"...size":n.f,":number":n.f},disabled:{true:{pointerEvents:"none"}}},defaultVariants:{unstyled:"1"===p.env.TAMAGUI_HEADLESS}}),v=(0,d.styled)(u.J,{name:"Button",context:_,variants:{unstyled:{false:{userSelect:"none",cursor:"pointer",flexGrow:0,flexShrink:1,ellipse:!0,color:"$color"}}},defaultVariants:{unstyled:"1"===p.env.TAMAGUI_HEADLESS}}),g=m.styleable(function(e,t){let{props:r}=function({textProps:e,...t},{Text:r=b.Text}={Text:b.Text}){let n=(0,c.useContext)(l.e),s=(0,d.useProps)(t,{noNormalize:!0,noExpand:!0}),{icon:o,iconAfter:u,space:_,spaceFlex:m,scaleIcon:g=1,scaleSpace:y=.66,separator:C,noTextWrap:w,fontFamily:S,fontSize:k,fontWeight:x,fontStyle:N,letterSpacing:T,tag:L,ellipse:E,maxFontSizeMultiplier:I,...R}
1=s,A=s.size||(s.unstyled?void 0:"$true"),V=s.color,M=("number"==typeof A?.5*A:(0,i.yv)(A,{font:S?.[0]==="$"?S:void 0}))*g,[P,O]=[o,u].map((0,a.Zw)({size:M,color:V})),F=_??(0,d.getVariableValue)(M)*y,D=w?[t.children]:(0,h.k)(r,{children:t.children,fontFamily:S,fontSize:k,textProps:e,fontWeight:x,fontStyle:N,letterSpacing:T,ellipse:E,maxFontSizeMultiplier:I},r===v&&!0!==s.unstyled?{unstyled:"1"===p.env.TAMAGUI_HEADLESS,size:A}:void 0),j=(0,d.spacedChildren)({space:!1===F?0:!0==F?"$true":F,spaceFlex:m,ensureKeys:!0,separator:C,direction:"column"===s.flexDirection||"column-reverse"===s.flexDirection?"vertical":"horizontal",children:[P,...D,O]}),Z={size:A,...t.disabled&&{focusable:void 0,focusVisibleStyle:{borderColor:"$background"}},tag:L??(n?"span":"link"===s.accessibilityRole||"link"===s.role?"a":"button"),...R,children:(0,f.jsx)(l.e.Provider,{value:!0,children:j}),disableClassName:!0};return{spaceSize:F,isNested:n,props:Z}}(e);return(0,f.jsx)(m,{"data-disable-theme":!0,...r,ref:t})}),b=(0,s.$e)(g,{Text:v,Icon:e=>{let{children:t,scaleIcon:r=1}=e,{size:n,color:s}=(0,c.useContext)(_),o=("number"==typeof n?.5*n:(0,i.yv)(n))*r;return(0,a.Zw)({size:o,color:s})(t)}})},22344:function(e,t,r){"use strict";r.d(t,{B:function(){return l}});var i=r(81051),n=r(93500),s=r(5952),a=r(7653),o=r(44429);function l(e){let{Provider:t,useStyledContext:r}=(0,s.createStyledContext)({collectionRef:{current:null},itemMap:new Map}),l=e=>{let{__scopeCollection:r,children:i}=e,n=a.useRef(null),s=a.useRef(new Map).current;return(0,o.jsx)(t,{scope:r,itemMap:s,collectionRef:n,children:i})};l.displayName="CollectionProvider";let u=a.forwardRef((e,t)=>{let{__scopeCollection:n,children:a}=e,l=r(n),u=(0,i.ex)(t,l.collectionRef);return(0,o.jsx)(s.Slot,{ref:u,children:a})});u.displayName=e+"CollectionSlot";let h="data-collection-item",d=a.forwardRef((e,t)=>{let{__scopeCollection:n,children:l,...u}=e,d=a.useRef(null),c=(0,i.ex)(t,d),f=r(n);return a.useEffect(()=>(f.itemMap.set(d,{ref:d,...u}),()=>void f.itemMap.delete(d))),(0,o.jsx)(s.Slot,{[h]:"",ref:c,children:l})});return d.displayName=e+"CollectionItemSlot",[{Provider:l,Slot:u,ItemSlot:d},function(e){let t=r(e);return a.useCallback(()=>{if(!n.$L)return[];let e=t.collectionRef.current;if(!e)return[];let r=Array.from(e.querySelectorAll(`[${h}]`));return Array.from(t.itemMap.values()).sort((e,t)=>r.indexOf(e.ref.current)-r.indexOf(t.ref.current))},[t.collectionRef,t.itemMap])}]}},3025:function(e,t,r){"use strict";r.d(t,{e:function(){return n}});var i=r(5952);let n=(e={},{sizeLineHeight:t=e=>e+10,sizeSize:r=e=>1*e}={})=>{let n=Object.fromEntries(Object.entries({...s,...e.size}).map(([e,t])=>[e,r(+t)]));return(0,i.createFont)({family:i.isWeb?'Inter, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif':"Inter",lineHeight:Object.fromEntries(Object.entries(n).map(([e,r])=>[e,t((0,i.getVariableValue)(r))])),weight:{4:"300"},letterSpacing:{4:0},...e,size:n})},s={1:11,2:12,3:13,4:14,true:14,5:16,6:18,7:20,8:23,9:30,10:46,11:55,12:62,13:72,14:92,15:114,16:134}},55887:function(e,t,r){"use strict";r.d(t,{yv:function(){return n}});var i=r(5952);let n=(e,t)=>{let r=s(e,t);return(0,i.isVariable)(r)?+r.val:r?+r:16},s=(e,t)=>{let r=a(e,t);if(!r)return e;let n=(0,i.getConfig)();return n.fontsParsed[t?.font||n.defaultFontToken]?.size[r]},a=(e,t)=>{if("number"==typeof e)return null;let r=t?.relativeSize||0,n=(0,i.getConfig)(),s=n.fontsParsed[t?.font||n.defaultFontToken]?.size||n.tokensParsed.size,a=("$true"!==e||"$true"in s?e:"$4")??("$true"in s?"$true":"$4"),o=Object.keys(s),l=o.indexOf(a);-1===l&&a.endsWith(".5")&&(l=o.indexOf(a.replace(".5","")));let u=Math.min(Math.max(0,l+r),o.length-1);return o[u]??a}},82827:function(e,t,r){"use strict";r.d(t,{f:function(){return n}});var i=r(40446);let n=(e,{tokens:t,props:r})=>{if(!e||r.circular)return;if("number"==typeof e)return{paddingHorizontal:.25*e,height:e,borderRadius:r.circular?1e5:.2*e};let n=(0,i.Pj)(e),s=t.radius[e]??t.radius.$true;return{paddingHorizontal:n,height:e,borderRadius:r.circular?1e5:s}}},81543:function(e,t,r){"use strict";r.d(t,{Mj:function(){return i.Mj},Zw:function(){return o}});var i=r(14237),n=r(7653),s=r(79953);let a=e=>{let t=(0,s.useTheme)();return(0,s.getVariable)(e||t[e]?.get("web")||t.color?.get("web"))},o=e=>{let t=a(e.color);return r=>r&&(n.isValidElement(r)?n.cloneElement(r,{...e,color:t,...r.props}
1):n.createElement(r,e))}},17883:function(e,t,r){"use strict";r.d(t,{W:function(){return s}});var i=r(79953);let n=globalThis.matchMedia;function s(e){return(0,i.setupMatchMedia)(n),e}},76842:function(e,t,r){"use strict";r.d(t,{q:function(){return i}});let i={ussel:"userSelect",cur:"cursor",pe:"pointerEvents",col:"color",ff:"fontFamily",fos:"fontSize",fost:"fontStyle",fow:"fontWeight",ls:"letterSpacing",lh:"lineHeight",ta:"textAlign",tt:"textTransform",ww:"wordWrap",ac:"alignContent",ai:"alignItems",als:"alignSelf",b:"bottom",bc:"backgroundColor",bg:"backgroundColor",bbc:"borderBottomColor",bblr:"borderBottomLeftRadius",bbrr:"borderBottomRightRadius",bbw:"borderBottomWidth",blc:"borderLeftColor",blw:"borderLeftWidth",boc:"borderColor",br:"borderRadius",bs:"borderStyle",brw:"borderRightWidth",brc:"borderRightColor",btc:"borderTopColor",btlr:"borderTopLeftRadius",btrr:"borderTopRightRadius",btw:"borderTopWidth",bw:"borderWidth",dsp:"display",f:"flex",fb:"flexBasis",fd:"flexDirection",fg:"flexGrow",fs:"flexShrink",fw:"flexWrap",h:"height",jc:"justifyContent",l:"left",m:"margin",mah:"maxHeight",maw:"maxWidth",mb:"marginBottom",mih:"minHeight",miw:"minWidth",ml:"marginLeft",mr:"marginRight",mt:"marginTop",mx:"marginHorizontal",my:"marginVertical",o:"opacity",ov:"overflow",p:"padding",pb:"paddingBottom",pl:"paddingLeft",pos:"position",pr:"paddingRight",pt:"paddingTop",px:"paddingHorizontal",py:"paddingVertical",r:"right",shac:"shadowColor",shar:"shadowRadius",shof:"shadowOffset",shop:"shadowOpacity",t:"top",w:"width",zi:"zIndex"};i.bls="borderLeftStyle",i.brs="borderRightStyle",i.bts="borderTopStyle",i.bbs="borderBottomStyle",i.bxs="boxSizing",i.bxsh="boxShadow",i.ox="overflowX",i.oy="overflowY"},81950:function(e,t,r){"use strict";r.d(t,{e:function(){return i}});let i=r(7653).createContext(!1)},55320:function(e,t,r){"use strict";r.d(t,{n:function(){return s}});var i=r(79953),n=r(4634);let s=(0,i.styled)(n.J,{name:"Paragraph",tag:"p",userSelect:"auto",color:"$color",size:"$true",whiteSpace:"normal"})},16914:function(e,t,r){"use strict";r.d(t,{k:function(){return s}});var i=r(7653),n=r(44429);function s(e,t,r){let{children:s,textProps:a,size:o,noTextWrap:l,color:u,fontFamily:h,fontSize:d,fontWeight:c,letterSpacing:f,textAlign:p,fontStyle:_,maxFontSizeMultiplier:m}=t;if(l||!s)return[s];let v={...r};return u&&(v.color=u),h&&(v.fontFamily=h),d&&(v.fontSize=d),c&&(v.fontWeight=c),f&&(v.letterSpacing=f),p&&(v.textAlign=p),o&&(v.size=o),_&&(v.fontStyle=_),m&&(v.maxFontSizeMultiplier=m),i.Children.toArray(s).map((t,r)=>"string"==typeof t?(0,n.jsx)(e,{...v,...a,children:t},r):t)}},54283:function(e,t,r){"use strict";function i(e){return Object.entries(e)}function n(e){return Object.fromEntries(e)}function s(e){return 1/e===Number.NEGATIVE_INFINITY}r.d(t,{TV:function(){return W}});let a=e=>"function"==typeof e?{name:e.name||"unnamed",mask:e}:e,o=(e,t)=>{let{skip:r}=t;return Object.fromEntries(Object.entries(e).filter(([e])=>!r||!(e in r)).map(([e,r])=>[e,function(e,t,r){let i,n=r.overrideStrategy,s=r.overrideSwap?.[e];if("u">typeof s)i=s,n="swap";else{let t=r.overrideShift?.[e];if("u">typeof t)i=t,n="shift";else{let t=r.override?.[e];"u">typeof t&&(i=t,n=r.overrideStrategy)}}return typeof i>"u"||"string"==typeof i?t:"swap"===n?i:t}(e,r,t)]))},l=()=>({name:"inverse-mask",mask:(e,t)=>o(n(i(e).map(([e,t])=>[e,-t])),t)}),u=({inverse:e}={},t)=>({name:"shift-mask",mask:(r,i)=>{let{override:n,overrideStrategy:a="shift",max:l,palette:u,min:h=0,strength:d=1}={...t,...i},c=Object.entries(r),f=l??(u?Object.values(u).length-1:Number.POSITIVE_INFINITY),p={};for(let[t,r]of c){if("string"==typeof r)continue;if("number"==typeof n?.[t]){let e=n[t];p[t]="shift"===a?r+e:e;continue}if("string"==typeof n?.[t]){p[t]=n[t];continue}let i=0===r?!s(r):r>=0,o=r+d*(i?1:-1)*(e?-1:1),l=i?Math.max(h,Math.min(f,o)):Math.min(-h,Math.max(-f,o));p[t]=l}return o(p,i)}}),h=e=>({name:"soften-mask",mask:u({},e).mask}),d=e=>({name:"strengthen-mask",mask:u({inverse:!0},e).mask}),c=new Map,f=(e,t)=>c.get(t||JSON.stringify(e)),p=(e,t)=>{let r={...t,cache:new Map};c.set(t.name||JSON.stringify(e),r),c.set(JSON.stringify(t.definition),r)},_=new Map;function m(e,t,r,i,n=!1){let s=n?"":JSON.stringify([i,e,t,r]);if(!n&&_.has(s))return _.get(s);let a={...Object.fromEntries(Object.entries(t).map(([t,r])=>[t,v(e,r)])),...r?.nonInheritedValues};return p(a,{palette:e,definition:t,options:r,name:i}),s&&_.set(s,a),a}let v=(e,t)=>
1{if(!e)throw Error("No palette!");if("string"==typeof t)return t;let r=e.length-1;return e[Math.min(Math.max(0,(0===t?!s(t):t>=0)?t:r+t),r)]};function g(e,t,r={},i){let n={...r.skip};if(e.options?.nonInheritedValues)for(let t in e.options.nonInheritedValues)n[t]=1;let s={parentName:i,palette:e.palette,...r,skip:n},a=t.mask(e.definition,s),o=m(e.palette,a);return{...e,cache:new Map,definition:a,theme:o}}class b{constructor(e){this.state=e}addPalettes(e){return this.state.palettes={...this.state.palettes,...e},this}addTemplates(e){return this.state.templates={...this.state.templates,...e},this}addMasks(e){return this.state.masks={...this.state.masks,...n(i(e).map(([e,t])=>[e,a(t)]))},this}_addedThemes=[];addThemes(e){return this._addedThemes.push({type:"themes",args:[e]}),this.state.themes={...this.state.themes,...e},this}addComponentThemes(e,t){return this.addChildThemes(e,t),this}addChildThemes(e,t){let r=this.state.themes;if(!r)throw Error("No themes defined yet, use addThemes first to set your base themes");this._addedThemes.push({type:"childThemes",args:[e,t]});let i=Object.keys(r),n=Object.keys(e),s=Object.fromEntries(i.flatMap(r=>{let i=t?.avoidNestingWithin;return i&&i.some(e=>r.startsWith(e)||r.endsWith(e))?[]:n.map(t=>{let i=`${r}_${t}`,n=e[t];return"avoidNestingWithin"in n&&n.avoidNestingWithin.some(e=>r.startsWith(e)||r.endsWith(e))?null:[i,n]}).filter(Boolean)})),a={...this.state.themes,...s};return this.state.themes=a,this}build(){if(!this.state.themes)return{};let e={},t=[];for(let r in this.state.themes){let i=r.split("_"),n=i.slice(0,i.length-1).join("_"),s=this.state.themes[r],a=Array.isArray(s)?s.find(e=>!e.parent||n.endsWith(e.parent)||n.startsWith(e.parent))||null:s;if(a){if("theme"in a)e[r]=a.theme;else if("mask"in a)t.push({parentName:n,themeName:r,mask:a});else{let{palette:t="",template:s,...o}=a;if(this.state.themes[n],!this.state.palettes)throw Error(`No palettes defined for theme with palette expected: ${r}`);let l=this.state.palettes[t||""],u=`${n}_${t}`;for(;!l&&u;)u in this.state.palettes?(l=this.state.palettes[u],t=u):u=u.split("_").slice(0,-1).join("_");if(!l)throw Error("No palette for theme");let h=this.state.templates?.[s]??this.state.templates?.[`${i[0]}_${s}`];if(!h)throw Error(`No template for theme ${r}: ${s}`);e[r]=function(e,t,r,i,n,s=!1){if(!e[t])throw Error(`No pallete: ${t}`);let a={...r};for(let i in r){let n=r[i];if("string"==typeof n&&"$"===n[0]){let[r,s]=n.split("."),o=r.slice(1),l=t.split("_")[0],u=e[o]||e[`${l}_${o}`];if(u){let e=v(u,+s);"u">typeof e&&(a[i]=e)}}}return m(e[t],a,i,n,s)}(this.state.palettes,t,h,o,r,!0)}}}for(let{mask:r,themeName:i,parentName:n}of t){let t=e[n];if(!t)continue;let{mask:s,...a}=r,o=this.state.masks?.[s];if(!o)throw Error(`No mask ${s}`);let l=this.state.themes[n];if(l&&"childOptions"in l){let{mask:e,...t}=l.childOptions;e&&(o=this.state.masks?.[e]),Object.assign(a,t)}e[i]=function(e,t,r={},i,n){let s=f(e,i);if(!s)throw Error("â Err2");let a=g(s,t,r,i);return p(a.theme,{definition:a.definition,palette:s.palette,name:n}),a.theme}(t,o,a,n,i)}return e}}let y=(...e)=>({name:"combine-mask",mask:(t,r)=>{let i=f(t,r.parentName),n;for(let s of e){if(!i)throw Error(`Nothing returned from mask: ${i}, for template: ${t} and mask: ${s.toString()}, given opts ${JSON.stringify(r,null,2)}`);let e=g(i,s,r);i=e,n=e.theme}return n}});h(),h({strength:2}),h({strength:3}),d(),l(),y(l(),h({strength:2})),y(l(),h({strength:3})),y(l(),h({strength:4})),y(l(),d({strength:2})),a((e,t)=>{let r=d().mask(e,t),i=h().mask(e,t);return{...r,borderColor:i.borderColor,borderColorHover:i.borderColorHover,borderColorPress:i.borderColorPress,borderColorFocus:i.borderColorFocus}}),a((e,t)=>{let r=h({strength:2}).mask(e,t),i=h({strength:1}).mask(e,t);return{...r,borderColor:i.borderColor,borderColorHover:i.borderColorHover,borderColorPress:i.borderColorPress,borderColorFocus:i.borderColorFocus}}),a((e,t)=>{let r=h({strength:2}).mask(e,t);return{...h({strength:3}).mask(e,t),borderColor:r.borderColor,borderColorHover:r.borderColorHover,borderColorPress:r.borderColorPress,borderColorFocus:r.borderColorFocus}}),a((e,t)=>{let r=o(e,t),i=h().mask(e,t);return{...r,borderColor:i.borderColor,borderColorHover:i.borderColorHover,borderColorPress:i.borderColorPress,borderColorFocus:i.borderColorFocus}}),a((e,t)=>{let r=o(e,t),i=h({strength:2}).mask(e,t);return{...r,borderColor:i.borderColor,borderColorHover:i.borderColorHover,borderColorPress:i.borderColorPress,borderColorFocus:i.borderColorFocus}});var C=r(79953);function w(e,t){return Object.fromEntries(Object.entries(e).map(([e,r])=>[`${e}${t}`,r]))}function S(e){return Object.keys(e)}let k={blue:{blue1:"hsl(206, 100%, 99.2%)",blue2:"hsl(210, 100%, 98.0%)",blue3:"hsl(209, 100%, 96.5%)",blue4:"hsl(210, 98.8%, 94.0%)",blue5:"hsl(209, 95.0%, 90.1%)",blue6:"hsl(209, 81.2%, 84.5%)",blue7:"hsl(208, 77.5%, 76.9%)",blue8:"hsl(206, 81.9%, 65.3%)",blue9:"hsl(206, 100%, 50.0%)",blue10:"hsl(208, 100%, 47.3%)",blue11:"hsl(211, 100%, 43.2%)",blue12:"hsl(211, 100%, 15.0%)"},gray:{gray1:"hsl(0, 0%, 99.0%)",gray2:"hsl(0, 0%, 97.3%)",gray3:"hsl(0, 0%, 95.1%)",gray4:"hsl(0, 0%, 93.0%)",gray5:"hsl(0, 0%, 90.9%)",gray6:"hsl(0, 0%, 88.7%)",gray7:"hsl(0, 0%, 85.8%)",gray8:"hsl(0, 0%, 78.0%)",gray9:"hsl(0, 0%, 56.1%)",gray10:"hsl(0, 0%, 52.3%)",gray11:"hsl(0, 0%, 43.5%)",gray12:"hsl(0, 0%, 9.0%)"},green:{green1:"hsl(136, 50.0%, 98.9%)",green2:"hsl(138, 62.5%, 96.9%)",green3:"hsl(139, 55.2%, 94.5%)",green4:"hsl(140, 48.7%, 91.0%)",green5:"hsl(141, 43.7%, 86.0%)",green6:"hsl(143, 40.3%, 79.0%)",green7:"hsl(146, 38.5%, 69.0%)",green8:"hsl(151, 40.2%, 54.1%)",green9:"hsl(151, 55.0%, 41.5%)",green10:"hsl(152, 57.5%, 37.6%)",green11:"hsl(153, 67.0%, 28.5%)",green12:"hsl(155, 40.0%, 14.0%)"},orange:{orange1:"hsl(24, 70.0%, 99.0%)",orange2:"hsl(24, 83.3%, 97.6%)",orange3:"hsl(24, 100%, 95.3%)",orange4:"hsl(25, 100%, 92.2%)",orange5:"hsl(25, 100%, 88.2%)",orange6:"hsl(25, 100%, 82.8%)",orange7:"hsl(24, 100%, 75.3%)",orange8:"hsl(24, 94.5%, 64.3%
1)",orange9:"hsl(24, 94.0%, 50.0%)",orange10:"hsl(24, 100%, 46.5%)",orange11:"hsl(24, 100%, 37.0%)",orange12:"hsl(15, 60.0%, 17.0%)"},pink:{pink1:"hsl(322, 100%, 99.4%)",pink2:"hsl(323, 100%, 98.4%)",pink3:"hsl(323, 86.3%, 96.5%)",pink4:"hsl(323, 78.7%, 94.2%)",pink5:"hsl(323, 72.2%, 91.1%)",pink6:"hsl(323, 66.3%, 86.6%)",pink7:"hsl(323, 62.0%, 80.1%)",pink8:"hsl(323, 60.3%, 72.4%)",pink9:"hsl(322, 65.0%, 54.5%)",pink10:"hsl(322, 63.9%, 50.7%)",pink11:"hsl(322, 75.0%, 46.0%)",pink12:"hsl(320, 70.0%, 13.5%)"},purple:{purple1:"hsl(280, 65.0%, 99.4%)",purple2:"hsl(276, 100%, 99.0%)",purple3:"hsl(276, 83.1%, 97.0%)",purple4:"hsl(275, 76.4%, 94.7%)",purple5:"hsl(275, 70.8%, 91.8%)",purple6:"hsl(274, 65.4%, 87.8%)",purple7:"hsl(273, 61.0%, 81.7%)",purple8:"hsl(272, 60.0%, 73.5%)",purple9:"hsl(272, 51.0%, 54.0%)",purple10:"hsl(272, 46.8%, 50.3%)",purple11:"hsl(272, 50.0%, 45.8%)",purple12:"hsl(272, 66.0%, 16.0%)"},red:{red1:"hsl(359, 100%, 99.4%)",red2:"hsl(359, 100%, 98.6%)",red3:"hsl(360, 100%, 96.8%)",red4:"hsl(360, 97.9%, 94.8%)",red5:"hsl(360, 90.2%, 91.9%)",red6:"hsl(360, 81.7%, 87.8%)",red7:"hsl(359, 74.2%, 81.7%)",red8:"hsl(359, 69.5%, 74.3%)",red9:"hsl(358, 75.0%, 59.0%)",red10:"hsl(358, 69.4%, 55.2%)",red11:"hsl(358, 65.0%, 48.7%)",red12:"hsl(354, 50.0%, 14.6%)"},yellow:{yellow1:"hsl(60, 54.0%, 98.5%)",yellow2:"hsl(52, 100%, 95.5%)",yellow3:"hsl(55, 100%, 90.9%)",yellow4:"hsl(54, 100%, 86.6%)",yellow5:"hsl(52, 97.9%, 82.0%)",yellow6:"hsl(50, 89.4%, 76.1%)",yellow7:"hsl(47, 80.4%, 68.0%)",yellow8:"hsl(48, 100%, 46.1%)",yellow9:"hsl(53, 92.0%, 50.0%)",yellow10:"hsl(50, 100%, 48.5%)",yellow11:"hsl(42, 100%, 29.0%)",yellow12:"hsl(40, 55.0%, 13.5%)"}},x={blue:{blue1:"hsl(212, 35.0%, 9.2%)",blue2:"hsl(216, 50.0%, 11.8%)",blue3:"hsl(214, 59.4%, 15.3%)",blue4:"hsl(214, 65.8%, 17.9%)",blue5:"hsl(213, 71.2%, 20.2%)",blue6:"hsl(212, 77.4%, 23.1%)",blue7:"hsl(211, 85.1%, 27.4%)",blue8:"hsl(211, 89.7%, 34.1%)",blue9:"hsl(206, 100%, 50.0%)",blue10:"hsl(209, 100%, 60.6%)",blue11:"hsl(210, 100%, 66.1%)",blue12:"hsl(206, 98.0%, 95.8%)"},gray:{gray1:"hsl(0, 0%, 8.5%)",gray2:"hsl(0, 0%, 11.0%)",gray3:"hsl(0, 0%, 13.6%)",gray4:"hsl(0, 0%, 15.8%)",gray5:"hsl(0, 0%, 17.9%)",gray6:"hsl(0, 0%, 20.5%)",gray7:"hsl(0, 0%, 24.3%)",gray8:"hsl(0, 0%, 31.2%)",gray9:"hsl(0, 0%, 43.9%)",gray10:"hsl(0, 0%, 49.4%)",gray11:"hsl(0, 0%, 62.8%)",gray12:"hsl(0, 0%, 93.0%)"},green:{green1:"hsl(146, 30.0%, 7.4%)",green2:"hsl(155, 44.2%, 8.4%)",green3:"hsl(155, 46.7%, 10.9%)",green4:"hsl(154, 48.4%, 12.9%)",green5:"hsl(154, 49.7%, 14.9%)",green6:"hsl(154, 50.9%, 17.6%)",green7:"hsl(153, 51.8%, 21.8%)",green8:"hsl(151, 51.7%, 28.4%)",green9:"hsl(151, 55.0%, 41.5%)",green10:"hsl(151, 49.3%, 46.5%)",green11:"hsl(151, 50.0%, 53.2%)",green12:"hsl(137, 72.0%, 94.0%)"},orange:{orange1:"hsl(30, 70.0%, 7.2%)",orange2:"hsl(28, 100%, 8.4%)",orange3:"hsl(26, 91.1%, 11.6%)",orange4:"hsl(25, 88.3%, 14.1%)",orange5:"hsl(24, 87.6%, 16.6%)",orange6:"hsl(24, 88.6%, 19.8%)",orange7:"hsl(24, 92.4%, 24.0%)",orange8:"hsl(25, 100%, 29.0%)",orange9:"hsl(24, 94.0%, 50.0%)",orange10:"hsl(24, 100%, 58.5%)",orange11:"hsl(24, 100%, 62.2%)",orange12:"hsl(24, 97.0%, 93.2%)"},pink:{pink1:"hsl(318, 25.0%, 9.6%)",pink2:"hsl(319, 32.2%, 11.6%)",pink3:"hsl(319, 41.0%, 16.0%)",pink4:"hsl(320, 45.4%, 18.7%)",pink5:"hsl(320, 49.0%, 21.1%)",pink6:"hsl(321, 53.6%, 24.4%)",pink7:"hsl(321, 61.1%, 29.7%)",pink8:"hsl(322, 74.9%, 37.5%)",pink9:"hsl(322, 65.0%, 54.5%)",pink10:"hsl(323, 72.8%, 59.2%)",pink11:"hsl(325, 90.0%, 66.4%)",pink12:"hsl(322, 90.0%, 95.8%)"},purple:{purple1:"hsl(284, 20.0%, 9.6%)",purple2:"hsl(283, 30.0%, 11.8%)",purple3:"hsl(281, 37.5%, 16.5%)",purple4:"hsl(280, 41.2%, 20.0%)",purple5:"hsl(279, 43.8%, 23.3%)",purple6:"hsl(277, 46.4%, 27.5%)",purple7:"hsl(275, 49.3%, 34.6%)",purple8:"hsl(272, 52.1%, 45.9%)",purple9:"hsl(272, 51.0%, 54.0%)",purple10:"hsl(273, 57.3%, 59.1%)",purple11:"hsl(275, 80.0%, 71.0%)",purple12:"hsl(279, 75.0%, 95.7%)"},red:{red1:"hsl(353, 23.0%, 9.8%)",red2:"hsl(357, 34.4%, 12.0%)",red3:"hsl(356, 43.4%, 16.4%)",red4:"hsl(356, 47.6%, 19.2%)",red5:"hsl(356, 51.1%, 21.9%)",red6:"hsl(356, 55.2%, 25.9%)",red7:"hsl(357, 60.2%, 31.8%)",red8:"hsl(358, 65.0%, 40.4%)",red9:"hsl(358, 75.0%, 59.0%)",red10:"hsl(358, 85.3%, 64.0%)",red11:"hsl(358,
1100%, 69.5%)",red12:"hsl(351, 89.0%, 96.0%)"},yellow:{yellow1:"hsl(45, 100%, 5.5%)",yellow2:"hsl(46, 100%, 6.7%)",yellow3:"hsl(45, 100%, 8.7%)",yellow4:"hsl(45, 100%, 10.4%)",yellow5:"hsl(47, 100%, 12.1%)",yellow6:"hsl(49, 100%, 14.3%)",yellow7:"hsl(49, 90.3%, 18.4%)",yellow8:"hsl(50, 100%, 22.0%)",yellow9:"hsl(53, 92.0%, 50.0%)",yellow10:"hsl(54, 100%, 68.0%)",yellow11:"hsl(48, 100%, 47.0%)",yellow12:"hsl(53, 100%, 91.0%)"}},N="rgba(0,0,0,0.04)",T="rgba(0,0,0,0.085)",L="rgba(0,0,0,0.2)",E="rgba(0,0,0,0.3)",I={...x.blue,...x.gray,...x.green,...x.orange,...x.pink,...x.purple,...x.red,...x.yellow},R={...k.blue,...k.gray,...k.green,...k.orange,...k.pink,...k.purple,...k.red,...k.yellow},A={white0:"rgba(255,255,255,0)",white075:"rgba(255,255,255,0.75)",white05:"rgba(255,255,255,0.5)",white025:"rgba(255,255,255,0.25)",black0:"rgba(10,10,10,0)",black075:"rgba(10,10,10,0.75)",black05:"rgba(10,10,10,0.5)",black025:"rgba(10,10,10,0.25)",white1:"#fff",white2:"#f8f8f8",white3:"hsl(0, 0%, 96.3%)",white4:"hsl(0, 0%, 94.1%)",white5:"hsl(0, 0%, 92.0%)",white6:"hsl(0, 0%, 90.0%)",white7:"hsl(0, 0%, 88.5%)",white8:"hsl(0, 0%, 81.0%)",white9:"hsl(0, 0%, 56.1%)",white10:"hsl(0, 0%, 50.3%)",white11:"hsl(0, 0%, 42.5%)",white12:"hsl(0, 0%, 9.0%)",black1:"#050505",black2:"#151515",black3:"#191919",black4:"#232323",black5:"#282828",black6:"#323232",black7:"#424242",black8:"#494949",black9:"#545454",black10:"#626262",black11:"#a5a5a5",black12:"#fff",...w(R,"Light"),...w(I,"Dark")},V=(()=>{let e=(e,t=0)=>e.replace("%)",`%, ${t})`).replace("hsl(","hsla("),t=(t,r)=>{let i=Object.values(t),n=i.length-4,s=Object.values(r),a=s[0],o=s[s.length-1];return[a,e(i[0],0),e(i[0],.25),e(i[0],.5),e(i[0],.75),...i,e(i[n],.75),e(i[n],.5),e(i[n],.25),e(i[n],0),o]},r={light:A.blue4Light,dark:A.blue4Dark},i=[r.light,A.white0,A.white025,A.white05,A.white075,A.white1,A.white2,A.white3,A.white4,A.white5,A.white6,A.white7,A.white8,A.white9,A.white10,A.white11,A.white12,A.black075,A.black05,A.black025,A.black0,r.dark],s=[r.dark,A.black0,A.black025,A.black05,A.black075,A.black1,A.black2,A.black3,A.black4,A.black5,A.black6,A.black7,A.black8,A.black9,A.black10,A.black11,A.black12,A.white075,A.white05,A.white025,A.white0,r.light],a=S(k),o=n(a.map((e,r)=>[`light_${e}`,t(k[e],k[a[(r+1)%a.length]])])),l=S(x),u=n(l.map((e,r)=>[`dark_${e}`,t(x[e],k[l[(r+1)%l.length]])]));return{light:i,dark:s,...{...o,...u}}})(),M=(()=>{let e=e=>{let t="light"===e?-1:1,r=-t,i={accentBackground:0,accentColor:-0,background0:1,background025:2,background05:3,background075:4,color1:5,color2:6,color3:7,color4:8,color5:9,color6:10,color7:11,color8:12,color9:13,color10:14,color11:15,color12:16,color0:-1,color025:-2,color05:-3,color075:-4,background:5,backgroundHover:5+t,backgroundPress:5+r,backgroundFocus:5+r,borderColor:8,borderColorHover:8+t,borderColorPress:8+r,borderColorFocus:8,color:-5,colorHover:-6,colorPress:-5,colorFocus:-6,colorTransparent:-1,placeholderColor:-8,outlineColor:-2},n={background:i.background+1,backgroundHover:i.backgroundHover+1,backgroundPress:i.backgroundPress+1,backgroundFocus:i.backgroundFocus+1,borderColor:i.borderColor+1,borderColorHover:i.borderColorHover+1,borderColorFocus:i.borderColorFocus+1,borderColorPress:i.borderColorPress+1},s={background:i.background+2,backgroundHover:i.backgroundHover+2,backgroundPress:i.backgroundPress+2,backgroundFocus:i.backgroundFocus+2,borderColor:i.borderColor+2,borderColorHover:i.borderColorHover+2,borderColorFocus:i.borderColorFocus+2,borderColorPress:i.borderColorPress+2},a={background:i.background+3,backgroundHover:i.backgroundHover+3,backgroundPress:i.backgroundPress+3,backgroundFocus:i.backgroundFocus+3,borderColor:i.borderColor+3,borderColorHover:i.borderColorHover+3,borderColorFocus:i.borderColorFocus+3,borderColorPress:i.borderColorPress+3},o={background:i.background+5,backgroundHover:i.background+5,backgroundPress:i.backgroundPress+5,backgroundFocus:i.backgroundFocus+5},l={...o,borderColor:o.background,borderColorHover:o.backgroundHover,borderColorFocus:o.backgroundFocus,borderColorPress:o.backgroundPress},u={color:n.background,colorHover:n.backgroundHover,colorPress:n.backgroundPress,colorFocus:n.backgroundFocus,background:i.color,backgroundHover:i.colorHover,backgroundPress:i.colorPress,backgroundFocus:i.colorFocus,borderColor:i.color-2,borderColorHover:i.color-3,borderColorFocus:i.color-4,borderColorPress:i.color-5},h={...u,background:i.color-2,backgroundHover:i.colorHover-2,backgroundPress:i.colorPress-2,backgroundFocus:i.colorFocus-2,borderColor:i.color-2-2,borderColorHover:i.color-3-2,borderColorFocus:i.color-4-2,borderColorPress:i.color-5-2},d={color:i.color-1,colorHover:i.colorHover-1,colorPress:i.colorPress-1,colorFocus:i.colorFocus-1},c={color:i.color-2,colorHover:i.colorHover-2,colorPress:i.colorPress-2,colorFocus:i.colorFocus-2};return{base:i,alt1:d,alt2:c,surface1:n,surface2:s,surface3:a,inverseSurface1:u,inverseActive:h,surfaceActive:l}},t=e("light"),r=e("dark");return{...n(S(t).map(e=>[`light_${e}`,t[e]])),...n(S(r).map(e=>[`dark_${e}`,r[e]]))}})(),P={light:{...R,shadowColor:T,shadowColorHover:T,shadowColorPress:N,shadowColorFocus:N},dark:{...I,shadowColor:E,shadowColorHover:E,shadowColorPress:L,shadowColorFocus:L}},O=[{parent:"light",theme:{background:"rgba(0,0,0,0.5)"}},{parent:"dark",theme:{background:"rgba(0,0,0,0.8)"}}],F=[{parent:"active",template:"inverseActive"},{parent:"",template:"inverseSurface1"}],D=[{parent:"active",template:"surfaceActive"},{parent:"",template:"surface1"}],j=[{parent:"active",template:"surfaceActive"},{parent:"",template:"surface2"}],Z=(new b({}).addPalettes(V).addTemplates(M).addThemes({light:{template:"base",palette:"light",nonInheritedValues:P.light},dark:{template:"base",palette:"dark",nonInheritedValues:P.dark}}).addChildThemes({orange:{palette:"orange",template:"base"},yellow:{palette:"yellow",template:"base"},green:{palette:"green",template:"base"},blue:{palette:"blue",template:"base"},purple:{palette:"purple",template:"base"},pink:{palette:"pink",template:"base"},red:{palette:"red",template:"base"},gray:{palette:"gray",template:"base"}}).addChildThemes({alt1:{template:"alt1"},alt2:{template:"alt2"},active:{template:"surface3"},surface1:{template:"surface1"},surface2:{template:"surface2"},surface3:{template:"surface3"},surface4:{template:"surfaceActive"}}).addComponentThemes({ListItem:{template:"surface1"},SelectTrigger:D,Card:D,Button:[{parent:"active",template:"surfaceActive"},{parent:"",template:"surface3"}],Checkbox:j,Switch:j,SwitchThumb:F,TooltipContent:j,Progress:{template:"surface1"},RadioGroupItem:j,TooltipArrow:{template:"surface1"},SliderTrackActive:{template:"surface3"},SliderTrack:{template:"surface1"},SliderThumb:F,Tooltip:F,ProgressIndicator:F,SheetOverlay:O,DialogOverlay:O,ModalOverlay:O,Input:D,TextArea:D},{avoidNestingWithin:["alt1","alt2","surface1","surface2","surface3","surface4"]}).build(),{$0:0,"$0.25":2,"$0.5":4,"$0.75":8,$1:20,"$1.5":24,$2:28,"$2.5":32,$3:36,"$3.5":40,$4:44,$true:44,"$4.5":48,$5:52,$6:64,$7:74,$8:84,$9:94,$10:104,$11:124,$12:144,$13:164,$14:184,$15:204,$16:224,$17:224,$18:244,$19:264,$20:284}),H=Object.entries(Z).map(([e,t])=>[e,0===t?0:2===t?.5:4===t?1:8===t?1.5:t<=16?Math.round(.333*t):Math.floor(.7*t-12)]),$=H.slice(1).map(([e,t])=>[`-${e.slice(1)}`,-t]),z={...Object.fromEntries(H),...Object.fromEntries($)},W=(0,C.createTokens)({color:A,radius:{0:0,1:3,2:5,3:7,4:9,true:9,5:10,6:16,7:19,8:22,9:26,10:34,11:42,12:50},zIndex:{0:0,1:100,2:200,3:300,4:400,5:500},space:z,size:Z})},72757:function(e,t,r){"use strict";r.d(t,{FN:function(){return z}});var i=r(5952),n=r(14237),s=r(14473),a=r(4634),o=r(20745),l=r(7653),u=r(47818),h=r(93500),d=r(85122),c=r(57970),f=r(90549),p=r(46537),_=r(44429);let m=(0,i.styled)(i.Stack,{name:"ToastAnnounceExclude"}),v=l.forwardRef((e,t)=>
1{let{altText:r,...i}=e;return(0,_.jsx)(m,{"data-toast-announce-exclude":"","data-toast-announce-alt":r||void 0,...i,ref:t})}),g=e=>{let{__scopeToast:t,children:r,...n}=e,s=(0,p.jz)(t),[a,o]=l.useState(!1),[u,m]=l.useState(!1);return function(e=()=>{}){let t=(0,i.useEvent)(e);(0,h.LI)(()=>{let e=0,r=0;return e=requestAnimationFrame(()=>{r=requestAnimationFrame(t)}),()=>{cancelAnimationFrame(e),cancelAnimationFrame(r)}},[t])}(()=>{(0,d.L)(()=>{o(!0)})}),l.useEffect(()=>{let e=setTimeout(()=>m(!0),1e3);return()=>clearTimeout(e)},[]),u?null:(0,_.jsx)(c.h_,{asChild:!0,children:(0,_.jsx)(f.T,{...n,children:a&&(0,_.jsxs)(i.Text,{children:[s.label," ",r]})})})};var b=r(29710),y=r(81051),C=r(83078),w=r(99373),S=r(17683),k=r(32689);let x=(0,i.styled)(s.K,{name:"ToastImpl",focusable:!0,variants:{unstyled:{false:{focusStyle:{outlineStyle:"solid",outlineWidth:2,outlineColor:"$outlineColor"},backgroundColor:"$color6",borderRadius:"$10",paddingHorizontal:"$5",paddingVertical:"$2",marginHorizontal:"auto",marginVertical:"$1"}}},defaultVariants:{unstyled:"1"===k.env.TAMAGUI_HEADLESS}}),{Provider:N,useStyledContext:T}=(0,i.createStyledContext)({onClose(){}}),L=l.forwardRef((e,t)=>{let{__scopeToast:r,type:s="foreground",duration:a,open:o,onClose:d,onEscapeKeyDown:f,onPause:m,onResume:v,onSwipeStart:k,onSwipeMove:T,onSwipeCancel:L,onSwipeEnd:A,viewportName:V="default",...M}=e,P=(0,b.hO)(),O=(0,p.jz)(r),[F,D]=l.useState(null),j=(0,y.ex)(t,D),Z=a||O.duration,H=l.useRef(0),$=l.useRef(Z),z=l.useRef(0),{onToastAdd:W,onToastRemove:U}=O,B=l.useMemo(()=>O.viewports[V],[O.viewports,V]),K=(0,i.useEvent)(()=>{P&&(h.$L&&F?.contains(document.activeElement)&&B?.focus(),d())}),q=l.useCallback(e=>{e&&e!==Number.POSITIVE_INFINITY&&(clearTimeout(z.current),H.current=new Date().getTime(),z.current=setTimeout(K,e))},[K]),G=l.useCallback(()=>{q($.current),v?.()},[v,q]),J=l.useCallback(()=>{let e=new Date().getTime()-H.current;$.current=$.current-e,window.clearTimeout(z.current),m?.()},[m]);l.useEffect(()=>{if(h.$L&&B)return B.addEventListener(S.hu,J),B.addEventListener(S.AR,G),()=>{B.removeEventListener(S.hu,J),B.removeEventListener(S.AR,G)}},[B,Z,m,v,q]),l.useEffect(()=>{o&&!O.isClosePausedRef.current&&q(Z)},[o,Z,O.isClosePausedRef,q]),l.useEffect(()=>(W(),()=>U()),[W,U]);let X=l.useMemo(()=>h.$L&&F?function e(t){if(!h.$L)return"";let r=[];return Array.from(t.childNodes).forEach(t=>{if(t.nodeType===t.TEXT_NODE&&t.textContent&&r.push(t.textContent),t.nodeType===t.ELEMENT_NODE){let i=t.ariaHidden||t.hidden||"none"===t.style.display,n=""===t.dataset.toastAnnounceExclude;if(!i){if(n){let e=t.dataset.toastAnnounceAlt;e&&r.push(e)}else r.push(...e(t))}}}),r}(F):null,[F]),Y=["left","right","horizontal"].includes(O.swipeDirection),{animationDriver:Q}=(0,i.useConfiguration)();if(!Q)throw Error("Must set animations in tamagui.config.ts");let{useAnimatedNumber:ee,useAnimatedNumberStyle:et}=Q,er=ee(0),ei=Q.NumberView??Q.View??i.Stack,en=et(er,e=>({transform:[Y?{translateX:e}:{translateY:e}]})),es=l.useMemo(()=>w.Z.create({onMoveShouldSetPanResponder:(e,t)=>!!I(O.swipeDirection,t)&&(k?.(e),!0),onPanResponderGrant:e=>{h.$L||J?.()},onPanResponderMove:(e,t)=>{let{x:r,y:i}=R(O.swipeDirection,t);er.setValue(Y?r:i,{type:"direct"}),E({x:r,y:i},O.swipeDirection,O.swipeThreshold)&&A?.(e),T?.(e)},onPanResponderEnd:(e,{dx:t,dy:r})=>{E({x:t,y:r},O.swipeDirection,O.swipeThreshold)||(h.$L||G?.(),L?.(e),er.setValue(0,{type:"spring"}))}}),[J,G]),ea=(0,i.useThemeName)();return(0,_.jsxs)(_.Fragment,{children:[X&&(0,_.jsx)(g,{__scopeToast:r,role:"status","aria-live":"foreground"===s?"assertive":"polite","aria-atomic":!0,children:X}),(0,_.jsx)(c.b5,{hostName:V??"default",children:(0,_.jsx)(N,{scope:r,onClose:()=>{K()},children:(0,_.jsx)(C.XA,{onEscapeKeyDown:(0,n.Mj)(f,()=>{O.isFocusedToastEscapeKeyDownRef.current||K(),O.isFocusedToastEscapeKeyDownRef.current=!1}),children:(0,_.jsx)(i.Theme,{forceClassName:!0,name:ea,children:(0,_.jsx)(ei,{...es?.panHandlers,style:[{margin:"auto"},en],children:(0,_.jsx)(p.FE.ItemSlot,{__scopeCollection:r||u.B,children:(0,_.jsx)(x,{role:"status","aria-live":"off","aria-atomic":!0,"data-state":o?"open":"closed","data-swipe-direction":O.swipeDirection,pointerEvents:"auto",touchAction:"none",userSelect:"none",...M,ref:j,...h.$L&&{onKeyDown:(0,n.Mj)(e.onKeyDown,e=>{"Escape"===e.key&&(f?.(e),f?.(e),e.defaultPrevented||(O.isFocusedToastEscapeKeyDownRef.current=!0,K())
1)})}})})})})})},e.id)})]})});L.propTypes={type:e=>e.type&&!["foreground","background"].includes(e.type)?Error(`Invalid prop \`type\` supplied to \`${u.F}\`. Expected \`foreground | background\`.`):null};let E=(e,t,r=0)=>{let i=Math.abs(e.x),n=Math.abs(e.y),s=i>n;return"left"===t||"right"===t||"horizontal"===t?s&&i>r:!s&&n>r},I=(e,{dx:t,dy:r})=>("horizontal"===e||"left"===e)&&t<-10||("horizontal"===e||"right"===e)&&t>10||("vertical"===e||"up"===e)&&r>-10||("vertical"===e||"down"===e)&&r<10,R=(e,{dx:t,dy:r})=>{let i=0,n=0;return"horizontal"===e?n=t:"left"===e?n=Math.min(0,t):"right"===e?n=Math.max(0,t):"vertical"===e?i=r:"up"===e?i=Math.min(0,r):"down"===e&&(i=Math.max(0,r)),{x:n,y:i}};var A=r(32689);let V="ToastTitle",M=(0,i.styled)(a.J,{name:V,variants:{unstyled:{false:{color:"$color",size:"$4"}}},defaultVariants:{unstyled:"1"===A.env.TAMAGUI_HEADLESS}});M.displayName=V;let P="ToastDescription",O=(0,i.styled)(a.J,{name:P,variants:{unstyled:{false:{color:"$color11",size:"$1"}}},defaultVariants:{unstyled:"1"===A.env.TAMAGUI_HEADLESS}});O.displayName=P;let F="ToastAction",D=l.forwardRef((e,t)=>{let{altText:r,...i}=e;return r?(0,_.jsx)(v,{altText:r,asChild:!0,children:(0,_.jsx)(H,{...i,ref:t})}):null});D.propTypes={altText:e=>e.altText?null:Error(`Missing prop \`altText\` expected on \`${F}\``)},D.displayName=F;let j="ToastClose",Z=(0,i.styled)(s.K,{name:j,tag:"button"}),H=l.forwardRef((e,t)=>{let{__scopeToast:r,...i}=e,s=T(r);return(0,_.jsx)(v,{asChild:!0,children:(0,_.jsx)(Z,{accessibilityLabel:"Dialog Close",...i,ref:t,onPress:(0,n.Mj)(e.onPress,s.onClose)})})});H.displayName=j;let $=x.styleable((e,t)=>{let{forceMount:r,open:s,defaultOpen:a,onOpenChange:u,...h}=e,[d,c]=(0,o.T)({prop:s,defaultProp:a??!0,onChange:u,strategy:"most-recent-wins"}),f=l.useId(),p=(0,i.useEvent)(e.onPause),m=(0,i.useEvent)(e.onResume);return r||d?(0,_.jsx)(L,{id:f,open:d,...h,ref:t,onClose:()=>c(!1),onPause:p,onResume:m,onSwipeEnd:(0,n.Mj)(e.onSwipeEnd,e=>{c(!1)})}):null});$.displayName=u.F;let z=(0,n.$e)($,{Title:M,Description:O,Action:D,Close:H})},72089:function(e,t,r){"use strict";r.d(t,{e7:function(){return d},JW:function(){return h}});var i=r(7653),n=r(5952),s=r(35524);let a=(e,{message:t,notificationOptions:r})=>{if(!("Notification"in window))return console.error("This browser does not support notifications"),!1;Notification.permission;let i=()=>new Notification(e,{body:t,...r});return"granted"===Notification.permission?{nativeToastRef:i()}:(Notification.requestPermission().then(e=>{if("granted"===e)return{nativeToastRef:i()}}),!0)};var o=r(44429);let l=i.createContext({}),u=i.createContext(null),h=()=>i.useContext(u),d=({children:e,options:t})=>{let r=i.useRef(0),[h,d]=i.useState(null),[c,f]=i.useState(null),p=i.useCallback((e,i)=>{let o=i?.native??t.native,l=Array.isArray(o)?o.includes("web"):"web"===o,u=Array.isArray(o)?o.includes("mobile"):"mobile"===o,h=u||(Array.isArray(o)?o.includes("android"):"android"===o),c=u||(Array.isArray(o)?o.includes("ios"):"ios"===o),p=!0===o||n.isWeb&&l||!n.isWeb&&u||"android"===s.Z.OS&&h||"ios"===s.Z.OS&&c;if(p){let t=a(e,i??{});"object"==typeof t&&t.nativeToastRef&&f(t.nativeToastRef)}return r.current++,d({...i?.customData,...i,viewportName:i?.viewportName??"default",title:e,id:r.current.toString(),isHandledNatively:p}),!0},[d,JSON.stringify(t.native||null)]),_=i.useCallback(()=>{c?.close(),d(null)},[d,c]),m=i.useMemo(()=>({show:p,hide:_,nativeToast:c,options:t}),[p,_,c,JSON.stringify(t||null)]);return(0,o.jsx)(l.Provider,{value:m,children:(0,o.jsx)(u.Provider,{value:h,children:e})})}},46537:function(e,t,r){"use strict";r.d(t,{FE:function(){return d},Kx:function(){return c},VW:function(){return _},ZD:function(){return m},jz:function(){return p}});var i=r(22344),n=r(5952),s=r(7653),a=r(85122),o=r(47818),l=r(72089),u=r(44429);let h="ToastProvider",[d,c]=(0,i.B)("Toast"),{Provider:f,useStyledContext:p}=(0,n.createStyledContext)(),_=e=>{let{__scopeToast:t,id:r,burntOptions:i,native:n,notificationOptions:h,label:c="Notification",duration:p=5e3,swipeDirection:_="right",swipeThreshold:m=50,children:v}=e,g=s.useId(),[b,y]=s.useState({}),[C,w]=s.useState(0),S=s.useRef(!1),k=s.useRef(!1),x=s.useCallback((e,t)=>{(0,a.L)(()=>{y(r=>({...r,[e]:t}))})},[]),N=s.useMemo(()=>({duration:p,burntOptions:i,native:n,notificationOptions:h}),[JSON.stringify([p,i,n,h])]);return(0,u.jsx)(d.Provider,{__scopeCollection:t||o.B,children:(0,u.jsx)(f,{scope:t,id:r??g,label:c,duration:p,swipeDirection:_,swipeThreshold:m,toastCount:C,viewports:b,onViewportChange:x,onToastAdd:s.useCallback(()=>{(0,a.L)(()=>{w(e=>e+1)})},[]),onToastRemove:s.useCallback(()=>{(0,a.L)(()=>{w(e=>e-1)})},[]),isFocusedToastEscapeKeyDownRef:S,isClosePausedRef:k,options:N,children:(0,u.jsx)(l.e7,{options:N,children:v})})})};function m(e){let{children:t,context:r}=e;return(0,u.jsx)(d.Provider,{__scopeCollection:o.B,children:(0,u.jsx)(f,{...r,children:(0,u.jsx)(l.e7,{options:r.options,children:t})})})}
1_.propTypes={label:e=>e.label&&"string"==typeof e.label&&!e.label.trim()?Error(`Invalid prop \`label\` supplied to \`${h}\`. Expected non-empty \`string\`.`):null},_.displayName=h},17683:function(e,t,r){"use strict";r.d(t,{_i:function(){return S},hu:function(){return b},AR:function(){return y}});var i=r(234),n=r(81051),s=r(93500),a=r(5952),o=r(57970),l=r(25236),u=r(90549),h=r(7653),d=r(47818),c=r(35524),f=r(46537),p=r(44429);function _({children:e,zIndex:t}){let r=e;return("android"===c.Z.OS||"ios"===c.Z.OS)&&(r=(0,p.jsx)(f.ZD,{context:(0,f.jz)(),children:e})),(0,p.jsx)(o.h_,{zIndex:t||Number.MAX_SAFE_INTEGER,children:r})}var m=r(32689);let v="ToastViewport",g=["F8"],b="toast.viewportPause",y="toast.viewportResume",C=(0,a.styled)(l.FA,{name:"ViewportWrapper",variants:{unstyled:{false:{pointerEvents:"box-none",top:0,bottom:0,left:0,right:0,position:s.$L?"fixed":"absolute",maxWidth:"100%",tabIndex:0,zIndex:1e5}}},defaultVariants:{unstyled:"1"===m.env.TAMAGUI_HEADLESS}}),w=(0,a.styled)(l.FA,{name:v,variants:{unstyled:{false:{pointerEvents:"box-none",position:s.$L?"fixed":"absolute",maxWidth:"100%"}}},defaultVariants:{unstyled:"1"===m.env.TAMAGUI_HEADLESS}}),S=h.memo(h.forwardRef((e,t)=>{let{__scopeToast:r,hotkey:a=g,label:l="Notifications ({hotkey})",name:u="default",multipleToasts:c,zIndex:m,portalToRoot:v,...S}=e,N=(0,f.jz)(r),T=(0,f.Kx)(r||d.B),L=h.useRef(null),E=h.useRef(null),I=h.useRef(null),R=h.useRef(null),A=h.useCallback(e=>{N.viewports[u]!==e&&N.onViewportChange(u,e)},[u,N.viewports]),V=(0,n.ex)(t,R,A),M=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),P=N.toastCount>0;h.useEffect(()=>{if(!s.$L||0===N.toastCount)return;let e=e=>{a.every(t=>e[t]||e.code===t)&&R.current?.focus()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[a,N.toastCount]),h.useEffect(()=>{if(!s.$L||0===N.toastCount)return;let e=I.current,t=R.current;if(P&&e&&t){let r=()=>{if(!N.isClosePausedRef.current){let e=new CustomEvent(b);t.dispatchEvent(e),N.isClosePausedRef.current=!0}},i=()=>{if(N.isClosePausedRef.current){let e=new CustomEvent(y);t.dispatchEvent(e),N.isClosePausedRef.current=!1}},n=t=>{e.contains(t.relatedTarget)||i()},s=()=>{e.contains(document.activeElement)||i()};return e.addEventListener("focusin",r),e.addEventListener("focusout",n),e.addEventListener("pointermove",r),e.addEventListener("pointerleave",s),window.addEventListener("blur",r),window.addEventListener("focus",i),()=>{e.removeEventListener("focusin",r),e.removeEventListener("focusout",n),e.removeEventListener("pointermove",r),e.removeEventListener("pointerleave",s),window.removeEventListener("blur",r),window.removeEventListener("focus",i)}}},[P,N.isClosePausedRef,N.toastCount]);let O=h.useCallback(({tabbingDirection:e})=>{let t=T().map(t=>{let r=t.ref.current,i=[r,...function(e){if(!s.$L)return[];let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}(r)];return"forwards"===e?i:i.reverse()});return("forwards"===e?t.reverse():t).flat()},[T]);h.useEffect(()=>{if(!s.$L||0===N.toastCount)return;let e=R.current;if(e){let t=t=>{let r=t.altKey||t.ctrlKey||t.metaKey;if("Tab"===t.key&&!r){let r=document.activeElement,i=t.shiftKey;if(t.target===e&&i){L.current?.focus();return}let n=O({tabbingDirection:i?"backwards":"forwards"}),s=n.findIndex(e=>e===r);x(n.slice(s+1))?t.preventDefault():i?L.current?.focus():E.current?.focus()}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)}},[T,O,N.toastCount]);let F=(0,p.jsxs)(C,{ref:I,role:"region","aria-label":l.replace("{hotkey}",M),tabIndex:-1,children:[P&&(0,p.jsx)(k,{__scopeToast:r,viewportName:u,ref:L,onFocusFromOutsideViewport:()=>{x(O({tabbingDirection:"forwards"}))}}),(0,p.jsx)(f.FE.Slot,{__scopeCollection:r||d.B,children:(0,p.jsx)(w,{focusable:N.toastCount>0,ref:V,...S,children:(0,p.jsx)(o.$2,{render:e=>(0,p.jsx)(i.M,{exitBeforeEnter:!c,children:e}),name:u??"default"})})}),P&&(0,p.jsx)(k,{__scopeToast:r,viewportName:u,ref:E,onFocusFromOutsideViewport:()=>{x(O({tabbingDirection:"backwards"}))}})]});return v?(0,p.jsx)(_,{..."number"==typeof m?{zIndex:m}:{},children:F}):F}));S.displayName=v;let k=h.forwardRef((e,t)=>
1{let{__scopeToast:r,onFocusFromOutsideViewport:i,viewportName:n,...a}=e,o=(0,f.jz)(r).viewports[n];return(0,p.jsx)(u.T,{"aria-hidden":!0,tabIndex:0,...a,ref:t,position:s.$L?"fixed":"absolute",onFocus:e=>{if(!s.$L)return;let t=e.relatedTarget;o?.contains(t)||i()}})});function x(e){if(!s.$L)return;let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}k.displayName="ToastFocusProxy"},47818:function(e,t,r){"use strict";r.d(t,{B:function(){return n},F:function(){return i}});let i="Toast",n="Toast"},90549:function(e,t,r){"use strict";r.d(t,{T:function(){return n}});var i=r(79953);let n=(0,i.styled)(i.Text,{position:"absolute",width:1,height:1,margin:-1,zIndex:-1e4,overflow:"hidden",opacity:1e-8,pointerEvents:"none",variants:{preserveDimensions:{true:{position:"relative",width:"auto",height:"auto"}},visible:{true:{position:"relative",width:"auto",height:"auto",margin:0,zIndex:1,overflow:"visible",opacity:1,pointerEvents:"auto"}}}});n.isVisuallyHidden=!0},82431:function(e,t,r){"use strict";r.d(t,{NL:function(){return a},aH:function(){return o}});var i=r(7653),n=r(44429),s=i.createContext(void 0),a=e=>{let t=i.useContext(s);if(e)return e;if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},o=e=>{let{client:t,children:r}=e;return i.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),(0,n.jsx)(s.Provider,{value:t,children:r})}},69315:function(e,t,r){"use strict";r.d(t,{Pu:function(){return s}}),r(7653);var i=r(2435);let n=new WeakMap;function s(e,t){let r=(0,i.useStore)(t),n=a(r);for(let[i,s]of e)(!n.has(i)||(null==t?void 0:t.dangerouslyForceHydrate))&&(n.add(i),r.set(i,s))}let a=e=>{let t=n.get(e);return t||(t=new WeakSet,n.set(e,t)),t}},48029:function(e,t,r){"use strict";r.d(t,{_:function(){return i}});let i=r(5952).createTamagui},55921:function(e,t,r){"use strict";r.d(t,{r:function(){return a}});var i=r(5952),n=r(57970),s=r(44429);let a=({children:e,...t})=>(0,s.jsx)(i.TamaguiProvider,{...t,children:(0,s.jsx)(n.Xp,{shouldAddRootHost:!0,children:e})})},59965:function(e,t,r){"use strict";r.d(t,{x:function(){return s}});var i=r(5952),n=r(32689);let s=(0,i.styled)(i.Text,{variants:{unstyled:{false:{color:"$color"}}},defaultVariants:{unstyled:"1"===n.env.TAMAGUI_HEADLESS}})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.