PageSourceSearch

https://www.basile.cc/_next/static/chunks/app/blog/%5Bslug%5D/page…?dpl=dpl_vQjHB7h21MZFfWDk5izT6nvKD4v8

js basile.cc collected 2026-10-02 00:05:42 UTC 11,756 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[953],{8479:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,4437,23)),Promise.resolve().then(r.t.bind(r,4586,23)),Promise.resolve().then(r.bind(r,2379)),Promise.resolve().then(r.bind(r,7665)),Promise.resolve().then(r.bind(r,8270)),Promise.resolve().then(r.bind(r,9545))},9545:(e,t,r)=>{"use strict";r.d(t,{ContentTiptap:()=>w});var l=r(7835),o=r(4363),n=r(2853),a=r(1029),s=r(7185),i=r(1183),c=r(7809),d=r(5974);r(862),s.A.registerLanguage("json",i.A),s.A.registerLanguage("typescript",c.A),s.A.registerLanguage("javascript",d.A);let u=/<a[^>]*href="https?:\/\/(?:www\.)?(?:twitter\.com|x\.com)\/[^/]+\/status\/(\d+)[^"]*"[^>]*>.*?<\/a>/gi,p=/(?:<p>\s*)?<a[^>]*href="https?:\/\/(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:watch\?v=|embed\/|shorts\/|live\/))([\w-]{11})[^"]*"[^>]*>([\s\S]*?)<\/a>(?:\s*<\/p>)?/gi,m=(e,t)=>({"@context":"https://schema.org","@type":"VideoObject",name:t,description:t,thumbnailUrl:["https://i.ytimg.com/vi/".concat(e,"/maxresdefault.jpg")],contentUrl:"https://youtu.be/".concat(e),embedUrl:"https://www.youtube.com/embed/".concat(e)}),b=/<p>``<code>([\s\S]*?)<\/code>``<\/p>/gi,h=/<pre><code(?:\s+class="language-(\w+)")?>([\s\S]*?)<\/code><\/pre>/gi,x=e=>e.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"'),g=e=>{let t=x(e).replace(/^\s*\w+\s+/,"");try{return JSON.stringify(JSON.parse(t),null,2)}catch(e){return t}},v=(e,t)=>
1{let r=s.A.getLanguage(t)?t:"plaintext";try{return s.A.highlight(e,{language:r,ignoreIllegals:!0}).value}catch(t){return e}},f=e=>e.replace(h,(e,t,r)=>{let l=v(x(r),t||"plaintext");return'<pre class="code-block rounded-lg overflow-x-auto text-sm leading-relaxed"><code class="hljs">'.concat(l,"</code></pre>")}).replace(b,(e,t)=>{let r=v(g(t),"json");return'<pre class="code-block rounded-lg overflow-x-auto text-sm leading-relaxed"><code class="hljs">'.concat(r,"</code></pre>")}),w=e=>{let{htmlContent:t}=e,r=(0,o.useRef)(null),s=(0,o.useMemo)(()=>f(t),[t]),i=(0,o.useCallback)(e=>{var t;let r=e.target.closest(".code-copy-btn");if(!r)return;let l=null===(t=r.closest(".code-block-wrapper"))||void 0===t?void 0:t.querySelector("pre code");l&&navigator.clipboard.writeText(l.textContent||"").then(()=>{r.textContent="Copi\xe9 !",setTimeout(()=>{r.textContent="Copier"},2e3)})},[]);(0,o.useEffect)(()=>{let e=r.current;if(e)return e.querySelectorAll("pre.code-block").forEach(e=>{var t;if(null===(t=e.parentElement)||void 0===t?void 0:t.classList.contains("code-block-wrapper"))return;let r=document.createElement("div");r.className="code-block-wrapper relative";let l=document.createElement("button");l.type="button",l.className="code-copy-btn absolute top-2 right-2 px-2 py-1 rounded text-xs bg-white/10 hover:bg-white/20 text-gray-300 transition-colors",l.setAttribute("aria-label","Copier le code"),l.textContent="Copier",e.parentNode.insertBefore(r,e),r.appendChild(l),r.appendChild(e)}),e.addEventListener("click",i),()=>e.removeEventListener("click",i)},[s,i]);let c=(0,o.useMemo)(()=>{let e;let t=[],r=RegExp(u.source,"gi");for(;null!==(e=r.exec(s));)t.push({index:e.index,length:e[0].length,type:"tweet",tweetId:e[1]});let l=RegExp(p.source,"gi");for(;null!==(e=l.exec(s));){let r=e[2].replace(/<[^>]*>/g,"").trim()||"Vid\xe9o YouTube";t.push({index:e.index,length:e[0].length,type:"youtube",videoId:e[1],title:r})}t.sort((e,t)=>e.index-t.index);let o=[],n=0;for(let e of t)e.index<n||(e.index>n&&o.push({type:"html",value:s.slice(n,e.index)}),"tweet"===e.type?o.push({type:"tweet",tweetId:e.tweetId}):o.push({type:"youtube",videoId:e.videoId,title:e.title}),n=e.index+e.length);return n<s.length&&o.push({type:"html",value:s.slice(n)}),o},[s]),d=c.some(e=>"html"!==e.type),b="[&_p]:my-4 [&_p]:leading-[150%] whitespace-break-spaces";return d?(0,l.jsx)("div",{ref:r,className:"min-w-0 w-full ".concat(b),children:c.map((e,t)=>"html"===e.type?(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:e.value}},t):"tweet"===e.type?(0,l.jsx)("div",{className:"my-8",children:(0,l.jsx)(n.A,{tweetId:e.tweetId})},t):(0,l.jsxs)("div",{className:"my-8 w-full max-w-[1096px] mx-auto border-[7px] border-[rgb(252,252,252)]",children:[(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(m(e.videoId,e.title))}}),(0,l.jsx)(a.YoutubeVideo,{videoId:e.videoId,title:e.title})]},t))}):(0,l.jsx)("div",{ref:r,className:"min-w-0 w-full",children:(0,l.jsx)("div",{className:b,dangerouslySetInnerHTML:{__html:s}})})}},2379:(e,t,r)=>{"use strict";r.d(t,{ArticleTOC:()=>i});var l=r(7835),o=r(4363),n=r(1767),a=r(5115);let s={none:"none",top:"linear-gradient(to bottom, black calc(100% - 1rem), transparent 100%)",middle:"linear-gradient(to bottom, transparent 0, black 1rem, black calc(100% - 1rem), transparent 100%)",bottom:"linear-gradient(to bottom, transparent 0, black 1rem, black 100%)"};function i(e){var t,r;let{article:i}=e,c=(0,o.useMemo)(()=>{if(!i)return[];let e=[];return i.content.forEach(t=>{var r,l,o,n;let a=(null===(r=t.content)||void 0===r?void 0:r.map(e=>e.text).join(""))||"";"heading"===t.type&&(null===(l=t.attrs)||void 0===l?void 0:l.level)===2?e.push({id:a,label:a,type:null===(n=t.attrs)||void 0===n?void 0:n.level}):"heading"===t.type&&(null===(o=t.attrs)||void 0===o||o.level)}),e},[i]),[d,u]=(0,o.useState)(null!==(r=null===(t=c[0])||void 0===t?void 0:t.id)&&void 0!==r?r:""),[p,m]=(0,o.useState)(0),[b,h]=(0,o.useState)("none"),x=(0,o.useRef)(null);return(0,o.useEffect)(()=>{function e(){var e,t;let r=null!==(t=null===(e=c[0])||void 0===e?void 0:e.id)&&void 0!==t?t:"";for(let e of c){let t=document.getElementById(e.id);t&&t.getBoundingClientRect().top<=96&&(r=e.id)}u(r);
1let l=document.documentElement.scrollHeight-window.innerHeight;m(l>0?Math.min(100,Math.max(0,window.scrollY/l*100)):0)}return document.addEventListener("scroll",e,{passive:!0}),e(),()=>document.removeEventListener("scroll",e)},[c]),(0,o.useEffect)(()=>{let e=x.current;if(!e)return;function t(){if(!e)return;let{scrollTop:t,scrollHeight:r,clientHeight:l}=e;r-l<=1?h("none"):t<=0?h("top"):t+l>=r-1?h("bottom"):h("middle")}t(),e.addEventListener("scroll",t,{passive:!0});let r=new ResizeObserver(t);return r.observe(e),()=>{e.removeEventListener("scroll",t),r.disconnect()}},[c]),(0,l.jsxs)("aside",{"aria-label":"Sommaire",className:"sticky top-26 self-start max-h-[calc(100vh-8rem)] flex flex-col border-l border-basile-line py-1 pl-4",children:[(0,l.jsx)("div",{className:"font-mono text-[11px] text-basile-muted uppercase tracking-[0.06em] mb-3 shrink-0",children:"[ sommaire ]"}),(0,l.jsx)("ol",{ref:x,style:{maskImage:s[b],WebkitMaskImage:s[b]},className:"list-none p-0 m-0 [counter-reset:toc] overflow-y-auto min-h-0 flex-1 -mr-2 pr-2",children:c.map(e=>{let t=e.id===d;return(0,l.jsx)("li",{className:"[counter-increment:toc] mb-2",children:(0,l.jsx)("a",{href:"#".concat(e.id),onClick:t=>(function(e,t){e.preventDefault();let r=document.getElementById(t);if(!r)return;let l=r.getBoundingClientRect().top+window.scrollY-96;window.scrollTo({top:l,behavior:"smooth"})})(t,e.id),className:(0,n.cn)("flex gap-2.5 items-baseline text-[13px] leading-[1.4] py-1 rounded transition-colors","before:content-[counter(toc,decimal-leading-zero)] before:font-mono before:text-[11px] before:shrink-0",t?"text-basile-green before:text-basile-green":"text-basile-muted before:text-basile-line hover:text-basile-ink"),children:e.label})},e.id)})}),(0,l.jsxs)("div",{className:"mt-4 pt-3 border-t border-basile-line font-mono text-[11px] text-basile-muted shrink-0",children:[(0,l.jsx)("span",{children:"progression"}),(0,l.jsx)("div",{className:"mt-1.5 h-0.5 bg-basile-line rounded overflow-hidden",children:(0,l.jsx)("i",{className:"block h-full bg-basile-green transition-[width] duration-100",style:{width:"".concat(p.toFixed(1),"%")}})})]}),(0,l.jsxs)("div",{className:"mt-6 pt-6 border-t border-basile-line space-y-3 shrink-0",children:[(0,l.jsx)("div",{className:"font-mono text-[11px] text-basile-muted uppercase tracking-[0.06em]",children:"[ BASILE ]"}),(0,l.jsx)("h4",{children:"Trouvez vos leads B2B en quelques clics"}),(0,l.jsx)("p",{children:"Acc\xe9dez \xe0 la base de donn\xe9es fran\xe7aise la plus compl\xe8te : donn\xe9es l\xe9gales, Google Maps, LinkedIn et financi\xe8res crois\xe9es."}),(0,l.jsx)(a.p,{children:"Essayer gratuitement"})]})]})}},1029:(e,t,r)=>{"use strict";r.d(t,{YoutubeVideo:()=>n});var l=r(7835),o=r(4363);function n(e){let{videoId:t,title:r}=e,[n,a]=(0,o.useState)(!1);return n?(0,l.jsx)("div",{className:"relative w-full aspect-video overflow-hidden rounded-2xl border border-black/5",children:(0,l.jsx)("iframe",{className:"absolute inset-0 h-full w-full",src:"https://www.youtube.com/embed/".concat(t,"?autoplay=1"),title:r,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0})}):(0,l.jsxs)("button",{type:"button","aria-label":"Lire la vid\xe9o : ".concat(r),onClick:()=>a(!0),style:{backgroundImage:"url(".concat("https://i.ytimg.com/vi/".concat(t,"/maxresdefault.jpg"),")"),backgroundSize:"cover",backgroundPosition:"center"},className:"group relative block w-full aspect-video overflow-hidden rounded-2xl cursor-pointer transition-[transform,box-shadow] duration-[400ms] ease-[cubic-bezier(0.16,1,0.3,1)] hover:-translate-y-0.5 hover:shadow-[0_20px_60px_-20px_rgba(34,197,94,0.25)]",children:[(0,l.jsx)("span",{className:"absolute inset-0 bg-black/10 transition-colors duration-300 group-hover:bg-black/20"}),(0,l.jsx)("span",{className:"absolute top-1/2 left-1/2 z-[2] flex h-[72px] w-[72px] md:h-24 md:w-24 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full bg-[#1a1a1a] shadow-[0_8px_30px_-8px_rgba(0,0,0,0.4)] transition-[transform,box-shadow] duration-[400ms] ease-[cubic-bezier(0.16,1,0.3,1)] group-hover:scale-[1.08] group-hover:shadow-[0_12px_40px_-8px_rgba(34,197,94,0.5)] before:content-[''] before:absolute before:-inset-2 before:rounded-full before:bg-basile-green/30 before:-z-10 before:animate-basile-pulse",children:(0,l.jsx)("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"ml-1 h-6 w-6 md:h-8 md:w-8 fill-white",children:(0,l.jsx)("path",{d:"M8 5v14l11-7z"})})})]})}},8270:(e,t,r)=>{"use strict";r.d(t,{VideoStub:()=>n});var l=r(7835),o=r(4363);function n(e){let{duration:t="2:14"}=e,[r,n]=(0,o.useState)(!1);return(0,l.jsxs)("div",{role:"button",tabIndex:0,onClick:()=>n(e=>!e),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&n(e=>!e)},"aria-label":"Lire la d\xe9mo vid\xe9o",className:"relative border border-basile-line aspect-video bg-black overflow-hidden cursor-pointer",children:[(0,l.jsx)("div",{className:"w-full h-full",style:{background:"radial-gradient(circle at 50% 50%, rgba(61,152,91,0.25) 0, transparent 60%), linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%)"}}),(0,l.jsx)("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 size-16 rounded-full bg-white/95 shadow-basile flex items-center justify-center transition-transform hover:scale-105",children:r?(0,l.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"
1currentColor",children:[(0,l.jsx)("rect",{x:"6",y:"5",width:"4",height:"14"}),(0,l.jsx)("rect",{x:"14",y:"5",width:"4",height:"14"})]}):(0,l.jsx)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"currentColor",className:"ml-[3px] text-basile-ink",children:(0,l.jsx)("path",{d:"M8 5v14l11-7z"})})}),(0,l.jsxs)("div",{className:"absolute bottom-3 left-3 font-mono text-[11px] text-white/85 bg-black/60 backdrop-blur-sm rounded px-2 py-1 uppercase tracking-[0.04em]",children:["D\xc9MO \xb7 ",t]})]})}}},e=>{var t=t=>e(e.s=t);e.O(0,[815,108,586,294,665,459,450,977],()=>t(8479)),_N_E=e.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.