PageSourceSearch

https://basket-fcb.com.br/_nuxt/BDg91Pja.js

js basket-fcb.com.br collected 2026-10-03 00:33:47 UTC 8,973 bytes, 1 lines download raw bytes

1import{_ as E,a as q}from"./B5JtIkhy.js";import{_ as z}from"./l9Kzn9BH.js";import{_ as G}from"./UjYEnZRf.js";import{_ as H}from"./C_O7TcX3.js";import{_ as J}from"./DqPKGQZz.js";import{_ as K}from"./dd-FPzhc.js";import{u as Q,a as W,c as X,o as Y,d as Z,e as $,f as ee,B as T,r as n,y as S,_ as te,g as s,h as a,i as x,j as t,A as B,t as i,F as I,m as f,n as P,l as se,s as U,C as oe,p as ae,x as ne}from"./Cza1oskO.js";import{_ as le}from"./nP0vRDxU.js";import"./DmwFeCT7.js";import"./C5zDMs9I.js";const ce={setup(){const p=Q(),o=W(),h=n(""),e=n([]),r=n(!0),g=n(!0),v=n(""),C=n(""),N=n(1),y=n(1),b=n(null),k=n([]),u=n({}),j=n(!0),c=n(),m=n(""),D=X(),F=S(()=>!!p.info?.show_nickname),V=S(()=>`page=${N.value}`),L=n(""),M=l=>{e.value=[{name:"Início",link:"/"},{name:l,link:""}]},O=()=>{let _=window.location.pathname.split("/");C.value=_[2]+"/"+_[3]},R=async()=>{g.value=!0;let l=`${p.client.backend}/portal/users/${o.params.id}/posts?${V.value}`;await fetch(l).then(_=>{_.json().then(d=>{k.value=d.pagination.data,y.value=d.pagination.current_page,b.value=d.pagination.next_page_url,setTimeout(()=>{g.value=!1},1e3),r.value=!1}).catch(d=>(console.log(d),{error:!0,status:!1}))}).catch(_=>{console.log(_),r.value=!0})},A=async l=>{g.value=!0,N.value=l;let _=`${p.client.backend}/portal/users/${o.params.id}/posts?${V.value}`;await fetch(_).then(d=>{d.json().then(w=>{window.scrollTo({top:300,left:0,behavior:"smooth"}),k.value=w.pagination.data,y.value=w.pagination.current_page,b.value=w.pagination.next_page_url,r.value=!1,setTimeout(()=>{g.value=!1},500)}).catch(w=>(console.log(w),{error:!0,status:!1}))}).catch(d=>{console.log(d),r.value=!1})};return Y(()=>{v.value=window.location.href,O()}),Z(()=>{$(`notices_data_user-${o.params.id}`)}),ee(`${p.client.backend}/portal/users/${o.params.id}`,{key:`user_id_${o.params.id}`},"$GiRcVM1wgM").then(async l=>{if(l.pending){if(c.value=l.data.value.status,c.value===0){m.value=l.data.value.message,j.value=!1,M(m.value),T({ogType:"website",title:m.value,ogTitle:m.value,robots:"noindex, nofollow",description:"Vá para a página e encontre o perfil completo do atleta, incluindo histórico de competições e notícias relacionadas.",ogDescription:"Vá para a página e encontre o perfil completo do atleta, incluindo histórico de competições e notícias relacionadas.",ogImage:"",ogUrl:v.value}),r.value=!1;return}u.value=l.data.value.result,M(u.value.public_name),h.value=u.value.public_name,L.value=u.value.public_image_url,T({ogType:"website",title:h.value,ogTitle:h.value,description:"Vá para a página e encontre o perfil completo do atleta, incluindo histórico de competições e notícias relacionadas.",ogDescription:"Vá para a página e encontre o perfil completo do atleta, incluindo histórico de competições e notícias relacionadas.",ogImage:L.value,ogUrl:v.value}),await R(),r.value=!1}}).catch(l=>{console.log(l),r.value=!0}),{arrayOfLinks:e,titlePage:h,currentPage:y,nextPage:b,loading:r,user:u,notices:k,refreshNotices:A,link:v,colors:D,timing:g,userShow:j,message:m,showNickname:F}}},ie={key:0},re={class:"container mx-auto py-8 px-3"},de={class:"w-12/12 mx-auto"},_e={class:"grid grid-cols-1"},ue={class:"col-span-1"},me={key:0,class:"col-span-1 mt-6 sm:mt-8 lg:mt-10"},ge={class:"w-12/12 lg:w-11/12 mx-auto"},ve={class:"grid grid-cols-1"},xe={class:"col-span-1"},fe={class:"text-3xl md:text-4xl"},pe={class:"col-span-1 mt-1 lg:mt-2 flex justify-center 2xl:justify-start"},he={class:"col-span-1 mt-4 lg:mt-6"},ye={class:"flex flex-col md:flex-row md:items-center"},be={class:"mr-5"},ke=["src"],we={class:"flex flex-col mt-4"},Pe={class:"flex flex-col"},Ne={key:0,class:"text-base"},je={key:1,class:"text-base"},Ce={class:"flex flex-col"},Ie={key:0,class:"text-base"},Ve={key:1,class:"text-base"},Le={class:"flex flex-col"},Me={key:0,class:"text-base"},Te={key:1,class:"text-base"},Se={class:"col-span-1 mt-2"},Be={class:"col-span-1 mt-4"},Ue={key:0,class:"grid grid-cols-1"},De={class:"col-span-1"},Fe={class:"grid grid-cols-12 gap-5"},Oe={key:0,class:"col-span-12 sm:col-span-6 md:col-span-4 xl:col-span-3 no-underline text-neutral-800 shadow-sm rounded-md overflow-hidden"},Re={class:"grid grid-cols-1"},Ae={class:"col-span-1 flex justify-center"},Ee={class:"grid grid-cols-1"},qe={class:"col-span-1 flex justify-center"},ze=["src"],Ge={class:"col-span-1 leading-none py-2 px-1"},He={class:"font-semibold leading-none"},Je={class:"col-span-1 mt-6 md:mt-8"},Ke={class:"flex"},Qe={key:0,class:"flex rounded overflow-hidden text-black"},We={key:0,class:"border-1 border-neutral-400 flex justify-center items-center"},Xe={key:1,class:"border-1 border-neutral-400 flex justify-center items-center"},Ye={key:3,class:"border-1 border-neutral-400 flex justify-center items-center"},Ze={key:1,class:"col-span-1 mt-6 sm:mt-8 lg:mt-10 mb-4 sm:mb-6 lg:mb-8"},$e={class:"flex justify-center items-center"},et={class:"ml-2 text-xl lg:text-2xl font-weight-500 text-neutral-700"},tt={key:1,class:""};function st(p,o,h,e,r,g){const v=E,C=q,N=z,y=G,b=H,k=J,u=K,j=ae;return s(),a("main",null,[e.loading?(s(),a("div",tt,[...o[8]||(o[8]=[ne('<div class="container pt-4 pb-4 mx-auto" data-v-1ac12147><div class="grid grid-cols-1" data-v-1ac12147><div class="col-span-1" data-v-1ac12147><div class="flex justify-center" data-v-1ac12147><img src="'+le+'" alt="Imagem de loading do Placarsoft" class="h-[300px] md:h-[400px]" data-v-1ac12147></div></div></div></div>',1)])])):(s(),a("div",ie,[x(v,{title:"Perfil do Atleta"}),t("div",re,[t("div",de,[t("div",_e,[t("div",ue,[x(C,{classFather:"",arrayOfLinks:e.arrayOfLinks},null,8,["arrayOfLinks"])]),e.userShow?(s(),a("div",me,[t("div",ge,[t("div",ve,[t("div",xe,[t("h1",fe,[B(i(e.user.public_name),1),e.showNickname&&e.user.public_nickname?(s(),a(I,{key:0},[B(" ("+i(e.user.public_nickname)+")",1)],64)):f("",!0)])]),t("div",pe,[x(N,{uri:e.user.uri},null,8,["uri"])]),t("div",he,[t("div",ye,[t("div",be,[t("img",{src:e.user.public_image_url,class:"w-[300px] rounded",alt:""},null,8,ke)]),t("div",we,[t("div",Pe,[t("span",{class:P([`text-${e.colors.colorname1}`,"text-xl font-semibold"])},"Nascimento:",2),e.user.public_born_at_formatted?(s(),a("span",Ne,i(e.user.public_born_at_formatted),1)):(s(),a("span",je,"-"))]),t("div",Ce,[t("span",{class:P([`text-${e.colors.colorname1}`,"text-xl font-semibold"])},"Idade:",2),e.user.public_age?(s(),a("span",Ie,i(e.user.public_age),1)):(s(),a("span",Ve,"-"))]),t("div",Le,[t("span",{class:P([`text-${e.colors.colorname1}`,"text-xl font-semibold"])},"Cidade:",2),e.user.address_city?(s(),a("span",Me,i(e.user.address_city),1)):(s(),a("span",Te,"-"))])])])]),t("div",Se,[x(y,{link:e.link,classChild:"w-[22px]"},null,8,["link"])]),t("div",Be,[e.notices.length>0?(s(),a("div",Ue,[t("div",De,[t("div",Fe,[(s(!0),a(I,null,se(e.notices,(c,m)=>(s(),a(I,{key:m},[e.timing?(s(),a("div",Oe,[t("div",Re,[t("div",Ae,[x(b)])])])):(s(),U(k,{key:1,to:c.uri,class:"col-span-12 sm:col-span-6 md:col-span-4 xl:col-span-3 no-underline text-neutral-800 shadow-sm rounded-md overflow-hidden"},{default:oe(()=>[t("div",Ee,[t("div",qe,[t("div",null,[t("img",{src:c.image_lg_url,alt:"",class:"max-w-full"},null,8,ze)])]),t("div",Ge,[t("span",He,i(c.title),1)])])]),_:2},1032,["to"]))],64))),128))])]),t("div",Je,[t("div",Ke,[e.nextPage||e.currentPage>1?(s(),a("ul",Qe,[e.currentPage>1?(s(),a("li",We,[t("button",{onClick:o[0]||(o[0]=c=>e.refreshNotices(e.currentPage-1)),class:"py-2 px-2"},[...o[6]||(o[6]=[t("i",{class:"las la-angle-double-left"},null,-1)])])])):f("",!0),e.currentPage>1?(s(),a("li",Xe,[t("button",{onClick:o[1]||(o[1]=c=>e.refreshNotices(e.currentPage-1)),class:"py-2 px-3"},i(e.currentPage-1),1)])):f("",!0),e.nextPage?(s(),a("li",{key:2,class:P([`bg-${e.colors.colorname1} border-${e.colors.colorname1} my-text-${e.colors.colorname1}`,"border-1flex justify-center items-center"])},[t("button",{onClick:o[2]||(o[2]=c=>e.refreshNotices(e.currentPage)),class:"py-2 px-3"},i(e.currentPage),1)],2)):f("",!0),t("li",{class:P([e.nextPage?"border-neutral-400":`bg-${e.colors.colorname1} border-${e.colors.colorname1} my-text-${e.colors.colorname1}`,"border-1 flex justify-center items-center"])},[e.nextPage?(s(),a("button",{key:0,onClick:o[3]||(o[3]=c=>e.refreshNotices(e.currentPage+1)),class:"py-2 px-3"},i(e.currentPage+1),1)):(s(),a("button",{key:1,onClick:o[4]||(o[4]=c=>e.refreshNotices(e.currentPage)),class:"py-2 px-3"},i(e.currentPage),1))],2),e.nextPage?(s(),a("li",Ye,[t("button",{onClick:o[5]||(o[5]=c=>e.refreshNotices(e.currentPage+1)),class:"py-2 px-2"},[...o[7]||(o[7]=[t("i",{class:"las la-angle-double-right"},null,-1)])])])):f("",!0)])):f("",!0)])])])):(s(),U(u,{key:1,message:"Não há notícias relacionadas",nameIcon:"octicon:alert",class:"justify-center"}))])])])])):(s(),a("div",Ze,[t("div",$e,[x(j,{name:"ic:baseline-do-not-disturb-alt",class:"text-3xl lg:text-4xl text-neutral-700"}),t("span",et,i(e.message),1)])]))])])])]))])}const mt=te(ce,[["render",st],["__scopeId","data-v-1ac12147"]]);export{mt 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.