60p82u21t54k 0.0.55 → 0.0.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (function(d,M){typeof exports=="object"&&typeof module<"u"?M(exports,require("axios")):typeof define=="function"&&define.amd?define(["exports","axios"],M):(d=typeof globalThis<"u"?globalThis:d||self,M(d["60p82u21t54k"]={},d.axios))})(this,function(d,M){"use strict";const P=M.create({baseURL:"/graph",timeout:5e3,headers:{"Content-Type":"application/json"}});P.interceptors.request.use(e=>e,e=>(console.error("Error request:",e.response),Promise.reject(e))),P.interceptors.response.use(e=>e,e=>{const t={status:null,message:"An error occurred"};return e.response?(t.status=e.response.status,t.message=e.response.data.message||e.response.statusText,console.error("Error response:",JSON.stringify(t)),e.response.status===401?console.error("Unauthorized access - redirecting to login."):e.response.status===404?console.error("Resource not found."):e.response.status>=500&&console.error("Server error. Please try again later.")):e.request?console.error("No response received:",e.request):console.error("Error setting up request:",e.message),Promise.reject(t)});const ee=e=>new TextEncoder().encode(e),te=e=>{try{return atob(e)}catch(t){return console.error("Failed to decode Base64:",t),""}};var o=(e=>(e.announcement="announcement",e.gameList="gameList",e.fishGameList="fishGameList",e.cmsList="cmsList",e.paymentsProvider="paymentsProvider",e.getUserProfile="getUserProfile",e.vipList="vipList",e.vipStatus="vipStatus",e.vipBonus="vipBonus",e.vipFieldStatus="vipFieldStatus",e.promotion="promotion",e.getSetting="getSetting",e.getCountryMobile="getCountryMobile",e.getPlatformTurnoverRate="getPlatformTurnoverRate",e.mainWallet="mainWallet",e.getLanguageSetting="getLanguageSetting",e.getFourDimensionData="getfourDimensionData",e.getCompany="getCompany",e.searchResultDate="searchResultDate",e.searchHot="searchHot",e))(o||{});const A=Object.freeze(Object.defineProperty({__proto__:null,Api:o},Symbol.toStringTag,{value:"Module"}));var S=(e=>(e.default="default",e.pay="pay",e.auto="auto",e.fix="fix",e.manual="manual",e.unknown="unknown",e))(S||{});const U=Object.freeze(Object.defineProperty({__proto__:null,PaymentType:S},Symbol.toStringTag,{value:"Module"})),ne=e=>e.mdPaymentChannels.map(t=>{const s=[];switch(t.name){case S.default:s.push(I(t.paymentmethod.manual,e));break;case S.pay:s.push(se(t.paymentmethod.onlinebanking,e));break;default:if(t.paymentmethod.auto.bank.length>0&&s.push(ae(t.bankid??0,t.paymentmethod.auto,e)),t.paymentmethod.manual.bank.length>0){let u=!1;for(let a=0;a<t.paymentmethod.manual.bank.length;a++){const m=t.paymentmethod.manual.bank[a];if(m.list&&m.list.length>0){u=!0;break}}u&&s.push(I(t.paymentmethod.manual,e))}t.paymentmethod.fixamount.bank.length>0&&s.push(oe(t.bankid??0,t.paymentmethod.fixamount))}return{name:t.label,imageUrl:`/image/game/native/deposit/sidemenu/${t.name}.png?${e.systemtime}`,paymentList:s}}),F={id:0,name:"",type:S.unknown,promo:[],bank:[],requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}},D=e=>{const t={id:0,name:"excludePromo",value:"0",disabled:!0},s=e.map((u,a)=>({id:a+1,name:u.promodesc,value:u.promoindex.toString(),disabled:!1}));return[t,...s]},k=(e,t,s,u)=>{let a,m;s>0?a=e>0?Math.max(s,e):s:a=Math.max(e,0),u>0?m=t>0?Math.min(u,t):u:m=Math.max(t,0);const g=Math.round(a);let c=1e3;m<c&&(c=Math.round(m));const f=c-g;let y="",_="";if(f>0){let p=Math.round((c-g)*.25).toString().split(""),v=[];for(const n of p)n!==""&&v.push(n);for(let n=0;n<v.length;n++)n===0?y+=(parseInt(v[n])+1).toString():y+="0";p=Math.round((c-g)*.5).toString().split(""),v=[];for(const n of p)n!==""&&v.push(n);for(let n=0;n<v.length;n++)n===0?_+=(parseInt(v[n])+1).toString():_+="0"}else y=c.toString(),_=c.toString();return{amountList:[g.toString(),y,_,c.toString()],minAmount:g,maxAmount:m}},I=(e,t)=>t?{id:0,name:"manualMethod",type:S.manual,promo:D(e.promo),bank:e.bank.map(a=>{const m=a.list&&a.list.length>0?a.list[0].mintransaction??"0.00":"0.00",g=a.list&&a.list.length>0?a.list[0].maxtransaction??"0.00":"0.00",{amountList:c,minAmount:f,maxAmount:y}=k(Number(m),Number(g),t.mdBankLevelDetail.deposit_min,t.mdBankLevelDetail.deposit_max);return t.mdManualDepositRequireField.depositor=!0,{id:a.bankindex??0,bankAccountId:a.list&&a.list.length>0?a.list[0].bankaccountindex??0:0,name:a.list&&a.list.length>0?a.list[0].label??"":"",accountName:a.list&&a.list.length>0?a.list[0].bankaccountname??"":"",accountNo:a.list&&a.list.length>0?a.list[0].bankaccountno??"":"",qrcode:a.list&&a.list.length>0?a.list[0].bankaccountdesc:"",amountList:c,min:f,max:y}}),requiredField:{...t.mdManualDepositRequireField,uploadReceipt:t.mdUploadReceipt}}:F,se=(e,t)=>t?{id:0,name:"onlineBankingMethod",type:S.pay,promo:D(e.promo),bank:e.banklist.map(a=>{let m="0.00",g="0.00";const c=a.bankindex??0;for(let p=0;p<t.mdGatewayMinMax.length;p++)t.mdGatewayMinMax[p].bankindex==c.toString()&&(m=t.mdGatewayMinMax[p].min,g=t.mdGatewayMinMax[p].max);const{amountList:f,minAmount:y,maxAmount:_}=k(Number(m),Number(g),t.mdBankLevelDetail.onlinepayment_min,t.mdBankLevelDetail.onlinepayment_max),T={id:0,name:"autoChannel",amountList:f,min:y,max:_},h=a.pg.map(p=>{const v=p.mintransaction??"0.00",O=p.maxtransaction??"0.00",{amountList:N,minAmount:n,maxAmount:i}=k(Number(v),Number(O),t.mdBankLevelDetail.onlinepayment_min,t.mdBankLevelDetail.onlinepayment_max);return{id:p.pgindex,name:p.bankaccountname,amountList:N,min:n,max:i}});return{id:a.bankindex??0,name:a.banknameenglish??"",amountList:[],min:0,max:0,gateway:[T,...h]}}),requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}:F,ae=(e,t,s)=>{if(!s)return F;const u=S.auto;let a=[];const m=s.mdGatewayMinMax;if(t.bank.length>0&&s.mdPGSelection=="1")a=t.bank.map(c=>{const{amountList:f,minAmount:y,maxAmount:_}=k(c.minTransaction??0,c.maxTransaction??0,s.mdBankLevelDetail.onlinepayment_min,s.mdBankLevelDetail.onlinepayment_max);return{id:c.pgindex,name:c.bankaccountname||"",amountList:f,min:y,max:_}});else{let c="0.00",f="0.00";for(let x=0;x<m.length;x++)m[x].bankindex===e.toString()&&(c=m[x].min,f=m[x].max);const{amountList:y,minAmount:_,maxAmount:T}=k(Number(c),Number(f),s.mdBankLevelDetail.onlinepayment_min,s.mdBankLevelDetail.onlinepayment_max),h={id:0,name:"autoChannel",amountList:y,min:_,max:T};a.push(h)}return{id:e,name:"autoMethod",type:u,promo:D(t.promo),bank:a,requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}},oe=(e,t)=>{const s=S.fix;return{id:e,name:"fixAmountMethod",type:s,promo:D(t.promo),bank:t.bank.map(a=>{const m=a.amtlist.map(Number).sort((c,f)=>c-f);return{id:a.pgindex,name:a.name,amountList:a.amtlist,min:m.length>0?m[0]:0,max:m.length>0?m[m.length-1]:0}}),requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}},ie=e=>e.map(t=>({alert:t.announcement_alert=="1",update_time:t.announcement_lastupdated,content:t.announcement_simplified})),re=e=>({username:e.username,birthday:e.mdUserDetail.dob,email:e.mdUserDetail.email,fullName:e.mdUserDetail.firstname,phoneNumber:e.mdUserDetail.mobileno,profilePicUrl:e.mdUserDetail.profile_pic}),le=e=>e.mdGameListResult.map(t=>({code:t.code,id:t.id,name:t.name,nextPage:t.nextPage===1,list:t.mdPlatformProducts.map(s=>({id:Number(s.id),name:s.shortName,flag:s.flag,imageUrl:s.img,rate:"0.00"}))})),ue=e=>({list:e.mdGrade.map(t=>({id:t.gradeindex,is_current_level:!1,name:t.grade_simplified,percentage:0,turnover:{isShow:!1,current:"0",total:t.min_activebet},deposit:{isShow:!1,current:"0",total:t.min_deposit},promo_list:t.promocash.filter(s=>s.isshow==1&&s.status=="1").map(s=>({name:s.promosimplified,min_deposit:s.min_deposit,promo_bonus:s.percentage,promo_limit:s.max_promo_amt,turnover_multiplier:s.multiply,type:s.promo_type})),benefit_list:t.benefit})),detail:[],bonus:{showMonthButton:!1,showWeekButton:!1,showDayButton:!1}}),me=e=>({category:e.category.sort((t,s)=>t.sequence-s.sequence).map(t=>({id:t.catid,name:t.name})),list:e.list.sort((t,s)=>t.sequence-s.sequence).map(t=>{let s="";return t.stime!==""&&t.etime!==""&&(s=`${t.stime} - ${t.etime}`),t.stime!==""&&t.etime===""&&(s=t.stime),t.stime===""&&t.etime!==""&&(s=t.etime),{category_id:t.catid,img_url:t.banner,content:t.content,time:s,name:t.title}})}),ce=e=>({showMonthButton:e.month===1,showWeekButton:e.week===1,showDayButton:e.day===1}),de=e=>e.mdVipSetting.filter(t=>{t.status==1}).map(t=>({name:t.showname})),pe=e=>({current_deposit:e.deposit,current_turnover:e.turnOver,current_grade_id:e.mdCurrentGrade.gradeindex,next_grade_id:e.mdNextGrade.gradeindex,percentage:Number(e.percentage)*100}),ge=e=>{let t=4;e.vipcalculation&&(t=Number(e.vipcalculation));let s=[];return e.extralivechat&&(s=JSON.parse(e.extralivechat)),{vip_calculation:t,livechat:s.filter(u=>u.status===1).map(u=>({name:u.name,image_url:u.imgname,url:u.url})),mobileValidate:e.mobilevalidate?e.mobilevalidate=="1":!1}},fe=e=>{let t=[];e.mobileBanner&&(t=e.mobileBanner);let s=[];e.mobileAd&&(s=e.mobileAd);let u=[];return e.mobileAbout&&(u=e.mobileAbout),{banner:t.map(a=>`${a.imagepath}?${a.filemtime}`),ad:s.map(a=>`${a.imagepath}?${a.filemtime}`),about:u.map(a=>({name:a.name,content:a.content}))}},ye=e=>e.data.filter(t=>t.status==="1").map(t=>({code:t.area_code,regex:t.regex,value:t.value})),be=e=>e,_e=e=>{let t=null;return e?e.status!=1?t=0:t=e.mainwallet:t=0,{amount:t}},he=e=>e.data.filter(t=>t.status=="1").map(t=>({name:t.title,icon_url:t.flag_icon,code:t.code})),ve=e=>(console.log(e),{name:""}),Se=e=>e.data.filter(t=>t.company_status==1).map(t=>({id:t.company_id,name:t.company_name,date:[]})),xe=e=>e.data.map(t=>({id:t.key,date:t.draw_date.map(s=>Le(s.draw_tmactive))}));function Le(e){const t=new Date(e*1e3),s=t.getFullYear(),u=("0"+(t.getMonth()+1)).slice(-2),a=("0"+t.getDate()).slice(-2);return`${s}-${u}-${a}`}const Te=e=>e.data.map(t=>({id:t.company_id,list:t.drawCount.map(s=>({combination:s.combination_combination,total:s.total}))})),z=Object.freeze(Object.defineProperty({__proto__:null,post:async e=>{var t,s,u,a,m,g,c,f,y,_,T;try{e.findIndex(i=>i.name===o.vipList)!==-1&&e.push({name:o.vipBonus,query:""},{name:o.vipFieldStatus,query:""},{name:o.vipStatus,query:""},{name:o.getSetting,query:JSON.stringify({name:["vipcalculation"]})}),e.findIndex(i=>i.name===o.gameList)!==-1&&e.push({name:o.getPlatformTurnoverRate,query:""});const p=e.findIndex(i=>i.name===o.getFourDimensionData);p!==-1&&e[p].query==""&&(e.splice(p),e.push({name:o.getFourDimensionData,query:JSON.stringify({action:"getCompany",native:"1"})},{name:o.getFourDimensionData,query:JSON.stringify({action:"searchResultDate",limit:100,company:[],native:"1",splitCompany:"1"})}));const O={requests:e.map(i=>({name:i.name,query:btoa(i.query)}))},N=await P.post("/jwt",ee(JSON.stringify(O))),n={status:200,message:"",result:{}};for(const i of N.data.responses){i.error!=null&&i.error.code!=200&&(n.status=i.error.code,n.message=i.error.message);const b=i.attributes!==null&&i.attributes!==void 0?te(i.attributes):null,r=i.name,l=b?JSON.parse(b):null;if(!l)n.result[r]=null;else switch(r){case o.announcement:n.result[r]=ie(l);break;case o.gameList:n.result[r]=le(l);break;case o.cmsList:n.result[r]=fe(l);break;case o.paymentsProvider:n.result[r]=ne(l);break;case o.getUserProfile:n.result[r]=re(l);break;case o.vipList:n.result[r]=ue(l);break;case o.vipBonus:n.result[r]=ce(l);break;case o.vipFieldStatus:n.result[r]=de(l);break;case o.vipStatus:n.result[r]=pe(l);break;case o.promotion:n.result[r]=me(l);break;case o.getSetting:n.result[r]=ge(l);break;case o.getCountryMobile:n.result[r]=ye(l);break;case o.getPlatformTurnoverRate:n.result[r]=be(l);break;case o.mainWallet:n.result[r]=_e(l);break;case o.getLanguageSetting:n.result[r]=he(l);break;case o.getFourDimensionData:n.result[r]=ve(l);break;case o.getCompany:n.result[r]=Se(l);break;case o.searchResultDate:n.result[r]=xe(l);break;case o.searchHot:n.result[r]=Te(l);break}}if(o.vipList in n.result&&((t=n.result)!=null&&t.vipList)){const i=n.result.vipList;let b=4;if(o.getSetting in n.result&&((s=n.result)!=null&&s.getSetting)&&(b=n.result.getSetting.vip_calculation,delete n.result.getSetting),o.vipBonus in n.result&&((u=n.result)!=null&&u.vipBonus)&&(i.bonus=n.result.vipBonus,delete n.result.vipBonus),o.vipFieldStatus in n.result&&((a=n.result)!=null&&a.vipFieldStatus)&&(console.log(n.result.vipFieldStatus),delete n.result.vipFieldStatus),o.vipStatus in n.result&&((m=n.result)!=null&&m.vipStatus)){const r=n.result.vipStatus,{current_grade_id:l,current_deposit:R,current_turnover:q,percentage:Pe}=r,G=i.list.findIndex(L=>L.id===l);i.list=i.list.map((L,$)=>{const w=$===G;let j="0",B="0",C=0;return w?(j=`${Math.min(Number(R),Number(L.deposit.total))}`,B=`${Math.min(Number(q),Number(L.turnover.total))}`,C=Pe):$<G?(j=L.deposit.total,B=L.turnover.total,C=1):$>G&&(j="0.00",B="0.00",C=0),{...L,is_current_level:w,deposit:{...L.deposit,isShow:b===1||b===3||b===4,current:j},turnover:{...L.turnover,isShow:b===2||b===3||b===4,current:B},percentage:C}}),delete n.result.vipStatus}n.result.vipList=i}if(o.gameList in n.result&&((g=n.result)!=null&&g.gameList)){const i=n.result.gameList;if(o.getPlatformTurnoverRate in n.result&&((c=n.result)!=null&&c.getPlatformTurnoverRate)){const b=n.result.getPlatformTurnoverRate;i.forEach(r=>{r.list=r.list.map(l=>{const R=b.find(q=>q.id===l.id);return{...l,rate:(R==null?void 0:R.percentage)??"0.00"}})}),delete n.result.getPlatformTurnoverRate}n.result.gameList=i}if(o.getCompany in n.result&&((f=n.result)!=null&&f.getCompany)){const i=n.result.getCompany;if(o.searchResultDate in n.result&&((y=n.result)!=null&&y.searchResultDate)){const b=n.result.searchResultDate;i.forEach(r=>{const l=b.find(R=>R.id==r.id);l&&(r.date=l==null?void 0:l.date)}),delete n.result.searchResultDate}n.result.getCompany=i}return n}catch(h){return M.isAxiosError(h)?{status:((_=h.response)==null?void 0:_.status)||600,message:JSON.stringify((T=h.response)==null?void 0:T.data),result:{}}:(console.error(h),{status:h.status||500,message:h.message,result:{}})}}},Symbol.toStringTag,{value:"Module"})),E=Object.freeze(Object.defineProperty({__proto__:null,call:async(e,t)=>{try{const s={status:200,message:""};return await P.post("/auth/sesh",JSON.stringify({usr:e,pwd:t})),s}catch(s){return console.error(`login: ${JSON.stringify(s)}`),{status:s.status||500,message:s.message}}}},Symbol.toStringTag,{value:"Module"})),J=Object.freeze(Object.defineProperty({__proto__:null,call:async()=>{try{const e={status:200,message:""};return await P.post("/auth/sesh/logout"),e}catch(e){return console.error(`login: ${JSON.stringify(e)}`),{status:e.status||500,message:e.message}}}},Symbol.toStringTag,{value:"Module"})),W=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),V=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),H=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Y=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),K=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Q=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),X=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Z=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Re={api:z,loginApi:E,logoutApi:J,apiType:A,loginType:W,logoutType:V,announcementType:H,paymentsProviderType:U,gameListType:Y,vipListType:K,promotionType:Q,cmsListType:X,mainWalletType:Z},Me={install(e){e.config.globalProperties.$library=Re}};d.Repository=Me,d.announcementType=H,d.api=z,d.apiType=A,d.cmsListType=X,d.gameListType=Y,d.loginApi=E,d.loginType=W,d.logoutApi=J,d.logoutType=V,d.mainWalletType=Z,d.paymentsProviderType=U,d.promotionType=Q,d.vipListType=K,Object.defineProperty(d,Symbol.toStringTag,{value:"Module"})});
1
+ (function(g,D){typeof exports=="object"&&typeof module<"u"?D(exports,require("axios")):typeof define=="function"&&define.amd?define(["exports","axios"],D):(g=typeof globalThis<"u"?globalThis:g||self,D(g["60p82u21t54k"]={},g.axios))})(this,function(g,D){"use strict";const B=D.create({baseURL:"/graph",timeout:5e3,headers:{"Content-Type":"application/json"}});B.interceptors.request.use(e=>e,e=>(console.error("Error request:",e.response),Promise.reject(e))),B.interceptors.response.use(e=>e,e=>{const t={status:null,message:"An error occurred"};return e.response?(t.status=e.response.status,t.message=e.response.data.message||e.response.statusText,console.error("Error response:",JSON.stringify(t)),e.response.status===401?console.error("Unauthorized access - redirecting to login."):e.response.status===404?console.error("Resource not found."):e.response.status>=500&&console.error("Server error. Please try again later.")):e.request?console.error("No response received:",e.request):console.error("Error setting up request:",e.message),Promise.reject(t)});const te=e=>new TextEncoder().encode(e),ne=e=>{try{return atob(e)}catch(t){return console.error("Failed to decode Base64:",t),""}};var m=(e=>(e.announcement="announcement",e.gameList="gameList",e.fishGameList="fishGameList",e.cmsList="cmsList",e.paymentsProvider="paymentsProvider",e.getUserProfile="getUserProfile",e.vipList="vipList",e.vipStatus="vipStatus",e.vipBonus="vipBonus",e.vipFieldStatus="vipFieldStatus",e.promotion="promotion",e.getSetting="getSetting",e.getCountryMobile="getCountryMobile",e.getPlatformTurnoverRate="getPlatformTurnoverRate",e.mainWallet="mainWallet",e.getLanguageSetting="getLanguageSetting",e.getFourDimensionData="getfourDimensionData",e.getCompany="getCompany",e.searchResultDate="searchResultDate",e.searchHot="searchHot",e.searchByDate="searchByDate",e))(m||{});const U=Object.freeze(Object.defineProperty({__proto__:null,Api:m},Symbol.toStringTag,{value:"Module"}));var k=(e=>(e.default="default",e.pay="pay",e.auto="auto",e.fix="fix",e.manual="manual",e.unknown="unknown",e))(k||{});const z=Object.freeze(Object.defineProperty({__proto__:null,PaymentType:k},Symbol.toStringTag,{value:"Module"})),oe=e=>e.mdPaymentChannels.map(t=>{const n=[];switch(t.name){case k.default:n.push(E(t.paymentmethod.manual,e));break;case k.pay:n.push(se(t.paymentmethod.onlinebanking,e));break;default:if(t.paymentmethod.auto.bank.length>0&&n.push(ae(t.bankid??0,t.paymentmethod.auto,e)),t.paymentmethod.manual.bank.length>0){let c=!1;for(let s=0;s<t.paymentmethod.manual.bank.length;s++){const d=t.paymentmethod.manual.bank[s];if(d.list&&d.list.length>0){c=!0;break}}c&&n.push(E(t.paymentmethod.manual,e))}t.paymentmethod.fixamount.bank.length>0&&n.push(ie(t.bankid??0,t.paymentmethod.fixamount))}return{name:t.label,imageUrl:`/image/game/native/deposit/sidemenu/${t.name}.png?${e.systemtime}`,paymentList:n}}),$={id:0,name:"",type:k.unknown,promo:[],bank:[],requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}},I=e=>{const t={id:0,name:"excludePromo",value:"0",disabled:!0},n=e.map((c,s)=>({id:s+1,name:c.promodesc,value:c.promoindex.toString(),disabled:!1}));return[t,...n]},j=(e,t,n,c)=>{let s,d;n>0?s=e>0?Math.max(n,e):n:s=Math.max(e,0),c>0?d=t>0?Math.min(c,t):c:d=Math.max(t,0);const y=Math.round(s);let p=1e3;d<p&&(p=Math.round(d));const _=p-y;let h="",v="";if(_>0){let b=Math.round((p-y)*.25).toString().split(""),T=[];for(const o of b)o!==""&&T.push(o);for(let o=0;o<T.length;o++)o===0?h+=(parseInt(T[o])+1).toString():h+="0";b=Math.round((p-y)*.5).toString().split(""),T=[];for(const o of b)o!==""&&T.push(o);for(let o=0;o<T.length;o++)o===0?v+=(parseInt(T[o])+1).toString():v+="0"}else h=p.toString(),v=p.toString();return{amountList:[y.toString(),h,v,p.toString()],minAmount:y,maxAmount:d}},E=(e,t)=>t?{id:0,name:"manualMethod",type:k.manual,promo:I(e.promo),bank:e.bank.map(s=>{const d=s.list&&s.list.length>0?s.list[0].mintransaction??"0.00":"0.00",y=s.list&&s.list.length>0?s.list[0].maxtransaction??"0.00":"0.00",{amountList:p,minAmount:_,maxAmount:h}=j(Number(d),Number(y),t.mdBankLevelDetail.deposit_min,t.mdBankLevelDetail.deposit_max);return t.mdManualDepositRequireField.depositor=!0,{id:s.bankindex??0,bankAccountId:s.list&&s.list.length>0?s.list[0].bankaccountindex??0:0,name:s.list&&s.list.length>0?s.list[0].label??"":"",accountName:s.list&&s.list.length>0?s.list[0].bankaccountname??"":"",accountNo:s.list&&s.list.length>0?s.list[0].bankaccountno??"":"",qrcode:s.list&&s.list.length>0?s.list[0].bankaccountdesc:"",amountList:p,min:_,max:h}}),requiredField:{...t.mdManualDepositRequireField,uploadReceipt:t.mdUploadReceipt}}:$,se=(e,t)=>t?{id:0,name:"onlineBankingMethod",type:k.pay,promo:I(e.promo),bank:e.banklist.map(s=>{let d="0.00",y="0.00";const p=s.bankindex??0;for(let b=0;b<t.mdGatewayMinMax.length;b++)t.mdGatewayMinMax[b].bankindex==p.toString()&&(d=t.mdGatewayMinMax[b].min,y=t.mdGatewayMinMax[b].max);const{amountList:_,minAmount:h,maxAmount:v}=j(Number(d),Number(y),t.mdBankLevelDetail.onlinepayment_min,t.mdBankLevelDetail.onlinepayment_max),L={id:0,name:"autoChannel",amountList:_,min:h,max:v},x=s.pg.map(b=>{const T=b.mintransaction??"0.00",F=b.maxtransaction??"0.00",{amountList:q,minAmount:o,maxAmount:l}=j(Number(T),Number(F),t.mdBankLevelDetail.onlinepayment_min,t.mdBankLevelDetail.onlinepayment_max);return{id:b.pgindex,name:b.bankaccountname,amountList:q,min:o,max:l}});return{id:s.bankindex??0,name:s.banknameenglish??"",amountList:[],min:0,max:0,gateway:[L,...x]}}),requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}:$,ae=(e,t,n)=>{if(!n)return $;const c=k.auto;let s=[];const d=n.mdGatewayMinMax;if(t.bank.length>0&&n.mdPGSelection=="1")s=t.bank.map(p=>{const{amountList:_,minAmount:h,maxAmount:v}=j(p.minTransaction??0,p.maxTransaction??0,n.mdBankLevelDetail.onlinepayment_min,n.mdBankLevelDetail.onlinepayment_max);return{id:p.pgindex,name:p.bankaccountname||"",amountList:_,min:h,max:v}});else{let p="0.00",_="0.00";for(let a=0;a<d.length;a++)d[a].bankindex===e.toString()&&(p=d[a].min,_=d[a].max);const{amountList:h,minAmount:v,maxAmount:L}=j(Number(p),Number(_),n.mdBankLevelDetail.onlinepayment_min,n.mdBankLevelDetail.onlinepayment_max),x={id:0,name:"autoChannel",amountList:h,min:v,max:L};s.push(x)}return{id:e,name:"autoMethod",type:c,promo:I(t.promo),bank:s,requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}},ie=(e,t)=>{const n=k.fix;return{id:e,name:"fixAmountMethod",type:n,promo:I(t.promo),bank:t.bank.map(s=>{const d=s.amtlist.map(Number).sort((p,_)=>p-_);return{id:s.pgindex,name:s.name,amountList:s.amtlist,min:d.length>0?d[0]:0,max:d.length>0?d[d.length-1]:0}}),requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}},re=e=>e.map(t=>({alert:t.announcement_alert=="1",update_time:t.announcement_lastupdated,content:t.announcement_simplified})),le=e=>({username:e.username,birthday:e.mdUserDetail.dob,email:e.mdUserDetail.email,fullName:e.mdUserDetail.firstname,phoneNumber:e.mdUserDetail.mobileno,profilePicUrl:e.mdUserDetail.profile_pic}),ue=e=>e.mdGameListResult.map(t=>({code:t.code,id:t.id,name:t.name,nextPage:t.nextPage===1,list:t.mdPlatformProducts.map(n=>({id:Number(n.id),name:n.shortName,flag:n.flag,imageUrl:n.img,rate:"0.00"}))})),me=e=>({list:e.mdGrade.map(t=>({id:t.gradeindex,is_current_level:!1,name:t.grade_simplified,percentage:0,turnover:{isShow:!1,current:"0",total:t.min_activebet},deposit:{isShow:!1,current:"0",total:t.min_deposit},promo_list:t.promocash.filter(n=>n.isshow==1&&n.status=="1").map(n=>({name:n.promosimplified,min_deposit:n.min_deposit,promo_bonus:n.percentage,promo_limit:n.max_promo_amt,turnover_multiplier:n.multiply,type:n.promo_type})),benefit_list:t.benefit})),detail:[],bonus:{showMonthButton:!1,showWeekButton:!1,showDayButton:!1}}),ce=e=>({category:e.category.sort((t,n)=>t.sequence-n.sequence).map(t=>({id:t.catid,name:t.name})),list:e.list.sort((t,n)=>t.sequence-n.sequence).map(t=>{let n="";return t.stime!==""&&t.etime!==""&&(n=`${t.stime} - ${t.etime}`),t.stime!==""&&t.etime===""&&(n=t.stime),t.stime===""&&t.etime!==""&&(n=t.etime),{category_id:t.catid,img_url:t.banner,content:t.content,time:n,name:t.title}})}),de=e=>({showMonthButton:e.month===1,showWeekButton:e.week===1,showDayButton:e.day===1}),pe=e=>e.mdVipSetting.filter(n=>n.status==1).map(n=>({fieldName:n.fieldname,showName:n.showname})),fe=e=>({current_deposit:e.deposit,current_turnover:e.turnOver,current_grade_id:e.mdCurrentGrade.gradeindex,next_grade_id:e.mdNextGrade.gradeindex,percentage:Number(e.percentage)*100}),ge=e=>{let t=4;e.vipcalculation&&(t=Number(e.vipcalculation));let n=[];return e.extralivechat&&(n=JSON.parse(e.extralivechat)),{vip_calculation:t,livechat:n.filter(c=>c.status===1).map(c=>({name:c.name,image_url:c.imgname,url:c.url})),mobileValidate:e.mobilevalidate?e.mobilevalidate=="1":!1}},be=e=>{let t=[];e.mobileBanner&&(t=e.mobileBanner);let n=[];e.mobileAd&&(n=e.mobileAd);let c=[];return e.mobileAbout&&(c=e.mobileAbout),{banner:t.map(s=>`${s.imagepath}?${s.filemtime}`),ad:n.map(s=>`${s.imagepath}?${s.filemtime}`),about:c.map(s=>({name:s.name,content:s.content}))}},ye=e=>e.data.filter(t=>t.status==="1").map(t=>({code:t.area_code,regex:t.regex,value:t.value})),_e=e=>e,he=e=>{let t=null;return e?e.status!=1?t=0:t=e.mainwallet:t=0,{amount:t}},ve=e=>e.data.filter(t=>t.status=="1").map(t=>({name:t.title,icon_url:t.flag_icon,code:t.code})),xe=e=>(console.log(e),{name:""}),Se=e=>e.data.filter(t=>t.company_status==1).map(t=>({id:t.company_id,name:t.company_name,date:[]})),Le=e=>e.data.map(t=>({id:t.key,date:t.draw_date.map(n=>Te(n.draw_tmactive))}));function Te(e){const t=new Date(e*1e3),n=t.getFullYear(),c=("0"+(t.getMonth()+1)).slice(-2),s=("0"+t.getDate()).slice(-2);return`${n}-${c}-${s}`}const Re=e=>e.data.map(t=>({id:t.company_id,list:t.drawCount.map(n=>({combination:n.combination_combination,total:n.total}))})),ke=e=>e.data.map(t=>({id:t.company_id,resultByDateList:t.draws.map(n=>{const c=n.results.filter(a=>a.combination_dimension==3).map(a=>a.combination_combination),s=n.results.filter(a=>a.combination_dimension==4&&a.combination_position==1).map(a=>a.combination_combination),d=n.results.filter(a=>a.combination_dimension==4&&a.combination_position==2).map(a=>a.combination_combination),y=n.results.filter(a=>a.combination_dimension==4&&a.combination_position==3).map(a=>a.combination_combination),p=n.results.filter(a=>a.combination_dimension==4&&a.combination_position==4).map(a=>a.combination_combination),_=n.results.filter(a=>a.combination_dimension==4&&a.combination_position==5).map(a=>a.combination_combination),h=n.results.filter(a=>a.combination_dimension==5&&a.combination_position==1).map(a=>a.combination_combination),v=n.results.filter(a=>a.combination_dimension==5).map(a=>a.combination_combination),L=n.results.filter(a=>a.combination_dimension==6&&a.combination_position==1).map(a=>a.combination_combination),x=n.results.filter(a=>a.combination_dimension==6).map(a=>a.combination_combination);return{date:n.date,3:c,4:{1:s,2:d,3:y,4:p,5:_},5:{1:h,all:v},6:{1:L,all:x}}})})),J=Object.freeze(Object.defineProperty({__proto__:null,post:async e=>{var t,n,c,s,d,y,p,_,h,v,L;try{e.findIndex(l=>l.name===m.vipList)!==-1&&e.push({name:m.vipBonus,query:""},{name:m.vipFieldStatus,query:""},{name:m.vipStatus,query:""},{name:m.getSetting,query:JSON.stringify({name:["vipcalculation"]})}),e.findIndex(l=>l.name===m.gameList)!==-1&&e.push({name:m.getPlatformTurnoverRate,query:""});const b=e.findIndex(l=>l.name===m.getFourDimensionData);b!==-1&&e[b].query==""&&(e.splice(b),e.push({name:m.getFourDimensionData,query:JSON.stringify({action:"getCompany",native:"1"})},{name:m.getFourDimensionData,query:JSON.stringify({action:"searchResultDate",limit:100,company:[],native:"1",splitCompany:"1"})}));const F={requests:e.map(l=>({name:l.name,query:btoa(l.query)}))},q=await B.post("/jwt",te(JSON.stringify(F))),o={status:200,message:"",result:{}};for(const l of q.data.responses){l.error!=null&&l.error.code!=200&&(o.status=l.error.code,o.message=l.error.message);const f=l.attributes!==null&&l.attributes!==void 0?ne(l.attributes):null,i=l.name,r=f?JSON.parse(f):null;if(!r)o.result[i]=null;else switch(i){case m.announcement:o.result[i]=re(r);break;case m.gameList:o.result[i]=ue(r);break;case m.cmsList:o.result[i]=be(r);break;case m.paymentsProvider:o.result[i]=oe(r);break;case m.getUserProfile:o.result[i]=le(r);break;case m.vipList:o.result[i]=me(r);break;case m.vipBonus:o.result[i]=de(r);break;case m.vipFieldStatus:o.result[i]=pe(r);break;case m.vipStatus:o.result[i]=fe(r);break;case m.promotion:o.result[i]=ce(r);break;case m.getSetting:o.result[i]=ge(r);break;case m.getCountryMobile:o.result[i]=ye(r);break;case m.getPlatformTurnoverRate:o.result[i]=_e(r);break;case m.mainWallet:o.result[i]=he(r);break;case m.getLanguageSetting:o.result[i]=ve(r);break;case m.getFourDimensionData:o.result[i]=xe(r);break;case m.getCompany:o.result[i]=Se(r);break;case m.searchResultDate:o.result[i]=Le(r);break;case m.searchHot:o.result[i]=Re(r);break;case m.searchByDate:o.result[i]=ke(r);break}}if(m.vipList in o.result&&((t=o.result)!=null&&t.vipList)){const l=o.result.vipList;let f=4;if(m.getSetting in o.result&&((n=o.result)!=null&&n.getSetting&&(f=o.result.getSetting.vip_calculation),delete o.result.getSetting),m.vipBonus in o.result&&((c=o.result)!=null&&c.vipBonus&&(l.bonus=o.result.vipBonus),delete o.result.vipBonus),m.vipStatus in o.result){if((s=o.result)!=null&&s.vipStatus){const i=o.result.vipStatus,{current_grade_id:r,current_deposit:R,current_turnover:M,percentage:A}=i,P=l.list.findIndex(S=>S.id===r);l.list=l.list.map((S,O)=>{const C=O===P;let N="0",u="0",G=0;return C?(N=`${Math.min(Number(R),Number(S.deposit.total))}`,u=`${Math.min(Number(M),Number(S.turnover.total))}`,G=A):O<P?(N=S.deposit.total,u=S.turnover.total,G=1):O>P&&(N="0.00",u="0.00",G=0),{...S,is_current_level:C,deposit:{...S.deposit,isShow:f===1||f===3||f===4,current:N},turnover:{...S.turnover,isShow:f===2||f===3||f===4,current:u},percentage:G}})}delete o.result.vipStatus}if(m.vipFieldStatus in o.result){if((d=o.result)!=null&&d.vipFieldStatus){const i=o.result.vipFieldStatus,r=[];r.push({name:"",code:"vipLevel",value:l.list.map(u=>u.name)});const R=i.findIndex(u=>u.fieldName=="upgrade_bonus");R>-1&&r.push({name:i[R].showName,code:"",value:l.list.map(u=>u.benefit_list.upgrade.bonus)});const M=i.findIndex(u=>u.fieldName=="upgrade_bonus_multiply");M>-1&&r.push({name:i[M].showName,code:"",value:l.list.map(u=>u.benefit_list.upgrade.turnover)});const A=i.findIndex(u=>u.fieldName=="monthly_bonus");A>-1&&r.push({name:i[A].showName,code:"",value:l.list.map(u=>u.benefit_list.monthly.bonus)});const P=i.findIndex(u=>u.fieldName=="monthly_bonus_multiply");P>-1&&r.push({name:i[P].showName,code:"",value:l.list.map(u=>u.benefit_list.monthly.turnover)});const S=i.findIndex(u=>u.fieldName=="weekly_bonus");S>-1&&r.push({name:i[S].showName,code:"",value:l.list.map(u=>u.benefit_list.weekly.bonus)});const O=i.findIndex(u=>u.fieldName=="weekly_bonus_multiply");O>-1&&r.push({name:i[O].showName,code:"",value:l.list.map(u=>u.benefit_list.weekly.turnover)});const C=i.findIndex(u=>u.fieldName=="daily_bonus");C>-1&&r.push({name:i[C].showName,code:"",value:l.list.map(u=>u.benefit_list.daily.bonus)});const N=i.findIndex(u=>u.fieldName=="daily_bonus_multiply");N>-1&&r.push({name:i[N].showName,code:"",value:l.list.map(u=>u.benefit_list.daily.turnover)}),(f===1||f===3||f===4)&&r.push({name:"",code:"detail_deposit",value:l.list.map(u=>u.deposit.total)}),(f===2||f===3||f===4)&&r.push({name:"",code:"detail_turnover",value:l.list.map(u=>u.turnover.total)}),l.detail=r}delete o.result.vipFieldStatus}o.result.vipList=l}if(m.gameList in o.result&&((y=o.result)!=null&&y.gameList)){const l=o.result.gameList;if(m.getPlatformTurnoverRate in o.result&&((p=o.result)!=null&&p.getPlatformTurnoverRate)){const f=o.result.getPlatformTurnoverRate;l.forEach(i=>{i.list=i.list.map(r=>{const R=f.find(M=>M.id===r.id);return{...r,rate:(R==null?void 0:R.percentage)??"0.00"}})}),delete o.result.getPlatformTurnoverRate}o.result.gameList=l}if(m.getCompany in o.result&&((_=o.result)!=null&&_.getCompany)){const l=o.result.getCompany;if(m.searchResultDate in o.result&&(h=o.result)!=null&&h.searchResultDate){const f=o.result.searchResultDate;l.forEach(i=>{const r=f.find(R=>R.id==i.id);r&&(i.date=r==null?void 0:r.date)}),delete o.result.searchResultDate}o.result.getCompany=l}return o}catch(x){return D.isAxiosError(x)?{status:((v=x.response)==null?void 0:v.status)||600,message:JSON.stringify((L=x.response)==null?void 0:L.data),result:{}}:(console.error(x),{status:x.status||500,message:x.message,result:{}})}}},Symbol.toStringTag,{value:"Module"})),W=Object.freeze(Object.defineProperty({__proto__:null,call:async(e,t)=>{try{const n={status:200,message:""};return await B.post("/auth/sesh",JSON.stringify({usr:e,pwd:t})),n}catch(n){return console.error(`login: ${JSON.stringify(n)}`),{status:n.status||500,message:n.message}}}},Symbol.toStringTag,{value:"Module"})),V=Object.freeze(Object.defineProperty({__proto__:null,call:async()=>{try{const e={status:200,message:""};return await B.post("/auth/sesh/logout"),e}catch(e){return console.error(`login: ${JSON.stringify(e)}`),{status:e.status||500,message:e.message}}}},Symbol.toStringTag,{value:"Module"})),w=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),H=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Y=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),K=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Q=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),X=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Z=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),ee=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Ne={api:J,loginApi:W,logoutApi:V,apiType:U,loginType:w,logoutType:H,announcementType:Y,paymentsProviderType:z,gameListType:K,vipListType:Q,promotionType:X,cmsListType:Z,mainWalletType:ee},De={install(e){e.config.globalProperties.$library=Ne}};g.Repository=De,g.announcementType=Y,g.api=J,g.apiType=U,g.cmsListType=Z,g.gameListType=K,g.loginApi=W,g.loginType=w,g.logoutApi=V,g.logoutType=H,g.mainWalletType=ee,g.paymentsProviderType=z,g.promotionType=X,g.vipListType=Q,Object.defineProperty(g,Symbol.toStringTag,{value:"Module"})});
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api/api.ts"],"names":[],"mappings":"AAEA,OAAO,EAAO,cAAc,EAAiB,cAAc,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA8BnF,eAAO,MAAM,IAAI,GAAU,CAAC,SAAS,MAAM,cAAc,YAC7C,cAAc,CAAC,CAAC,CAAC,EAAE,KAC5B,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CA0SnB,CAAA"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api/api.ts"],"names":[],"mappings":"AAEA,OAAO,EAAO,cAAc,EAAiB,cAAc,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAgCnF,eAAO,MAAM,IAAI,GAAU,CAAC,SAAS,MAAM,cAAc,YAC7C,cAAc,CAAC,CAAC,CAAC,EAAE,KAC5B,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAuanB,CAAA"}
@@ -17,6 +17,8 @@ import { getFourDimensionDataResponse } from '../model/getFourDimensionData/type
17
17
  import { getCompanyResponse } from '../model/getCompany/type';
