(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[4115],{534833(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{r:()=>o});var e=__webpack_require__(515863);__webpack_require__.n(e);var t=__webpack_require__(67659);var r=__webpack_require__(543910);var a=__webpack_require__(833081);var n=__webpack_require__(544089);var l=__webpack_require__(967500);var i=__webpack_require__(54563);var s=__webpack_require__(417900);var u=__webpack_require__(59836);function o(){let e=(0,a.d4)(u.Bo);let t=d();let{data:r}=c(e?t:null);return r??null}function d(){let e=(0,a.d4)(l._);let r=(0,a.d4)(i.gr);return(0,t.useMemo)(()=>e?.address?(0,s.B)(e.address,r):null,[e?.address,r])}function c(t){let a=(0,e.c)(7);let l;let i;a[0]!==t?(l=["rewardsVipTier",t],i=async()=>{return await (0,n.Rb)("rewardsGetVipTierForAccount",[String(t)])??null},a[0]=t,a[1]=l,a[2]=i):(l=a[1],i=a[2]);let s=t!==null;let u;return a[3]!==l||a[4]!==i||a[5]!==s?(u={queryKey:l,queryFn:i,enabled:s},a[3]=l,a[4]=i,a[5]=s,a[6]=u):u=a[6],(0,r.I)(u)}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},764115(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{R:()=>u});var e=__webpack_require__(515863);__webpack_require__.n(e);var t=__webpack_require__(67659);var r=__webpack_require__(301619);var a=__webpack_require__(954817);var n=__webpack_require__(33745);var l=__webpack_require__(308571);var i=__webpack_require__(534833);var s=__webpack_require__(910402);let u=()=>{let u=(0,e.c)(6);let o=(0,l.P)();let d=(0,i.r)();if(!d)return null;let c;u[0]===Symbol.for("react.memo_cache_sentinel")?(c=t.createElement(s.M,{variant:s.x.Vip,size:14}),u[0]=c):c=u[0];let h;u[1]!==o||u[2]!==d?(h=o("vip",[d]),u[1]=o,u[2]=d,u[3]=h):h=u[3];let v;return u[4]!==h?(v=t.createElement(a.a,{className:"w-max rounded-md bg-gradient-to-r from-[#ECB920] to-[65%] to-[#ECBC2D]/[11%] p-[1px] border-1","data-testid":"rewards-vip-badge"},t.createElement(a.a,{className:"w-max flex flex-row rounded-md bg-warning-inverse"},t.createElement(a.a,{className:"w-max flex flex-row rounded-md whitespace-nowrap px-2 py-0 gap-1 bg-[#ECBC2D]/[11%]"},c,t.createElement(n.E,{variant:r.J3.BodySm,fontWeight:r.IT.Medium},h)))),u[4]=h,u[5]=v):v=u[5],v}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()}}]);