1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9810],{56282:function(e,t,l){var s=l(57437),r=l(61994),n=l(2265),i=l(27312),a=l(53478),o=l(71931),c=l(86118),u=l(72684);let d=e=>{let{index:t,style:l,data:n}=e;if(!n||!n.list)return null;let{itemClassName:i,onItemClick:a}=n,{value:o,displayedRow:c}=n.list[t],u=()=>a(o,c);return(0,s.jsx)("li",{style:l,onClick:u,children:(0,s.jsx)("button",{className:"w-full h-full flex items-center justify-start border-b border-gray-4",onClick:u,children:(0,s.jsx)("div",{className:(0,r.Z)("w-full",i),children:c})})})},h=n.memo(e=>{var t;let{openedPlaceholder:l,closedPlaceholder:h,triggerClassName:m,listWidth:f=460,listClassName:x,itemClassName:v,itemSize:g=30,visibleItemsCount:p=10,onChange:b,onSearch:w,children:j}=e,y=n.useRef(null),N=n.useRef(null),[k,C]=n.useState(!1),[Z,S]=n.useState(""),[L,M]=n.useState(""),E=n.useMemo(()=>Z||L,[Z,L]),[_,D]=(0,o.Nr)(E,500),[O,T]=n.useState([]),[z,I]=n.useState([]),P=(0,c.ac)(c.zP.MOBILE),[F,R]=n.useState(!1),V=n.useCallback(()=>R(!0),[]),W=n.useCallback(()=>R(!1),[]),A=n.useCallback((e,t)=>{b&&b({value:e,displayedRow:t}),S(""),M(e),W()},[b,W]),B=n.useCallback(e=>{M(""),S(e.target.value)},[]),Y=n.useCallback(()=>{S(""),M("")},[]);n.useEffect(()=>{C(!0),w("").then(e=>{T(e)}).catch(e=>console.log(e)).finally(()=>C(!1))},[w]),n.useEffect(()=>{if(!Z&&!L){I(O),b&&b(void 0);return}_&&(C(!0),w(_).then(e=>{I(e)}).catch(e=>console.log(e)).finally(()=>C(!1)))},[Z,L,_,O,b,w]);let K=n.useMemo(()=>{var e;let t=null!==(e=null==z?void 0:z.length)&&void 0!==e?e:0;return t>=p?p*g:t*g},[null==z?void 0:z.length,g,p]);return(0,s.jsxs)(i.fC,{open:F,children:[(0,s.jsx)(i.xz,{asChild:!0,onClick:V,children:(0,s.jsxs)("label",{ref:N,className:(0,r.Z)("w-full h-10 px-4 flex items-center justify-center gap-2 rounded-lg body_1 text-white shrink-0 cursor-pointer",m,"border-2 border-gray-2 bg-gray-5 focus-within:border-white hover:border-white"),children:[(0,s.jsx)(u.W1,{className:"text-white"}),(0,s.jsx)("input",{ref:y,type:P?"button":"text",className:(0,r.Z)("w-full text-left outline-0 bg-gray-5"),placeholder:F?l:h,onChange:B,value:P?E||h||"":E}),k&&(0,s.jsx)("div",{className:"shrink-0 flex items-center justify-center rounded-full text-white",children:(0,s.jsx)(u.aN,{className:"sm:w-6 sm:h-6"})}),!P&&!k&&!D.isPending()&&E&&(0,s.jsx)("button",{onClick:Y,className:"shrink-0 flex items-center justify-center rounded-full text-white",children:(0,s.jsx)(u.Tw,{})})]})}),P&&(0,s.jsx)(i.ee,{className:"fixed top-0 left-0"}),(0,s.jsx)(i.h_,{children:(0,s.jsx)(i.VY,{asChild:!0,side:P?"top":"bottom",sideOffset:8,style:{height:P?"100dvh":void 0},className:(0,r.Z)("py-3 z-50 text-white bg-gray-5 rounded-lg",x),onEscapeKeyDown:W,onOpenAutoFocus:e=>e.preventDefault(),onInteractOutside:e=>{let t=e.target,l=t===y.current,s=t===N.current;l||s?e.preventDefault():W()},children:(0,s.jsxs)("div",{className:"w-full h-full flex flex-col",children:[P&&(0,s.jsxs)("div",{className:"w-full px-3 flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"w-full flex items-center justify-between h2 text-white",children:[(0,s.jsx)("p",{children:h}),(0,s.jsx)("button",{onClick:W,className:"shrink-0 flex items-center justify-center rounded-full text-white",children:(0,s.jsx)(u.Tw,{})})]}),(0,s.jsxs)("label",{className:(0,r.Z)("w-full h-10 px-4 flex items-center justify-center gap-2 rounded-lg body_1 text-white shrink-0 cursor-pointer",m,"border-2 border-gray-2 bg-gray-5 focus-within:border-white hover:border-white"),children:[(0,s.jsx)(u.W1,{className:"text-white"}
1),(0,s.jsx)("input",{autoFocus:!0,type:"text",className:(0,r.Z)("md:hidden w-full text-left outline-0 bg-gray-5"),placeholder:l,onChange:B,value:E}),k&&(0,s.jsx)("div",{className:"shrink-0 flex items-center justify-center rounded-full text-white",children:(0,s.jsx)(u.aN,{className:"sm:w-6 sm:h-6"})}),!k&&!D.isPending()&&E&&(0,s.jsx)("button",{onClick:Y,className:"shrink-0 flex items-center justify-center rounded-full text-white",children:(0,s.jsx)(u.Tw,{})})]})]}),(0,s.jsx)("ul",{role:"listbox",children:(0,s.jsx)(a.t7,{width:P?"100dvw":f,height:K,className:"scrollbar",itemCount:null!==(t=null==z?void 0:z.length)&&void 0!==t?t:0,itemSize:g,itemData:{list:z,itemClassName:v,onItemClick:A},children:d})}),j]})})})]})});t.default=h},56563:function(e,t,l){var s=l(57437),r=l(61994),n=l(2265),i=l(27312),a=l(53478),o=l(72684),c=l(86118);let u=e=>{let{index:t,style:l,data:n}=e;if(!n||!n.list)return null;let{itemClassName:i,onItemClick:a}=n,{value:o,displayedValue:c}=n.list[t],u=()=>a(o,c);return(0,s.jsx)("li",{style:l,onClick:u,children:(0,s.jsx)("button",{className:"w-full h-full px-3 flex items-center justify-start border-b border-gray-4",onClick:u,children:(0,s.jsx)("span",{className:(0,r.Z)("w-full block body_2 text-ellipsis overflow-hidden whitespace-nowrap",i),children:c})})})},d=n.memo(e=>{var t;let{item:l,openedPlaceholder:d,closedPlaceholder:h,triggerClassName:m,inputClassName:f,list:x,listWidth:v=144,listClassName:g,itemClassName:p,itemSize:b=30,visibleItemsCount:w=10,onChange:j}=e,y=n.useRef(null),N=n.useRef(null),[k,C]=n.useState(""),[Z,S]=n.useState(x),L=(0,c.ac)(c.zP.MOBILE),[M,E]=n.useState(!1),_=n.useCallback(()=>E(!0),[]),D=n.useCallback(()=>E(!1),[]),O=n.useCallback((e,t)=>{j({value:e,displayedValue:t}),C(""),D()},[j,D]),T=n.useCallback(e=>{C(e.target.value),""===e.target.value?(S(x),j(void 0)):(_(),S(null==x?void 0:x.filter(t=>{let{displayedValue:l}=t;return l.toLowerCase().includes(e.target.value.toLowerCase())})))},[x,j,_]),z=n.useCallback(()=>{C(""),S(x),j(void 0)},[x,j]),I=n.useMemo(()=>{var e;let t=null!==(e=null==Z?void 0:Z.length)&&void 0!==e?e:0;return t>=w?w*b:t*b},[null==Z?void 0:Z.length,b,w]);return(0,s.jsxs)(i.fC,{open:M,children:[(0,s.jsx)(i.xz,{asChild:!0,onClick:_,children:(0,s.jsxs)("label",{ref:N,className:(0,r.Z)("w-36 h-12 flex items-center justify-center rounded-lg body_1 text-white shrink-0 cursor-pointer",m,M?"px-1 gap-1 border-2 border-gray-2 bg-gray-5 focus-within:border-white hover:border-white":"px-4 gap-2 bg-gray-23 hover:bg-gray-2"),children:[M&&(0,s.jsx)(o.W1,{className:"md:w-4 md:h-4 text-white shrink-0"}),(0,s.jsx)("input",{ref:y,type:L?"button":"text",className:(0,r.Z)("w-full outline-0",f,M?"bg-gray-5":"bg-gray-23 hover:bg-gray-2 cursor-pointer"),placeholder:M?d:h,onChange:T,value:L?k||(null==l?void 0:l.displayedValue)||h||"":k||(null==l?void 0:l.displayedValue)||k}),!M&&(0,s.jsx)(o.Rc,{className:"-rotate-90"})]})}),L&&(0,s.jsx)(i.ee,{className:"fixed top-0 left-0"}),(0,s.jsx)(i.h_,{children:(0,s.jsx)(i.VY,{asChild:!0,side:L?"top":"bottom",sideOffset:8,style:{height:L?"100dvh":void 0},className:(0,r.Z)("z-50 py-3 text-white bg-gray-5 rounded-lg",g),onEscapeKeyDown:D,onOpenAutoFocus:e=>e.preventDefault(),onInteractOutside:e=>{let t=e.target,l=t===y.current,s=t===N.current;l||s?e.preventDefault():(D(),C(""),S(x))},children:(0,s.jsxs)("div",{className:"w-full h-full flex flex-col items-center gap-6",children:[L&&(0,s.jsxs)("div",{className:"w-full px-3 flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"w-full flex items-center justify-between h2 text-white",children:[(0,s.jsx)("p",{children:h}),(0,s.jsx)("button",{onClick:D,className:"shrink-0 flex items-center justify-center rounded-full text-white",children:(0,s.jsx)(o.Tw,{})})]}),(0,s.jsxs)("label",{className:(0,r.Z)("w-full h-10 px-4 flex items-center justify-center gap-2 rounded-lg body_1 text-white shrink-0 cursor-pointer",m,"border-2 border-gray-2 bg-gray-5 focus-within:border-white hover:border-white"),children:[(0,s.jsx)(o.W1,{className:"text-white"}
1),(0,s.jsx)("input",{autoFocus:!0,type:"text",className:(0,r.Z)("md:hidden w-full text-left outline-0 bg-gray-5"),placeholder:d,onChange:T,value:k||(null==l?void 0:l.displayedValue)||k}),(k||(null==l?void 0:l.displayedValue))&&(0,s.jsx)("button",{onClick:z,className:"shrink-0 flex items-center justify-center rounded-full text-white",children:(0,s.jsx)(o.Tw,{})})]})]}),(0,s.jsx)("ul",{role:"listbox",children:(0,s.jsx)(a.t7,{width:L?"100dvw":v,height:I,className:"scrollbar",itemCount:null!==(t=null==Z?void 0:Z.length)&&void 0!==t?t:0,itemSize:b,itemData:{list:Z,itemClassName:p,onItemClick:O},children:u})})]})})})]})});t.default=d},48983:function(e,t,l){var s=l(57437),r=l(2265),n=l(61994),i=l(92106),a=l(72684);let o=r.memo(e=>{let{itemWidth:t,gap:l,itemsCount:o,listClassName:c,btnClassName:u,children:d}=e,[h,m]=r.useState(0),f=r.useRef(0),{width:x,ref:v}=(0,i.Wq)(),{md:g,lg:p,lg2:b,xl:w,xxl:j}=(0,i.Fy)(),y=r.useMemo(()=>j&&t.xxl||w&&t.xl||b&&t.lg2||p&&t.lg||g&&t.md||t.sm,[g,p,b,w,j,t]),N=r.useMemo(()=>j&&l.xxl||w&&l.xl||b&&l.lg2||p&&l.lg||g&&l.md||l.sm,[g,p,b,w,j,l]),k=Math.floor(x/(y+N))*(y+N),C=(y+N)*o-N-x,Z=r.useMemo(()=>h>=C,[h,C]),S=r.useMemo(()=>0===h,[h]),L=r.useCallback(()=>{m(e=>{var t;let l=e+k,s=l>=C?C:l;return null===(t=v.current)||void 0===t||t.scroll({left:s,behavior:"smooth"}),s})},[C,v,k]),M=r.useCallback(()=>{m(e=>{var t;let l=e+y+N,s=l>=C?C:l;return null===(t=v.current)||void 0===t||t.scroll({left:s,behavior:"smooth"}),s})},[y,N,C,v]),E=r.useCallback(()=>{m(e=>{var t;let l=e-k,s=l<=0?0:l;return null===(t=v.current)||void 0===t||t.scroll({left:s,behavior:"smooth"}),s})},[v,k]),_=r.useCallback(()=>{m(e=>{var t;let l=e-y-N,s=l<=0?0:l;return null===(t=v.current)||void 0===t||t.scroll({left:s,behavior:"smooth"}),s})},[y,N,v]),D=r.useCallback(e=>{f.current=e.touches[0].clientX},[]),O=r.useCallback(e=>{let t=e.changedTouches[0].clientX;f.current>t+50&&M(),f.current<t-50&&_()},[M,_]);return(0,s.jsxs)("div",{className:"w-full relative flex gap-3 items-center",onTouchStart:D,onTouchEnd:O,children:[(0,s.jsx)("button",{className:(0,n.Z)("w-6 h-6 p-1 hidden md:flex shrink-0 items-center justify-center rounded-full",S?"bg-gray-5 text-gray-2":"bg-gray-3 text-white",u),disabled:S,onClick:E,children:(0,s.jsx)(a.Rc,{className:"sm:w-3 sm:h-3 -ml-0.5"})}),(0,s.jsx)("div",{ref:v,className:"w-full overflow-hidden",children:(0,s.jsx)("ul",{style:{gap:N},className:(0,n.Z)("w-full flex items-center",c),children:d})}),(0,s.jsx)("button",{className:(0,n.Z)("w-6 h-6 p-1 hidden md:flex shrink-0 items-center justify-center rounded-full",Z?"bg-gray-5 text-gray-2":"bg-gray-3 text-white",u),disabled:Z,onClick:L,children:(0,s.jsx)(a.Rc,{className:"sm:w-3 sm:h-3 ml-0.5 rotate-180"})})]})});t.default=o},59971:function(e,t,l){var s=l(57437),r=l(2265),n=l(59923),i=l(85323),a=l(54308),o=l(87994),c=l(9519),u=l(75193),d=l(20935),h=l(72684);let m="#141418",f=e=>new Date(1e3*e.time),x=e=>null==e?void 0:e.price,v=r.memo(e=>{let{isLoading:t,chart:l,desc:v,size:g=100,aspectRatio:p=3}=e,b=r.useMemo(()=>{var e,t,s,r;return l.reduce((e,t)=>{let{price:l}=t;return e.min=l<e.min?l:e.min,e.max=l>e.max?l:e.max,e},{min:null!==(s=null===(e=l[0])||void 0===e?void 0:e.price)&&void 0!==s?s:0,max:null!==(r=null===(t=l[0])||void 0===t?void 0:t.price)&&void 0!==r?r:0})},[l]),w=r.useMemo(()=>(0,n.Z)({range:[0,g*p],domain:(0,a.Z)(l,f)}),[p,l,g]),j=r.useMemo(()=>(0,i.Z)({range:[g,0],domain:[b.min,b.max],nice:!0}),[b,g]);return t?(0,s.jsx)("div",{className:"w-full aspect-3/1 flex items-center justify-center text-gray-2",children:(0,s.jsx)(h.aC,{className:"sm:w-[85%]"})}):(null==l?void 0:l.length)||t?(0,s.jsx)("div",{className:"w-full h-full",children:(0,s.jsxs)("svg",{className:"w-full h-full",viewBox:"0 0 ".concat(g*p," ").concat(g),children:[(0,s.jsx)(u.Z,{id:"above-gradient",from:"#62B522",to:"#A1F161",fromOpacity:.3,toOpacity:0}),(0,s.jsx)(u.Z,{id:"below-gradient",from:"#FF6464",to:"#7e4e4",fromOpacity:0,toOpacity:.3}),(0,s.jsx)(o.Z,{data:l,x:e=>{var t;return null!==(t=w(f(e)))&&void 0!==t?t:0},y:e=>{var t;return null!==(t=j(x(e)))&&void 0!==t?t:0},yScale:j,strokeWidth:2,stroke:v?"#DA3539":"#C5EA46",fill:v?"url(#below-gradient)":"url(#above-gradient)",curve:d.Z}),(0,s.jsx)(c.Z,{from:{x:0,y:g},to:{x:g*p,y:g},stroke:m,strokeWidth:5,pointerEvents:"none"}),(0,s.jsx)(c.Z,{from:{x:0,y:g},to:{x:0,y:0},stroke:m,strokeWidth:4,pointerEvents:"none"}),(0,s.jsx)(c.Z,{from:{x:g*p,y:g},to:{x:g*p,y:0},stroke:m,strokeWidth:4,pointerEvents:"none"})]})}):(0,s.jsx)("div",{className:"w-full aspect-3/1"})});t.default=v},4161:function(e,t,l){var s=l(57437),r=l(61994);l(2265);var n=l(49027);t.default=e=>{let{open:t,trigger:l,triggerClassname:i,content:a,contentClassname:o,onOpenChange:c,onClose:u}=e;return(0,s.jsxs)(n.fC,{open:t,onOpenChange:c,children:[(0,s.jsx)(n.xz,{className:i,children:l}),(0,s.jsx)(n.h_,{children:(0,s.jsx)(n.aV,{className:"fixed inset-0 z-[100]",style:{backgroundColor:"rgba(0, 0, 0, 0.7)"},children:(0,s.jsx)(n.VY,{className:(0,r.Z)("fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",o),onInteractOutside:u,children:a})})})]})}},6610:function(e,t,l){var s=l(57437);l(2265);var r=l(70085);t.default=e=>{let{open:t,modal:l,trigger:n,closedTrigger:i,triggerClassname:a,menu:o,menuClassname:c="z-10 shadow-lg transition-shadow py-2 animate-slideDown",sideOffset:u}=e;return(0,s.jsxs)(r.fC,{open:t,modal:l,children:[(0,s.jsx)(r.xz,{className:a,asChild:!0,children:t?i:n}),(0,s.jsx)(r.Uv,{children:(0,s.jsx)(r.VY,{sideOffset:u,className:c,children:o})})]})}},57373:function(e,t,l){var s=l(57437),r=l(61994),n=l(33145),i=l(2265),a=l(27480);let o=i.memo(e=>{let{src:t,alt:l,width:o,height:c,sizes:u,fill:d=!0,priority:h,style:m={}
1,className:f,wrapperClassName:x,loader:v,onLoad:g,onError:p}=e,[b,w]=i.useState(!1);return m.visibility=b?"visible":"hidden",(0,s.jsxs)("div",{className:(0,r.Z)("relative",x),children:[(0,s.jsx)(n.default,{src:t,alt:l,width:o,height:c,style:m,fill:d,priority:h,sizes:u,className:f,onError:()=>{w(!0),p&&p()},onLoad:()=>{w(!0),g&&g()}}),v&&v,!v&&(0,s.jsx)("div",{className:(0,r.Z)("w-full h-full absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 flex items-center justify-center",b?"hidden":"block"),children:(0,s.jsx)(a.Z,{})})]})});t.default=o},90976:function(e,t,l){var s=l(57437),r=l(61994),n=l(2265),i=l(42325);t.default=e=>{let{value:t,list:l,disabled:a,rootClassName:o,constainerClassName:c,itemClassName:u,indicatorClassName:d,labelClassName:h,onValueChange:m}=e,f=n.useMemo(()=>l.map((e,t)=>(0,s.jsx)("div",{className:(0,r.Z)("flex items-center",c),children:(0,s.jsxs)(i.ck,{className:(0,r.Z)("relative px-2 rounded-3xl",u),value:e.value,id:"radioItem".concat(e.value).concat(t),children:[(0,s.jsx)(i.z$,{className:(0,r.Z)("w-full h-full absolute top-0 left-0 flex items-center justify-center rounded-3xl bg-gray-23",d)}),(0,s.jsx)("label",{className:(0,r.Z)("text-white cursor-pointer relative body_2",h),htmlFor:"radioItem".concat(e.value).concat(t),children:e.displayedValue})]})},"radioItem".concat(e.value).concat(t))),[c,d,u,h,l]);return(0,s.jsx)(i.fC,{className:(0,r.Z)("w-fit px-2 py-1 flex gap-3 rounded-3xl border border-gray-3",o),value:t,"aria-label":"View density",onValueChange:m,disabled:a,children:f})}},91419:function(e,t,l){l.d(t,{default:function(){return u}});var s=l(57437),r=l(27648),n=l(2265),i=l(33911),a=l(72684),o=l(61994),c=e=>{let{value:t,className:l,onClick:r}=e,a=n.useCallback(()=>{r&&r(t)},[r,t]);return(0,s.jsx)(i.ck,{value:t,className:(0,o.Z)("flex items-center justify-center cursor-pointer focus:outline-none",l),onClick:a,children:(0,s.jsx)(i.eT,{children:(0,s.jsx)("span",{children:t})})},t)},u=e=>{let{trigger:t,triggerClassName:l,disabled:u=!1,list:d,listWrapperClassName:h,listClassName:m,itemClassName:f,arrowClassName:x,onValueChange:v}=e,g=(0,o.Z)("flex items-center gap-1 md:gap-2 md:px-2 body_2 md:body_1 text-white focus:outline-none",l),p=(0,o.Z)("py-1 md:py-2 bg-gray-3 rounded-lg z-50",h),b=(0,o.Z)("max-h-[18rem] scrollbar overflow-y-scroll",m),w=(0,o.Z)("w-full body_2 md:body_1 text-white hover:bg-gray-2 overflow-hidden",f),[j,y]=n.useState(!1),N=n.useCallback(()=>y(!0),[]),k=n.useCallback(()=>y(!1),[]),[{value:C},Z]=n.useState(t),S=n.useCallback(e=>{Z({value:e}),v&&v(e),k()},[v,k]),L=n.useMemo(()=>{let e=d.map(e=>{let t="href"in e;return(0,s.jsxs)("li",{className:"w-full",children:[t&&(0,s.jsx)(r.default,{className:"w-full",href:e.href,children:(0,s.jsx)(c,{className:w,value:e.value,onClick:S})}),!t&&(0,s.jsx)(c,{className:w,value:e.value,onClick:S})]},e.value)});return(0,s.jsx)("div",{className:p,children:(0,s.jsx)("ul",{className:b,children:e})})},[p,b,w,d,S]);return(0,s.jsxs)(i.fC,{value:C,open:j,children:[(0,s.jsx)(i.xz,{className:g,asChild:!0,disabled:u,onClick:N,children:(0,s.jsxs)("button",{children:[(0,s.jsx)(i.B4,{"aria-label":C,children:C}),(0,s.jsx)(i.JO,{children:(0,s.jsx)(a.Rc,{className:(0,o.Z)("-rotate-90",x)})})]})}),(0,s.jsx)(i.h_,{children:(0,s.jsx)(i.VY,{className:"w-full",position:"popper",sideOffset:4,onEscapeKeyDown:k,onPointerDownOutside:k,children:L})})]})}},66748:function(e,t,l){l.d(t,{default:function(){return d}});var s=l(57437),r=l(61994),n=l(27648),i=l(33145),a=l(2265),o=l(33911),c=l(72684),u=e=>{let{item:t,imageSizes:l,className:n,onClick:c}=e,u=a.useCallback(()=>{c&&c({value:t.value,imgSrc:t.imgSrc})},[c,t.value,t.imgSrc]);return(0,s.jsxs)(o.ck,{value:t.value,className:(0,r.Z)("flex flex-row items-center gap-1 md:gap-2 pl-1 md:pl-2 pr-4 md:pr-7 cursor-pointer focus:outline-none",n),onClick:u,children:[(0,s.jsx)(i.default,{style:{width:l.width,height:l.height},width:l.width,height:l.height,src:t.imgSrc,alt:t.value}),(0,s.jsx)(o.eT,{children:(0,s.jsx)("span",{children:t.value})})]},t.value)},d=e=>{let{trigger:t,triggerClassName:l,side:d,imageSizes:h,list:m,listWrapperClassName:f,listClassName:x,itemClassName:v,onValueChange:g}=e,p=(0,r.Z)("flex items-center gap-1 md:gap-2 md:px-2 body_2 md:body_1 text-white focus:outline-none",l),b=(0,r.Z)("py-1 md:py-2 bg-gray-3 rounded-lg z-50",f),w=(0,r.Z)("w-full max-h-[18rem] scrollbar overflow-y-scroll",x),j=(0,r.Z)("w-full body_2 md:body_1 text-white hover:bg-gray-2 overflow-hidden",v),[y,N]=a.useState(!1),k=a.useCallback(()=>N(!0),[]),C=a.useCallback(()=>N(!1),[]),[{value:Z},S]=a.useState(t),L=a.useCallback(e=>{let{value:t,imgSrc:l}=e;S({value:t,imgSrc:l}),g&&g(t),C()},[g,C]),M=a.useMemo(()=>{let e=m.map(e=>{let t="href"in e;return(0,s.jsxs)("li",{className:"w-full",children:[t&&(0,s.jsx)(n.default,{className:"w-full",href:e.href,children:(0,s.jsx)(u,{className:j,item:e,imageSizes:h,onClick:L})}),!t&&(0,s.jsx)(u,{className:j,item:e,imageSizes:h,onClick:L})]},e.value)});return(0,s.jsx)("div",{className:b,children:(0,s.jsx)("ul",{className:w,children:e})})},[b,w,j,h,m,L]);return(0,s.jsxs)(o.fC,{value:Z,open:y,children:[(0,s.jsx)(o.xz,{className:p,asChild:!0,onClick:k,children:(0,s.jsxs)("button",{children:[(0,s.jsx)(i.default,{style:{width:h.width,height:h.height},width:h.width,height:h.height,src:t.imgSrc,alt:t.value}),(0,s.jsx)(o.B4,{"aria-label":t.value,children:t.value}),(0,s.jsx)(o.JO,{children:(0,s.jsx)(c.Rc,{className:"-rotate-90"})})]})}),(0,s.jsx)(o.VY,{className:"w-full",position:"popper",sideOffset:10,side:d,onEscapeKeyDown:C,onPointerDownOutside:C,hideWhenDetached:!1,children:M})]})}},62797:function(e,t,l){var s=l(57437),r=l(61994),n=l(2265),i=l(27480);let a=n.memo(e=>
1{let{videoElement:t,src:l,poster:a,autoPlay:o,playsInline:c,className:u,wrapperClassName:d,onEnded:h,onTimeUpdate:m}=e,[f,x]=n.useState(!1);return(0,s.jsxs)("div",{className:(0,r.Z)("relative",d),children:[(0,s.jsx)("video",{ref:t,style:{visibility:f?"visible":"hidden"},autoPlay:o,playsInline:c,className:u,poster:a,src:l,onSeeking:e=>console.log(e),onCanPlay:()=>x(!0),onEnded:h,onTimeUpdate:m}),(0,s.jsx)("div",{className:(0,r.Z)("w-full h-full absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 flex items-center justify-center",f?"hidden":"block"),children:(0,s.jsx)(i.Z,{})})]})});t.default=a},37059:function(e,t,l){var s=l(92106);t.default=e=>{let{serverContentLoadTime:t}=e;return console.log({serverContentLoadTime:t}),(0,s.do)(),null}},92106:function(e,t,l){l.d(t,{Jq:function(){return d},Fy:function(){return s.ZP},Wq:function(){return o},do:function(){return n}});var s=l(86118),r=l(37746),n=()=>{(0,r.useReportWebVitals)(e=>{switch(e.name){case"TTFB":case"FID":case"FCP":case"LCP":case"CLS":case"Next.js-render":case"Next.js-route-change-to-render":case"Next.js-hydration":console.log(e.name,e.value,e.rating)}})},i=l(2265),a=l(45664),o=()=>{let[e,t]=(0,i.useState)(0),l=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=l.current,s=new ResizeObserver(e=>{(0,a.P2)(t(e[0].contentRect.width),200)});return e&&s.observe(e),()=>{e&&s.unobserve(e)}},[]),{width:e,ref:l}},c=l(42353);let u=e=>e.reduce((e,t)=>(e[t]={isLoading:!0,chart:[]},e),{});var d=e=>{let{hdr_ids:t,currency:l,interval:s,count:r,aggregate:n}=e,[o,d]=i.useState(()=>u(t)),h=i.useCallback((e,t,l,s,r,n)=>{d(e=>{for(let t in e)e[t].isLoading=!0;return{...e}}),(0,a.y4)(e).forEach(e=>c.k9.getCombinedChart({hdr_ids:e.join(","),currency:t,interval:l,count:s,aggregate:r,abortSignal:n}).then(t=>{d(l=>(e.forEach(e=>{if(l[e]){var s;l[e].chart=null!==(s=t[e])&&void 0!==s?s:[],l[e].isLoading=!1}}),{...l}))}))},[]);return i.useEffect(()=>{let e=new AbortController;return h(t,l,s,r,n,e.signal),()=>e.abort()},[t,l,s,r,n,h]),o}},86118:function(e,t,l){l.d(t,{ac:function(){return i},zP:function(){return r}});var s,r,n=l(2265);(s=r||(r={})).XXL="(min-width: 1920px)",s.XL="(min-width: 1440px)",s.DESKTOP="(min-width: 1440px) and (max-width: 1919px)",s.LG2="(min-width: 1280px)",s.LAPTOP2="(min-width: 1280px) and (max-width: 1439px)",s.LG="(min-width: 1024px)",s.LAPTOP="(min-width: 1024px) and (max-width: 1279px)",s.MD="(min-width: 768px)",s.TABLET="(min-width: 768px) and (max-width: 1023px)",s.SM="(min-width: 0px)",s.MOBILE="(max-width: 767px)";let i=e=>{let t=(0,n.useMemo)(()=>window.matchMedia(e),[e]),[l,s]=(0,n.useState)(null);return(0,n.useLayoutEffect)(()=>{if(!t)return;let e=()=>s(t.matches);return e(),t.addEventListener("change",e),()=>t.removeEventListener("change",e)},[t]),l};t.ZP=()=>{var e,t,l,s,r;let n=null===(e=i("(min-width: 768px)"))||void 0===e||e,a=null===(t=i("(min-width: 1024px)"))||void 0===t||t,o=null===(l=i("(min-width: 1280px)"))||void 0===l||l,c=null===(s=i("(min-width: 1440px)"))||void 0===s||s,u=null===(r=i("(min-width: 1920px)"))||void 0===r||r,d={isDesktop2:!1,isDesktop:!1,isLaptop2:!1,isLaptop:!1,isTablet:!1,isMobile:!1,sm:!0,md:n,lg:a,lg2:o,xl:c,xxl:u};return u?d.isDesktop2=!0:c?d.isDesktop=!0:o?d.isLaptop2=!0:a?d.isLaptop=!0:n?d.isTablet=!0:d.isMobile=!0,d}},45664:function(e,t,l){l.d(t,{IT:function(){return j},Rj:function(){return p},Yj:function(){return x},ee:function(){return n},dN:function(){return i},T4:function(){return a},p6:function(){return c},AX:function(){return o},lY:function(){return u},YM:function(){return h},wH:function(){return m},y4:function(){return v},P2:function(){return b}});var s=l(57437);let r=e=>{let t=String(e),l=t.split(""),s=l.length,r=0;for(let e=1;e<l.length;e++)if("0"===l[s-e])r++;else break;return Number(t.slice(0,s-r))},n=e=>{let{value:t,amountOfZeroes:l,fractionDigits:n,withTrailingZeroes:i,className:a,getSvg:o}=e,c=t.split(""),u=c.indexOf("0"),d=c[u+1],h=c.slice(0,u).join(""),m=String(l),f=c.slice(u+1+l+1).join(""),x=r(Number(f)),v="".concat(h,"0").concat(d,"0"),g=i?f:String(x),p=o&&o(v,m,g);return{markup:(0,s.jsxs)(s.Fragment,{children:[v,(0,s.jsx)("sub",{className:a,children:m}),g]}),length:u+2+m.length+n,svg:p}},i=e=>{let{amount:t,currency:l,fractionDigits:s=2,fractionDigitsSmall:r=4,isStrictFractionDigits:i=!1,withTrailingZeroes:a=!1,isCompact:o=!1,withCollapsingZeroes:c=!0,subscriptClassName:u,getSvg:d}=e,h=Number(t),m=Math.abs(h),f=h<0,x=String(t);if(!t||!h){let e=new Intl.NumberFormat("en-US",{currency:l,style:l?"currency":"decimal"}).format(0);return{value:e,negative:!1,markup:e,length:e.length,svg:d&&d(e,"","")}}if(o&&m>1){let e=Intl.NumberFormat("en-US",{notation:"compact",currency:l,style:l?"currency":"decimal"}).format(h);return{value:e,negative:f,markup:e,length:e.length,svg:d&&d(e,"","")}}let v=s;m<1&&m>=.1&&(v=4),m<.1&&m>=.01&&(v=5),m<.01&&m>=.001&&(v=6),m<.001&&m>=1e-4&&(v=7),m<1e-4&&m>=1e-5&&(v=8);let g=0,p=x.lastIndexOf("e");if(m<1e-5){let e=String(m).split("");
1if(-1===p)for(let t=2;t<e.length;t++)if("0"===e[t])g++;else break;else g=Number(x.slice(p+2))-1;v=g+r}i&&(v=s);let b=10**v,w=a?v:0;w=m<1?v:w;let j=new Intl.NumberFormat("en",{minimumFractionDigits:w,maximumFractionDigits:v,currency:l,style:l?"currency":"decimal"}).format(Math.ceil(m*b)/b);if(c&&m<1e-5){let e=n({value:j,amountOfZeroes:g,fractionDigits:v,withTrailingZeroes:a,className:u,getSvg:d});return{value:j,negative:f,markup:e.markup,length:e.length,svg:e.svg}}return{value:j,negative:f,markup:j,length:j.length,svg:d&&d(j,"","")}},a=e=>{if(!e)return"0";let t=Number(e);return t<999?"".concat(Math.round(100*t)/100):t<999999?"".concat(Math.round(t/10)/100,"K"):t<999999999?"".concat(Math.round(t/1e4)/100,"M"):t<999999999999?"".concat(Math.round(t/1e7)/100,"B"):"".concat(Math.round(t/1e10)/100,"T")},o=(e,t)=>{if(!e)return t;try{return new URL(e),e}catch(e){return t}},c=e=>{let{stamp:t,isSec:l=!0,withYear:s=!0,withMonth:r=!0,withDay:n=!0,withTime:i=!0}=e;return new Date(l?1e3*t:t).toLocaleString("en-GB",{day:n?"numeric":void 0,month:r?"short":void 0,year:s?"numeric":void 0,hour:i?"2-digit":void 0,minute:i?"2-digit":void 0})},u=e=>{let{isoString:t,withTime:l=!0}=e;return new Date(Date.parse(t)).toLocaleString("en-GB",{day:"numeric",month:"short",year:"numeric",hour:l?"2-digit":void 0,minute:l?"2-digit":void 0})};var d=l(79985);let h=e=>{var t;return e&&(null==e?void 0:null===(t=e.attributes)||void 0===t?void 0:t.url)?"".concat(d.Qs).concat(e.attributes.url):"/empty.svg"},m=e=>"".concat(d.Qs).concat(e.attributes.url),f=[".mp4",".mpeg",".wmv",".avi",".flv",".mov"],x=e=>!!e&&f.includes(e.attributes.ext),v=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,l=0,s=[];for(let r of e)s[l]||(s[l]=[]),s[l].length===t&&(s[l+=1]=[]),s[l].push(r);return s};var g=l(29450);let p=e=>{switch(e){case g.m_["1H"]:return 3600;case g.m_["4H"]:return 14400;case g.m_["6H"]:return 21600;case g.m_["12H"]:return 43200;case g.m_["1D"]:return 86400;case g.m_["1W"]:return 604800;case g.m_["1M"]:return 2592e3;default:return 3600}};function b(e,t){let l;return function(){for(var s=arguments.length,r=Array(s),n=0;n<s;n++)r[n]=arguments[n];l||(l=setTimeout(()=>{e(...r),clearTimeout(l),l=void 0},t))}}class w{stop(){this.timer&&clearInterval(this.timer),this.stopListeners.forEach(e=>{e()})}start(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.timer&&clearInterval(this.timer),this.seconds=e,this.timer=setInterval(()=>{this.seconds=this.seconds?this.seconds-t:0,this.minutes=Math.floor(this.seconds/60);let e=this.seconds-60*this.minutes;this.changeListeners.forEach(t=>{this.seconds&&void 0!==this.minutes&&t({sec:e,min:this.minutes})}),this.seconds<=0&&(this.changeListeners.forEach(e=>{e({sec:0,min:0})}),this.stop())},1e3*t)}correct(e){if(this.timer&&clearInterval(this.timer),this.seconds){let t=this.seconds-e;t>0?this.start(t):this.stop()}}addChangeListener(e){this.changeListeners.push(e)}addStopListener(e){this.stopListeners.push(e)}removeChangeListener(){this.changeListeners=[]}removeStopListeners(){this.stopListeners=[]}removeAllListeners(){this.removeChangeListener(),this.removeStopListeners()}constructor(){this.changeListeners=[],this.stopListeners=[]}}var j=new w}}]);
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.