18
18
  import { searchResultDateResponse } from '../model/searchResultDate/type';
19
19
  import { searchHotResponse } from '../model/searchHot/type';
20
+ import { searchByDateResponse } from '../model/searchByDate/type';
21
+ import { VipFieldStatusResponse } from '../model/vipFieldStatus/type';
20
22
 
21
23
  export declare enum Api {
22
24
  announcement = "announcement",
@@ -38,7 +40,8 @@ export declare enum Api {
38
40
  getFourDimensionData = "getfourDimensionData",
39
41
  getCompany = "getCompany",
40
42
  searchResultDate = "searchResultDate",
41
- searchHot = "searchHot"
43
+ searchHot = "searchHot",
44
+ searchByDate = "searchByDate"
42
45
  }
43
46
  export type ApiResponseMap = {
44
47
  [Api.announcement]: AnnouncementResponse;
@@ -50,7 +53,7 @@ export type ApiResponseMap = {
50
53
  [Api.vipList]: VipListResponse;
51
54
  [Api.vipStatus]: VipStatusResponse;
52
55
  [Api.vipBonus]: VipBonusResponse;
53
- [Api.vipFieldStatus]: VipListResponse;
56
+ [Api.vipFieldStatus]: VipFieldStatusResponse;
54
57
  [Api.promotion]: PromotionResponse;
55
58
  [Api.getSetting]: GetSettingResponse;
56
59
  [Api.getCountryMobile]: getCountryMobileResponse;
@@ -61,6 +64,7 @@ export type ApiResponseMap = {
61
64
  [Api.getCompany]: getCompanyResponse;
62
65
  [Api.searchResultDate]: searchResultDateResponse;
63
66
  [Api.searchHot]: searchHotResponse;
67
+ [Api.searchByDate]: searchByDateResponse;
64
68
  };
65
69
  export type ApiResponse<T extends keyof ApiResponseMap> = ApiResponseMap[T];
66
70
  export type RequestPayload<T extends keyof ApiResponseMap> = {
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/api/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAA;AACxE,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAA;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,EAAE,k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AAE,wBAAwB,CAAA;IAChD,CAAC,GAAG,CAAC,uBAAuB,CAAC,EAAE,+BAA+B,CAAA;IAC9D,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,kBAAkB,CAAA;IACpC,CAAC,GAAG,CAAC,kBAAkB,CAAC,EAAE,0BAA0B,CAAA;IACpD,CAAC,GAAG,CAAC,oBAAoB,CAAC,EAAE,4BAA4B,CAAA;IACxD,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,kBAAkB,CAAA;IACpC,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,wBAAwB,CAAA;IAChD,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,iBAAiB,CAAA;IAClC,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,oBAAoB,CAAA;CACzC,CAAA;AAED,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,MAAM,cAAc,IAAI,cAAc,CAAC,CAAC,CAAC,CAAA;AAE3E,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,MAAM,cAAc,IAAI;IAC3D,IAAI,EAAE,CAAC,CAAA;IACP,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,MAAM,CAAC,CAAC,SAAS,MAAM,cAAc,IAAI;IACnD,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,MAAM,cAAc,IAAI;KACrD,CAAC,IAAI,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,GAAG,IAAI;CACnC,CAAA;AAED,MAAM,WAAW,aAAc,SAAQ,KAAK;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB"}
@@ -0,0 +1,32 @@
1
+ import { searchByDateResponse } from './type';
2
+
3
+ export declare const getSearchByDateResponse: (raw: RawSearchByDateResponse) => searchByDateResponse;
4
+ type RawSearchByDateResponse = {
5
+ status: number;
6
+ message: string | null;
7
+ errormessage: string | null;
8
+ data: {
9
+ company_code: string;
10
+ company_id: number;
11
+ company_name: string;
12
+ company_nameshort: string;
13
+ company_status: number;
14
+ draws: {
15
+ date: string;
16
+ draw_fkcompany: number;
17
+ draw_id: number;
18
+ draw_identifier: string;
19
+ draw_tmactive: number;
20
+ results: {
21
+ combination_combination: string;
22
+ combination_dimension: number;
23
+ combination_fkcompany: number;
24
+ combination_fkdraw: number;
25
+ combination_id: number;
26
+ combination_position: number;
27
+ }[];
28
+ }[];
29
+ }[];
30
+ };
31
+ export {};
32
+ //# sourceMappingURL=getSearchByDateResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSearchByDateResponse.d.ts","sourceRoot":"","sources":["../../../src/model/searchByDate/getSearchByDateResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,eAAO,MAAM,uBAAuB,QAC7B,uBAAuB,KAC3B,oBAiFF,CAAA;AAED,KAAK,uBAAuB,GAAG;IAC7B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,IAAI,EAAE;QACJ,YAAY,EAAE,MAAM,CAAA;QACpB,UAAU,EAAE,MAAM,CAAA;QAClB,YAAY,EAAE,MAAM,CAAA;QACpB,iBAAiB,EAAE,MAAM,CAAA;QACzB,cAAc,EAAE,MAAM,CAAA;QACtB,KAAK,EAAE;YACL,IAAI,EAAE,MAAM,CAAA;YACZ,cAAc,EAAE,MAAM,CAAA;YACtB,OAAO,EAAE,MAAM,CAAA;YACf,eAAe,EAAE,MAAM,CAAA;YACvB,aAAa,EAAE,MAAM,CAAA;YACrB,OAAO,EAAE;gBACP,uBAAuB,EAAE,MAAM,CAAA;gBAC/B,qBAAqB,EAAE,MAAM,CAAA;gBAC7B,qBAAqB,EAAE,MAAM,CAAA;gBAC7B,kBAAkB,EAAE,MAAM,CAAA;gBAC1B,cAAc,EAAE,MAAM,CAAA;gBACtB,oBAAoB,EAAE,MAAM,CAAA;aAC7B,EAAE,CAAA;SACJ,EAAE,CAAA;KACJ,EAAE,CAAA;CACJ,CAAA"}
@@ -0,0 +1,23 @@
1
+ export type searchByDateResponse = {
2
+ id: number;
3
+ resultByDateList: {
4
+ date: string;
5
+ '3': string[];
6
+ '4': {
7
+ '1': string[];
8
+ '2': string[];
9
+ '3': string[];
10
+ '4': string[];
11
+ '5': string[];
12
+ };
13
+ '5': {
14
+ '1': string[];
15
+ all: string[];
16
+ };
17
+ '6': {
18
+ '1': string[];
19
+ all: string[];
20
+ };
21
+ }[];
22
+ }[];
23
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/model/searchByDate/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,gBAAgB,EAAE;QAChB,IAAI,EAAE,MAAM,CAAA;QACZ,GAAG,EAAE,MAAM,EAAE,CAAA;QACb,GAAG,EAAE;YACH,GAAG,EAAE,MAAM,EAAE,CAAA;YACb,GAAG,EAAE,MAAM,EAAE,CAAA;YACb,GAAG,EAAE,MAAM,EAAE,CAAA;YACb,GAAG,EAAE,MAAM,EAAE,CAAA;YACb,GAAG,EAAE,MAAM,EAAE,CAAA;SACd,CAAA;QACD,GAAG,EAAE;YACH,GAAG,EAAE,MAAM,EAAE,CAAA;YACb,GAAG,EAAE,MAAM,EAAE,CAAA;SACd,CAAA;QACD,GAAG,EAAE;YACH,GAAG,EAAE,MAAM,EAAE,CAAA;YACb,GAAG,EAAE,MAAM,EAAE,CAAA;SACd,CAAA;KACF,EAAE,CAAA;CACJ,EAAE,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { VipFieldStatusResponse } from './type';
2
2
 
3
- export declare const getVipFieldStatusResponse: (raw: RawVipFieldStatusResponse) => VipFieldStatusResponse[];
3
+ export declare const getVipFieldStatusResponse: (raw: RawVipFieldStatusResponse) => VipFieldStatusResponse;
4
4
  type RawVipFieldStatusResponse = {
5
5
  mdVipSetting: {
6
6
  fieldname: string;
@@ -1 +1 @@
1
- {"version":3,"file":"getVipFieldStatusResponse.d.ts","sourceRoot":"","sources":["../../../src/model/vipFieldStatus/getVipFieldStatusResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAA;AAE/C,eAAO,MAAM,yBAAyB,QAC/B,yBAAyB,KAC7B,sBAAsB,EAUxB,CAAA;AAED,KAAK,yBAAyB,GAAG;IAC/B,YAAY,EAAE;QACZ,SAAS,EAAE,MAAM,CAAA;QACjB,QAAQ,EAAE,MAAM,CAAA;QAChB,WAAW,EAAE,MAAM,CAAA;QACnB,MAAM,EAAE,MAAM,CAAA;KACf,EAAE,CAAA;CACJ,CAAA"}
1
+ {"version":3,"file":"getVipFieldStatusResponse.d.ts","sourceRoot":"","sources":["../../../src/model/vipFieldStatus/getVipFieldStatusResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAA;AAE/C,eAAO,MAAM,yBAAyB,QAC/B,yBAAyB,KAC7B,sBAUF,CAAA;AAED,KAAK,yBAAyB,GAAG;IAC/B,YAAY,EAAE;QACZ,SAAS,EAAE,MAAM,CAAA;QACjB,QAAQ,EAAE,MAAM,CAAA;QAChB,WAAW,EAAE,MAAM,CAAA;QACnB,MAAM,EAAE,MAAM,CAAA;KACf,EAAE,CAAA;CACJ,CAAA"}
@@ -1,4 +1,5 @@
1
1
  export type VipFieldStatusResponse = {
2
- name: string;
3
- };
2
+ fieldName: string;
3
+ showName: string;
4
+ }[];
4
5
  //# sourceMappingURL=type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/model/vipFieldStatus/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAA;CACb,CAAA"}
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/model/vipFieldStatus/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACnC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;CACjB,EAAE,CAAA"}
@@ -23,7 +23,7 @@ type MdGrade = {
23
23
  check_activebet: string;
24
24
  auto_upgrade: string;
25
25
  promocash: PromoCash[];
26
- benefit: Benefit[];
26
+ benefit: Benefit;
27
27
  };
28
28
  type Benefit = {
29
29
  daily: {
@@ -1 +1 @@
1
- {"version":3,"file":"getVipListResponse.d.ts","sourceRoot":"","sources":["../../../src/model/vipList/getVipListResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AAExC,eAAO,MAAM,kBAAkB,QAAS,kBAAkB,KAAG,eAwC5D,CAAA;AAED,KAAK,kBAAkB,GAAG;IACxB,OAAO,EAAE,OAAO,EAAE,CAAA;IAClB,UAAU,EAAE,MAAM,EAAE,CAAA;CACrB,CAAA;AAED,KAAK,OAAO,GAAG;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,aAAa,EAAE,MAAM,CAAA;IACrB,gBAAgB,EAAE,MAAM,CAAA;IACxB,iBAAiB,EAAE,MAAM,CAAA;IACzB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CA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aAAa,EAAE,MAAM,CAAA;CACtB,CAAA"}
1
+ {"version":3,"file":"getVipListResponse.d.ts","sourceRoot":"","sources":["../../../src/model/vipList/getVipListResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AAExC,eAAO,MAAM,kBAAkB,QAAS,kBAAkB,KAAG,eAwC5D,CAAA;AAED,KAAK,kBAAkB,GAAG;IACxB,OAAO,EAAE,OAAO,EAAE,CAAA;IAClB,UAAU,EAAE,MAAM,EAAE,CAAA;CACrB,CAAA;AAED,KAAK,OAAO,GAAG;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,aAAa,EAAE,MAAM,CAAA;IACrB,gBAAgB,EAAE,MAAM,CAAA;IACxB,iBAAiB,EAAE,MAAM,CAAA;IACzB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,SAAS,EAAE,CAAA;IACtB,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,KAAK,OAAO,GAAG;IACb,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAA;QACb,UAAU,EAAE,MAAM,CAAA;QAClB,QAAQ,EAAE,MAAM,CAAA;QAChB,aAAa,EAAE,MAAM,CAAA;KACtB,CAAA;IACD,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAA;QACb,UAAU,EAAE,MAAM,CAAA;QAClB,QAAQ,EAAE,MAAM,CAAA;QAChB,aAA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AM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;IACtB,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,iBAAiB,EAAE,MAAM,CAAA;IACzB,eAAe,EAAE,MAAM,CAAA;IACvB,aAAa,EAAE,MAAM,CAAA;IACrB,sBAAsB,EAAE,MAAM,CAAA;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,sBAAsB,EAAE,MAAM,CAAA;IAC9B,YAAY,EAAE,MAAM,CAAA;IACpB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,WAAW,EAAE,MAAM,CAAA;IACnB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,YAAY,EAAE,MAAM,CAAA;IACpB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,aAAa,EAAE,MAAM,CAAA;IACrB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,aAAa,EAAE,MAAM,CAAA;CACtB,CAAA"}
@@ -47,13 +47,18 @@ export type VipListResponse = {
47
47
  turnover: string;
48
48
  turnover_name: string;
49
49
  };
50
- }[];
50
+ };
51
51
  }[];
52
- detail: string[];
52
+ detail: VipDetail;
53
53
  bonus: {
54
54
  showMonthButton: boolean;
55
55
  showWeekButton: boolean;
56
56
  showDayButton: boolean;
57
57
  };
58
58
  };
59
+ export type VipDetail = {
60
+ code: string;
61
+ name: string;
62
+ value: string[];
63
+ }[];
59
64
  //# sourceMappingURL=type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/model/vipList/type.ts"],"names":[],"mappings":"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A;YACD,MAAM,EAAE;gBACN,KAAK,EAAE,MAAM,CAAA;gBACb,UAAU,EAAE,MAAM,CAAA;gBAClB,QAAQ,EAAE,MAAM,CAAA;gBAChB,aAAa,EAAE,MAAM,CAAA;aACtB,CAAA;YACD,OAAO,EAAE;gBACP,KAAK,EAAE,MAAM,CAAA;gBACb,UAAU,EAAE,MAAM,CAAA;gBAClB,QAAQ,EAAE,MAAM,CAAA;gBAChB,aAAa,EAAE,MAAM,CAAA;aACtB,CAAA;SACF,CAAA;KACF,EAAE,CAAA;IACH,MAAM,EAAE,SAAS,CAAA;IACjB,KAAK,EAAE;QACL,eAAe,EAAE,OAAO,CAAA;QACxB,cAAc,EAAE,OAAO,CAAA;QACvB,aAAa,EAAE,OAAO,CAAA;KACvB,CAAA;CACF,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,EAAE,CAAA;CAChB,EAAE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "60p82u21t54k",
3
- "version": "0.0.55",
3
+ "version": "0.0.57",
4
4
  "description": "A description of your library",
5
5
  "main": "dist/60p82u21t54k.umd.js",
6
6
  "module": "dist/60p82u21t54k.es.js",