1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[2973],{3315:(e,t,a)=>{a.r(t),a.d(t,{default:()=>S});var s=a(64467),o=a(69733),n=a(97864),r=a(88376),i=a(82960),c=a(62485),d=a(6328),l=a(96962),u=a(32829),p=a(92908),m=a(82007),g=a(54759),h=a(44600),f=a(96540),b=a(2510),x=a(18987),A=a(24136),_=a(9603),E=a(74848);function j(){const e=(0,o.wA)();return(0,E.jsx)("div",{className:"flex justify-center",children:(0,E.jsxs)("div",{className:"flex w-full max-w-[594px] flex-col gap-6",children:[(0,E.jsx)("div",{children:(0,E.jsx)("img",{alt:"Aviso",src:"/static/images/bolao-gzh-v2.png",className:"h-[150px] w-full md:h-[200px]",loading:"lazy",decoding:"async"})}),(0,E.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[(0,E.jsxs)("h3",{className:"text-center font-plex text-4xl font-bold text-[#005029]",children:["QUER PARTICIPAR DO BOLÃO?",(0,E.jsx)("br",{}),"FAÃA SEU LOGIN! à Grátis!"]}),(0,E.jsxs)("p",{className:"text-center font-plex",children:[(0,E.jsx)("b",{children:"Para entrar na brincadeira, basta estar logado em GZH."}),(0,E.jsx)("br",{}),"Ainda não tem cadastro? Crie sua conta agora sem pagar nada."]}),(0,E.jsx)("button",{onClick:()=>{(0,_.li)(e,(e=>{e.open()}))},className:"rounded-full bg-black px-16 py-2 text-center font-plex font-bold text-white",children:"FAZER LOGIN"})]}),(0,E.jsxs)("div",{className:"flex flex-col items-center gap-4 bg-[#FECB2F] py-4",children:[(0,E.jsxs)("p",{className:"text-center font-plex",children:[(0,E.jsx)("b",{children:"Quer deixar a disputa ainda mais divertida?"}),(0,E.jsx)("br",{}),"Assinantes podem criar grupos personalizados e",(0,E.jsx)("br",{}),"chamar amigos para jogar junto (assinantes ou não)."]}),(0,E.jsx)("a",{href:"https://assinegzh.clicrbs.com.br/oferta-bolao",className:"rounded-full bg-[#008755] px-16 py-2 text-center font-plex font-bold text-white",children:"ASSINE AGORA"})]})]})})}var O=a(38533),w=a(49811);const y="rbs-bolao-bridge";function N(){return{init:function(e){const{containerId:t,bolaoUrl:a,user:s,onAuthenticated:o,onError:n,onNavigateBack:r,onRequestSubscribe:i,onCopyToClipboard:c,onOpenExternalUrl:d,onDeleteAccount:l,onNavigateToTables:u,timeoutMs:p=15e3}=e;(0,O.$)("ð ~ Bolão ~ configuração total:",e);const m=document.getElementById(t);if(!m)throw new Error(`Container não encontrado: ${t}`);const g=new URL(a).origin,h=document.createElement("iframe");h.src=a,h.id="BOLAO",h.style.width="100%",h.style.height="1000px",h.style.border="0",h.allow="clipboard-write; fullscreen",m.innerHTML="",m.appendChild(h);const f=setTimeout((()=>{n?.({code:"BOLAO_READY_TIMEOUT",message:"Timeout aguardando BOLAO_READY",config:e})}),p);function b(e){if(e.origin!==g)return;const t=e.data;if(t&&t.source===y)switch((0,O.$)("ð ~ Bolão ~ event:",e),t.name){case"BOLAO_READY":clearTimeout(f),h?.contentWindow?.postMessage({source:y,name:"HOST_AUTH",data:s},g);break;case"BOLAO_AUTHENTICATED":o?.(t.data);break;case"BOLAO_ERROR":n?.(t.data);break;case"BOLAO_NAVIGATE_BACK_TO_SUPER_APP":r?.();break;case"BOLAO_PAGE_HEIGHT":h.style.height=`${t.data.height}px`;break;case"BOLAO_REQUEST_SUBSCRIBE":"function"==typeof i?i(t.data):n?.({code:"SUBSCRIBE_HANDLER_NOT_IMPLEMENTED",message:"O host precisa implementar onRequestSubscribe."});break;case"BOLAO_COPY_TO_CLIPBOARD":(async function(e){if(!e)return!1;try{if(navigator.clipboard?.writeText)return await navigator.clipboard.writeText(e),!0;const t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.appendChild(t),t.focus(),t.select();const a=document.execCommand("copy");return document.body.removeChild(t),a}catch(e){return n?.({code:"CLIPBOARD_COPY_FAILED",message:"Falha ao copiar para a área de transferência",error:e}),!1}})(t.data?.text||t.data?.code||"").then((e=>{e&&c?.(t.data)}));break;case"BOLAO_OPEN_EXTERNAL_URL":"function"==typeof d?d(t.data):function(e){if(!e)return;try{const t=new URL(e);if(!["https:","http:"].includes(t.protocol))throw new Error("URL protocol not allowed");window.open(t.toString(),"_blank","noopener,noreferrer")}catch(e){n?.({code:"EXTERNAL_URL_OPEN_FAILED",message:"Falha ao abrir URL externa",error:e})}}(t.data?.url);break;case"BOLAO_GO_TO_GZH_GAMES":u();break;case"BOLAO_ACCOUNT_DELETED":l()}}return window.addEventListener("message",b),{iframe:h,reload(){h.src=a},destroy(){clearTimeout(f),window.removeEventListener("message",b),h.remove()}}}}}const v="pool-container";function R(){const[e,t]=(0,f.useState)(!0),{init:a}=N(),s=(0,o.d4)((e=>e.UserReducer.user)),r="production"===(0,n._)()?"https://rbs-bolao.web.app":"https://rbs-dev-bolao.web.app";return(0,f.useEffect)((()=>
1{if(!s)return;const e={externalId:s.uid,name:`${s.name} ${s.lastName}`,email:s.email,isSubscriber:s.subscriber||!1,imageUrl:""},o={containerId:v,bolaoUrl:r,user:e,onAuthenticated:function(e){(0,O.$)("Usuário autenticado no Bolão",e),t(!1)},onError:function(e){(0,O.$)("Erro no Bolão",e)},onNavigateBack:function(){document.getElementById(v).style.display="none"},onRequestSubscribe:function(e){(0,O.$)("Assinatura solicitada pelo Bolão",e)},onCopyToClipboard:function(e){(0,O.$)("Código copiado",e)},onOpenExternalUrl:function(e){window.open(e.url,"_blank","noopener,noreferrer")},onDeleteAccount:function(e){const t="production"===(0,n._)()?"https://gauchazh.clicrbs.com.br/":"https://gauchazh-hlg.clicrbs.com.br/";window.location.href=t},onNavigateToTables:function(e){const t="production"===(0,n._)()?"https://gauchazh.clicrbs.com.br/esportes/tabelas/copa-do-mundo":"https://gauchazh-hlg.clicrbs.com.br/esportes/tabelas/copa-do-mundo";window.location.href=t}};window.BolaoBridge=a;const{destroy:i,iframe:c,reload:d}=window.BolaoBridge(o);return()=>{i()}}),[a,s]),(0,E.jsxs)(E.Fragment,{children:[e&&(0,E.jsx)("div",{className:"flex justify-center",children:(0,E.jsx)(w.A,{size:80})}),(0,E.jsx)("div",{id:v})]})}function B(e){let{pageData:t}=e;const a=(0,o.wA)(),s=(0,o.d4)((e=>e.UserReducer.user)),n=x.A.get("nossaWebView"),r=(0,o.d4)((e=>e.UserReducer.loadingUserAuthentication)),i=(0,o.d4)((e=>e.UserReducer.loadingNossaSdkCompleted)),c=(0,o.d4)((e=>e.UserReducer.loadingNossaCompleted));return(0,f.useEffect)((function(){const e=window.sessionStorage.getItem("gzh-session-tmpl");n&&e&&a((0,b.vi)((()=>{a((0,b.c9)(!0))})))}),[]),(0,f.useEffect)((function(){if(r)return;if(!i)return;if(!c)return;window.sessionStorage.getItem("gzh-session-tmpl")&&A.c.track("pageview",["newgtm"],{page:{...t,...function(e){const t="nao_se_aplica",a="deslogado",s="assinante",o="nao_assinante",n="funcionario",r=e.subscriber||!1,i=e.employee||!1;let c=a;e.uid&&!r&&(c=o),r&&(c=s),i&&(c=n);const d=e.subscriptions?.map((e=>`${e?.product} - ${e?.subscriptionType}`)).join("|");return{user_id:e.uid||t,user_signature:c,user_identified:e.uid?"identificado":"nao_identificado",user_status:e.status||t,user_team:e.heartTeamEnum||t,user_subscriptions:d||t,user_overdue:"boolean"==typeof e.nonOverdue&&!e.nonOverdue,user_rival_news:e.rivalNews||t}}(s)}})}),[r,i,c,s]),r?null:s&&s.uid?(0,E.jsx)(R,{}):(0,E.jsx)(j,{})}var T=a(74947),L=a(66331),U=a(68543),C=a(85574);class D extends h.A{constructor(e){super(e),(0,s.A)(this,"analyticsConfig",{}),this.trackingAnalytics=this.trackingAnalytics.bind(this)}UNSAFE_componentWillMount(){this.setHeaderData()}componentDidMount(){this.trackingAnalytics(this.props),this.setHeaderData()}componentDidUpdate(e){this.setHeaderData(),this.trackingAnalytics(this.props)}trackingAnalytics(e){const t=!e.isMetricsDisabled,a=e.isSettingsReady&&!e.loadingUserAuthentication;if(t&&a){const t=(0,r.oE)(),a={user:e.user||{},site:{title:"Bolão da Copa GZH"},page:{page_category:"capas_internas",content:U.j,content_id:U.j,page_tag:U.j,page_section:"copa-do-mundo",page_title:"Bolão da Copa GZH"}};this.analyticsConfig=a,A.c.update(a),"app-view"!==t&&A.c.track("pageview",["newgtm"],{page:a.page})}}setHeaderData(){this.props.setThemeTemplate("main")}render(){const{loading:e,error:t}=this.props;if(e)return(0,E.jsx)("section",{className:"container flex justify-center",children:(0,E.jsx)(g.A,{})});if(t)return(0,E.jsx)(C.default,{});const a="production"===(0,n._)()?"https://gauchazh.clicrbs.com.br":"https://gauchazh-hlg.clicrbs.com.br",s=`${a}/esportes/copa-do-mundo/bolao-da-copa`,o="Bolão da Copa 2026 | GZH",r=`${a}/static/images/bolao-gzh-v2.png`;return(0,E.jsxs)("section",{className:"min-h-screen",children:[(0,E.jsx)(p.Ay,{canonical:s,title:o,image:r,description:"Participe do bolão da Copa do Mundo 2026 GZH, faça seus palpites, acompanhe rankings em tempo real, dispute com amigos e comunidades e mostre seus conhecimentos sobre futebol"}),(0,E.jsx)("div",{className:"border border-gzh-divider",children:(0,E.jsx)("div",{className:"","data-area":"section",children:(0,E.jsxs)("div",{className:"container flex h-full flex-col justify-center gap-[13px] py-4 md:items-center",children:[(0,E.jsx)("div",{className:"block md:hidden [&>svg]:max-h-[24px] [&>svg]:w-[198px]",children:(0,E.jsx)(u.A,{fillColor:"#000"})}),(0,E.jsx)("h1",{className:"font-plex text-lg font-bold uppercase text-black md:text-xl md:font-semibold",children:o})]})})}),(0,E.jsxs)(m.A,{container:!0,className:"py-7",children:[(0,E.jsx)(l.A,{data:L.F.Qs.sO}),(0,E.jsx)(m.A,{row:!0,children:(0,E.jsx)(m.A,{md:12,lg:12,children:(0,E.jsx)(B,{pageData:{page_category:"capas_internas",content:U.j,content_id:U.j,page_tag:U.j,page_section:"copa-do-mundo",page_title:"Bolão da Copa GZH"}})})}),(0,E.jsx)("section",{className:"ads-section-area my-8",children:(0,E.jsx)("div",{className:"container",children:(0,E.jsx)("section",{className:"ads-section-area area container-area",children:(0,E.jsx)("div",{className:"ads-area",children:(0,E.jsx)("div",{className:"ads-card",children:(0,E.jsx)(d.A,{data:L.F.Qs._4})})})})})})]})]})}}const S=(0,i.Zz)((0,o.Ng)((e=>({authenticated:e.UserReducer.authenticated,loadingUserAuthentication:e.UserReducer.loadingUserAuthentication,loginType:e.UserReducer.loginType,origin:e.UserReducer.origin,user:e.UserReducer.user,isSettingsReady:e.SettingsReducer.ready,isMetricsDisabled:e.SettingsReducer.settings.metrics.disabled})),{setThemeTemplate:T.Am}))((0,c.A)(D,"bolao"))}}]);
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.