PageSourceSearch

https://www.god55sgd5.com/assets/10.10.9/floating-icons-slider.5a2bee66.1791468856214.js

js god55sgd5.com collected 2026-10-10 00:03:39 UTC 5,608 bytes, 1 lines download raw bytes

1import{l as r,r as g,m as y,A as l,aE as z,q as $,o as N,n as J,bC as C}from"./index.a592fd0f.1791468856214.js";import{S as Q}from"./index.f9422d19.1791468856214.js";import{r as P}from"./agentation.68356e44.1791468856214.js";import{D as X}from"./draggable-floating-icon.3470a86e.1791468856214.js";import{AngpowContentIcon as Y}from"./floating-angpow-icon.1b8495e5.1791468856214.js";import{LuckyWheelIconImageTemplate3 as Z,LuckyWheelIconImage as ee}from"./lucky-wheel.ac282e07.1791468856214.js";import{u as ne}from"./store.c551292d.1791468856214.js";import{u as oe}from"./useLuckyWheel.c92c8648.1791468856214.js";import"./index.2815c6b3.1791468856214.js";import"./index.c060afc9.1791468856214.js";import"./index.665864a1.1791468856214.js";import"./emotion-react.browser.esm.203ba25b.1791468856214.js";import"./emotion-memoize.esm.f5713a00.1791468856214.js";import"./countdown-timer.20cd7888.1791468856214.js";import"./index.d45b7018.1791468856214.js";import"./text.3a0e29a2.1791468856214.js";import"./floatingNotification.constant.27687fe7.1791468856214.js";import"./dayjs.min.4438ae62.1791468856214.js";import"./matchPredictionModules.8463f61a.1791468856214.js";import"./oddsFeedModules.2bed76ce.1791468856214.js";import"./promotionModules.e5ad9f13.1791468856214.js";import"./index.d6d38540.1791468856214.js";import"./modal.action.7db46723.1791468856214.js";import"./ms-hook.5efd5957.1791468856214.js";import"./general-hook.582f544d.1791468856214.js";import"./currency-util.966edf9c.1791468856214.js";const R=["leftBanner","rightBanner","justReleasegames","hotgames"],se=["luckyWheel","angpowRain",...R];function te({show:d}){const _=P.useHistory(),x=P.useLocation(),w=r.useSelector(e=>e.language?.countryLanguageKey),p=r.useSelector(e=>e.seamless),i=r.useSelector(e=>e.language),c=r.useSelector(e=>e.screen),A=r.useSelector(e=>e.user),E=r.useSelector(e=>e?.user?.isLogin),u=r.useSelector(e=>e.portal),T=r.useSelector(e=>e?.luckyWheel?.isEnabled),D=r.useSelector(e=>e?.angpowRainReducer?.settingApi),S=r.useSelector(e=>e?.angpowRainReducer?.theme),B=r.useSelector(e=>e?.routeProps),L=r.useDispatch(),{luckyWheelTemplateData:F}=oe(),[b,j]=g.useState([]),[v,M]=g.useState(!0),k=ne(u?.settings?.features?.floatingIconSettings?.slidingFloatingIconsOrder),m=g.useMemo(()=>[...new Set([...k??[],...se])].reduce((n,s,o)=>({...n,[s]:o}),{}),[k]),h=x.pathname;function O(){const n=window.location.pathname.split("/");let s="",o=!1;n.length>1&&n[1].length===5&&n[1].indexOf("-")===2&&(o=!0,n.splice(1,1));for(let t=0;t<n.length;t++)o===!0&&t===0||(s+="/"+n[t]);const a=$(B,"settings.baseRoute.Home.path");return Array.isArray(a)?a.some(t=>s===t):s==="/"||s==="/home"||s===a}const W=(()=>D?.isEnableAngpowRain?c.isMobile?O()||u.isHomePage:h!=="/angpow-rain":!1)(),I=(()=>{const e=y(u?.settings?.features,"enableLuckyWheel.onlyShowOnPage"),n=y(u?.settings?.features,"enableLuckyWheel.disableLuckyWheelPage"),s=h.split("/")[1],o=!(n&&n.some(f=>f===s)),a=!e||e.some(f=>f.includes(s));let t=n?o:a;return T&&h.indexOf("/lucky-wheel-landing")<=-1&&t})(),H=e=>{if(!E&&e.showLoginAlert){L(N.showLoginAlert(!0));return}if(J.isValidUrl(e?.href)){window.open(e?.href,"_blank","noopener,noreferrer");return}if(e.href){_.push(e.href);return}V(e,!1)},V=(e,n)=>{e&&!e.category&&(e.category="SL");let s={domain:window.location.hostname,isMobile:c.isMobile,isFun:n,isMenuMode:!0,isMiniGame:!1,languageKey:i.key,provider:e?.provider,gameCode:e?.gamecode,isSeamless:p&&p.isSeamless,languageCurrency:i.currencyLang},o={isSeamless:p&&p.isSeamless,languageCurrency:i.currencyLang},a=!1;c.viewType==="mobile"&&(a=!0),window.SPL_Provider.startProviderGameV2(s.provider,e.category,i.key,a,n,A.isLogin,t,s,null,o);function t(){L(N.showLoginAlert(!0))}},U=()=>{M(!1)};g.useEffect(()=>{if(!d)return;async function e(){try{const s=(await Promise.all(R.map(o=>window.SPL_Content.getFloatingBannerSideBanner(w,o).then(a=>o==="leftBanner"?a.map(t=>({config:t,type:o})):{config:a,type:o})))).flat().filter(o=>o.config).map(o=>({...o.config,img:C(o.config?.banner?.img||"",[c?.viewType,i?.currencyLang,i?.countryLanguageKey]),href:C(o.config?.href||"",[c?.viewType,i?.currencyLang,i?.countryLanguageKey]),className:"side-banner-icon",order:m[o.type]}));j(s)}catch(n){console.error(n)}}e()},[d,w,m]);const G=g.useMemo(()=>[I&&{href:"/lucky-wheel-landing",className:"lucky-wheel",order:m.luckyWheel},W&&{href:"/angpow-rain",className:"angpow-rain",order:m.angpowRain}
1,...b].filter(Boolean).sort((e,n)=>e.order-n.order),[I,W,b]);if(!d||!v)return null;const K=(e="")=>{const n=e==="angpow-rain"&&S?`theme-${S}`:"";return["wrapper",e,n].filter(Boolean).join(" ")},q=c?.isMobile?window.m_luckyWheelLandingTemplate==="m_LuckyWheel_03":window.luckyWheelLandingTemplate==="luckyWheel_03";return l.jsx(X,{customClass:"floating-icon-slider",disableDragFeature:y(u,"settings.features.floatingIconSettings.disableDrag"),showFullSizeOpt:!0,children:l.jsx(Q,{className:"floating-icon-slider_carousel",autoplay:!0,dots:!0,draggable:!1,swipe:!1,arrows:!1,children:G.map(e=>l.jsxs("div",{className:K(e.className),children:[l.jsx("button",{className:"btn-close",style:e.style,onClick:()=>U(),children:l.jsx("img",{className:"close-img",src:"/public/html/default_whitelabel/shared-image/angpow-rain/angpow-floating-close-btn.png",alt:"close"})}),e.className==="angpow-rain"?l.jsx(Y,{}):l.jsx("button",{className:"btn-wrapper",onClick:()=>{H(e)},children:e.className==="lucky-wheel"?q?l.jsx(Z,{hideCloseBtn:!0,luckyWheelTemplateData:F}):l.jsx(ee,{}):l.jsx("img",{className:"content-img",src:e.img,alt:""})})]},e.href))})})}te.propTypes={show:z.bool};export{te 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.