1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9808],{78140:(i,n,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/u/[username]/afiliados/rifinhas/[slug]",function(){return a(98993)}])},98993:(i,n,a)=>{"use strict";a.r(n),a.d(n,{__N_SSP:()=>m,default:()=>v});var e=a(6029),s=a(55729),t=a(76302),o=a(26319),r=a(5541),l=a(69804),d=a(5959),c=a(7544),u=a(72462),f=a(50896),h=a(27191),x=a(8482),j=a(56978),p=a(88333),_=a(27693),m=!0;function v(i){var n,a;let{rifinha:m,ogDomain:v}=i,{user:w,loading:g}=(0,t.dA)(),[z,A]=(0,s.useState)(!1),N=(0,_.Jq)(m.personalizations)?"/afiliados/rifinhas":"/u/".concat(m.author.username,"/afiliados/rifinhas");(0,s.useEffect)(()=>{var i;g||((null==w?void 0:w.affiliate.products_type)!=="specific"||(null==w||null==(i=w.affiliate.products)?void 0:i.includes("rifinha:".concat(m.id)))?A(!0):window.location.href=N)},[w,m,g]);let P=m.title.length>20?"".concat(m.title.slice(0,20),"..."):m.title,E=(null==(n=m.personalizations)?void 0:n.fantasy_name)?"Painel de afiliado - ".concat(P," | ").concat(m.personalizations.fantasy_name):"Painel de afiliado - ".concat(P);return z?(0,e.jsx)(f.A.Provider,{value:{integrations:m.integrations,personalizations:m.personalizations,user:{id:m.author_id,username:m.author.username}},children:(0,e.jsxs)(j.A.Provider,{value:{isRifinha:!0,raffleOrRifinha:m,ogDomain:v},children:[(0,e.jsxs)(r.A,{integrations:m.integrations,personalizations:m.personalizations,theme:null==(a=m.personalizations)?void 0:a.theme,children:[(0,e.jsx)("meta",{name:"description",content:"Dashboard do afiliado"}),(0,e.jsx)("meta",{property:"og:description",content:"Dashboard do afiliado"}),(0,e.jsx)("meta",{property:"og:title",content:E}),(0,e.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),(0,e.jsx)("title",{children:E})]}),(0,e.jsx)(h.k,{personalizations:m.personalizations}),(0,e.jsx)(u.A,{}),(0,e.jsxs)(x.gZ,{children:[(0,e.jsx)(x.mc,{children:(0,e.jsx)(x.UC,{children:(0,e.jsx)(l.W,{})})}),(0,e.jsx)(x.wv,{}),(0,e.jsx)(x.mc,{children:(0,e.jsx)(x.UC,{children:(0,e.jsx)(d.Z,{})})}),(0,e.jsx)(x.wv,{}),(0,e.jsx)(x.mc,{children:(0,e.jsx)(x.UC,{children:(0,e.jsx)(c.N,{})})})]}),(0,e.jsx)(o.A,{})]})}):(0,e.jsx)(p.A,{})}v.auth={loading:(0,e.jsx)(p.A,{})}}},i=>{i.O(0,[7718,8743,5264,3538,8265,7059,6021,8736,636,6593,8792],()=>i(i.s=78140)),_N_E=i.O()}]);
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.