@20minutes/tyr 2.41.2 → 2.41.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,5 +7,5 @@
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var d=(n||(n=1,o.exports=function(){if(a)return s;a=1;var e=u(),r=Symbol.for("react.element"),t=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,a){var s,l={},c=null,u=null;for(s in void 0!==a&&(c=""+a),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)n.call(t,s)&&!i.hasOwnProperty(s)&&(l[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===l[s]&&(l[s]=t[s]);return{$$typeof:r,type:e,key:c,ref:u,props:l,_owner:o.current}}return s.Fragment=t,s.jsx=l,s.jsxs=l,s}()),o.exports),p=e(u());function m(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var f,y={exports:{}};var g,h=(f||(f=1,g=y,function(){var e={}.hasOwnProperty;function r(){for(var e="",r=0;r<arguments.length;r++){var n=arguments[r];n&&(e=a(e,t(n)))}return e}function t(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return r.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var n="";for(var o in t)e.call(t,o)&&t[o]&&(n=a(n,o));return n}function a(e,r){return r?e?e+" "+r:e+r:e}g.exports?(r.default=r,g.exports=r):window.classNames=r}()),y.exports);const b=m(h),v={primary:{ultramarine:{value:"#4742FF",key:"{color.primary.ultramarine}"},"ultramarine-light":{value:"#6B72FB",key:"{color.primary.ultramarine-light}"}},secondary:{orange:{value:"#FA9917",key:"{color.secondary.orange}"},yellow:{value:"#F2E500",key:"{color.secondary.yellow}"},green:{value:"#6A9F4F",key:"{color.secondary.green}"},purple:{value:"#AE6BA2",key:"{color.secondary.purple}"},red:{value:"#DC0E19",key:"{color.secondary.red}"},scarlet:{value:"#FF3F3F",key:"{color.secondary.scarlet}"},blue:{value:"#0000FF",key:"{color.secondary.blue}"},"blue-grey":{value:"#253548",key:"{color.secondary.blue-grey}"},"blue-dark":{value:"#16202B",key:"{color.secondary.blue-dark}"},pink:{value:"#EF2A82",key:"{color.secondary.pink}"},sponsoring:{value:"#FFF5F1",key:"{color.secondary.sponsoring}"},"blue-light":{value:"#D4ECFB",key:"{color.secondary.blue-light}"},"blue-ice":{value:"#F0F4F8",key:"{color.secondary.blue-ice}"}},greyscale:{black:{value:"#000",key:"{color.greyscale.black}"},white:{value:"#FFF",key:"{color.greyscale.white}"},"grey-50":{value:"#FFFFFE",key:"{color.greyscale.grey-50}"},"grey-100":{value:"#F7F7F7",key:"{color.greyscale.grey-100}"},"grey-200":{value:"#DDD",key:"{color.greyscale.grey-200}"},"grey-300":{value:"#898A8C",key:"{color.greyscale.grey-300}"},"grey-400":{value:"#6A6A6A",key:"{color.greyscale.grey-400}"},"grey-500":{value:"#484848",key:"{color.greyscale.grey-500}"},"grey-600":{value:"#2F3134",key:"{color.greyscale.grey-600}"},"grey-700":{value:"#181A1E",key:"{color.greyscale.grey-700}"},"grey-800":{value:"#101D25",key:"{color.greyscale.grey-800}"},"grey-900":{value:"#0F1115",key:"{color.greyscale.grey-900}"}},status:{warning:{value:"#FA9917",key:"{color.status.warning}"},error:{value:"#DC0E19",key:"{color.status.error}"},success:{value:"#6A9F4F",key:"{color.status.success}"}},theme:{conso:{value:"#ff8689",key:"{color.theme.conso}"},default:{value:"#4742ff",key:"{color.theme.default}"},entertainment:{value:"#9d61ff",key:"{color.theme.entertainment}"},hightech:{value:"#8f98a9",key:"{color.theme.hightech}"},media:{value:"#4742ff",key:"{color.theme.media}"},"partenaires-externes":{value:"#4742ff",key:"{color.theme.partenaires-externes}"},partner:{value:"#fd8000",key:"{color.theme.partner}"},planet:{value:"#00b482",key:"{color.theme.planet}"},production:{value:"#c5be00",key:"{color.theme.production}"},publicommunique:{value:"#c5be00",key:"{color.theme.publicommunique}"},publishing:{value:"#c5be00",key:"{color.theme.publishing}"},sport:{value:"#6398ab",key:"{color.theme.sport}"},tempo:{value:"#ecb200",key:"{color.theme.tempo}"},"vie-pro":{value:"#b49b56",key:"{color.theme.vie-pro}"},infolocale:{value:"#4742ff",key:"{color.theme.infolocale}"},gaming:{value:"#fa6ee5",key:"{color.theme.gaming}"},jeux:{value:"#4742ff",key:"{color.theme.jeux}"}}},w={base:{value:"Arial",key:"{font-family.base}"},obviously:{value:"'Obviously', sans-serif",key:"{font-family.obviously}"},"source-serif-pro":{value:"'Source Serif Pro', serif",key:"{font-family.source-serif-pro}"}};Object.keys(w).filter(e=>!["base"].includes(e)),Array.from({length:20},(e,r)=>`75056AR${(r+1).toString().padStart(2,"0")}`),Array.from({length:16},(e,r)=>`13055AR${(r+1).toString().padStart(2,"0")}`),Array.from({length:9},(e,r)=>`69123AR0${r+1}`);const x=["extreme-gauche","parti-revolutionnaire-communiste","lutte-ouvriere","npa","parti-des-travailleurs","association-nationale-communistes","france-insoumise","divers-extreme-gauche","gauche","parti-communiste-francais","parti-des-citoyens-europeens","nouvelle-donne","parti-socialiste","parti-radical-de-gauche","nouveau-front-populaire","union-gauche","divers-gauche","ecologie","europe-ecologie-les-verts","equinoxe","ecologie-positive","ecologie-au-centre","ecologistes","les-ecologistes","centristes","renaissance","ensemble","modem","horizons","udi","union-centre","divers-centre","droite","les-republicains","droite-souverainiste","union-droite","divers-droite","extreme-droite","rassemblement-national","reconquete","les-patriotes","rester-libre","les-nationalistes","les-republicains-union-extreme-droite","udr","union-extreme-droite","divers-extreme-droite","divers","changement-citoyen","decidons-nous-meme","parti-animaliste","parti-pirate","union-des-democrates-musulmans","ecologie-politique","federation-citoyenne","republique-souveraine","resistons","france-libre","la-ruche-citoyenne","defendre-les-enfants","democratie-representative","europe-democratie-esperanto","union-populaire-republicaine","regionalistes"],_={alignItems:["align-items"],alignContent:["align-content"],justifyContent:["justify-content"],gap:["gap"],gapX:["row-gap"],gapY:["col-gap"],inline:["inline"],direction:["direction"],wrap:["wrap"],flexGrow:["flex-grow"]},N={align:["align-self"],basis:["flex-basis"],shrink:["flex-shrink"],grow:["flex-grow"]},E={radius:["border-radius"]},S={p:["padding"],pt:["padding-top"],pr:["padding-right"],pl:["padding-left"],pb:["padding-bottom"],px:["padding-left","padding-right"],py:["padding-top","padding-bottom"]},j={m:["margin"],mt:["margin-top"],mr:["margin-right"],ml:["margin-left"],mb:["margin-bottom"],mx:["margin-left","margin-right"],my:["margin-top","margin-bottom"],...S},O={...j,borderColor:["border-color"],bg:["background-color"],color:["color"],...E},k={textAlign:["text-align"],weight:["font-weight"],italic:["font-style"],textDecoration:["text-decoration"],textTransform:["text-transform"],fontFamily:["font-family"],whiteSpace:["white-space"]};function I(e){return p.forwardRef(e)}Object.keys(v.primary),Object.keys(v.secondary),Object.keys(v.greyscale),Object.keys(v.status),Object.keys(v.theme);const A=I(({as:e="button",variant:r,color:t=("ghost"===r||"link"===r?void 0:"primary"),children:a,iconProps:n,counter:o,isCentered:s=!1,isSquare:i=!1,isFullWidth:l=!1,isLoading:c=!1,size:u,isCloseWithProgress:p,closeProgressColor:m,...f},y)=>{const g={...f?.style,...m&&{"--button-close-progress-color":`var(--color-theme-${m})`}};return d.jsxs(G,{...f,style:g,as:e,ref:y,alignItems:"center",justifyContent:"center",gap:"xxs",inline:"link"===r||"a"===e,radius:i?"0":void 0,className:b("c-btn",{[`c-btn--${t}`]:t,[`c-btn--${r}`]:r,[`c-btn--${u}`]:u,"c-btn--is-centered":s,"c-btn--is-loading":c,"c-btn--full-width":l},f?.className),children:[n&&d.jsx(T,{...n}),a,(0===o||o)&&d.jsx(G,{justifyContent:"center",alignItems:"center",color:"grey-900",bg:"white",px:"xxs",radius:"s",className:"c-btn__counter",children:o}),p&&d.jsx("div",{className:"c-btn__close-progress"})]})});A.displayName="Button",I(({text:e,color:r="black",thickness:t="thin",...a},n)=>{const o=d.jsx(q,{bg:r,align:"center",className:b("c-divider__line",{[`c-divider__line--${t}`]:"thin"!==t})});return d.jsx(G,{...a,ref:n,className:b("c-divider",{"c-divider--has-text":!!e},a?.className),children:e?d.jsxs(d.Fragment,{children:[o,d.jsx(q,{px:"xxs-2",className:"c-divider__text",children:d.jsx(W,{size:"xxs",color:r,textTransform:"uppercase",children:e})}),o]}):o})}),I(({color:e="black",thickness:r="thin",...t},a)=>d.jsx(z,{...t,ref:a,bg:e,className:b("c-divider-vertical",{[`c-divider-vertical--${r}`]:"thin"!==r},t?.className)}));const T=I(({name:e,size:r=28,isRounded:t=!1,border:a,rotation:n,svgTitle:o,color:s,...i},l)=>{const c=Array.isArray(r)?r?.[0]:r,u=Array.isArray(r)?r?.[1]:r,p=!o,m=(e=>"string"==typeof e&&x.includes(e))(s);return d.jsx(z,{as:"span",...i,ref:l,color:m?void 0:s,className:b("c-icon",{[`c-icon--has-border-${a}`]:a,"c-icon--is-rounded":t,[`c-icon--${n}`]:n,[`c-icon--${s}`]:m},i?.className),children:d.jsxs("svg",{width:c,height:u,role:"img","aria-label":o||void 0,"aria-hidden":p?"true":void 0,children:[o&&d.jsx("title",{children:o}),"circle"===e?d.jsx("circle",{}):d.jsx("use",{xlinkHref:`#${e}`})]})})}),$=I(({iconProps:e,as:r="button",variant:t,color:a,size:n,hasShadow:o,isLoading:s,isFloating:i,...l},c)=>d.jsx(G,{...l,as:r,ref:c,alignItems:"center",justifyContent:"center",className:b("c-icon-btn",{[`c-icon-btn--${t}`]:t,[`c-icon-btn--${a}`]:a,[`c-icon-btn--${n}`]:n,"c-icon-btn--has-shadow":o,"c-icon-btn--is-loading":s,"c-icon-btn--is-floating":i},l?.className),children:d.jsx(T,{...e})}));$.displayName="IconButton",I(({id:e,className:r,color:t,required:a,label:n,icon:o,positionIcon:s="right",isIconButton:i=!1,iconButtonProps:l,variant:c,msg:u,containerProps:p,isRounded:m,isTransparent:f,isLarge:y,children:g,hint:h,error:v,...w},x)=>{const _=o&&d.jsx(A,{className:b("c-input-container__icon",`color-${t||"black"}`),iconProps:{name:o,size:18},variant:"ghost",...l}),N=o&&d.jsx(T,{className:"c-input-container__icon",name:o,size:18,color:t||"black"});return d.jsxs(G,{direction:"column",...p,className:b("c-input",p?.className,{[`c-input--${c}`]:c}),children:[n&&d.jsxs("label",{htmlFor:e,className:"c-input__label",children:[n,a&&d.jsxs(W,{as:"span",size:"xxs",weight:"regular",children:[" ","(obligatoire)"]})]}),h&&d.jsx(W,{as:"span",id:`${e}-hint`,mt:"xxs-2",ml:"xxs-2",className:"u-mask",children:h}),d.jsxs(G,{gap:o&&g?"xs":void 0,className:b("c-input-container",{"c-input-container--rounded":m,"c-input-container--transparent":f,"c-input-container--large":y,[`c-input-container--${s}`]:o||g}),children:[(o||g)&&d.jsxs(G,{gap:"s",children:[i?_:N,g]}),d.jsx("input",{id:e,className:b("c-input-container__input",r),required:a,ref:x,"aria-describedby":[h?`${e}-hint`:null,v?`${e}-error`:null].filter(Boolean).join(" ")||void 0,...w})]}),u?.length&&d.jsx(G,{wrap:"wrap",gapY:"s",gapX:"xxs-2",mt:"xxs-2",children:u.map(({iconProps:e,textProps:r,value:t},a)=>d.jsxs(G,{alignItems:"center",gap:"xxs",children:[e&&d.jsx(T,{...e}),d.jsx(W,{dangerouslySetInnerHTML:{__html:t},role:"alert",...r})]},a?.toString()))}),v&&d.jsx(W,{as:"span",id:`${e}-error`,className:"u-mask",color:"red",size:"xxs",mt:"xxs-2",ml:"xxs-2",role:"alert",children:v})]})});const C=e=>{if(e.propValue&&["boolean","string","number"].includes(typeof e.propValue)||!e.propValue){const r=R({className:e.className,defaultModifier:e.defaultModifier||"xs",propValue:e.propValue});return r?[r]:[]}return Object.entries(e.propValue).reduce((r,[t,a])=>{const n=R({className:e.className,defaultModifier:t,propValue:a});return n&&r.push(n),r},[])},R=e=>{if(void 0!==e.propValue){if("boolean"!=typeof e.propValue){const r=(e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase())("number"==typeof e.propValue?e.propValue.toString():e.propValue);return e.className?`${e.className}-${r}@${e.defaultModifier}`:`${r}@${e.defaultModifier}`}if(!e.className)throw new Error('It is necessary to define the argument "className" !');return`${e.className}@${e.defaultModifier}`}},P=({basis:e,shrink:r,grow:t,...a})=>b(...C({propValue:e,className:"basis"}),...C({propValue:r,className:"shrink"}),...C({propValue:t,className:"grow"}),F(a)),V=({inline:e=!1,direction:r,wrap:t,...a})=>b(...C({propValue:e,className:e?"inline-flex":"flex"}),...C({propValue:r,className:"direction"}),...C({propValue:t}),L(a)),L=e=>b(...C({propValue:e.alignItems,className:"items"}),...C({propValue:e.alignContent,className:"content"}),...C({propValue:e.justifyContent,className:"justify"}),...C({propValue:e.gap,className:"gap"}),...C({propValue:e.gapX,className:"gap-x"}),...C({propValue:e.gapY,className:"gap-y"}),...C({propValue:e.flexGrow,className:"grow"})),F=e=>b(...C({propValue:e.align,className:"self"})),M=e=>"object"==typeof e.props?Object.keys(e.props).reduce((r,t)=>(e.systemPropNames.includes(t)||(r[t]=e.props[t]),r),{}):{},D=e=>b(Object.entries(e).filter(([e])=>Object.keys(j).includes(e)).reduce((e,[r,t])=>(e.push(...C({className:r,propValue:t})),e),[])),H=e=>b(D(e),(e=>b({[`bg-${e.bg}`]:e.bg,[`color-${e.color}`]:e.color,[`border-color-${e.borderColor}`]:e.borderColor}))(e),(e=>b(Object.entries(e).filter(([e])=>Object.keys(E).includes(e)).reduce((e,[r,t])=>(e.push(...C({className:r,propValue:t})),e),[])))(e)),B=({textAlign:e,weight:r,textTransform:t,textDecoration:a,italic:n,fontFamily:o,whiteSpace:s})=>b(C({className:"text",propValue:e}),C({className:"font-weight",propValue:r}),{[`white-space-${s}`]:!!s,[`text-transform-${t}`]:!!t,[`text-decoration-${a}`]:!!a,"text-italic":!!n,[`font-${o}`]:!!o}),z=I(({as:e="div",children:r,...t},a)=>d.jsx(e,{...M({props:t,systemPropNames:Object.keys(O)}),ref:a,className:b(H(t),t?.className),children:r}));z.displayName="Box";const G=I(({as:e="div",children:r,...t},a)=>d.jsx(z,{...M({props:t,systemPropNames:Object.keys(_)}),as:e,ref:a,className:b(V(t),t?.className),children:r})),q=I(({as:e="div",children:r,...t},a)=>d.jsx(z,{...M({props:t,systemPropNames:Object.keys(N)}),as:e,ref:a,className:b(P(t),t?.className),children:r}));I(({as:e="a",children:r,color:t,buttonColor:a,size:n,variant:o,weight:s,whiteSpace:i,tabIsSelected:l,tabVariant:c,tabColor:u,defaultColor:p="ultramarine",isUnderlined:m,...f},y)=>{if((o||a)&&t)throw new Error("You can't use the color prop together with the variant or buttonColor prop");const g=!(!o&&!a),h=c||u?b("c-tab",{[`c-tab--${c}`]:c,[`c-tab--${u}`]:u,"c-tab--selected":l,"c-tab--unselected":!l},B({weight:s,whiteSpace:i}),f?.className):b("c-link",{"c-btn":g&&!t,[`c-btn--${a}`]:a&&!t,[`c-btn--${o}`]:o&&!t},B({weight:s,whiteSpace:i}),C({className:"text",propValue:n}),{"c-link--is-underlined":m},f?.className);return d.jsx(z,{...f,as:e,ref:y,color:c||u||g?void 0:t||("inherit"===p?void 0:p),className:h,children:r})}),I(({variant:e,progressColor:r="ultramarine"},t)=>d.jsx(z,{ref:t,bg:"grey-100",className:b("c-progress",{[`c-progress--${e}`]:e}),children:d.jsx(z,{className:"c-progress__bar",bg:r,style:{width:"0%"}})})),I(({id:e,className:r,required:t,label:a,defaultValue:n,options:o,placeholder:s,containerProps:i,variant:l="default",icon:c,isLarge:u,hint:p,error:m,...f},y)=>d.jsxs(G,{...i,ref:y,direction:"column",className:b("c-select",i?.className),children:[a&&d.jsxs("label",{htmlFor:e,className:"c-select__label",children:[a,t&&d.jsxs(W,{as:"span",size:"xxs",weight:"regular",children:[" ","(obligatoire)"]})]}),p&&d.jsx(W,{as:"span",id:`${e}-hint`,mt:"xxs-2",ml:"xxs-2",className:"u-mask",children:p}),d.jsxs("div",{className:"c-select__container",children:[c&&d.jsx(T,{className:"c-select__icon",name:c,size:18}),d.jsx(T,{className:`c-select__caret c-select__caret--${l}`,name:"arrow",size:12}),d.jsxs("select",{id:e,className:b("c-select__select",`c-select__select--${l}`,{"c-select__select--has-icon":!!c},{"c-select__select--large":u},D(f),r),required:t,defaultValue:n||o.filter(e=>e.isSelected)?.pop()?.value||"","aria-describedby":[p?`${e}-hint`:null,m?`${e}-error`:null].filter(Boolean).join(" ")||void 0,...M({props:f,systemPropNames:Object.keys(S)}),children:[s&&d.jsx("option",{value:"",disabled:!0,hidden:!0,children:s}),o.map(e=>d.jsx("option",{value:e.value,children:e.title},e.value))]})]}),m&&d.jsx(W,{as:"span",id:`${e}-error`,className:"u-mask",color:"red",size:"xxs",mt:"xxs-2",ml:"xxs-2",role:"alert",children:m})]}));var Y=(e=>(e.MOBILE="mobile",e.DESKTOP="desktop",e))(Y||{});I(({layout:e,children:r,itemsGap:t,hasSpaceAroundButtons:a=!1,buttonsColor:n,buttonsSize:o,colorVariant:s,sliderVariant:i="default",auto:l=!1,delay:c=3e3,...u},p)=>d.jsxs(z,{...u,ref:p,className:b("c-slider js-navigation-container",u?.className),"data-slider-variant":i,"data-slider-auto":l,"data-slider-delay":c,children:[d.jsx(z,{className:"c-slider__viewport js-navigation-container__list",children:d.jsx(G,{className:"c-slider__list",alignItems:"center",gap:t,children:r})}),e===Y.DESKTOP&&d.jsx(z,{className:"c-slider__buttons-container",children:Array.from(["previous","next"],e=>d.jsx(z,{pr:a&&"previous"===e&&("translucent"===n&&"small"===o?"m":"l")||void 0,pl:a&&"next"===e&&("translucent"===n&&"small"===o?"m":"l")||void 0,className:b(`c-slider__button-container c-slider__button-container--${e} o-nav-button o-nav-button--${e}-button`,{"c-slider__button-container--has-space-around":a},{[`c-slider__button-container--${i}`]:i}),children:d.jsx($,{color:n,size:o,..."videos"===i&&{p:"m"},iconProps:{name:"chevron",size:"videos"===i?14:12,rotation:"previous"===e?"half":void 0,svgTitle:"previous"===e?"Précédent":"Suivant"}})},e))})]})),I(({as:e="a",id:r,variant:t="primary",size:a,children:n,...o},s)=>d.jsx(z,{...o,as:"span"===t?"span":e,href:"span"===t?void 0:o?.href,ref:s,className:b("c-tags",`c-tags--${t}`,{[`c-tags--${a}`]:a},o?.className),"data-id":r,px:o?.px,children:n})),I(({id:e,required:r,label:t,variant:a,msg:n,rows:o=5,containerProps:s,hint:i,error:l,...c},u)=>d.jsxs(G,{direction:"column",ref:u,...s,className:b("c-textarea",s?.className),children:[t&&d.jsxs("label",{htmlFor:e,className:"c-textarea__label",children:[t,r&&d.jsxs(W,{as:"span",size:"xxs",weight:"regular",children:[" ","(obligatoire)"]})]}),i&&d.jsx(W,{as:"span",id:`${e}-hint`,mt:"xxs-2",ml:"xxs-2",className:"u-mask",children:i}),d.jsx(G,{className:"c-textarea-container",children:d.jsx("textarea",{rows:o,placeholder:"Votre message...",required:r,...c,id:e,name:e,className:b("c-textarea-container__input",{[`c-textarea-container__input--${a}`]:a,"c-textarea-container__input--hint":!!i,"c-textarea-container__input--error":!!l},c?.className),"aria-describedby":[i?`${e}-hint`:null,l?`${e}-error`:null].filter(Boolean).join(" ")||void 0})}),n?.length&&d.jsx(G,{wrap:"wrap",gapY:"s",gapX:"xxs-2",mt:"xxs-2",children:n.map(({iconProps:e,textProps:r,value:t},a)=>d.jsxs(G,{alignItems:"center",gap:"xxs",children:[e&&d.jsx(T,{...e}),d.jsx(W,{dangerouslySetInnerHTML:{__html:t},role:"alert",...r})]},a?.toString()))}),l&&d.jsx(W,{as:"span",id:`${e}-error`,className:"u-mask",color:"red",size:"xxs",mt:"xxs-2",ml:"xxs-2",role:"alert",children:l})]}));const U=I(({as:e="h1",size:r,children:t,...a},n)=>d.jsx(J,{...a,as:e,ref:n,className:b(C({className:"heading",propValue:r}),a?.className),children:t})),W=I(({as:e="p",size:r,highlighted:t,children:a,...n},o)=>d.jsx(J,{as:t?"span":e,bg:t?"sponsoring":n.bg,p:t?"xxs":n.p,color:t?"grey-800":n.color,...n,ref:o,className:b(C({className:"text",propValue:r}),{"text-highlighted":t},n?.className),children:a})),J=I(({as:e="p",children:r,...t},a)=>r&&r.toString().length||t?.dangerouslySetInnerHTML?d.jsx(z,{...M({props:t,systemPropNames:Object.keys(k)}),as:e,ref:a,className:b(B(t),t?.className),children:r}):null);I(({icon:e,title:r,content:t,...a},n)=>d.jsxs(z,{...a,ref:n,className:b("c-astro-topic-card",a?.className),children:[d.jsxs(G,{alignItems:"center",mb:"s",children:[d.jsx(T,{mr:"xs",name:e,size:21}),d.jsx(U,{as:"h3",size:"xs",children:r})]}),d.jsx(W,{size:"m",children:t})]})),I(({as:e="article",children:r,className:t,clickable:a=!1,...n},o)=>d.jsx(G,{...n,as:e,ref:o,justifyContent:n?.justifyContent||"between",className:b("c-card-container",{"c-card-container--clickable":a},t),children:r})),I(({index:e,textTitleProps:r,headingTitleProps:t,titleIconProps:a,isOpen:n,contentWithBorder:o=!0,contentProps:s,iconProps:i,btnProps:l,children:c,isDropdown:u,...p},m)=>d.jsxs(z,{...p,className:b("c-collapse js-collapse",{"c-collapse--dropdown":u}),ref:m,children:[d.jsxs(z,{...l,as:"button",type:"button",id:`c-collapse__button-${e}`,pl:l?.pl||"l",py:l?.py||"xxs",className:b("c-collapse__button js-collapse__button",l?.className),"aria-controls":`c-collapse__content-${e}`,"aria-expanded":n||"false",children:[a?d.jsxs(G,{alignItems:"center",children:[d.jsx(T,{size:34,mr:"xs",...a}),r?.children]}):t?d.jsx(U,{as:"h3",size:"xxs",color:"black",...t,children:t?.children}):d.jsx(W,{size:"l",color:"black",...r,children:r?.children}),d.jsx(T,{name:"chevron",size:16,...i,className:b("c-collapse__icon",i?.className)})]}),d.jsx(G,{...s,direction:"column",p:s?.p||"xl",id:`c-collapse__content-${e}`,"aria-hidden":n?!n:"true","aria-labelledby":`c-collapse__button-${e}`,className:b("c-collapse__content",{"c-collapse__content--with-border":o}),role:"tabpanel",children:c})]}));const K=p.forwardRef(({href:e,children:r,...t},a)=>d.jsx("a",{href:e,className:b("c-skip-link",H(t),t?.className),ref:a,...t,children:r}));K.displayName="SkipLink";var X=(e=>(e.down="down",e.heart="heart",e.laughing="laughing",e.sad="sad",e.shock="shock",e.up="up",e))(X||{});X.up,X.down,X.sad,X.heart,X.laughing,X.shock;const Z=e=>null!==localStorage.getItem(e),Q=(e,r)=>{let t=e.toLowerCase().replace(/[\s-]+/g,r??"-");return t=(e=>{let r=e;const t="ãàáäâẽèéëêìíïîõòóöôùúüûñç·/,:;";for(let e=0;e<30;e+=1)r=r.replace(new RegExp(t.charAt(e),"g"),"aaaaaeeeeeiiiiooooouuuunc-----".charAt(e));return r})(t),t.replace(/[^\w-]+/g,"").replace(/-*$/g,"")},ee=["publicommunique","production","magazine"],re=(e,r)=>{const t=document.createElement("meta");t.setAttribute("name",e),t.setAttribute("content",r),document.head.appendChild(t)},te=()=>{re("pbstck_context:site_name","20M_20minutes.fr"),re("pbstck_context:device",window.layout===Y.DESKTOP?"desktop":"webmobile"),re("pbstck_context:section",((e,r="",t="",a=[])=>{if("article"===e&&ee.includes(r)||"production"===t||a.map(e=>Q(e)).includes("production"))return"brand_publishing";switch(e){case"home":return"homepage";case"tag":case"section":return"homes";case"article":case"live":return"article";case"tvhome":case"tvlive":case"tvmostrecent":case"tvmostviewed":case"tvshow":case"tvshows":case"tvvideo":return"tv";default:return"divers"}})(window.datalayerInfo?.pageName,window.datalayerInfo?.subType,window.datalayerInfo?.parentTagSlug,window.datalayerInfo?.breadcrumb)),re("ad:lang","fr"),re("ad:dn",window.location.host)},ae=()=>{te(),window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(()=>{re("pbstck_context:consent",window.didomiState.didomiPurposesDisabled||window.didomiState.didomiVendorsDisabled?"false":"true")}),Object.entries({...window.dfp.targeting}).forEach(([e,r])=>{re(`ad:${e}`,r)})},ne=()=>{if(Z("20min_user_token")){const e=localStorage.getItem("20min_user_token");fetch(`https://securepubads.g.doubleclick.net/user_data_deletion?ppid=${e}&iu=49926454`,{referrerPolicy:"strict-origin-when-cross-origin"}).then(e=>{e.ok&&alert("La demande de suppression a bien été prise en compte")}),localStorage.removeItem("20min_user_token")}},oe=()=>{window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(e=>{!e.getCurrentUserStatus().purposes["publicite-9qedKJMX"]?.enabled||!navigator.userAgent.includes("Firefox")&&!navigator.userAgent.includes("Safari")||navigator.userAgent.includes("Chrome")||navigator.userAgent.includes("Chromium")||navigator.userAgent.includes("Seamonkey")||Z("20min_user_token")||localStorage.setItem("20min_user_token",window.crypto.randomUUID())})},se=()=>{oe(),(()=>{const e=document.getElementById("delete-ppid");e&&e.addEventListener("click",ne)})()},ie=["nfb_1","nfb_2","article_btf","pave_com","pave_home","inread","pave_article","article_mtf","native_web"],le=()=>{ie.forEach(e=>{const r=`#dfp_${e}`,t=[...document.querySelectorAll(r)].filter(e=>e instanceof HTMLElement);for(let r=0;r<=20;r+=1){const a=document.getElementById(`dfp_${e}_${r}`);a&&t.push(a)}let a=0;t.forEach(r=>{r.id=0===a?`dfp_${e}`:`dfp_${e}_${a}`,a+=1})})};var ce=(e=>(e.UNKNOWN="Non connu",e.SLIDESHOW_COVER="Slideshow cover",e.SLIDESHOW_COVER_LISTING_PAGE="Slideshow listing page",e.SLIDESHOW_PAGE="Slideshow page",e.ARTICLE="article",e.MISC="divers",e.HOME="home",e.LIVE="live",e.SECTION="section",e.TAG="tag",e.JOBS="home_metier",e.JOB_DETAILS="fiche_metier",e.WEATHER="weather",e.TRAFFIC="traffic",e.HOROSCOPE="horoscope",e.HOROSCOPE_HOME="horoscopehome",e.NUMEROLOGY="numerology",e.NUMEROLOGY_HOME="numerologyhome",e))(ce||{}),ue=(e=>(e.PAGETYPE="page_type",e.TAGS="tags",e.CATEGORY="category",e.SUBCATEGORY="subcategory",e.CONTENTID="content_id",e.CONTENTTYPE="content_type",e.CONTENTSLUG="content_slug",e.BRANDSAFETY="brand_safety",e.HASVIDEO="has_video",e.DEVICE="device",e.ADM="adm",e))(ue||{}),de=(e=>(e.ARCHIVE_BY_DAY="archivebyday",e.ARCHIVE_BY_YEAR="archivebyyear",e.ARTICLE="article",e.ASTRO="astro",e.ASTRO_HOME="astrohome",e.CONTACT="contact",e.DIRECT="direct",e.ELECTIONS="elections",e.ELECTIONSHOME="electionshome",e.GAME="game",e.GAME_APP="gameapp",e.GAMEHOME="gamehome",e.HOME="home",e.JOB_DETAILS="jobdetails",e.JOBS="jobs",e.JOURNALIST="journalist",e.LA21E="la21e",e.LEGAL="legal",e.LEGALNOTICE="legalnotice",e.LEGALNOTICEHOME="legalnoticehome",e.LEGALNOTICEDEPARTMENT="legalnoticedepartment",e.LIVE="live",e.MOBILE_APPS="mobileapps",e.MOST_COMMENTED="mostcommented",e.MOST_READ="mostread",e.MOST_SHARED="mostshared",e.MOST_VIEWED="mostviewed",e.MOVIES="movies",e.NEWS="news",e.PARTNER="partner",e.REWIND="rewind",e.SEARCH="search",e.SECTION="section",e.SERVICE="service",e.SITEMAP="sitemap",e.SPORT="sport",e.STORY="story",e.TAG="tag",e.TRAFFIC="traffic",e.TV_HOME="tvhome",e.TV_LIVE="tvlive",e.TV_MOST_RECENT="tvmostrecent",e.TV_MOST_VIEWED="tvmostviewed",e.TV_SHOW="tvshow",e.TV_SHOWS="tvshows",e.TV_VIDEO="tvvideo",e.WEATHER="weather",e))(de||{});const pe=()=>{window.dfp=window.dfp||{},window.dfp.targeting=window.dfp.targeting||{},Object.values(ue).forEach(e=>{const r=(e=>{switch(e){case"page_type":case"content_type":if(window.datalayerInfo?.pageName&&Object.values(de).includes(window.datalayerInfo?.pageName))switch(window.datalayerInfo?.pageName){case de.HOME:return"homepage";case de.TAG:return ce.HOME;case de.JOBS:return ce.JOBS;case de.JOB_DETAILS:return ce.JOB_DETAILS;case de.ASTRO:return ce.HOROSCOPE;case de.ASTRO_HOME:return ce.HOROSCOPE_HOME;default:return window.datalayerInfo?.pageName}return ce.MISC;case"content_id":return window.datalayerInfo?.contentId??window.datalayerInfo?.tagId??window.datalayerInfo?.jobId??void 0;case"tags":if(window.datalayerInfo?.elections&&(window.datalayerInfo?.pageName===de.ELECTIONS||window.datalayerInfo?.pageName===de.ELECTIONSHOME)){const{national:e,region:r,department:t,town:a}=window.datalayerInfo.elections||{};return[e?"national":void 0,r,t,a].filter(Boolean).join(",")}return window.datalayerInfo?.tagsSlug?window.datalayerInfo.tagsSlug.replace(/\|/g,","):Q(window.datalayerInfo?.tagName??"","_")||void 0;case"category":return!window.datalayerInfo?.elections||window.datalayerInfo?.pageName!==de.ELECTIONS&&window.datalayerInfo?.pageName!==de.ELECTIONSHOME?window.datalayerInfo?.breadcrumb?.[0]?"Divertissement"===window.datalayerInfo?.breadcrumb[0]?"arts-stars":Q(window.datalayerInfo?.breadcrumb[0]):window.datalayerInfo?.pageName===de.ASTRO||window.datalayerInfo?.pageName===de.ASTRO_HOME?Q(window.datalayerInfo?.pageName===de.ASTRO?"horoscope":"horoscopehome"):window.datalayerInfo?.sectionLabel?Q(window.datalayerInfo.sectionLabel):void 0:"elections";case"subcategory":if(window.datalayerInfo?.elections&&(window.datalayerInfo?.pageName===de.ELECTIONS||window.datalayerInfo?.pageName===de.ELECTIONSHOME))return"resultats";if(window.datalayerInfo?.breadcrumb&&window.datalayerInfo?.breadcrumb.length>1){const e=Q(window.datalayerInfo.breadcrumb[window.datalayerInfo.breadcrumb.length-(window.datalayerInfo?.pageName===de.TAG?2:1)]);return e===Q(window.datalayerInfo?.breadcrumb[0])?Q(window.datalayerInfo?.tagName??"")||void 0:e||void 0}return;case"content_slug":return window.datalayerInfo?.contentTitle?Q(window.datalayerInfo.contentTitle):void 0;case"brand_safety":return window.datalayerInfo?.sentiment;case"has_video":return void 0!==window.partnerFeatures?.enableDisplayOnHeaderAd?window.partnerFeatures.enableDisplayOnHeaderAd.toString():void 0;case"device":return window.layout??void 0;default:return}})(e);r&&(window.dfp.targeting[e]=r)})};window.googletag=window.googletag||{cmd:[]},window.dfp=window.dfp||{},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",le):le(),pe(),googletag.cmd.push(()=>{googletag.pubads().addEventListener("impressionViewable",e=>{const r=e.slot;document.querySelectorAll(".c-4b8m1ese3e").forEach(e=>{(e.getAttribute("data-dfp-id")??e.getAttribute("id"))===r.getSlotElementId()&&e.classList.add("placeholder-with-ad")})})}),se(),window.datalayerInfo?.enablePubstack&&ae()}();
10
+ */var d=(n||(n=1,o.exports=function(){if(a)return s;a=1;var e=u(),r=Symbol.for("react.element"),t=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,a){var s,l={},c=null,u=null;for(s in void 0!==a&&(c=""+a),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)n.call(t,s)&&!i.hasOwnProperty(s)&&(l[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===l[s]&&(l[s]=t[s]);return{$$typeof:r,type:e,key:c,ref:u,props:l,_owner:o.current}}return s.Fragment=t,s.jsx=l,s.jsxs=l,s}()),o.exports),p=e(u());function m(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var f,y={exports:{}};var g,h=(f||(f=1,g=y,function(){var e={}.hasOwnProperty;function r(){for(var e="",r=0;r<arguments.length;r++){var n=arguments[r];n&&(e=a(e,t(n)))}return e}function t(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return r.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var n="";for(var o in t)e.call(t,o)&&t[o]&&(n=a(n,o));return n}function a(e,r){return r?e?e+" "+r:e+r:e}g.exports?(r.default=r,g.exports=r):window.classNames=r}()),y.exports);const b=m(h),v={primary:{ultramarine:{value:"#4742FF",key:"{color.primary.ultramarine}"},"ultramarine-light":{value:"#6B72FB",key:"{color.primary.ultramarine-light}"}},secondary:{orange:{value:"#FA9917",key:"{color.secondary.orange}"},yellow:{value:"#F2E500",key:"{color.secondary.yellow}"},green:{value:"#6A9F4F",key:"{color.secondary.green}"},purple:{value:"#AE6BA2",key:"{color.secondary.purple}"},red:{value:"#DC0E19",key:"{color.secondary.red}"},scarlet:{value:"#FF3F3F",key:"{color.secondary.scarlet}"},blue:{value:"#0000FF",key:"{color.secondary.blue}"},"blue-grey":{value:"#253548",key:"{color.secondary.blue-grey}"},"blue-dark":{value:"#16202B",key:"{color.secondary.blue-dark}"},pink:{value:"#EF2A82",key:"{color.secondary.pink}"},sponsoring:{value:"#FFF5F1",key:"{color.secondary.sponsoring}"},"blue-light":{value:"#D4ECFB",key:"{color.secondary.blue-light}"},"blue-ice":{value:"#F0F4F8",key:"{color.secondary.blue-ice}"}},greyscale:{black:{value:"#000",key:"{color.greyscale.black}"},white:{value:"#FFF",key:"{color.greyscale.white}"},"grey-50":{value:"#FFFFFE",key:"{color.greyscale.grey-50}"},"grey-100":{value:"#F7F7F7",key:"{color.greyscale.grey-100}"},"grey-200":{value:"#DDD",key:"{color.greyscale.grey-200}"},"grey-300":{value:"#898A8C",key:"{color.greyscale.grey-300}"},"grey-400":{value:"#6A6A6A",key:"{color.greyscale.grey-400}"},"grey-500":{value:"#484848",key:"{color.greyscale.grey-500}"},"grey-600":{value:"#2F3134",key:"{color.greyscale.grey-600}"},"grey-700":{value:"#181A1E",key:"{color.greyscale.grey-700}"},"grey-800":{value:"#101D25",key:"{color.greyscale.grey-800}"},"grey-900":{value:"#0F1115",key:"{color.greyscale.grey-900}"}},status:{warning:{value:"#FA9917",key:"{color.status.warning}"},error:{value:"#DC0E19",key:"{color.status.error}"},success:{value:"#6A9F4F",key:"{color.status.success}"}},theme:{conso:{value:"#ff8689",key:"{color.theme.conso}"},default:{value:"#4742ff",key:"{color.theme.default}"},entertainment:{value:"#9d61ff",key:"{color.theme.entertainment}"},hightech:{value:"#8f98a9",key:"{color.theme.hightech}"},media:{value:"#4742ff",key:"{color.theme.media}"},"partenaires-externes":{value:"#4742ff",key:"{color.theme.partenaires-externes}"},partner:{value:"#fd8000",key:"{color.theme.partner}"},planet:{value:"#00b482",key:"{color.theme.planet}"},production:{value:"#c5be00",key:"{color.theme.production}"},publicommunique:{value:"#c5be00",key:"{color.theme.publicommunique}"},publishing:{value:"#c5be00",key:"{color.theme.publishing}"},sport:{value:"#6398ab",key:"{color.theme.sport}"},tempo:{value:"#ecb200",key:"{color.theme.tempo}"},"vie-pro":{value:"#b49b56",key:"{color.theme.vie-pro}"},infolocale:{value:"#4742ff",key:"{color.theme.infolocale}"},gaming:{value:"#fa6ee5",key:"{color.theme.gaming}"},jeux:{value:"#4742ff",key:"{color.theme.jeux}"}}},w={base:{value:"Arial",key:"{font-family.base}"},obviously:{value:"'Obviously', sans-serif",key:"{font-family.obviously}"},"source-serif-pro":{value:"'Source Serif Pro', serif",key:"{font-family.source-serif-pro}"}};Object.keys(w).filter(e=>!["base"].includes(e)),Array.from({length:20},(e,r)=>`75056AR${(r+1).toString().padStart(2,"0")}`),Array.from({length:16},(e,r)=>`13055AR${(r+1).toString().padStart(2,"0")}`),Array.from({length:9},(e,r)=>`69123AR0${r+1}`);const x=["extreme-gauche","parti-revolutionnaire-communiste","lutte-ouvriere","npa","parti-des-travailleurs","association-nationale-communistes","france-insoumise","divers-extreme-gauche","gauche","parti-communiste-francais","parti-des-citoyens-europeens","nouvelle-donne","parti-socialiste","parti-radical-de-gauche","nouveau-front-populaire","union-gauche","divers-gauche","ecologie","europe-ecologie-les-verts","equinoxe","ecologie-positive","ecologie-au-centre","ecologistes","les-ecologistes","centristes","renaissance","ensemble","modem","horizons","udi","union-centre","divers-centre","droite","les-republicains","droite-souverainiste","union-droite","divers-droite","extreme-droite","rassemblement-national","reconquete","les-patriotes","rester-libre","les-nationalistes","les-republicains-union-extreme-droite","udr","union-extreme-droite","divers-extreme-droite","divers","changement-citoyen","decidons-nous-meme","parti-animaliste","parti-pirate","union-des-democrates-musulmans","ecologie-politique","federation-citoyenne","republique-souveraine","resistons","france-libre","la-ruche-citoyenne","defendre-les-enfants","democratie-representative","europe-democratie-esperanto","union-populaire-republicaine","regionalistes"],_={alignItems:["align-items"],alignContent:["align-content"],justifyContent:["justify-content"],gap:["gap"],gapX:["row-gap"],gapY:["col-gap"],inline:["inline"],direction:["direction"],wrap:["wrap"],flexGrow:["flex-grow"]},N={align:["align-self"],basis:["flex-basis"],shrink:["flex-shrink"],grow:["flex-grow"]},E={radius:["border-radius"]},S={p:["padding"],pt:["padding-top"],pr:["padding-right"],pl:["padding-left"],pb:["padding-bottom"],px:["padding-left","padding-right"],py:["padding-top","padding-bottom"]},j={m:["margin"],mt:["margin-top"],mr:["margin-right"],ml:["margin-left"],mb:["margin-bottom"],mx:["margin-left","margin-right"],my:["margin-top","margin-bottom"],...S},O={...j,borderColor:["border-color"],bg:["background-color"],color:["color"],...E},k={textAlign:["text-align"],weight:["font-weight"],italic:["font-style"],textDecoration:["text-decoration"],textTransform:["text-transform"],fontFamily:["font-family"],whiteSpace:["white-space"]};function I(e){return p.forwardRef(e)}Object.keys(v.primary),Object.keys(v.secondary),Object.keys(v.greyscale),Object.keys(v.status),Object.keys(v.theme);const A=I(({as:e="button",variant:r,color:t=("ghost"===r||"link"===r?void 0:"primary"),children:a,iconProps:n,counter:o,isCentered:s=!1,isSquare:i=!1,isFullWidth:l=!1,isLoading:c=!1,size:u,isCloseWithProgress:p,closeProgressColor:m,...f},y)=>{const g={...f?.style,...m&&{"--button-close-progress-color":`var(--color-theme-${m})`}};return d.jsxs(G,{...f,style:g,as:e,ref:y,alignItems:"center",justifyContent:"center",gap:"xxs",inline:"link"===r||"a"===e,radius:i?"0":void 0,className:b("c-btn",{[`c-btn--${t}`]:t,[`c-btn--${r}`]:r,[`c-btn--${u}`]:u,"c-btn--is-centered":s,"c-btn--is-loading":c,"c-btn--full-width":l},f?.className),children:[n&&d.jsx(T,{...n}),a,(0===o||o)&&d.jsx(G,{justifyContent:"center",alignItems:"center",color:"grey-900",bg:"white",px:"xxs",radius:"s",className:"c-btn__counter",children:o}),p&&d.jsx("div",{className:"c-btn__close-progress"})]})});A.displayName="Button",I(({text:e,color:r="black",thickness:t="thin",...a},n)=>{const o=d.jsx(q,{bg:r,align:"center",className:b("c-divider__line",{[`c-divider__line--${t}`]:"thin"!==t})});return d.jsx(G,{...a,ref:n,className:b("c-divider",{"c-divider--has-text":!!e},a?.className),children:e?d.jsxs(d.Fragment,{children:[o,d.jsx(q,{px:"xxs-2",className:"c-divider__text",children:d.jsx(W,{size:"xxs",color:r,textTransform:"uppercase",children:e})}),o]}):o})}),I(({color:e="black",thickness:r="thin",...t},a)=>d.jsx(z,{...t,ref:a,bg:e,className:b("c-divider-vertical",{[`c-divider-vertical--${r}`]:"thin"!==r},t?.className)}));const T=I(({name:e,size:r=28,isRounded:t=!1,border:a,rotation:n,svgTitle:o,color:s,...i},l)=>{const c=Array.isArray(r)?r?.[0]:r,u=Array.isArray(r)?r?.[1]:r,p=!o,m=(e=>"string"==typeof e&&x.includes(e))(s);return d.jsx(z,{as:"span",...i,ref:l,color:m?void 0:s,className:b("c-icon",{[`c-icon--has-border-${a}`]:a,"c-icon--is-rounded":t,[`c-icon--${n}`]:n,[`c-icon--${s}`]:m},i?.className),children:d.jsxs("svg",{width:c,height:u,role:"img","aria-label":o||void 0,"aria-hidden":p?"true":void 0,children:[o&&d.jsx("title",{children:o}),"circle"===e?d.jsx("circle",{}):d.jsx("use",{xlinkHref:`#${e}`})]})})}),$=I(({iconProps:e,as:r="button",variant:t,color:a,size:n,hasShadow:o,isLoading:s,isFloating:i,...l},c)=>d.jsx(G,{...l,as:r,ref:c,alignItems:"center",justifyContent:"center",className:b("c-icon-btn",{[`c-icon-btn--${t}`]:t,[`c-icon-btn--${a}`]:a,[`c-icon-btn--${n}`]:n,"c-icon-btn--has-shadow":o,"c-icon-btn--is-loading":s,"c-icon-btn--is-floating":i},l?.className),children:d.jsx(T,{...e})}));$.displayName="IconButton",I(({id:e,className:r,color:t,required:a,label:n,icon:o,positionIcon:s="right",isIconButton:i=!1,iconButtonProps:l,variant:c,msg:u,containerProps:p,isRounded:m,isTransparent:f,isLarge:y,children:g,hint:h,error:v,...w},x)=>{const _=o&&d.jsx(A,{className:b("c-input-container__icon",`color-${t||"black"}`),iconProps:{name:o,size:18},variant:"ghost",...l}),N=o&&d.jsx(T,{className:"c-input-container__icon",name:o,size:18,color:t||"black"});return d.jsxs(G,{direction:"column",...p,className:b("c-input",p?.className,{[`c-input--${c}`]:c}),children:[n&&d.jsxs("label",{htmlFor:e,className:"c-input__label",children:[n,a&&d.jsxs(W,{as:"span",size:"xxs",weight:"regular",children:[" ","(obligatoire)"]})]}),h&&d.jsx(W,{as:"span",id:`${e}-hint`,mt:"xxs-2",ml:"xxs-2",className:"u-mask",children:h}),d.jsxs(G,{gap:o&&g?"xs":void 0,className:b("c-input-container",{"c-input-container--rounded":m,"c-input-container--transparent":f,"c-input-container--large":y,[`c-input-container--${s}`]:o||g}),children:[(o||g)&&d.jsxs(G,{gap:"s",children:[i?_:N,g]}),d.jsx("input",{id:e,className:b("c-input-container__input",r),required:a,ref:x,"aria-describedby":[h?`${e}-hint`:null,v?`${e}-error`:null].filter(Boolean).join(" ")||void 0,...w})]}),u?.length&&d.jsx(G,{wrap:"wrap",gapY:"s",gapX:"xxs-2",mt:"xxs-2",children:u.map(({iconProps:e,textProps:r,value:t},a)=>d.jsxs(G,{alignItems:"center",gap:"xxs",children:[e&&d.jsx(T,{...e}),d.jsx(W,{dangerouslySetInnerHTML:{__html:t},role:"alert",...r})]},a?.toString()))}),v&&d.jsx(W,{as:"span",id:`${e}-error`,className:"u-mask",color:"red",size:"xxs",mt:"xxs-2",ml:"xxs-2",role:"alert",children:v})]})});const C=e=>{if(e.propValue&&["boolean","string","number"].includes(typeof e.propValue)||!e.propValue){const r=R({className:e.className,defaultModifier:e.defaultModifier||"xs",propValue:e.propValue});return r?[r]:[]}return Object.entries(e.propValue).reduce((r,[t,a])=>{const n=R({className:e.className,defaultModifier:t,propValue:a});return n&&r.push(n),r},[])},R=e=>{if(void 0!==e.propValue){if("boolean"!=typeof e.propValue){const r=(e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase())("number"==typeof e.propValue?e.propValue.toString():e.propValue);return e.className?`${e.className}-${r}@${e.defaultModifier}`:`${r}@${e.defaultModifier}`}if(!e.className)throw new Error('It is necessary to define the argument "className" !');return`${e.className}@${e.defaultModifier}`}},P=({basis:e,shrink:r,grow:t,...a})=>b(...C({propValue:e,className:"basis"}),...C({propValue:r,className:"shrink"}),...C({propValue:t,className:"grow"}),F(a)),V=({inline:e=!1,direction:r,wrap:t,...a})=>b(...C({propValue:e,className:e?"inline-flex":"flex"}),...C({propValue:r,className:"direction"}),...C({propValue:t}),L(a)),L=e=>b(...C({propValue:e.alignItems,className:"items"}),...C({propValue:e.alignContent,className:"content"}),...C({propValue:e.justifyContent,className:"justify"}),...C({propValue:e.gap,className:"gap"}),...C({propValue:e.gapX,className:"gap-x"}),...C({propValue:e.gapY,className:"gap-y"}),...C({propValue:e.flexGrow,className:"grow"})),F=e=>b(...C({propValue:e.align,className:"self"})),M=e=>"object"==typeof e.props?Object.keys(e.props).reduce((r,t)=>(e.systemPropNames.includes(t)||(r[t]=e.props[t]),r),{}):{},D=e=>b(Object.entries(e).filter(([e])=>Object.keys(j).includes(e)).reduce((e,[r,t])=>(e.push(...C({className:r,propValue:t})),e),[])),H=e=>b(D(e),(e=>b({[`bg-${e.bg}`]:e.bg,[`color-${e.color}`]:e.color,[`border-color-${e.borderColor}`]:e.borderColor}))(e),(e=>b(Object.entries(e).filter(([e])=>Object.keys(E).includes(e)).reduce((e,[r,t])=>(e.push(...C({className:r,propValue:t})),e),[])))(e)),B=({textAlign:e,weight:r,textTransform:t,textDecoration:a,italic:n,fontFamily:o,whiteSpace:s})=>b(C({className:"text",propValue:e}),C({className:"font-weight",propValue:r}),{[`white-space-${s}`]:!!s,[`text-transform-${t}`]:!!t,[`text-decoration-${a}`]:!!a,"text-italic":!!n,[`font-${o}`]:!!o}),z=I(({as:e="div",children:r,...t},a)=>d.jsx(e,{...M({props:t,systemPropNames:Object.keys(O)}),ref:a,className:b(H(t),t?.className),children:r}));z.displayName="Box";const G=I(({as:e="div",children:r,...t},a)=>d.jsx(z,{...M({props:t,systemPropNames:Object.keys(_)}),as:e,ref:a,className:b(V(t),t?.className),children:r})),q=I(({as:e="div",children:r,...t},a)=>d.jsx(z,{...M({props:t,systemPropNames:Object.keys(N)}),as:e,ref:a,className:b(P(t),t?.className),children:r}));I(({as:e="a",children:r,color:t,buttonColor:a,size:n,variant:o,weight:s,whiteSpace:i,tabIsSelected:l,tabVariant:c,tabColor:u,defaultColor:p="ultramarine",isUnderlined:m,...f},y)=>{if((o||a)&&t)throw new Error("You can't use the color prop together with the variant or buttonColor prop");const g=!(!o&&!a),h=c||u?b("c-tab",{[`c-tab--${c}`]:c,[`c-tab--${u}`]:u,"c-tab--selected":l,"c-tab--unselected":!l},B({weight:s,whiteSpace:i}),f?.className):b("c-link",{"c-btn":g&&!t,[`c-btn--${a}`]:a&&!t,[`c-btn--${o}`]:o&&!t},B({weight:s,whiteSpace:i}),C({className:"text",propValue:n}),{"c-link--is-underlined":m},f?.className);return d.jsx(z,{...f,as:e,ref:y,color:c||u||g?void 0:t||("inherit"===p?void 0:p),className:h,children:r})}),I(({variant:e,progressColor:r="ultramarine"},t)=>d.jsx(z,{ref:t,bg:"grey-100",className:b("c-progress",{[`c-progress--${e}`]:e}),children:d.jsx(z,{className:"c-progress__bar",bg:r,style:{width:"0%"}})})),I(({id:e,className:r,required:t,label:a,defaultValue:n,options:o,placeholder:s,containerProps:i,variant:l="default",icon:c,isLarge:u,hint:p,error:m,...f},y)=>d.jsxs(G,{...i,ref:y,direction:"column",className:b("c-select",i?.className),children:[a&&d.jsxs("label",{htmlFor:e,className:"c-select__label",children:[a,t&&d.jsxs(W,{as:"span",size:"xxs",weight:"regular",children:[" ","(obligatoire)"]})]}),p&&d.jsx(W,{as:"span",id:`${e}-hint`,mt:"xxs-2",ml:"xxs-2",className:"u-mask",children:p}),d.jsxs("div",{className:"c-select__container",children:[c&&d.jsx(T,{className:"c-select__icon",name:c,size:18}),d.jsx(T,{className:`c-select__caret c-select__caret--${l}`,name:"arrow",size:12}),d.jsxs("select",{id:e,className:b("c-select__select",`c-select__select--${l}`,{"c-select__select--has-icon":!!c},{"c-select__select--large":u},D(f),r),required:t,defaultValue:n||o.filter(e=>e.isSelected)?.pop()?.value||"","aria-describedby":[p?`${e}-hint`:null,m?`${e}-error`:null].filter(Boolean).join(" ")||void 0,...M({props:f,systemPropNames:Object.keys(S)}),children:[s&&d.jsx("option",{value:"",disabled:!0,hidden:!0,children:s}),o.map(e=>d.jsx("option",{value:e.value,children:e.title},e.value))]})]}),m&&d.jsx(W,{as:"span",id:`${e}-error`,className:"u-mask",color:"red",size:"xxs",mt:"xxs-2",ml:"xxs-2",role:"alert",children:m})]}));var Y=(e=>(e.MOBILE="mobile",e.DESKTOP="desktop",e))(Y||{});I(({layout:e,children:r,itemsGap:t,hasSpaceAroundButtons:a=!1,buttonsColor:n,buttonsSize:o,colorVariant:s,sliderVariant:i="default",auto:l=!1,delay:c=3e3,...u},p)=>d.jsxs(z,{...u,ref:p,className:b("c-slider js-navigation-container",u?.className),"data-slider-variant":i,"data-slider-auto":l,"data-slider-delay":c,children:[d.jsx(z,{className:"c-slider__viewport js-navigation-container__list",children:d.jsx(G,{className:"c-slider__list",alignItems:"center",gap:t,children:r})}),e===Y.DESKTOP&&d.jsx(z,{className:"c-slider__buttons-container",children:Array.from(["previous","next"],e=>d.jsx(z,{pr:a&&"previous"===e&&("translucent"===n&&"small"===o?"m":"l")||void 0,pl:a&&"next"===e&&("translucent"===n&&"small"===o?"m":"l")||void 0,className:b(`c-slider__button-container c-slider__button-container--${e} o-nav-button o-nav-button--${e}-button`,{"c-slider__button-container--has-space-around":a},{[`c-slider__button-container--${i}`]:i}),children:d.jsx($,{color:n,size:o,..."videos"===i&&{p:"m"},iconProps:{name:"chevron",size:"videos"===i?14:12,rotation:"previous"===e?"half":void 0,svgTitle:"previous"===e?"Précédent":"Suivant"}})},e))})]})),I(({as:e="a",id:r,variant:t="primary",size:a,children:n,...o},s)=>d.jsx(z,{...o,as:"span"===t?"span":e,href:"span"===t?void 0:o?.href,ref:s,className:b("c-tags",`c-tags--${t}`,{[`c-tags--${a}`]:a},o?.className),"data-id":r,px:o?.px,children:n})),I(({id:e,required:r,label:t,variant:a,msg:n,rows:o=5,containerProps:s,hint:i,error:l,...c},u)=>d.jsxs(G,{direction:"column",ref:u,...s,className:b("c-textarea",s?.className),children:[t&&d.jsxs("label",{htmlFor:e,className:"c-textarea__label",children:[t,r&&d.jsxs(W,{as:"span",size:"xxs",weight:"regular",children:[" ","(obligatoire)"]})]}),i&&d.jsx(W,{as:"span",id:`${e}-hint`,mt:"xxs-2",ml:"xxs-2",className:"u-mask",children:i}),d.jsx(G,{className:"c-textarea-container",children:d.jsx("textarea",{rows:o,placeholder:"Votre message...",required:r,...c,id:e,name:e,className:b("c-textarea-container__input",{[`c-textarea-container__input--${a}`]:a,"c-textarea-container__input--hint":!!i,"c-textarea-container__input--error":!!l},c?.className),"aria-describedby":[i?`${e}-hint`:null,l?`${e}-error`:null].filter(Boolean).join(" ")||void 0})}),n?.length&&d.jsx(G,{wrap:"wrap",gapY:"s",gapX:"xxs-2",mt:"xxs-2",children:n.map(({iconProps:e,textProps:r,value:t},a)=>d.jsxs(G,{alignItems:"center",gap:"xxs",children:[e&&d.jsx(T,{...e}),d.jsx(W,{dangerouslySetInnerHTML:{__html:t},role:"alert",...r})]},a?.toString()))}),l&&d.jsx(W,{as:"span",id:`${e}-error`,className:"u-mask",color:"red",size:"xxs",mt:"xxs-2",ml:"xxs-2",role:"alert",children:l})]}));const U=I(({as:e="h1",size:r,children:t,...a},n)=>d.jsx(J,{...a,as:e,ref:n,className:b(C({className:"heading",propValue:r}),a?.className),children:t})),W=I(({as:e="p",size:r,highlighted:t,children:a,...n},o)=>d.jsx(J,{as:t?"span":e,bg:t?"sponsoring":n.bg,p:t?"xxs":n.p,color:t?"grey-800":n.color,...n,ref:o,className:b(C({className:"text",propValue:r}),{"text-highlighted":t},n?.className),children:a})),J=I(({as:e="p",children:r,...t},a)=>r&&r.toString().length||t?.dangerouslySetInnerHTML?d.jsx(z,{...M({props:t,systemPropNames:Object.keys(k)}),as:e,ref:a,className:b(B(t),t?.className),children:r}):null);I(({icon:e,title:r,content:t,...a},n)=>d.jsxs(z,{...a,ref:n,className:b("c-astro-topic-card",a?.className),children:[d.jsxs(G,{alignItems:"center",mb:"s",children:[d.jsx(T,{mr:"xs",name:e,size:21}),d.jsx(U,{as:"h3",size:"xs",children:r})]}),d.jsx(W,{size:"m",children:t})]})),I(({as:e="article",children:r,className:t,clickable:a=!1,...n},o)=>d.jsx(G,{...n,as:e,ref:o,justifyContent:n?.justifyContent||"between",className:b("c-card-container",{"c-card-container--clickable":a},t),children:r})),I(({index:e,textTitleProps:r,headingTitleProps:t,titleIconProps:a,isOpen:n,contentWithBorder:o=!0,contentProps:s,iconProps:i,btnProps:l,children:c,isDropdown:u,...p},m)=>d.jsxs(z,{...p,className:b("c-collapse js-collapse",{"c-collapse--dropdown":u}),ref:m,children:[d.jsxs(z,{...l,as:"button",type:"button",id:`c-collapse__button-${e}`,pl:l?.pl||"l",py:l?.py||"xxs",className:b("c-collapse__button js-collapse__button",l?.className),"aria-controls":`c-collapse__content-${e}`,"aria-expanded":n||"false",children:[a?d.jsxs(G,{alignItems:"center",children:[d.jsx(T,{size:34,mr:"xs",...a}),r?.children]}):t?d.jsx(U,{as:"h3",size:"xxs",color:"black",...t,children:t?.children}):d.jsx(W,{size:"l",color:"black",...r,children:r?.children}),d.jsx(T,{name:"chevron",size:16,...i,className:b("c-collapse__icon",i?.className)})]}),d.jsx(G,{...s,direction:"column",p:s?.p||"xl",id:`c-collapse__content-${e}`,"aria-hidden":n?!n:"true","aria-labelledby":`c-collapse__button-${e}`,className:b("c-collapse__content",{"c-collapse__content--with-border":o}),role:"tabpanel",children:c})]}));const K=p.forwardRef(({href:e,children:r,...t},a)=>d.jsx("a",{href:e,className:b("c-skip-link",H(t),t?.className),ref:a,...t,children:r}));K.displayName="SkipLink";var X=(e=>(e.down="down",e.heart="heart",e.laughing="laughing",e.sad="sad",e.shock="shock",e.up="up",e))(X||{});X.up,X.down,X.sad,X.heart,X.laughing,X.shock;const Z=e=>null!==localStorage.getItem(e),Q=(e,r)=>{let t=e.toLowerCase().replace(/[\s-]+/g,r??"-");return t=(e=>{let r=e;const t="ãàáäâẽèéëêìíïîõòóöôùúüûñç·/,:;";for(let e=0;e<30;e+=1)r=r.replace(new RegExp(t.charAt(e),"g"),"aaaaaeeeeeiiiiooooouuuunc-----".charAt(e));return r})(t),t.replace(/[^\w-]+/g,"").replace(/-*$/g,"")},ee=["publicommunique","production","magazine"],re=(e,r)=>{const t=document.createElement("meta");t.setAttribute("name",e),t.setAttribute("content",r),document.head.appendChild(t)},te=()=>{re("pbstck_context:site_name",window.layout===Y.DESKTOP?"20minutes_desktop":"20minutes_webmobile"),re("pbstck_context:section",((e,r="",t="",a=[])=>{if("article"===e&&ee.includes(r)||"production"===t||a.map(e=>Q(e)).includes("production"))return"brand_publishing";switch(e){case"home":return"homepage";case"tag":case"section":return"homes";case"article":case"live":return"article";case"tvhome":case"tvlive":case"tvmostrecent":case"tvmostviewed":case"tvshow":case"tvshows":case"tvvideo":return"tv";default:return"divers"}})(window.datalayerInfo?.pageName,window.datalayerInfo?.subType,window.datalayerInfo?.parentTagSlug,window.datalayerInfo?.breadcrumb)),re("ad:lang","fr"),re("ad:dn",window.location.host)},ae=()=>{te(),window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(()=>{re("pbstck_context:consent",window.didomiState.didomiPurposesDisabled||window.didomiState.didomiVendorsDisabled?"false":"true")}),Object.entries({...window.dfp.targeting}).forEach(([e,r])=>{re(`ad:${e}`,r)})},ne=()=>{if(Z("20min_user_token")){const e=localStorage.getItem("20min_user_token");fetch(`https://securepubads.g.doubleclick.net/user_data_deletion?ppid=${e}&iu=49926454`,{referrerPolicy:"strict-origin-when-cross-origin"}).then(e=>{e.ok&&alert("La demande de suppression a bien été prise en compte")}),localStorage.removeItem("20min_user_token")}},oe=()=>{window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(e=>{!e.getCurrentUserStatus().purposes["publicite-9qedKJMX"]?.enabled||!navigator.userAgent.includes("Firefox")&&!navigator.userAgent.includes("Safari")||navigator.userAgent.includes("Chrome")||navigator.userAgent.includes("Chromium")||navigator.userAgent.includes("Seamonkey")||Z("20min_user_token")||localStorage.setItem("20min_user_token",window.crypto.randomUUID())})},se=()=>{oe(),(()=>{const e=document.getElementById("delete-ppid");e&&e.addEventListener("click",ne)})()},ie=["nfb_1","nfb_2","article_btf","pave_com","pave_home","inread","pave_article","article_mtf","native_web"],le=()=>{ie.forEach(e=>{const r=`#dfp_${e}`,t=[...document.querySelectorAll(r)].filter(e=>e instanceof HTMLElement);for(let r=0;r<=20;r+=1){const a=document.getElementById(`dfp_${e}_${r}`);a&&t.push(a)}let a=0;t.forEach(r=>{r.id=0===a?`dfp_${e}`:`dfp_${e}_${a}`,a+=1})})};var ce=(e=>(e.UNKNOWN="Non connu",e.SLIDESHOW_COVER="Slideshow cover",e.SLIDESHOW_COVER_LISTING_PAGE="Slideshow listing page",e.SLIDESHOW_PAGE="Slideshow page",e.ARTICLE="article",e.MISC="divers",e.HOME="home",e.LIVE="live",e.SECTION="section",e.TAG="tag",e.JOBS="home_metier",e.JOB_DETAILS="fiche_metier",e.WEATHER="weather",e.TRAFFIC="traffic",e.HOROSCOPE="horoscope",e.HOROSCOPE_HOME="horoscopehome",e.NUMEROLOGY="numerology",e.NUMEROLOGY_HOME="numerologyhome",e))(ce||{}),ue=(e=>(e.PAGETYPE="page_type",e.TAGS="tags",e.CATEGORY="category",e.SUBCATEGORY="subcategory",e.CONTENTID="content_id",e.CONTENTTYPE="content_type",e.CONTENTSLUG="content_slug",e.BRANDSAFETY="brand_safety",e.HASVIDEO="has_video",e.DEVICE="device",e.ADM="adm",e))(ue||{}),de=(e=>(e.ARCHIVE_BY_DAY="archivebyday",e.ARCHIVE_BY_YEAR="archivebyyear",e.ARTICLE="article",e.ASTRO="astro",e.ASTRO_HOME="astrohome",e.CONTACT="contact",e.DIRECT="direct",e.ELECTIONS="elections",e.ELECTIONSHOME="electionshome",e.GAME="game",e.GAME_APP="gameapp",e.GAMEHOME="gamehome",e.HOME="home",e.JOB_DETAILS="jobdetails",e.JOBS="jobs",e.JOURNALIST="journalist",e.LA21E="la21e",e.LEGAL="legal",e.LEGALNOTICE="legalnotice",e.LEGALNOTICEHOME="legalnoticehome",e.LEGALNOTICEDEPARTMENT="legalnoticedepartment",e.LIVE="live",e.MOBILE_APPS="mobileapps",e.MOST_COMMENTED="mostcommented",e.MOST_READ="mostread",e.MOST_SHARED="mostshared",e.MOST_VIEWED="mostviewed",e.MOVIES="movies",e.NEWS="news",e.PARTNER="partner",e.REWIND="rewind",e.SEARCH="search",e.SECTION="section",e.SERVICE="service",e.SITEMAP="sitemap",e.SPORT="sport",e.STORY="story",e.TAG="tag",e.TRAFFIC="traffic",e.TV_HOME="tvhome",e.TV_LIVE="tvlive",e.TV_MOST_RECENT="tvmostrecent",e.TV_MOST_VIEWED="tvmostviewed",e.TV_SHOW="tvshow",e.TV_SHOWS="tvshows",e.TV_VIDEO="tvvideo",e.WEATHER="weather",e))(de||{});const pe=()=>{window.dfp=window.dfp||{},window.dfp.targeting=window.dfp.targeting||{},Object.values(ue).forEach(e=>{const r=(e=>{switch(e){case"page_type":case"content_type":if(window.datalayerInfo?.pageName&&Object.values(de).includes(window.datalayerInfo?.pageName))switch(window.datalayerInfo?.pageName){case de.HOME:return"homepage";case de.TAG:return ce.HOME;case de.JOBS:return ce.JOBS;case de.JOB_DETAILS:return ce.JOB_DETAILS;case de.ASTRO:return ce.HOROSCOPE;case de.ASTRO_HOME:return ce.HOROSCOPE_HOME;default:return window.datalayerInfo?.pageName}return ce.MISC;case"content_id":return window.datalayerInfo?.contentId??window.datalayerInfo?.tagId??window.datalayerInfo?.jobId??void 0;case"tags":if(window.datalayerInfo?.elections&&(window.datalayerInfo?.pageName===de.ELECTIONS||window.datalayerInfo?.pageName===de.ELECTIONSHOME)){const{national:e,region:r,department:t,town:a}=window.datalayerInfo.elections||{};return[e?"national":void 0,r,t,a].filter(Boolean).join(",")}return window.datalayerInfo?.tagsSlug?window.datalayerInfo.tagsSlug.replace(/\|/g,","):Q(window.datalayerInfo?.tagName??"","_")||void 0;case"category":return!window.datalayerInfo?.elections||window.datalayerInfo?.pageName!==de.ELECTIONS&&window.datalayerInfo?.pageName!==de.ELECTIONSHOME?window.datalayerInfo?.breadcrumb?.[0]?"Divertissement"===window.datalayerInfo?.breadcrumb[0]?"arts-stars":Q(window.datalayerInfo?.breadcrumb[0]):window.datalayerInfo?.pageName===de.ASTRO||window.datalayerInfo?.pageName===de.ASTRO_HOME?Q(window.datalayerInfo?.pageName===de.ASTRO?"horoscope":"horoscopehome"):window.datalayerInfo?.sectionLabel?Q(window.datalayerInfo.sectionLabel):void 0:"elections";case"subcategory":if(window.datalayerInfo?.elections&&(window.datalayerInfo?.pageName===de.ELECTIONS||window.datalayerInfo?.pageName===de.ELECTIONSHOME))return"resultats";if(window.datalayerInfo?.breadcrumb&&window.datalayerInfo?.breadcrumb.length>1){const e=Q(window.datalayerInfo.breadcrumb[window.datalayerInfo.breadcrumb.length-(window.datalayerInfo?.pageName===de.TAG?2:1)]);return e===Q(window.datalayerInfo?.breadcrumb[0])?Q(window.datalayerInfo?.tagName??"")||void 0:e||void 0}return;case"content_slug":return window.datalayerInfo?.contentTitle?Q(window.datalayerInfo.contentTitle):void 0;case"brand_safety":return window.datalayerInfo?.sentiment;case"has_video":return void 0!==window.partnerFeatures?.enableDisplayOnHeaderAd?window.partnerFeatures.enableDisplayOnHeaderAd.toString():void 0;case"device":return window.layout??void 0;default:return}})(e);r&&(window.dfp.targeting[e]=r)})};window.googletag=window.googletag||{cmd:[]},window.dfp=window.dfp||{},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",le):le(),pe(),googletag.cmd.push(()=>{googletag.pubads().addEventListener("impressionViewable",e=>{const r=e.slot;document.querySelectorAll(".c-4b8m1ese3e").forEach(e=>{(e.getAttribute("data-dfp-id")??e.getAttribute("id"))===r.getSlotElementId()&&e.classList.add("placeholder-with-ad")})})}),se(),window.datalayerInfo?.enablePubstack&&ae()}();
11
11
  //# sourceMappingURL=ads.min.js.map