PageSourceSearch

https://vivabet.ro/assets/index-B8qIyS7f-1789482018628.js

js vivabet.ro collected 2026-10-05 20:44:12 UTC 8,014 bytes, 1 lines download raw bytes

1import{k as w,l5 as i,iv as T,iw as R,ac as C,F as y,cL as B,an as $,U as b,km as v,eC as W,eD as P,l6 as M,l7 as A,l8 as D,l9 as E,df as H,la as U}from"./main-DrgE7FAP.js";import{h as O,j as t,A as V,g as Y,r as u,a5 as q,c as f,R as z}from"./vendor-DbsMbOVk-1789482017689.js";import{S as _,W as J,a as k,b as Q,c as X}from"./WL_ImageBlock-DbIXZYME-1789482018628.js";const G=({sections:e})=>{var r;const s=O({query:`(max-width: ${w.isMobile}px)`}),n=(o,c)=>{const l=o.externalLink?o.externalLink.includes("https://")||o.externalLink.includes("http://")?o.externalLink:`https://${o.externalLink}`:null;return o.typeName==="email"||o.typeName==="phone"?t.jsx(i.MenuLink,{linkRoute:`${o.title}`,text:o.title,type:o.typeName??"link",icon:o.icon,sectionType:c}):o.typeName==="chat"?t.jsx(T,{className:"p-0",text:o.title,type:R.TEXTWITHICON,ignoreVisibleOnPages:!0}):o.typeName==="socials"?t.jsx(t.Fragment,{children:o==null?void 0:o.linkSocials.map((p,x)=>{const d=`${C.CDN_URL}/${p.icon??""}`;return t.jsx(i.SocialIcon,{iconSrc:d,alt:p.title??"",linkRoute:p.externalLink??""},x+"markets")})}):o.typeName==="player-bet-statistics"||o.internalLink==="/rg-details"?t.jsx(i.MenuHook,{hookType:o.internalLink==="/rg-details"?"rg-details":o.typeName,text:o.title,icon:o.icon,sectionType:c,shouldAuthenticate:!0}):o!=null&&o.internalLink?t.jsx(i.MenuLink,{linkRoute:o.internalLink,type:o.typeName??"link",text:o.title,icon:o.icon,sectionType:c}):o!=null&&o.externalLink&&l?t.jsx(i.MenuLink,{isExternal:!0,linkRoute:l,type:o.typeName??"link",text:o.title,icon:o.icon,sectionType:c}):t.jsxs(t.Fragment,{children:[t.jsx(i.Image,{icon:o.icon,title:o.title,sectionType:c}),o.title]})},a=o=>{var c;return(c=e.items)==null?void 0:c.map((l,p)=>{var d;return(o?p%2:!(p%2))?t.jsx(i.Menu,{title:l.title?l.title:"",children:(d=l==null?void 0:l.itemLinks)==null?void 0:d.map(g=>t.jsx(i.MenuItem,{isForeignLink:!0,text:n(g,l.typeName)},g.id))},p):null})};return t.jsx(t.Fragment,{children:V||s?t.jsxs(t.Fragment,{children:[t.jsx(i.Column,{children:a(!1)}),t.jsx(i.Column,{children:a(!0)})]}):t.jsx(t.Fragment,{children:(r=e.items)==null?void 0:r.map((o,c)=>{var l;return t.jsx(i.Column,{type:o.typeName,children:t.jsx(i.Menu,{title:o.title?o.title:"",children:(l=o==null?void 0:o.itemLinks)==null?void 0:l.map((p,x)=>t.jsx(i.MenuItem,{isForeignLink:!0,text:n(p,o.typeName)},x))},o.title?o.title:"a1")},c)})})})},L=({section:e})=>{const s=e.typeName.toLowerCase();return e!=null&&e.items?t.jsx(t.Fragment,{children:e.items.map(n=>t.jsxs(y.ColJC,{className:`footer-logo__wrapper--${e.iconType??"default"}`,children:[t.jsx(y.AC,{className:"footer-logo__image",children:t.jsx(i.SectionImage,{imgRef:n.icon??"",alt:n.title??"",linkRoute:n.internalLink??"",staticRoute:n.externalLink??"",type:s})}),n.title&&t.jsx("div",{className:"footer-logo__title",children:n.title})]},n.id))}):null},m=({type:e})=>{const{t:s}=Y(),{navigateToBank:n}=B(),{isAuthenticated:a,showLoginForm:r}=$(),o=u.useCallback(()=>{a?n():r()},[a,r,n]);return t.jsx(t.Fragment,{children:t.jsx(b.Button,{className:`footer-deposit-btn text-truncate ${e?`footer-deposit-btn--${e}`:null}`,"data-qid":"footerUserDepositBtn",onClick:o,text:s(v.Deposit.deposit)})})},K=({children:e,sectionTypes:s,isHighlighted:n,depositButton:a,hasBackgroundImage:r})=>{const[o,c]=q({rootMargin:"500px",triggerOnce:!0}),l=r?"footer-container":`footer-container footer-container--${n?"primary":"secondary"}`;return t.jsx(t.Fragment,{children:t.jsx(y,{ref:o,"data-type":s,className:l,children:t.jsxs("div",{className:"footer-container__items footer-container__items--scroll align-items-stretch  m-auto d-flex-ac",children:[a&&t.jsx(m,{type:"in-scroll"}),t.jsx(W,{classNames:`d-flex footer-scroll__items h-100 ${s}`,regularDesktopCellWidth:80,moveWith:160,typeArrow:P.Tabs,children:c&&e})]})})})},Z=({children:e,sectionTypes:s,isHighlighted:n,depositButton:a,hasBackgroundImage:r})=>{const o=f(r?"footer-container":`footer-container footer-container--${n?"primary":"secondary"}`,s);return t.jsxs(t.Fragment,{children:[t.jsx(y.AC,{"data-type":s,className:o,children:t.jsx("div",{className:`footer-container__items m-auto d-flex align-items-stretch w-100 ${s.toLowerCase()}`,children:e})}),a&&t.jsx(m,{})]})},h={Partners:({sectionItem:e})=>t.jsx(L,{section:e}),System:({sectionItem:e})=>t.jsx(_,{section:e},e.name),Copyright:({sectionItem:e})=>t.jsx(M,{section:e}),PoweredBy:({sectionItem:e})=>t.jsx(A,{section:e}),License:({sectionItem:e})=>t.jsx(D,{section:e}),Payments:({sectionItem:e})=>t.jsx(L,{section:e}),Links:({sectionItem:e})=>t.jsx(G,{sections:e})},I={autoScroll:({children:e,sectionTypes:s,isHighlighted:n,depositButton:a,hasBackgroun
1dImage:r})=>t.jsx(K,{sectionTypes:s,isHighlighted:n,depositButton:a,hasBackgroundImage:r,children:e}),normal:({children:e,isHighlighted:s,sectionTypes:n,depositButton:a,hasBackgroundImage:r})=>t.jsx(Z,{sectionTypes:n,isHighlighted:s,depositButton:a,hasBackgroundImage:r,children:e})},le=({gridItem:e,index:s,hasBackgroundImage:n})=>{var r;const a=I[e.autoScroll?"autoScroll":"normal"];return t.jsx(t.Fragment,{children:t.jsxs("div",{className:`d-flex-col footer-section footer-section-${e.typeName.toLowerCase()} ${s===0?"footer-section--first":""}`,children:[e.title&&t.jsx(i.SectionTitle,{text:e.title}),a==null?void 0:a({sectionTypes:e.typeName,isHighlighted:e.isHighlighted,depositButton:e.depositButton,hasBackgroundImage:n,children:(r=h[e.typeName])==null?void 0:r.call(h,{sectionItem:e})})]})})},N={"footer-copyright-section-layout-2":"CCB-7","footer-copyright-section-layout-2__18-plus":"yOweV","appear-from-center":"wL5RY"},ee=({section:e})=>{if(!e.items)return null;const s=new Date().getFullYear();return t.jsxs("div",{className:N["footer-copyright-section-layout-2"],children:[t.jsx("div",{className:N["footer-copyright-section-layout-2__18-plus"],children:"18+"}),e.items.map((n,a)=>t.jsxs(u.Fragment,{children:[n.icon&&t.jsx(E,{imgRef:n.icon,route:(n==null?void 0:n.externalLink)??""}),n.title&&t.jsx("div",{children:H(n.title,s,U)})]},a))]})},te=u.memo(ee),oe={"egtd-x-footer-block-layout-2":"oNCvw"},F=z.forwardRef(({className:e,children:s,...n},a)=>{const r=f(oe["egtd-x-footer-block-layout-2"],"footer-section-system",e);return t.jsx("div",{ref:a,className:r,...n,children:s})});F.displayName="FooterBlockLayout_2";const j={Partners:({sectionItem:e,wrapperType:s})=>t.jsx(k,{section:e,wrapperType:s,isFooterImageWithTheme:!1}),System:({sectionItem:e})=>t.jsx(_,{section:e},e.id),Copyright:({sectionItem:e})=>t.jsx(te,{section:e}),Payments:({sectionItem:e,wrapperType:s})=>t.jsx(k,{section:e,wrapperType:s})},ne={autoScroll:({children:e,sectionTypes:s,isHighlighted:n,depositButton:a})=>t.jsx(Q,{"data-type":s,"data-hl":n,depositButton:a,children:e}),normal:({children:e,isHighlighted:s,sectionTypes:n})=>t.jsx(X,{"data-type":n,"data-hl":s,children:e})},ce=({gridItem:e})=>{var l;const s=u.useRef(null),[n,a]=u.useState(0);u.useLayoutEffect(()=>{var p;if(s!=null&&s.current){const x=parseFloat((p=window.getComputedStyle(s==null?void 0:s.current))==null?void 0:p.paddingTop)??0;a(x)}},[]);const r=e.autoScroll?"autoScroll":"normal",o=ne[r];return e.typeName==="Payments"||e.typeName==="Partners"||e.typeName==="Copyright"||e.typeName==="System"?t.jsxs(F,{ref:s,"data-type":e.typeName.toLowerCase(),children:[e.title&&t.jsxs(J,{children:[" ",e.title," "]}),o==null?void 0:o({sectionTypes:e.typeName,isHighlighted:e.isHighlighted,depositButton:e.depositButton,children:(l=j[e.typeName])==null?void 0:l.call(j,{sectionItem:e,wrapperType:r,sectionPadding:n})})]}):t.jsx(t.Fragment,{})},S=u.forwardRef(({className:e,children:s,hasBackgroundImage:n,style:a,...r},o)=>{const c=f("footer-wrapper",e),l=`${C.CDN_URL}/common-content/brand/footer-background.jpg`,p=n?{...a,backgroundImage:`url(${l})`,backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"}:a;return t.jsx("footer",{ref:o,className:c,"data-qid":"footer",style:p,...r,children:s})});S.displayName="Wrapper";const ie={Wrapper:S};export{ie as A,le as F,ce as a};

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.