PageSourceSearch

https://zara99.xyz/assets/ProfileView-ed076285.js

js zara99.xyz collected 2026-10-09 22:56:03 UTC 7,082 bytes, 1 lines download raw bytes

1import{o as l,c,a as e,d as F,u as N,g as w,n as S,m as J,t as o,k as t,a2 as B,j as g,_ as R,p as K,r as b,aD as Q,B as X,b as ee,aE as te,as as ae,W as se,f as oe,e as ne,w as p,s as y,a5 as re,aF as le,i as h,N as ie,Z as ce,v as ue}from"./index-0c2fc791.js";import{_ as de}from"./BankCard.vue_vue_type_script_setup_true_lang-8563ded2.js";/* empty css                                                 */import{c as me}from"./bankMerge-af78059c.js";import{L as _e}from"./LoadingComponent-f00ffbe6.js";import"./IconCopy-65574a63.js";import"./ShowAmount.vue_vue_type_script_setup_true_lang-a836e2ca.js";import"./bankFormat-eaefa96a.js";/* empty css                                                                     */function pe(f,x){return l(),c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true"},[e("path",{d:"M21.731 2.269a2.625 2.625 0 00-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 000-3.712zM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 00-1.32 2.214l-.8 2.685a.75.75 0 00.933.933l2.685-.8a5.25 5.25 0 002.214-1.32L19.513 8.2z"})])}const fe={class:"turn-wrapper"},ve={class:"w-full bg-white h-3 relative overflow-hidden rounded-full"},he=["aria-valuenow"],xe={key:0,class:"text-center text-[#FFD438] mt-2"},we=F({__name:"TurnOver",props:{isShowTurn:{type:Boolean,default:!0},turnOver:{type:Object,default:null}},setup(f){const{t:x}=N(),d=f,k=w(()=>{var r,m;return d.turnOver&&((r=d.turnOver.value)==null?void 0:r.turn_agent)/((m=d.turnOver.value)==null?void 0:m.turn_total)*100});return(r,m)=>{var n,u,_;return l(),c("div",fe,[e("div",ve,[e("div",{class:S(["h-full progressbar bar",[]]),role:"progressbar",style:J({width:`${k.value}%`}),"aria-valuenow":k.value,"aria-valuemin":"0","aria-valuemax":"100"},null,12,he)]),d.isShowTurn?(l(),c("p",xe,o(t(x)("Turn"))+" "+o(t(B)(((n=f.turnOver)==null?void 0:n.turn_agent)||0))+"/"+o(t(B)(((u=f.turnOver)==null?void 0:u.turn_total)||0))+" "+o(t(x)("MaxWithDraw"))+" "+o(t(B)(((_=f.turnOver)==null?void 0:_.fix_withdraw)||0)),1)):g("",!0)])}}});const ge=R(we,[["__scopeId","data-v-3f419999"]]),ke={class:"h-full relative"},be={key:0,class:"overflow-auto !max-h-[70vh]"},ye=["src"],Be={class:"flex h-full items-center flex-col sm:flex-row mb-2 md:mb-0"},Se={class:"p-4 pic-and-info w-full sm:w-2/4 h-full"},Pe={class:"image-profile"},Ae=["src"],Oe={class:"mb-3 sm:mb-0 w-full sm:w-2/4 h-full"},Ce={class:"wrapper-profile m-0"},Te={class:"top-info h-1/4 p-3 md:p-2 text-base md:text-xl font-bold"},Ve={class:"info-user h-full p-4 md:p-3"},je={class:"flex justify-between items-center my-1"},Me={class:"profile-detail"},ze={class:"flex justify-between items-center my-1"},Ie={class:"flex items-center gap-2"},Le={class:"flex justify-between items-center my-1"},$e={class:"profile-detail"},Fe={class:"flex justify-between items-center"},Ne={class:"profile-detail"},Re={class:"flex justify-between items-center my-1"},De={class:"profile-detail"},We={class:"wrapper-addbank pt-3 pb-3 px-4"},Ee={class:"profile-bank-length flex justify-between items-center my-2 md:my-3"},Ue={class:"text-xs md:text-base"},Ge={class:"flex items-center gap-2"},He={key:0,class:"flex gap-2 text-sm sm:text-base"},Ye={key:0,class:"overflow-auto"},Ze=F({__name:"ProfileView",setup(f){const x=K(),d=b(localStorage.getItem("animate")??""),k=Q(),r=X(),m=b(!1),{t:n}=N(),u=ee(),_=te(),D=ae(),P=b(0),A=b();se(async()=>{r.setTitle("Profile"),r.setWidth("640px")}),oe(()=>{r.setTitle(""),r.widthReset()}),ne(async()=>{m.value=!0,H(),await p.bankCodeList(),await G(),await p.getRankingInfo(),m.value=!1});const W=w(()=>u.amount),O=w(()=>D.data),E=w(()=>k.pointMember),v=w(()=>{var a;return(a=u.data)==null?void 0:a.bank_lista.sort((s,i)=>i.aktiva-s.aktiva)}),U=me(v,O),G=async()=>{try{const a=await p.GetTurnover();a.code!==200&&a.error_code!==0?y.error(a.message):A.value=a.payload||null}catch(a){console.log(a)}};async function H(){try{const a=await p.amount();a.code!==200&&a.error_code!==0&&y.error(a.message)}catch(a){console.log(a)}}async function Y(a){try{let s={bank_koda:a.bank_koda,bank_number:a.bank_number};const i=await p.setBank(s);i.code!==200&&i.error_code!==0?y.error(i.message):(y.success(i.message),await p.getMember(),await p.isLogin())}catch(s){console.log(s)}}async function Z(){r.setCompo("SelectedBankView")}async function q(){r.setCompo("ResetPasswordView")}return(a,s)=>{var C,T,V,j,M,z,I,L,$;const i=re("vue3-autocounter");return l(),c("div",ke,[m.value?(l(),ue(_e,{key:1,height:"500"})):(l(),c("div",be,[t(u).isLogin&&((C=t(u).data)==null?void 0:C.anvandare_typ)==="vip"?(l(),c("div",{key:0,class:S([{"close-effect":d.value==="false"},"w-[80px] z-[10] vip-animate animate-check absolute vip-member-rank to
1p-0 shadow-lg flex items-center gap-2 h-[30px] px-2 justify-center bg-gradient-to-b from-[#F46542] to-[#7F271B] rounded-r-full"])},[e("img",{loading:"lazy",class:S([{"close-effect":d.value==="false"},"!w-[24px] !h-[24px] object-contain animate-check"]),src:t(le),alt:""},null,10,ye),s[2]||(s[2]=e("span",{class:"text-xs md:text-base text-vip translate-y-[1px]"},"VIP",-1))],2)):g("",!0),e("div",Be,[e("div",Se,[e("div",Pe,[(T=t(_).data)!=null&&T.current_rank.img_url?(l(),c("img",{key:0,loading:"lazy",src:(V=t(_).data)==null?void 0:V.current_rank.img_url,alt:"profile",class:"w-40 md:w-56 mx-auto"},null,8,Ae)):g("",!0)]),h(ge,{turnOver:A.value},null,8,["turnOver"])]),e("div",Oe,[e("div",Ce,[e("div",Te,o(t(n)("Profile.Detail")),1),e("div",Ve,[e("div",je,[e("p",null,o(t(n)("Profile.UserName")),1),e("p",Me,o((j=t(u).data)==null?void 0:j.username),1)]),e("div",ze,[e("p",null,o(t(n)("Profile.Password")),1),e("div",Ie,[s[3]||(s[3]=e("p",{class:"profile-detail"},"xxxxxx",-1)),h(t(pe),{class:"w-4 cursor-pointer",onClick:s[0]||(s[0]=()=>{q()})})])]),e("div",Le,[e("p",null,o(t(n)("Profile.Point")),1),e("p",$e,[h(i,{ref:"counterAmount",startAmount:P.value,endAmount:E.value,duration:2,separator:",",decimalSeparator:".",decimals:2},null,8,["startAmount","endAmount"])])]),e("div",Fe,[e("p",null,o(t(n)("Profile.Amount")),1),e("p",Ne,[h(i,{ref:"counterAmount",startAmount:P.value,endAmount:W.value,duration:2,separator:",",decimalSeparator:".",decimals:2},null,8,["startAmount","endAmount"])])]),e("div",Re,[s[4]||(s[4]=e("p",null,"Ranking",-1)),e("p",De,o((M=t(_).data)!=null&&M.current_rank.title?(z=t(_).data)==null?void 0:z.current_rank.title:""),1)])])])])]),e("div",We,[e("div",Ee,[e("p",Ue,o(t(n)("Profile.YourBankAccount")),1),e("div",Ge,[v.value&&v.value.length?(l(),c("p",He,[ie(o(v.value.length)+"/5 ",1),e("span",null,o(t(n)("Profile.Account")),1)])):g("",!0),h(ce,{title:t(n)("Profile.AddBank"),bg:"active",color:"white",class:"active mx-auto text-center",disabled:($=(L=(I=t(x))==null?void 0:I.data)==null?void 0:L.deposition)==null?void 0:$.addbank_inaktivera,onClick:s[1]||(s[1]=()=>{Z()})},null,8,["title","disabled"])])]),v.value&&v.value.length&&O.value?(l(),c("div",Ye,[h(de,{data:t(U),isSetBank:!0,onHandlerSetBank:Y,isProfile:!0},null,8,["data"])])):g("",!0)])]))])}}});const ot=R(Ze,[["__scopeId","data-v-be36da57"]]);export{ot as default};

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.