1import{j as e}from"./vendor-radix-BgQ1tEw6.js";import{r as t,L as d}from"./vendor-react-DXpIY7U8.js";import{e as p,f as x,h,j as g,B as b,s as y,X as v}from"./index-DjWeVXQh.js";import{i as w}from"./bot-detection-BUzRmdEK.js";import{s as j,B as _,J as N,A as S}from"./vendor-utils-C1PKCXFi.js";import"./vendor-supabase-DoLSl-Em.js";const m="sponsored_offer_2026_09_shown",f="sponsored_offer_2026_09_last",C=4320*60*1e3;function D(){const s=localStorage.getItem(f);return s?Date.now()-parseInt(s,10)<C:!1}function O({delayMs:s=8e3}={}){const[r,o]=t.useState(!1),a=t.useRef(!1),i=t.useRef(!1);return t.useEffect(()=>{if(typeof window>"u"||i.current)return;const l=new URLSearchParams(window.location.search).get("popup")==="force";if(!l&&(w()||sessionStorage.getItem(m)||D()))return;const u=setTimeout(()=>{a.current||(i.current=!0,o(!0),l||(sessionStorage.setItem(m,"1"),localStorage.setItem(f,Date.now().toString())))},l?0:s);return()=>clearTimeout(u)},[s]),{shouldShow:r,dismiss:()=>{a.current=!0,o(!1)}}}const k="offre_sponsorisee_bruzzo_2026_09",E="home",n={firm:"Bruzzo Dubucq",title:"Avocat collaborateur en fusions & acquisitions (H/F)",city:"Aix-en-Provence",path:"/offres/avocat-collaborateur-en-fusions-acquisitions-hf-630566"};function c(s){try{y.from("popup_events").insert({variant:k,event_type:s,page:E,client_id:v()}).then(()=>{})}catch{}}function L(){const{shouldShow:s,dismiss:r}=O({delayMs:4e3});t.useEffect(()=>{s&&c("offre_impression")},[s]);const o=i=>{i||(c("offre_dismiss"),r())},a=()=>{c("offre_click_cta"),r()};return e.jsx(p,{open:s,onOpenChange:o,children:e.jsxs(x,{className:"overflow-hidden border-2 border-primary/30 sm:max-w-md p-0",children:[e.jsx("div",{className:"pointer-events-none absolute inset-0 opacity-70",style:{background:"radial-gradient(ellipse at top, hsl(var(--primary) / 0.25) 0%, transparent 60%), radial-gradient(ellipse at bottom right, hsl(var(--accent) / 0.18) 0%, transparent 50%)"}}),e.jsxs("div",{className:"relative px-6 py-8 text-center",children:[e.jsx("div",{className:"mb-4 flex justify-center",children:e.jsxs("div",{className:"inline-flex items-center gap-1.5 rounded-full bg-primary/10 border border-primary/30 px-3 py-1 text-xs font-bold uppercase tracking-wider text-primary",children:[e.jsx(j,{className:"h-3.5 w-3.5"}),"Offre mise en avant"]})}),e.jsx("div",{className:"mx-auto mb-4 flex h-14 w-14 items-center justify-center rounded-full bg-primary/10",children:e.jsx(_,{className:"h-7 w-7 text-primary"})}),e.jsx(h,{className:"text-2xl sm:text-[1.6rem] font-bold mb-2 leading-tight",children:n.title}),e.jsxs(g,{className:"text-base text-foreground/80 mb-5 leading-relaxed px-1",children:[n.firm," recrute. Découvrez l'offre, la culture du cabinet et les avis de ses collaborateurs."]}),e.jsxs("div",{className:"mb-6 inline-flex items-center gap-2 rounded-xl bg-muted px-4 py-3 text-sm font-medium",children:[e.jsx(N,{className:"h-4 w-4 text-primary"}),n.city]}),e.jsx(d,{to:n.path,onClick:a,className:"block",children:e.jsxs(b,{size:"lg",className:"w-full h-12 font-bold bg-primary hover:bg-primary/90 text-primary-foreground",children:["Voir l'offre",e.jsx(S,{className:"ml-2 h-5 w-5"})]})}),e.jsx("p",{className:"mt-4 text-xs text-muted-foreground",children:"Contenu sponsorisé â sélection Barreau-Mètre."})]})]})})}export{L 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.