PageSourceSearch

https://swapter.io/_next/static/chunks/6819-0b842266f0e56bc5.js

js swapter.io collected 2026-10-07 01:39:45 UTC 38,478 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6819],{7801:(e,t,l)=>{l.d(t,{z:()=>r});let r={container:e=>({...e,":active":{borderColor:"#3CC8C8",transition:"all"},":focus":{borderColor:"#3CC8C8",outline:"#3CC8C8",transition:"all"},":hover":{borderColor:"#3CC8C8",outline:"#3CC8C8",transition:"all"},borderBottom:"1px solid #EBEFF629",borderLeft:"none",borderRight:"none",borderTop:"1px solid #EBEFF629",color:"#ffffff"}),control:(e,t)=>{let{isFocused:l}=t;return{...e,backgroundColor:"rgba(255,255,255,0)",border:0,borderRadius:"14px",boxShadow:l?"none":void 0,color:"#ffffff",cursor:"pointer",fontSize:18,fontWeight:500,height:40,margin:"5px 16px",minWidth:150}},indicatorSeparator:e=>({...e,display:"none"}),input:e=>({...e,color:"#FFF"}),menu:e=>({...e,backdropFilter:"blur(8px)",backgroundColor:"#FFFFFF14",borderBottom:"1px solid #EBEFF629",borderLeft:"none",borderRadius:0,borderRight:"none",borderTop:"1px solid #EBEFF629",color:"#FFF",height:"100px",overflow:"hidden",top:43,zIndex:"10"}),menuList:e=>({...e,maxHeight:"100px",overflowX:"hidden",overflowY:"auto"}),option:(e,t)=>{let{isDisabled:l,isFocused:r,isSelected:i}=t;return{...e,":active":{...e[":active"],backgroundColor:i?"rgba(38, 67, 122, 0.16)":void 0},backgroundColor:i?"#3CC8C81F":r?"rgba(38, 67, 122, 0.04)":"rgba(255,255,255,0)",borderBottom:"1px solid #EBEFF629",color:"#FFF",cursor:l?"not-allowed":"pointer",fontSize:16,fontWeight:500,padding:"10px 28px"}},singleValue:e=>({...e,color:"white"})}},12109:(e,t,l)=>{l.d(t,{K:()=>n});var r=l(37876);l(14232);var i=l(69241);let s=e=>{let{item:t,width:l,addStyle:s}=e;return(0,r.jsx)("div",{className:(0,i.A)(l,"px-4 md:px-6",s),children:(0,r.jsx)("p",{className:(0,i.A)("text-white text-sm font-medium uppercase"),children:null==t?void 0:t.title})})},n=e=>{let{children:t,data:l,tableHead:n,isPagination:a}=e;return(0,r.jsxs)("div",{className:(0,i.A)("bg-white/[.02] border-t border-b lg:border border-solid border-white/[.2] min-w-[768px] overflow-visible",a?"":"xl:rounded-b-[40px]"),children:[(0,r.jsx)("div",{className:(0,i.A)((null==l?void 0:l.data.length)?"flex items-center justify-between border-b border-white/[.2] py-3 bg-black/[.2] overflow-visible":"hidden"),children:null==n?void 0:n.map(e=>(0,r.jsx)(s,{item:e,width:e.width},e.key))}),t]})}},20080:(e,t,l)=>{l.d(t,{D:()=>u});var r=l(37876),i=l(14232),s=l(67201),n=l(84183),a=l(63320);let o=e=>{let{setValue:t,value:l,prefix:i}=e;return l&&(0,r.jsxs)("div",{className:"flex w-full justify-between md:justify-start md:w-auto md:gap-1",children:[(0,r.jsxs)("p",{className:"text-white/[.8] text-[14px] font-light leading-[150%]",children:[i," ",(0,r.jsx)("span",{className:"text-white text-[15px] font-bold leading-[150%]",children:l})]}),(0,r.jsx)("button",{onClick:()=>t(null),children:(0,r.jsx)(a.US,{width:16,height:16,color:"#3CC8C8"})})]})};var d=l(69241),c=l(89368);let u=e=>{let{filterData:t,setOpen:l,isOpen:a}=e,{date:u,depositCoin:x,setDate:p,setDepositCoin:h,setCurrency:m,currency:w,setStatus:f,setWithdrawCoin:b,status:v,withdrawCoin:g,setKey:j,searchKey:y,setSearchKey:k}=t,C=(0,c.useTranslations)("Filters"),N=e=>{let t=null===e?"":e;null==j||j(t),null==k||k(t)},F=[{prefix:"status",setValue:f,value:v},{prefix:"currency",setValue:m,value:w},{prefix:"deposit-coin",setValue:h,value:x},{prefix:"withdraw-coin",setValue:b,value:g},{prefix:"date",setValue:p,value:(()=>{if(!u)return;let e=new Date(u.timeFrom),t=new Date(u.timeTo);return"".concat((0,n.O)(null==e?void 0:e.getMonth())," ").concat(null==e?void 0:e.getDate(),", ").concat(null==e?void 0:e.getFullYear()," — ").concat((0,n.O)(null==t?void 0:t.getMonth())," ").concat(null==t?void 0:t.getDate(),", ").concat(null==t?void 0:t.getFullYear())})()},{prefix:"search",setValue:N,value:y}],T=[!!u,!!v,!!g,!!x,!!y,!!w],[S,D]=(0,i.useState)(null);(0,i.useEffect)(()=>{D((e=>{let t=0;for(let l=0;l<=T.length-1;l++)e[l]&&t++;return t})(T))},[t]);let A=()=>{null==f||f(null),null==p||p(null),null==m||m(null),null==h||h(null),null==b||b(null),N("")};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("button",{onClick:()=>l(!a),className:"w-auto max-w-[150px] h-10 ml-4 px-4 py-2.5 bg-swapterBlack rounded-[14px] border border-turquiose flex gap-2 items-center md:hidden justify-center",children:[(0,r.jsx)(s.Y,{}),(0,r.jsxs)("span",{className:"text-white text-[14px] font-light leading-[150%] flex gap-2 ",children:[C("filters"),":"," ",(0,r.jsx)("span",{className:"text-turquiose",children:S||C("none")})]})]}),!!S&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"md:flex flex-col md:flex-row md:items-center gap-3 hidden",children:[(0,r.jsx)("p",{className:"text-placeholder-subtle",children:C("applied-filters")}),(0,r.jsx)("div",{className:"flex flex-col md:flex-row justify-start gap-3",children:F.map((e,t)=>(0,r.jsx)(o,{setValue:e.setValue,value:e.value,prefix:C(e.prefix)},t))}),(0,r.jsx)("p",{className:"text-turquiose text-[16px] font-semibold leading-[150%] hover:bg-turquiose/[.04] hover: rounded-[14px] hover:border-turquiose/[.3] px-4 py-2 transition-all border border-transparent cursor-pointer",onClick:A,children:C("clear-all")})]}),(0,r.jsxs)("div",{className:"flex flex-col md:hidden",children:[(0,r.jsx)("p",{className:"text-placeholder-subtle mb-5 pl-5",children:C("applied-filters")}),(0,r.jsx)("div",{className:"flex flex-col justify-start border-y border-white/[.3] mb-5",children:F.map((e,t)=>(0,r.jsx)("div",{className:(0,d.A)(e.value?"px-5 py-4 ":"hidden",F.length-1===t?"":"border-b border-white/[.3]","max-h-[150px] overflow-y-visible scrollable"),children:(0,r.jsx)(o,{setValue:e.setValue,value:e.value,prefix:C(e.prefix)})},t))}),(0,r.jsx)("p",{className:"mx-5 text-center text-turquiose text-[16px] font-semibold leading-[150%] bg-turquiose/[.04] md:bg-transparent  border-turquiose/[.3] rounded-[14px] md:rounded-[0px]  md:border-transparent md:hover:bg-turquiose/[.04] md:hover:rounded-[14px] md:hover:border-turquiose/[.3]  py-2 transition-all border cursor-pointer",onClick:A,children:C("clear-all")})]})]})]})}},22764:(e,t,l)=>{l.d(t,{y:()=>s});var r=l(89368),i=l(41411);let s=()=>{let e=(0,r.useTranslations)("Widget.Statuses");return[{description:"Waiting for money transfer",label:e("waiting"),title:i.KL.Waiting},{description:"",label:e("confirmation"),title:i.KL.Confirmation},{description:"",label:e("exchanging"),title:i.KL.Exchanging},{description:"",label:e("sending"),title:i.KL.Sending},{description:"",label:e("success"),title:i.KL.Success}]}},22950:(e,t,l)=>{l.d(t,{P:()=>E});var r=l(37876),i=l(14232),s=l(21829),n=l(26456),a=l(63320),o=l(67201),d=l(84183),c=l(97536),u=l(70207),x=l(67598),p=l(69241),h=l(89368),m=l(72507),w=l(7801);let f=e=>{let{filterData:t,search:l,setValue:s,isOpen:n,setOpen:f}=e,{assets:b,isFetched:v}=(0,x.v)(),g=(0,h.useTranslations)("Filters"),j=(0,i.useMemo)(()=>{var e;return v?[{label:g("all"),value:""},...null!=(e=null==b?void 0:b.map(e=>({label:"".concat(null==e?void 0:e.name," (").concat(null==e?void 0:e.currency,")"),logo:null==e?void 0:e.logo,value:null==e?void 0:e.currency})))?e:[]]:[{label:g("all"),value:""}]},[b,v]),[y,k]=(0,i.useState)(!1),C=(0,h.useTranslations)("General"),N=()=>{k(!1)},{date:F,depositCoin:T,setDate:S,setDepositCoin:D,setStatus:A,setWithdrawCoin:P,status:I,withdrawCoin:q,searchKey:E,setSearchKey:O}=t;return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"md:flex gap-3 hidden",children:[(0,r.jsx)(c.A,{withIcon:!1,selectedOption:I,setValue:A,styles:m.C,prefix:g("status"),options:u.dx}),(0,r.jsx)(c.A,{withIcon:!0,selectedOption:T,setValue:D,styles:m.C,prefix:g("from"),options:j}),(0,r.jsx)(c.A,{withIcon:!0,selectedOption:q,setValue:P,styles:m.C,prefix:g("to"),options:j}),(0,r.jsx)(d.A,{setValue:S,value:F})]}),(0,r.jsxs)("div",{className:(0,p.A)(n?"max-w-[1000px] z-10 ":" overflow-hidden  max-w-[0px] translate-x-1"," transition-all ease-in-out duration-200 fixed  inset-[89px] top-20 left-0 bg-swapterBlack/[.3] backdrop-blur-[40px] w-full overflow-y-visible scrollable md:hidden"),children:[(0,r.jsxs)("div",{className:"flex text-[24px] font-bold justify-between p-4 border-b border-white/[.2]",children:[(0,r.jsxs)("p",{className:"flex items-center gap-3 text-white",children:[(0,r.jsx)(o.Y,{width:24,height:24}),g("filters")]}),(0,r.jsx)("button",{onClick:()=>f(!n),className:"border border-white/[.5] rounded-[40px] px-6 py-3",children:(0,r.jsx)(a.US,{width:16,height:16,color:"#FFF"})})]}),l&&(0,r.jsxs)("div",{className:" w-full relative p-4",children:[(0,r.jsx)("span",{className:"absolute right-4 top-4 bottom-0 m-auto w-10 h-10",children:(0,r.jsx)(a.WI,{color:"white"})}),(0,r.jsx)("input",{value:E,onChange:e=>{let{target:t}=e;null==s||s(t.value),null==O||O(t.value)},className:"text-white bg-swapterBlack/[.6]  rounded-[14px] border border-white/[.16] w-full px-4 py-2 text-sm focus:outline-none",placeholder:C("keyword")})]}),(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsx)("div",{className:(0,p.A)(0===y?"mb-[100px]":"mb-[0px]","transition-all duration-100 "),children:(0,r.jsx)(c.A,{onOpen:()=>k(0),onClose:()=>N(),withIcon:!1,selectedOption:I,setValue:A,styles:w.z,prefix:g("status"),options:u.dx})}),(0,r.jsxs)("div",{className:(0,p.A)(1===y?"mb-[100px]":"mb-[0px]","transition-all duration-100 "),children:[" ",(0,r.jsx)(c.A,{onOpen:()=>k(1),onClose:N,withIcon:!0,selectedOption:T,setValue:D,styles:w.z,prefix:g("from"),options:j})]}),(0,r.jsxs)("div",{className:(0,p.A)(2===y?"mb-[100px]":"mb-[0px]","transition-all duration-100 "),children:[" ",(0,r.jsx)(c.A,{onOpen:()=>k(2),onClose:N,withIcon:!0,selectedOption:q,setValue:P,styles:w.z,prefix:g("to"),options:j})]}),(0,r.jsx)("div",{children:(0,r.jsx)(d.A,{setValue:S,value:F})})]})]})]})};var b=l(20080),v=l(12109),g=l(82931),j=l(96587),y=l(33327),k=l(58988),C=l(84059),N=l(82013);let F=e=>{var t,l;let{item:i}=e;return(0,r.jsxs)("div",{className:"flex items-center justify-between py-7 border-t border-solid border-grey-20 group ",children:[(0,r.jsx)(k.Td,{width:"w-[10%] flex items-center justify-start cursor-pointer",children:(0,r.jsx)("p",{className:"mr-1",onClick:()=>(0,C.l)(i.info.uid),children:i.partner.name})}),(0,r.jsx)(k.Td,{width:"w-[15%]",children:(0,r.jsx)("p",{children:i.time.create?(0,N.b)(i.time.create):(0,N.b)(i.time.success)})}),(0,r.jsx)(k.Td,{width:"w-[10%]",children:(0,r.jsx)("div",{children:(0,r.jsx)(j.i,{status:i.info.status})})}),(0,r.jsxs)(k.Td,{width:"w-[15%] flex items-center",children:[(0,r.jsxs)("div",{className:"mr-2 text-right",children:[(0,r.jsx)("p",{children:i.deposit.coin}),(0,r.jsx)("p",{className:"opacity-50",children:i.deposit.network})]}),(0,r.jsx)("p",{className:"font-medium text-xl",children:"-"}),(0,r.jsxs)("div",{className:"ml-2",children:[(0,r.jsx)("p",{children:i.withdraw.coin}),(0,r.jsx)("p",{className:"opacity-50",children:i.withdraw.network})]})]}),(0,r.jsx)(k.Td,{width:"w-[10%]",children:(0,r.jsxs)("p",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{children:(null==i||null==(t=i.partner)?void 0:t.profit.amount)?null==i||null==(l=i.partner)?void 0:l.profit.amount:"0"}),(0,r.jsx)("span",{className:"opacity-50",children:"USDT"})]})}),(0,r.jsx)(k.Td,{width:"w-[10%] cursor-pointer",children:(0,r.jsx)("p",{className:"mr-1 group-hover:text-turquiose",onClick:()=>(0,C.l)(i.info.uid),children:(0,y.ny)(i.info.uid)})}),(0,r.jsx)(k.Td,{width:"w-[10%]"})]})},T=e=>{var t,l;let{item:i}=e;return(0,r.jsxs)("div",{className:"flex items-center justify-between py-7 border-t border-solid border-grey-20 group",children:[(0,r.jsx)(k.Td,{width:"w-[10%]",children:(0,r.jsx)("p",{className:"mr-1 group-hover:text-turquiose",onClick:()=>(0,C.l)(i.info.uid),children:(0,y.ny)(i.info.uid)})}),(0,r.jsx)(k.Td,{width:"w-[10%] flex items-center justify-start cursor-pointer",children:(0,r.jsx)("p",{className:"mr-1",onClick:()=>(0,C.l)(i.info.uid),children:i.partner.name})}),(0,r.jsx)(k.Td,{width:"w-[15%]",children:(0,r.jsx)("p",{children:i.time.create?(0,N.b)(i.time.create):(0,N.b)(i.time.success)})}),(0,r.jsx)(k.Td,{width:"w-[10%]",children:(0,r.jsx)("div",{children:(0,r.jsx)(j.i,{status:i.info.status})})}),(0,r.jsxs)(k.Td,{width:"w-[15%] flex items-center",children:[(0,r.jsxs)("div",{className:"mr-2 text-right",children:[(0,r.jsx)("p",{children:i.deposit.coin}),(0,r.jsx)("p",{className:"opacity-50",children:i.deposit.network})]}),(0,r.jsx)("p",{className:"font-medium text-xl",children:"-"}),(0,r.jsxs)("div",{className:"ml-2",children:[(0,r.jsx)("p",{children:i.withdraw.coin}),(0,r.jsx)("p",{className:"opacity-50",children:i.withdraw.network})]})]}),(0,r.jsx)(k.Td,{width:"w-[10%]",children:(0,r.jsxs)("p",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{children:(null==i?void 0:i.deposit.amount)?null==i?void 0:i.deposit.amount:"0"}),(0,r.jsx)("span",{className:"opacity-50",children:null==i?void 0:i.deposit.coin})]})}),(0,r.jsx)(k.Td,{width:"w-[10%] cursor-pointer",children:(0,r.jsxs)("p",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{children:(null==i||null==(t=i.partner)?void 0:t.profit.amount)?null==i||null==(l=i.partner)?void 0:l.profit.amount:"0"}),(0,r.jsx)("span",{className:"opacity-50",children:"USDT"})]})}),(0,r.jsx)(k.Td,{width:"w-[10%]"})]})},S=e=>{var t,l;let{item:i}=e;return(0,r.jsxs)("div",{className:"flex items-center justify-between py-7 border-t border-solid border-grey-20 group",children:[(0,r.jsx)(k.Td,{width:"w-[10%] flex items-center justify-start cursor-pointer",children:(0,r.jsx)("p",{className:"mr-1",onClick:()=>(0,C.l)(i.info.uid),children:i.partner.name})}),(0,r.jsx)(k.Td,{width:"w-[15%]",children:(0,r.jsx)("p",{children:i.time.create?(0,N.b)(i.time.create):(0,N.b)(i.time.success)})}),(0,r.jsx)(k.Td,{width:"w-[10%]",children:(0,r.jsx)("div",{children:(0,r.jsx)(j.i,{status:i.info.status})})}),(0,r.jsxs)(k.Td,{width:"w-[15%] flex items-center",children:[(0,r.jsxs)("div",{className:"mr-2 text-right",children:[(0,r.jsx)("p",{children:i.deposit.coin}),(0,r.jsx)("p",{className:"opacity-50",children:i.deposit.network})]}),(0,r.jsx)("p",{className:"font-medium text-xl",children:"-"}),(0,r.jsxs)("div",{className:"ml-2",children:[(0,r.jsx)("p",{children:i.withdraw.coin}),(0,r.jsx)("p",{className:"opacity-50",children:i.withdraw.network})]})]}),(0,r.jsx)(k.Td,{width:"w-[10%]",children:(0,r.jsxs)("p",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{children:(null==i?void 0:i.deposit.amount)?null==i?void 0:i.deposit.amount:"0"}),(0,r.jsx)("span",{className:"opacity-50",children:null==i?void 0:i.deposit.coin})]})}),(0,r.jsx)(k.Td,{width:"w-[10%] ",children:(0,r.jsxs)("p",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{children:(null==i||null==(t=i.partner)?void 0:t.profit.amount)?null==i||null==(l=i.partner)?void 0:l.profit.amount:"0"}),(0,r.jsx)("span",{className:"opacity-50",children:"USDT"})]})}),(0,r.jsx)(k.Td,{width:"w-[15%] cursor-pointer",children:(0,r.jsx)("p",{className:"mr-1 group-hover:text-turquiose",onClick:()=>(0,C.l)(i.info.uid),children:(0,y.ny)(i.info.uid)})}),(0,r.jsx)(k.Td,{width:"w-[10%]"})]})};var D=l(37906),A=l(94825),P=l(54587),I=l.n(P),q=l(89099);let E=e=>{var t,l,a;let{depositCoin:o,withdrawCoin:d,setDepositCoin:c,setWithdrawCoin:u,status:x,setStatus:m,isLoading:w,data:j,titleHead:y,buttonTitle:k,buttonClick:C,title:N,icon:P,setPage:E,page:O,date:V,setDate:z,setKey:L}=e,[K,M]=(0,i.useState)(""),B={date:V,depositCoin:o,searchKey:K,setDate:z,setDepositCoin:c,setKey:L,setSearchKey:M,setStatus:m,setWithdrawCoin:u,status:x,withdrawCoin:d},R=(0,q.useRouter)().pathname,W=(0,h.useTranslations)("General"),[_,X]=(0,i.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"bg-white/[.02] lg:rounded-t-[40px] border lg:border-white/[.3] border-x-trans
1parent border-b-transparent border-t-white/[.3] w-full",children:(0,r.jsx)(g.n,{filterController:(0,r.jsx)(b.D,{filterData:B,setOpen:X,isOpen:_}),tableFilters:(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(f,{filterData:B,search:!0,setValue:L,isOpen:_,setOpen:X})}),search:!0,searchKey:K,setValue:L,setSearchKey:M,title:null!=y?y:"transactions",withButton:!!k,button:C?(0,r.jsx)(A.z,{title:k,size:"sm",color:"personal-active",type:"submit",onClick:C}):(0,r.jsx)(A.z,{title:k,size:"sm",color:"personal-inactive",type:"submit",isDisabled:!C})})}),(0,r.jsxs)("div",{className:(0,p.A)((null==j||null==(t=j.data)?void 0:t.length)?"overflow-x-scroll md:overflow-hidden":"overflow-hidden"),children:[!(null==j||null==(l=j.data)?void 0:l.length)&&(0,r.jsxs)("div",{className:"flex flex-col border-t border-white/[.2] items-center justify-center py-12  bg-white/[.02] md:hidden",children:[(0,r.jsx)(I(),{width:140,height:140,src:P,alt:"/img/personal/empty-data/empty-transactions.png",className:"mb-8"}),(0,r.jsx)("p",{className:"text-white font-bold mb-4 text-lg",children:W(N)})]}),(0,r.jsx)(v.K,{isPagination:((null==j?void 0:j.total)||0)>1,data:j,tableHead:(e=>{switch(!0){case"/personal/history/overview"===e:case"/personal/dashboard"===e:return(0,D.Zl)();case"/personal/history/widget"===e:return(0,D.uS)();case"/personal/history/api"===e:return(0,D.I8)();case"/personal/history/referrals"===e:return(0,D.Hf)()}})(R),children:w?(0,r.jsx)(s.a,{}):(0,r.jsxs)("div",{className:" ",children:[!(null==j||null==(a=j.data)?void 0:a.length)&&(0,r.jsxs)("div",{className:" flex-col items-center justify-center py-12 border border-transparent rounded-b-[40px] h-[50vh] md:flex hidden ",children:[(0,r.jsx)(I(),{width:152,height:152,src:P,alt:"/img/personal/empty-data/empty-transactions.png",className:"mb-[32px]"}),(0,r.jsx)("p",{className:"text-white font-bold mb-4 text-lg",children:W(N)})]}),((e,t)=>{var l,i,s,n,a;switch(!0){case"/personal/history/overview"===e:return null==t||null==(l=t.data)?void 0:l.map((e,t)=>(0,r.jsx)(F,{item:e},t));case"/personal/dashboard"===e:return null==t||null==(i=t.data)?void 0:i.map((e,t)=>(0,r.jsx)(F,{item:e},t));case"/personal/history/widget"===e:return null==t||null==(s=t.data)?void 0:s.map((e,t)=>(0,r.jsx)(S,{item:e},t));case"/personal/history/api"===e:return null==t||null==(n=t.data)?void 0:n.map((e,t)=>(0,r.jsx)(S,{item:e},t));case"/personal/history/referrals"===e:return null==t||null==(a=t.data)?void 0:a.map((e,t)=>(0,r.jsx)(T,{item:e},t))}})(R,j)]})}),j&&j.total>1?(0,r.jsx)("div",{className:"w-full lg:px-12 pb-[30px] md:pb-12 xl:rounded-b-[40px] border border-white/[.16] bg-white/[.02] border-t-transparent",children:(0,r.jsx)(n.d,{page:O||1,total:null==j?void 0:j.total,onPageChange:E,maxBlotsCount:5})}):null]})]})}},25074:(e,t,l)=>{l.d(t,{E:()=>r});let r=e=>{var t;return Object.fromEntries(null==(t=Object.entries(e))?void 0:t.filter(e=>{let[,t]=e;return null!=t&&""!==t}))}},26456:(e,t,l)=>{l.d(t,{d:()=>a});var r=l(37876),i=l(63320),s=l(69241),n=l(89368);let a=e=>{let{page:t,onPageChange:l,total:a}=e,o=(0,n.useTranslations)("Pagination"),d=e=>{e>=1&&e<=a&&(null==l||l(e),window.scrollTo(0,0))},c=e=>{let l=t===e;return(0,r.jsx)("button",{onClick:()=>d(e),className:(0,s.A)("w-10 h-10 transition-all rounded-full text-[14px] flex items-center justify-center border",l?"bg-[#FF6F22] border-[#FF6F22] text-white font-medium":"bg-transparent border-[#667085] text-[#667085] font-normal hover:border-white hover:text-white"),children:e},e)},u=e=>(0,r.jsx)("div",{className:"w-10 h-10 rounded-full border border-[#667085] text-[#667085] flex items-center justify-center text-[14px]",children:"..."},e);return(0,r.jsxs)("div",{className:"flex w-full items-center justify-between py-4 min-h-[80px]",children:[(0,r.jsx)("div",{className:"flex items-center gap-2",children:(()=>{let e=[];
1if(a<=4)for(let t=1;t<=a;t++)e.push(c(t));else{let l,r;e.push(c(1)),t<=2?(l=2,r=3):t>=a-1?(l=a-2,r=a-1):(l=t-1,r=t+1),l>2&&e.push(u("ellipsis-start"));for(let t=l;t<=r;t++)t>1&&t<a&&e.push(c(t));r<a-1&&e.push(u("ellipsis-end")),e.push(c(a))}return e})()}),t<a&&(0,r.jsxs)("button",{onClick:()=>d(t+1),className:"transition-all rounded-full px-6 py-2 flex items-center justify-between border border-[#667085] hover:border-white text-[#667085] hover:text-white gap-4 group cursor-pointer min-w-[120px]",children:[(0,r.jsx)("span",{className:"text-[14px] font-normal",children:o("next")}),(0,r.jsx)(i.d5,{color:"currentColor"})]})]})}},33327:(e,t,l)=>{l.d(t,{Hi:()=>a,P:()=>d,g9:()=>c,ny:()=>o});var r=l(37876);l(14232);var i=l(23171),s=l(80075),n=l(72610);let a=e=>"Active"===e?(0,r.jsx)("p",{className:"text-success-secondary text-[14px] md:text-[16px] leading-[150%] font-semibold text-center",children:"Active"}):(0,r.jsx)("p",{className:"text-warning-400 text-[14px] md:text-[16px] leading-[150%] text-center",children:"Paused"}),o=e=>{if(!(null==e?void 0:e.length))return null;if((null==e?void 0:e.length)<=8)return e;{let t=null==e?void 0:e.substring(0,4),l=null==e?void 0:e.substring(e.length-4);return"".concat(t,"...").concat(l)}},d=e=>{if((null==e?void 0:e.length)<=14)return e;{let t=null==e?void 0:e.substring(0,14);return"".concat(t,"...")}},c=e=>{let t=(0,s.M)({onSuccess:()=>{e(!1),(0,i.P)("success","Api key enabled succesfully"),n.q.refetchQueries("api-keys-all")},operation:"enable",toolPath:"api"}),l=(0,s.M)({onSuccess:()=>{e(!1),(0,i.P)("success","Api key disabled succesfully"),n.q.refetchQueries("api-keys-all")},operation:"disable",toolPath:"api"});return{deleteApikeyMutation:(0,s.M)({onSuccess:()=>{e(!1),(0,i.P)("success","Api key delete succesfully"),n.q.refetchQueries("api-keys-all")},operation:"delete",toolPath:"api"}),disableMutation:l,enableMutation:t}}},37906:(e,t,l)=>{l.d(t,{$C:()=>s,Hf:()=>d,I8:()=>u,Zl:()=>o,_6:()=>i,c0:()=>a,cp:()=>n,uS:()=>c});var r=l(89368);let i=()=>{let e=(0,r.useTranslations)("General");return[{key:"ID",title:e("id"),width:"w-[15%]"},{key:"Date",title:e("date"),width:"w-[20%]"},{key:"Status",title:e("status"),width:"w-[10%]"},{key:"Amount",title:e("amount"),width:"w-[10%]"},{key:"Coin",title:e("coin"),width:"w-[15%]"},{key:"ADDRESS",title:e("address"),width:"w-[15%]"},{key:"TXID",title:e("TXID"),width:"w-[15%]"}]},s=()=>{let e=(0,r.useTranslations)("General");return[{key:"ID",title:e("id"),width:"w-[15%]"},{key:"Affiliate Tag",title:e("affiliate-tag"),width:"w-[15%]"},{key:"Created Date",title:e("created-date"),width:"w-[15%]"},{key:"Status",title:e("status"),width:"w-[10%]"},{key:"Transactions",title:e("transactions"),width:"w-[15%]"},{key:"fee",title:e("fee"),width:"w-[15%]"},{key:"Profit",title:e("profit"),width:"w-[20%]"},{key:"buttons",title:"",width:"w-[10%]"}]},n=()=>{let e=(0,r.useTranslations)("General");return[{key:"Tag",title:e("tag"),width:"w-[14%]"},{key:"Key",title:e("key"),width:"w-[14%]"},{key:"created-date",title:e("created-date"),width:"w-[16%]"},{key:"Status",title:e("status"),width:"w-[10%]"},{key:"Transactions",title:e("transactions"),width:"w-[14%]"},{key:"Fee, %",title:e("fee"),width:"w-[10%]"},{key:"Profit",title:e("profit"),width:"w-[10%]"},{key:"buttons",title:" ",width:"w-[10%]"}]},a=()=>{let e=(0,r.useTranslations)("General");return[{key:"Name",title:e("name"),width:"w-[10%]"},{key:"Theme",title:e("theme"),width:"w-[10%]"},{key:"Status",title:e("status"),width:"w-[10%]"},{key:"Default Pair",title:e("default-pair"),width:"w-[20%]"},{key:"Transactions",title:e("transactions"),width:"w-[15%]"},{key:"Profit",title:e("profit"),width:"w-[15%]"},{key:"Last Activity",title:e("last-activity"),width:"w-[15%]"},{key:"buttons",title:" ",width:"w-[10%]"}]},o=()=>{let e=(0,r.useTranslations)("General");return[{key:"Program",title:e("program"),width:"w-[10%]"},{key:"Date",title:e("date"),width:"w-[15%]"},{key:"Status",title:e("status"),width:"w-[10%]"},{key:"pair",title:e("pair"),width:"w-[15%]"},{key:"Profit",title:e("profit"),width:"w-[10%]"},{key:"TXID",title:e("TXID"),width:"w-[10%]"},{key:"",title:"",width:"w-[10%]"}]},d=()=>{let e=(0,r.useTranslations)("General");return[{key:"ID",title:e("id"),width:"w-[10%]"},{key:"affiliate Tag",title:e("affiliate-tag"),width:"w-[10%]"},{key:"Date",title:e("date"),width:"w-[15%]"},{key:"Status",title:e("status"),width:"w-[10%]"},{key:"Pair",title:e("pair"),width:"w-[15%]"},{key:"Amount",title:e("amount"),width:"w-[10%]"},{key:"profit",title:e("profit"),width:"w-[10%]"},{key:"",title:"",width:"w-[10%]"}]},c=()=>{let e=(0,r.useTranslations)("General");return[{key:"Widget Name",title:e("widget-name"),width:"w-[10%]"},{key:"Date",title:e("date"),width:"w-[15%]"},{key:"Status",title:e("status"),width:"w-[10%]"},{key:"pair",title:e("pair"),width:"w-[15%]"},{key:"Amount",title:e("amount"),width:"w-[10%]"},{key:"Profit",title:e("profit"),width:"w-[10%]"},{key:"TXID",title:e("TXID"),width:"w-[15%]"},{key:"",title:"",width:"w-[10%]"}]},u=()=>{let e=(0,r.useTranslations)("General");return[{key:"Key",title:e("key"),width:"w-[10%]"},{key:"Date",title:e("date"),width:"w-[15%]"},{key:"Status",title:e("status"),width:"w-[10%]"},{key:"pair",title:e("pair"),width:"w-[15%]"},{key:"Amount",title:e("amount"),width:"w-[10%]"},{key:"Profit",title:e("profit"),width:"w-[10%]"},{key:"TXID",title:"TXID",width:"w-[15%]"},{key:"",title:"",width:"w-[10%]"}]}},38758:(e,t,l)=>{l.d(t,{q:()=>i});var r=l(89099);let i=()=>(0,r.useRouter)().locale},38958:(e,t,l)=>{l.d(t,{a:()=>a});var r=l(401),i=l(25074),s=l(1992),n=l(72068);let a=e=>{let{filters:t,isActive:l,type:a}=e,o=(0,n.d7)(t),d=(0,i.E)({depositCoin:o.depositCoin,items:o.items,key:o.key,page:o.page,status:o.status,timeFrom:o.timeFrom,timeTo:o.timeTo,withdrawCoin:o.withdrawCoin});return(0,s.useQuery)({enabled:null!=l&&l,queryFn:()=>r.x.post("/personal/exchange/history/".concat(a),{...d}).then(e=>e.data),queryKey:[a,d]})}},41411:(e,t,l)=>{l.d(t,{KL:()=>r});var r=function(e){return e.All="",e.Waiting="Waiting",e.Confirmation="Confirmation",e.Transferring="Transferring",e.Exchanging="Exchanging",e.Sending="Sending",e.Pending="Pending",e.Success="Success",e.Overdue="Overdue",e.Frozen="Frozen",e.Suspended="Suspended",e.Requested="Requested",e.Refunded="Refunded",e}({})},58988:(e,t,l)=>{l.d(t,{Td:()=>s});var r=l(37876),i=l(69241);let s=e=>{let{children:t,width:l,additionalStyle:s,onClick:n}=e;return(0,r.jsx)("div",{className:(0,i.A)("text-white text-[14px] 3xl:text-base font-medium px-4 md:px-6",l,s),onClick:n,children:t})}},67201:(e,t,l)=>{l.d(t,{Y:()=>i});var r=l(37876);let i=e=>{let{width:t=20,color:l="#fff",height:i=20}=e;return(0,r.jsxs)("svg",{width:t,height:i,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("g",{"clip-path":"url(#clip0_3423_34928)",children:(0,r.jsx)("path",{d:"M2.66439 4.79531C2.58307 4.70581 2.52945 4.59464 2.51005 4.47527C2.49065 4.35591 2.50629 4.23348 2.55508 4.12283C2.60388 4.01218 2.68372 3.91806 2.78494 3.85188C2.88616 3.7857 3.0044 3.75031 3.12533 3.75H16.8753C16.9964 3.75001 17.1149 3.78518 17.2163 3.85124C17.3178 3.9173 17.3978 4.0114 17.4468 4.12212C17.4958 4.23283 17.5116 4.35538 17.4922 4.47489C17.4729 4.5944 17.4192 4.70571 17.3378 4.79531L12.0456 10.4445C11.9372 10.5604 11.8768 10.7132 11.8769 10.8719V15.207C11.877 15.31 11.8516 15.4113 11.8031 15.5021C11.7546 15.5928 11.6844 
115.6702 11.5988 15.7273L9.09877 17.3937C9.00472 17.4569 8.89526 17.4933 8.78211 17.4991C8.66897 17.5048 8.55638 17.4797 8.4564 17.4265C8.35642 17.3732 8.2728 17.2937 8.21448 17.1966C8.15617 17.0995 8.12535 16.9883 8.12533 16.875V10.8719C8.12538 10.7132 8.06505 10.5604 7.95658 10.4445L2.66439 4.79531Z",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_3423_34928",children:(0,r.jsx)("rect",{width:"20",height:"20",fill:l})})})]})}},67598:(e,t,l)=>{l.d(t,{v:()=>s});var r=l(14232),i=l(19917);let s=()=>{let{data:e,isLoading:t,isFetched:l}=(0,i._)(),{assets:s}=e||{};return{assetOptions:(0,r.useMemo)(()=>{if(s)return new Map(s.map(e=>[e.currency,{label:e.name,source:e,value:e.currency}]))},[e]),assets:s,isFetched:l,isLoading:t}}},70207:(e,t,l)=>{l.d(t,{XD:()=>r,dx:()=>s,i9:()=>i});let r=[{label:"USDT",value:"USDT"}],i=[{label:"Pending",value:"Pending"},{label:"Success",value:"Success"}],s=[{label:"Overdue",value:"Overdue"},{label:"Waiting",value:"Waiting"},{label:"Success",value:"Success"}]},72507:(e,t,l)=>{l.d(t,{C:()=>r});let r={container:e=>({...e,":active":{backgroundColor:"#0D131A",borderColor:"#3CC8C8",transition:"all"},":focus":{borderColor:"#3CC8C8",outline:"#3CC8C8",transition:"all"},":hover":{borderColor:"#3CC8C8",outline:"#3CC8C8",transition:"all"},backgroundColor:"#10182099",border:1,borderColor:"#EBEFF629",borderRadius:14,borderStyle:"solid",color:"#ffffff"}),control:(e,t)=>{let{isFocused:l}=t;return{...e,backgroundColor:"rgba(255,255,255,0)",border:0,borderRadius:"14px",boxShadow:l?"none":void 0,color:"#ffffff",cursor:"pointer",fontSize:18,fontWeight:500,height:40,minWidth:150}},indicatorSeparator:e=>({...e,display:"none"}),input:e=>({...e,color:"#FFF"}),menu:e=>({...e,backdropFilter:"blur(8px)",backgroundColor:"#FFFFFF14",border:"1px solid #F3F3F34D",borderRadius:"14px",color:"#FFF",overflow:"hidden",zIndex:"10"}),menuList:e=>({...e,maxHeight:"200px",overflowX:"hidden",overflowY:"auto",padding:8}),option:(e,t)=>{let{isDisabled:l,isFocused:r,isSelected:i}=t;return{...e,":active":{...e[":active"],backgroundColor:i?"rgba(38, 67, 122, 0.16)":void 0},backgroundColor:i?"#3CC8C81F":r?"rgba(38, 67, 122, 0.04)":"rgba(255,255,255,0)",borderRadius:"12px",color:"#FFF",cursor:l?"not-allowed":"pointer",fontSize:16,fontWeight:500}},singleValue:e=>({...e,color:"white"})}},80075:(e,t,l)=>{l.d(t,{M:()=>d});var r=l(401),i=l(72610),s=l(40786),n=l(50723),a=l(1992);let o={api:["api-keys-all"],referral:["referrals-all"],widget:["widget-all"]},d=e=>{let{onSuccess:t,toolPath:l,operation:d}=e;return(0,a.useMutation)({mutationFn:async e=>{var t,i;let s=await r.x.post("/personal/management/".concat(l,"/").concat(d),"widget"===l?e.payload:{},{headers:{"Content-Type":"application/json","X-Email":null==(t=e.security)?void 0:t.email,"X-Time":null==(i=e.security)?void 0:i.time},params:e.params});return(0,n.C)(s)},onError:e=>{console.error((0,s.r)(e).responseData)},onSuccess:e=>{var r,s,n;(null==e||null==(r=e.securityTypes)?void 0:r.emailCode)||(null==e||null==(s=e.securityTypes)?void 0:s.timeCode)||((null!=(n=o[l])?n:[]).forEach(e=>i.q.invalidateQueries(e)),i.q.invalidateQueries("user-info")),null==t||t(e)}})}},82931:(e,t,l)=>{l.d(t,{n:()=>n});var r=l(37876);l(14232);var i=l(63320),s=l(89368);let n=e=>{let{title:t,button:l,tableFilters:n,search:a,withButton:o,setValue:d,filterController:c,searchKey:u,setSearchKey:x}=e,p=(0,s.useTranslations)("General");return(0,r.jsxs)("div",{className:"flex flex-col gap-5 md:px-4 pt-6  pb-4 lg:py-12 lg:pb-8 lg:px-12",children:[(0,r.jsxs)("div",{className:"flex flex-col sm:flex-row px-4 md:px-0 items-start justify-between w-full",children:[(0,r.jsxs)("div",{className:"flex flex-col md:gap-6 ",children:[(0,r.jsx)("p",{className:"text-white font-bold text-[24px] md:text-3xl mb-4 md:mb-0 leading-[130%]",children:t}),n]}),(0,r.jsxs)("div",{className:"flex flex-col gap-4 justify-start md:justify-center",children:[o&&l,a&&(0,r.jsxs)("div",{className:"max-w-[200px] w-full relative hidden md:flex",children:[(0,r.jsx)("span",{className:"absolute left-2 top-0 bottom-0 m-auto w-6 h-6",children:(0,r.jsx)(i.WI,{color:"white"})}),(0,r.jsx)("input",{value:u,onChange:e=>{let{target:t}=e;null==d||d(t.value),null==x||x(t.value)},className:"text-white bg-swapterBlack/[.6] max-w-[200px] rounded-[14px] border border-white/[.16] w-full py-2 pr-2 pl-10 text-sm focus:outline-none",placeholder:p("keyword")})]})]})]}),c]})}},84183:(e,t,l)=>{l.d(t,{A:()=>x,O:()=>u});var r=l(37876),i=l(14232);let s=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none",children:[(0,r.jsxs)("g",{clipPath:"url(#A)",stroke:"#fff",strokeWidth:"2",strokeLinejoin:"round",children:[(0,r.jsx)("path",{d:"M16.25 3.125H3.75c-.345 0-.625.28-.625.625v12.5c0 .345.28.625.625.625h12.5c.345 0 .625-.28.625-.625V3.75c0-.345-.28-.625-.625-.625z"}),(0,r.jsx)("g",{strokeLinecap:"round",children:(0,r.jsx)("path",{d:"M13.75 1.875v2.5m-7.5-2.5v2.5m-3.125 2.5h13.75"})})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"A",children:(0,r.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]});var n=l(94825),a=l(38758),o=l(69241),d=l(89368),c=l(86318);let u=e=>{let t=new Date;
1return t.setMonth(e),t.toLocaleString("EN",{month:"short"})},x=e=>{var t,l,x;let{setValue:p,value:h}=e,[m,w]=(0,i.useState)(!1),f=(0,i.useRef)(null),b=(0,d.useTranslations)("Filters"),v=(0,d.useTranslations)("General"),g=(0,a.q)(),[j,y]=(0,i.useState)(null);return(0,i.useEffect)(()=>{m&&f.current&&f.current.focus()},[m]),(0,r.jsxs)("div",{className:"z-[150] relative group ",children:[(0,r.jsx)("div",{className:" cursor-pointer flex items-center md:rounded-[14px] h-[42px] py-[26px] md:py-0 px-6 md:px-3 border border-x-transparent border-white/[.16] md:border-x-white/[.16]  group-hover:border-turquiose group-hover:border-x-transparent md:group-hover:border-x-turquiose  bg-secondary md:font-semibold text-white ",onClick:()=>w(e=>!e),children:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(s,{}),h?(0,r.jsxs)(r.Fragment,{children:[(null==j?void 0:j[0])&&(0,r.jsx)("p",{className:"text-white text-[14px] leading-[150%]",children:"".concat(u(j[0].getMonth())," ").concat(j[0].getDate(),", ").concat(j[0].getFullYear())}),(0,r.jsx)("p",{className:"text-white text-[14px] leading-[150%]",children:"—"}),(null==j?void 0:j[1])?(0,r.jsx)("p",{className:"text-white text-[14px] leading-[150%]",children:"".concat(u(null==(t=j[1])?void 0:t.getMonth())," ").concat(null==(l=j[1])?void 0:l.getDate(),", ").concat(null==(x=j[1])?void 0:x.getFullYear())}):(0,r.jsx)("p",{className:"text-[#3CC8C8] text-[14px] leading-[150%]",children:b("select-date")})]}):(0,r.jsx)("p",{children:b("all-dates")})]})}),(0,r.jsx)("div",{className:(0,o.A)(m?"flex":"hidden","z-[500] md:mt-2 justify-center absolute bg-white/[.04] backdrop-blur-3xl border-y md:border border-white/[.3] md:rounded-[18px] w-full md:w-auto"),children:(0,r.jsxs)("div",{ref:f,tabIndex:-1,className:"outline-none",onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||w(!1)},children:[(0,r.jsx)("div",{className:"flex md:w-[285px]",children:(0,r.jsx)(c.Ay,{onChange:e=>{y(e)},value:j,selectRange:!0,allowPartialRange:!0,locale:g})}),(0,r.jsxs)("div",{className:"flex items-center justify-between  p-4 border-t border-solid border-white/[.3]",children:[(0,r.jsx)(n.z,{color:"cancel",title:v("cancel"),onClick:()=>{p(null),w(!1),y(!1)},additionalStyles:"w-[49%]",size:"sm"}),(0,r.jsx)(n.z,{color:"personal-active",title:v("apply"),onClick:()=>{let e=new Date(j[0]),t=new Date(j[1]);if(!t&&(null==j?void 0:j[0])){let e=new Date(j[0]);e.setDate(e.getDate()+1),t=e.getTime()}p({timeFrom:e.getTime(),timeTo:t.getTime()}),w(!1)},additionalStyles:"w-[49%]",size:"sm"})]})]})})]})}},94825:(e,t,l)=>{l.d(t,{z:()=>a});var r=l(37876);l(14232);let i=e=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:e.fill||"#3CC8C8",children:[(0,r.jsx)("style",{children:".spinner_I8Q1{animation:spinner_qhi1 .75s linear infinite}.spinner_vrS7{animation - delay:-.375s}@keyframes\n                spinner_qhi1{0 %,100%{r:1.5px}50%{r:3px}}"}),(0,r.jsx)("circle",{className:"spinner_I8Q1",cx:"4",cy:"12",r:"1.5"}),(0,r.jsx)("circle",{className:"spinner_I8Q1 spinner_vrS7",cx:"12",cy:"12",r:"3"}),(0,r.jsx)("circle",{className:"spinner_I8Q1",cx:"20",cy:"12",r:"1.5"})]});var s=l(69241),n=l(46947);let a=e=>{let{title:t,size:l,color:a,onPress:o,isDisabled:d,loading:c,additionalStyles:u,iconButton:x,type:p="button",iconPosition:h="left",children:m,...w}=e;return(0,r.jsxs)("button",{type:p,disabled:d,onClick:o,"data-loading":c,className:(0,s.A)("flex transition-all items-center justify-center rounded-4xl text-white  sm:text-base font-extrabold cursor-pointer capitalize whitespace-nowrap disabled:cursor-not-allowed disabled:bg-turquiose/[.4] max-w-full disabled:text-white/[.8] ",(0,n.I)(a),(0,n.A)(l),u),...w,children:[x&&"left"===h&&(0,r.jsx)("span",{className:"mr-2",children:x}),c?(0,r.jsx)(i,{fill:d?"rgba(255, 255, 255, 0.5)":void 0}):t||m,x&&"right"===h&&(0,r.jsx)("span",{className:"ml-2",children:x})]})}},96587:(e,t,l)=>{l.d(t,{i:()=>a});var r=l(37876);l(14232),l(22764);var i=l(41411);function s(e){return"string"!=typeof e||0===e.length?e:e.charAt(0).toUpperCase()+e.slice(1)}
1["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"].map(e=>e.substring(0,3));var n=l(69241);let a=e=>{let{status:t}=e;return(0,r.jsx)("p",{className:(0,n.A)((()=>{switch(s(t)){case i.KL.Waiting:return{backgroundColor:"#1155cc",color:""};case i.KL.Confirmation:return"text-purple";case i.KL.Transferring:case i.KL.Exchanging:return"";case i.KL.Sending:return{bg:"#38761d",color:""};case i.KL.Success:return"text-success-secondary";case i.KL.Overdue:return"text-errorRed";case i.KL.Pending:return"text-warning-400";case i.KL.Requested:return""}})(),"py-1, px-1.5 inline-flex text-[14px] md:text-[16px]  font-medium rounded "),children:(0,r.jsx)(r.Fragment,{children:s(t)})})}},97536:(e,t,l)=>{l.d(t,{A:()=>h});var r=l(37876),i=l(14232),s=l(40670);let n=e=>(0,r.jsx)("div",{className:"p-2 transition-transform duration-300 ".concat(e.selectProps.menuIsOpen?"rotate-180":""),children:(0,r.jsx)(s.b,{})});var a=l(54587),o=l.n(a),d=l(64987);let c=e=>{let[t,l]=(0,i.useState)(!1);return(0,r.jsx)(d.c.Option,{...e,children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(o(),{src:t?"https://storage.googleapis.com/swapter-web-images/coin-fallback-partner.png":e.data.logo,alt:e.data.logo,width:24,height:24,onError:()=>{l(!0)}}),(0,r.jsx)("span",{className:"font-semibold leading-[150%] text-[14px] ",children:e.data.label})]})})},u=e=>{let t=e.selectProps.prefix||"";return(0,r.jsxs)(d.c.SingleValue,{...e,children:[(0,r.jsx)("span",{className:"text-white text-[14px] leading-[150%] font-light",children:t}),(0,r.jsx)("span",{className:"font-semibold leading-[150%] text-[14px] ",children:e.data.label})]})};var x=l(89368),p=l(14260);let h=e=>{let{onOpen:t,onClose:l,styles:i,prefix:s,options:a,setValue:o,selectedOption:d,withIcon:h}=e,m=(0,x.useTranslations)("Filters");return(0,r.jsx)("div",{className:"",children:(0,r.jsx)(p.Ay,{onBlur:()=>null==l?void 0:l(),onMenuOpen:t,onMenuClose:l,options:a,defaultValue:a[0],closeMenuOnSelect:!0,value:d?{label:d,value:d}:{label:m("all"),value:""},onChange:e=>{null==o||o(e.value)},styles:i,components:h?{DropdownIndicator:n,Option:c,SingleValue:u}:{DropdownIndicator:n,SingleValue:u},prefix:s||"",classNamePrefix:"custom-select"})})}}}]);

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.