PageSourceSearch

https://www.kessel.media/assets/chunks/chunk-60AadPD4.js

js kessel.media collected 2026-09-24 19:37:39 UTC 9,772 bytes, 1 lines download raw bytes

1import{o as e}from"./chunk-C4vDvPU8.js";import{It as t,Jt as n,Pt as r,Xt as i,_t as a,ct as o,dt as s,ft as c,gn as l,gt as u,ht as d,lt as f,rt as p,sn as m,ut as h,vn as g,xn as _}from"./chunk-BA-aKEGa.js";import{J as v,K as y,R as b,W as x,q as S,tt as C}from"./chunk-Bxg5x23R.js";import{u as w}from"./chunk-BkKDRHJQ.js";import{n as T}from"./chunk-ZpXINNZb.js";import{t as E}from"./chunk-DGfzsdms.js";import{t as D}from"./chunk-pdHpQ6u3.js";import{t as O}from"./chunk-BxukASXL.js";import{r as k}from"./chunk-icDqdjlU.js";import{n as A,t as j}from"./chunk-CqWMmuun.js";import{t as M}from"./chunk-BtwnmxPf.js";import{t as N}from"./chunk-CbInUWCZ.js";var P={class:`relative bg-black px-4 pb-16 pt-16 font-normal text-white md:pb-24 md:pt-32`},F={class:`container mx-auto`},I={class:`flex flex-col justify-between gap-16 md:flex-row md:gap-4`},L={class:`flex flex-col gap-8`},R=[`href`],z={class:`flex flex-col gap-3`},B={class:`flex flex-wrap items-center gap-3`},V=[`href`,`aria-label`],H={key:0,class:`size-6`,style:{width:`1.25rem`,height:`1.25rem`},viewBox:`0 0 24 24`,fill:`currentColor`,"aria-hidden":`true`},U={key:1,class:`size-6`,style:{width:`1.25rem`,height:`1.25rem`},viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"aria-hidden":`true`},W={class:`md:w-2/6`},G=[`href`],K=`[email protected]`,q=a({__name:`AuthorPagesFooter`,props:{me:{},sourceType:{default:`author_page_footer`}},setup(i){let a=i,{t:o}=w(),s=m(a.me?.email||``);n(()=>a.me?.email,e=>{s.value=e||``});let d=[{id:1,label:o(`FOOTER.ABOUT_KESSEL`),href:`https://www.kessel.media/manifeste`},{id:2,label:o(`FOOTER.ADVERTISERS`),href:`https://www.kessel.media/annonceurs`},{id:3,label:o(`FOOTER.FAQ`),href:`https://www.kessel.media/faq`},{id:4,label:o(`FOOTER.RESSOURCES`),href:`https://help.kessel.media/`},{id:9,label:o(`FOOTER.SUPPORT`),href:`mailto:${K}`},{id:5,label:o(`FOOTER.CGU`),href:`https://www.kessel.media/cgu`},{id:6,label:o(`FOOTER.PUBLICATION_TERMS`),href:`https://www.kessel.media/publication-terms`},{id:7,label:o(`FOOTER.LEGAL_NOTICE_FOOTER`),href:`https://www.kessel.media/legal-notice`},{id:8,label:o(`FOOTER.PRESS`),href:`https://www.kessel.media/presse`}],h=[{label:`LinkedIn`,href:`https://www.linkedin.com/company/kesselmediafr`},{label:`Instagram`,href:`https://www.instagram.com/kesselfr`}];function g(){let e=k({source_type:a.sourceType}),t=new URLSearchParams(e);a.me?.email?t.set(`email`,a.me.email):s.value&&t.set(`email`,s.value),v(`https://hypertextes.kessel.media/?${t.toString()}`)}return(n,a)=>(r(),c(`footer`,P,[f(`div`,F,[f(`div`,I,[f(`div`,L,[f(`a`,{href:l(e).homepageUrl||`/`,"aria-label":`Accueil Kessel`,class:`w-fit`},[...a[1]||=[f(`img`,{src:`/Kessel_logo_flat_dark.svg`,alt:`Kessel`,class:`h-auto`,style:{width:`9rem`}},null,-1)]],8,R),f(`div`,z,[f(`span`,null,_(l(o)(`FOOTER.SUBSCRIBE_NEWSLETTER`)),1),u(O,{email:s.value,"onUpdate:email":a[0]||=e=>s.value=e,disabled:!!i.me?.email,color:`#003FFF`,onSubmit:g},null,8,[`email`,`disabled`])]),f(`div`,B,[a[4]||=f(`span`,null,`Suivez-nous sur nos réseaux`,-1),(r(),c(p,null,t(h,e=>f(`a`,{key:e.label,href:e.href,"aria-label":e.label,class:`inline-flex items-center justify-center rounded-md bg-white text-black transition-colors hover:bg-primary hover:text-white`,style:{width:`28px`,height:`28px`,"min-width":`28px`,"min-height":`28px`,flex:`0 0 28px`,"border-radius":`6px`,"background-color":`white`,color:`#121212`},target:`_blank`,rel:`noopener noreferrer`},[e.label===`LinkedIn`?(r(),c(`svg`,H,[...a[2]||=[f(`path`,{d:`M20.45 20.45h-3.56v-5.57c0-1.33-.03-3.04-1.85-3.04-1.85 0-2.14 1.45-2.14 2.94v5.67H9.34V8.98h3.42v1.57h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.29ZM5.32 7.41a2.06 2.06 0 1 1 0-4.12 2.06 2.06 0 0 1 0 4.12ZM7.1 20.45H3.54V8.98H7.1v11.47Z`},null,-1)]])):(r(),c(`svg`,U,[...a[3]||=[f(`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`5`},null,-1),f(`circle`,{cx:`12`,cy:`12`,r:`4`},null,-1),f(`circle`,{cx:`17.5`,cy:`6.5`,r:`1`,fill:`currentColor`,stroke:`none`},null,-1)]]))],8,V)),64))])]),f(`div`,W,[f(`ul`,null,[(r(),c(p,null,t(d,e=>f(`li`,{key:e.id,class:`mb-4`},[f(`a`,{href:e.href,class:`text-white`},_(e.label),9,G)])),64))])])])])]))}}),J=/^(https?:|mailto:|tel:)/i;function Y(e){if(!e||typeof e!=`object`)return``;let t=e,n=[t.url,t.cached_url,t.anchor].find(e=>typeof e==`string`&&e.trim())?.trim();return!n||n.includes(`{{`)||n.startsWith(`//`)||/^[a-z][a-z0-9+.-]*:/i.test(n)&&!J.test(n)?``:J.test(n)||n.startsWith(`/`)||n.startsWith(`#`)?n:`/${n.replace(/^\/+/,``)}`}function X(e){return!e||typeof e!=`object`?`_self`:e.target===`_blank`?`_blank`:`_self`}function Z(){return T(N.ME,{redirectIfUnauthorized:!1})}var Q={class:`flex items-center gap-2 md:gap-4`},$={key:0,class:`hidden items-center gap-5 md:flex`},ee=[`aria-expanded`,`onClick`],te=[`href`,`target`,`rel`,`onClick`],ne=[`onClick`],re={key:0,class:`border-t border-muted`},ie=[`onClick`],ae=[`onClick`],oe=[`onClick`],se=[`onClick`],ce=[`onClick`],le={key:0,class:`fixed inset-x-0 top-14 z-40 max-h-[calc(100vh-3.5rem)] overflow-y-auto border-b border-border bg-background px-4 py-4 shadow-lg md:hidden`,"aria-label":`Navigation principale`},ue={class:`mb-1 text-sm font-semibold text-muted-foreground`},de=[`href`,`target`,`rel`],fe=a({__name:`AuthorPagesHeader`,props:{newsletterId:{},navigation:{}},setup(n){let a=n,{t:T}=w(),{data:O}=M(()=>a.newsletterId),{data:k}=E({queryKey:[`USER_ME`],queryFn:Z,enabled:o(()=>typeof window<`u`&&!a.newsletterId),staleTime:3e5,retry:!1}),N=o(()=>O.value?.me??k.value??null),P=o(()=>!!N.value?.email),F=m(!1),I=m(!1),L=m({}),R=o(()=>{let e=a.navigation?.right;return Array.isArray(e)?e.flatMap((e,t)=>{if(!e||typeof e!=`object`||e.component!==`dropdown`)return[];let n=e,r=typeof n.label==`string`?n.label.trim():``;if(!r)return[];let i=(Array.isArray(n.items)?n.items:[]).flatMap((e,n)=>{let r=typeof e.label==`string`?e.label.trim():``,i=Y(e.link);return!r||!i?[]:[{id:e._uid||`${t}-${n}`,label:r,href:i,target:X(e.link)}]});return i.length?[{id:n._uid||`navigation-${t}`,label:r,items:i}]:[]}):[]});function z(e,t){t?.(),I.value=!1,F.value=!1,v(e)}function B(){S(window.location.href)}async function V(e){e?.(),F.value=!1,await y()}return(n,a)=>(r(),c(p,null,[u(D,{"homepage-url":l(e).homepageUrl||`/`,"has-nav":R.value.length>0,"nav-open":I.value,"show-action-separator":P.value,"onUpdate:navOpen":a[2]||=e=>I.value=e},{"nav-icon":i(()=>[u(l(C),{name:I.value?`i-teenyicons-x-outline`:`i-teenyicons-menu-outline`,class:`text-2xl`},null,8,[`name`])]),actions:i(()=>[f(`div`,Q,[R.value.length?(r(),c(`div`,$,[(r(!0),c(p,null,t(R.value,e=>(r(),h(l(b),{key:e.id,open:L.value[e.id],"onUpdate:open":t=>L.value[e.id]=t,"panel-key":`homepage-navigation-${e.id}`,"match-trigger-width":!1,"min-width-px":240,"panel-class":`py-2 shadow-lg`,role:`menu`},{trigger:i(({open:t,toggle:n})=>[f(`button`,{type:`button`,class:`flex items-center gap-2 text-base font-normal text-foreground`,"aria-expanded":t,"aria-haspopup":`menu`,onClick:n},[d(_(e.label)+` `,1),u(l(C),{name:`i-ph-caret-down-bold`,class:g([`text-xs transition-transform`,{"rotate-180":t}])},null,8,[`class`])],8,ee)]),default:i(({close:n})=>[(r(!0),c(p,null,t(e.items,e=>(r(),c(`a`,{key:e.id,href:e.href,target:e.target,rel:e.target===`_blank`?`noopener noreferrer`:void 0,class:`block px-5 py-3 text-sm text-foreground transition-colors hover:bg-muted`,role:`menuitem`,onClick:n},_(e.label),9,te))),128))]),_:2},1032,[`open`,`onUpdate:open`,`panel-key`]))),128))])):s(``,!0),P.value?(r(),h(l(x),{key:1,color:`primary`,variant:`solid`,onClick:a[0]||=e=>z(`/subscriptions`)},{default:i(()=>[d(_(l(T)(`NAVBAR_DASHBOARD`)),1)]),_:1})):s(``,!0),P.value?s(``,!0):(r(),h(l(x),{key:2,color:`neutral`,variant:`outline`,"leading-icon":`i-heroicons-user`,onClick:B},{default:i(()=>[d(_(l(T)(`SIGN_IN`)),1)]),_:1}))])]),account:i(()=>[P.value?(r(),h(l(b),{key:0,open:F.value,"onUpdate:open":a[1]||=e=>F.value=e,"panel-key":`author-pages-header-account`,"match-trigger-width":!1,"min-width-px":208,"panel-class":`py-0 shadow-lg`},{trigger:i(({toggle:e})=>[f(`button`,{type:`button`,class:`flex items-center gap-1`,onClick:e},[u(A,{src:N.value?.cropped_picture},null,8,[`src`])],8,ne)]),default:i(({close:e})=>[u(j,{email:N.value?.email}
1,null,8,[`email`]),N.value?.email?(r(),c(`div`,re)):s(``,!0),f(`button`,{type:`button`,class:`block w-full px-4 py-2 text-left text-sm font-medium hover:bg-muted`,onClick:t=>z(`/account/info`,e)},_(l(T)(`MY_ACCOUNT`)),9,ie),f(`button`,{type:`button`,class:`block w-full px-4 py-2 text-left text-sm font-medium hover:bg-muted`,onClick:t=>z(`/subscriptions`,e)},_(l(T)(`MY_SUBSCRIPTIONS`)),9,ae),a[4]||=f(`div`,{class:`border-t border-muted`},null,-1),f(`button`,{type:`button`,class:`block w-full px-4 py-2 text-left text-sm hover:bg-muted`,onClick:t=>z(`https://www.kessel.media/manifeste`,e)},_(l(T)(`ABOUT_KESSEL`)),9,oe),f(`button`,{type:`button`,class:`block w-full px-4 py-2 text-left text-sm hover:bg-muted`,onClick:t=>z(`https://www.kessel.media/faq`,e)},_(l(T)(`FAQ`)),9,se),a[5]||=f(`div`,{class:`border-t border-muted`},null,-1),f(`button`,{type:`button`,class:`block w-full px-4 py-2 text-left text-sm hover:bg-muted`,onClick:t=>V(e)},_(l(T)(`SIGN_OUT`)),9,ce)]),_:1},8,[`open`])):s(``,!0)]),_:1},8,[`homepage-url`,`has-nav`,`nav-open`,`show-action-separator`]),I.value&&R.value.length?(r(),c(`nav`,le,[(r(!0),c(p,null,t(R.value,e=>(r(),c(`section`,{key:e.id,class:`mb-4 last:mb-0`},[f(`h2`,ue,_(e.label),1),(r(!0),c(p,null,t(e.items,e=>(r(),c(`a`,{key:e.id,href:e.href,target:e.target,rel:e.target===`_blank`?`noopener noreferrer`:void 0,class:`block rounded-md px-3 py-3 text-base text-foreground hover:bg-muted`,onClick:a[3]||=e=>I.value=!1},_(e.label),9,de))),128))]))),128))])):s(``,!0)],64))}});export{q as i,X as n,Y as r,fe as t};

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.