PageSourceSearch

https://ifind.com.br/_nuxt/C5_I0pS-.js

js ifind.com.br collected 2026-10-02 00:14:36 UTC 1,711 bytes, 1 lines download raw bytes

1import{f,U as d,x as r,h as m,W as N}from"./B_NoVnhT.js";const y=t=>{if(!t?.exists||String(t.status||"").toUpperCase()!=="PENDING_PAYMENT")return!1;if(!t.paymentExpiresAt)return!0;const e=t.paymentExpiresAt instanceof Date?t.paymentExpiresAt:new Date(t.paymentExpiresAt);return Number.isNaN(e.getTime())||e.getTime()>Date.now()},v=t=>{const e=new URLSearchParams({tab:"banner",checkout:"banner"});return t.id&&e.set("bannerId",t.id),`/painel/anuncio?${e.toString()}`},A=t=>{const e=t.targeting||{};return String(e.productType||"").toUpperCase()==="BANNER_TOP_PAGE_NATIONAL"||String(e.placement||"").toUpperCase()==="HOME_TOP"||String(e.scope||"").toUpperCase()==="NATIONAL"},E=t=>{if(!t||!y(t))return null;const e=A(t)?"Banner topo de pagina nacional - Home nacional":t.targeting?`${t.targeting.profession} em ${t.targeting.city}/${t.targeting.state}`:"Banner topo de pagina";return{id:`banner-payment-${t.id||"current"}`,actionLabel:"Finalizar pagamento",text:`${e}. Clique para concluir o checkout transparente no ifind.`,title:"Conclua sua assinatura",to:v(t),type:"banner-payment"}},x=()=>{const{ready:t}=f(),{logged:e}=d(),{api:p}=N(),a=r("app-notifications",()=>[]),n=r("app-notifications-loading",()=>!1),i=r("app-notifications-loaded",()=>!1),c=s=>{const o=E(s),u=a.value.filter(g=>g.type!=="banner-payment");a.value=o?[o,...u]:u,i.value=!0},l=async(s=!1)=>{if(!t.value||!e.value){a.value=[],i.value=!1;return}if(!(n.value||i.value&&!s))try{n.value=!0;const o=await p("/users/panel?period=MENSAL",{method:"GET"});c(o.banner)}catch{a.value=[],i.value=!0}finally{n.value=!1}};return{count:m(()=>a.value.length),loadNotifications:l,loading:n,notifications:a,syncPanelBannerNotification:c}};export{x as u};

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.