PageSourceSearch

http://balmy.dev/react/assets/UI_Slotmachine.C4PnUyRl.js

js balmy.dev collected 2026-10-05 07:00:16 UTC 3,715 bytes, 1 lines download raw bytes

1import{j as o}from"./vendor-react.ELhBuE2q.js";import{f as r,a7 as f,W as u}from"./app-shared.CdUkAbk4.js";import{S as i}from"./TextBox.D9WGVcEh.js";import{C as j}from"./CardSkeleton.Bs_5k4Xs.js";import{u as N}from"./usePromotion.CswUxPAO.js";import"./vendor-ui.BSTRh9Ug.js";import"./vendor-i18n.DvM0XvO9.js";import"./vendor-router.aN8wpDPU.js";import"./vendor-moment.BLMuvzoS.js";import"./vendor-axios.NIGUFBhG.js";import"./base.CP6OnwjO.js";import"./purify.es.CEVJ7K31.js";import"./promotionClaim.CmK_ncch.js";function z({dataEvent:d,onClose:c}){const{user:t,isModal:a,promotion:n,fetchFinish:p,t:e,PromotionDetial:x,goToDetail:l,BtnClaimPromotion:_}=N({dataEvent:d,onClose:c});return o.jsxs("div",{className:`p-5 ${a?"min-w-[340px] min-h-[260px]":void 0} `,children:[a?o.jsxs("div",{className:"mt-5",children:[o.jsx(i,{styleName:"text_title_promotion_slotmachine",label:e("you_received_bonus")}),o.jsx("div",{className:"my-3",children:e("can_claim_only_one_promotion")})]}):o.jsx(i,{styleName:"text_title_promotion_slotmachine",label:e("promotion")}),o.jsxs(r,{styleName:"bg_layout_card_list_promotion_slotmachine",children:[!p&&n.length===0&&o.jsx(j,{count:3}),n.map((s,h)=>{var m;return o.jsxs(r,{styleName:"bg_card_list_promotion_slotmachine",children:[!a&&s.image&&o.jsx("img",{loading:"lazy",decoding:"async",className:"default_img_card_list_promotion_slotmachine cursor-pointer",onClick:()=>l(s),src:f(s.image)}),o.jsxs("div",{className:`${a?"w-full":"flex-1 min-w-0"} flex flex-col justify-between gap-2 text-left h-full`,children:[o.jsxs("div",{className:"flex flex-col ",children:[o.jsx(i,{styleName:"text_detail_promotion_slotmachine",className:"default_text_detail_m_promotion w-fit",label:s.name}),o.jsx("div",{className:"default_text_detail_d_promotion",children:o.jsx(x,{data:s})}),s.prom_mode==1&&o.jsxs("div",{className:"text-[13px] font-bold",children:[o.jsxs("span",{className:"default_text_detail_t_promotion",children:[e("continuous_promotion_type"),": "]}),o.jsxs("span",{className:"default_text_detail_d_promotion",children:[s.series_num," ",e("times")," ",(t==null?void 0:t.prom_id)==s.id?`(${((m=t==null?void 0:t.customer)==null?void 0:m.prom_series_count)||"0"} / ${s.series_num})`:""," "]})]}),s.prom_mode==1&&o.jsxs("div",{className:"text-[13px] font-bold",children:[o.jsxs("span",{className:"default_text_detail_t_promotion",children:[e("extra_bonus"),": "]}),o.jsx("span",{className:"default_text_detail_d_promotion",children:`${parseInt(s.series_bonus)} ${s.prom_bonus_type_index==2?e("baht"):"%"}`})]}),s.prom_mode==1&&(t==null?void 0:t.prom_id)==s.id&&(t==null?void 0:t.prom_end_series_bonus)&&s.prom_bonus_type_index==1&&o.jsxs("div",{className:"text-[13px] font-bold",children:[o.jsxs("span",{className:"default_text_detail_t_promotion",children:[e("extra_bonus"),": "]}),o.jsx("span",{className:"default_text_detail_d_promotion",children:`${t==null?void 0:t.prom_end_series_bonus} ${e("baht")}`})]}),s.prom_bonus_type_index==1&&s.prom_mode==1&&o.jsxs("div",{className:"default_text_detail_a_promotion_slotmachine",children:["(",e("bonus_increases_with_deposit")," ",s.series_bonus," % )"]}),s.prom_mode==2&&o.jsxs("div",{className:"text-[13px]",children:[o.jsxs("span",{className:"default_text_detail_t_promotion",children:[e("specific_game"),": "]}),o.jsxs("span",{className:"default_text_detail_d_promotion",children:[s.game_specific?JSON.parse(s.game_specific).join(", "):""," "]})]})]}),a&&o.jsx(_,{item:s})]}),!a&&o.jsxs("div",{className:"default_layout_btn_card_list_promotion_slotmachine",children:[o.jsx(u,{onClick:()=>l(s),styleName:"btn_condition_promotion_slotmachine",children:e("condition")}),o.jsx(_,{item:s})]})]},`promotion_${h}`)})]})]})}export{z 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.