PageSourceSearch

https://zara99.xyz/assets/CheckinView-55951624.js

js zara99.xyz collected 2026-10-09 22:55:47 UTC 10,285 bytes, 1 lines download raw bytes

1import{d as $,o as n,c as r,a as s,n as k,_ as B,u as A,p as W,v as E,Y as C,i as l,k as a,aa as R,ab as T,ac as U,m as P,ad as H,ae as X,af as Y,t as S,ag as j,ah as q,ai as J,aj as K,ak as Q,B as ee,a0 as te,C as se,r as m,a6 as ae,W as oe,e as ne,f as le,w as I,s as L,F,h as ie}from"./index-0c2fc791.js";import{C as ce,G,a as re,b as de}from"./giftCheck-f31a77a7.js";import"./rules-2d0add82.js";import{L as pe}from"./LoadingComponent-f00ffbe6.js";import{r as ue}from"./InformationCircleIcon-933d8683.js";const me=$({__name:"IconSuccess",props:{style:{type:String,default:"w-5 h-5"}},setup(g){const p=g;return(d,h)=>(n(),r("svg",{class:k(p.style),viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[...h[0]||(h[0]=[s("g",{id:"SUCCESS"},[s("path",{id:"Vector",d:"M14 0C6.26828 0 0 6.26609 0 14C0 21.7339 6.26828 28 14 28C21.7317 28 28 21.7301 28 14C28 6.26992 21.7317 0 14 0Z",fill:"#2AD352"}),s("path",{id:"Vector_2",d:"M1.30014e-05 14C-0.00314735 16.3141 0.569895 18.5925 1.66743 20.6298C3.06573 21.0403 4.51567 21.2483 5.97298 21.2472C14.3894 21.2472 21.2122 14.4244 21.2122 6.00799C21.2135 4.52757 20.999 3.05486 20.5756 1.63627C18.5517 0.558227 16.2931 -0.00379933 14 1.93299e-05C6.26829 1.93299e-05 1.30014e-05 6.26611 1.30014e-05 14Z",fill:"#74DA7F"}),s("path",{id:"Vector_3",d:"M21.9845 11.6814L13.5697 20.5184C13.3404 20.7589 13.0649 20.9507 12.7597 21.0823C12.4545 21.2139 12.1258 21.2825 11.7935 21.284H11.7825C11.452 21.2841 11.1249 21.2178 10.8205 21.089C10.5161 20.9602 10.2407 20.7715 10.0107 20.5342L5.54543 15.935C5.31471 15.7034 5.13229 15.4283 5.00875 15.1257C4.88521 14.823 4.82302 14.4988 4.82577 14.172C4.82853 13.8451 4.89618 13.522 5.0248 13.2215C5.15342 12.9209 5.34045 12.6489 5.57503 12.4213C5.80961 12.1936 6.08708 12.0148 6.39132 11.8952C6.69556 11.7757 7.02052 11.7177 7.34734 11.7247C7.67417 11.7318 7.99634 11.8036 8.29516 11.9362C8.59398 12.0687 8.8635 12.2593 9.08808 12.4968L11.765 15.2542L18.409 8.27712C18.6316 8.03847 18.8993 7.84631 19.1966 7.71177C19.4939 7.57723 19.8149 7.50296 20.1411 7.49328C20.4673 7.48359 20.7921 7.53867 21.0969 7.65533C21.4017 7.772 21.6803 7.94793 21.9166 8.17295C22.1529 8.39797 22.3423 8.66762 22.4738 8.9663C22.6052 9.26497 22.6762 9.58675 22.6825 9.91302C22.6888 10.2393 22.6304 10.5636 22.5106 10.8671C22.3907 11.1706 22.2119 11.4474 21.9845 11.6814Z",fill:"white"})],-1)])],2))}}),he={},fe={width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function _e(g,p){return n(),r("svg",fe,[...p[0]||(p[0]=[s("path",{d:"M18.5 33C26.5081 33 33 26.5081 33 18.4999C33.0001 10.4919 26.5082 4 18.5 4C10.4919 4 4 10.4919 4 18.5001C4 26.5082 10.4919 33 18.5 33Z",fill:"#B83333"},null,-1),s("path",{opacity:"0.1",d:"M7.79413 18.5C7.79413 11.1534 13.1084 5.08382 20 4.13101C19.3794 4.0452 18.7464 4 18.1029 4C10.3141 4 4 10.4919 4 18.5C4 26.5082 10.3141 33 18.1029 33C18.7463 33 19.3794 32.9548 19.9999 32.869C13.1084 31.9161 7.79413 25.8465 7.79413 18.5Z",fill:"black"},null,-1),s("path",{d:"M21.8506 18.5L25.7854 14.5651C26.0714 14.2791 26.0714 13.8153 25.7854 13.5294L23.4706 11.2145C23.1845 10.9285 22.7208 10.9285 22.4348 11.2145L18.5 15.1494L14.5651 11.2145C14.2791 10.9285 13.8153 10.9285 13.5294 11.2145L11.2145 13.5294C10.9285 13.8154 10.9285 14.2791 11.2145 14.5651L15.1494 18.5L11.2145 22.4348C10.9285 22.7209 10.9285 23.1846 11.2145 23.4706L13.5294 25.7855C13.8154 26.0715 14.2791 26.0715 14.5651 25.7855L18.5 21.8506L22.4349 25.7855C22.7209 26.0715 23.1847 26.0715 23.4706 25.7855L25.7855 23.4706C26.0715 23.1846 26.0715 22.7209 25.7855 22.4348L21.8506 18.5Z",fill:"white"},null,-1)])])}const ye=B(he,[["render",_e]]),Ce="/assets/light-06a7b765.png",Z="/assets/coin-e83401c6.png",ge={class:"fixed inset-0 z-10 w-screen overflow-y-auto"},we={class:"flex min-h-full justify-center p-4 text-center items-center sm:p-0"},xe={class:"absolute -top-10 mx-auto w-full -left-0"},ke=["src","alt"],ve={class:"mt-6 text-center sm:mt-8"},be={class:"mt-5 sm:mt-6 grid grid-flow-row-dense grid-cols-2 gap-2 sm:gap-3"},Ie=$({__name:"ModalConditionCheckIn",props:{image:{type:String},width:{type:String,default:"400px"},title:{type:String},subtitle:{type:String},day:{type:Number},isOpen:{type:Boolean,default:!1},total:{type:Number,default:0},typeTreasure:{type:String},typeGame:{type:String},data:{type:Object},handleCheckIn:{type:Function,default:()=>{}},isLoading:{type:Boolean,default:!1}},emits:["on-close"],setup(g,{emit:p}){const{t:d}=A();W();const h=p,c=g,f=u=>{if(u)switch(u){case"success":return Q;case"error":return K;case"info":return J}},v=()=>{h("on-close",!1)};return(u,i)=>(n(),E(a(q),{as:"template",show:c.isOpen},{default:C(()=>[l(a(R),{as:"div",class:"w-full !z-[99999] relative",onClose:v},{default:C(()=>[l(a(T),{as:"template",enter:"ease-out duration-300","enter-from":"opacity-0","enter-to":"opacity-100",leave:"ease-in duration-200","leave-from":"opacity-100","leave-to":"opacity-0"},{default:C(()=>[...i[3]||(i[3]=[s("div",{class:"fixed inset-0 bg-black bg-opacity-50 transition-opacity"},null,-1)])]),_:1}),s("div",ge,[s("div",we,[l(a(T),{as:"template",enter:"ease-out duration-300","enter-from":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to":"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200","leave-from":"opacity-100 translate-y-0 sm:scale-100","leave-to":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:C(()=>[l(a(U),{class:"relative transform rounded-lg modal-alert px-4 pb-4 pt-5 text-left shadow-xl transition-all my-8 w-full max-w-lg sm:p-6",style:P(`width: ${c.width};`)},{default:C(()=>[s("div",null,[s("a",{class:"absolute -right-4 -top-7 cursor-pointer",onClick:i[0]||(i[0]=w=>v())},[l(H,{class:"w-[30px] sm:w-[34px] lg:w-[40px]"}),l(X,{class:"absolute right-[7px] top-[13px] w-[15px] z-[20] sm:w-[17px] sm:right-[8.5px] lg:w-[20px] lg:right-[9.5px]"})]),s("div",xe,[s("img",{loading:"lazy",src:f(c.image),alt:c.image,class:"w-20 sm:w-[90px] mx-auto"},null,8,ke)]),s("div",ve,[l(a(Y),{as:"h3",class:"text-base font-semibold leading-6 text-[#FFD438]"},{default:C(()=>[s("span",null,S(a(d)("CheckIn.ChooseWithdrawal")),1)]),_:1})])]),s("div",be,[l(j,{onClick:i[1]||(i[1]=w=>c.handleCheckIn("deposit",c.day)),class:"!h-10",title:a(d)("Popup.btnCredit"),color:"secondary-button w-full"},null,8,["title"]),l(j,{onClick:i[2]||(i[2]=w=>c.handleCheckIn("withdraw",c.day)),class:"!h-10",title:a(d)("Popup.btnWithDraw"),color:"primary-button w-full"},null,8,["title"])])]),_:1},8,["style"])]),_:1})])])]),_:1})]),_:1},8,["show"]))}});const Le=B(Ie,[["__scopeId","data-v-069f42f2"]]),Se={class:"overflow-auto h-[50vh] md:h-96 landscape:h-[50vh] landscape:lg:h-[50vh] pt-4 px-2"},$e={class:"wrap-checkin relative"},Be={class:"inner-wrap-checkin relative px-5 py-6"},Me={class:"grid-checkin"},De={class:"box-checkin bg-white rounded-full absolute -top-3 -right-3 md:-top-6 md:-right-5 w-5 md:w-6 h-5 md:h-6 flex justify-center items-center rounded-es-lg"},Ve={key:0,class:"text-day theme-font-color-1 font-medium text-xs md:text-sm"},ze={key:1},Te={key:2},je=["onClick"],Fe=["src"],Ge=["src"],Ze=["src"],Ae={class:"flex justify-end mr-5"},Ee={class:"absolute -left-[2px] right-0 -bottom-4 shadow-drop"},Ne=$({__name:"CheckinView",setup(g){const{t:p}=A(),d=ee(),h=te(),c=se(),f=m([]),v=m(ae().format("DD")),u=m(!1),i=m(!1),w=m(!1),_=Number(v.value),x=m(!1),M=m(0);oe(()=>{d.setTitle("CheckIn"),d.setWidth("680px")}),ne(async()=>{i.value=!0,await b(),i.value=!1}),le(()=>{d.setTitle(""),d.widthReset(),c.setTitle(""),c.setSubTitle("")});async function b(){w.value=!1;try{const e=await I.checkIn();if(e.code!==200&&e.error_code!==0)L.error(e.message),f.value=[];else if(e.payload&&e.payload.length>0){f.value=e.payload;for(let o=0;o<e.payload.length;o++){const t=e.payload[o];t&&(t==null?void 0:t.accepterad)===1&&t.deposition_con===!0&&(w.value=!0)}}else f.value=[]}catch(e){throw e}}function D(e,o){if(e.deposition_con)switch(e.accepterad){case 0:return Z;case 1:return Z;case 2:return re;case 3:return G}else return o?de:G}function V(e){return _<e.day?ce:_===e.day?D(e,!0):D(e,!1)}function N(e){e.deposition_con&&e.accepterad===1?O(e.config,e.day):console.error("error selected  day")}function O(e,o){e.typ_draw.deposition.enable&&e.typ_draw.dra_tillbaka.enable?(x.value=!0,M.value=o):z(e.typ_draw.deposition.enable?"deposit":"withdraw",o)}async function z(e,o){if(!u.value){u.value=!0;const t={day:o,typ:e},y=await I.getCheckIn(t);y.code!==200&&y.error_code!==0?(L.error(y.message),await b(),setTimeout(async()=>{u.value=!1},500),x.value=!1):(L.success(y.message),await b(),await I.getMember(),setTimeout(async()=>{u.value=!1,x.value=!1},500))}}return(e,o)=>(n(),r("div",Se,[i.value?(n(),E(pe,{key:1,height:"400"})):(n(),r(F,{key:0},[s("div",$e,[s("div",Be,[s("div",Me,[(n(!0),r(F,null,ie(f.value,(t,y)=>(n(),r("div",{key:y,class:k(["menu-deposit-Bgcolor relative h-14 md:h-16 checkin-box",[t.deposition_con&&t.accepterad===1&&"active-img hover:brightness-75 duration-150",a(_)>t.day&&!t.deposition_con&&t.accepterad!==1&&"back-used"]])},[s("div",De,[a(_)<t.day?(n(),r("div",Ve,[s("span",null,S(t.day),1)])):t.deposition_con?(n(),r("div",ze,[l(me,{style:"w-4 md:w-5 h-4 md:h-5"}
1)])):(n(),r("div",Te,[l(ye,{class:"w-5 md:w-6 h-5 md:h-6 mr-[1px]"})]))]),s("button",{class:"box-inside-image relative",onClick:Oe=>N(t)},[s("img",{loading:"lazy",src:a(Ce),alt:"Light",class:k([[t.deposition_con&&t.accepterad===1&&"animate-spin-slow"],"mx-auto"])},null,10,Fe),a(_)>=t.day?(n(),r("img",{key:0,loading:"lazy",class:k(["inside-image absolute top-1 right-0 left-2 sm:left-2",{"animate-bounce":t.accepterad!==2&&a(_)==t.day}]),src:V(t)},null,10,Ge)):(n(),r("img",{key:1,loading:"lazy",src:V(t),alt:"",class:k(["inside-image absolute top-1 right-0 left-2 sm:left-2",{"animate-bounce":t.deposition_con&&t.accepterad===1}])},null,10,Ze))],8,je)],2))),128))])]),s("div",Ae,[s("button",{type:"button",class:"rounded-full relative w-11 h-11 primary-button",onClick:o[0]||(o[0]=t=>a(h).setCompo("RulesCheckinView"))},[l(a(ue),{class:"w-8 mx-auto"}),s("span",Ee,S(a(p)("CheckIn.Rules")),1)])])]),l(Le,{"is-open":x.value,onOnClose:o[1]||(o[1]=t=>x.value=t),image:"info",day:M.value,"handle-check-in":z},null,8,["is-open","day"])],64))]))}});const Xe=B(Ne,[["__scopeId","data-v-ea55e531"]]);export{Xe 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.