@20minutes/tyr 2.45.0 → 2.45.1

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.
package/dist/index.umd.js CHANGED
@@ -241,4 +241,4 @@ Error generating stack: `+O.message+`
241
241
  )`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},gD={};function yD(e,t){return e===In.default.falseFunc?In.default.falseFunc:n=>t.isTag(n)&&e(n)}function bD(e,t){const n=t.getSiblings(e);if(n.length<=1)return[];const o=n.indexOf(e);return o<0||o===n.length-1?[]:n.slice(o+1).filter(t.isTag)}function x5(e){return{xmlMode:!!e.xmlMode,lowerCaseAttributeNames:!!e.lowerCaseAttributeNames,lowerCaseTags:!!e.lowerCaseTags,quirksMode:!!e.quirksMode,cacheResults:!!e.cacheResults,pseudos:e.pseudos,adapter:e.adapter,equals:e.equals}}const A5=(e,t,n,o,s)=>{const l=s(t,x5(n),o);return l===In.default.trueFunc?e:l===In.default.falseFunc?In.default.falseFunc:c=>l(c)&&e(c)},E5={is:A5,matches:A5,where:A5,not(e,t,n,o,s){const l=s(t,x5(n),o);return l===In.default.falseFunc?e:l===In.default.trueFunc?In.default.falseFunc:c=>!l(c)&&e(c)},has(e,t,n,o,s){const{adapter:l}=n,c=x5(n);c.relativeSelector=!0;const p=t.some(A=>A.some(g5))?[gD]:void 0,m=s(t,c,p);if(m===In.default.falseFunc)return In.default.falseFunc;const h=yD(m,l);if(p&&m!==In.default.trueFunc){const{shouldTestNextSiblings:A=!1}=m;return w=>{if(!e(w))return!1;p[0]=w;const _=l.getChildren(w),D=A?[..._,...bD(w,l)]:_;return l.existsOne(h,D)}}return A=>e(A)&&l.existsOne(h,l.getChildren(A))}};function cV(e,t,n,o,s){var l;const{name:c,data:p}=t;if(Array.isArray(p)){if(!(c in E5))throw new Error(`Unknown pseudo-class :${c}(${p})`);return E5[c](e,p,n,o,s)}const m=(l=n.pseudos)===null||l===void 0?void 0:l[c],h=typeof m=="string"?m:lV[c];if(typeof h=="string"){if(p!=null)throw new Error(`Pseudo ${c} doesn't have any arguments`);const A=(0,ta.parse)(h);return E5.is(e,A,n,o,s)}if(typeof m=="function")return vD(m,c,p,1),A=>m(A,p)&&e(A);if(c in y5)return y5[c](e,p,n,o);if(c in mD){const A=mD[c];return vD(A,c,p,2),w=>A(w,n,p)&&e(w)}throw new Error(`Unknown pseudo-class :${c}`)}function _5(e,t){const n=t.getParent(e);return n&&t.isTag(n)?n:null}function dV(e,t,n,o,s){const{adapter:l,equals:c}=n;switch(t.type){case ta.SelectorType.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case ta.SelectorType.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case ta.SelectorType.Attribute:if(t.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!n.xmlMode||n.lowerCaseAttributeNames)&&(t.name=t.name.toLowerCase()),aV[t.action](e,t,n);case ta.SelectorType.Pseudo:return cV(e,t,n,o,s);case ta.SelectorType.Tag:{if(t.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:p}=t;return(!n.xmlMode||n.lowerCaseTags)&&(p=p.toLowerCase()),function(h){return l.getName(h)===p&&e(h)}}case ta.SelectorType.Descendant:{if(n.cacheResults===!1||typeof WeakSet>"u")return function(h){let A=h;for(;A=_5(A,l);)if(e(A))return!0;return!1};const p=new WeakSet;return function(h){let A=h;for(;A=_5(A,l);)if(!p.has(A)){if(l.isTag(A)&&e(A))return!0;p.add(A)}return!1}}case"_flexibleDescendant":return function(m){let h=m;do if(e(h))return!0;while(h=_5(h,l));return!1};case ta.SelectorType.Parent:return function(m){return l.getChildren(m).some(h=>l.isTag(h)&&e(h))};case ta.SelectorType.Child:return function(m){const h=l.getParent(m);return h!=null&&l.isTag(h)&&e(h)};case ta.SelectorType.Sibling:return function(m){const h=l.getSiblings(m);for(let A=0;A<h.length;A++){const w=h[A];if(c(m,w))break;if(l.isTag(w)&&e(w))return!0}return!1};case ta.SelectorType.Adjacent:return l.prevElementSibling?function(m){const h=l.prevElementSibling(m);return h!=null&&e(h)}:function(m){const h=l.getSiblings(m);let A;for(let w=0;w<h.length;w++){const _=h[w];if(c(m,_))break;l.isTag(_)&&(A=_)}return!!A&&e(A)};case ta.SelectorType.Universal:if(t.namespace!=null&&t.namespace!=="*")throw new Error("Namespaced universal selectors are not yet supported by css-select");return e}}function fV(e,t,n){return yD(xD(e,t,n),t.adapter)}function xD(e,t,n){return ED(typeof e=="string"?(0,ta.parse)(e):e,t,n)}function AD(e){return e.type===ta.SelectorType.Pseudo&&(e.name==="scope"||Array.isArray(e.data)&&e.data.some(t=>t.some(AD)))}const pV={type:ta.SelectorType.Descendant},hV={type:"_flexibleDescendant"},mV={type:ta.SelectorType.Pseudo,name:"scope",data:null};function vV(e,{adapter:t},n){const o=!!n?.every(s=>{const l=t.isTag(s)&&t.getParent(s);return s===gD||l&&t.isTag(l)});for(const s of e){if(!(s.length>0&&g5(s[0])&&s[0].type!==ta.SelectorType.Descendant))if(o&&!s.some(AD))s.unshift(pV);else continue;s.unshift(mV)}}function ED(e,t,n){var o;e.forEach(tV),n=(o=t.context)!==null&&o!==void 0?o:n;const s=Array.isArray(n),l=n&&(Array.isArray(n)?n:[n]);if(t.relativeSelector!==!1)vV(e,t,l);else if(e.some(m=>m.length>0&&g5(m[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let c=!1;const p=e.map(m=>{if(m.length>=2){const[h,A]=m;h.type!==ta.SelectorType.Pseudo||h.name!=="scope"||(s&&A.type===ta.SelectorType.Descendant?m[1]=hV:(A.type===ta.SelectorType.Adjacent||A.type===ta.SelectorType.Sibling)&&(c=!0))}return gV(m,t,l)}).reduce(yV,In.default.falseFunc);return p.shouldTestNextSiblings=c,p}function gV(e,t,n){var o;return e.reduce((s,l)=>s===In.default.falseFunc?In.default.falseFunc:dV(s,l,t,n,ED),(o=t.rootFunc)!==null&&o!==void 0?o:In.default.trueFunc)}function yV(e,t){return t===In.default.falseFunc||e===In.default.trueFunc?e:e===In.default.falseFunc||t===In.default.trueFunc?t:function(o){return e(o)||t(o)}}const _D=(e,t)=>e===t,bV={adapter:cD,equals:_D};function wD(e){var t,n,o,s;const l=e??bV;return(t=l.adapter)!==null&&t!==void 0||(l.adapter=cD),(n=l.equals)!==null&&n!==void 0||(l.equals=(s=(o=l.adapter)===null||o===void 0?void 0:o.equals)!==null&&s!==void 0?s:_D),l}function SD(e){return function(n,o,s){const l=wD(s);typeof n!="function"&&(n=xD(n,l,o));const c=xV(o,l.adapter,n.shouldTestNextSiblings);return e(n,c,l)}}function xV(e,t,n=!1){return n&&(e=AV(e,t)),Array.isArray(e)?t.removeSubsets(e):t.getChildren(e)}function AV(e,t){const n=Array.isArray(e)?e.slice(0):[e],o=n.length;for(let s=0;s<o;s++){const l=bD(n[s],t);n.push(...l)}return n}const EV=SD((e,t,n)=>e===In.default.falseFunc||!t||t.length===0?[]:n.adapter.findAll(e,t)),CD=SD((e,t,n)=>e===In.default.falseFunc||!t||t.length===0?null:n.adapter.findOne(e,t));function _V(e,t,n){const o=wD(n);return(typeof t=="function"?t:fV(t,o))(e)}function Lp(e){return e[e.length-1]}function v3(e){return e&&e.nodeType===1}function TD(e,t){return v3(e)?e.getAttribute(t):void 0}function wV(e){return(e&&e.rawTagName||"").toLowerCase()}function D2(e){return e&&e.childNodes}function w5(e){return e?e.parentNode:null}function SV(e){return e.text}function CV(e){let t=e.length,n,o,s;for(;--t>-1;){for(n=o=e[t],e[t]=null,s=!0;o;){if(e.indexOf(o)>-1){s=!1,e.splice(t,1);break}o=w5(o)}s&&(e[t]=n)}return e}function ND(e,t){return t.some(n=>v3(n)?e(n)||ND(e,D2(n)):!1)}function TV(e){const t=w5(e);return t?D2(t):[]}function NV(e,t){return TD(e,t)!==void 0}function DD(e,t){let n=null;for(let o=0,s=t?.length;o<s&&!n;o++){const l=t[o];if(e(l))n=l;else{const c=D2(l);c&&c.length>0&&(n=DD(e,c))}}return n}function RD(e,t){let n=[];for(let o=0,s=t.length;o<s;o++){const l=t[o];if(!v3(l))continue;e(l)&&n.push(l);const c=D2(l);c&&(n=n.concat(RD(e,c)))}return n}const g3={isTag:v3,getAttributeValue:TD,getName:wV,getChildren:D2,getParent:w5,getText:SV,removeSubsets:CV,existsOne:ND,getSiblings:TV,hasAttrib:NV,findOne:DD,findAll:RD};var OD=class{constructor(e=!1,t){this.addClosingSlash=e,Array.isArray(t)?this.voidTags=t.reduce((n,o)=>n.add(o.toLowerCase()).add(o.toUpperCase()).add(o),new Set):this.voidTags=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"].reduce((n,o)=>n.add(o.toLowerCase()).add(o.toUpperCase()).add(o),new Set)}formatNode(e,t,n){const o=this.addClosingSlash,s=o&&t&&!t.endsWith(" ")?" ":"",l=o?`${s}/`:"";return this.isVoidElement(e.toLowerCase())?`<${e}${t}${l}>`:`<${e}${t}>${n}</${e}>`}isVoidElement(e){return this.voidTags.has(e)}},zf=class nB extends $1{clone(){return new nB(this._rawText,null)}constructor(t,n=null,o){super(n,o),this.nodeType=3,this.rawTagName="",this._rawText=t}get rawText(){return this._rawText}set rawText(t){this._rawText=t,this._trimmedRawText=void 0,this._trimmedText=void 0}get trimmedRawText(){return this._trimmedRawText!==void 0?this._trimmedRawText:(this._trimmedRawText=ID(this.rawText),this._trimmedRawText)}get trimmedText(){return this._trimmedText!==void 0?this._trimmedText:(this._trimmedText=ID(this.text),this._trimmedText)}get text(){return c5(this.rawText)}get isWhitespace(){return/^(\s|&nbsp;)*$/.test(this.rawText)}toString(){return this.rawText}};function ID(e){let t=0,n,o;for(;t>=0&&t<e.length;)/\S/.test(e[t])&&(n===void 0?(n=t,t=e.length):(o=t,t=void 0)),n===void 0?t++:t--;n===void 0&&(n=0),o===void 0&&(o=e.length-1);const s=n>0&&/[^\S\r\n]/.test(e[n-1]),l=o<e.length-1&&/[^\S\r\n]/.test(e[o+1]);return(s?" ":"")+e.slice(n,o+1)+(l?" ":"")}function R2(e){return c5(e)}const DV=["h1","h2","h3","h4","h5","h6","header","hgroup"],RV=["details","dialog","dd","div","dt"],OV=["fieldset","figcaption","figure","footer","form"],IV=["table","td","tr"],jV=["address","article","aside","blockquote","br","hr","li","main","nav","ol","p","pre","section","ul"],S5=new Set;function MV(...e){const t=n=>{for(let o=0;o<n.length;o++){const s=n[o];S5.add(s),S5.add(s.toUpperCase())}};for(const n of e)t(n)}MV(DV,RV,OV,IV,jV);var LV=class{_validate(e){if(/\s/.test(e))throw new Error(`DOMException in DOMTokenList.add: The token '${e}' contains HTML space characters, which are not valid in tokens.`)}constructor(e=[],t=()=>null){this._set=new Set(e),this._afterUpdate=t}add(e){this._validate(e),this._set.add(e),this._afterUpdate(this)}replace(e,t){this._validate(t),this._set.delete(e),this._set.add(t),this._afterUpdate(this)}remove(e){this._set.delete(e)&&this._afterUpdate(this)}toggle(e){this._validate(e),this._set.has(e)?this._set.delete(e):this._set.add(e),this._afterUpdate(this)}contains(e){return this._set.has(e)}get length(){return this._set.size}values(){return this._set.values()}get value(){return Array.from(this._set.values())}toString(){return Array.from(this._set.values()).join(" ")}},C5=class Wy extends $1{quoteAttribute(t){return t==null?"null":`"${t.replace(/"/g,"&quot;")}"`}constructor(t,n,o="",s=null,l,c=new OD,p={}){if(super(s,l),this.rawAttrs=o,this.voidTag=c,this.nodeType=1,this.rawTagName=t,this.rawAttrs=o||"",this._id=n.id||"",this.childNodes=[],this._parseOptions=p,this.classList=new LV(n.class?n.class.split(/\s+/):[],m=>this.setAttribute("class",m.toString())),n.id&&(o||(this.rawAttrs=`id="${n.id}"`)),n.class&&!o){const m=`class="${this.classList.toString()}"`;this.rawAttrs?this.rawAttrs+=` ${m}`:this.rawAttrs=m}}removeChild(t){return this.childNodes=this.childNodes.filter(n=>n!==t),this}exchangeChild(t,n){const o=this.childNodes;return this.childNodes=o.map(s=>s===t?n:s),this}get tagName(){return this.rawTagName?this.rawTagName.toUpperCase():this.rawTagName}set tagName(t){this.rawTagName=t.toLowerCase()}get localName(){return this.rawTagName.toLowerCase()}get isVoidElement(){return this.voidTag.isVoidElement(this.localName)}get id(){return this._id}set id(t){this.setAttribute("id",t)}get rawText(){return/^br$/i.test(this.rawTagName)?`
242
242
  `:this.childNodes.reduce((t,n)=>t+=n.rawText,"")}get textContent(){return R2(this.rawText)}set textContent(t){const n=[new zf(t,this)];this.childNodes=n}get text(){return R2(this.rawText)}get structuredText(){let t=[];const n=[t];function o(s){if(s.nodeType===1)S5.has(s.rawTagName)?(t.length>0&&n.push(t=[]),s.childNodes.forEach(o),t.length>0&&n.push(t=[])):s.childNodes.forEach(o);else if(s.nodeType===3)if(s.isWhitespace)t.prependWhitespace=!0;else{let l=s.trimmedText;t.prependWhitespace&&(l=` ${l}`,t.prependWhitespace=!1),t.push(l)}}return o(this),n.map(s=>s.join("").replace(/\s{2,}/g," ")).join(`
243
243
  `).replace(/\s+$/,"")}toString(){const t=this.rawTagName;if(t){const n=this.rawAttrs?` ${this.rawAttrs}`:"";return this.voidTag.formatNode(t,n,this.innerHTML)}return this.innerHTML}get innerHTML(){return this.childNodes.map(t=>t.toString()).join("")}set innerHTML(t){const n=Lh(t,this._parseOptions),o=n.childNodes.length?n.childNodes:[new zf(t,this)];q0(o,this),q0(this.childNodes,null),this.childNodes=o}set_content(t,n={}){if(t instanceof $1)t=[t];else if(typeof t=="string"){n=Ip(Ip({},this._parseOptions),n);const o=Lh(t,n);t=o.childNodes.length?o.childNodes:[new zf(o.innerHTML,this)]}return q0(this.childNodes,null),q0(t,this),this.childNodes=t,this}replaceWith(...t){const n=this.parentNode,o=t.map(l=>{if(l instanceof $1)return[l];if(typeof l=="string"){const c=Lh(l,this._parseOptions);return c.childNodes.length?c.childNodes:[new zf(l,this)]}return[]}).flat(),s=n.childNodes.findIndex(l=>l===this);return q0([this],null),n.childNodes=[...n.childNodes.slice(0,s),...q0(o,n),...n.childNodes.slice(s+1)],this}get outerHTML(){return this.toString()}trimRight(t){for(let n=0;n<this.childNodes.length;n++){const o=this.childNodes[n];if(o.nodeType===1)o.trimRight(t);else{const s=o.rawText.search(t);s>-1&&(o.rawText=o.rawText.substr(0,s),this.childNodes.length=n+1)}}return this}get structure(){const t=[];let n=0;function o(l){t.push(" ".repeat(n)+l)}function s(l){const c=l._id?`#${l._id}`:"",p=l.classList.length?`.${l.classList.value.join(".")}`:"";o(`${l.rawTagName}${c}${p}`),n++,l.childNodes.forEach(m=>{m.nodeType===1?s(m):m.nodeType===3&&(m.isWhitespace||o("#text"))}),n--}return s(this),t.join(`
244
- `)}removeWhitespace(){let t=0;this.childNodes.forEach(o=>{if(o.nodeType===3){if(o.isWhitespace)return;o.rawText=o.trimmedRawText}else o.nodeType===1&&o.removeWhitespace();this.childNodes[t++]=o}),this.childNodes.length=t;const n=Object.keys(this.rawAttributes).map(o=>{const s=this.quoteAttribute(this.rawAttributes[o]);return s==="null"||s==='""'?o:`${o}=${s}`}).join(" ");return this.rawAttrs=n,delete this._rawAttrs,this}querySelectorAll(t){return EV(t,this,{xmlMode:!0,adapter:g3})}querySelector(t){return CD(t,this,{xmlMode:!0,adapter:g3})}matches(t){return _V(this,t,{xmlMode:!0,adapter:g3})}getElementsByTagName(t){const n=t.toUpperCase(),o=[],s=[];let l=this,c=0;for(;c!==void 0;){let p;do p=l.childNodes[c++];while(c<l.childNodes.length&&p===void 0);if(p===void 0){l=l.parentNode,c=s.pop();continue}p.nodeType===1&&((t==="*"||p.tagName===n)&&o.push(p),p.childNodes.length>0&&(s.push(c),l=p,c=0))}return o}getElementById(t){const n=[];let o=this,s=0;for(;s!==void 0;){let l;do l=o.childNodes[s++];while(s<o.childNodes.length&&l===void 0);if(l===void 0){o=o.parentNode,s=n.pop();continue}if(l.nodeType===1){if(l._id===t)return l;l.childNodes.length>0&&(n.push(s),o=l,s=0)}}return null}closest(t){const n=new Map;let o=this,s=null;function l(c,p){let m=null;for(let h=0,A=p.length;h<A&&!m;h++){const w=p[h];if(c(w))m=w;else{const _=n.get(w);_&&(m=l(c,[_]))}}return m}for(;o;)n.set(o,s),s=o,o=o.parentNode;for(o=this;o;){const c=CD(t,o,{xmlMode:!0,adapter:Ip(Ip({},g3),{},{getChildren(p){const m=n.get(p);return m&&[m]},getSiblings(p){return[p]},findOne:l,findAll(){return[]}})});if(c)return c;o=o.parentNode}return null}appendChild(t){return this.append(t),t}get attrs(){if(this._attrs)return this._attrs;this._attrs={};const t=this.rawAttributes;for(const n in t){const o=t[n]||"";this._attrs[n.toLowerCase()]=R2(o)}return this._attrs}get attributes(){const t={},n=this.rawAttributes;for(const o in n)t[o]=R2(n[o]||"");return t}get rawAttributes(){if(this._rawAttrs)return this._rawAttrs;const t={};if(this.rawAttrs){const n=/([a-zA-Z()[\]#@$.?:][a-zA-Z0-9-._:()[\]#]*)(?:\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+))?/g;let o;for(;o=n.exec(this.rawAttrs);){const s=o[1];let l=o[2]||null;l&&(l[0]==="'"||l[0]==='"')&&(l=l.slice(1,l.length-1)),t[s]=t[s]||l}}return this._rawAttrs=t,t}removeAttribute(t){const n=this.rawAttributes;return delete n[t],this._attrs&&delete this._attrs[t],this.rawAttrs=Object.keys(n).map(o=>{const s=this.quoteAttribute(n[o]);return s==="null"||s==='""'?o:`${o}=${s}`}).join(" "),t==="id"&&(this._id=""),this}hasAttribute(t){return t.toLowerCase()in this.attrs}getAttribute(t){return this.attrs[t.toLowerCase()]}setAttribute(t,n){if(arguments.length<2)throw new Error("Failed to execute 'setAttribute' on 'Element'");const o=t.toLowerCase(),s=this.rawAttributes;for(const l in s)if(l.toLowerCase()===o){t=l;break}return s[t]=String(n),this._attrs&&(this._attrs[o]=R2(s[t])),this.rawAttrs=Object.keys(s).map(l=>{const c=this.quoteAttribute(s[l]);return c==="null"||c==='""'?l:`${l}=${c}`}).join(" "),t==="id"&&(this._id=n),this}setAttributes(t){return this._attrs&&delete this._attrs,this._rawAttrs&&delete this._rawAttrs,this.rawAttrs=Object.keys(t).map(n=>{const o=t[n];return o==="null"||o==='""'?n:`${n}=${this.quoteAttribute(String(o))}`}).join(" "),"id"in t&&(this._id=t.id),this}insertAdjacentHTML(t,n){if(arguments.length<2)throw new Error("2 arguments required");const o=Lh(n,this._parseOptions);if(t==="afterend")this.after(...o.childNodes);else if(t==="afterbegin")this.prepend(...o.childNodes);else if(t==="beforeend")this.append(...o.childNodes);else if(t==="beforebegin")this.before(...o.childNodes);else throw new Error(`The value provided ('${t}') is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'`);return this}prepend(...t){const n=y3(t);q0(n,this),this.childNodes.unshift(...n)}append(...t){const n=y3(t);q0(n,this),this.childNodes.push(...n)}before(...t){const n=y3(t),o=this.parentNode.childNodes;q0(n,this.parentNode),o.splice(o.indexOf(this),0,...n)}after(...t){const n=y3(t),o=this.parentNode.childNodes;q0(n,this.parentNode),o.splice(o.indexOf(this)+1,0,...n)}get nextSibling(){if(this.parentNode){const t=this.parentNode.childNodes;let n=0;for(;n<t.length;){const o=t[n++];if(this===o)return t[n]||null}return null}}get nextElementSibling(){if(this.parentNode){const t=this.parentNode.childNodes;let n=0,o=!1;for(;n<t.length;){const s=t[n++];if(o){if(s instanceof Wy)return s||null}else this===s&&(o=!0)}return null}}get previousSibling(){if(this.parentNode){const t=this.parentNode.childNodes;let n=t.length;for(;n>0;){const o=t[--n];if(this===o)return t[n-1]||null}return null}}get previousElementSibling(){if(this.parentNode){const t=this.parentNode.childNodes;let n=t.length,o=!1;for(;n>0;){const s=t[--n];if(o){if(s instanceof Wy)return s||null}else this===s&&(o=!0)}return null}}get children(){const t=[];for(const n of this.childNodes)n instanceof Wy&&t.push(n);return t}get firstChild(){return this.childNodes[0]}get firstElementChild(){return this.children[0]}get lastChild(){return Lp(this.childNodes)}get lastElementChild(){return this.children[this.children.length-1]}get childElementCount(){return this.children.length}get classNames(){return this.classList.toString()}clone(){return Lh(this.toString(),this._parseOptions).firstChild}};const kV=/<!--[\s\S]*?-->|<(\/?)([a-zA-Z][-.:0-9_a-zA-Z@\xB7\xC0-\xD6\xD8-\xF6\u00F8-\u03A1\u03A3-\u03D9\u03DB-\u03EF\u03F7-\u03FF\u0400-\u04FF\u0500-\u052F\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E00-\u1E9B\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A-\u212B\u2132\u214E\u2160-\u2188\u2C60-\u2C7F\uA722-\uA787\uA78B-\uA78E\uA790-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA7FF\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64-\uAB65\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A\x37F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*)((?:\s+[^>]*?(?:(?:'[^']*')|(?:"[^"]*"))?)*)\s*(\/?)>/gu,BV=/<!--[\s\S]*?-->|<!\[CDATA\[[\s\S]*?\]\]>|<(\/?)([a-zA-Z][-.:0-9_a-zA-Z@\xB7\xC0-\xD6\xD8-\xF6\u00F8-\u03A1\u03A3-\u03D9\u03DB-\u03EF\u03F7-\u03FF\u0400-\u04FF\u0500-\u052F\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E00-\u1E9B\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A-\u212B\u2132\u214E\u2160-\u2188\u2C60-\u2C7F\uA722-\uA787\uA78B-\uA78E\uA790-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA7FF\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64-\uAB65\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A\x37F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*)((?:\s+[^>]*?(?:(?:'[^']*')|(?:"[^"]*"))?)*)\s*(\/?)>/gu,PV=/(?:^|\s)(id|class)\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+)/gi,jD={li:{li:!0,LI:!0},LI:{li:!0,LI:!0},p:{p:!0,div:!0,P:!0,DIV:!0},P:{p:!0,div:!0,P:!0,DIV:!0},b:{div:!0,DIV:!0},B:{div:!0,DIV:!0},td:{td:!0,th:!0,TD:!0,TH:!0},TD:{td:!0,th:!0,TD:!0,TH:!0},th:{td:!0,th:!0,TD:!0,TH:!0},TH:{td:!0,th:!0,TD:!0,TH:!0},h1:{h1:!0,H1:!0},H1:{h1:!0,H1:!0},h2:{h2:!0,H2:!0},H2:{h2:!0,H2:!0},h3:{h3:!0,H3:!0},H3:{h3:!0,H3:!0},h4:{h4:!0,H4:!0},H4:{h4:!0,H4:!0},h5:{h5:!0,H5:!0},H5:{h5:!0,H5:!0},h6:{h6:!0,H6:!0},H6:{h6:!0,H6:!0}},MD={li:{ul:!0,ol:!0,UL:!0,OL:!0},LI:{ul:!0,ol:!0,UL:!0,OL:!0},a:{div:!0,DIV:!0},A:{div:!0,DIV:!0},b:{div:!0,DIV:!0},B:{div:!0,DIV:!0},i:{div:!0,DIV:!0},I:{div:!0,DIV:!0},p:{div:!0,DIV:!0},P:{div:!0,DIV:!0},td:{tr:!0,table:!0,TR:!0,TABLE:!0},TD:{tr:!0,table:!0,TR:!0,TABLE:!0},th:{tr:!0,table:!0,TR:!0,TABLE:!0},TH:{tr:!0,table:!0,TR:!0,TABLE:!0}},LD={p:{a:!0,audio:!0,del:!0,ins:!0,map:!0,noscript:!0,video:!0}},T5="documentfragmentcontainer";function kD(e,t={}){var n,o;const s=new OD(t==null||(n=t.voidTag)===null||n===void 0?void 0:n.closingSlash,t==null||(o=t.voidTag)===null||o===void 0?void 0:o.tags),l=e.includes("<![CDATA["),c=l?BV:kV,p=t.blockTextElements||{script:!0,noscript:!0,style:!0,pre:!0},m=Object.keys(p),h=m.map(ie=>new RegExp(`^${ie}$`,"i")),A=m.filter(ie=>!!p[ie]).map(ie=>new RegExp(`^${ie}$`,"i"));function w(ie){return A.some(ee=>ee.test(ie))}function _(ie){return h.some(ee=>ee.test(ie))}const D=(ie,ee)=>[ie-Z,ee-Z],S=new C5(null,{},"",null,[0,e.length],s,t);let T=S;const C=[S];let I=-1,L,P;e=`<${T5}>${e}</${T5}>`;const{lowerCaseTagName:q,fixNestedATags:H}=t,W=e.length-27,Z=27;for(c.lastIndex=0;P=c.exec(e);){let{0:ie,1:ee,2:$,3:V,4:X}=P;const se=ie.length,de=c.lastIndex-se,Ae=c.lastIndex;if(I>-1&&I+se<Ae){const Oe=e.substring(I,de);T.appendChild(new zf(Oe,T,D(I,de)))}if(I=c.lastIndex,l&&ie.startsWith("<![CDATA[")){T.appendChild(new zf(ie,T,D(de,Ae)));continue}if($!==T5){if(ie[1]==="!"){if(t.comment){const Oe=e.substring(de+4,Ae-3);T.appendChild(new QN(Oe,T,D(de,Ae)))}continue}if(q&&($=$.toLowerCase()),!ee){const Oe={};for(let Ie;Ie=PV.exec(V);){const{1:Ue,2:Ee}=Ie,Rt=Ee[0]==="'"||Ee[0]==='"';Oe[Ue.toLowerCase()]=Rt?Ee.slice(1,Ee.length-1):Ee}const Pe=T.rawTagName;!X&&!t.preserveTagNesting&&jD[Pe]&&jD[Pe][$]&&(C.pop(),T=Lp(C)),H&&($==="a"||$==="A")&&(L!==void 0&&(C.splice(L),T=Lp(C)),L=C.length);const Se=c.lastIndex,Le=Se-se;if(T=T.appendChild(new C5($,Oe,V.slice(1),null,D(Le,Se),s,t)),C.push(T),_($)){const Ie=`</${$}>`,Ue=q?e.toLocaleLowerCase().indexOf(Ie,c.lastIndex):e.indexOf(Ie,c.lastIndex),Ee=Ue===-1?W:Ue;if(w($)){const Rt=e.substring(Se,Ee);Rt.length>0&&/\S/.test(Rt)&&T.appendChild(new zf(Rt,T,D(Se,Ee)))}Ue===-1?I=c.lastIndex=e.length+1:(I=c.lastIndex=Ue+Ie.length,ee="/")}}if(ee||X||s.isVoidElement($))for(;;)if(L!=null&&($==="a"||$==="A")&&(L=void 0),T.rawTagName===$){T.range[1]=D(-1,Math.max(I,Ae))[1],C.pop(),T=Lp(C);break}else{const Oe=T.tagName;if(MD[Oe]&&MD[Oe][$]){C.pop(),T=Lp(C);continue}const Pe=T.rawTagName?T.rawTagName.toLowerCase():"";if(LD[Pe]){const Se=$.toLowerCase();if(C.length>1){const Le=C[C.length-2];if(Le&&Le.rawTagName&&Le.rawTagName.toLowerCase()===Se&&!LD[Pe][Se]){T.range[1]=D(-1,Math.max(I,Ae))[1],C.pop(),T=Lp(C);continue}}}if(t.closeAllByClosing===!0){let Se;for(Se=C.length-2;Se>=0&&C[Se].rawTagName!==$;Se--);if(Se>=0){for(;C.length>Se;)T.range[1]=D(-1,Math.max(I,Ae))[1],C.pop(),T=Lp(C);continue}}break}}}return C}function Lh(e,t={}){const n=kD(e,t),[o]=n;for(;n.length>1;){const s=n.pop(),l=Lp(n);s.parentNode&&s.parentNode.parentNode&&(s.parentNode===l&&s.tagName===l.tagName?t.parseNoneClosedTags!==!0&&(l.removeChild(s),s.childNodes.forEach(c=>{l.parentNode.appendChild(c)}),n.pop()):t.parseNoneClosedTags!==!0&&(l.removeChild(s),s.childNodes.forEach(c=>{l.appendChild(c)})))}return o}function y3(e){return e.map(t=>typeof t=="string"?new zf(t):(t.remove(),t))}function q0(e,t){return e.map(n=>(n.parentNode=t,n))}function FV(e,t={}){return kD(e,t).length===1}function Ki(e,t={}){return Lh(e,t)}Ki.parse=Lh,Ki.HTMLElement=C5,Ki.CommentNode=QN,Ki.valid=FV,Ki.Node=$1,Ki.TextNode=zf,Ki.NodeType=WN;const BD=({colorVariant:e="ultramarine",cookieLink:t="https://www.20minutes.fr/gestion-cookies",privacyPolicyUrl:n,vendorName:o="20 Minutes (contenus interactifs)"})=>a.jsxs(ye,{className:"cmp-placeholder u-hidden",borderColor:"grey-200",radius:"l",p:"xxl",children:[a.jsxs(Me,{size:"xxl",color:e,mb:"xxl",fontFamily:"source-serif-pro",weight:"semi-bold",children:["L’accès à ce contenu"," ",a.jsx(Me,{as:"span",weight:"bold",children:o})," ","a été bloqué afin de respecter vos choix de consentement"]}),a.jsxs(Me,{size:"l",mb:"m",children:['En cliquant sur "Accepter les cookies", vous consentez au dépôt de cookies par'," ",a.jsx(Me,{as:"span",weight:"bold",children:o})," ","et pourrez ainsi accéder à ce contenu interactif."]}),a.jsx(Me,{size:"l",mb:"m",children:"Vous pouvez, à tout moment, modifier vos choix cookies ou retirer votre consentement en bas de nos pages."}),a.jsxs(Me,{size:"s",mb:"xl",children:["En savoir plus sur notre"," ",a.jsx(Me,{color:e,as:"a",href:t,children:"politique de cookies"}),n&&a.jsxs(a.Fragment,{children:[" ","et sur la"," ",a.jsx(Me,{color:e,as:"a",href:n,children:"politique de confidentialité de ce partenaire"})]}),"."]}),a.jsxs(he,{direction:"row",gap:"m",justifyContent:"center",wrap:"wrap",children:[a.jsx(bn,{className:"cmp-preferences-button",variant:"outlined",children:"Gérer mes préférences"}),a.jsx(bn,{className:"cmp-button",children:"J’accepte les cookies"})]})]}),HV=e=>typeof window>"u"&&typeof Buffer<"u"?Buffer.from(e,"utf-8").toString("base64"):window.btoa(unescape(encodeURIComponent(e))),UV=e=>typeof window>"u"&&typeof Buffer<"u"?Buffer.from(e,"base64").toString("utf-8"):decodeURIComponent(escape(window?.atob(e))),N5=e=>{const n=UV(e).split(":");return n.length===2?n[1]:""},zV=(e,t)=>HV(`${e}:${t}`),qV=["allow","allowfullscreen","class","data-src","frameborder","height","hspace","id","loading","marginheight","marginwidth","mozallowfullscreen","name","referrerpolicy","sandbox","scrolling","src","style","webkitallowfullscreen","width"].join("|"),VV=new RegExp(`\\s+title=(["'])([\\s\\S]*?)\\1(?=\\s+(?:${qV})\\b|\\s*\\/?>)`,"gi"),GV=e=>w2(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;"),PD=e=>e.replace(VV,(t,n,o)=>` title="${GV(o)}"`),Wa=e=>Rh.renderToStaticMarkup(e),vu=e=>Rh.renderToString(e),FD=e=>(Array.from(e.querySelectorAll("[src]")).forEach(n=>{const o=n.getAttribute("src");o&&(n.setAttribute("data-src",o),n.removeAttribute("src"))}),e),HD=e=>(Array.from(e.querySelectorAll("iframe")).forEach(n=>{n.setAttribute("loading","lazy")}),e),{convertFromRaw:KV}=BA,WV=u5.Parser(),QV=u5.ProcessingInstructions(),b3=e=>WV.parseWithInstructions(e,u5.IsValidNodeDefinitions.alwaysValid,QV.defaultProcessingInstructions,[{shouldPreprocessNode:t=>t.name==="iframe"&&!!t.attribs?.referrerpolicy,preprocessNode:t=>{t.attribs?.referrerpolicy&&(t.attribs.referrerPolicy=t.attribs.referrerpolicy,delete t.attribs.referrerpolicy)}}]),x3=(e,t)=>{let n=e,o="";const s=e.match(/<script[\s\S]*?>[\s\S]*?<\/script>/gi);return s?.length===1&&(n=e.replace(s[0],""),o=s[0].replace(t??"<script>",'<script data-script-loading="lazy">')),{html:n,script:o}},YV={twitter:"xtwitter-3cVkYrxq",tiktok:"tiktok-Hd3BqYVJ",facebook:"facebook-FmRQTGkw",instagram:"instagram-RDffthKi",youtube:"youtube-ceZtLYTL",idalgo:"idalgoco-kWpXzcnt",infogram:"infogrami-9QyDJG6i",qualifio:"qualifioj-xJrbdHny",pinterest:"pinterest-9W3hHUNN",spotify:"spotify-bPVhUtPW"},ZV={facebook:{vendorName:"Facebook",privacyPolicyUrl:"https://www.facebook.com/privacy/policy/"},idalgo:{vendorName:"iDalgo",privacyPolicyUrl:"https://www.idalgo.fr/mentions-legales/"},infogram:{vendorName:"Infogram",privacyPolicyUrl:"https://infogram.com/fr/privacy"},instagram:{vendorName:"Instagram",privacyPolicyUrl:"https://privacycenter.instagram.com/policy"},pinterest:{vendorName:"Pinterest",privacyPolicyUrl:"https://policy.pinterest.com/en/privacy-policy"},qualifio:{vendorName:"Qualifio",privacyPolicyUrl:"https://qualifio.com/privacy-policy/"},spotify:{vendorName:"Spotify",privacyPolicyUrl:"https://www.spotify.com/fr/legal/privacy-policy/"},tiktok:{vendorName:"TikTok",privacyPolicyUrl:"https://www.tiktok.com/legal/page/eea/privacy-policy/fr"},x:{vendorName:"X (Twitter)",privacyPolicyUrl:"https://privacy.x.com/en"},twitter:{vendorName:"X (Twitter)",privacyPolicyUrl:"https://privacy.x.com/en"},youtube:{vendorName:"YouTube",privacyPolicyUrl:"https://www.youtube.com/howyoutubeworks/privacy/"}},em=({rawDraftContent:e,pageEndpoint:t="https://www.20minutes.fr",imgEndpoint:n="https://img.20mn.fr",withCmp:o=!0,trimBr:s=!1,subType:l})=>{e.entityMap===void 0&&(e.entityMap={}),e.blocks[0]?.text?.startsWith("«")&&(e.blocks[0].text=e.blocks[0].text.replace(/^«(\s|\xA0)/," «"));const c=KV(e),p=(h,A)=>Wa(be.createElement(XB,{citationText:h,citationAuthor:A,mx:{xs:"m",md:"xxl"}}));let m=zU({styleToHTML:h=>{const A=h.toLowerCase();switch(A){case"italic":return a.jsx(Me,{as:"span",italic:!0});case"bold":return a.jsx(Me,{as:"span",weight:"bold"});case"gray":return a.jsx(Me,{as:"span",color:"grey-500"});case"red":case"blue":case"purple":case"pink":return a.jsx(Me,{as:"span",color:A});default:return null}},blockToHTML:h=>{switch(h.type){case"unordered-list-item":return{start:"<li>",end:"</li>",nest:"<ul>",nestStart:"<ul>",nestEnd:"</ul>"};case"ordered-list-item":return{start:"<li>",end:"</li>",nest:"<ol>",nestStart:"<ol>",nestEnd:"</ol>"};case"blockquote":return p(h.text);case"header-two-unordered":return{start:'<h2 class="c-content__unordered">',end:"</h2>"};case"header-two-ordered":return{start:'<h2 class="c-content__ordered">',end:"</h2>"};case"unstyled":return h.text===""?be.createElement("br"):h.text==="OPT_OUT_PIANO"?Wa(be.createElement(RB,{id:"data-preferences-switch",labelPosition:"after",label:"Mes données de navigation sont collectées à des fins d’analyse statistique"})):null;case"atomic":case"media":return{start:"<unwanted>",end:"</unwanted>"};default:return null}},entityToHTML:(h,A)=>{let w;switch(h.type){case"button":case"LINK":return w=h.data.buttonProps||h.data,be.createElement(Yt,{href:w.url,rel:w.nofollow&&"nofollow"||w.sponsored&&"sponsored"||void 0,target:w.targetBlank?"_blank":void 0,buttonColor:h.type==="button"?"primary":void 0,...h.type==="LINK"&&{defaultColor:"inherit",isUnderlined:!0}},w.label?w.label:w2(A));case"faq":return w=h.data,be.createElement(jf,{index:Number(w.faqProps.content.blocks[0].key),textTitleProps:{children:w.faqProps.title},isOpen:!1,contentWithBorder:!1,bg:"grey-100",iconProps:{color:"ultramarine"}},be.createElement(ye,{className:"c-content"},b3(em({rawDraftContent:w.faqProps.content,pageEndpoint:t}))));case"article":return w=h.data,w.articleProps?Wa(be.createElement(NB,{title:w.articleProps.meta.title,link:w.articleProps.meta.canonical,image:w.articleProps.meta["photo.id"]?`${n}/${w.articleProps.meta["photo.id"]}/%format`:void 0,isTargetBlank:w.isTargetBlank,isNofollow:w.isNofollow,isSponsored:w.isSponsored,isInArticle:!0})):A;case"html":{if(w=h.data,!w.htmlProps)return A;const{html:_,script:D}=x3(w.htmlProps.html);return Wa(be.createElement("div",{dangerouslySetInnerHTML:{__html:`${_.trim()} ${D}`}}))}case"image":{w=h.data;let{src:_}=w.imageProps;if(w.imageProps?.meta?.host&&w.imageProps?.meta?.id){let{host:D}=w.imageProps.meta;D.endsWith("/")||(D=`${D}/`),_=`${D}${N5(w.imageProps.meta.id)}/%format`;const{topleft_x:S,topleft_y:T,width_ratio:C}=w?.imageProps?.meta?.crop??{};S&&T&&C&&(_=`${_}-${S}x${T}-${C}`)}return Wa(be.createElement(kd,{type:fu.photo,src:_,imgProps:{defaultFormat:"718x0",formats:["590x0","342x0","211x0"],sizes:"(min-width: 1640px) 718px, (min-width: 1440px) calc(40vw + 70px), (min-width: 1080px) 590px, (min-width: 780px) calc(88.57vw - 349px), (min-width: 660px) calc(100vw - 414px), 211px"},caption:w.imageProps.meta?.caption,credits:w.imageProps.meta?.credit,source:w.imageProps.meta?.source,...w.imageProps.width?{style:{maxWidth:w.imageProps.width,width:"100%"}}:{}}))}case"digiteka":{if(w=h.data,!w.videoProps)return A;let{html:_}=w.videoProps;return _=PD(_),l&&["production","publicommunique","magazine"].includes(l)&&(_=_.replace("/zone/1/","/zone/17/").replace("/zone/11/","/zone/17/")),Wa(be.createElement(LB,{html:_}))}case"podcast":{if(w=h.data,!w.podcastProps?.html)return A;const{html:_,script:D}=x3(w.podcastProps.html);return Wa(be.createElement(kd,{type:fu.podcast,src:`${_} ${D}`,className:"embed-wrapper u-hidden"}))}case"iframely":{if(w=h.data,!w.embedProps||!w.embedProps.html&&h.data.embedProps.meta?.site?.toLowerCase()!=="twitch")return A;let{html:_}=w.embedProps;const{meta:D}=w.embedProps;let S="";if(D?.site?.toLowerCase()==="infogram"){const{html:H,script:W}=x3(_);_=H,S=W}if(D?.site?.toLowerCase()==="qualifio"){const{html:H,script:W}=x3(_,'<script type="text/javascript">');_=H,S=W}if(D?.site?.toLowerCase()==="twitch"){const H=/([^/]+$)/.exec(D.canonical);H&&(_=`<iframe src="https://player.twitch.tv/?video=${H[0]}&parent=${new URL(t).host}&autoplay=false" title='Twitch embed' width='100%' height='350px' style={{ position: 'absolute', top: 0, left: 0 }}/>`)}if(!o)return Wa(be.createElement(e6,{html:`${_}${S}`}));let T=Ki.parse(_);T=FD(T),T=HD(T);let C=be.createElement(e6,{key:D?.title,html:`${T}${S}`});D?.site==="idalgo"&&D?.type==="widget"&&(C=be.createElement(v6,{key:D?.title,src:D?.canonical||""}));let I="embed-placeholder",L,P;if(D?.site){const H=D.site.toLowerCase();I=`embed-placeholder u-placeholder-${H}`,L=YV[H],P=ZV[H]}const q={className:I};return L&&(q["data-vendor"]=L),Wa(be.createElement("div",q,be.createElement("div",{className:"embed-wrapper u-hidden"},C),be.createElement(BD,P)))}case"quote":return p(h.data.quoteProps.value,h.data.quoteProps.author);case"flinkRelatedContent":return"";case"table":{w=h.data;const _=S=>{const T={blocks:S.blocks,entityMap:S.entityMap};return b3(em({rawDraftContent:T,pageEndpoint:t}))},D=w.tableProps.rows.map(S=>S.cells.map(T=>_(T)));return Wa(be.createElement(TP,{hasHeader:w.tableProps.hasHeader,tableProps:D}))}default:return A}},validateHTML:h=>{try{return vu(b3(h)),!0}catch(A){return A instanceof Error?console.warn(`HTML for the block is not valid: ${A.message}`):console.warn("HTML for the block is not valid"),!1}}})(c);return m=m.replaceAll(/<\/?unwanted>/gi,""),s&&(m=m.replaceAll(/<br\/>/gi," ")),m},Kd=({rawDraftContent:e,pageEndpoint:t="https://www.20minutes.fr",imgEndpoint:n="https://img.20mn.fr",withCmp:o=!0,trimBr:s=!1,subType:l})=>b3(em({rawDraftContent:e,pageEndpoint:t,imgEndpoint:n,withCmp:o,trimBr:s,subType:l})),UD=({summary:e,...t})=>e?a.jsx(MB,{...t,summary:Kd({rawDraftContent:e,trimBr:!0})}):null,A3=({headingProps:e,layout:t,tags:n,sponsor:o,...s})=>{const l=a.jsxs(a.Fragment,{children:[a.jsx(c2,{...e,as:"h2",size:{xs:"s",md:"m"},px:{xs:"m",md:"0"},...!e.iconProps&&{textAlign:{xs:"center",md:"left"}},...!!e.iconProps&&t===ve.MOBILE&&{isCentered:!0}}),n&&n.length>0&&a.jsx(o6,{layout:t,tags:n?.map((c,p)=>p===0?{...c,ml:{xs:"m",md:"0"}}:c),mt:{xs:"l",md:"0"}}),o&&a.jsx(N0,{sponsor:o,size:t===ve.MOBILE?"m":"xl",hasText:!0,justifyContent:"end",alignItems:"center",gap:{xs:"xxs",md:"s"},mt:{xs:"m",md:"0"},px:{xs:"m",md:"0"}})]});return t===ve.DESKTOP?a.jsx(he,{justifyContent:"between",alignItems:"center",gap:"m",...s,children:l}):a.jsx(ye,{...s,children:l})},zD=({signsContent:e,layout:t=ve.MOBILE})=>a.jsx(a.Fragment,{children:e.map((n,o)=>a.jsxs(be.Fragment,{children:[a.jsx(W_,{title:n.heading.title,subtitle:n.heading.subtitle,icon:n.heading.icon,bg:"grey-50",color:"black",mx:{xs:"m",md:"0"},mb:{xs:"0",md:"l"},p:"0"}),n.topics.map((s,l)=>a.jsxs(be.Fragment,{children:[a.jsx(H_,{icon:s.icon,title:s.title,content:s.content,mx:{xs:"m",md:"0"}}),l!==n.topics.length-1&&a.jsx(wn,{color:"grey-200",my:{xs:"0",md:"l"},mx:{xs:"m",md:"0"}})]},`${s.title}-${l}`)),a.jsx(he,{justifyContent:"center",my:{xs:"xs",md:"l"},children:a.jsx(Yt,{buttonColor:"primary",variant:"outlined",href:n.link.href,children:n.link.children})}),o===2&&a.jsx(m6,{}),o===2&&a.jsx(Ce,{adUnitCompletePath:t===ve.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/pave_home",variant:"ARTICLE"}),o===5&&a.jsx(Ce,{adUnitCompletePath:t===ve.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_2":"/49926454/20minutes_desktop/divers/pave_home",variant:"ARTICLE"}),o===8&&a.jsx(Ce,{adUnitCompletePath:t===ve.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_3":"/49926454/20minutes_desktop/divers/pave_home",variant:"ARTICLE"}),o===11&&t===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_4",variant:"ARTICLE"}),o!==e.length-1&&a.jsx(wn,{mx:{xs:"m",md:"0"},color:"ultramarine",mb:"l"})]},`${n.heading.title}-${o}`))}),qD=({linksProps:e})=>a.jsx(he,{direction:"column",gap:"m",className:"u-fit-content",children:e.map(t=>a.jsx(Yt,{...t},t.href))});var D5={exports:{}};var VD;function $V(){return VD||(VD=1,(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var l="",c=0;c<arguments.length;c++){var p=arguments[c];p&&(l=s(l,o(p)))}return l}function o(l){if(typeof l=="string"||typeof l=="number")return l;if(typeof l!="object")return"";if(Array.isArray(l))return n.apply(null,l);if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]"))return l.toString();var c="";for(var p in l)t.call(l,p)&&l[p]&&(c=s(c,p));return c}function s(l,c){return c?l?l+" "+c:l+c:l}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(D5)),D5.exports}var JV=$V();const ko=Qy(JV),R5=({src:e,withShadow:t=!1,halfOpacity:n=!1,...o})=>a.jsxs("div",{className:ko("o-page__background-container",{"o-page__background-container--with-shadow":t}),children:[a.jsx("img",{className:ko("o-page__background-img",{"o-page__background-img--with-shadow":t,"o-page__background-img--half-opacity":n}),alt:"Background",src:e,...o}),t&&a.jsx("div",{className:"o-page__background-shadow"})]}),XV=({layout:e,link:t,title:n,cardHeaderProps:o,...s})=>e&&t&&n&&o?a.jsx(u2,{...s,layout:e,link:t,title:n,cardHeaderProps:o}):null,tm=({content:e,pageEndpoint:t,imgEndpoint:n,colorScheme:o="ultramarine",disableLettering:s=!1,subType:l,...c})=>a.jsx(ye,{...c,className:ko("c-content",{[`c-content--theme-${o}`]:!!o,"c-content--text-with-lettering":!s&&e.blocks[0]?.text.length>60}),children:Kd({rawDraftContent:e,pageEndpoint:t,imgEndpoint:n,subType:l})}),GD=({name:e,description:t,link:n,icon:o,layout:s,...l})=>a.jsxs(_a,{as:"a",href:n,...l,children:[s===ve.MOBILE&&e,a.jsxs(he,{alignItems:{xs:"start",md:"center"},justifyContent:{xs:"center",md:"start"},className:"opacity-hover",children:[a.jsx(or,{bg:"white",isRounded:!0,name:o.name,size:o.size||s===ve.DESKTOP&&20||30,color:"grey-900",p:"xs",mr:{xs:"0",md:"xxs"},mb:{xs:"xs",md:"0"}}),s===ve.DESKTOP&&t]}),s===ve.MOBILE&&t]}),O5=({iconSize:e,layout:t,...n})=>a.jsxs(he,{...n,bg:"ultramarine",p:{xs:"xxs",md:"xs"},justifyContent:{xs:"evenly",lg:"start"},children:[a.jsx(GD,{basis:{xs:50,lg:"auto"},icon:{name:"game",size:e},name:a.jsx(Me,{size:{xs:"s",md:"m"},weight:"bold",color:"white",mb:"xs",textAlign:"center",children:"Jeux"}),description:a.jsxs(Me,{size:"xs",color:"white",fontFamily:"source-serif-pro",textAlign:{xs:"center",md:"left"},children:["Voir les",t===ve.DESKTOP?a.jsx("br",{}):" ",Object.values(p6).length," jeux"]}),link:"https://www.20minutes.fr/services/jeux",layout:t,id:"entertainment-item-game"}),a.jsx(_a,{mx:"m",py:"xs",children:a.jsx(Zy,{color:"white"})}),a.jsx(GD,{basis:{xs:50,lg:"auto"},icon:{name:"horoscope",size:e},name:a.jsx(Me,{size:{xs:"s",md:"m"},weight:"bold",color:"white",mb:"xs",textAlign:"center",children:"Horoscope"}),description:a.jsxs(Me,{size:"xs",color:"white",fontFamily:"source-serif-pro",textAlign:{xs:"center",md:"left"},children:["Voir mon",t===ve.DESKTOP?a.jsx("br",{}):" ","horoscope"]}),link:"https://www.20minutes.fr/horoscope/",layout:t,id:"entertainment-item-horoscope"})]}),I5=({faqData:e,pageEndpoint:t})=>a.jsx(a.Fragment,{children:e.map(n=>a.jsx(jf,{index:n.index,...n.tag?{textTitleProps:{as:n.tag,size:{xs:"m",md:"l"},my:"xs",children:n.title}}:{headingTitleProps:{my:"xs",children:n.title}},contentWithBorder:!1,bg:"grey-100",btnProps:{py:"xxs-3"},iconProps:{color:"ultramarine"},mb:"l",children:a.jsx(tm,{content:n.children,pageEndpoint:t,disableLettering:!0})},n.index))}),KD=({enableAccordion:e,items:t,contentProps:n,heading:o={as:"h2"},...s})=>!t||t?.length===0?null:e?a.jsx(Pg,{...s,items:t,contentProps:n}):a.jsx(he,{direction:"column",gapX:"m",mx:{xs:"m",md:"0"},children:t.map(l=>be.createElement(he,{...s,key:l.title,direction:"column",gapX:"s"},a.jsx(Wr,{size:"xs",color:"black",weight:"semi-bold",...o,children:l.title}),a.jsx(n9,{...n,content:l.content})))}),WD=({game:e,reportContent:t,...n})=>a.jsxs(ye,{...n,as:"section",px:"m",py:{xs:"m",md:"s"},bg:"grey-100",children:[a.jsxs(Me,{as:he,direction:{xs:"column",md:"row"},alignItems:{xs:"start",md:"center"},gap:"xxs",weight:"bold",size:"m",children:[a.jsx("span",{children:`Un problème dans le jeu ${e} ?`}),a.jsx(bn,{as:"button",id:"game-help-button",variant:"link",children:"J'ai besoin d'aide"})]}),t&&a.jsxs(Me,{mt:"m",children:["Ce jeu a été généré automatiquement à partir d’articles publiés sur 20 Minutes. Si vous constatez une erreur, vous pouvez nous la signaler à l’adresse :"," ",a.jsx(Yt,{href:"mailto:correctif@20minutes.fr",isUnderlined:!0,children:"correctif@20minutes.fr"})]})]}),QD=({colorVariant:e="ultramarine",cookieLink:t="https://www.20minutes.fr/gestion-cookies"})=>a.jsxs(ye,{className:"cmp-placeholder u-hidden",borderColor:"grey-200",radius:"l",p:"xxl",children:[a.jsx(Wr,{size:"s",color:e,mb:"xxl",fontFamily:"source-serif-pro",weight:"semi-bold",children:"L'accès aux jeux a été bloqué afin de respecter votre consentement"}),a.jsxs(Me,{size:"l",mb:"m",children:["En cliquant sur",a.jsx(Me,{weight:"bold",as:"span",ml:"xxs",children:"« J’accepte les cookies »"}),", vous consentez le dépôt de cookies permettant l'activation des services interactifs proposés par des tiers, et pourrez ainsi accéder à l'ensemble des contenus interactifs disponibles sur 20 Minutes (jeux-concours, quiz, sondages…)."]}),a.jsx(Me,{size:"l",mb:"m",children:"Vous pouvez, à tout moment, modifier vos choix cookies ou retirer votre consentement en bas de nos pages."}),a.jsxs(Me,{size:"s",mb:"m",children:["En savoir plus sur",a.jsx(Me,{color:e,as:"a",href:t,mx:"xxs",children:"notre politique de cookies"})]}),a.jsxs(he,{justifyContent:"center",gap:"m",children:[a.jsx(bn,{className:"cmp-game-preferences-button",variant:"outlined",children:"Gérer mes préférences"}),a.jsx(bn,{className:"cmp-game-button",children:"J'accepte les cookies"})]})]}),j5=({children:e})=>a.jsxs("div",{className:"c-game-placeholder",children:[a.jsx("div",{className:"js-game-wrapper u-hidden",children:e}),a.jsx(QD,{}),a.jsx(ye,{my:"m",className:"js-game-alert u-hidden",children:a.jsx(A_,{variant:"warning",fill:!0,iconProps:{name:"info",size:20},title:"Les jeux ne se chargent pas sur Firefox ?",description:`Vérifiez que la "Protection renforcée contre le pistage" est bien désactivée sur la page, accessible depuis l'icône bouclier, à gauche de l'URL.`})})]}),M5=({id:e,name:t,type:n,src:o,keesingType:s,keesingId:l,keesingGame:c,enableAds:p},...m)=>{const h=["421","buzz","quiz"],A={player:"https://web.keesing.com/pub/player/v2.25.2/dist/",portal:"https://web.keesing.com/pub/portal/v2.25.2/dist/",js:"https://web.keesing.com/pub/bundle-loader/bundle-loader.js",css:`https://web.keesing.com/pub/config/${p?"20minutes":"20minutespremium"}/css/custom_client.css`};return o&&h.includes(e)?a.jsx(j5,{children:a.jsx("div",{id:"loginwall",children:a.jsx(xB,{title:t,htmlIframeProps:{src:o},mb:"l",className:`c-game c-game--${e}`,...m})})}):n==="Arcade"&&h.includes(e)?a.jsx(j5,{children:a.jsxs("div",{id:"loginwall",children:[a.jsx("link",{rel:"stylesheet","data-href":A.css}),a.jsx("div",{id:"puzzle-portal",className:`game game-${t}`,"data-customerid":p?"20minutes":"20minutespremium","data-gametype":`CG_${c}`,"data-puzzleid":`CG_${c}`,"data-publicpath":s==="player"?A.player:A.portal}),a.jsx("script",{type:"text/javascript","data-src":A.js,"data-wlpp-bundle":s??"portal"})]})}):!s||!c?null:a.jsx(j5,{children:a.jsxs("div",{id:"loginwall",children:[a.jsx("link",{rel:"stylesheet","data-href":A.css}),h.includes(e)?a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"puzzle-portal","data-customerid":p?"20minutes":"20minutespremium","data-portalview":c??"","data-publicpath":s==="player"?A.player:A.portal}),a.jsx("script",{type:"text/javascript","data-src":A.js,"data-wlpp-bundle":s??"portal"})]}):a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"puzzle-portal","data-customerid":p?"20minutes":"20minutespremium","data-gametype":s==="portal"?c:`CG_${c}`,"data-puzzleid":s==="portal"?`${l??c}_today`:`CG_${c}`}),a.jsx("script",{type:"text/javascript","data-wlpp-bundle":"player","data-src":A.js})]})]})})},L5=({games:e,...t})=>a.jsxs(he,{direction:"column",gap:"m",...t,children:[a.jsx(Me,{size:{xs:"l",md:"xl"},weight:"bold",children:e[0].category}),e.map(n=>a.jsx(_a,{as:Yt,href:n.url,color:"black",size:{xs:"s",md:"m"},align:"start",children:n.name},n.url))]}),k5=({games:e,colsNumber:t,...n})=>{const o=s=>e.filter(l=>l.category===s).sort((l,c)=>l.name.localeCompare(c.name));return a.jsx(jf,{index:0,textTitleProps:{children:"Voir tous les jeux",whiteSpace:"nowrap",pr:"xxl-2"},contentWithBorder:!1,bg:"grey-100",btnProps:{pl:"xl",py:"xxs-3"},iconProps:{color:"ultramarine"},contentProps:{py:"l",bg:"grey-100"},isDropdown:!0,...n,children:a.jsxs(Oi,{colsNumber:t??{xs:1,md:3},gap:"m",children:[a.jsx(L5,{games:o("Jeux de lettres"),mb:{xs:"xs",md:"0"}}),a.jsx(L5,{games:o("Jeux de chiffres"),mb:{xs:"xs",md:"0"}}),a.jsx(L5,{games:o("Jeux inclassables")})]})})},eG=e=>e.replace(/(<([^>]+)>)/gi,"").length,E3=({label:e,items:t,...n})=>a.jsx(jf,{index:0,textTitleProps:{children:e,pr:"xxl-2"},contentWithBorder:!1,bg:"grey-100",btnProps:{pl:"xl",py:"xxs-3"},iconProps:{color:"ultramarine"},contentProps:{py:"l",bg:"grey-100"},isDropdown:!0,...n,children:a.jsx(Oi,{colsNumber:1,gap:"m",children:a.jsx(he,{direction:"column",gap:"m",children:t.map(o=>a.jsx(_a,{as:Yt,href:o.url,color:"black",size:{xs:"s",md:"m"},align:"start",children:o.title},o.url))})})}),Xo=({subtitle:e,isExpandable:t,dropdown:n,...o})=>{if(e&&typeof e!="string"){const s=Kd({rawDraftContent:e}),l=eG(vu(s));return a.jsxs(a.Fragment,{children:[a.jsx(Al,{...o,isExpandable:l>200,subtitle:l>0?s:null,rightAsideElement:n&&o.layout===ve.DESKTOP?a.jsx(E3,{...n}):void 0}),n&&o.layout===ve.MOBILE&&a.jsx(E3,{mb:"l",...n})]})}return a.jsxs(a.Fragment,{children:[a.jsx(Al,{...o,isExpandable:t===void 0?!!(e&&e.length>200):t,subtitle:e,rightAsideElement:n&&o.layout===ve.DESKTOP?a.jsx(E3,{...n}):void 0}),n&&o.layout===ve.MOBILE&&a.jsx(E3,{mb:"l",...n})]})},YD=({images:e,...t})=>!e||e?.length===0?null:a.jsx(Oi,{as:"section",colsNumber:{xs:3,md:5},gap:{xs:"xxs",md:"xl"},...t,children:e.map((n,o)=>a.jsx("a",{href:n.link,children:a.jsx(Ap,{src:n.cover,alt:n.title})},`${n.cover}-${o}`))}),_3=({description:e,hasInfoButton:t,...n})=>{if(!e)return null;const o=t?a.jsxs("p",{children:["Cet texte a été généré automatiquement sur la base des données fournies par l'INSEE et les pages Wikipédia des communes. En cas d'erreur, vous pouvez nous contacter à"," ",a.jsx(Yt,{href:"mailto:correctif@20minutes.fr",isUnderlined:!0,children:"correctif@20minutes.fr"})]}):void 0;return typeof e!="string"?a.jsx(Tg,{...n,description:Kd({rawDraftContent:e}),infoButton:o}):a.jsx(Tg,{...n,description:e,infoButton:o})},ZD=({infosContent:e,layout:t=ve.MOBILE})=>{const n=a.jsx(a.Fragment,{children:e.map(o=>a.jsxs(he,{gap:"xxs",alignItems:"center",mb:{xs:"xl",md:"0"},children:[a.jsx(or,{mr:"xxs",size:30,...o.iconOptions}),a.jsxs(Me,{size:"l",as:"span",weight:"bold",children:[o.title,!o.rating&&a.jsxs(Me,{as:"span",color:"ultramarine",size:"m",weight:"regular",children:[" ",o.information]})]}),o.rating&&a.jsx(L_,{rating:o.rating})]},o.title))});return t===ve.DESKTOP?a.jsx(Oi,{colsNumber:{xs:void 0,sm:2},gap:"xl",my:"l",children:n}):n},w3=({articles:e,seeMoreButton:t,layout:n,...o})=>{const{variablesForQuery:s,...l}=o;return a.jsxs(ye,{...l,children:[e.map((c,p)=>{const m=`lastArticleKey${p}`,h=p===e.length-1;return a.jsxs(be.Fragment,{children:[a.jsx(q_,{...c,px:{xs:"m",md:"0"},cardTitleProps:{weight:"semi-bold",maxRows:n===ve.MOBILE?void 0:3,...c.cardTitleProps}}),!h&&a.jsx(wn,{color:"grey-200",my:"s"}),p===10&&n===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),p===20&&n===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"}),(p===10||p===20)&&n===ve.MOBILE&&a.jsx(wn,{color:"grey-200",my:"s"})]},m)}),t&&a.jsx(bn,{...t,color:"primary",variant:"outlined",mx:"auto",mt:"s"})]})},S3=({legalNotices:e,seeMoreLegalNotices:t,...n})=>e.length===0?null:a.jsxs(ye,{...n,children:[e.map((o,s)=>a.jsxs(be.Fragment,{children:[a.jsx(YB,{...o,linkProps:{children:"Lire l’annonce"}}),a.jsx(wn,{my:"l",color:"grey-200"})]},`${o.link}-${s}`)),t&&a.jsx(bn,{color:"primary",variant:"outlined",mx:"auto",mt:"xl",...t})]}),$D=({location:e,header:t,surtitle:n,title:o,date:s,linkLogo:l,description:c,linkPDF:p,linkNotice:m,signature:h,...A})=>a.jsxs(ye,{...A,as:"section",children:[a.jsxs(ye,{mb:"s",children:[a.jsxs(he,{color:"ultramarine",children:[a.jsx(or,{name:"local",size:13,mr:"xxs-2",mb:"xxs-2"}),a.jsx(Me,{size:"xxs",weight:"bold",textTransform:"uppercase",children:e})]}),a.jsx(Wr,{size:"xs",children:t}),a.jsx(Wr,{size:"xs",children:n}),a.jsx(Wr,{size:"xs",children:o}),a.jsxs(Me,{as:"time",size:"s",color:"grey-400",dateTime:s,children:["Publié le ",f6(s)]})]}),l&&a.jsx(ye,{as:"img",src:l,mb:"s",style:{maxWidth:"100px",maxHeight:"100px"}}),c&&a.jsx(Me,{size:"m",mb:"xxl",dangerouslySetInnerHTML:{__html:c}}),h&&a.jsx(Me,{italic:!0,mb:"xxl",children:h}),p&&a.jsx(Yt,{buttonColor:"primary",href:p,target:"_blank",mr:"m",mb:"m",children:"Télécharger le justificatif en PDF"}),m&&a.jsx(Yt,{buttonColor:"primary",variant:"outlined",href:m,target:"_blank",children:"Télécharger la notice"})]}),B5=({updatedAt:e,...t})=>a.jsx(X_,{...t,...e&&{updatedAt:l6(e)}}),O2=({cardOverviewProps:e,...t})=>{if(e.length<=0)return null;const n=a.jsx(a.Fragment,{children:e.map((o,s)=>be.createElement(n6,{...o,key:o.title,mb:s!==e.length-1?"m":"0",variant:"big",cardHeaderProps:{headline:{text:"Live",bg:"red"},hasDot:!0}}))});return Object.keys(t).length===0?n:a.jsx(ye,{...t,children:n})},JD=({draftContent:e,pageEndpoint:t,imgEndpoint:n,withCmp:o=!0})=>{const s=be.useRef(null);return be.useEffect(()=>{const l=em({rawDraftContent:e,pageEndpoint:t,imgEndpoint:n,withCmp:o}),c=document.createRange().createContextualFragment(l);s.current&&(s.current.innerHTML="",s.current.appendChild(c))},[e,n,t,o]),a.jsx(ye,{ref:s,mt:"s",className:"c-content",children:Kd({rawDraftContent:e,pageEndpoint:t,imgEndpoint:n,withCmp:o})})},XD=({currentTab:e})=>a.jsxs(he,{className:"c-tablist",mb:"l",gap:"l",px:{xs:"m",md:"0"},children:[a.jsx(Yt,{whiteSpace:"nowrap",href:"/arts-stars/cinema/film-au-cinema-en-ce-moment",tabVariant:"primary",tabColor:"entertainment",tabIsSelected:e==="in_theaters",children:"A l'affiche"}),a.jsx(Yt,{whiteSpace:"nowrap",href:"/arts-stars/cinema/sortie-cinema-de-la-semaine",tabVariant:"primary",tabColor:"entertainment",tabIsSelected:e==="last_releases",children:"Sorties de la semaine"}),a.jsx(Yt,{whiteSpace:"nowrap",href:"/arts-stars/cinema/prochaine-sortie-cinema",tabVariant:"primary",tabColor:"entertainment",tabIsSelected:e==="soon",children:"Prochainement"})]}),I2=({buttonLabel:e,title:t,url:n,...o})=>a.jsxs(he,{alignItems:"center",justifyContent:"between",gap:{xs:"xs",md:"m"},py:"s",px:"xxl",direction:{xs:"column",md:"row"},bg:"ultramarine",...o,children:[a.jsx(Me,{as:"h2",color:"white",size:"xl",weight:"bold",textAlign:{xs:"center",md:"left"},children:t}),a.jsx(Yt,{buttonColor:"primary",variant:"outlined",href:n,target:"_blank",children:e})]}),tG=()=>/Android/i.test(navigator.userAgent),rG=typeof window<"u"&&navigator.userAgent.toLowerCase().includes("firefox"),nG=()=>{const e=document.getElementById("js-download-band");e&&tG()&&e.setAttribute("href","https://app.adjust.com/15shf6wg?campaign=Bandeau_1&deep_link=20minutes%3A%2F%2Fhome")},aG=()=>{const e=document.querySelector("#js-election-selector");e&&e.addEventListener("change",t=>{window.location.replace(t.target.value)})},iG=()=>{const e=document.querySelector(".c-search-banner");if(!e)return;const t=document.getElementById("js-search-banner-expand-button");if(t instanceof HTMLButtonElement){if(t.hasAttribute("data-search-banner-listener-attached"))return;const n=e.querySelector("[data-search-banner-expanded-source]"),o=e.querySelector("[data-search-banner-collapse]");if(!n||!o)return;t.setAttribute("data-search-banner-listener-attached","true"),t.addEventListener("click",()=>{n.getAttribute("aria-expanded")==="true"?(n.setAttribute("aria-expanded","false"),o.setAttribute("aria-hidden","true")):(n.setAttribute("aria-expanded","true"),o.setAttribute("aria-hidden","false"))})}},oG=[{text:"Paris",_index:"town_1717424751904",_id:"75056",_score:1,_source:{output:"Paris (75000)",url:"/elections/resultats/paris/paris-75000"}},{text:"Paris 10ème Arrondissement",_index:"town_1717424751904",_id:"75056AR10",_score:1,_source:{output:"Paris 10ème Arrondissement (75010)",url:"/elections/resultats/paris/paris-75010"}},{text:"Paris 11ème Arrondissement",_index:"town_1717424751904",_id:"75056AR11",_score:1,_source:{output:"Paris 11ème Arrondissement (75011)",url:"/elections/resultats/paris/paris-75011"}}],sG=(e,t,n,o,s,l)=>{const c=document.getElementById(e);if(!c)return;const p=c.dataset.storybook,m=c.querySelector(`#${e}-search`),h=m?.getAttribute("data-api-url"),A=c.querySelector(".c-autocomplete__menu");if(!m||!A||!h)return;const w=c.querySelector(".c-autocomplete__input-spinner"),_=m.getAttribute("data-trigger-message"),D=async P=>{try{const q=p&&t.includes("20minutes.fr")?oG:await fetch(`${h}${n}${encodeURIComponent(P)}`).then(W=>W.json()),H=l&&typeof q=="object"&&q!==null?q[l]:q;return Array.isArray(H)?H:[]}catch(q){return console.error("Error fetching autocomplete results:",q),[]}},S=(P,q)=>{const H=document.createElement("li");H.id=`/${P}`,H.textContent=q,H.addEventListener("click",()=>{m instanceof HTMLInputElement&&(m.value=q,A.classList.add("u-hidden"))}),A.appendChild(H)},T=()=>{w?.classList.toggle("u-hidden")},C=()=>{const P=document.createElement("li");P.textContent=_,A.appendChild(P)},I=async P=>{T(),A.classList.remove("u-hidden");const q=await D(P);A.innerHTML="",q.length===0&&A.classList.add("u-hidden"),q.forEach(H=>{S(H[o],H[s])}),T()},L=P=>{if(!(P.target instanceof HTMLInputElement))return;const q=P.target.value;A.classList.remove("u-hidden"),q.length>=3?I(q):(A.innerHTML="",C())};m.addEventListener("input",L),m.addEventListener("focusout",()=>{setTimeout(()=>A.classList.add("u-hidden"),300)}),m.addEventListener("focusin",()=>{A.childElementCount>0&&A.classList.remove("u-hidden")})},uG=e=>{e.stopImmediatePropagation(),e.preventDefault();const t=e.currentTarget;if(t instanceof HTMLButtonElement){const n=t.parentElement?.querySelector(`#${t.getAttribute("aria-controls")}`);t.getAttribute("aria-expanded")==="true"?(t.setAttribute("aria-expanded","false"),n?.setAttribute("aria-hidden","true")):(t.setAttribute("aria-expanded","true"),n?.setAttribute("aria-hidden","false"))}},lG=(e=document.querySelector(".js-collapse__button"))=>{e&&document.querySelectorAll(".c-collapse__button").forEach(t=>{t.addEventListener("click",n=>{uG(n)})})},cG="[data-countdown][data-countdown-end-date]",dG=e=>{const t=e.querySelector(".js-countdown-days"),n=e.querySelector(".js-countdown-hours"),o=e.querySelector(".js-countdown-minutes"),s=e.querySelector(".js-countdown-seconds");return!t||!n||!o||!s?null:{daysElement:t,hoursElement:n,minutesElement:o,secondsElement:s}},eR=(e,t)=>{const n=e-Date.now();if(n<=0)return!1;const o=Math.floor(n/(1e3*60*60*24)),s=Math.floor(n%(1e3*60*60*24)/(1e3*60*60)),l=Math.floor(n%(1e3*60*60)/(1e3*60)),c=Math.floor(n%(1e3*60)/1e3);return t.daysElement.textContent=o.toString(),t.hoursElement.textContent=s.toString(),t.minutesElement.textContent=l.toString(),t.secondsElement.textContent=c.toString(),!0},fG=()=>{document.querySelectorAll(cG).forEach(e=>{const t=e.dataset.countdownEndDate,n=t?new Date(t).getTime():Number.NaN,o=dG(e);if(!o)return;if(Number.isNaN(n)){e.remove();return}if(!eR(n,o)){e.remove();return}const s=setInterval(()=>{eR(n,o)||(clearInterval(s),e.remove())},1e3)})},pG=e=>{const t=e.getBBox(),n=t.width/20;return[t.x-n,t.y-n,t.width+n*2,t.height+n*2].join(" ")},hG=()=>{const e=document.querySelector(".c-map-districts-container"),t=document.querySelector(".c-map-districts");if(!e||!t)return;const n=document.querySelector(".c-map-districts-container__description"),o=document.querySelector(".c-map-districts-container__department"),s=document.querySelector(".c-map-districts-container__unzoom-button");let l=t;const c=t.getAttribute("viewBox"),p=(D,S)=>D.matches?.call(D,S),m=(D,S,T=".c-map-districts__zoomable:not(.js-selected-area)")=>{if(!D)return;let C,I=D.parentElement;for(;I instanceof SVGGraphicsElement&&I!==S;)p(I,T)&&(C=I),I=I.parentElement;return C},h=(D,S,T)=>{if(!D)return;let C=D.parentElement;for(;C instanceof SVGGraphicsElement&&C!==T;){if(S===C)return!0;C=C.parentElement}return T===S},A=(D,S)=>{if(S&&s&&n){e.classList.remove("c-map-districts-container--department-view"),n.classList.remove("u-hidden"),o?.classList.add("u-hidden"),s.classList.add("u-hidden"),S!==c&&(n.classList.add("u-hidden"),s.classList.remove("u-hidden")),l.classList.remove("js-selected-area"),l=D;const T=l.getAttribute("data-info");o&&T&&(e.classList.add("c-map-districts-container--department-view"),o.classList.remove("u-hidden"),o.innerHTML=T),l.classList.add("js-selected-area"),t.setAttribute("viewBox",S)}},w=D=>{D.stopPropagation();const S=D.currentTarget;if(l&&t&&S instanceof SVGGraphicsElement){if(S===l)return;if(D.preventDefault(),l!==t&&!h(S,l,t)){A(t,c);return}const T=m(S,l);A(T||S,pG(T||S))}},_=()=>{t&&l!==t&&A(t,c)};t.addEventListener("click",_),s&&s.addEventListener("click",_),document.querySelectorAll(".c-map-districts__zoomable").forEach(D=>{D.addEventListener("click",S=>w(S))})},mG=()=>{const e=document.getElementById("elections-form-search"),t=document.querySelector(".c-search-form__autocomplete");if(!e||!t)return;const n=l=>{t.classList.remove("u-hidden");const c=t.querySelectorAll("li"),p=[];return c.forEach(m=>{m.querySelector("a")?.innerHTML.toLowerCase().includes(l.toLowerCase())&&p.push(m.innerHTML)}),p},o=l=>{t.innerHTML+=`<li>${l}</li>`},s=({target:l})=>{if(!(l instanceof HTMLInputElement))return;const c=l.value;if(t.classList.add("u-hidden"),c.length>=3){const p=n(c);t.innerHTML="",p.length===0&&t.classList.add("u-hidden"),p.forEach(m=>{o(m)})}};e.addEventListener("input",s),e.addEventListener("focusout",()=>{setTimeout(()=>t.classList.add("u-hidden"),300)}),e.addEventListener("focusin",()=>{t.childElementCount>0&&t.classList.remove("u-hidden")})},vG=(e,t)=>{e.setAttribute("aria-expanded","true"),e.parentNode?.querySelectorAll(".js-ellipsis-target")?.forEach(o=>{o.classList.remove(t)});const n=e.querySelector(".js-ellipsis-button__label");n instanceof HTMLSpanElement&&(n.innerHTML="Voir moins")},gG=(e,t)=>{e.parentNode?.querySelectorAll(".js-ellipsis-target")?.forEach(o=>{o.classList.add(t)}),e.setAttribute("aria-expanded","false");const n=e.querySelector(".js-ellipsis-button__label");n instanceof HTMLSpanElement&&(n.innerHTML="Voir plus")},yG=(e,t)=>{const n=e.currentTarget;if(e.preventDefault(),n instanceof HTMLButtonElement){const o=t?"u-ellipsis-multiline":"u-ellipsis";return n.getAttribute("aria-expanded")==="true"?gG(n,o):vG(n,o)}return null},bG=(e=document.querySelector(".js-ellipsis-button"))=>{e&&document.querySelectorAll(".js-ellipsis-button").forEach(t=>{const n=t.getAttribute("data-multiple")==="true";t.addEventListener("click",o=>yG(o,n))})},xG=e=>{e.setAttribute("aria-expanded","true"),e.parentNode?.querySelectorAll(".js-expand-target")?.forEach(n=>{n.setAttribute("aria-hidden","false")});const t=e.querySelector(".js-expand-button__label");t instanceof HTMLSpanElement&&(t.innerHTML="Voir moins")},AG=e=>{e.parentNode?.querySelectorAll(".js-expand-target")?.forEach(n=>{n.setAttribute("aria-hidden","true")}),e.setAttribute("aria-expanded","false");const t=e.querySelector(".js-expand-button__label");t instanceof HTMLSpanElement&&(t.innerHTML="Voir plus")},EG=e=>{const t=e.currentTarget;return e.preventDefault(),t instanceof HTMLButtonElement?t.getAttribute("aria-expanded")==="true"?AG(t):xG(t):null},_G=e=>{const t=e.parentNode?.querySelector(".js-expand-target");return!t||t.classList.contains("c-elections-result__members")?!1:(t.textContent?.trim().length??0)<255},wG=(e=document.querySelector(".js-expand-button"))=>{e&&document.querySelectorAll(".js-expand-button").forEach(t=>{_G(t)?(t.style.display="none",t.parentNode?.querySelectorAll(".js-expand-target")?.forEach(n=>{n.setAttribute("aria-hidden","false")})):t.addEventListener("click",EG)})},tR=(e,t)=>{const n=document.querySelector(".js-content-header"),o=document.querySelector(t),s=document.querySelector(e),l=document.querySelector(".c-header-mobile"),c=l instanceof HTMLElement?l.offsetHeight:0;if(n&&o&&s){const p=new IntersectionObserver(()=>{const m=s.classList,h=m.contains("u-hidden"),A=n.getBoundingClientRect().bottom-c,w=o.getBoundingClientRect().bottom-c;h&&A<=0&&w>=0&&m.remove("u-hidden"),!h&&(A>=0||w<=0)&&m.add("u-hidden")},{root:document,rootMargin:`-${c}px 0px 0px 0px`});p.observe(n),p.observe(o)}},SG=()=>tR(".js-close-article-btn",".js-limit-scroll-close-article-btn"),CG=()=>tR(".js-chatbot-btn",".js-limit-scroll-chatbot-btn"),TG=()=>{const e=document.querySelector(".js-game-alert");rG&&e&&e.classList.remove("u-hidden")},NG=()=>{const e=document.querySelectorAll(".js-half-donut-result");for(const t of Array.from(e)){const n=t.querySelector(".c-half-donut"),o=t.querySelector(".c-legend");if(!n||!o)return;o.querySelectorAll("[data-color]").forEach(s=>{const l=s.getAttribute("data-color"),c=n.querySelector(`.c-half-donut__zone--${l}`);c?.addEventListener("mouseenter",()=>{s.classList.add("c-legend__item--is-hovered"),n.classList.add("c-half-donut--is-hovered"),o.classList.add("c-legend--is-hovered")}),c?.addEventListener("mouseleave",()=>{s.classList.remove("c-legend__item--is-hovered"),n.classList.remove("c-half-donut--is-hovered"),o.classList.remove("c-legend--is-hovered")}),s.addEventListener("mouseenter",()=>{c?.classList.add("c-half-donut__zone--is-hovered"),o.classList.add("c-legend--is-hovered"),n.classList.add("c-half-donut--is-hovered")}),s.addEventListener("mouseleave",()=>{c?.classList.remove("c-half-donut__zone--is-hovered"),o.classList.remove("c-legend--is-hovered"),n.classList.remove("c-half-donut--is-hovered")})})}},DG=()=>{const e=document.querySelector(".c-image-slider__container");if(!e)return()=>{};const t=document.querySelectorAll(".c-image-slider__slide"),n=document.querySelector(".c-image-slider__button-container--previous"),o=document.querySelector(".c-image-slider__button-container--next"),s=document.querySelectorAll(".c-image-slider__indicator");let l=0,c=null,p=!1;const m=()=>{s.forEach((L,P)=>{L.classList.toggle("c-image-slider__indicator--is-active",P===l)})},h=(L=!0)=>{if(!(e instanceof HTMLElement))return;e.style.transition=L?"transform 0.3s ease":"none";const P=-l*100;e.style.transform=`translateX(${P}%)`,m()},A=L=>{l=L,h(!0)},w=()=>{c&&clearInterval(c),c=setInterval(()=>{if(!p){const L=(l+1)%t.length;A(L)}},4e3)},_=()=>{c&&(clearInterval(c),c=null)},D=()=>{p=!0,_()},S=()=>{p=!1,w()};n?.addEventListener("click",()=>{D();const L=(l-1+t.length)%t.length;A(L),setTimeout(S,5e3)}),o?.addEventListener("click",()=>{D();const L=(l+1)%t.length;A(L),setTimeout(S,5e3)}),s.forEach((L,P)=>{L.addEventListener("click",()=>{D(),A(P),setTimeout(S,5e3)})});let T=0,C=0,I=!1;return e.addEventListener("touchstart",L=>{e instanceof HTMLElement&&(D(),T=L.touches[0].clientX,C=T,I=!0,e.style.transition="none")}),e.addEventListener("touchmove",L=>{if(!(e instanceof HTMLElement))return;C=L.touches[0].clientX;const P=C-T,q=-l*window.innerWidth+P;e.style.transform=`translateX(${q}px)`}),e.addEventListener("touchend",()=>{if(!I)return;I=!1;const L=C-T;Math.abs(L)>75&&(L<0?l=Math.min(l+1,t.length-1):L>0&&(l=Math.max(l-1,0))),h(!0),setTimeout(S,5e3)}),h(!0),w(),()=>{_()}},RG=e=>{e.stopImmediatePropagation(),e.preventDefault();const t=e.currentTarget,n=document.getElementById("info-button-content");!(t instanceof HTMLButtonElement)||!n||(t.getAttribute("aria-expanded")==="true"?(t.setAttribute("aria-expanded","false"),n.setAttribute("aria-hidden","true")):(t.setAttribute("aria-expanded","true"),n.setAttribute("aria-hidden","false")))},OG=()=>{const e=document.querySelector(".js-info-banner__button");e instanceof HTMLButtonElement&&e.addEventListener("click",RG)},Ca={inert:":not([inert]):not([inert] *)",negTabIndex:':not([tabindex^="-"])',disabled:":not(:disabled)"};var IG=[`a[href]${Ca.inert}${Ca.negTabIndex}`,`area[href]${Ca.inert}${Ca.negTabIndex}`,`input:not([type="hidden"]):not([type="radio"])${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`input[type="radio"]${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`select${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`textarea${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`button${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`details${Ca.inert} > summary:first-of-type${Ca.negTabIndex}`,`iframe${Ca.inert}${Ca.negTabIndex}`,`audio[controls]${Ca.inert}${Ca.negTabIndex}`,`video[controls]${Ca.inert}${Ca.negTabIndex}`,`[contenteditable]${Ca.inert}${Ca.negTabIndex}`,`[tabindex]${Ca.inert}${Ca.negTabIndex}`];function rR(e){(e.querySelector("[autofocus]")||e).focus()}function jG(e){const t=j2(e,!0),n=t?j2(e,!1)||t:null;return[t,n]}function j2(e,t){if(t&&iR(e))return e;if(LG(e))if(e.shadowRoot){let n=nR(e.shadowRoot,t);for(;n;){const o=j2(n,t);if(o)return o;n=aR(n,t)}}else if(e.localName==="slot"){const n=e.assignedElements({flatten:!0});t||n.reverse();for(const o of n){const s=j2(o,t);if(s)return s}}else{let n=nR(e,t);for(;n;){const o=j2(n,t);if(o)return o;n=aR(n,t)}}return!t&&iR(e)?e:null}function nR(e,t){return t?e.firstElementChild:e.lastElementChild}function aR(e,t){return t?e.nextElementSibling:e.previousElementSibling}const MG=e=>e.matches("details:not([open]) *")&&!e.matches("details>summary:first-of-type")?!0:!(e.offsetWidth||e.offsetHeight||e.getClientRects().length),iR=e=>e.shadowRoot?.delegatesFocus?!1:e.matches(IG.join(","))&&!MG(e);function LG(e){return e.shadowRoot&&e.getAttribute("tabindex")==="-1"?!1:!e.matches(":disabled,[hidden],[inert]")}function M2(e=document){const t=e.activeElement;return t?t.shadowRoot?M2(t.shadowRoot)||document.activeElement:t:null}function kG(e,t){const[n,o]=jG(e);if(!n)return t.preventDefault();const s=M2();t.shiftKey&&s===n?(o.focus(),t.preventDefault()):!t.shiftKey&&s===o&&(n.focus(),t.preventDefault())}function rm(e,t){function n(o){if(!o||o===document||o===window)return null;const s=oR(o);return s&&(o=s),o.closest(e)||n(o.getRootNode().host)}return n(t)}function oR(e){return e.assignedSlot||(e.parentNode?oR(e.parentNode):null)}const L2="data-a11y-dialog";class sR{$el;id;previouslyFocused;shown;constructor(t){this.$el=t,this.id=this.$el.getAttribute(L2)||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.fire("destroy").defaultPrevented?this:(this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0)),this)}show(t){return this.shown?this:this.fire("show",t).defaultPrevented?this:(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=M2(),this.previouslyFocused?.tagName==="BODY"&&t?.target&&(this.previouslyFocused=t.target),t?.type==="focus"?this.maintainFocus():rR(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0),this)}hide(t){return this.shown?this.fire("hide",t).defaultPrevented?this:(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0),this.previouslyFocused?.focus?.(),this):this}on(t,n,o){return this.$el.addEventListener(t,n,o),this}off(t,n,o){return this.$el.removeEventListener(t,n,o),this}fire(t,n){const o=new CustomEvent(t,{detail:n,cancelable:!0});return this.$el.dispatchEvent(o),o}handleTriggerClicks(t){const n=t.composedPath()[0],o=rm(`[${L2}-show="${this.id}"]`,n),s=rm(`[${L2}-hide="${this.id}"]`,n),l=rm(`[${L2}-hide]`,n)&&rm('[aria-modal="true"]',n)===this.$el;o&&this.show(t),(s||l)&&this.hide(t)}bindKeypress(t){if(rm('[aria-modal="true"]',M2())!==this.$el)return;let n=!1;try{n=!!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open')}catch{}t.key==="Escape"&&this.$el.getAttribute("role")!=="alertdialog"&&!n&&(t.preventDefault(),this.hide(t)),t.key==="Tab"&&kG(this.$el,t)}maintainFocus(){const t=M2();rm(`[aria-modal="true"], [${L2}-ignore-focus-trap]`,t)||rR(this.$el)}}function uR(){for(const e of document.querySelectorAll("[data-a11y-dialog]"))new sR(e)}typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",uR):uR());const BG=()=>document.querySelectorAll(".js-modal").forEach(e=>{if(!(e instanceof HTMLElement))return;const t=new sR(e);if(e.id==="dialog-menu"){const n=document.querySelectorAll("button[data-a11y-dialog-show='dialog-menu']"),o=document.querySelectorAll("button[data-a11y-dialog-hide='dialog-menu']");n.length>0&&o.length>0&&(t.on("show",()=>{n.forEach(s=>{s.classList.add("u-hidden")}),o.forEach(s=>{s.classList.remove("u-hidden")})}),t.on("hide",()=>{n.forEach(s=>{s.classList.remove("u-hidden")}),o.forEach(s=>{s.classList.add("u-hidden")})}))}t.on("show",()=>{document.body.classList.add("noscroll")}).on("hide",()=>{document.body.classList.remove("noscroll")})}),C3="50px",P5=({navigationContainer:e,navigatedList:t,nextBtn:n,prevBtn:o})=>{n.classList.contains("o-nav-button--visible")&&!o.classList.contains("o-nav-button--visible")&&(e.style.paddingRight=C3,e.style.paddingLeft=""),o.classList.contains("o-nav-button--visible")&&(e.style.paddingLeft=C3,n.classList.contains("o-nav-button--visible")&&(e.style.paddingRight=C3),n.classList.contains("o-nav-button--visible")||(e.style.paddingRight="")),!n.classList.contains("o-nav-button--visible")&&!o.classList.contains("o-nav-button--visible")&&(t.style.width="",e.style.paddingRight="")},PG=({navigationContainer:e,navigatedList:t,nextBtn:n,prevBtn:o})=>{const s=t.scrollLeft>0,l=t.scrollLeft+(t.clientWidth+.5)<t.scrollWidth;s&&l?(n.classList?.add("o-nav-button--visible"),o.classList?.add("o-nav-button--visible")):s?(n.classList?.remove("o-nav-button--visible"),o.classList?.add("o-nav-button--visible")):l?(n.classList?.add("o-nav-button--visible"),o.classList?.remove("o-nav-button--visible")):(n.classList?.remove("o-nav-button--visible"),o.classList?.remove("o-nav-button--visible")),n.classList.contains("c-slider__button-container--has-space-around")&&o.classList.contains("c-slider__button-container--has-space-around")&&P5({navigationContainer:e,navigatedList:t,nextBtn:n,prevBtn:o})},FG=({navigationContainer:e,navigatedList:t,nextBtn:n,prevBtn:o,sliderVariant:s})=>{if(t){const l=t.closest(".js-overview-bar-container")?.querySelector(".c-stepper")?.querySelectorAll(".c-stepper__item");if(l){const c=Array.from(l).findIndex(p=>p.classList.contains("c-stepper__item--loading"));if(c<0)l[0].classList.add("c-stepper__item--loading");else{l[c].classList.remove("c-stepper__item--loading"),l[c].classList.add("c-stepper__item--loaded");const p=l[c].querySelector(".c-stepper__loader");p&&p instanceof HTMLElement&&(p.style.transition="width 0s linear"),c+1<l.length&&l[c+1].classList.add("c-stepper__item--loading")}}if(t.scrollWidth-t.clientWidth>t.clientWidth){let c=t.scrollLeft;switch(s){case"three-columns-articles":c+=t.clientWidth+32;break;case"rubrics":c+=t.clientWidth-36;break;default:c+=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:c,behavior:"smooth"}),o.classList.add("o-nav-button--visible"),c+t.clientWidth>=t.scrollWidth&&n.classList.remove("o-nav-button--visible")}else{const c=t.scrollWidth-t.clientWidth;t.scrollTo({left:c,behavior:"smooth"}),n.classList.remove("o-nav-button--visible"),o.classList.add("o-nav-button--visible")}n.classList.contains("c-slider__button-container--has-space-around")&&o.classList.contains("c-slider__button-container--has-space-around")&&P5({navigationContainer:e,navigatedList:t,nextBtn:n,prevBtn:o})}},HG=({navigationContainer:e,navigatedList:t,nextBtn:n,prevBtn:o,sliderVariant:s,delay:l})=>{if(t){const c=t.closest(".js-overview-bar-container")?.querySelector(".c-stepper")?.querySelectorAll(".c-stepper__item");if(c){const p=Array.from(c).findIndex(m=>m.classList.contains("c-stepper__item--loading"));p<0?c[0].classList.add("c-stepper__item--loading"):(c[p].classList.remove("c-stepper__item--loading"),c[p].classList.remove("c-stepper__item--loaded"),p-1>0&&(c[p-1].classList.remove("c-stepper__item--loading"),c[p-1].classList.remove("c-stepper__item--loaded"),setTimeout(()=>{const m=c[p-1].querySelector(".c-stepper__loader");c[p-1].classList.add("c-stepper__item--loading"),m&&m instanceof HTMLElement&&(m.style.transition=`width ${l/1e3}s linear`)},0)))}if(t.clientWidth<t.scrollLeft){let p=t.scrollLeft;switch(s){case"three-columns-articles":p-=t.clientWidth+32;break;case"rubrics":p-=t.clientWidth-36;break;default:p-=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:p,behavior:"smooth"}),n.classList.add("o-nav-button--visible"),p===0&&o.classList.remove("o-nav-button--visible")}else t.scrollTo({left:0,behavior:"smooth"}),o.classList.remove("o-nav-button--visible"),t.clientWidth<t.scrollWidth&&n.classList.add("o-nav-button--visible");n.classList.contains("c-slider__button-container--has-space-around")&&o.classList.contains("c-slider__button-container--has-space-around")&&P5({navigationContainer:e,navigatedList:t,nextBtn:n,prevBtn:o})}},UG=({navigationContainer:e,navigatedList:t,nextBtn:n,prevBtn:o})=>{PG({navigationContainer:e,navigatedList:t,nextBtn:n,prevBtn:o})},zG=e=>{const{sliderVariant:t}=e.dataset,{sliderAuto:n}=e.dataset,{sliderDelay:o}=e.dataset,s=o?parseInt(o,10):3e3,l=e.closest(".js-overview-bar-container")?.querySelector(".c-stepper"),c=l?.querySelectorAll(".c-stepper__item"),p=e.querySelector(".js-navigation-container__list"),m=e.querySelector(".o-nav-button--next-button"),h=e.querySelector(".o-nav-button--previous-button");if(!(!p||!m||!h)&&(p.clientWidth<p.scrollWidth&&(m.classList.add("o-nav-button--visible"),m.classList.contains("c-slider__button-container--has-space-around")&&(e.style.paddingRight=C3)),m.addEventListener("click",FG.bind(!1,{navigationContainer:e,navigatedList:p,nextBtn:m,prevBtn:h,sliderVariant:t})),h.addEventListener("click",HG.bind(!1,{navigationContainer:e,navigatedList:p,nextBtn:m,prevBtn:h,sliderVariant:t,delay:s})),n==="true")){const A=l?l.querySelector(".c-stepper__item--loading"):null;c&&(c.forEach(w=>{const _=w.querySelector(".c-stepper__loader");_&&_ instanceof HTMLElement&&(_.style.transition=`width ${s/1e3}s linear`)}),A||c[0].classList.add("c-stepper__item--loading")),setInterval(()=>{m.classList.contains("o-nav-button--visible")?m.click():p&&h&&(p.scrollLeft=0,c&&(c.forEach(w=>{const _=w.querySelector(".c-stepper__loader");_&&_ instanceof HTMLElement&&(_.style.transition="width 0s linear"),w.classList.remove("c-stepper__item--loading"),w.classList.remove("c-stepper__item--loaded"),setTimeout(()=>{_&&_ instanceof HTMLElement&&(_.style.transition=`width ${s/1e3}s linear`)},0)}),setTimeout(()=>{c[0].classList.add("c-stepper__item--loading")},0)),h.click())},s)}},qG=()=>{const e=document.querySelectorAll(".js-navigation-container");Array.from(e).forEach(t=>{const n=t.querySelector(".js-navigation-container__list");if(n){const o=new ResizeObserver(s=>{s.forEach(l=>{const{width:c}=l.contentRect;c>0&&(zG(t),o.disconnect())})});o.observe(n)}})},VG=()=>{const e=document.querySelectorAll(".js-navigation-container");for(const t of Array.from(e))if(t){const n=t.querySelector(".js-navigation-container__list"),o=t.querySelector(".o-nav-button--next-button"),s=t.querySelector(".o-nav-button--previous-button");n&&o&&s&&window.addEventListener("resize",UG.bind(!1,{navigationContainer:t,navigatedList:n,nextBtn:o,prevBtn:s}))}};function cc(e,t,n){const o=document.createElement(t);return e&&(o.className=e),n&&n.appendChild(o),o}function Bo(e,t){return e.x=t.x,e.y=t.y,t.id!==void 0&&(e.id=t.id),e}function lR(e){e.x=Math.round(e.x),e.y=Math.round(e.y)}function F5(e,t){const n=Math.abs(e.x-t.x),o=Math.abs(e.y-t.y);return Math.sqrt(n*n+o*o)}function k2(e,t){return e.x===t.x&&e.y===t.y}function B2(e,t,n){return Math.min(Math.max(e,t),n)}function P2(e,t,n){let o=`translate3d(${e}px,${t||0}px,0)`;return n!==void 0&&(o+=` scale3d(${n},${n},1)`),o}function kh(e,t,n,o){e.style.transform=P2(t,n,o)}const GG="cubic-bezier(.4,0,.22,1)";function cR(e,t,n,o){e.style.transition=t?`${t} ${n}ms ${o||GG}`:"none"}function H5(e,t,n){e.style.width=typeof t=="number"?`${t}px`:t,e.style.height=typeof n=="number"?`${n}px`:n}function KG(e){cR(e)}function WG(e){return"decode"in e?e.decode().catch(()=>{}):e.complete?Promise.resolve(e):new Promise((t,n)=>{e.onload=()=>t(e),e.onerror=n})}const td={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function QG(e){return"button"in e&&e.button===1||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey}function YG(e,t,n=document){let o=[];if(e instanceof Element)o=[e];else if(e instanceof NodeList||Array.isArray(e))o=Array.from(e);else{const s=typeof e=="string"?e:t;s&&(o=Array.from(n.querySelectorAll(s)))}return o}function dR(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}let fR=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>{fR=!0}}))}catch{}class ZG{constructor(){this._pool=[]}add(t,n,o,s){this._toggleListener(t,n,o,s)}remove(t,n,o,s){this._toggleListener(t,n,o,s,!0)}removeAll(){this._pool.forEach(t=>{this._toggleListener(t.target,t.type,t.listener,t.passive,!0,!0)}),this._pool=[]}_toggleListener(t,n,o,s,l,c){if(!t)return;const p=l?"removeEventListener":"addEventListener";n.split(" ").forEach(m=>{if(m){c||(l?this._pool=this._pool.filter(A=>A.type!==m||A.listener!==o||A.target!==t):this._pool.push({target:t,type:m,listener:o,passive:s}));const h=fR?{passive:s||!1}:!1;t[p](m,o,h)}})}}function pR(e,t){if(e.getViewportSizeFn){const n=e.getViewportSizeFn(e,t);if(n)return n}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function F2(e,t,n,o,s){let l=0;if(t.paddingFn)l=t.paddingFn(n,o,s)[e];else if(t.padding)l=t.padding[e];else{const c="padding"+e[0].toUpperCase()+e.slice(1);t[c]&&(l=t[c])}return Number(l)||0}function hR(e,t,n,o){return{x:t.x-F2("left",e,t,n,o)-F2("right",e,t,n,o),y:t.y-F2("top",e,t,n,o)-F2("bottom",e,t,n,o)}}class $G{constructor(t){this.slide=t,this.currZoomLevel=1,this.center={x:0,y:0},this.max={x:0,y:0},this.min={x:0,y:0}}update(t){this.currZoomLevel=t,this.slide.width?(this._updateAxis("x"),this._updateAxis("y"),this.slide.pswp.dispatch("calcBounds",{slide:this.slide})):this.reset()}_updateAxis(t){const{pswp:n}=this.slide,o=this.slide[t==="x"?"width":"height"]*this.currZoomLevel,s=F2(t==="x"?"left":"top",n.options,n.viewportSize,this.slide.data,this.slide.index),l=this.slide.panAreaSize[t];this.center[t]=Math.round((l-o)/2)+s,this.max[t]=o>l?Math.round(l-o)+s:this.center[t],this.min[t]=o>l?s:this.center[t]}reset(){this.center.x=0,this.center.y=0,this.max.x=0,this.max.y=0,this.min.x=0,this.min.y=0}correctPan(t,n){return B2(n,this.max[t],this.min[t])}}const mR=4e3;let vR=class{constructor(e,t,n,o){this.pswp=o,this.options=e,this.itemData=t,this.index=n,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(e,t,n){const o={x:e,y:t};this.elementSize=o,this.panAreaSize=n;const s=n.x/o.x,l=n.y/o.y;this.fit=Math.min(1,s<l?s:l),this.fill=Math.min(1,s>l?s:l),this.vFill=Math.min(1,l),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(e){const t=e+"ZoomLevel",n=this.options[t];if(n)return typeof n=="function"?n(this):n==="fill"?this.fill:n==="fit"?this.fit:Number(n)}_getSecondary(){let e=this._parseZoomLevelOption("secondary");return e||(e=Math.min(1,this.fit*3),this.elementSize&&e*this.elementSize.x>mR&&(e=mR/this.elementSize.x),e)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,this.fit*4)}};class JG{constructor(t,n,o){this.data=t,this.index=n,this.pswp=o,this.isActive=n===o.currIndex,this.currentResolution=0,this.panAreaSize={x:0,y:0},this.pan={x:0,y:0},this.isFirstSlide=this.isActive&&!o.opener.isOpen,this.zoomLevels=new vR(o.options,t,n,o),this.pswp.dispatch("gettingData",{slide:this,data:this.data,index:n}),this.content=this.pswp.contentLoader.getContentBySlide(this),this.container=cc("pswp__zoom-wrap","div"),this.holderElement=null,this.currZoomLevel=1,this.width=this.content.width,this.height=this.content.height,this.heavyAppended=!1,this.bounds=new $G(this),this.prevDisplayedWidth=-1,this.prevDisplayedHeight=-1,this.pswp.dispatch("slideInit",{slide:this})}setIsActive(t){t&&!this.isActive?this.activate():!t&&this.isActive&&this.deactivate()}append(t){this.holderElement=t,this.container.style.transformOrigin="0 0",this.data&&(this.calculateSize(),this.load(),this.updateContentSize(),this.appendHeavy(),this.holderElement.appendChild(this.container),this.zoomAndPanToInitial(),this.pswp.dispatch("firstZoomPan",{slide:this}),this.applyCurrentZoomPan(),this.pswp.dispatch("afterSetContent",{slide:this}),this.isActive&&this.activate())}load(){this.content.load(!1),this.pswp.dispatch("slideLoad",{slide:this})}appendHeavy(){const{pswp:t}=this;this.heavyAppended||!t.opener.isOpen||t.mainScroll.isShifted()||!this.isActive&&!1||this.pswp.dispatch("appendHeavy",{slide:this}).defaultPrevented||(this.heavyAppended=!0,this.content.append(),this.pswp.dispatch("appendHeavyContent",{slide:this}))}activate(){this.isActive=!0,this.appendHeavy(),this.content.activate(),this.pswp.dispatch("slideActivate",{slide:this})}deactivate(){this.isActive=!1,this.content.deactivate(),this.currZoomLevel!==this.zoomLevels.initial&&this.calculateSize(),this.currentResolution=0,this.zoomAndPanToInitial(),this.applyCurrentZoomPan(),this.updateContentSize(),this.pswp.dispatch("slideDeactivate",{slide:this})}destroy(){this.content.hasSlide=!1,this.content.remove(),this.container.remove(),this.pswp.dispatch("slideDestroy",{slide:this})}resize(){this.currZoomLevel===this.zoomLevels.initial||!this.isActive?(this.calculateSize(),this.currentResolution=0,this.zoomAndPanToInitial(),this.applyCurrentZoomPan(),this.updateContentSize()):(this.calculateSize(),this.bounds.update(this.currZoomLevel),this.panTo(this.pan.x,this.pan.y))}updateContentSize(t){const n=this.currentResolution||this.zoomLevels.initial;if(!n)return;const o=Math.round(this.width*n)||this.pswp.viewportSize.x,s=Math.round(this.height*n)||this.pswp.viewportSize.y;!this.sizeChanged(o,s)&&!t||this.content.setDisplayedSize(o,s)}sizeChanged(t,n){return t!==this.prevDisplayedWidth||n!==this.prevDisplayedHeight?(this.prevDisplayedWidth=t,this.prevDisplayedHeight=n,!0):!1}getPlaceholderElement(){var t;return(t=this.content.placeholder)===null||t===void 0?void 0:t.element}zoomTo(t,n,o,s){const{pswp:l}=this;if(!this.isZoomable()||l.mainScroll.isShifted())return;l.dispatch("beforeZoomTo",{destZoomLevel:t,centerPoint:n,transitionDuration:o}),l.animations.stopAllPan();const c=this.currZoomLevel;s||(t=B2(t,this.zoomLevels.min,this.zoomLevels.max)),this.setZoomLevel(t),this.pan.x=this.calculateZoomToPanOffset("x",n,c),this.pan.y=this.calculateZoomToPanOffset("y",n,c),lR(this.pan);const p=()=>{this._setResolution(t),this.applyCurrentZoomPan()};o?l.animations.startTransition({isPan:!0,name:"zoomTo",target:this.container,transform:this.getCurrentTransform(),onComplete:p,duration:o,easing:l.options.easing}):p()}toggleZoom(t){this.zoomTo(this.currZoomLevel===this.zoomLevels.initial?this.zoomLevels.secondary:this.zoomLevels.initial,t,this.pswp.options.zoomAnimationDuration)}setZoomLevel(t){this.currZoomLevel=t,this.bounds.update(this.currZoomLevel)}calculateZoomToPanOffset(t,n,o){if(this.bounds.max[t]-this.bounds.min[t]===0)return this.bounds.center[t];n||(n=this.pswp.getViewportCenterPoint()),o||(o=this.zoomLevels.initial);const s=this.currZoomLevel/o;return this.bounds.correctPan(t,(this.pan[t]-n[t])*s+n[t])}panTo(t,n){this.pan.x=this.bounds.correctPan("x",t),this.pan.y=this.bounds.correctPan("y",n),this.applyCurrentZoomPan()}isPannable(){return!!this.width&&this.currZoomLevel>this.zoomLevels.fit}isZoomable(){return!!this.width&&this.content.isZoomable()}applyCurrentZoomPan(){this._applyZoomTransform(this.pan.x,this.pan.y,this.currZoomLevel),this===this.pswp.currSlide&&this.pswp.dispatch("zoomPanUpdate",{slide:this})}zoomAndPanToInitial(){this.currZoomLevel=this.zoomLevels.initial,this.bounds.update(this.currZoomLevel),Bo(this.pan,this.bounds.center),this.pswp.dispatch("initialZoomPan",{slide:this})}_applyZoomTransform(t,n,o){o/=this.currentResolution||this.zoomLevels.initial,kh(this.container,t,n,o)}calculateSize(){const{pswp:t}=this;Bo(this.panAreaSize,hR(t.options,t.viewportSize,this.data,this.index)),this.zoomLevels.update(this.width,this.height,this.panAreaSize),t.dispatch("calcSlideSize",{slide:this})}getCurrentTransform(){const t=this.currZoomLevel/(this.currentResolution||this.zoomLevels.initial);return P2(this.pan.x,this.pan.y,t)}_setResolution(t){t!==this.currentResolution&&(this.currentResolution=t,this.updateContentSize(),this.pswp.dispatch("resolutionChanged"))}}const XG=.35,eK=.6,gR=.4,yR=.5;function tK(e,t){return e*t/(1-t)}class rK{constructor(t){this.gestures=t,this.pswp=t.pswp,this.startPan={x:0,y:0}}start(){this.pswp.currSlide&&Bo(this.startPan,this.pswp.currSlide.pan),this.pswp.animations.stopAll()}change(){const{p1:t,prevP1:n,dragAxis:o}=this.gestures,{currSlide:s}=this.pswp;if(o==="y"&&this.pswp.options.closeOnVerticalDrag&&s&&s.currZoomLevel<=s.zoomLevels.fit&&!this.gestures.isMultitouch){const l=s.pan.y+(t.y-n.y);if(!this.pswp.dispatch("verticalDrag",{panY:l}).defaultPrevented){this._setPanWithFriction("y",l,eK);const c=1-Math.abs(this._getVerticalDragRatio(s.pan.y));this.pswp.applyBgOpacity(c),s.applyCurrentZoomPan()}}else this._panOrMoveMainScroll("x")||(this._panOrMoveMainScroll("y"),s&&(lR(s.pan),s.applyCurrentZoomPan()))}end(){const{velocity:t}=this.gestures,{mainScroll:n,currSlide:o}=this.pswp;let s=0;if(this.pswp.animations.stopAll(),n.isShifted()){const l=(n.x-n.getCurrSlideX())/this.pswp.viewportSize.x;t.x<-yR&&l<0||t.x<.1&&l<-.5?(s=1,t.x=Math.min(t.x,0)):(t.x>yR&&l>0||t.x>-.1&&l>.5)&&(s=-1,t.x=Math.max(t.x,0)),n.moveIndexBy(s,!0,t.x)}o&&o.currZoomLevel>o.zoomLevels.max||this.gestures.isMultitouch?this.gestures.zoomLevels.correctZoomPan(!0):(this._finishPanGestureForAxis("x"),this._finishPanGestureForAxis("y"))}_finishPanGestureForAxis(t){const{velocity:n}=this.gestures,{currSlide:o}=this.pswp;if(!o)return;const{pan:s,bounds:l}=o,c=s[t],p=this.pswp.bgOpacity<1&&t==="y",m=c+tK(n[t],.995);if(p){const D=this._getVerticalDragRatio(c),S=this._getVerticalDragRatio(m);if(D<0&&S<-gR||D>0&&S>gR){this.pswp.close();return}}const h=l.correctPan(t,m);if(c===h)return;const A=h===m?1:.82,w=this.pswp.bgOpacity,_=h-c;this.pswp.animations.startSpring({name:"panGesture"+t,isPan:!0,start:c,end:h,velocity:n[t],dampingRatio:A,onUpdate:D=>{if(p&&this.pswp.bgOpacity<1){const S=1-(h-D)/_;this.pswp.applyBgOpacity(B2(w+(1-w)*S,0,1))}s[t]=Math.floor(D),o.applyCurrentZoomPan()}})}_panOrMoveMainScroll(t){const{p1:n,dragAxis:o,prevP1:s,isMultitouch:l}=this.gestures,{currSlide:c,mainScroll:p}=this.pswp,m=n[t]-s[t],h=p.x+m;if(!m||!c)return!1;if(t==="x"&&!c.isPannable()&&!l)return p.moveTo(h,!0),!0;const{bounds:A}=c,w=c.pan[t]+m;if(this.pswp.options.allowPanToNext&&o==="x"&&t==="x"&&!l){const _=p.getCurrSlideX(),D=p.x-_,S=m>0,T=!S;if(w>A.min[t]&&S){if(A.min[t]<=this.startPan[t])return p.moveTo(h,!0),!0;this._setPanWithFriction(t,w)}else if(w<A.max[t]&&T){if(this.startPan[t]<=A.max[t])return p.moveTo(h,!0),!0;this._setPanWithFriction(t,w)}else if(D!==0){if(D>0)return p.moveTo(Math.max(h,_),!0),!0;if(D<0)return p.moveTo(Math.min(h,_),!0),!0}else this._setPanWithFriction(t,w)}else t==="y"?!p.isShifted()&&A.min.y!==A.max.y&&this._setPanWithFriction(t,w):this._setPanWithFriction(t,w);return!1}_getVerticalDragRatio(t){var n,o;return(t-((n=(o=this.pswp.currSlide)===null||o===void 0?void 0:o.bounds.center.y)!==null&&n!==void 0?n:0))/(this.pswp.viewportSize.y/3)}_setPanWithFriction(t,n,o){const{currSlide:s}=this.pswp;if(!s)return;const{pan:l,bounds:c}=s;if(c.correctPan(t,n)!==n||o){const p=Math.round(n-l[t]);l[t]+=p*(o||XG)}else l[t]=n}}const nK=.05,aK=.15;function bR(e,t,n){return e.x=(t.x+n.x)/2,e.y=(t.y+n.y)/2,e}class iK{constructor(t){this.gestures=t,this._startPan={x:0,y:0},this._startZoomPoint={x:0,y:0},this._zoomPoint={x:0,y:0},this._wasOverFitZoomLevel=!1,this._startZoomLevel=1}start(){const{currSlide:t}=this.gestures.pswp;t&&(this._startZoomLevel=t.currZoomLevel,Bo(this._startPan,t.pan)),this.gestures.pswp.animations.stopAllPan(),this._wasOverFitZoomLevel=!1}change(){const{p1:t,startP1:n,p2:o,startP2:s,pswp:l}=this.gestures,{currSlide:c}=l;if(!c)return;const p=c.zoomLevels.min,m=c.zoomLevels.max;if(!c.isZoomable()||l.mainScroll.isShifted())return;bR(this._startZoomPoint,n,s),bR(this._zoomPoint,t,o);let h=1/F5(n,s)*F5(t,o)*this._startZoomLevel;if(h>c.zoomLevels.initial+c.zoomLevels.initial/15&&(this._wasOverFitZoomLevel=!0),h<p)if(l.options.pinchToClose&&!this._wasOverFitZoomLevel&&this._startZoomLevel<=c.zoomLevels.initial){const A=1-(p-h)/(p/1.2);l.dispatch("pinchClose",{bgOpacity:A}).defaultPrevented||l.applyBgOpacity(A)}else h=p-(p-h)*aK;else h>m&&(h=m+(h-m)*nK);c.pan.x=this._calculatePanForZoomLevel("x",h),c.pan.y=this._calculatePanForZoomLevel("y",h),c.setZoomLevel(h),c.applyCurrentZoomPan()}end(){const{pswp:t}=this.gestures,{currSlide:n}=t;(!n||n.currZoomLevel<n.zoomLevels.initial)&&!this._wasOverFitZoomLevel&&t.options.pinchToClose?t.close():this.correctZoomPan()}_calculatePanForZoomLevel(t,n){const o=n/this._startZoomLevel;return this._zoomPoint[t]-(this._startZoomPoint[t]-this._startPan[t])*o}correctZoomPan(t){const{pswp:n}=this.gestures,{currSlide:o}=n;if(!(o!=null&&o.isZoomable()))return;this._zoomPoint.x===0&&(t=!0);const s=o.currZoomLevel;let l,c=!0;s<o.zoomLevels.initial?l=o.zoomLevels.initial:s>o.zoomLevels.max?l=o.zoomLevels.max:(c=!1,l=s);const p=n.bgOpacity,m=n.bgOpacity<1,h=Bo({x:0,y:0},o.pan);let A=Bo({x:0,y:0},h);t&&(this._zoomPoint.x=0,this._zoomPoint.y=0,this._startZoomPoint.x=0,this._startZoomPoint.y=0,this._startZoomLevel=s,Bo(this._startPan,h)),c&&(A={x:this._calculatePanForZoomLevel("x",l),y:this._calculatePanForZoomLevel("y",l)}),o.setZoomLevel(l),A={x:o.bounds.correctPan("x",A.x),y:o.bounds.correctPan("y",A.y)},o.setZoomLevel(s);const w=!k2(A,h);if(!w&&!c&&!m){o._setResolution(l),o.applyCurrentZoomPan();return}n.animations.stopAllPan(),n.animations.startSpring({isPan:!0,start:0,end:1e3,velocity:0,dampingRatio:1,naturalFrequency:40,onUpdate:_=>{if(_/=1e3,w||c){if(w&&(o.pan.x=h.x+(A.x-h.x)*_,o.pan.y=h.y+(A.y-h.y)*_),c){const D=s+(l-s)*_;o.setZoomLevel(D)}o.applyCurrentZoomPan()}m&&n.bgOpacity<1&&n.applyBgOpacity(B2(p+(1-p)*_,0,1))},onComplete:()=>{o._setResolution(l),o.applyCurrentZoomPan()}})}}function xR(e){return!!e.target.closest(".pswp__container")}class oK{constructor(t){this.gestures=t}click(t,n){const o=n.target.classList,s=o.contains("pswp__img"),l=o.contains("pswp__item")||o.contains("pswp__zoom-wrap");s?this._doClickOrTapAction("imageClick",t,n):l&&this._doClickOrTapAction("bgClick",t,n)}tap(t,n){xR(n)&&this._doClickOrTapAction("tap",t,n)}doubleTap(t,n){xR(n)&&this._doClickOrTapAction("doubleTap",t,n)}_doClickOrTapAction(t,n,o){var s;const{pswp:l}=this.gestures,{currSlide:c}=l,p=t+"Action",m=l.options[p];if(!l.dispatch(p,{point:n,originalEvent:o}).defaultPrevented){if(typeof m=="function"){m.call(l,n,o);return}switch(m){case"close":case"next":l[m]();break;case"zoom":c?.toggleZoom(n);break;case"zoom-or-close":c!=null&&c.isZoomable()&&c.zoomLevels.secondary!==c.zoomLevels.initial?c.toggleZoom(n):l.options.clickToCloseNonZoomable&&l.close();break;case"toggle-controls":(s=this.gestures.pswp.element)===null||s===void 0||s.classList.toggle("pswp--ui-visible");break}}}}const sK=10,uK=300,lK=25;class cK{constructor(t){this.pswp=t,this.dragAxis=null,this.p1={x:0,y:0},this.p2={x:0,y:0},this.prevP1={x:0,y:0},this.prevP2={x:0,y:0},this.startP1={x:0,y:0},this.startP2={x:0,y:0},this.velocity={x:0,y:0},this._lastStartP1={x:0,y:0},this._intervalP1={x:0,y:0},this._numActivePoints=0,this._ongoingPointers=[],this._touchEventEnabled="ontouchstart"in window,this._pointerEventEnabled=!!window.PointerEvent,this.supportsTouch=this._touchEventEnabled||this._pointerEventEnabled&&navigator.maxTouchPoints>1,this._numActivePoints=0,this._intervalTime=0,this._velocityCalculated=!1,this.isMultitouch=!1,this.isDragging=!1,this.isZooming=!1,this.raf=null,this._tapTimer=null,this.supportsTouch||(t.options.allowPanToNext=!1),this.drag=new rK(this),this.zoomLevels=new iK(this),this.tapHandler=new oK(this),t.on("bindEvents",()=>{t.events.add(t.scrollWrap,"click",this._onClick.bind(this)),this._pointerEventEnabled?this._bindEvents("pointer","down","up","cancel"):this._touchEventEnabled?(this._bindEvents("touch","start","end","cancel"),t.scrollWrap&&(t.scrollWrap.ontouchmove=()=>{},t.scrollWrap.ontouchend=()=>{})):this._bindEvents("mouse","down","up")})}_bindEvents(t,n,o,s){const{pswp:l}=this,{events:c}=l,p=s?t+s:"";c.add(l.scrollWrap,t+n,this.onPointerDown.bind(this)),c.add(window,t+"move",this.onPointerMove.bind(this)),c.add(window,t+o,this.onPointerUp.bind(this)),p&&c.add(l.scrollWrap,p,this.onPointerUp.bind(this))}onPointerDown(t){const n=t.type==="mousedown"||t.pointerType==="mouse";if(n&&t.button>0)return;const{pswp:o}=this;if(!o.opener.isOpen){t.preventDefault();return}o.dispatch("pointerDown",{originalEvent:t}).defaultPrevented||(n&&(o.mouseDetected(),this._preventPointerEventBehaviour(t,"down")),o.animations.stopAll(),this._updatePoints(t,"down"),this._numActivePoints===1&&(this.dragAxis=null,Bo(this.startP1,this.p1)),this._numActivePoints>1?(this._clearTapTimer(),this.isMultitouch=!0):this.isMultitouch=!1)}onPointerMove(t){this._preventPointerEventBehaviour(t,"move"),this._numActivePoints&&(this._updatePoints(t,"move"),!this.pswp.dispatch("pointerMove",{originalEvent:t}).defaultPrevented&&(this._numActivePoints===1&&!this.isDragging?(this.dragAxis||this._calculateDragDirection(),this.dragAxis&&!this.isDragging&&(this.isZooming&&(this.isZooming=!1,this.zoomLevels.end()),this.isDragging=!0,this._clearTapTimer(),this._updateStartPoints(),this._intervalTime=Date.now(),this._velocityCalculated=!1,Bo(this._intervalP1,this.p1),this.velocity.x=0,this.velocity.y=0,this.drag.start(),this._rafStopLoop(),this._rafRenderLoop())):this._numActivePoints>1&&!this.isZooming&&(this._finishDrag(),this.isZooming=!0,this._updateStartPoints(),this.zoomLevels.start(),this._rafStopLoop(),this._rafRenderLoop())))}_finishDrag(){this.isDragging&&(this.isDragging=!1,this._velocityCalculated||this._updateVelocity(!0),this.drag.end(),this.dragAxis=null)}onPointerUp(t){this._numActivePoints&&(this._updatePoints(t,"up"),!this.pswp.dispatch("pointerUp",{originalEvent:t}).defaultPrevented&&(this._numActivePoints===0&&(this._rafStopLoop(),this.isDragging?this._finishDrag():!this.isZooming&&!this.isMultitouch&&this._finishTap(t)),this._numActivePoints<2&&this.isZooming&&(this.isZooming=!1,this.zoomLevels.end(),this._numActivePoints===1&&(this.dragAxis=null,this._updateStartPoints()))))}_rafRenderLoop(){(this.isDragging||this.isZooming)&&(this._updateVelocity(),this.isDragging?k2(this.p1,this.prevP1)||this.drag.change():(!k2(this.p1,this.prevP1)||!k2(this.p2,this.prevP2))&&this.zoomLevels.change(),this._updatePrevPoints(),this.raf=requestAnimationFrame(this._rafRenderLoop.bind(this)))}_updateVelocity(t){const n=Date.now(),o=n-this._intervalTime;o<50&&!t||(this.velocity.x=this._getVelocity("x",o),this.velocity.y=this._getVelocity("y",o),this._intervalTime=n,Bo(this._intervalP1,this.p1),this._velocityCalculated=!0)}_finishTap(t){const{mainScroll:n}=this.pswp;if(n.isShifted()){n.moveIndexBy(0,!0);return}if(t.type.indexOf("cancel")>0)return;if(t.type==="mouseup"||t.pointerType==="mouse"){this.tapHandler.click(this.startP1,t);return}const o=this.pswp.options.doubleTapAction?uK:0;this._tapTimer?(this._clearTapTimer(),F5(this._lastStartP1,this.startP1)<lK&&this.tapHandler.doubleTap(this.startP1,t)):(Bo(this._lastStartP1,this.startP1),this._tapTimer=setTimeout(()=>{this.tapHandler.tap(this.startP1,t),this._clearTapTimer()},o))}_clearTapTimer(){this._tapTimer&&(clearTimeout(this._tapTimer),this._tapTimer=null)}_getVelocity(t,n){const o=this.p1[t]-this._intervalP1[t];return Math.abs(o)>1&&n>5?o/n:0}_rafStopLoop(){this.raf&&(cancelAnimationFrame(this.raf),this.raf=null)}_preventPointerEventBehaviour(t,n){this.pswp.applyFilters("preventPointerEvent",!0,t,n)&&t.preventDefault()}_updatePoints(t,n){if(this._pointerEventEnabled){const o=t,s=this._ongoingPointers.findIndex(l=>l.id===o.pointerId);n==="up"&&s>-1?this._ongoingPointers.splice(s,1):n==="down"&&s===-1?this._ongoingPointers.push(this._convertEventPosToPoint(o,{x:0,y:0})):s>-1&&this._convertEventPosToPoint(o,this._ongoingPointers[s]),this._numActivePoints=this._ongoingPointers.length,this._numActivePoints>0&&Bo(this.p1,this._ongoingPointers[0]),this._numActivePoints>1&&Bo(this.p2,this._ongoingPointers[1])}else{const o=t;this._numActivePoints=0,o.type.indexOf("touch")>-1?o.touches&&o.touches.length>0&&(this._convertEventPosToPoint(o.touches[0],this.p1),this._numActivePoints++,o.touches.length>1&&(this._convertEventPosToPoint(o.touches[1],this.p2),this._numActivePoints++)):(this._convertEventPosToPoint(t,this.p1),n==="up"?this._numActivePoints=0:this._numActivePoints++)}}_updatePrevPoints(){Bo(this.prevP1,this.p1),Bo(this.prevP2,this.p2)}_updateStartPoints(){Bo(this.startP1,this.p1),Bo(this.startP2,this.p2),this._updatePrevPoints()}_calculateDragDirection(){if(this.pswp.mainScroll.isShifted())this.dragAxis="x";else{const t=Math.abs(this.p1.x-this.startP1.x)-Math.abs(this.p1.y-this.startP1.y);if(t!==0){const n=t>0?"x":"y";Math.abs(this.p1[n]-this.startP1[n])>=sK&&(this.dragAxis=n)}}}_convertEventPosToPoint(t,n){return n.x=t.pageX-this.pswp.offset.x,n.y=t.pageY-this.pswp.offset.y,"pointerId"in t?n.id=t.pointerId:t.identifier!==void 0&&(n.id=t.identifier),n}_onClick(t){this.pswp.mainScroll.isShifted()&&(t.preventDefault(),t.stopPropagation())}}const dK=.35;class fK{constructor(t){this.pswp=t,this.x=0,this.slideWidth=0,this._currPositionIndex=0,this._prevPositionIndex=0,this._containerShiftIndex=-1,this.itemHolders=[]}resize(t){const{pswp:n}=this,o=Math.round(n.viewportSize.x+n.viewportSize.x*n.options.spacing),s=o!==this.slideWidth;s&&(this.slideWidth=o,this.moveTo(this.getCurrSlideX())),this.itemHolders.forEach((l,c)=>{s&&kh(l.el,(c+this._containerShiftIndex)*this.slideWidth),t&&l.slide&&l.slide.resize()})}resetPosition(){this._currPositionIndex=0,this._prevPositionIndex=0,this.slideWidth=0,this._containerShiftIndex=-1}appendHolders(){this.itemHolders=[];for(let t=0;t<3;t++){const n=cc("pswp__item","div",this.pswp.container);n.setAttribute("role","group"),n.setAttribute("aria-roledescription","slide"),n.setAttribute("aria-hidden","true"),n.style.display=t===1?"block":"none",this.itemHolders.push({el:n})}}canBeSwiped(){return this.pswp.getNumItems()>1}moveIndexBy(t,n,o){const{pswp:s}=this;let l=s.potentialIndex+t;const c=s.getNumItems();if(s.canLoop()){l=s.getLoopedIndex(l);const m=(t+c)%c;m<=c/2?t=m:t=m-c}else l<0?l=0:l>=c&&(l=c-1),t=l-s.potentialIndex;s.potentialIndex=l,this._currPositionIndex-=t,s.animations.stopMainScroll();const p=this.getCurrSlideX();if(!n)this.moveTo(p),this.updateCurrItem();else{s.animations.startSpring({isMainScroll:!0,start:this.x,end:p,velocity:o||0,naturalFrequency:30,dampingRatio:1,onUpdate:h=>{this.moveTo(h)},onComplete:()=>{this.updateCurrItem(),s.appendHeavy()}});let m=s.potentialIndex-s.currIndex;if(s.canLoop()){const h=(m+c)%c;h<=c/2?m=h:m=h-c}Math.abs(m)>1&&this.updateCurrItem()}return!!t}getCurrSlideX(){return this.slideWidth*this._currPositionIndex}isShifted(){return this.x!==this.getCurrSlideX()}updateCurrItem(){var t;const{pswp:n}=this,o=this._prevPositionIndex-this._currPositionIndex;if(!o)return;this._prevPositionIndex=this._currPositionIndex,n.currIndex=n.potentialIndex;let s=Math.abs(o),l;s>=3&&(this._containerShiftIndex+=o+(o>0?-3:3),s=3,this.itemHolders.forEach(c=>{var p;(p=c.slide)===null||p===void 0||p.destroy(),c.slide=void 0}));for(let c=0;c<s;c++)o>0?(l=this.itemHolders.shift(),l&&(this.itemHolders[2]=l,this._containerShiftIndex++,kh(l.el,(this._containerShiftIndex+2)*this.slideWidth),n.setContent(l,n.currIndex-s+c+2))):(l=this.itemHolders.pop(),l&&(this.itemHolders.unshift(l),this._containerShiftIndex--,kh(l.el,this._containerShiftIndex*this.slideWidth),n.setContent(l,n.currIndex+s-c-2)));Math.abs(this._containerShiftIndex)>50&&!this.isShifted()&&(this.resetPosition(),this.resize()),n.animations.stopAllPan(),this.itemHolders.forEach((c,p)=>{c.slide&&c.slide.setIsActive(p===1)}),n.currSlide=(t=this.itemHolders[1])===null||t===void 0?void 0:t.slide,n.contentLoader.updateLazy(o),n.currSlide&&n.currSlide.applyCurrentZoomPan(),n.dispatch("change")}moveTo(t,n){if(!this.pswp.canLoop()&&n){let o=(this.slideWidth*this._currPositionIndex-t)/this.slideWidth;o+=this.pswp.currIndex;const s=Math.round(t-this.x);(o<0&&s>0||o>=this.pswp.getNumItems()-1&&s<0)&&(t=this.x+s*dK)}this.x=t,this.pswp.container&&kh(this.pswp.container,t),this.pswp.dispatch("moveMainScroll",{x:t,dragging:n??!1})}}const pK={Escape:27,z:90,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Tab:9},Bh=(e,t)=>t?e:pK[e];class hK{constructor(t){this.pswp=t,this._wasFocused=!1,t.on("bindEvents",()=>{t.options.trapFocus&&(t.options.initialPointerPos||this._focusRoot(),t.events.add(document,"focusin",this._onFocusIn.bind(this))),t.events.add(document,"keydown",this._onKeyDown.bind(this))});const n=document.activeElement;t.on("destroy",()=>{t.options.returnFocus&&n&&this._wasFocused&&n.focus()})}_focusRoot(){!this._wasFocused&&this.pswp.element&&(this.pswp.element.focus(),this._wasFocused=!0)}_onKeyDown(t){const{pswp:n}=this;if(n.dispatch("keydown",{originalEvent:t}).defaultPrevented||QG(t))return;let o,s,l=!1;const c="key"in t;switch(c?t.key:t.keyCode){case Bh("Escape",c):n.options.escKey&&(o="close");break;case Bh("z",c):o="toggleZoom";break;case Bh("ArrowLeft",c):s="x";break;case Bh("ArrowUp",c):s="y";break;case Bh("ArrowRight",c):s="x",l=!0;break;case Bh("ArrowDown",c):l=!0,s="y";break;case Bh("Tab",c):this._focusRoot();break}if(s){t.preventDefault();const{currSlide:p}=n;n.options.arrowKeys&&s==="x"&&n.getNumItems()>1?o=l?"next":"prev":p&&p.currZoomLevel>p.zoomLevels.fit&&(p.pan[s]+=l?-80:80,p.panTo(p.pan.x,p.pan.y))}o&&(t.preventDefault(),n[o]())}_onFocusIn(t){const{template:n}=this.pswp;n&&document!==t.target&&n!==t.target&&!n.contains(t.target)&&n.focus()}}const mK="cubic-bezier(.4,0,.22,1)";class vK{constructor(t){var n;this.props=t;const{target:o,onComplete:s,transform:l,onFinish:c=()=>{},duration:p=333,easing:m=mK}=t;this.onFinish=c;const h=l?"transform":"opacity",A=(n=t[h])!==null&&n!==void 0?n:"";this._target=o,this._onComplete=s,this._finished=!1,this._onTransitionEnd=this._onTransitionEnd.bind(this),this._helperTimeout=setTimeout(()=>{cR(o,h,p,m),this._helperTimeout=setTimeout(()=>{o.addEventListener("transitionend",this._onTransitionEnd,!1),o.addEventListener("transitioncancel",this._onTransitionEnd,!1),this._helperTimeout=setTimeout(()=>{this._finalizeAnimation()},p+500),o.style[h]=A},30)},0)}_onTransitionEnd(t){t.target===this._target&&this._finalizeAnimation()}_finalizeAnimation(){this._finished||(this._finished=!0,this.onFinish(),this._onComplete&&this._onComplete())}destroy(){this._helperTimeout&&clearTimeout(this._helperTimeout),KG(this._target),this._target.removeEventListener("transitionend",this._onTransitionEnd,!1),this._target.removeEventListener("transitioncancel",this._onTransitionEnd,!1),this._finished||this._finalizeAnimation()}}const gK=12,yK=.75;class bK{constructor(t,n,o){this.velocity=t*1e3,this._dampingRatio=n||yK,this._naturalFrequency=o||gK,this._dampedFrequency=this._naturalFrequency,this._dampingRatio<1&&(this._dampedFrequency*=Math.sqrt(1-this._dampingRatio*this._dampingRatio))}easeFrame(t,n){let o=0,s;n/=1e3;const l=Math.E**(-this._dampingRatio*this._naturalFrequency*n);if(this._dampingRatio===1)s=this.velocity+this._naturalFrequency*t,o=(t+s*n)*l,this.velocity=o*-this._naturalFrequency+s*l;else if(this._dampingRatio<1){s=1/this._dampedFrequency*(this._dampingRatio*this._naturalFrequency*t+this.velocity);const c=Math.cos(this._dampedFrequency*n),p=Math.sin(this._dampedFrequency*n);o=l*(t*c+s*p),this.velocity=o*-this._naturalFrequency*this._dampingRatio+l*(-this._dampedFrequency*t*p+this._dampedFrequency*s*c)}return o}}class xK{constructor(t){this.props=t,this._raf=0;const{start:n,end:o,velocity:s,onUpdate:l,onComplete:c,onFinish:p=()=>{},dampingRatio:m,naturalFrequency:h}=t;this.onFinish=p;const A=new bK(s,m,h);let w=Date.now(),_=n-o;const D=()=>{this._raf&&(_=A.easeFrame(_,Date.now()-w),Math.abs(_)<1&&Math.abs(A.velocity)<50?(l(o),c&&c(),this.onFinish()):(w=Date.now(),l(_+o),this._raf=requestAnimationFrame(D)))};this._raf=requestAnimationFrame(D)}destroy(){this._raf>=0&&cancelAnimationFrame(this._raf),this._raf=0}}class AK{constructor(){this.activeAnimations=[]}startSpring(t){this._start(t,!0)}startTransition(t){this._start(t)}_start(t,n){const o=n?new xK(t):new vK(t);return this.activeAnimations.push(o),o.onFinish=()=>this.stop(o),o}stop(t){t.destroy();const n=this.activeAnimations.indexOf(t);n>-1&&this.activeAnimations.splice(n,1)}stopAll(){this.activeAnimations.forEach(t=>{t.destroy()}),this.activeAnimations=[]}stopAllPan(){this.activeAnimations=this.activeAnimations.filter(t=>t.props.isPan?(t.destroy(),!1):!0)}stopMainScroll(){this.activeAnimations=this.activeAnimations.filter(t=>t.props.isMainScroll?(t.destroy(),!1):!0)}isPanRunning(){return this.activeAnimations.some(t=>t.props.isPan)}}class EK{constructor(t){this.pswp=t,t.events.add(t.element,"wheel",this._onWheel.bind(this))}_onWheel(t){t.preventDefault();const{currSlide:n}=this.pswp;let{deltaX:o,deltaY:s}=t;if(n&&!this.pswp.dispatch("wheel",{originalEvent:t}).defaultPrevented)if(t.ctrlKey||this.pswp.options.wheelToZoom){if(n.isZoomable()){let l=-s;t.deltaMode===1?l*=.05:l*=t.deltaMode?1:.002,l=2**l;const c=n.currZoomLevel*l;n.zoomTo(c,{x:t.clientX,y:t.clientY})}}else n.isPannable()&&(t.deltaMode===1&&(o*=18,s*=18),n.panTo(n.pan.x-o,n.pan.y-s))}}function _K(e){if(typeof e=="string")return e;if(!e||!e.isCustomSVG)return"";const t=e;let n='<svg aria-hidden="true" class="pswp__icn" viewBox="0 0 %d %d" width="%d" height="%d">';return n=n.split("%d").join(t.size||32),t.outlineID&&(n+='<use class="pswp__icn-shadow" xlink:href="#'+t.outlineID+'"/>'),n+=t.inner,n+="</svg>",n}class wK{constructor(t,n){var o;const s=n.name||n.className;let l=n.html;if(t.options[s]===!1)return;typeof t.options[s+"SVG"]=="string"&&(l=t.options[s+"SVG"]),t.dispatch("uiElementCreate",{data:n});let c="";n.isButton?(c+="pswp__button ",c+=n.className||`pswp__button--${n.name}`):c+=n.className||`pswp__${n.name}`;let p=n.isButton?n.tagName||"button":n.tagName||"div";p=p.toLowerCase();const m=cc(c,p);if(n.isButton){p==="button"&&(m.type="button");let{title:w}=n;const{ariaLabel:_}=n;typeof t.options[s+"Title"]=="string"&&(w=t.options[s+"Title"]),w&&(m.title=w);const D=_||w;D&&m.setAttribute("aria-label",D)}m.innerHTML=_K(l),n.onInit&&n.onInit(m,t),n.onClick&&(m.onclick=w=>{typeof n.onClick=="string"?t[n.onClick]():typeof n.onClick=="function"&&n.onClick(w,m,t)});const h=n.appendTo||"bar";let A=t.element;h==="bar"?(t.topBar||(t.topBar=cc("pswp__top-bar pswp__hide-on-close","div",t.scrollWrap)),A=t.topBar):(m.classList.add("pswp__hide-on-close"),h==="wrapper"&&(A=t.scrollWrap)),(o=A)===null||o===void 0||o.appendChild(t.applyFilters("uiElement",m,n))}}function AR(e,t,n){e.classList.add("pswp__button--arrow"),e.setAttribute("aria-controls","pswp__items"),t.on("change",()=>{t.options.loop||(n?e.disabled=!(t.currIndex<t.getNumItems()-1):e.disabled=!(t.currIndex>0))})}const SK={name:"arrowPrev",className:"pswp__button--arrow--prev",title:"Previous",order:10,isButton:!0,appendTo:"wrapper",html:{isCustomSVG:!0,size:60,inner:'<path d="M29 43l-3 3-16-16 16-16 3 3-13 13 13 13z" id="pswp__icn-arrow"/>',outlineID:"pswp__icn-arrow"},onClick:"prev",onInit:AR},CK={name:"arrowNext",className:"pswp__button--arrow--next",title:"Next",order:11,isButton:!0,appendTo:"wrapper",html:{isCustomSVG:!0,size:60,inner:'<use xlink:href="#pswp__icn-arrow"/>',outlineID:"pswp__icn-arrow"},onClick:"next",onInit:(e,t)=>{AR(e,t,!0)}},TK={name:"close",title:"Close",order:20,isButton:!0,html:{isCustomSVG:!0,inner:'<path d="M24 10l-2-2-6 6-6-6-2 2 6 6-6 6 2 2 6-6 6 6 2-2-6-6z" id="pswp__icn-close"/>',outlineID:"pswp__icn-close"},onClick:"close"},NK={name:"zoom",title:"Zoom",order:10,isButton:!0,html:{isCustomSVG:!0,inner:'<path d="M17.426 19.926a6 6 0 1 1 1.5-1.5L23 22.5 21.5 24l-4.074-4.074z" id="pswp__icn-zoom"/><path fill="currentColor" class="pswp__zoom-icn-bar-h" d="M11 16v-2h6v2z"/><path fill="currentColor" class="pswp__zoom-icn-bar-v" d="M13 12h2v6h-2z"/>',outlineID:"pswp__icn-zoom"},onClick:"toggleZoom"},DK={name:"preloader",appendTo:"bar",order:7,html:{isCustomSVG:!0,inner:'<path fill-rule="evenodd" clip-rule="evenodd" d="M21.2 16a5.2 5.2 0 1 1-5.2-5.2V8a8 8 0 1 0 8 8h-2.8Z" id="pswp__icn-loading"/>',outlineID:"pswp__icn-loading"},onInit:(e,t)=>{let n,o=null;const s=(p,m)=>{e.classList.toggle("pswp__preloader--"+p,m)},l=p=>{n!==p&&(n=p,s("active",p))},c=()=>{var p;if(!((p=t.currSlide)!==null&&p!==void 0&&p.content.isLoading())){l(!1),o&&(clearTimeout(o),o=null);return}o||(o=setTimeout(()=>{var m;l(!!(!((m=t.currSlide)===null||m===void 0)&&m.content.isLoading())),o=null},t.options.preloaderDelay))};t.on("change",c),t.on("loadComplete",p=>{t.currSlide===p.slide&&c()}),t.ui&&(t.ui.updatePreloaderVisibility=c)}},RK={name:"counter",order:5,onInit:(e,t)=>{t.on("change",()=>{e.innerText=t.currIndex+1+t.options.indexIndicatorSep+t.getNumItems()})}};function ER(e,t){e.classList.toggle("pswp--zoomed-in",t)}class OK{constructor(t){this.pswp=t,this.isRegistered=!1,this.uiElementsData=[],this.items=[],this.updatePreloaderVisibility=()=>{},this._lastUpdatedZoomLevel=void 0}init(){const{pswp:t}=this;this.isRegistered=!1,this.uiElementsData=[TK,SK,CK,NK,DK,RK],t.dispatch("uiRegister"),this.uiElementsData.sort((n,o)=>(n.order||0)-(o.order||0)),this.items=[],this.isRegistered=!0,this.uiElementsData.forEach(n=>{this.registerElement(n)}),t.on("change",()=>{var n;(n=t.element)===null||n===void 0||n.classList.toggle("pswp--one-slide",t.getNumItems()===1)}),t.on("zoomPanUpdate",()=>this._onZoomPanUpdate())}registerElement(t){this.isRegistered?this.items.push(new wK(this.pswp,t)):this.uiElementsData.push(t)}_onZoomPanUpdate(){const{template:t,currSlide:n,options:o}=this.pswp;if(this.pswp.opener.isClosing||!t||!n)return;let{currZoomLevel:s}=n;if(this.pswp.opener.isOpen||(s=n.zoomLevels.initial),s===this._lastUpdatedZoomLevel)return;this._lastUpdatedZoomLevel=s;const l=n.zoomLevels.initial-n.zoomLevels.secondary;if(Math.abs(l)<.01||!n.isZoomable()){ER(t,!1),t.classList.remove("pswp--zoom-allowed");return}t.classList.add("pswp--zoom-allowed");const c=s===n.zoomLevels.initial?n.zoomLevels.secondary:n.zoomLevels.initial;ER(t,c<=s),(o.imageClickAction==="zoom"||o.imageClickAction==="zoom-or-close")&&t.classList.add("pswp--click-to-zoom")}}function IK(e){const t=e.getBoundingClientRect();return{x:t.left,y:t.top,w:t.width}}function jK(e,t,n){const o=e.getBoundingClientRect(),s=o.width/t,l=o.height/n,c=s>l?s:l,p=(o.width-t*c)/2,m=(o.height-n*c)/2,h={x:o.left+p,y:o.top+m,w:t*c};return h.innerRect={w:o.width,h:o.height,x:p,y:m},h}function MK(e,t,n){const o=n.dispatch("thumbBounds",{index:e,itemData:t,instance:n});if(o.thumbBounds)return o.thumbBounds;const{element:s}=t;let l,c;if(s&&n.options.thumbSelector!==!1){const p=n.options.thumbSelector||"img";c=s.matches(p)?s:s.querySelector(p)}return c=n.applyFilters("thumbEl",c,t,e),c&&(t.thumbCropped?l=jK(c,t.width||t.w||0,t.height||t.h||0):l=IK(c)),n.applyFilters("thumbBounds",l,t,e)}let LK=class{constructor(e,t){this.type=e,this.defaultPrevented=!1,t&&Object.assign(this,t)}preventDefault(){this.defaultPrevented=!0}},kK=class{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(e,t,n=100){var o,s,l;this._filters[e]||(this._filters[e]=[]),(o=this._filters[e])===null||o===void 0||o.push({fn:t,priority:n}),(s=this._filters[e])===null||s===void 0||s.sort((c,p)=>c.priority-p.priority),(l=this.pswp)===null||l===void 0||l.addFilter(e,t,n)}removeFilter(e,t){this._filters[e]&&(this._filters[e]=this._filters[e].filter(n=>n.fn!==t)),this.pswp&&this.pswp.removeFilter(e,t)}applyFilters(e,...t){var n;return(n=this._filters[e])===null||n===void 0||n.forEach(o=>{t[0]=o.fn.apply(this,t)}),t[0]}on(e,t){var n,o;this._listeners[e]||(this._listeners[e]=[]),(n=this._listeners[e])===null||n===void 0||n.push(t),(o=this.pswp)===null||o===void 0||o.on(e,t)}off(e,t){var n;this._listeners[e]&&(this._listeners[e]=this._listeners[e].filter(o=>t!==o)),(n=this.pswp)===null||n===void 0||n.off(e,t)}dispatch(e,t){var n;if(this.pswp)return this.pswp.dispatch(e,t);const o=new LK(e,t);return(n=this._listeners[e])===null||n===void 0||n.forEach(s=>{s.call(this,o)}),o}},BK=class{constructor(e,t){if(this.element=cc("pswp__img pswp__img--placeholder",e?"img":"div",t),e){const n=this.element;n.decoding="async",n.alt="",n.src=e,n.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(e,t){this.element&&(this.element.tagName==="IMG"?(H5(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=P2(0,0,e/250)):H5(this.element,e,t))}destroy(){var e;(e=this.element)!==null&&e!==void 0&&e.parentNode&&this.element.remove(),this.element=null}},PK=class{constructor(e,t,n){this.instance=t,this.data=e,this.index=n,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=td.IDLE,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(e,t){if(this.slide&&this.usePlaceholder())if(this.placeholder){const n=this.placeholder.element;n&&!n.parentElement&&this.slide.container.prepend(n)}else{const n=this.instance.applyFilters("placeholderSrc",this.data.msrc&&this.slide.isFirstSlide?this.data.msrc:!1,this);this.placeholder=new BK(n,this.slide.container)}this.element&&!t||this.instance.dispatch("contentLoad",{content:this,isLazy:e}).defaultPrevented||(this.isImageContent()?(this.element=cc("pswp__img","img"),this.displayedImageWidth&&this.loadImage(e)):(this.element=cc("pswp__content","div"),this.element.innerHTML=this.data.html||""),t&&this.slide&&this.slide.updateContentSize(!0))}loadImage(e){var t,n;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:e}).defaultPrevented)return;const o=this.element;this.updateSrcsetSizes(),this.data.srcset&&(o.srcset=this.data.srcset),o.src=(t=this.data.src)!==null&&t!==void 0?t:"",o.alt=(n=this.data.alt)!==null&&n!==void 0?n:"",this.state=td.LOADING,o.complete?this.onLoaded():(o.onload=()=>{this.onLoaded()},o.onerror=()=>{this.onError()})}setSlide(e){this.slide=e,this.hasSlide=!0,this.instance=e.pswp}onLoaded(){this.state=td.LOADED,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),(this.state===td.LOADED||this.state===td.ERROR)&&this.removePlaceholder())}onError(){this.state=td.ERROR,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===td.LOADING,this)}isError(){return this.state===td.ERROR}isImageContent(){return this.type==="image"}setDisplayedSize(e,t){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(e,t),!this.instance.dispatch("contentResize",{content:this,width:e,height:t}).defaultPrevented&&(H5(this.element,e,t),this.isImageContent()&&!this.isError()))){const n=!this.displayedImageWidth&&e;this.displayedImageWidth=e,this.displayedImageHeight=t,n?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:e,height:t,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==td.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;const e=this.element,t=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!e.dataset.largestUsedSize||t>parseInt(e.dataset.largestUsedSize,10))&&(e.sizes=t+"px",e.dataset.largestUsedSize=String(t))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,!this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented&&(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){var e,t;let n=cc("pswp__error-msg","div");n.innerText=(e=(t=this.instance.options)===null||t===void 0?void 0:t.errorMsg)!==null&&e!==void 0?e:"",n=this.instance.applyFilters("contentErrorElement",n,this),this.element=cc("pswp__content pswp__error-msg-container","div"),this.element.appendChild(n),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===td.ERROR){this.displayError();return}if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;const e="decode"in this.element;this.isImageContent()?e&&this.slide&&(!this.slide.isActive||dR())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){this.instance.dispatch("contentActivate",{content:this}).defaultPrevented||!this.slide||(this.isImageContent()&&this.isDecoding&&!dR()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,!this.instance.dispatch("contentRemove",{content:this}).defaultPrevented&&(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&(this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),(this.state===td.LOADED||this.state===td.ERROR)&&this.removePlaceholder()))}};const FK=5;function _R(e,t,n){const o=t.createContentFromData(e,n);let s;const{options:l}=t;if(l){s=new vR(l,e,-1);let c;t.pswp?c=t.pswp.viewportSize:c=pR(l,t);const p=hR(l,c,e,n);s.update(o.width,o.height,p)}return o.lazyLoad(),s&&o.setDisplayedSize(Math.ceil(o.width*s.initial),Math.ceil(o.height*s.initial)),o}function HK(e,t){const n=t.getItemData(e);if(!t.dispatch("lazyLoadSlide",{index:e,itemData:n}).defaultPrevented)return _R(n,t,e)}class UK{constructor(t){this.pswp=t,this.limit=Math.max(t.options.preload[0]+t.options.preload[1]+1,FK),this._cachedItems=[]}updateLazy(t){const{pswp:n}=this;if(n.dispatch("lazyLoad").defaultPrevented)return;const{preload:o}=n.options,s=t===void 0?!0:t>=0;let l;for(l=0;l<=o[1];l++)this.loadSlideByIndex(n.currIndex+(s?l:-l));for(l=1;l<=o[0];l++)this.loadSlideByIndex(n.currIndex+(s?-l:l))}loadSlideByIndex(t){const n=this.pswp.getLoopedIndex(t);let o=this.getContentByIndex(n);o||(o=HK(n,this.pswp),o&&this.addToCache(o))}getContentBySlide(t){let n=this.getContentByIndex(t.index);return n||(n=this.pswp.createContentFromData(t.data,t.index),this.addToCache(n)),n.setSlide(t),n}addToCache(t){if(this.removeByIndex(t.index),this._cachedItems.push(t),this._cachedItems.length>this.limit){const n=this._cachedItems.findIndex(o=>!o.isAttached&&!o.hasSlide);n!==-1&&this._cachedItems.splice(n,1)[0].destroy()}}removeByIndex(t){const n=this._cachedItems.findIndex(o=>o.index===t);n!==-1&&this._cachedItems.splice(n,1)}getContentByIndex(t){return this._cachedItems.find(n=>n.index===t)}destroy(){this._cachedItems.forEach(t=>t.destroy()),this._cachedItems=[]}}let zK=class extends kK{getNumItems(){var e;let t=0;const n=(e=this.options)===null||e===void 0?void 0:e.dataSource;n&&"length"in n?t=n.length:n&&"gallery"in n&&(n.items||(n.items=this._getGalleryDOMElements(n.gallery)),n.items&&(t=n.items.length));const o=this.dispatch("numItems",{dataSource:n,numItems:t});return this.applyFilters("numItems",o.numItems,n)}createContentFromData(e,t){return new PK(e,this,t)}getItemData(e){var t;const n=(t=this.options)===null||t===void 0?void 0:t.dataSource;let o={};Array.isArray(n)?o=n[e]:n&&"gallery"in n&&(n.items||(n.items=this._getGalleryDOMElements(n.gallery)),o=n.items[e]);let s=o;s instanceof Element&&(s=this._domElementToItemData(s));const l=this.dispatch("itemData",{itemData:s||{},index:e});return this.applyFilters("itemData",l.itemData,e)}_getGalleryDOMElements(e){var t,n;return(t=this.options)!==null&&t!==void 0&&t.children||(n=this.options)!==null&&n!==void 0&&n.childSelector?YG(this.options.children,this.options.childSelector,e)||[]:[e]}_domElementToItemData(e){const t={element:e},n=e.tagName==="A"?e:e.querySelector("a");if(n){t.src=n.dataset.pswpSrc||n.href,n.dataset.pswpSrcset&&(t.srcset=n.dataset.pswpSrcset),t.width=n.dataset.pswpWidth?parseInt(n.dataset.pswpWidth,10):0,t.height=n.dataset.pswpHeight?parseInt(n.dataset.pswpHeight,10):0,t.w=t.width,t.h=t.height,n.dataset.pswpType&&(t.type=n.dataset.pswpType);const s=e.querySelector("img");if(s){var o;t.msrc=s.currentSrc||s.src,t.alt=(o=s.getAttribute("alt"))!==null&&o!==void 0?o:""}(n.dataset.pswpCropped||n.dataset.cropped)&&(t.thumbCropped=!0)}return this.applyFilters("domItemData",t,e,n)}lazyLoadData(e,t){return _R(e,this,t)}};const H2=.003;class qK{constructor(t){this.pswp=t,this.isClosed=!0,this.isOpen=!1,this.isClosing=!1,this.isOpening=!1,this._duration=void 0,this._useAnimation=!1,this._croppedZoom=!1,this._animateRootOpacity=!1,this._animateBgOpacity=!1,this._placeholder=void 0,this._opacityElement=void 0,this._cropContainer1=void 0,this._cropContainer2=void 0,this._thumbBounds=void 0,this._prepareOpen=this._prepareOpen.bind(this),t.on("firstZoomPan",this._prepareOpen)}open(){this._prepareOpen(),this._start()}close(){if(this.isClosed||this.isClosing||this.isOpening)return;const t=this.pswp.currSlide;this.isOpen=!1,this.isOpening=!1,this.isClosing=!0,this._duration=this.pswp.options.hideAnimationDuration,t&&t.currZoomLevel*t.width>=this.pswp.options.maxWidthToAnimate&&(this._duration=0),this._applyStartProps(),setTimeout(()=>{this._start()},this._croppedZoom?30:0)}_prepareOpen(){if(this.pswp.off("firstZoomPan",this._prepareOpen),!this.isOpening){const t=this.pswp.currSlide;this.isOpening=!0,this.isClosing=!1,this._duration=this.pswp.options.showAnimationDuration,t&&t.zoomLevels.initial*t.width>=this.pswp.options.maxWidthToAnimate&&(this._duration=0),this._applyStartProps()}}_applyStartProps(){const{pswp:t}=this,n=this.pswp.currSlide,{options:o}=t;if(o.showHideAnimationType==="fade"?(o.showHideOpacity=!0,this._thumbBounds=void 0):o.showHideAnimationType==="none"?(o.showHideOpacity=!1,this._duration=0,this._thumbBounds=void 0):this.isOpening&&t._initialThumbBounds?this._thumbBounds=t._initialThumbBounds:this._thumbBounds=this.pswp.getThumbBounds(),this._placeholder=n?.getPlaceholderElement(),t.animations.stopAll(),this._useAnimation=!!(this._duration&&this._duration>50),this._animateZoom=!!this._thumbBounds&&n?.content.usePlaceholder()&&(!this.isClosing||!t.mainScroll.isShifted()),!this._animateZoom)this._animateRootOpacity=!0,this.isOpening&&n&&(n.zoomAndPanToInitial(),n.applyCurrentZoomPan());else{var s;this._animateRootOpacity=(s=o.showHideOpacity)!==null&&s!==void 0?s:!1}if(this._animateBgOpacity=!this._animateRootOpacity&&this.pswp.options.bgOpacity>H2,this._opacityElement=this._animateRootOpacity?t.element:t.bg,!this._useAnimation){this._duration=0,this._animateZoom=!1,this._animateBgOpacity=!1,this._animateRootOpacity=!0,this.isOpening&&(t.element&&(t.element.style.opacity=String(H2)),t.applyBgOpacity(1));return}if(this._animateZoom&&this._thumbBounds&&this._thumbBounds.innerRect){var l;this._croppedZoom=!0,this._cropContainer1=this.pswp.container,this._cropContainer2=(l=this.pswp.currSlide)===null||l===void 0?void 0:l.holderElement,t.container&&(t.container.style.overflow="hidden",t.container.style.width=t.viewportSize.x+"px")}else this._croppedZoom=!1;this.isOpening?(this._animateRootOpacity?(t.element&&(t.element.style.opacity=String(H2)),t.applyBgOpacity(1)):(this._animateBgOpacity&&t.bg&&(t.bg.style.opacity=String(H2)),t.element&&(t.element.style.opacity="1")),this._animateZoom&&(this._setClosedStateZoomPan(),this._placeholder&&(this._placeholder.style.willChange="transform",this._placeholder.style.opacity=String(H2)))):this.isClosing&&(t.mainScroll.itemHolders[0]&&(t.mainScroll.itemHolders[0].el.style.display="none"),t.mainScroll.itemHolders[2]&&(t.mainScroll.itemHolders[2].el.style.display="none"),this._croppedZoom&&t.mainScroll.x!==0&&(t.mainScroll.resetPosition(),t.mainScroll.resize()))}_start(){this.isOpening&&this._useAnimation&&this._placeholder&&this._placeholder.tagName==="IMG"?new Promise(t=>{let n=!1,o=!0;WG(this._placeholder).finally(()=>{n=!0,o||t(!0)}),setTimeout(()=>{o=!1,n&&t(!0)},50),setTimeout(t,250)}).finally(()=>this._initiate()):this._initiate()}_initiate(){var t,n;(t=this.pswp.element)===null||t===void 0||t.style.setProperty("--pswp-transition-duration",this._duration+"ms"),this.pswp.dispatch(this.isOpening?"openingAnimationStart":"closingAnimationStart"),this.pswp.dispatch("initialZoom"+(this.isOpening?"In":"Out")),(n=this.pswp.element)===null||n===void 0||n.classList.toggle("pswp--ui-visible",this.isOpening),this.isOpening?(this._placeholder&&(this._placeholder.style.opacity="1"),this._animateToOpenState()):this.isClosing&&this._animateToClosedState(),this._useAnimation||this._onAnimationComplete()}_onAnimationComplete(){const{pswp:t}=this;if(this.isOpen=this.isOpening,this.isClosed=this.isClosing,this.isOpening=!1,this.isClosing=!1,t.dispatch(this.isOpen?"openingAnimationEnd":"closingAnimationEnd"),t.dispatch("initialZoom"+(this.isOpen?"InEnd":"OutEnd")),this.isClosed)t.destroy();else if(this.isOpen){var n;this._animateZoom&&t.container&&(t.container.style.overflow="visible",t.container.style.width="100%"),(n=t.currSlide)===null||n===void 0||n.applyCurrentZoomPan()}}_animateToOpenState(){const{pswp:t}=this;this._animateZoom&&(this._croppedZoom&&this._cropContainer1&&this._cropContainer2&&(this._animateTo(this._cropContainer1,"transform","translate3d(0,0,0)"),this._animateTo(this._cropContainer2,"transform","none")),t.currSlide&&(t.currSlide.zoomAndPanToInitial(),this._animateTo(t.currSlide.container,"transform",t.currSlide.getCurrentTransform()))),this._animateBgOpacity&&t.bg&&this._animateTo(t.bg,"opacity",String(t.options.bgOpacity)),this._animateRootOpacity&&t.element&&this._animateTo(t.element,"opacity","1")}_animateToClosedState(){const{pswp:t}=this;this._animateZoom&&this._setClosedStateZoomPan(!0),this._animateBgOpacity&&t.bgOpacity>.01&&t.bg&&this._animateTo(t.bg,"opacity","0"),this._animateRootOpacity&&t.element&&this._animateTo(t.element,"opacity","0")}_setClosedStateZoomPan(t){if(!this._thumbBounds)return;const{pswp:n}=this,{innerRect:o}=this._thumbBounds,{currSlide:s,viewportSize:l}=n;if(this._croppedZoom&&o&&this._cropContainer1&&this._cropContainer2){const c=-l.x+(this._thumbBounds.x-o.x)+o.w,p=-l.y+(this._thumbBounds.y-o.y)+o.h,m=l.x-o.w,h=l.y-o.h;t?(this._animateTo(this._cropContainer1,"transform",P2(c,p)),this._animateTo(this._cropContainer2,"transform",P2(m,h))):(kh(this._cropContainer1,c,p),kh(this._cropContainer2,m,h))}s&&(Bo(s.pan,o||this._thumbBounds),s.currZoomLevel=this._thumbBounds.w/s.width,t?this._animateTo(s.container,"transform",s.getCurrentTransform()):s.applyCurrentZoomPan())}_animateTo(t,n,o){if(!this._duration){t.style[n]=o;return}const{animations:s}=this.pswp,l={duration:this._duration,easing:this.pswp.options.easing,onComplete:()=>{s.activeAnimations.length||this._onAnimationComplete()},target:t};l[n]=o,s.startTransition(l)}}const VK={allowPanToNext:!0,spacing:.1,loop:!0,pinchToClose:!0,closeOnVerticalDrag:!0,hideAnimationDuration:333,showAnimationDuration:333,zoomAnimationDuration:333,escKey:!0,arrowKeys:!0,trapFocus:!0,returnFocus:!0,maxWidthToAnimate:4e3,clickToCloseNonZoomable:!0,imageClickAction:"zoom-or-close",bgClickAction:"close",tapAction:"toggle-controls",doubleTapAction:"zoom",indexIndicatorSep:" / ",preloaderDelay:2e3,bgOpacity:.8,index:0,errorMsg:"The image cannot be loaded",preload:[1,2],easing:"cubic-bezier(.4,0,.22,1)"};class GK extends zK{constructor(t){super(),this.options=this._prepareOptions(t||{}),this.offset={x:0,y:0},this._prevViewportSize={x:0,y:0},this.viewportSize={x:0,y:0},this.bgOpacity=1,this.currIndex=0,this.potentialIndex=0,this.isOpen=!1,this.isDestroying=!1,this.hasMouse=!1,this._initialItemData={},this._initialThumbBounds=void 0,this.topBar=void 0,this.element=void 0,this.template=void 0,this.container=void 0,this.scrollWrap=void 0,this.currSlide=void 0,this.events=new ZG,this.animations=new AK,this.mainScroll=new fK(this),this.gestures=new cK(this),this.opener=new qK(this),this.keyboard=new hK(this),this.contentLoader=new UK(this)}init(){if(this.isOpen||this.isDestroying)return!1;this.isOpen=!0,this.dispatch("init"),this.dispatch("beforeOpen"),this._createMainStructure();let t="pswp--open";return this.gestures.supportsTouch&&(t+=" pswp--touch"),this.options.mainClass&&(t+=" "+this.options.mainClass),this.element&&(this.element.className+=" "+t),this.currIndex=this.options.index||0,this.potentialIndex=this.currIndex,this.dispatch("firstUpdate"),this.scrollWheel=new EK(this),(Number.isNaN(this.currIndex)||this.currIndex<0||this.currIndex>=this.getNumItems())&&(this.currIndex=0),this.gestures.supportsTouch||this.mouseDetected(),this.updateSize(),this.offset.y=window.pageYOffset,this._initialItemData=this.getItemData(this.currIndex),this.dispatch("gettingData",{index:this.currIndex,data:this._initialItemData,slide:void 0}),this._initialThumbBounds=this.getThumbBounds(),this.dispatch("initialLayout"),this.on("openingAnimationEnd",()=>{const{itemHolders:n}=this.mainScroll;n[0]&&(n[0].el.style.display="block",this.setContent(n[0],this.currIndex-1)),n[2]&&(n[2].el.style.display="block",this.setContent(n[2],this.currIndex+1)),this.appendHeavy(),this.contentLoader.updateLazy(),this.events.add(window,"resize",this._handlePageResize.bind(this)),this.events.add(window,"scroll",this._updatePageScrollOffset.bind(this)),this.dispatch("bindEvents")}),this.mainScroll.itemHolders[1]&&this.setContent(this.mainScroll.itemHolders[1],this.currIndex),this.dispatch("change"),this.opener.open(),this.dispatch("afterInit"),!0}getLoopedIndex(t){const n=this.getNumItems();return this.options.loop&&(t>n-1&&(t-=n),t<0&&(t+=n)),B2(t,0,n-1)}appendHeavy(){this.mainScroll.itemHolders.forEach(t=>{var n;(n=t.slide)===null||n===void 0||n.appendHeavy()})}goTo(t){this.mainScroll.moveIndexBy(this.getLoopedIndex(t)-this.potentialIndex)}next(){this.goTo(this.potentialIndex+1)}prev(){this.goTo(this.potentialIndex-1)}zoomTo(...t){var n;(n=this.currSlide)===null||n===void 0||n.zoomTo(...t)}toggleZoom(){var t;(t=this.currSlide)===null||t===void 0||t.toggleZoom()}close(){!this.opener.isOpen||this.isDestroying||(this.isDestroying=!0,this.dispatch("close"),this.events.removeAll(),this.opener.close())}destroy(){var t;if(!this.isDestroying){this.options.showHideAnimationType="none",this.close();return}this.dispatch("destroy"),this._listeners={},this.scrollWrap&&(this.scrollWrap.ontouchmove=null,this.scrollWrap.ontouchend=null),(t=this.element)===null||t===void 0||t.remove(),this.mainScroll.itemHolders.forEach(n=>{var o;(o=n.slide)===null||o===void 0||o.destroy()}),this.contentLoader.destroy(),this.events.removeAll()}refreshSlideContent(t){this.contentLoader.removeByIndex(t),this.mainScroll.itemHolders.forEach((n,o)=>{var s,l;let c=((s=(l=this.currSlide)===null||l===void 0?void 0:l.index)!==null&&s!==void 0?s:0)-1+o;if(this.canLoop()&&(c=this.getLoopedIndex(c)),c===t&&(this.setContent(n,t,!0),o===1)){var p;this.currSlide=n.slide,(p=n.slide)===null||p===void 0||p.setIsActive(!0)}}),this.dispatch("change")}setContent(t,n,o){if(this.canLoop()&&(n=this.getLoopedIndex(n)),t.slide){if(t.slide.index===n&&!o)return;t.slide.destroy(),t.slide=void 0}if(!this.canLoop()&&(n<0||n>=this.getNumItems()))return;const s=this.getItemData(n);t.slide=new JG(s,n,this),n===this.currIndex&&(this.currSlide=t.slide),t.slide.append(t.el)}getViewportCenterPoint(){return{x:this.viewportSize.x/2,y:this.viewportSize.y/2}}updateSize(t){if(this.isDestroying)return;const n=pR(this.options,this);!t&&k2(n,this._prevViewportSize)||(Bo(this._prevViewportSize,n),this.dispatch("beforeResize"),Bo(this.viewportSize,this._prevViewportSize),this._updatePageScrollOffset(),this.dispatch("viewportSize"),this.mainScroll.resize(this.opener.isOpen),!this.hasMouse&&window.matchMedia("(any-hover: hover)").matches&&this.mouseDetected(),this.dispatch("resize"))}applyBgOpacity(t){this.bgOpacity=Math.max(t,0),this.bg&&(this.bg.style.opacity=String(this.bgOpacity*this.options.bgOpacity))}mouseDetected(){if(!this.hasMouse){var t;this.hasMouse=!0,(t=this.element)===null||t===void 0||t.classList.add("pswp--has_mouse")}}_handlePageResize(){this.updateSize(),/iPhone|iPad|iPod/i.test(window.navigator.userAgent)&&setTimeout(()=>{this.updateSize()},500)}_updatePageScrollOffset(){this.setScrollOffset(0,window.pageYOffset)}setScrollOffset(t,n){this.offset.x=t,this.offset.y=n,this.dispatch("updateScrollOffset")}_createMainStructure(){this.element=cc("pswp","div"),this.element.setAttribute("tabindex","-1"),this.element.setAttribute("role","dialog"),this.template=this.element,this.bg=cc("pswp__bg","div",this.element),this.scrollWrap=cc("pswp__scroll-wrap","section",this.element),this.container=cc("pswp__container","div",this.scrollWrap),this.scrollWrap.setAttribute("aria-roledescription","carousel"),this.container.setAttribute("aria-live","off"),this.container.setAttribute("id","pswp__items"),this.mainScroll.appendHolders(),this.ui=new OK(this),this.ui.init(),(this.options.appendToEl||document.body).appendChild(this.element)}getThumbBounds(){return MK(this.currIndex,this.currSlide?this.currSlide.data:this._initialItemData,this)}canLoop(){return this.options.loop&&this.getNumItems()>2}_prepareOptions(t){return window.matchMedia("(prefers-reduced-motion), (update: slow)").matches&&(t.showHideAnimationType="none",t.zoomAnimationDuration=0),{...VK,...t}}}function U2(e,t,n){const o=document.createElement(t);return e&&(o.className=e),n&&n.appendChild(o),o}function KK(e,t,n){let o=`translate3d(${e}px,0px,0)`;return n!==void 0&&(o+=` scale3d(${n},${n},1)`),o}function U5(e,t,n){e.style.width=typeof t=="number"?`${t}px`:t,e.style.height=typeof n=="number"?`${n}px`:n}const rd={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function WK(e){return"button"in e&&e.button===1||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey}function z2(e,t,n=document){let o=[];if(e instanceof Element)o=[e];else if(e instanceof NodeList||Array.isArray(e))o=Array.from(e);else{const s=typeof e=="string"?e:t;s&&(o=Array.from(n.querySelectorAll(s)))}return o}function QK(e){return typeof e=="function"&&e.prototype&&e.prototype.goTo}function wR(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}class YK{constructor(t,n){this.type=t,this.defaultPrevented=!1,n&&Object.assign(this,n)}preventDefault(){this.defaultPrevented=!0}}class ZK{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(t,n,o=100){var s,l,c;this._filters[t]||(this._filters[t]=[]),(s=this._filters[t])===null||s===void 0||s.push({fn:n,priority:o}),(l=this._filters[t])===null||l===void 0||l.sort((p,m)=>p.priority-m.priority),(c=this.pswp)===null||c===void 0||c.addFilter(t,n,o)}removeFilter(t,n){this._filters[t]&&(this._filters[t]=this._filters[t].filter(o=>o.fn!==n)),this.pswp&&this.pswp.removeFilter(t,n)}applyFilters(t,...n){var o;return(o=this._filters[t])===null||o===void 0||o.forEach(s=>{n[0]=s.fn.apply(this,n)}),n[0]}on(t,n){var o,s;this._listeners[t]||(this._listeners[t]=[]),(o=this._listeners[t])===null||o===void 0||o.push(n),(s=this.pswp)===null||s===void 0||s.on(t,n)}off(t,n){var o;this._listeners[t]&&(this._listeners[t]=this._listeners[t].filter(s=>n!==s)),(o=this.pswp)===null||o===void 0||o.off(t,n)}dispatch(t,n){var o;if(this.pswp)return this.pswp.dispatch(t,n);const s=new YK(t,n);return(o=this._listeners[t])===null||o===void 0||o.forEach(l=>{l.call(this,s)}),s}}class $K{constructor(t,n){if(this.element=U2("pswp__img pswp__img--placeholder",t?"img":"div",n),t){const o=this.element;o.decoding="async",o.alt="",o.src=t,o.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(t,n){this.element&&(this.element.tagName==="IMG"?(U5(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=KK(0,0,t/250)):U5(this.element,t,n))}destroy(){var t;(t=this.element)!==null&&t!==void 0&&t.parentNode&&this.element.remove(),this.element=null}}class JK{constructor(t,n,o){this.instance=n,this.data=t,this.index=o,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=rd.IDLE,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(t,n){if(this.slide&&this.usePlaceholder())if(this.placeholder){const o=this.placeholder.element;o&&!o.parentElement&&this.slide.container.prepend(o)}else{const o=this.instance.applyFilters("placeholderSrc",this.data.msrc&&this.slide.isFirstSlide?this.data.msrc:!1,this);this.placeholder=new $K(o,this.slide.container)}this.element&&!n||this.instance.dispatch("contentLoad",{content:this,isLazy:t}).defaultPrevented||(this.isImageContent()?(this.element=U2("pswp__img","img"),this.displayedImageWidth&&this.loadImage(t)):(this.element=U2("pswp__content","div"),this.element.innerHTML=this.data.html||""),n&&this.slide&&this.slide.updateContentSize(!0))}loadImage(t){var n,o;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:t}).defaultPrevented)return;const s=this.element;this.updateSrcsetSizes(),this.data.srcset&&(s.srcset=this.data.srcset),s.src=(n=this.data.src)!==null&&n!==void 0?n:"",s.alt=(o=this.data.alt)!==null&&o!==void 0?o:"",this.state=rd.LOADING,s.complete?this.onLoaded():(s.onload=()=>{this.onLoaded()},s.onerror=()=>{this.onError()})}setSlide(t){this.slide=t,this.hasSlide=!0,this.instance=t.pswp}onLoaded(){this.state=rd.LOADED,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),(this.state===rd.LOADED||this.state===rd.ERROR)&&this.removePlaceholder())}onError(){this.state=rd.ERROR,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===rd.LOADING,this)}isError(){return this.state===rd.ERROR}isImageContent(){return this.type==="image"}setDisplayedSize(t,n){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(t,n),!this.instance.dispatch("contentResize",{content:this,width:t,height:n}).defaultPrevented&&(U5(this.element,t,n),this.isImageContent()&&!this.isError()))){const o=!this.displayedImageWidth&&t;this.displayedImageWidth=t,this.displayedImageHeight=n,o?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:t,height:n,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==rd.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;const t=this.element,n=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!t.dataset.largestUsedSize||n>parseInt(t.dataset.largestUsedSize,10))&&(t.sizes=n+"px",t.dataset.largestUsedSize=String(n))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,!this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented&&(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){var t,n;let o=U2("pswp__error-msg","div");o.innerText=(t=(n=this.instance.options)===null||n===void 0?void 0:n.errorMsg)!==null&&t!==void 0?t:"",o=this.instance.applyFilters("contentErrorElement",o,this),this.element=U2("pswp__content pswp__error-msg-container","div"),this.element.appendChild(o),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===rd.ERROR){this.displayError();return}if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;const t="decode"in this.element;this.isImageContent()?t&&this.slide&&(!this.slide.isActive||wR())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){this.instance.dispatch("contentActivate",{content:this}).defaultPrevented||!this.slide||(this.isImageContent()&&this.isDecoding&&!wR()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,!this.instance.dispatch("contentRemove",{content:this}).defaultPrevented&&(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&(this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),(this.state===rd.LOADED||this.state===rd.ERROR)&&this.removePlaceholder()))}}function XK(e,t){if(e.getViewportSizeFn){const n=e.getViewportSizeFn(e,t);if(n)return n}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function T3(e,t,n,o,s){let l=0;if(t.paddingFn)l=t.paddingFn(n,o,s)[e];else if(t.padding)l=t.padding[e];else{const c="padding"+e[0].toUpperCase()+e.slice(1);t[c]&&(l=t[c])}return Number(l)||0}function eW(e,t,n,o){return{x:t.x-T3("left",e,t,n,o)-T3("right",e,t,n,o),y:t.y-T3("top",e,t,n,o)-T3("bottom",e,t,n,o)}}const SR=4e3;class tW{constructor(t,n,o,s){this.pswp=s,this.options=t,this.itemData=n,this.index=o,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(t,n,o){const s={x:t,y:n};this.elementSize=s,this.panAreaSize=o;const l=o.x/s.x,c=o.y/s.y;this.fit=Math.min(1,l<c?l:c),this.fill=Math.min(1,l>c?l:c),this.vFill=Math.min(1,c),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(t){const n=t+"ZoomLevel",o=this.options[n];if(o)return typeof o=="function"?o(this):o==="fill"?this.fill:o==="fit"?this.fit:Number(o)}_getSecondary(){let t=this._parseZoomLevelOption("secondary");return t||(t=Math.min(1,this.fit*3),this.elementSize&&t*this.elementSize.x>SR&&(t=SR/this.elementSize.x),t)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,this.fit*4)}}function CR(e,t,n){const o=t.createContentFromData(e,n);let s;const{options:l}=t;if(l){s=new tW(l,e,-1);let c;t.pswp?c=t.pswp.viewportSize:c=XK(l,t);const p=eW(l,c,e,n);s.update(o.width,o.height,p)}return o.lazyLoad(),s&&o.setDisplayedSize(Math.ceil(o.width*s.initial),Math.ceil(o.height*s.initial)),o}function rW(e,t){const n=t.getItemData(e);if(!t.dispatch("lazyLoadSlide",{index:e,itemData:n}).defaultPrevented)return CR(n,t,e)}class nW extends ZK{getNumItems(){var t;let n=0;const o=(t=this.options)===null||t===void 0?void 0:t.dataSource;o&&"length"in o?n=o.length:o&&"gallery"in o&&(o.items||(o.items=this._getGalleryDOMElements(o.gallery)),o.items&&(n=o.items.length));const s=this.dispatch("numItems",{dataSource:o,numItems:n});return this.applyFilters("numItems",s.numItems,o)}createContentFromData(t,n){return new JK(t,this,n)}getItemData(t){var n;const o=(n=this.options)===null||n===void 0?void 0:n.dataSource;let s={};Array.isArray(o)?s=o[t]:o&&"gallery"in o&&(o.items||(o.items=this._getGalleryDOMElements(o.gallery)),s=o.items[t]);let l=s;l instanceof Element&&(l=this._domElementToItemData(l));const c=this.dispatch("itemData",{itemData:l||{},index:t});return this.applyFilters("itemData",c.itemData,t)}_getGalleryDOMElements(t){var n,o;return(n=this.options)!==null&&n!==void 0&&n.children||(o=this.options)!==null&&o!==void 0&&o.childSelector?z2(this.options.children,this.options.childSelector,t)||[]:[t]}_domElementToItemData(t){const n={element:t},o=t.tagName==="A"?t:t.querySelector("a");if(o){n.src=o.dataset.pswpSrc||o.href,o.dataset.pswpSrcset&&(n.srcset=o.dataset.pswpSrcset),n.width=o.dataset.pswpWidth?parseInt(o.dataset.pswpWidth,10):0,n.height=o.dataset.pswpHeight?parseInt(o.dataset.pswpHeight,10):0,n.w=n.width,n.h=n.height,o.dataset.pswpType&&(n.type=o.dataset.pswpType);const l=t.querySelector("img");if(l){var s;n.msrc=l.currentSrc||l.src,n.alt=(s=l.getAttribute("alt"))!==null&&s!==void 0?s:""}(o.dataset.pswpCropped||o.dataset.cropped)&&(n.thumbCropped=!0)}return this.applyFilters("domItemData",n,t,o)}lazyLoadData(t,n){return CR(t,this,n)}}class aW extends nW{constructor(t){super(),this.options=t||{},this._uid=0,this.shouldOpen=!1,this._preloadedContent=void 0,this.onThumbnailsClick=this.onThumbnailsClick.bind(this)}init(){z2(this.options.gallery,this.options.gallerySelector).forEach(t=>{t.addEventListener("click",this.onThumbnailsClick,!1)})}onThumbnailsClick(t){if(WK(t)||window.pswp)return;let n={x:t.clientX,y:t.clientY};!n.x&&!n.y&&(n=null);let o=this.getClickedIndex(t);o=this.applyFilters("clickedIndex",o,t,this);const s={gallery:t.currentTarget};o>=0&&(t.preventDefault(),this.loadAndOpen(o,s,n))}getClickedIndex(t){if(this.options.getClickedIndexFn)return this.options.getClickedIndexFn.call(this,t);const n=t.target,o=z2(this.options.children,this.options.childSelector,t.currentTarget).findIndex(s=>s===n||s.contains(n));return o!==-1?o:this.options.children||this.options.childSelector?-1:0}loadAndOpen(t,n,o){if(window.pswp||!this.options)return!1;if(!n&&this.options.gallery&&this.options.children){const s=z2(this.options.gallery);s[0]&&(n={gallery:s[0]})}return this.options.index=t,this.options.initialPointerPos=o,this.shouldOpen=!0,this.preload(t,n),!0}preload(t,n){const{options:o}=this;n&&(o.dataSource=n);const s=[],l=typeof o.pswpModule;if(QK(o.pswpModule))s.push(Promise.resolve(o.pswpModule));else{if(l==="string")throw new Error("pswpModule as string is no longer supported");if(l==="function")s.push(o.pswpModule());else throw new Error("pswpModule is not valid")}typeof o.openPromise=="function"&&s.push(o.openPromise()),o.preloadFirstSlide!==!1&&t>=0&&(this._preloadedContent=rW(t,this));const c=++this._uid;Promise.all(s).then(p=>{if(this.shouldOpen){const m=p[0];this._openPhotoswipe(m,c)}})}_openPhotoswipe(t,n){if(n!==this._uid&&this.shouldOpen||(this.shouldOpen=!1,window.pswp))return;const o=typeof t=="object"?new t.default(this.options):new t(this.options);this.pswp=o,window.pswp=o,Object.keys(this._listeners).forEach(s=>{var l;(l=this._listeners[s])===null||l===void 0||l.forEach(c=>{o.on(s,c)})}),Object.keys(this._filters).forEach(s=>{var l;(l=this._filters[s])===null||l===void 0||l.forEach(c=>{o.addFilter(s,c.fn,c.priority)})}),this._preloadedContent&&(o.contentLoader.addToCache(this._preloadedContent),this._preloadedContent=void 0),o.on("destroy",()=>{this.pswp=void 0,delete window.pswp}),o.init()}destroy(){var t;(t=this.pswp)===null||t===void 0||t.destroy(),this.shouldOpen=!1,this._listeners={},z2(this.options.gallery,this.options.gallerySelector).forEach(n=>{n.removeEventListener("click",this.onThumbnailsClick,!1)})}}const iW=()=>{let e=null;return e=new aW({gallery:"#photoswipe-gallery",children:"a",pswpModule:GK,zoom:!1,imageClickAction:"next",tapAction:"next"}),e.on("uiRegister",()=>{e?.pswp?.ui?.registerElement({name:"custom-caption",appendTo:"root",onInit:t=>{e?.pswp?.on("change",()=>{const n=e?.pswp?.currSlide?.data.element;if(n){const o=n.querySelector(".caption-content");t.innerHTML=o?.innerHTML||""}})}})}),e.init(),()=>{e&&(e.destroy(),e=null)}},oW="mbrs-game-ranking",sW=".c-header-page__ranking-button",uW=()=>{const e=document.querySelector(sW),t=e?.querySelector("button");!e||!t||t.addEventListener("click",()=>{document.getElementById(oW)?.scrollIntoView({behavior:"smooth"})})},TR=e=>Math.min(100,Math.max(0,Math.round(e))),lW=()=>{const e=document.querySelector(".js-limit-scroll-progress-bar"),t=document.querySelector(".c-progress__bar"),n=document.querySelector(".c-btn__close-progress");if(!t&&!n)return;const{documentElement:o}=document,s=o.scrollTop;if(t){let l=o.scrollHeight-o.clientHeight;if(!l)return;e&&(l=e.scrollHeight-o.clientHeight+(window.pageYOffset+e.getBoundingClientRect().top)),t.style.width=`${TR(s/l*100)}%`}if(n){const l=document.querySelector(".js-content-header"),c=document.querySelector(".js-limit-scroll-close-article-btn");if(l&&c){const p=window.pageYOffset+l.getBoundingClientRect().bottom,m=window.pageYOffset+c.getBoundingClientRect().bottom-o.clientHeight-p;if(m>0){const h=TR((s-p)/m*100);n.style.setProperty("--progress",`${h}`),n.parentElement?.classList.toggle("c-btn--close-progress-complete",h>=100)}}}},cW=()=>{const e=document.querySelector(".c-progress"),t=document.querySelector(".c-btn__close-progress");(e||t)&&window.addEventListener("scroll",lW)},dW=(e={})=>{const{buttonSelector:t=".c-scroll-to-top"}=e,n=document.querySelector(t),o=n?.querySelector("button");if(!n||!o)return;const s=n.dataset.triggerSelector||"[data-scroll-trigger]",l=parseInt(n.dataset.triggerOffset||"0",10);n.style.display="none";const c=()=>{const m=document.querySelector(s);let h=!1;if(m){const A=m.getBoundingClientRect().top;h=window.pageYOffset>=A-l}else h=window.pageYOffset>300;n.style.display=h?"block":"none"},p=()=>{window.scrollTo({top:0,behavior:"smooth"})};window.addEventListener("scroll",c),o.addEventListener("click",p),c()},fW=500,pW=()=>{const e=document.querySelector("#mbrs-comments-container"),t=document.querySelector(".c-scroll-to-top-comment");if(!e||!t)return;t.style.display="none",t.addEventListener("click",()=>{document.getElementById("graphcomment")?.scrollIntoView({behavior:"smooth"})});let n=!1;const o=()=>{const{top:w,bottom:_}=e.getBoundingClientRect(),D=window.innerHeight/2,S=w<-400,T=_<D;t.style.display=S&&!T?"flex":"none"},s=()=>{n||(n=!0,window.addEventListener("scroll",o,{passive:!0}),o())},l=()=>{n&&(n=!1,window.removeEventListener("scroll",o),t.style.display="none")},c=w=>{w.offsetHeight>fW?s():l()},p=w=>{new ResizeObserver(()=>{c(w)}).observe(w)},m=w=>{c(w),p(w)},h=w=>{try{if(w.contentDocument?.readyState==="complete"){m(w);return}}catch{}w.addEventListener("load",()=>m(w),{once:!0})};if((()=>{const w=e.querySelector("iframe");return w?(h(w),!0):!1})())return;const A=new MutationObserver(w=>{w.some(_=>Array.from(_.addedNodes).some(D=>{if(D instanceof HTMLIFrameElement)return h(D),!0;if(D instanceof HTMLElement){const S=D.querySelector("iframe");if(S)return h(S),!0}return!1}))&&A.disconnect()});A.observe(e,{childList:!0,subtree:!0})},hW="#page-content",NR="#text-tooltip",mW=".mbrs-social-report-container",DR="c-text-tooltip--show",vW=["#page-content .c-content","#page-content .c-content p","#page-content .c-content h2","#page-content .c-content h3","#page-content .c-content h4","#page-content .c-content h5","#page-content .c-content h6","#page-content .c-content li","#page-content .c-content span","#page-content header span","#page-content header h1","#page-content header h2"],RR=e=>e instanceof Element?e:e.parentElement,OR=(e,t)=>e?t.some(n=>!!e.closest(n)):!1,gW=(e,t)=>{const n=RR(e.startContainer),o=RR(e.endContainer);return OR(n,t)||OR(o,t)},yW=e=>{if(!e.focusNode)return null;const t=e.anchorNode?.compareDocumentPosition(e.focusNode);return t?(t&4)>0:e.anchorOffset<e.focusOffset},bW=(e,t,n)=>{const o=document.querySelector(NR),s=document.querySelector(hW),l=document.querySelectorAll(mW);if(!o||!s){console.warn("Text tooltip : Tooltip or page content are not found in the DOM");return}Array.from(l).forEach(w=>{w.setAttribute("data-selected-text",n)});const c=e.getClientRects(),p=c[t?c.length-1:0];if(!p){N3();return}o.style.position="fixed",o.style.zIndex="100";const m=8,h=p.top-(o.offsetHeight+10),A=p.width<o.offsetWidth?p.left+p.width/2-o.offsetWidth/2:t?p.left+p.width-o.offsetWidth:p.left;o.style.top=`${Math.max(m,h)}px`,o.style.left=`${Math.min(Math.max(m,A),window.innerWidth-o.offsetWidth-m)}px`,o.classList.add(DR)},N3=()=>{const e=document.querySelector(`${NR}`);e&&e.classList.remove(DR)},xW=()=>{const e=window.getSelection();if(!e?.rangeCount){N3();return}const t=e.getRangeAt(0),n=e.toString().trim();if(n.length){const o=gW(t,vW),s=yW(e)||!1;o&&bW(t,s,n);return}N3()},D3=({type:e})=>{if(e==="selectionchange"){window.getSelection()?.toString().trim().length||N3();return}xW()},AW=()=>{if(!window?.getSelection){console.warn("Selection API isn't supported");return}document.addEventListener("mouseup",D3),document.addEventListener("selectionchange",D3),document.addEventListener("touchend",D3),document.addEventListener("touchcancel",D3)},EW="[data-social-bar-action-row]",z5='button, a[href], [role="button"], [data-a11y-dialog-show], [data-a11y-dialog-hide], [data-event-name], .js-mobile-share-button';let IR=!1;const jR=e=>{e.querySelector(z5)?.click()},MR=e=>e instanceof HTMLElement?e.closest(EW):null,_W=e=>{const t=MR(e.target);if(!t)return;const n=e.target.closest(z5);n&&n!==t||jR(t)},wW=e=>{if(e.key!=="Enter"&&e.key!==" ")return;const t=e.target,n=MR(t);if(!n||!(t instanceof HTMLElement))return;const o=t.closest(z5);o&&o!==n||(e.key===" "&&e.preventDefault(),jR(n))},SW=()=>{IR||(document.addEventListener("click",_W),document.addEventListener("keydown",wW),IR=!0)},CW=e=>{const{target:t}=e;if(t instanceof Element){const n=t.closest(".c-search-form--button");n&&(e.preventDefault(),n.classList.remove("c-search-form--button"))}},TW=(e=document.querySelector(".c-search-form--button"))=>{e&&e.addEventListener("click",t=>{CW(t)})},NW=({tabsContainerElement:e,event:t})=>{t.preventDefault();const n=t.target;if(!(n instanceof HTMLButtonElement))return;const o=e.querySelectorAll('[role="tab"]'),s=e.querySelectorAll('[role="tabpanel"]'),l=n.getAttribute("aria-controls"),c=Object.values(s).find(p=>p.id===l);o.forEach(p=>{p.setAttribute("aria-selected","false")}),s.forEach(p=>{p.setAttribute("aria-hidden","true")}),n.setAttribute("aria-selected","true"),c&&c.removeAttribute("aria-hidden")},LR=e=>e.code==="ArrowLeft"||e.keyCode===39,kR=e=>e.code==="ArrowRight"||e.keyCode===37,DW=(e=document.querySelectorAll(".js-tabs"))=>{e.length>0&&e.forEach(t=>{const n=t.querySelectorAll('[role="tab"]');n.forEach(s=>{s.addEventListener("click",l=>{NW({tabsContainerElement:t,event:l})})});const o=t.querySelector('[role="tablist"]');if(o&&n.length>0){let s=0;o.addEventListener("keydown",l=>{l instanceof KeyboardEvent&&(LR(l)||kR(l))&&(n[s].setAttribute("tabindex","-1"),LR(l)?(s+=1,s>=n.length&&(s=0)):kR(l)&&(s-=1,s<0&&(s=n.length-1)),n[s].setAttribute("tabindex","0"),n[s].focus())})}})},R3=e=>{const[t,n]=e.split("h").map(Number);return t*60+n},BR=()=>{const e=new Date,t=e.getHours(),n=e.getMinutes();return t*60+n},RW=(e,t)=>{const n=BR();if(n<e||n>t)return 0;const o=t-e;return(n-e)/o},OW=e=>{const t=BR();let n=null,o=null,s=-1;return Array.from(e).find((l,c,p)=>{if(c===p.length-1)return!1;const m=l.textContent,h=p[c+1].textContent;if(!m||!h)return!1;const A=R3(m),w=R3(h);return t>=A&&t<w?(n=m,o=h,s=c,!0):!1}),{currentIntervalStartTime:n,currentIntervalEndTime:o,currentIntervalIndex:s}},IW=()=>{const e=document.querySelectorAll(".c-timeline__time");if(!e||e.length<2)return;const t=document.querySelector(".c-timeline__progress-bar"),{currentIntervalStartTime:n,currentIntervalEndTime:o,currentIntervalIndex:s}=OW(e);if(!n||!o)return;const l=R3(n),c=R3(o),p=RW(l,c);if(t instanceof HTMLElement){if(t.classList.contains("c-timeline__progress-bar--is-desktop")&&e.length>=5){const m="172px / 2";switch(s){case 0:t.style.width=`calc(${m} + (((${m} + 25% - ${m} / 2) - ${m}) * ${p})`;break;case 1:t.style.width=`calc((${m} + 25% - ${m} / 2) + (((50%) - (${m} + 25% - ${m} / 2)) * ${p})`;break;case 2:t.style.width=`calc((50%) + (((75% - ${m} / 2) - (50%)) * ${p})`;break;case 3:t.style.width=`calc((75% - ${m} / 2) + (((100% - ${m}) - (75% - ${m} / 2)) * ${p}`;break;default:t.style.width="0%"}}if(t.classList.contains("c-timeline__progress-bar--is-mobile")){const m="45px / 2",h="20px";switch(s){case 0:case 1:case 2:case 3:t.style.width=`calc((${h} + ${m}) + (((60% + ${m}) - (${h} + ${m})) * ${p})`;break;default:t.style.width="0%"}if(s===1||s===2||s===3){const A=document.querySelectorAll(".c-timeline__time"),w=document.querySelectorAll(".c-timeline__event");A.length>0&&w.length>0&&(A[0].textContent=n,A[1].textContent=o,w[0].textContent=w[s].textContent,w[1].textContent=w[s+1].textContent)}}}},q5="c-icon-item__container--is-highlighted",jW=e=>{e.find(t=>t.classList.contains(q5))?.classList.remove(q5)},MW=()=>{const e=document.querySelector(".c-toolbar");if(e){const t=window.location.origin+window.location.pathname,n=Array.from(e.querySelectorAll(".c-icon-item__container"));jW(n),n.find(o=>o.querySelector("a")?.getAttribute("href")===t)?.classList.add(q5)}},LW=12,V5=e=>{const t=e||document.querySelector(".c-map-towns");if(!t){new MutationObserver((o,s)=>{if(typeof document<"u"){const l=document.querySelector(".c-map-towns");l&&(s.disconnect(),V5(l))}}).observe(document.body,{childList:!0,subtree:!0});return}const n=()=>{const o=t.querySelectorAll(".js-city-marker");if(o.length===0)return!1;const s=(l=0)=>{let c=!0;o.forEach(p=>{if(p.getAttribute("aria-hidden")==="false")return;const m=p.querySelector(".js-city-anchor"),h=p.querySelector(".js-city-text"),A=p.querySelector(".js-city-bg");if(!(m instanceof SVGGraphicsElement)||!(h instanceof SVGTextElement)||!(A instanceof SVGRectElement))return;const w=m.getBBox();if(w.width>0){const{x:_,y:D,width:S,height:T}=w,C=p.getAttribute("data-scale"),I=C?` scale(${C})`:"";p.setAttribute("transform",`translate(${_+S/2}, ${D+T/2})${I}`);const L=h.getBBox(),P=8,q=4,H=8,W=L.width+P,Z=L.height+q;A.setAttribute("width",`${W}`),A.setAttribute("height",`${Z}`),A.setAttribute("x",`${-W/2}`),A.setAttribute("y",`${-Z-H}`);const ie=-Z/2-H;h.setAttribute("y",`${ie}`),p.setAttribute("aria-hidden","false")}else c=!1}),!c&&l<LW&&requestAnimationFrame(()=>s(l+1))};return requestAnimationFrame(()=>s()),!0};n()||new MutationObserver((o,s)=>{n()&&s.disconnect()}).observe(t,{childList:!0,subtree:!0})},kW={10:[{id:"10387",name:"Troyes"},{id:"10323",name:"Romilly-sur-Seine"},{id:"10033",name:"Bar-sur-Aube"}],11:[{id:"11262",name:"Narbonne"},{id:"11069",name:"Carcassonne"},{id:"11076",name:"Castelnaudary"}],12:[{id:"12202",name:"Rodez"},{id:"12145",name:"Millau"},{id:"12300",name:"Villefranche-de-Rouergue"}],13:[{id:"13055",name:"Marseille"},{id:"13001",name:"Aix-en-Provence"},{id:"13004",name:"Arles"}],14:[{id:"14118",name:"Caen"},{id:"14366",name:"Lisieux"},{id:"14762",name:"Vire Normandie"}],15:[{id:"15014",name:"Aurillac"},{id:"15187",name:"Saint-Flour"},{id:"15120",name:"Mauriac"}],16:[{id:"16015",name:"Angoulême"},{id:"16102",name:"Cognac"},{id:"16028",name:"Barbezieux-Saint-Hilaire"}],17:[{id:"17300",name:"La Rochelle"},{id:"17415",name:"Saintes"},{id:"17299",name:"Rochefort"}],18:[{id:"18033",name:"Bourges"},{id:"18279",name:"Vierzon"},{id:"18197",name:"Saint-Amand-Montrond"}],19:[{id:"19031",name:"Brive-la-Gaillarde"},{id:"19272",name:"Tulle"},{id:"19275",name:"Ussel"}],21:[{id:"21231",name:"Dijon"},{id:"21054",name:"Beaune"},{id:"21038",name:"Auxonne"}],22:[{id:"22278",name:"Saint-Brieuc"},{id:"22113",name:"Lannion"},{id:"22093",name:"Lamballe-Armor"}],23:[{id:"23096",name:"Guéret"},{id:"23176",name:"La Souterraine"},{id:"23008",name:"Aubusson"}],24:[{id:"24322",name:"Périgueux"},{id:"24037",name:"Bergerac"},{id:"24520",name:"Sarlat-la-Canéda"}],25:[{id:"25056",name:"Besançon"},{id:"25388",name:"Montbéliard"},{id:"25462",name:"Pontarlier"}],26:[{id:"26362",name:"Valence"},{id:"26198",name:"Montélimar"},{id:"26235",name:"Pierrelatte"}],27:[{id:"27229",name:"Évreux"},{id:"27681",name:"Vernon"},{id:"27375",name:"Louviers"}],28:[{id:"28085",name:"Chartres"},{id:"28134",name:"Dreux"},{id:"28088",name:"Châteaudun"}],29:[{id:"29019",name:"Brest"},{id:"29232",name:"Quimper"},{id:"29039",name:"Concarneau"}],30:[{id:"30189",name:"Nîmes"},{id:"30007",name:"Alès"},{id:"30028",name:"Bagnols-sur-Cèze"}],31:[{id:"31555",name:"Toulouse"},{id:"31483",name:"Saint-Gaudens"},{id:"31033",name:"Auterive"}],32:[{id:"32013",name:"Auch"},{id:"32160",name:"L'Isle-Jourdain"},{id:"32107",name:"Condom"}],33:[{id:"33063",name:"Bordeaux"},{id:"33529",name:"La Teste-de-Buch"},{id:"33243",name:"Libourne"}],34:[{id:"34172",name:"Montpellier"},{id:"34032",name:"Béziers"},{id:"34301",name:"Sète"}],35:[{id:"35238",name:"Rennes"},{id:"35288",name:"Saint-Malo"},{id:"35115",name:"Fougères"}],36:[{id:"36044",name:"Châteauroux"},{id:"36088",name:"Issoudun"},{id:"36018",name:"Le Blanc"}],37:[{id:"37261",name:"Tours"},{id:"37003",name:"Amboise"},{id:"37072",name:"Chinon"}],38:[{id:"38185",name:"Grenoble"},{id:"38544",name:"Vienne"},{id:"38053",name:"Bourgoin-Jallieu"}],39:[{id:"39198",name:"Dole"},{id:"39300",name:"Lons-le-Saunier"},{id:"39478",name:"Saint-Claude"}],40:[{id:"40192",name:"Mont-de-Marsan"},{id:"40088",name:"Dax"},{id:"40046",name:"Biscarrosse"}],41:[{id:"41018",name:"Blois"},{id:"41194",name:"Romorantin-Lanthenay"},{id:"41269",name:"Vendôme"}],42:[{id:"42218",name:"Saint-Étienne"},{id:"42187",name:"Roanne"},{id:"42147",name:"Montbrison"}],43:[{id:"43157",name:"Le Puy-en-Velay"},{id:"43137",name:"Monistrol-sur-Loire"},{id:"43040",name:"Brioude"}],44:[{id:"44109",name:"Nantes"},{id:"44184",name:"Saint-Nazaire"},{id:"44131",name:"Pornic"}],45:[{id:"45234",name:"Orléans"},{id:"45208",name:"Montargis"},{id:"45155",name:"Gien"}],46:[{id:"46042",name:"Cahors"},{id:"46102",name:"Figeac"},{id:"46127",name:"Gourdon"}],47:[{id:"47001",name:"Agen"},{id:"47323",name:"Villeneuve-sur-Lot"},{id:"47157",name:"Marmande"}],48:[{id:"48095",name:"Mende"},{id:"48140",name:"Saint-Chély-d'Apcher"},{id:"48080",name:"Langogne"}],49:[{id:"49007",name:"Angers"},{id:"49099",name:"Cholet"},{id:"49328",name:"Saumur"}],50:[{id:"50129",name:"Cherbourg-en-Cotentin"},{id:"50502",name:"Saint-Lô"},{id:"50218",name:"Granville"}],51:[{id:"51454",name:"Reims"},{id:"51108",name:"Châlons-en-Champagne"},{id:"51230",name:"Épernay"}],52:[{id:"52448",name:"Saint-Dizier"},{id:"52121",name:"Chaumont"},{id:"52269",name:"Langres"}],53:[{id:"53130",name:"Laval"},{id:"53062",name:"Château-Gontier-sur-Mayenne"},{id:"53147",name:"Mayenne"}],54:[{id:"54395",name:"Nancy"},{id:"54329",name:"Lunéville"},{id:"54528",name:"Toul"}],55:[{id:"55545",name:"Verdun"},{id:"55029",name:"Bar-le-Duc"},{id:"55122",name:"Commercy"}],56:[{id:"56121",name:"Lorient"},{id:"56260",name:"Vannes"},{id:"56178",name:"Pontivy"}],57:[{id:"57463",name:"Metz"},{id:"57672",name:"Thionville"},{id:"57227",name:"Forbach"}],58:[{id:"58194",name:"Nevers"},{id:"58086",name:"Cosne-Cours-sur-Loire"},{id:"58095",name:"Decize"}],59:[{id:"59350",name:"Lille"},{id:"59183",name:"Dunkerque"},{id:"59606",name:"Valenciennes"}],60:[{id:"60057",name:"Beauvais"},{id:"60159",name:"Compiègne"},{id:"60175",name:"Creil"}],61:[{id:"61001",name:"Alençon"},{id:"61169",name:"Flers"},{id:"61006",name:"Argentan"}],62:[{id:"62193",name:"Calais"},{id:"62041",name:"Arras"},{id:"62160",name:"Boulogne-sur-Mer"}],63:[{id:"63113",name:"Clermont-Ferrand"},{id:"63178",name:"Issoire"},{id:"63430",name:"Thiers"}],64:[{id:"64445",name:"Pau"},{id:"64102",name:"Bayonne"},{id:"64260",name:"Hendaye"}],65:[{id:"65440",name:"Tarbes"},{id:"65258",name:"Lannemezan"},{id:"65025",name:"Argelès-Gazost"}],66:[{id:"66136",name:"Perpignan"},{id:"66049",name:"Céret"},{id:"66149",name:"Prades"}],67:[{id:"67482",name:"Strasbourg"},{id:"67180",name:"Haguenau"},{id:"67462",name:"Sélestat"}],68:[{id:"68224",name:"Mulhouse"},{id:"68066",name:"Colmar"},{id:"68297",name:"Saint-Louis"}],69:[{id:"69123",name:"Lyon"},{id:"69264",name:"Villefranche-sur-Saône"},{id:"69091",name:"Givors"}],70:[{id:"70550",name:"Vesoul"},{id:"70285",name:"Héricourt"},{id:"70310",name:"Lure"}],71:[{id:"71076",name:"Chalon-sur-Saône"},{id:"71270",name:"Mâcon"},{id:"71153",name:"Le Creusot"}],72:[{id:"72181",name:"Le Mans"},{id:"72154",name:"La Flèche"},{id:"72264",name:"Sablé-sur-Sarthe"}],73:[{id:"73065",name:"Chambéry"},{id:"73011",name:"Albertville"},{id:"73248",name:"Saint-Jean-de-Maurienne"}],74:[{id:"74010",name:"Annecy"},{id:"74281",name:"Thonon-les-Bains"},{id:"74012",name:"Annemasse"}],75:[{id:"75056",name:"Paris"}],76:[{id:"76351",name:"Le Havre"},{id:"76540",name:"Rouen"},{id:"76217",name:"Dieppe"}],77:[{id:"77284",name:"Meaux"},{id:"77108",name:"Chelles"},{id:"77288",name:"Melun"}],78:[{id:"78646",name:"Versailles"},{id:"78361",name:"Mantes-la-Jolie"},{id:"78172",name:"Conflans-Sainte-Honorine"}],79:[{id:"79191",name:"Niort"},{id:"79049",name:"Bressuire"},{id:"79329",name:"Thouars"}],80:[{id:"80021",name:"Amiens"},{id:"80001",name:"Abbeville"},{id:"80016",name:"Albert"}],81:[{id:"81004",name:"Albi"},{id:"81065",name:"Castres"},{id:"81105",name:"Graulhet"}],82:[{id:"82121",name:"Montauban"},{id:"82033",name:"Castelsarrasin"},{id:"82037",name:"Caussade"}],83:[{id:"83137",name:"Toulon"},{id:"83061",name:"Fréjus"},{id:"83050",name:"Draguignan"}],84:[{id:"84007",name:"Avignon"},{id:"84031",name:"Carpentras"},{id:"84087",name:"Orange"}],85:[{id:"85191",name:"La Roche-sur-Yon"},{id:"85194",name:"Les Sables-d'Olonne"},{id:"85047",name:"Challans"}],86:[{id:"86194",name:"Poitiers"},{id:"86066",name:"Châtellerault"},{id:"86070",name:"Chauvigny"}],87:[{id:"87085",name:"Limoges"},{id:"87154",name:"Saint-Junien"},{id:"87187",name:"Saint-Yrieix-la-Perche"}],88:[{id:"88160",name:"Épinal"},{id:"88413",name:"Saint-Dié-des-Vosges"},{id:"88196",name:"Gérardmer"}],89:[{id:"89024",name:"Auxerre"},{id:"89387",name:"Sens"},{id:"89206",name:"Joigny"}],90:[{id:"90010",name:"Belfort"},{id:"90081",name:"Réchésy"}],91:[{id:"91228",name:"Évry-Courcouronnes"},{id:"91223",name:"Étampes"},{id:"91692",name:"Les Ulis"}],92:[{id:"92012",name:"Boulogne-Billancourt"}],93:[{id:"93066",name:"Saint-Denis"}],94:[{id:"94081",name:"Vitry-sur-Seine"}],95:[{id:"95018",name:"Argenteuil"},{id:"95487",name:"Persan"},{id:"95351",name:"Louvres"}],971:[{id:"97101",name:"Les Abymes"},{id:"97128",name:"Sainte-Anne"},{id:"97118",name:"Petit-Bourg"}],972:[{id:"97209",name:"Fort-de-France"},{id:"97224",name:"Saint-Joseph"},{id:"97220",name:"Rivière-Pilote"}],973:[{id:"97311",name:"Saint-Laurent-du-Maroni"},{id:"97304",name:"Kourou"}],974:[{id:"97411",name:"Saint-Denis"},{id:"97416",name:"Saint-Pierre"},{id:"97409",name:"Saint-André"}],"03":[{id:"03185",name:"Montluçon"},{id:"03310",name:"Vichy"},{id:"03190",name:"Moulins"}],"04":[{id:"04112",name:"Manosque"},{id:"04070",name:"Digne-les-Bains"},{id:"04209",name:"Sisteron"}],"09":[{id:"09225",name:"Pamiers"},{id:"09261",name:"Saint-Girons"},{id:"09160",name:"Lavelanet"}],"01":[{id:"01053",name:"Bourg-en-Bresse"},{id:"01283",name:"Oyonnax"},{id:"01033",name:"Valserhône"}],"06":[{id:"06088",name:"Nice"},{id:"06029",name:"Cannes"},{id:"06083",name:"Menton"}],"2B":[{id:"2B033",name:"Bastia"},{id:"2B096",name:"Corte"},{id:"2B050",name:"Calvi"}],"2A":[{id:"2A004",name:"Ajaccio"},{id:"2A247",name:"Porto-Vecchio"},{id:"2A032",name:"Bastelicaccia"}],"02":[{id:"02691",name:"Saint-Quentin"},{id:"02722",name:"Soissons"},{id:"02408",name:"Laon"}],"07":[{id:"07010",name:"Annonay"},{id:"07019",name:"Aubenas"},{id:"07324",name:"Tournon-sur-Rhône"}],"05":[{id:"05061",name:"Gap"},{id:"05023",name:"Briançon"},{id:"05046",name:"Embrun"}],"08":[{id:"08105",name:"Charleville-Mézières"},{id:"08362",name:"Rethel"},{id:"08190",name:"Givet"}]},BW=/<path\b([^>]*?)\/>/g,PW=/\b([:\w-]+)="([^"]*)"/g,FW=e=>{const t=[];for(const n of e.matchAll(BW)){const o=n[1];if(!o)continue;const s=new Map;for(const h of o.matchAll(PW)){const[,A,w]=h;A&&s.set(A,w||"")}const l=s.get("id"),c=s.get("d"),p=s.get("data-name"),m=s.get("data-url");!l||!c||!p||!m||t.push({id:l,path:c,name:p,url:m})}return t},HW=e=>new Map(e.map(t=>[t.id,t]));var PR=(e=>(e.MOBILE="mobile",e.DESKTOP="desktop",e))(PR||{});const O3=e=>{window.location.href=e},UW=(e,t,n)=>{const o=n.get(e);if(o)return o;const s=e.startsWith("97")?Array.from(document.querySelectorAll(`path[id^="town-${e}"][id$="-drom"]`)).map(l=>({id:l.getAttribute("id")||"",path:l.getAttribute("d")||"",name:l.getAttribute("data-name")||"",url:l.getAttribute("data-url")||""})):Array.from(t().values()).filter(l=>l.id.startsWith(`town-${e}`));return n.set(e,s),s},zW=(e,t)=>t.get(e),qW=e=>{e.size>0||document.querySelectorAll(".c-map-towns__map .c-map-towns__layer-towns path[data-town-id], .c-map-towns__map-drom .c-map-towns__layer-towns path[id]").forEach(t=>{const n=t.getAttribute("data-town-id")||t.getAttribute("id");n&&e.set(n,Array.from(t.classList).filter(o=>o.startsWith("c-map-towns__path--")))})},VW=(e,t)=>{const n=e.id,o=e.url,s=e.name;if(!n||!o)return null;const l=document.createElementNS("http://www.w3.org/2000/svg","path");l.setAttribute("d",e.path),l.setAttribute("class","c-map-towns__path c-map-towns__zoom-town"),l.setAttribute("data-url",o);const c=zW(n,t);if(c&&c.forEach(p=>{l.classList.add(p)}),s){const p=document.createElementNS("http://www.w3.org/2000/svg","title");p.textContent=s,l.appendChild(p)}return l},GW=(e,t)=>{const n=document.createDocumentFragment();return e.forEach(o=>{const s=VW(o,t);s&&n.appendChild(s)}),n},KW=(e,t)=>{e.replaceChildren(t)},WW=(e,t,n)=>{const o=document.createElementNS("http://www.w3.org/2000/svg","g");o.setAttribute("class","js-city-marker c-map-towns__city-marker"),o.setAttribute("aria-hidden","true"),o.setAttribute("data-scale",n.toString());const s=document.createElementNS("http://www.w3.org/2000/svg","path");s.setAttribute("d",t),s.setAttribute("class","js-city-anchor c-map-towns__city-anchor");const l=document.createElementNS("http://www.w3.org/2000/svg","circle");l.setAttribute("class","c-map-towns__city-circle"),l.setAttribute("r","5"),l.setAttribute("fill","white"),l.setAttribute("stroke","black"),l.setAttribute("strokeWidth","1");const c=document.createElementNS("http://www.w3.org/2000/svg","rect");c.setAttribute("class","js-city-bg"),c.setAttribute("fill","white"),c.setAttribute("rx","4"),c.setAttribute("ry","4");const p=document.createElementNS("http://www.w3.org/2000/svg","text");return p.setAttribute("class","js-city-text c-map-towns__city-text"),p.textContent=e,o.appendChild(s),o.appendChild(l),o.appendChild(c),o.appendChild(p),o},QW=(e,t)=>{const n=t.getBBox(),o=5,s=n.width+o*2,l=n.height+o*2;e.setAttribute("viewBox",`${n.x-o} ${n.y-o} ${s} ${l}`);const c=e.clientWidth||800,p=e.clientHeight||600;return Math.max(s/c,l/p)};let G5=!1;const K5=()=>{if(G5)return;if(!document.querySelector(".c-map-towns")){new MutationObserver((H,W)=>{typeof document<"u"&&document.querySelector(".c-map-towns")&&(W.disconnect(),K5())}).observe(document.body,{childList:!0,subtree:!0});return}const e=window.layout===PR.MOBILE,t=document.querySelector(".c-map-towns__map"),n=document.querySelector(".c-map-towns__droms"),o=document.querySelector(".c-map-towns__zooms"),s=H=>{const{target:W}=H;if(!(W instanceof Element))return;const Z=W.closest(".js-city-marker");if(Z){const $=Z.getAttribute("data-url");$&&O3($);return}const ie=W.closest(".c-map-towns__zoom-item")?.getAttribute("data-city-url");if(ie){O3(ie);return}const ee=W.closest(".c-map-towns__dept-trigger")?.getAttribute("data-url");ee&&O3(ee)};if(e){t?.addEventListener("click",s),n?.addEventListener("click",s),o?.addEventListener("click",s),G5=!0;return}const l=document.getElementById("js-zoom-overlay"),c=document.getElementById("js-zoom-svg"),p=document.getElementById("js-zoom-group"),m=document.getElementById("js-zoom-close");if(!(l instanceof HTMLElement)||!(c instanceof SVGSVGElement)||!(p instanceof SVGGElement)||!(m instanceof HTMLElement)){requestAnimationFrame(K5);return}G5=!0;const h=document.getElementById("js-zoom-label"),A=document.getElementById("js-zoom-title"),w=document.getElementById("js-town-sprite-data"),_=new Map,D=new Map;let S=null;const T=()=>{if(S)return S;const H=w instanceof HTMLScriptElement?JSON.parse(w.textContent||'""'):"";return S=HW(FW(H)),S},C=()=>{l.setAttribute("aria-hidden","true"),p.replaceChildren()},I=(H,W)=>H.startsWith("97")?document.querySelector(`path[id="town-${W}-drom"]`)?.getAttribute("d")||null:T().get(`town-${W}`)?.path||null,L=(H,W)=>{const Z=kW[H]||[];if(Z.length===0)return;const ie=document.createDocumentFragment();Z.forEach(ee=>{const $=I(H,ee.id);if(!$)return;const V=WW(ee.name,$,W);ie.appendChild(V)}),p.appendChild(ie),requestAnimationFrame(()=>{V5(p)})},P=H=>{const{target:W}=H;if(!(W instanceof Element))return;const Z=W?.closest(".c-map-towns__dept-trigger");if(!Z)return;const ie=Z.getAttribute("id")?.replace("out-","")||"",ee=Z.getAttribute("data-name"),$=UW(ie,T,_);qW(D);const V=GW($,D);if(h&&A&&ee&&(h.textContent=ee,A.textContent=`Carte détaillée du département : ${ee}`),!(Z instanceof SVGGraphicsElement))return;const X=QW(c,Z);l.setAttribute("aria-hidden","false"),KW(p,V),L(ie,X)},q=H=>{const{target:W}=H;if(!(W instanceof Element))return;const Z=W.closest(".c-map-towns__zoom-town")?.getAttribute("data-url");Z&&O3(Z)};t?.addEventListener("click",P),n?.addEventListener("click",P),p.addEventListener("click",q),m.addEventListener("click",()=>{C()}),l.addEventListener("click",H=>{H.target===l&&C()})},I3=()=>{wG(),DW(),lG(),OG(),bG(),cW(),iW(),BG(),TW(),SW(),fG(),AW(),SG(),CG(),NG(),mG(),sG("localisation-input","https://www.20minutes.fr/elections/resultats/recherche","?searchValue=","text","text"),hG(),V5(),MW(),aG(),iG(),DG(),K5(),qG(),VG(),TG(),nG(),IW(),dW(),pW(),uW()},bi=async({url:e,options:t})=>{const n={...t||{}},o=new Headers(n.headers);o.has("Content-Type")||o.set("Content-Type","application/json"),n.headers=o;const s=await fetch(e,n).then(l=>{if(l.ok)return l;throw new Error(`Fetch error: ${l.statusText}`)}).then(l=>o.get("Content-Type")?.toLowerCase()?.includes("image/svg+xml")?l.text():l.json());return typeof s=="object"&&s!==null&&"data"in s?s.data:s},YW=(e,t)=>{let n;return(...s)=>{clearTimeout(n),n=setTimeout(()=>e(...s),t)}},j3={autocompleteSelector:".c-search-form__autocomplete"},ZW=({isSSR:e=!0,layout:t,title:n,titleHref:o,searchFormProps:s,breadcrumbProps:l,selectProps:c,variant:p,hasTopBorder:m})=>{const[h,A]=be.useState([]),w=be.useCallback(()=>{const T=document.querySelector(j3.autocompleteSelector);h&&h.length>0&&T&&T.classList.remove("u-hidden")},[h]),_=be.useCallback(()=>{const T=document.querySelector(j3.autocompleteSelector);h&&h.length>0&&T&&T.classList.remove("u-hidden")},[h]),D=be.useCallback(T=>{T.relatedTarget||document.querySelector(j3.autocompleteSelector)?.classList?.add("u-hidden")},[]),S=be.useCallback(async T=>{if(T.target instanceof HTMLInputElement){const{target:C}=T;if(C.value.length<3)A([]);else try{const I=await bi({url:`${C.closest("form")?.action??"#"}?searchValue=${C.value}`});A(I.map(L=>{const{_source:P}=L;return{value:P.output,url:P.url}}))}catch(I){console.error("20mn> Error while searching:",I)}}},[]);return be.useEffect(()=>{I3()},[]),be.useEffect(()=>{const T=document.querySelector(j3.autocompleteSelector);h&&T&&(h.length>0?T.classList.remove("u-hidden"):T.classList.add("u-hidden"))},[h]),a.jsxs(a.Fragment,{children:[a.jsx(rP,{layout:t,title:n,titleHref:o,breadcrumbProps:l,selectProps:c,variant:p,hasTopBorder:m,searchFormProps:{...s,autocompleteResults:h,onSubmit:T=>{T.preventDefault()},inputProps:{placeholder:"Recherchez les résultats de votre ville, votre département ou votre région",name:"elections-search",onClick:w,onFocus:_,onBlur:D,onKeyUp:YW(S,300),autoComplete:"off",required:!0,"aria-required":!0}}}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsSearchBannerContainer:{layout:t,title:n,titleHref:o,searchFormProps:s,breadcrumbProps:l,selectProps:c,variant:p,hasTopBorder:m}})} };`}})]})},FR=({id:e,isHidden:t,...n})=>t?null:a.jsx(ye,{id:e,children:a.jsx(ZW,{...n})}),HR=({subtitle:e,...t})=>a.jsx(_P,{...t,subtitle:e?Kd({rawDraftContent:e}):""}),UR=({imageSrc:e,height:t,width:n,isDisplayedAsNotCropped:o,caption:s,content:l,title:c,...p})=>{const m=em({rawDraftContent:l.content}).replace(/<[^>]*>/g,"").trim();let h=s.content,A=l;!m.length&&l.pageEndpoint&&(h="",A={...l,pageEndpoint:l.pageEndpoint,content:{entityMap:{},blocks:[{depth:0,data:{},inlineStyleRanges:[],text:s.content,type:"unstyled",key:"d1usd",entityRanges:[]}]}});let w="640x408",_=["1444x920","722x460","640x408","320x204"];return o?n<t?(w="310x0",_=["239x0","216x0","119x0","460x0","310x0"]):(w="310x0",_=["816x0","753x0","688x0","408x0","310x0"]):n<t&&(w="310x484",_=["239x522","216x472","119x261","310x678"]),a.jsxs(ye,{...p,children:[c&&a.jsx(Wr,{as:"h2",fontFamily:"source-serif-pro",weight:"semi-bold",size:"s",mb:"s",mx:{xs:"m",md:"0"},children:c}),a.jsx(Ap,{src:e,defaultFormat:w,formats:_,radius:{xs:"0",md:"xxs"},alt:c||s.content,mb:"s",isPortrait:o&&t>n,mx:o&&t>n?"auto":void 0}),a.jsxs(Me,{as:"figcaption",size:"xs",color:"grey-400",mx:{xs:"m",md:"0"},children:[h,s.credits&&a.jsxs(Me,{as:"span",color:"grey-300",size:"xs",className:"text-italic",children:[h&&a.jsx(a.Fragment,{children:" - "}),s.credits]}),s.source&&a.jsxs(Me,{as:"span",color:"grey-300",size:"xs",className:"text-italic",children:[(h||s.credits)&&a.jsx(a.Fragment,{children:" / "}),s.source]})]}),A&&a.jsx(tm,{...A,disableLettering:!0,mt:"s",mx:{xs:"m",md:"0"}})]})},$W=({title:e,sponsor:t,item:n,...o})=>n?a.jsxs(ye,{...o,px:{xs:"m",md:"0"},children:[a.jsx(zc,{mb:"l",label:e}),a.jsx(Me,{size:"xs",px:"xxs",highlighted:!0,children:t}),a.jsx(a6,{cardTitleProps:{size:"xxs-2"},mt:"s",mb:"xl",...n})]}):null,zR=({title:e,content:t,pageEndpoint:n,imgEndpoint:o})=>a.jsxs(a.Fragment,{children:[a.jsx(Wr,{fontFamily:"source-serif-pro",size:"xl",textTransform:"uppercase",children:e}),a.jsx(wn,{mb:"m",mt:"s",thickness:"thick"}),a.jsx("section",{className:"c-content",children:Kd({rawDraftContent:t,pageEndpoint:n,imgEndpoint:o,withCmp:!1})})]}),qR=({cardHeaderProps:e,heading:t,subtitle:n,seeReplaysLink:o,mediaSrc:s,...l})=>s?a.jsxs(ye,{...l,as:"section",color:"white",children:[a.jsx(Me,{size:"xs",mx:{xs:"m",md:"0"},mb:"xs",children:"TNT - Canal 32 (Île-de-France) • BBox (300) • Orange (349) • Freebox (910) • SFR (461)"}),a.jsx(kd,{type:fu.video,src:s,videoIs16by9:!0,mb:"m"}),a.jsx(Bd,{...e,headline:{...e.headline,color:"white"},rightSubheader:e.rightSubheader?{...e.rightSubheader,color:"white"}:void 0,mx:{xs:"m",md:"0"},mb:"xs"}),a.jsx(Wr,{...t,fontFamily:"source-serif-pro",size:{xs:"s",md:"xxl"},mx:{xs:"m",md:"0"},mb:{xs:"xs",md:"0"},children:t.children}),a.jsx(Me,{...n,fontFamily:"source-serif-pro",size:{xs:"m",md:"xxl"},mx:{xs:"m",md:"0"},children:n.children}),o&&a.jsx(he,{justifyContent:{xs:"center",md:"start"},mx:{xs:"m",md:"0"},mt:"xl",children:a.jsx(Yt,{buttonColor:"primary",...o,children:"Voir tous les replays de l’émission"})})]}):null,VR=({cardHeaderProps:e,heading:t,signatureProps:n,subtitle:o,mediaSrc:s,relatedTags:l,enclosedText:c})=>s?a.jsxs(a.Fragment,{children:[a.jsx(kd,{type:fu.video,src:s,videoIs16by9:!0,mb:"m"}),a.jsx(Bd,{...e,headline:{...e.headline,color:"white"},rightSubheader:e.rightSubheader?{...e.rightSubheader,color:"white"}:void 0,mx:{xs:"m",md:"0"},mb:"xs"}),a.jsx(Wr,{...t,fontFamily:"source-serif-pro",size:{xs:"s",md:"l"},mx:{xs:"m",md:"0"},mb:{xs:"xs",md:"m"},children:t.children}),a.jsx(Dg,{...n,mx:{xs:"m",md:"0"},mb:"xs"}),a.jsx(Me,{as:"div",fontFamily:"source-serif-pro",size:{xs:"m",md:"xl"},mx:{xs:"m",md:"0"},className:"c-content",children:Kd({rawDraftContent:o})}),c&&a.jsx(ye,{bg:"blue-grey",px:"m",py:"l",mt:"l",className:"c-enclose c-enclose--theme-blue-grey",children:Kd({rawDraftContent:c})}),l&&a.jsx(o6,{...l,tags:l.tags.map(p=>({...p,variant:"quaternary"})),buttonsColor:"blue-dark",mt:"l",ml:{xs:"m",md:"0"}})]}):null,GR=({years:e,selectedYear:t,pageEndpoint:n,...o})=>a.jsx(ye,{...o,children:e.map(s=>{const l=s===t;return a.jsx(uc,{variant:l?"tertiary":"primary",color:l?"white":"ultramarine",href:new URL(`/archives/${s}`,n).href,mr:"l",mb:"m",children:s},s)})}),KR=({layout:e,title:t,editions:n,selectorsLabel:o,editionSelector:s,monthSelector:l,variant:c="archivesByYear",enabled:p=!0})=>p?a.jsxs(a.Fragment,{children:[a.jsx(wn,{my:{xs:"xl",md:"xxl-2"},color:"ultramarine"}),a.jsx(Wr,{size:"xs",mb:"xxl",children:t}),a.jsxs(he,{alignItems:{xs:"start",md:"center"},gap:{xs:"xs",md:"l"},direction:{xs:"column",md:"row"},children:[a.jsx(Me,{size:"s",weight:"bold",...o}),a.jsx(Uc,{...s,id:"archivePdfListEditionSelector",containerProps:{style:{width:e===ve.MOBILE?"100%":"163px"}},py:"m",px:"s"}),c==="archivesByYear"&&l&&a.jsx(Uc,{...l,id:"archivePdfListMonthSelector",containerProps:{style:{width:e===ve.MOBILE?"100%":"193px"}},py:"m",px:"s"})]}),n&&n.length>0&&a.jsxs(he,{direction:"column",gap:"l",mt:"l",children:[n.slice(0,20).map(m=>a.jsxs(he,{alignItems:"baseline",children:[a.jsx(or,{name:"diode",color:"ultramarine",size:11,mr:"xxs"}),a.jsx(Yt,{color:"ultramarine",href:m.href,children:m.name})]},m.name)),n.length>20&&a.jsx("span",{children:"Vous ne trouvez pas le journal numérique recherché ? Sélectionnez une édition et un mois pour une recherche plus précise."})]})]}):null,WR=({months:e,...t})=>e.length>0?a.jsx(ye,{...t,children:e.map((n,o)=>a.jsx(xl,{...n,items:n.items.map(s=>({...s,color:"ultramarine"})),columnsNumber:{xs:1,md:3},mb:o<e.length-1?{xs:"xl",md:"xxl"}:void 0,heading:{as:"h3",...n.heading}},n.items[0].name))}):null,W5=({mediaProps:e,photoSwipeGalleryProps:t,...n})=>{const o=e?.type===fu.video?{...e,src:PD(e.src)}:e;return o&&a.jsx(kd,{...o,...n})||t&&a.jsx(PP,{...t,...n})||null},QR=({articleHeaderProps:e,signatureProps:t,contentCoverProps:n,...o})=>a.jsxs(he,{...o,direction:"column",justifyContent:"center",children:[a.jsx(P_,{...e,mx:"m",mb:"xs"}),a.jsx(W5,{...n,mb:"xs"}),a.jsx(Dg,{...t,mx:"m",mb:"xs"}),!e.isCenteredLayout&&a.jsx(Me,{fontFamily:"source-serif-pro",size:"xl",mx:"m",children:e.lead})]}),YR=e=>{const{variablesForQuery:t,...n}=e;return a.jsx(zu,{...n,headingProps:{...n.headingProps,as:"h2"},mb:"xxl"})},ZR=({articles:e,layout:t,withDivider:n,...o})=>e.length>=1?a.jsxs(he,{direction:"column",...o,children:[t===ve.MOBILE&&n&&a.jsx(wn,{color:"ultramarine",mb:"l"}),a.jsx(Me,{size:"l",weight:"bold",mb:"xs",children:"À lire aussi"}),a.jsx(he,{direction:{md:"row",xs:"column"},gap:{md:"m",xs:"s"},children:e.slice(0,2).map(s=>a.jsx(_a,{basis:50,children:a.jsx(bh,{...s,cardTitleProps:{size:"xxs-2"}})},s.title))})]}):null,Q5=({carousels:e,layout:t})=>a.jsx(a.Fragment,{children:e.map((n,o)=>a.jsx(ye,{as:"section",mb:o!==e.length-1?"xxl":"0",children:a.jsx(zu,{...n,layout:t,headingProps:{...n.headingProps,as:"h2"}})},n.label))}),$R=({items:e=[]})=>e?.length?a.jsx("div",{children:e?.map((t,n)=>a.jsx(xl,{...t},`bulleted-list-${n}`))}):null,Ph=e=>e&&(e.rightSubheader&&new Date(e.rightSubheader?.text).getTime()?{...e,rightSubheader:{...e.rightSubheader,text:l6(e.rightSubheader.text)}}:{...e}),jl=({articles:e,layout:t,columnsNumber:n=2,hideFirstDivider:o=!1,dividerProps:s,seeMoreButton:l,seeMoreLink:c,tagTotalArticles:p,currentPagePath:m,currentPage:h="1",articlesLimit:A,hasCardLarge:w=!1,hasMarginOnCard:_=!0,heading:D,isLoading:S=!1,skeletonCount:T=8,desktopArticlesListClassName:C,...I})=>{if(e.length===0)return null;const L=W=>a.jsx(bh,{...W,cardTitleProps:{as:"h2",...W.cardTitleProps},cardHeaderProps:Ph(W.cardHeaderProps),mx:_?"m":void 0}),P=S?Array.from({length:T},(W,Z)=>Z):[];let q=null;t===ve.DESKTOP?q=a.jsxs(Oi,{colsNumber:n,gap:"xl",className:C,children:[e.slice(0,A).map((W,Z)=>{const{layout:ie,...ee}=W;return a.jsx(H1,{...ee,className:`card-item-${Z+1}`,cardTitleProps:{as:"h2",...W.cardTitleProps},cardHeaderProps:Ph(W.cardHeaderProps)},`${W.link}-${Z}`)}),P.map(W=>a.jsx(z_,{variant:"medium"},`skeleton-${W}`))]}):q=a.jsxs(a.Fragment,{children:[e.slice(0,A).map((W,Z)=>a.jsx(ye,{className:`card-item-${Z+1}`,children:w?a.jsxs(a.Fragment,{children:[Z===0&&a.jsx(Sg,{...W,layout:t}),Z>0&&a.jsxs(a.Fragment,{children:[a.jsx(wn,{color:"grey-200",my:"s",...s}),L({...W,layout:t})]})]}):a.jsxs(a.Fragment,{children:[a.jsx(wn,{color:"grey-200",my:"s",...s,className:ko({"u-hidden":Z===0&&o},s?.className)}),L({...W,layout:t})]})},`${W.link}-${Z}`)),P.map(W=>a.jsxs(ye,{children:[a.jsx(wn,{color:"grey-200",my:"s",...s}),a.jsx(z_,{variant:"extra-small",mx:_?"m":void 0})]},`skeleton-${W}`))]});const H=a.jsxs(a.Fragment,{children:[D&&a.jsx(Wr,{size:"m",mb:"xl",mx:{xs:"m",md:"0"},...D}),q,(c||l)&&a.jsxs(he,{justifyContent:"center",mt:"l",children:[l&&a.jsx(bn,{...l}),c&&a.jsx(Yt,{buttonColor:"primary",variant:"outlined",...c}),p&&m&&a.jsx("noscript",{children:a.jsx(r9,{totalArticles:p,currentPage:h,pagePath:m,archivesUrl:"https://www.20minutes.fr/archives"})})]})]});return Object.keys(I).length===0?H:a.jsx(ye,{...I,children:H})},JR=({addresses:e,layout:t,...n})=>{const o=t===ve.DESKTOP?"row":"column",s=t===ve.DESKTOP?"end":"start";return a.jsx(ye,{...n,children:e.map((l,c)=>{const p=e.length>c+1?{mb:"m"}:{};return be.createElement(he,{justifyContent:"between",alignContent:"end",p:{xs:"m",md:"s"},bg:"grey-100",direction:o,...p,pr:{md:"xxl"},pl:{md:"m"},key:l.name},a.jsxs(_a,{mb:{xs:"s",md:"0"},children:[a.jsx(Wr,{as:"h4",size:"xxs-3",children:l.name}),l.streets.map(m=>a.jsx("p",{children:m},m))]}),a.jsxs(_a,{align:s,children:[l.phoneNumber&&a.jsxs(a.Fragment,{children:[a.jsxs(Me,{weight:"bold",as:"span",children:["Tél. :"," "]}),a.jsx(Me,{as:"span",color:"ultramarine",children:l.phoneNumber})]}),l.mail&&a.jsx(Me,{color:"ultramarine",children:l.mail})]}))})})},XR=({name:e,streets:t,phoneNumber:n,...o})=>a.jsxs(ye,{...o,children:[a.jsx(Wr,{as:"h2",size:"m",mb:"s",children:"Nos coordonnées"}),a.jsx(Wr,{as:"h3",size:"xxs-3",children:e}),t.map(s=>a.jsx("p",{children:s},`streets-line-${s}`)),a.jsx("span",{children:"Téléphone : "}),a.jsx(Me,{as:"span",color:"ultramarine",children:n})]}),eO=e=>a.jsxs("form",{...e,id:"contact-form",method:"POST",noValidate:!0,children:[a.jsx(Wr,{as:"h2",size:"m",mb:"xxs",children:"Contactez-nous"}),a.jsx(Me,{size:"m",mb:"m",children:"Une question, une remarque, un sujet d'article à proposer, joignez nos services."}),a.jsx(Uc,{id:"service",name:"service",label:"Service",placeholder:"Choisissez votre service",hint:"Sélectionnez le service approprié pour diriger votre demande vers la bonne équipe",error:"Veuillez sélectionner un service",containerProps:{mb:"m"},form:"contact-form",options:[{value:"redaction",title:"La rédaction"},{value:"service-technique",title:"Le service technique"},{value:"service-commercial",title:"Le service commercial"},{value:"suppression-anonymisation",title:"Demande de suppression et d'anonymisation"},{value:"moderation-commentaires",title:"Modération des commentaires"},{value:"jeux",title:"Jeux"},{value:"newsletter",title:"Newsletter"},{value:"accessibility",title:"Accessibilité"},{value:"20minutes-tv",title:"20 Minutes TV"},{value:"service-abonnement",title:"Le service abonnement"}],"aria-controls":"subservice tech-object games-object subscription-object common-object source",required:!0,"aria-required":!0}),a.jsx(Uc,{id:"subservice",name:"subservice",label:"Sous-service",placeholder:"Choisissez votre sous-service",hint:"Précisez le sous-service spécifique pour une meilleure orientation de votre demande",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"redaction-chef",title:"Rédaction en chef"},{value:"service-actu",title:"Service Actu"},{value:"service-sport",title:"Service Sport"},{value:"service-culture",title:"Service Culture/Entertainment"},{value:"service-videos",title:"Service Vidéos"},{value:"service-moderation",title:"Service Modération et Contribution"},{value:"service-fact",title:"Service Fact checking"},{value:"service-magazine",title:"Service Magazine"},{value:"bureau-bordeaux",title:"Bureau Bordeaux"},{value:"bureau-lille",title:"Bureau Lille"},{value:"bureau-lyon",title:"Bureau Lyon"},{value:"bureau-marseille",title:"Bureau Marseille"},{value:"bureau-montpellier",title:"Bureau Montpellier"},{value:"bureau-nantes",title:"Bureau Nantes"},{value:"bureau-nice",title:"Bureau Nice"},{value:"bureau-paris",title:"Bureau Paris"},{value:"bureau-rennes",title:"Bureau Rennes"},{value:"bureau-strasbourg",title:"Bureau Strasbourg"},{value:"bureau-toulouse",title:"Bureau Toulouse"}],required:!0,"aria-required":!0}),a.jsx(Uc,{id:"source",name:"source",label:"Source d'accès",placeholder:"Choisissez votre source d'accès",hint:"Indiquez la plateforme ou l'appareil depuis lequel vous rencontrez un problème",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"site-mobile",title:"Site depuis mobile"},{value:"site-desktop",title:"Site depuis ordinateur"},{value:"app-mobile",title:"Application sur téléphone"},{value:"app-tablet",title:"Application sur tablette"},{value:"tous",title:"Tous"}],required:!0,"aria-required":!0}),a.jsx(Uc,{id:"common-object",name:"common-object",label:"Objet",placeholder:"Objet de votre message",hint:"Sélectionnez la catégorie qui correspond le mieux à votre demande",containerProps:{mb:"m"},form:"contact-form",options:[{value:"sujet-article",title:"Un sujet d’article"},{value:"orthographe",title:"Une faute d’orthographe"},{value:"remarque",title:"Une remarque/une question"},{value:"temoignage",title:"Je suis témoin d’un événement"},{value:"autre",title:"Autre"}],required:!0,"aria-required":!0}),a.jsx(Uc,{id:"tech-object",name:"tech-object",label:"Objet",placeholder:"Objet de votre message technique",hint:"Sélectionnez le type de problème technique que vous rencontrez",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"probleme-ordinateur",title:"Un problème sur le site depuis votre ordinateur"},{value:"probleme-mobile",title:"Un problème sur le site mobile depuis votre téléphone"},{value:"probleme-app",title:"Un problème sur l’application 20 Minutes"},{value:"autre",title:"Autre"}],required:!0,"aria-required":!0}),a.jsx(Uc,{id:"games-object",name:"games-object",label:"Objet",placeholder:"Objet de votre message",hint:"Décrivez le problème que vous rencontrez avec nos jeux",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"probleme-affichage",title:"Problème d'affichage"},{value:"element-cache-jeu",title:"Un élément cache le jeu"},{value:"jeu-bloque",title:"Jeu bloqué"},{value:"message-erreur",title:"Message d'erreur"},{value:"autre",title:"Autre"}],required:!0,"aria-required":!0}),a.jsx(Uc,{id:"subscription-object",name:"subscription-object",label:"Objet",placeholder:"Objet de votre message",hint:"Sélectionnez la catégorie qui correspond le mieux à votre demande",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"question",title:"Une question à propos de votre abonnement mensuel"},{value:"reclamation",title:"Une réclamation au service abonnement"},{value:"autre",title:"Autre"}],required:!0,"aria-required":!0}),a.jsx($y,{id:"email",name:"email",label:"E-mail",type:"email",placeholder:"Entrez votre e-mail...",hint:"Votre adresse e-mail sera utilisée pour vous répondre. Format attendu : exemple@domaine.com",error:"Veuillez entrer une adresse e-mail valide",containerProps:{mb:"m"},autoComplete:"email",required:!0,"aria-required":!0}),a.jsx(jB,{id:"message",name:"message",label:"Message",rows:10,cols:50,maxLength:5e3,placeholder:"Votre message...",hint:"Décrivez votre demande en détail. Maximum 5000 caractères",error:"Veuillez décrire votre demande.",containerProps:{mb:"m"},required:!0,"aria-required":!0}),a.jsx("div",{id:"li-antibot"}),a.jsx(bn,{color:"primary",type:"submit",mx:"auto",my:"m",children:"Envoyer"}),a.jsx(Me,{size:"xs",mb:"m",children:"Vos données personnelles font l’objet d’un traitement informatique par la société 20 Minutes, sur le fondement de notre intérêt légitime et sont utilisées pour répondre à vos demandes d’informations. Elles seront conservées pendant 3 ans à compter de la collecte des données sauf dispositions légales particulières. Vous disposez d’un droit d’accès, de rectification, d’opposition, de limitation et de portabilité, en vous adressant directement à dpo@20minutes.fr ou par courrier à :"}),a.jsx(Me,{size:"xs",mb:"m",children:"Délégué à la Protection des Données Personnelles 20 Minutes Bâtiment B, 159, rue Anatole France, CS 50216, 92309 Levallois-Perret Cedex."}),a.jsxs(Me,{size:"xs",mb:"m",children:["Vous avez également le droit d’introduire une réclamation auprès de la CNIL."," ",a.jsx(Yt,{href:"https://www.20minutes.fr/politique-protection-donnees-personnelles",children:"En savoir plus."})]})]}),JW=({layout:e,newsletterProps:t,liveInProgressProps:n,lastArticlesProps:o})=>{const s=[{name:"latest-articles",title:"Derniers articles",tabColor:"red",content:e===ve.DESKTOP?a.jsxs(he,{gap:"xl",mt:"l",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx("div",{id:"latest-articles-container",children:a.jsx(w3,{...o})})}),a.jsxs("aside",{className:"o-lt-show__aside",children:[t&&a.jsx(Ng,{...t}),a.jsx("div",{style:{height:"163rem"},children:a.jsx("div",{className:"o-lt-show__stickywrap",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"})})}),a.jsx("div",{className:"o-lt-show__stickywrap",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_btf",variant:"PAVE"})})]})]}):a.jsx("div",{id:"latest-articles-container",children:a.jsx(w3,{...o})})},...n.cardOverviewProps.length>0?[{name:"direct",title:"Lives en cours",tabColor:"red",content:e===ve.DESKTOP?a.jsxs(he,{gap:"xl",mt:"l",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(O2,{...n})}),a.jsx("aside",{className:"o-lt-show__aside",children:t&&a.jsx(Ng,{...t})})]}):a.jsx(O2,{...n})}]:[]];return a.jsx(Mf,{tabItemActive:s[0].name,tabItems:s,tabProps:{mx:{xs:"m",md:"0"}},mb:"l"})},kp=({header:{subtitle:e,...t},sectionId:n,liveIndicator:o,children:s,...l})=>{const c=e&&typeof e!="string"?Kd({rawDraftContent:e}):e;return a.jsxs(ye,{...l,id:n,className:ko(l.className,{"u-anchor-link":!!n}),children:[o&&a.jsx(B5,{...o,variant:"elections",mx:{xs:"m",md:"0"},mb:"xs"}),t?.heading?.children&&a.jsx(iP,{...t,subtitle:c,mb:{xs:"m",sm:"xl"}}),s]})},tO=({halfDonutProps:e,...t})=>!e.results.length&&t?.header?.heading?.children===""?null:a.jsx(kp,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:e.results.length>0&&a.jsx(JB,{...e,mx:{xs:"m",md:"0"}})}),rO=({mapConstituenciesProps:e,...t})=>e.electionName===""&&e.electionYear===""&&e.resultsPerDistrict.length===0||Object.keys(e.mapDistrictsData||{}).length===0?null:a.jsx(kp,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:a.jsx(dP,{...e,mx:{xs:"m",md:"0"}})}),nO=({mapDepartmentsProps:e,...t})=>e.electionName===""&&e.electionYear===""&&e.resultsPerDepartment.length===0?null:a.jsx(kp,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:a.jsx(cP,{...e,mx:{xs:"m",md:"0"}})}),aO=({mapEuropeProps:e,...t})=>e.electionName===""&&e.electionYear===""&&e.resultsPerCountry.length===0||Object.keys(e.mapEuCountriesData||{}).length===0||Object.keys(e.mapNonEuCountriesData||{}).length===0?null:a.jsx(kp,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:a.jsx(fP,{...e,mx:{xs:"m",md:"0"}})}),iO=({mapTownsByDepartmentsProps:e,...t})=>{const{electionName:n,electionYear:o,...s}=e;if(e.electionName===""&&e.electionYear===""&&e.resultsPerTown.length===0)return null;const l=(e?.resultsPerTown?.length??0)===0;return a.jsx(kp,{...t,className:ko({"u-placeholder-map-towns-empty":l,"u-placeholder-map-towns":!l},t?.className),header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:a.jsx(yP,{...s,mx:{xs:"m",md:"0"}})})},nm=({items:e,layout:t,visibleItems:n=10,hasRanking:o,seeMoreResults:s,seeAllResults:l,...c})=>{if(!e.length&&c?.header?.heading?.children==="")return null;const p=o?"xl":{xs:"m",sm:"l"},m=e.some(h=>h.hasAvatar&&!h.result&&!h.votes)?"Voir tous les candidats":"Voir tous les résultats";return a.jsxs(kp,{...c,header:{...c.header,heading:{...c.header.heading,as:"h2"}},children:[e.slice(0,n).map((h,A)=>a.jsx(i9,{...h,ranking:o?A+1:void 0,mb:p,layout:t},h.label)),e.length>n&&e.slice(n).map((h,A)=>a.jsx(i9,{...h,ranking:o?n+A+1:void 0,mb:p,layout:t,className:"c-elections-result--toggleable js-toggle-target","aria-hidden":!0},h.label)),s&&!l&&e.length>n&&a.jsx(bn,{...s,color:"primary",variant:"outlined",className:"js-toggle-button",m:"auto",mt:"xxl",children:m}),l&&!s&&a.jsx(he,{mt:"l",mx:"m",justifyContent:"center",className:"c-bulleted-list__link",children:a.jsx(Yt,{...l,buttonColor:"primary",variant:"outlined"})})]})},oO=({multipleResults:e})=>e.length?a.jsx(a.Fragment,{children:e.map((t,n)=>a.jsx(nm,{...t,mb:"xxl"},n))}):null,sO=({electionsName:e,regions:t,departments:n,cities:o,previousElections:s,seeAllResults:l,...c})=>a.jsxs(ye,{...c,children:[a.jsx(xl,{heading:{children:`Résultats des élections ${e} par région`,textAlign:{xs:"left",md:"center"},as:"h3"},columnsNumber:{xs:2,md:3},items:t,visibleItems:6,mb:{xs:"xl",md:"xxl"}}),a.jsx(xl,{heading:{children:`Résultats des élections ${e} par département`,textAlign:{xs:"left",md:"center"},as:"h3"},columnsNumber:{xs:2,md:3},items:n,visibleItems:6,mb:{xs:"xl",md:"xxl"}}),a.jsx(xl,{heading:{children:`Résultats des élections ${e} par ville`,textAlign:{xs:"left",md:"center"},as:"h3"},columnsNumber:{xs:2,md:3},items:o,visibleItems:6,maxItems:99,mb:{xs:"xl",md:"xxl"}}),a.jsx(xl,{heading:{children:"Résultats des autres élections",textAlign:{xs:"left",md:"center"},as:"h3"},columnsNumber:{xs:2,md:3},items:s,visibleItems:6}),l&&a.jsx(he,{justifyContent:"center",mt:{xs:"xxl",md:"xxl-2"},children:a.jsx(Yt,{buttonColor:"primary",variant:"outlined",...l,children:"Voir l'ensemble des résultats"})})]}),uO=({faqs:e,...t})=>a.jsx(kp,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:e&&e.faqData.length>0&&a.jsx(I5,{...e})}),XW=({games:e,isConnected:t=!1,layout:n,...o})=>{const s=m=>a.jsxs(he,{...o,color:"white",bg:"ultramarine",alignItems:{xs:t?void 0:"center",md:e.length>0&&t?"start":"center"},justifyContent:"between",direction:{xs:t?"column":"row",md:e.length>0&&t?"column":"row"},gap:{xs:t?"xxs-2":void 0,md:e.length>0?"l":void 0},px:"l",py:{xs:t&&e.length<=0?"xxs":"s",md:"xl"},className:"c-favorite-games-block",children:[a.jsx(Wr,{textAlign:{xs:"center"},as:"h2",size:{xs:t&&e.length<=0?"xxs":"m",md:"m"},children:"Mes jeux favoris"}),m]}),l=()=>n===ve.DESKTOP?a.jsx(K_,{bg:"ultramarine",color:"white",visibleItems:5,heading:{as:"h2",size:{xs:"xxs",md:"m"},children:"Mes jeux favoris"},childrenItems:e.map(m=>a.jsx(l2,{link:m.url,title:m.name,cardImageProps:{cover:m.coverUrl,isFavorite:!0},cardHeaderProps:{headline:{text:m.category,color:"white"}},cardTitleProps:{weight:"semi-bold",size:"s"},layout:n},m.url)),visibleGridProps:{colsNumber:5,gapY:"xl",gapX:"xxl-2",alignItems:"start"},expandableGridProps:{colsNumber:5,gapY:"xl",gapX:"xxl-2",alignItems:"start","aria-hidden":e.length>5}}):s(a.jsx(zu,{mt:"l",layout:n,articles:e.map(m=>({layout:n,link:m.url,title:m.name,cardImageProps:{cover:m.coverUrl,isFavorite:!0},cardTitleProps:{weight:"semi-bold",size:"xs"},cardHeaderProps:{headline:{text:m.category,color:"white"}}}))})),c=s(a.jsx(bn,{color:"primary",variant:"outlined",children:n===ve.DESKTOP?"Connectez-vous pour sauvegarder vos jeux préférés !":"Connexion"})),p=e.length<=0?s(a.jsx(he,{alignItems:"center",children:a.jsxs(Wr,{size:{xs:"xxs-4",md:"xxs-3"},children:["Retrouvez rapidement vos jeux préférés ici, en les sauvegardant grâce à l’icône"," ",a.jsx(If,{iconProps:{name:"star-outlined"},variant:"secondary",color:"grey-500",isClickable:!1,iconSize:"small"})]})})):l();return t?p:c},Y5=({gamesAccordion:e,...t})=>t.layout===ve.DESKTOP?a.jsx(Al,{...t,...e&&{rightAsideElement:a.jsx(k5,{colsNumber:1,...e})}}):a.jsxs(a.Fragment,{children:[a.jsx(Al,{mb:"l",...t}),e&&a.jsx(k5,{colsNumber:1,mb:"l",...e})]}),Z5=({subtitle:e,games:t,layout:n,useTypeAsHeader:o,allowFavorite:s=!1,...l})=>a.jsxs(ye,{...l,children:[a.jsx(Wr,{id:Pd(t[0].category),as:"h2",size:{xs:"xxs",md:"m"},mb:{xs:"xxs-2",md:"s"},children:t[0].category}),a.jsx(Me,{mb:"l",children:e}),a.jsx(Oi,{colsNumber:{xs:2,md:3},gapY:{xs:"m",md:"xl"},gapX:{xs:"xxl",md:"xxl-2"},alignItems:"start",children:t.map(c=>a.jsx(l2,{link:c.url,title:c.name,cardImageProps:{cover:c.coverUrl,dataId:c.id,...s&&{isFavorite:!1}},cardHeaderProps:{headline:{text:o?c.type:c.category}},cardTitleProps:{weight:"semi-bold",size:{xs:"xs",md:"s"}},summaryProps:{children:c.description},layout:n},c.url))})]}),$5=({games:e,layout:t,bannerLink:n,isGameAppPage:o=!1,enableAds:s=!0,...l})=>{if(e.length===0)return null;const c=p=>e.filter(m=>m.category===p);return a.jsxs(a.Fragment,{children:[n&&a.jsx(Yt,{href:n,children:a.jsx(Ap,{mb:{xs:"l",md:"xxl"},radius:"0",src:`https://static.20mn.fr/services/games/2024/${t===ve.DESKTOP?"quiz":"quiz-mobile"}.png`})}),a.jsxs(ye,{...l,children:[a.jsx(Z5,{games:c("Jeux de lettres"),useTypeAsHeader:!1,subtitle:"Un nouveau défi gratuit vous attend chaque jour sur votre jeu favori !",layout:t,allowFavorite:!o,mx:o?"m":{xs:"m",md:"0"},mt:{xs:"xxl",md:"xxl-2"}}),t===ve.MOBILE&&s&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"}),a.jsx(Z5,{games:c("Jeux de chiffres"),useTypeAsHeader:!1,subtitle:"Chaque jour, de nouvelles grilles et de nouveaux défis addictifs !",layout:t,allowFavorite:!o,mx:o?"m":{xs:"m",md:"0"},mt:{xs:"xxl",md:"xxl-2"}}),t===ve.MOBILE&&s&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE",mb:"xxl"}),a.jsx(Z5,{games:c("Jeux inclassables"),useTypeAsHeader:!0,subtitle:"Un nouveau défi gratuit vous attend chaque jour sur votre jeu favori !",layout:t,allowFavorite:!o,mx:o?"m":{xs:"m",md:"0"},mt:{xs:"xxl",md:"xxl-2"}})]})]})},Wd=({headingProps:e,articles:t,layout:n,variant:o="light",tags:s,sponsor:l,rubric:c,seeMoreLink:p,...m})=>{if(t.length===0)return null;const h=a.jsx(A3,{headingProps:e,layout:n,tags:s,sponsor:l,mb:{xs:"xxl",md:"m"}}),A=t?.slice(0,4).map(_=>({..._,cardTitleProps:{..._.cardTitleProps,as:"h3",maxRows:4,size:"xxs"},cardHeaderProps:{..._.cardHeaderProps,headline:{text:_.cardHeaderProps?.headline.text??"",..._.cardHeaderProps?.headline,color:o==="dark"?_.cardHeaderProps?.headline?.color||"white":_.cardHeaderProps?.headline?.color||"grey-400"},..._.cardHeaderProps?.rightSubheader&&{rightSubheader:{..._.cardHeaderProps?.rightSubheader,text:_.cardHeaderProps?.rightSubheader?.text??"",color:o==="dark"?"white":"grey-400"}}},socialBarProps:_.socialBarProps&&{..._.socialBarProps,countColor:o==="dark"?"white":"black",blockVariant:o},..._.cardImageProps&&{cardImageProps:{..._.cardImageProps,sizes:"(min-width: 1820px) 264px, (min-width: 1440px) calc(5vw + 174px), (min-width: 1100px) 232px, calc(23.21vw - 19px)"}}})),w=a.jsx(he,{justifyContent:"center",mt:"xxl",children:a.jsx(Yt,{buttonColor:o==="dark"?"translucent":"primary",variant:o==="dark"?void 0:"outlined",...p,children:"Voir plus d'articles"})});return o==="dark"?a.jsx(ye,{...m,as:"section",color:"white",bg:"grey-900",children:a.jsxs(ye,{className:"o-page-wrap",py:"xxl",children:[h,A.length>0&&a.jsxs(a.Fragment,{children:[a.jsx(jl,{columnsNumber:{md:3,lg:4},layout:n,articles:A,dividerProps:{color:"grey-500"},hideFirstDivider:n===ve.MOBILE}),w]})]})}):a.jsxs(ye,{...m,as:"section",children:[a.jsx(Hc,{bg:c,mb:"xl"}),h,A.length>0&&a.jsxs(a.Fragment,{children:[a.jsx(jl,{desktopArticlesListClassName:"grid--in-row",columnsNumber:{md:3,lg:4},layout:n,articles:A,hideFirstDivider:n===ve.MOBILE}),w]})]})},q2=({headingProps:e,layout:t,articles:n,fitContainer:o,dividerProps:s,isScrollable:l,seeMoreLink:c,tags:p,variant:m,hasBackgroundImage:h=!1,...A})=>{if(n.length===0)return null;const w=a.jsx(A3,{headingProps:e,layout:t,tags:p,mb:{xs:"xxl",md:"xl"}}),_=(m==="dark"?n.map(S=>({...S,cardHeaderProps:{...S.cardHeaderProps,headline:{text:S.cardHeaderProps?.headline.text??"",...S.cardHeaderProps?.headline,color:m==="dark"?"white":S.cardHeaderProps?.headline?.color||"grey-400"},rightSubheader:{...S.cardHeaderProps?.rightSubheader,text:S.cardHeaderProps?.rightSubheader?.text??"",color:m==="dark"?"white":"grey-400"}}})):n).slice(0,4),D=a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:{xs:"0",lg:"xl"},className:"o-lt-show",children:[a.jsx("div",{className:ko({"o-lt-show__main o-lt-show__main--medium-size":t===ve.DESKTOP}),children:a.jsx(Sg,{..._[0],layout:t})}),a.jsxs("aside",{className:ko({"o-lt-show__aside o-lt-show__aside--auto":t===ve.DESKTOP}),children:[a.jsx(jl,{columnsNumber:4,layout:ve.MOBILE,articles:_.slice(1),dividerProps:{color:m==="dark"?"grey-500":"grey-200"},hideFirstDivider:t!==ve.MOBILE,hasMarginOnCard:t===ve.MOBILE}),c&&a.jsx(he,{justifyContent:"center",mt:"xxl",children:a.jsx(Yt,{buttonColor:m==="dark"?"translucent":"primary",variant:m==="dark"?void 0:"outlined",...c})})]})]});return m==="dark"?a.jsxs(ye,{...A,as:"section",color:"white",bg:h?"blue-dark":"grey-900",children:[h&&a.jsx(R5,{src:"https://static.20mn.fr/tv/backgrounds/videos-home.png",halfOpacity:!0,loading:"lazy"}),a.jsxs(ye,{className:"o-page-wrap",py:"xxl",children:[w,D]})]}):a.jsxs(ye,{...A,as:"section",children:[a.jsx(Hc,{mb:"xl",...s}),w,D]})},lO=(e,t)=>e.map(n=>(n.articles.forEach((o,s)=>{(s!==0||t===ve.MOBILE)&&(o.cardImageProps=void 0)}),n)),cO=({title:e,items:t,layout:n,tabItemActive:o,...s})=>{if(t.length<=0)return null;const l=lO(t,n);if(n===ve.DESKTOP)return a.jsx(u6,{...s,title:e,items:l,layout:n});const c=()=>l.map(m=>({name:m.title.label,title:m.title.label,content:a.jsx(jl,{articles:m.articles,layout:ve.MOBILE,hasMarginOnCard:!1,seeMoreLink:m.seeMoreLink})})),p=a.jsxs(a.Fragment,{children:[e&&a.jsxs(a.Fragment,{children:[a.jsx(Hc,{mb:"xl"}),a.jsx(Wr,{as:"h2",size:"s",mb:"xl",textAlign:"center",fontFamily:"obviously",px:"m",children:e})]}),a.jsx(Mf,{tabItemActive:o||(t.length>0?t[0].title.label:""),tabItems:c(),mx:"m"})]});return Object.keys(s).length===0?p:a.jsx(ye,{...s,children:p})},J5=({items:e,layout:t,label:n,seeMoreLink:o,carouselProps:s,...l})=>!e||e?.length===0?null:a.jsx(ye,{...l,as:"section",color:"white",bg:"entertainment",children:a.jsxs(ye,{className:"o-page-wrap",py:"xxl",children:[a.jsx(zu,{...s,label:n,headingProps:{as:"h2",size:"m",color:"white",fontFamily:"obviously",textAlign:{xs:"center",md:"left"},mb:"xl",...s?.headingProps},titleUnderlined:!1,layout:t,articles:e,sliderProps:{sliderVariant:"movies",buttonsColor:"white",ml:{xs:"m",md:"0"}}}),a.jsx(he,{justifyContent:"center",mt:"xl",children:a.jsx(Yt,{buttonColor:"translucent",...o})})]})}),dO=({articles:e,...t})=>e.length>0?a.jsx(Oi,{...t,colsNumber:2,gapY:"xl",gapX:"m",children:e.map((n,o)=>a.jsxs(he,{direction:"column",justifyContent:"between",children:[a.jsx(bh,{...n,cardHeaderProps:Ph(n.cardHeaderProps)}),o<e.length-2&&a.jsx(wn,{color:"grey-200",mt:"xs"})]},`${n.link}-${o}`))}):null,fO=({games:e,layout:t,seeMoreLink:n,...o})=>e.length===0?null:a.jsx(ye,{...o,as:"section",color:"white",bg:"ultramarine",children:a.jsxs(ye,{className:"o-page-wrap",py:"xxl",children:[a.jsx(zu,{label:"Sélection de jeux populaires",headingProps:{as:"h2",size:"m",color:"white",fontFamily:"obviously",textAlign:{xs:"center",md:"left"},mx:{xs:"m",md:"0"},mb:"xl"},titleUnderlined:!1,layout:t,articles:e,sliderProps:{sliderVariant:"games",buttonsColor:"white",ml:{xs:"m",md:"0"}}}),a.jsx(he,{justifyContent:"center",mt:"xl",children:a.jsxs(Yt,{buttonColor:"translucent",...n,children:["Voir les ",Object.values(p6).length," jeux"]})})]})}),pO=({articles:e,layout:t,...n})=>{if(e.length===0)return null;const o=l=>{const c={...l,cardTitleProps:{...l.cardTitleProps,as:"h3"},layout:t};return t===ve.DESKTOP?a.jsx(Sg,{...c}):a.jsx(u2,{...c})};let s=a.jsx(a.Fragment,{children:e.slice(0,10).map((l,c)=>a.jsxs(ye,{className:`card-item-${c+1}`,children:[c===0?o(l):a.jsx(bh,{...l,cardTitleProps:{...l.cardTitleProps,as:"h3"},mx:"m",mb:c===2?"s":void 0,mt:c===3?"s":void 0}),c<e.slice(0,10).length-1&&c!==2&&a.jsx(wn,{color:"grey-200",my:"s"})]},l.title))});return t===ve.DESKTOP&&(s=a.jsxs(a.Fragment,{children:[o(e[0]),a.jsx(Oi,{colsNumber:2,gap:"xl",mt:"xl",children:e.slice(1,6).map((l,c)=>{const{layout:p,...m}=l;return be.createElement(H1,{...m,key:l.title,cardTitleProps:{...l.cardTitleProps,as:"h3"},...l.cardImageProps&&{cardImageProps:{...l.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), (min-width: 660px) calc(50vw - 182px), 130px"}},className:`card-item-${c+1}`})})}),a.jsx(Oi,{colsNumber:3,gap:"xl",mt:"xl",children:e.slice(6,15).map(l=>{const{layout:c,...p}=l;return be.createElement(H1,{...p,...l.cardImageProps&&{cardImageProps:{...l.cardImageProps,sizes:"(min-width: 1660px) 245px, (min-width: 1440px) calc(12vw + 48px), (min-width: 1080px) 203px, (min-width: 780px) calc(29.64vw - 111px), (min-width: 660px) calc(33vw - 130px), 77px"}},key:l.title,cardTitleProps:{...l.cardTitleProps,as:"h3",maxRows:void 0,size:"xxs"}})})})]})),a.jsx(ye,{...n,children:s})},hO=({articles:e,selectProps:t,seeMoreLink:n,layout:o,...s})=>{const{variablesForQuery:l,...c}=s,p=a.jsxs(a.Fragment,{children:[a.jsx(c2,{as:"h2",size:{xs:"s",md:"m"},isCentered:o===ve.MOBILE,mb:{xs:"l",md:"0"},iconProps:{name:"rubric-news",size:40},children:"Actualité locale"}),a.jsx(Uc,{...t})]}),m=h=>a.jsx(H1,{...h,cardTitleProps:{as:"h3",size:"xxs",weight:"semi-bold",fontFamily:"source-serif-pro",maxRows:4,...h.cardTitleProps},socialBarProps:void 0},h.title);return a.jsxs(ye,{...c,children:[a.jsx(Hc,{mb:"l"}),o===ve.DESKTOP?a.jsx(he,{justifyContent:"between",mb:"xl",alignItems:"center",children:p}):a.jsx(ye,{mx:"m",mb:"l",children:p}),o===ve.DESKTOP?a.jsx(Oi,{colsNumber:4,gap:"xl",mx:o===ve.DESKTOP?"0":"m",children:e.map(h=>m(h))}):a.jsx(he,{direction:"column",mx:"m",children:e.map((h,A)=>a.jsxs(be.Fragment,{children:[m(h),A<e.length-1&&a.jsx(wn,{color:"grey-200",my:"s"})]},h.title))}),a.jsx(he,{justifyContent:"center",mt:"xxl",children:a.jsx(Yt,{buttonColor:"primary",variant:"outlined",...n,children:"Voir plus d'articles"})})]})},mO=({layout:e,tags:t,regions:n,articles:o,...s})=>o&&!o.length?null:a.jsxs(ye,{as:"section",...s,children:[a.jsx(Hc,{mb:"l"}),a.jsx(A3,{headingProps:{children:"Résultats municipales 2026",iconProps:{name:"rubric-news",size:40}},layout:e,tags:t,mb:{xs:"xl",md:"xl"}}),a.jsx(Me,{px:{xs:"m",md:"0"},weight:"bold",size:"m",children:"Retrouvez dès 20h et en direct les résultats des élections municipales 2026 dans votre commune"}),a.jsx(he,{direction:{xs:"column",md:"row"},wrap:"wrap",gapY:"xl",gapX:"xs",px:{xs:"m",md:"0"},mt:"m",children:n.map(l=>a.jsx(Me,{weight:"bold",size:"xs",children:a.jsx(Yt,{isUnderlined:!0,color:"grey-80O",href:l.url,children:l.name})},l.name))}),a.jsx(y6,{articles:o,mt:"l"})]}),vO=({title:e,items:t,layout:n,...o})=>{if(t.length<=0)return null;const s=lO(t,n);if(n===ve.DESKTOP)return a.jsx(u6,{...o,title:e,items:s.map(p=>({...p,title:{...p.title,as:"h2"}})),layout:ve.DESKTOP});const l=p=>a.jsx(a.Fragment,{children:p.map((m,h)=>a.jsxs(be.Fragment,{children:[h!==0&&a.jsx(wn,{color:"grey-200",my:"s"}),a.jsx(bh,{...m,cardTitleProps:{as:"h2",...m.cardTitleProps},cardHeaderProps:Ph(m.cardHeaderProps)})]},m.title))}),c=a.jsxs(a.Fragment,{children:[e&&a.jsxs(a.Fragment,{children:[a.jsx(Hc,{mb:"xl"}),a.jsx(Wr,{as:"h2",size:"s",mb:"xl",textAlign:"center",fontFamily:"obviously",px:"m",children:e})]}),s.map(p=>a.jsxs(ye,{mx:"m",mb:"l",children:[a.jsx(zc,{as:"h2",label:p.title.label,mb:"l"}),l(p.articles),p.seeMoreLink&&a.jsx(he,{justifyContent:"center",mt:"l",children:a.jsx(Yt,{buttonColor:"primary",variant:"outlined",...p.seeMoreLink})})]},p.title.label))]});return Object.keys(o).length===0?c:a.jsx(ye,{...o,children:c})},gO=({layout:e,tags:t,lastEpisodes:n,timelineEvents:o,mediaSrc:s,seeAllEpisodesLink:l,currentLive:c})=>{if(!s)return null;const p=a.jsxs(a.Fragment,{children:[a.jsx(X_,{variant:"tv",timeSlot:{children:c?.time,color:"white"},mx:{xs:"m",md:"0"},mb:"xxs"}),a.jsx(Wr,{as:"h3",size:"m",fontFamily:"obviously",mx:{xs:"m",md:"0"},children:c?.title})]}),m=A=>A.length>0?a.jsxs(_a,{mt:"xl",children:[a.jsx(zc,{as:"h4",label:"Derniers épisodes",mb:"xl"}),A.map((w,_)=>a.jsxs(be.Fragment,{children:[be.createElement(a6,{...w,cardHeaderProps:w.cardHeaderProps?{...w.cardHeaderProps,headline:{...w.cardHeaderProps.headline,color:"white"}}:void 0,cardTitleProps:{...w.cardTitleProps,size:"xxs-2",as:"h5"},key:w.link}),_<A.length-1&&a.jsx(wn,{color:"grey-200",my:"m"})]},w.title))]}):null,h=a.jsxs(a.Fragment,{children:[e===ve.MOBILE&&c&&p,a.jsx(kd,{type:fu.video,src:s,videoIs16by9:!0,mt:{xs:"xl",md:"0"}}),(n.length>0||e===ve.DESKTOP&&c||l)&&a.jsxs(he,{direction:"column",justifyContent:"between",mx:{xs:"m",md:"0"},children:[e===ve.DESKTOP&&(c?a.jsxs("div",{children:[p,m(n)]}):m(n)),e===ve.MOBILE&&m(n),l&&a.jsx(_a,{align:"center",mt:"xl",children:a.jsx(Yt,{buttonColor:"translucent",variant:void 0,...l,children:"Voir tous les épisodes"})})]})]});return a.jsxs(a.Fragment,{children:[a.jsx(ye,{as:"section",color:"white",bg:"blue-dark",py:"xl",children:a.jsxs(ye,{className:"o-page-wrap",children:[a.jsxs(he,{justifyContent:"between",alignItems:"center",mx:{xs:"m",md:"0"},mb:"xl",children:[a.jsx(or,{name:"logo-tv",size:e===ve.DESKTOP?[76,49]:[46,30],color:"white"}),e===ve.DESKTOP?a.jsx("div",{children:t.slice(0,2).map((A,w)=>a.jsx(uc,{...A,variant:"quaternary",ml:w===1?"l":"0"},A.href))}):t.slice(0,1).map(A=>a.jsx(uc,{...A,variant:"quaternary"},A.href))]}),e===ve.DESKTOP?a.jsx(Oi,{colsNumber:"2-of-3",gap:"l",mb:"xxl",children:h}):h]})}),a.jsx(ye,{as:"section",bg:"blue-grey",children:a.jsx(a9,{events:o,layout:e,py:{xs:"s",md:"l"},className:ko({"o-page-wrap":e===ve.DESKTOP})})})]})},yO=({avatarUrl:e,jobTitle:t,city:n,aboutMe:o,contacts:s})=>a.jsxs(a.Fragment,{children:[a.jsxs(he,{px:{xs:"m",md:"0"},mb:{xs:"0",md:"xxl"},my:"xl",gap:{xs:"xl",md:"xxl-2"},direction:{xs:"column",md:"row"},children:[a.jsx(wg,{img:e,variant:"big"}),(t||n)&&a.jsxs(he,{gap:{xs:"l",md:"xxl-3"},direction:{xs:"column",md:"row"},children:[t&&a.jsxs(he,{direction:"column",children:[a.jsx(zc,{label:"Poste occupé"}),a.jsx(Me,{mt:"m",children:t})]}),n&&a.jsxs(he,{direction:"column",children:[a.jsx(zc,{label:"Localisation"}),a.jsx(Me,{mt:"m",children:n})]})]})]}),o&&a.jsx(Tg,{heading:{children:"À propos de moi :"},description:o}),s&&s.length>0&&a.jsxs(ye,{px:{xs:"m",md:"0"},mt:"xxl",children:[a.jsx(Wr,{size:"m",mb:{xs:"s",md:"l"},children:"Me contacter :"}),a.jsx(he,{direction:"column",gap:{xs:"s",md:"l"},children:s.map(({media:l,link:c,label:p})=>a.jsxs(he,{alignItems:"center",children:[a.jsx(or,{name:l,size:20,mr:"l"}),a.jsx(Yt,{href:c,size:"m",weight:"semi-bold",children:p})]},l))})]})]}),bO=({post:e,postIndex:t,postsCount:n,pageEndpoint:o,imgEndpoint:s,layout:l,disableAds:c=!1,enableAnchoring:p=!0})=>be.createElement("section",{className:ko("js-post",{"u-anchor-link":p}),...p?{id:`post-${e.id}`}:{},key:e.id},a.jsx(lP,{...e.title}),e.content&&a.jsx(JD,{draftContent:e.content,pageEndpoint:o,imgEndpoint:s}),e.talk&&a.jsx(uP,{...e.talk,mt:"s"}),a.jsx(wn,{color:"grey-200",my:"l"}),!c&&n>=4&&t%6===3&&a.jsx(Ce,{adUnitCompletePath:l===ve.MOBILE?"/49926454/20minutes_webmobile/live/inread":"/49926454/20minutes_desktop/live/inread",variant:"INREAD",mb:"s",isFullscreenMobile:!0}),!c&&n>=8&&t%6===0&&a.jsx(Ce,{adUnitCompletePath:l===ve.MOBILE?"/49926454/20minutes_webmobile/live/article_mtf":"/49926454/20minutes_desktop/live/pave_article",variant:"ARTICLE",mb:"s",isFullscreenMobile:!0})),xO=({posts:e,layout:t,pageEndpoint:n,imgEndpoint:o,seeMoreLink:s,disableAds:l,enableAnchoring:c=!0,...p})=>{const{variablesForQuery:m,refreshButton:h,...A}=p;return e.length===0?null:a.jsxs(a.Fragment,{children:[a.jsx(ye,{...A,"data-state":h?.state,"data-latest-post-id":h?.latestPostId,"data-brand-id":m?.brandId,"data-live-id":m?.liveId,children:e.map((w,_)=>a.jsx(bO,{post:w,postIndex:_,postsCount:e.length,layout:t,pageEndpoint:n,imgEndpoint:o,disableAds:l,enableAnchoring:c},`${w.id}-${_}`))}),s&&a.jsx(he,{justifyContent:"center",my:"l",children:a.jsx(bn,{color:"primary",variant:"outlined",...s})})]})},M3=({items:e,seeMoreButton:t,...n})=>e.length<=0?null:a.jsxs(a.Fragment,{children:[a.jsx(ye,{...n,children:e.map((o,s)=>{const{summaryProps:l,...c}=o;return a.jsxs(be.Fragment,{children:[a.jsx(r6,{...c,summaryProps:c.layout!==ve.MOBILE?l:void 0,mb:"m",ml:{xs:"m",md:"0"}}),s!==e.length-1&&a.jsx(wn,{color:"grey-200",my:"s"}),s===2&&c.layout===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),s===7&&c.layout===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"}),(s===2||s===7)&&c.layout===ve.MOBILE&&a.jsx(wn,{color:"grey-200",my:"s"})]},`${c.link}-${s}`)})}),t&&a.jsx(he,{justifyContent:"center",mb:"m",children:a.jsx(bn,{...t})})]}),X5=({...e})=>{const{variablesForQuery:t,...n}=e;return a.jsx(s6,{...n})},AO=({items:e,layout:t,seeMoreButton:n,...o})=>e.length<=0?null:a.jsxs(a.Fragment,{children:[a.jsx(he,{direction:"column",gap:"xxl-2",...o,children:e.map((s,l)=>a.jsxs(be.Fragment,{children:[l===5&&t===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),a.jsx(zB,{...s,layout:t,containerSpacing:{px:{xs:"m",lg:"0"}}})]},`${s.link}-${l}`))}),n&&a.jsx(he,{justifyContent:"center",mt:"xl",children:a.jsx(bn,{...n})}),t===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"}),t===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"BAN",mt:"xl"})]}),EO=({blocks:e,...t})=>e.length===0?null:a.jsx(ye,{...t,children:e.map((n,o)=>a.jsx(Wd,{mb:o<e.length-1?"xxl":"0",...n},o))}),_O=({articles:e,layout:t,totalArticles:n,currentPagePath:o,currentPage:s="1",seeMoreButton:l,...c})=>{if(e.length===0)return null;const p=a.jsx(Oi,{colsNumber:1,gap:{xs:"xxl",md:"xxl-2"},children:e.map((h,A)=>t===ve.DESKTOP?a.jsx(VB,{...h,className:ko(`card-item-${A+1}`,h.className),cardTitleProps:{as:"h2",...h.cardTitleProps},cardHeaderProps:Ph(h.cardHeaderProps)},h.title):a.jsx(u2,{layout:t,...h,className:ko(`card-item-${A+1}`,h.className),cardTitleProps:{as:"h2",...h.cardTitleProps},cardHeaderProps:Ph(h.cardHeaderProps)},h.title))}),m=a.jsxs(a.Fragment,{children:[p,l&&a.jsxs(a.Fragment,{children:[n&&o&&a.jsx("noscript",{children:a.jsx(r9,{totalArticles:n,currentPage:s,pagePath:o,archivesUrl:"https://www.20minutes.fr/archives"})}),a.jsx(he,{justifyContent:"center",mt:"xxl",children:a.jsx(bn,{...l})})]})]});return Object.keys(c).length===0?m:a.jsx(ye,{...c,children:m})},wO=({rewinds:e,layout:t,...n})=>a.jsx(Oi,{...n,colsNumber:{xs:1,sm:2,md:3,lg:4,xxl:5},gap:"xl",px:{xs:"m",md:"0"},children:e.map(o=>a.jsxs(he,{as:Yt,href:o.link,direction:"column",alignItems:"center",gap:"l",children:[a.jsx(Ap,{src:o.cover,defaultFormat:t===ve.DESKTOP?"236x420":"439x781",isPortrait:!0}),a.jsxs(Me,{as:"span",color:"white",bg:"ultramarine",size:"xs",weight:"bold",px:"s",py:"xs",radius:"l",children:["Ma rétrospective ",o.year]})]},o.year))}),L3=({articles:e,...t})=>e&&e?.length>0?a.jsx(he,{...t,direction:"column",children:e.map((n,o)=>a.jsx(H1,{...n,cardHeaderProps:Ph(n.cardHeaderProps),mb:o<e.length-1?"l":"0",cardImageProps:{...n.cardImageProps,lazyLoad:!0,cover:n?.cardImageProps?.cover??""}},n.title))}):null,SO=({title:e,tagList:t})=>a.jsxs(ye,{className:"bg-grey-100",p:{xs:"m",md:"xl"},children:[a.jsx(Wr,{as:"h2",size:"xxs",mb:"l",children:e}),a.jsx(he,{gap:"xs",wrap:"wrap",children:t.map(({name:n,href:o})=>a.jsx(uc,{variant:"secondary",href:o,children:n},n))})]}),CO=({slideshowStories:e})=>a.jsx(a.Fragment,{children:e.map(t=>be.createElement(UR,{...t,key:t.title,mb:"l"}))}),TO=({widgets:e})=>e.length===0?null:a.jsx(a.Fragment,{children:e.map(t=>a.jsx(v6,{...t},t.src))}),V2=({cards:e,layout:t,...n})=>a.jsx(ye,{...n,mx:{xs:"m",md:"0"},mb:{xs:"xxl",md:"xxl-3"},children:a.jsx(Oi,{colsNumber:{xs:2,md:3},gapY:{xs:"m",md:"xl"},gapX:{xs:"xxl",md:"xxl-2"},alignItems:"start",children:e.map(o=>a.jsx(l2,{link:o.url,title:o.name,cardImageProps:{cover:o.coverUrl},cardHeaderProps:{headline:{text:o.label,color:o.labelColor}},cardTitleProps:{weight:"semi-bold",size:{xs:"xs",md:"s"}},summaryProps:{children:o.summary},layout:t},o.url))})}),NO=({items:e,layout:t,...n})=>e.length===0?null:a.jsx(ye,{py:"xxl",...n,children:a.jsx(zu,{className:"o-page-wrap",pt:"0",layout:t,articles:e.map(o=>({...o,variant:"title-on-image",cardTitleProps:{color:"white",fontFamily:"base",pb:"s",px:"m"}})),sliderProps:{buttonsColor:"white",sliderVariant:"sport",ml:{xs:"m",md:"0"}}})}),DO=({articles:e,layout:t,tagCarouselProps:n,brandPublishingArticle:o,seeMoreButton:s,currentPage:l,currentPagePath:c,tagTotalArticles:p,isFullWidthCover:m})=>{if(e.length===0)return null;const h=w=>"cardImageProps"in w&&!("cardFrameProps"in w),A=e.slice(1).filter(h).map(w=>({...w,...w.cardImageProps&&{cardImageProps:{...w.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), calc(50vw - 16px)"}}}));return a.jsxs(a.Fragment,{children:[a.jsx(ye,{as:"article",className:"o-page-wrap u-arch-shadow",bg:"grey-50",children:m?a.jsx(UB,{...e[0],layout:t,mb:{xs:n?.items.length?"l":"0",md:"xl"}}):a.jsx(u2,{...e[0],layout:t,mb:{xs:n?.items.length?"l":"0",md:"xl"}})}),n&&n.items.length>0&&a.jsx(NO,{mb:{xs:"l",md:"xl"},...n}),a.jsx(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:{xs:"0",md:"xxl"},bg:"grey-50",children:a.jsxs(he,{id:"article-list-1",direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(jl,{layout:t,articles:A,hideFirstDivider:n&&n.items.length>0&&t===ve.MOBILE,seeMoreButton:s&&{...s,disabled:!0,onClick:void 0},currentPage:l,currentPagePath:c,tagTotalArticles:p})}),t===ve.DESKTOP&&a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx(L3,{...o}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]})})]})},eQ=e=>Array.isArray(e.articles)&&e.articles.length>0,RO=({mostViewed:e,mostRecent:t,...n})=>{const s=[{name:"les plus vues",title:"Vidéos les + vues",source:e},{name:"les plus recentes",title:"Vidéos les + récentes",source:t}].filter(l=>eQ(l.source)).map(l=>({name:l.name,title:l.title,content:a.jsx(jl,{...l.source,hasMarginOnCard:!1})}));return s.length===0?null:a.jsx(ye,{as:"section",className:"o-page-wrap",color:"white",py:{xs:"m",md:"xxl"},px:{xs:"m",md:"0"},mb:"xxs",...n,children:a.jsx(Mf,{tabTitlesColor:"white",tabItems:s})})},OO=({videos:e,layout:t})=>{const n=o=>a.jsxs(a.Fragment,{children:[a.jsx(Ce,{adUnitCompletePath:`/49926454/20minutes_webmobile/tv/nfb_${o}`,variant:"BAN",mt:"s",hasNoBgColorMobile:!0}),a.jsx(wn,{color:"grey-500",my:"s"})]});return a.jsx(a.Fragment,{children:e.map((o,s)=>{const l=s===e.length-1,c=s===0?"s":"0";return a.jsxs(be.Fragment,{children:[a.jsx(r6,{...o,cardNumber:{value:s+1},mt:c,mx:{xs:"m",md:"0"}}),!l&&a.jsx(wn,{color:"grey-500",my:"s"}),t===ve.MOBILE&&s===2&&n("1"),t===ve.MOBILE&&s===7&&n("2")]},`${o.title}-${s}`)})})},IO=({layout:e,videos:t})=>a.jsx(a.Fragment,{children:t.map((n,o)=>{const s=o===t.length-1,l=o===0?"s":"0";return a.jsxs(be.Fragment,{children:[a.jsx(q_,{...n,mt:l,mx:{xs:"m",md:"0"}}),!s&&a.jsx(wn,{color:"grey-500",my:"s"}),e===ve.MOBILE&&o===11&&a.jsxs(a.Fragment,{children:[a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"BAN",mt:"s",hasNoBgColorMobile:!0}),a.jsx(wn,{color:"grey-500",my:"s"})]})]},`${n.title}-${o}`)})}),jO=({breadcrumb:e,showsCarousel:t,frontPageArticles:n,seeMoreLink:o,layout:s})=>{const l=c=>"title"in c[0];return a.jsxs(a.Fragment,{children:[a.jsx(ye,{as:"section",className:"o-page-wrap o-shift-breadcrumb-bottom",children:a.jsx(qn,{...e,isTransparent:!0,hasWhiteSeparators:!0,buttonsColor:"translucent"})}),a.jsx(oP,{...t,layout:s,withNavigation:s===ve.DESKTOP}),s===ve.DESKTOP&&n.length>0&&l(n)&&a.jsx(ye,{as:"section",className:"o-page-wrap o-shift-carousel-top",children:a.jsx(zu,{articles:n,layout:ve.DESKTOP,label:"A la Une",headingProps:{as:"h2",color:"white"},color:"white",seeMoreLink:{href:o,children:"Voir toutes les vidéos à la Une",buttonColor:"translucent",variant:void 0}})}),s===ve.MOBILE&&n.length>0&&a.jsxs(a.Fragment,{children:[a.jsx(zc,{label:"A la Une",my:"xxl",as:"h2",color:"white",mx:"m"}),a.jsx(jl,{articles:n,layout:ve.MOBILE,hideFirstDivider:!0,color:"white"}),a.jsx(he,{justifyContent:"center",mt:"xl",color:"white",children:a.jsx(Yt,{buttonColor:"translucent",href:o,children:"Voir toutes les vidéos à la Une"})})]})]})},tQ=e=>{if(!window.lazyObservers?.defaultObserver&&!window.lazyObservers?.instantObserver){window.lazyElementsToObserve=window.lazyElementsToObserve||[],window.lazyElementsToObserve.push(e);return}const t=e.dataset?.distanceVisible;t==="700"?window.lazyObservers?.defaultObserver?.observe(e):t==="0"&&window.lazyObservers?.instantObserver?.observe(e)},V0=()=>{document.querySelectorAll('[data-delayed="true"]:not([data-dfp-name]):not([data-lazy-loaded="true"])').forEach(t=>{tQ(t)})},MO=e=>{const t={click:Pd(e.name),click_chapter1:e?.chapter1||null,click_chapter2:e?.chapter2||null,click_chapter3:e?.chapter3||null},n=`click.${e.type}`;if(window.pa?(e.customProps&&Object.keys(e.customProps).length>0&&window.pa.setProperties(e.customProps,{persistent:!1,events:[n]}),window.pa.sendEvent(n,t)):window._paq&&(e.customProps&&Object.keys(e.customProps).length>0&&window._paq.push(["setProperties",e.customProps,{persistent:!1,events:[n]}]),window._paq.push(["sendEvent",n,t])),!window.edgee?.track)return;const o=document.getElementById("__EDGEE_DATA_LAYER__");let s={};if(o)try{const l=JSON.parse(o.textContent||"");l.data_collection.context=l.data_collection.context||{},s=l.data_collection.context.page?.properties||{}}catch{s={}}window.edgee.track({name:n,properties:{...s,click:t.click,click_chapter1:t.click_chapter1,click_chapter2:t.click_chapter2,click_chapter3:t.click_chapter3,click_type:e?.type??"navigation",...e.customProps}},{"edgee/piano-analytics":!0})},Gu=e=>{window._paq&&window._paq.push(["sendEvent","page.display",{page:window.PianoPageInfo?.name,page_chapter1:window.PianoPageInfo?.chapter1,page_chapter2:window.PianoPageInfo?.chapter2,page_chapter3:window.PianoPageInfo?.chapter3,page_chapter4:window.PianoPageInfo?.chapter4}]),window.edgee?.page&&e?.enableEdgee!==!1&&window.edgee.page()},Bp=({medias:e,imgEndpoint:t})=>{const n=e?.find(s=>s&&s.illustration===!0&&s.type===y2.photo&&s.photo?.node?.id);if(!n?.photo?.node?.id)return"";const o=n.photo?.node?.slug?`%format_${n.photo.node.slug}`:"%format";return`${t}/${N5(n.photo.node.id)}/${o}`},Fh=({photo:e})=>e?.node?[{type:y2.photo,illustration:!0,legend:e.node.caption??null,photo:{node:{id:e.node.id,brand_id:e.node.brand_id,title:e.node.title??null,caption:e.node.caption??null,credit:e.node.credit??null,slug:e.node.slug??null}},video:null,podcast:null}]:[],G2=({medias:e,picto:t,editorialModel:n})=>{if(n===Lf.Story)return{caption:{iconName:"diaporama"}};let o;if(t)switch(t){case"video":{if(n!==Lf.Page){const s=e?.find(l=>l&&l?.illustration===!0&&l?.type===y2.video&&l[y2.video]?.duration)?.video?.duration;return{caption:{iconName:"video",text:s?Ig(Number(s)):""}}}break}case"podcast":return{caption:{iconName:"podcast"}};default:return o}else e?.forEach(s=>{if(s?.type==="podcast"&&(o={caption:{iconName:"podcast"}}),s?.type==="video"&&s?.illustration&&n!==Lf.Page){const l=s?.video?.duration?Number(s?.video?.duration):null;o={caption:{iconName:"video",text:l?Ig(l):""}}}});return o},LO=({pageEndpoint:e,imgEndpoint:t,layout:n,data:o})=>Array.isArray(o)?[]:(o?.brand?.node?.tag?.node?.publishableContents?.edges||[])?.reduce((s,l)=>(!l?.node?.short_title||!l?.node?.medias||!l?.node?.url_current||s.push({title:l.node.short_title,cardImageProps:{cover:Bp({medias:l.node.medias,imgEndpoint:t}),caption:{iconName:"video",text:l?.node?.video?.node?.duration?.toString()?Ig(parseInt(l.node.video.node.duration.toString(),10)):void 0}},link:new URL(l.node.url_current,e).href,layout:n,...n===ve.MOBILE&&{reverseCard:!0}}),s),[]),rQ=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery?.endCursor||null),[o,s]=be.useState(e.defaultVariablesForQuery?.hasNextPage||!1),[l,c]=be.useState(e.defaultArticles),[p,m]=be.useState(!1),h=be.useCallback(()=>{m(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getTvReplaysOrExtracts&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery?.brandId,slug:e.defaultVariablesForQuery?.slug,first:8,after:t,filter:{publication_status:{eq:"published"},...e.defaultVariablesForQuery?.tagId?{tag_ids:{nin:[e.defaultVariablesForQuery.tagId]}}:{}}}))}`,options:{headers:_}}];try{const S=await bi(...D),T=LO({pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,layout:e.layout,data:S});c(C=>[...C,...T]),n(S?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.endCursor||null),s(S?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.hasNextPage||!1),Gu()}catch(S){console.error("20mn> Error while loading articles:",S)}},[t,e.defaultVariablesForQuery,e.layout]);return be.useEffect(()=>{p&&A()},[p,A]),be.useEffect(()=>{p&&m(!1)},[p]),be.useMemo(()=>({isLoading:p,articles:l,hasNextPage:o,onLoadMore:h}),[l,p,o,h])},kO=({isSSR:e=!0,name:t,layout:n,articles:o,variablesForQuery:s,seeMoreButton:l,...c})=>{if(o.length===0)return null;const{isLoading:p,articles:m,hasNextPage:h,onLoadMore:A}=rQ({layout:n,defaultArticles:o,defaultVariablesForQuery:s});return be.useEffect(()=>{p||V0()},[p]),a.jsxs(a.Fragment,{children:[a.jsx(jl,{layout:n,articles:m,seeMoreButton:l&&h?{...l,disabled:p,onClick:A}:void 0,...c}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({[`${t}TvExtractsAndReplaysContainer`]:{layout:n,articles:m,variablesForQuery:s,seeMoreButton:l,...c}})} };`}})]})},nQ=(e,t,n,o)=>({name:e,title:o.title,content:t===ve.DESKTOP&&(n?a.jsx(zu,{layout:t,articles:o.items}):a.jsx("div",{id:`tv-tab-${e}`,children:a.jsx(kO,{name:e,layout:t,articles:o.items,columnsNumber:4,...o.seeMore&&{seeMoreButton:{color:"translucent",...o.seeMore}},variablesForQuery:o.variablesForQuery})}))||a.jsx("div",{id:`tv-tab-${e}`,children:a.jsx(kO,{name:e,layout:t,articles:o.items,hasMarginOnCard:!1,hideFirstDivider:!0,...o.seeMore&&{seeMoreButton:{color:"translucent",...o.seeMore}},variablesForQuery:o.variablesForQuery})})}),e8=({layout:e,extracts:t,replays:n,variant:o="show",contentIsCarousel:s=!0,...l})=>{if(n.items.length===0&&t.items.length===0)return null;const c=[{name:"extraits",tab:{...t,title:t.title??"Extraits"}},{name:"replays",tab:{...n,title:n.title??"Replay"}}];o==="show"&&c.reverse();const p=c.filter(m=>m.tab.items.length>0).map(m=>nQ(m.name,e,s,m.tab));return a.jsx(ye,{as:"section",className:"o-page-wrap",color:"white",py:{xs:"m",md:"xxl"},px:{xs:"m",md:"0"},...l,children:a.jsx(Mf,{tabTitlesColor:"white",tabItems:p})})},BO=({showCover:e,replaysAndExtracts:t,layout:n,lastReplay:o,lastReplayTitle:s="Dernier Replay"})=>a.jsxs(a.Fragment,{children:[a.jsx(HR,{...e,layout:n}),o&&n===ve.DESKTOP&&a.jsxs(ye,{as:"section",className:"o-page-wrap o-shift-carousel-top o-page__player-container",mt:"xxl",children:[a.jsx(zc,{label:s,mb:"xxl",as:"h2",color:"white"}),a.jsx(u2,{...o,layout:ve.DESKTOP,cardHeaderProps:o.cardHeaderProps?{...o.cardHeaderProps,headline:{...o.cardHeaderProps.headline,color:"white"}}:void 0,summaryProps:{color:"white",...o.summaryProps},cardTitleProps:{color:"white"}})]}),o&&n===ve.MOBILE&&a.jsxs(ye,{as:"section",className:"o-page__player-container",mt:"xxl",children:[a.jsx(zc,{label:s,mb:"xxl",as:"h2",color:"white",mx:"m"}),a.jsx(Sg,{...o,layout:ve.MOBILE,cardHeaderProps:o.cardHeaderProps?{...o.cardHeaderProps,headline:{...o.cardHeaderProps.headline,color:"white"}}:void 0,summaryProps:{color:"white",...o.summaryProps},cardTitleProps:{color:"white"}})]}),a.jsx(e8,{...t})]}),PO=({shows:e,layout:t,seeMoreLink:n,...o})=>e.length===0?null:a.jsx(ye,{bg:"blue-grey",...o,as:"section",color:"white",children:a.jsxs(ye,{className:"o-page-wrap",pt:{xs:"xl",md:"xxl-2"},pb:"xxl",children:[a.jsx(zu,{label:t===ve.MOBILE?"Nos émissions en replay":"Retrouvez l’intégralité de nos émissions en replay",headingProps:{as:"h2",size:"m",color:"white",fontFamily:"obviously",textAlign:"center",mx:{xs:"m",md:"0"}},titleUnderlined:!1,layout:t,articles:e,sliderProps:{buttonsColor:"white",sliderVariant:"videos",ml:{xs:"m",md:"0"}}}),n&&a.jsx(he,{justifyContent:"center",mt:"xl",children:a.jsx(Yt,{buttonColor:"translucent",...n})})]})}),aQ=[{component:x9,componentName:Mg.AD_IFRAME_EXTERNAL_AD_ELEMENT,expiration:3600*24*30}],K2=3600*24*30,iQ=[{componentName:qc.ANIMAL_QUIZ_BREADCRUMB,component:qn,expiration:K2},{componentName:qc.ANIMAL_QUIZ_HEADER_PAGE,component:Xo,expiration:K2},{componentName:qc.ANIMAL_QUIZ_JSON_LD_BREADCRUMB,component:Oa,expiration:K2},{componentName:qc.ANIMAL_QUIZ_META,component:Nn,expiration:K2},{componentName:qc.ANIMAL_QUIZ_RUBRIC_CAROUSELS,component:Q5,expiration:K2}],oQ=e=>{switch(e){case"FRA":return"Nationale";case"BOR":return"Bordeaux";case"LIL":return"Lille";case"MAR":return"Marseille";case"MON":return"Montpellier";case"NAN":return"Nantes";case"NIC":return"Nice";case"PAR":return"Paris";case"REN":return"Rennes";case"STR":return"Strasbourg";case"TOU":return"Toulouse";default:return""}},sQ=e=>{const t=e.slice(0,4),n=e.slice(4,6),o=e.slice(6,8),s=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],l=parseInt(n,10)-1,c=s[l];return`${parseInt(o,10)} ${c} ${t}`},FO=({data:e})=>{const t=[];return Array.isArray(e)||e?.brand?.node?.edition?.node?.pdfs?.edges?.forEach(n=>{n?.node?.url&&n?.node?.publication_date&&t.push({href:n?.node?.url,name:`Lire le journal du ${sQ(n?.node?.publication_date)} - édition ${oQ(n.node.url.match(/[0-9]{8}_([A-Z]{3})\.pdf/)?.[1]??"")}`})}),t},HO={editionSelectorId:"archivePdfListEditionSelector",monthSelectorId:"archivePdfListMonthSelector"},uQ=({isSSR:e=!0,variablesForQuery:t,layout:n,title:o,selectorsLabel:s,editionSelector:l,monthSelector:c,editions:p,enabled:m})=>{const[h,A]=be.useState(p),w=be.useCallback(async()=>{const{apiHost:_}=document.body.dataset,D=new Headers;window.envVariables?.apiAuthKey&&D.append("auth-key",window.envVariables.apiAuthKey);const S=document.getElementById(HO.editionSelectorId),T=document.getElementById(HO.monthSelectorId),C=[{url:`${_}/?id=getPdfsByEditionSlug&variables=${encodeURIComponent(JSON.stringify({brandId:t?.brandId,slug:S?.value,first:100,sort:"ASC",year:t?.year,month:T?.value}))}`,options:{headers:D}}];try{const I=await bi(...C),L=FO({data:I});A(L)}catch(I){console.error("20mn> Error while searching:",I)}},[t?.brandId,t?.year]);return a.jsxs(a.Fragment,{children:[a.jsx(KR,{title:o,selectorsLabel:s,editionSelector:{...l,onChange:w},monthSelector:c&&{...c,onChange:w},editions:h,layout:n,enabled:m}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({archivePdfListContainer:{title:o,layout:n,selectorsLabel:s,editionSelector:l,monthSelector:c,editions:p,variablesForQuery:t,enabled:m}})} };`}})]})},lQ=[{component:Nn,componentName:ao.ARCHIVES_META,expiration:3600*24*30},{componentName:ao.ARCHIVES_BREADCRUMB,component:qn,expiration:300},{componentName:ao.ARCHIVES_PAGE_TITLE,component:Wr,expiration:300},{componentName:ao.ARCHIVES_DAYS_LIST,component:xl,expiration:300},{componentName:ao.ARCHIVES_CONTENTS,component:xl,expiration:300},{componentName:ao.ARCHIVES_YEARS_LIST,component:GR,expiration:300},{componentName:ao.ARCHIVES_MONTHS_LIST,component:WR,expiration:300},{componentName:ao.ARCHIVES_PDF_LIST,component:uQ,expiration:300}],cQ=[{componentName:pu.ARTICLE_CONTENT,component:tm,expiration:3600*24},{componentName:pu.ARTICLE_ENCLOSE,component:_3,expiration:3600*24},{componentName:pu.ARTICLE_JSON_LD_NEWS_ARTICLE,component:Bg,expiration:3600*24*30},{componentName:pu.ARTICLE_JSON_LD_CLAIM_REVIEW,component:E9,expiration:3600*24*30},{componentName:pu.ARTICLE_PRELOAD,component:q1,expiration:3600*24*30},{componentName:pu.ARTICLE_HIGHLIGHTED_TEXT,component:Me,expiration:1800},{componentName:pu.ARTICLE_CHATBOT_BUTTON,component:c9,expiration:3600}],dQ=[{componentName:ka.ASTRO_BREADCRUMB,component:qn,expiration:3600*24*30},{componentName:ka.ASTRO_HEADER_PAGE,component:Xo,expiration:3600},{componentName:ka.ASTRO_HEADER_BANNER,component:W_,expiration:3600*24*30},{componentName:ka.ASTRO_ASTRO_CONTENT,component:BB,expiration:3600},{componentName:ka.ASTRO_HOMEPAGE_CONTENT,component:zD,expiration:3600},{componentName:ka.ASTRO_LINK,component:Yt,expiration:3600*24*30},{componentName:ka.ASTRO_ASTRO_LINKS_NEXT_TYPES,component:qD,expiration:3600*24*30},{componentName:ka.ASTRO_ASTRO_TILES,component:PB,expiration:3600*24*30},{componentName:ka.ASTRO_ASTRO_TILES_HEADING,component:Wr,expiration:3600*24*30},{componentName:ka.ASTRO_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:ka.ASTRO_META,component:Nn,expiration:3600*24*30}],W2=e=>e?gB.find(t=>e.includes(t)):void 0,UO=({layout:e,pageEndpoint:t,imgEndpoint:n,data:o})=>Array.isArray(o)?[]:(o?.brand?.node?.publishableContents?.edges||[])?.reduce((s,l)=>{if(!l?.node?.title||!l?.node?.url||!l?.node?.medias||!l?.node?.rubric?.node?.label||!(l?.node?.medias.length||l?.node?.photo?.node))return s;let c=l.node.medias??[];return l?.node?.editorial_model==="Story"&&l?.node?.photo?.node&&(c=Fh({photo:l.node.photo})),s.push({link:new URL(l.node.url,t).href,title:l.node.short_title||l.node.title,cardImageProps:{cover:Bp({medias:c,imgEndpoint:n}),...G2({medias:c,picto:l?.node?.picto,editorialModel:l?.node.editorial_model}),lazyLoad:!0},cardHeaderProps:{headline:{text:l?.node?.label||l.node.rubric.node.label,color:W2(l?.node?.rubric?.node?.themeColor?.node?.slug)}},cardTitleProps:{cartridge:l?.node?.editorial_model==="Live"?"live":void 0,as:"h3"},layout:e}),s},[]),fQ=e=>{const[t,n]=be.useState(e.defaultArticles),o=be.useCallback(async()=>{const{apiHost:s}=document.body.dataset,l=new Headers;window.envVariables?.apiAuthKey&&l.append("auth-key",window.envVariables.apiAuthKey);const c=[{url:`${s}/?id=getLatestContentsCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.variablesForQuery.brandId,sourceExcluded:e.variablesForQuery.sourceExcluded,first:e.variablesForQuery.first}))}`,options:{headers:l}}];try{const p=await bi(...c),m=UO({layout:window.layout,data:p,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint});n(m)}catch(p){console.error("20mn> Error while loading articles:",p)}},[e.variablesForQuery.brandId,e.variablesForQuery.first,e.variablesForQuery.sourceExcluded]);return be.useEffect(()=>{o()},[o]),be.useMemo(()=>({articles:t}),[t])},pQ=({isSSR:e=!0,articles:t,variablesForQuery:n,...o})=>{const{articles:s}=fQ({defaultArticles:t,variablesForQuery:n});return a.jsxs(a.Fragment,{children:[a.jsx(YR,{...o,articles:s,variablesForQuery:n}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({latestContentsCarouselContainer:{articles:t,variablesForQuery:n,...o}})} };`}})]})},Q2=e=>{const t=new Intl.DateTimeFormat("fr",{timeStyle:"short",timeZone:"Europe/Paris"});return{name:e.name,title:e.title,tabColor:e.tabColor,body:e.articleEdges.reduce((n,o)=>{if(o?.node?.title&&o?.node?.url&&o?.node?.rubric?.node?.slug&&o?.node?.rubric?.node?.label){let s;if(e.imgEndpoint){let c=o.node.medias??[];o?.node?.editorial_model==="Story"&&o?.node?.photo?.node&&(c=Fh({photo:o.node.photo})),s={cover:Bp({medias:c,imgEndpoint:e.imgEndpoint}),lazyLoad:!0}}const l={themeColor:o.node.rubric.node.themeColor?.node?.lightmode_color||void 0,rubricName:o?.node?.label||o.node.rubric.node.label,title:o?.node?.short_title||o.node.title,url:new URL(o.node.url,e.pageEndpoint).href,cartridge:o.node?.editorial_model===Lf.Live&&o.node?.state===f9.open?"live":void 0,...s?{cardImageProps:s}:{}};e.name==="le-direct"&&o?.node?.published_at&&(l.liveTime=t.format(new Date(o.node.published_at).getTime()).replace(":","h")),n.push(l)}return n},[]).slice(0,e.limit)}},zO=({data:e,pageEndpoint:t,liveLimit:n,mostReadLimit:o})=>{if(Array.isArray(e))return[];const s=e?.brand?.node,l=s?.mostReadArticles?.edges,c=s?.liveArticles?.edges,p=[];if(c?.length){const m=Q2({name:"le-direct",title:"Le direct",pageEndpoint:t,articleEdges:c,limit:n,tabColor:"red"});p.push(m)}if(l?.length){const m=Q2({name:"plus-lus",title:"Les + lus",pageEndpoint:t,articleEdges:l,limit:o});p.push(m)}return p},hQ=e=>{const[t,n]=be.useState(e.defaultTabItems),o=be.useCallback(async()=>{if(e.variablesForQuery.liveLimit&&e.variablesForQuery.mostReadLimit){const{apiHost:s}=document.body.dataset,l=new Headers;window.envVariables?.apiAuthKey&&l.append("auth-key",window.envVariables.apiAuthKey);const c=[{url:`${s}/?id=getLiveAndMostRead&variables=${encodeURIComponent(JSON.stringify({brandId:e.variablesForQuery.brandId,sourceExcluded:e.variablesForQuery.sourceExcluded,liveLimit:e.variablesForQuery.liveLimit,mostReadLimit:e.variablesForQuery.mostReadLimit}))}`,options:{headers:l}}];try{const p=await bi(...c),m=zO({data:p,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,liveLimit:e.variablesForQuery.liveLimit,mostReadLimit:e.variablesForQuery.mostReadLimit});n(m),I3()}catch(p){console.error("20mn> Error while loading tabItems:",p)}}},[e.variablesForQuery.brandId,e.variablesForQuery.liveLimit,e.variablesForQuery.mostReadLimit,e.variablesForQuery.sourceExcluded]);return be.useEffect(()=>{o()},[o]),be.useMemo(()=>({tabItems:t}),[t])},mQ=({isSSR:e=!0,layout:t,tabItems:n,variablesForQuery:o,...s})=>{const{tabItems:l}=hQ({defaultTabItems:n,variablesForQuery:o});return a.jsxs(a.Fragment,{children:[a.jsx(X5,{...s,layout:t,tabItems:l,variablesForQuery:o,hasButton:!0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({liveAndMostReadContainer:{layout:t,tabItems:n,variablesForQuery:o}})} };`}})]})},vQ=[{componentName:nt.COMMON_HEADER,component:IP,expiration:900},{componentName:nt.COMMON_HEADER_MINI,component:Q_,expiration:900},{componentName:nt.COMMON_FOOTER,component:u9,expiration:3600*24*7},{componentName:nt.COMMON_OVERVIEW_BAR,component:l9,expiration:900},{componentName:nt.COMMON_MOST_READ_ARTICLES,component:mQ,expiration:3600*24*7},{componentName:nt.COMMON_MENU,component:bP,expiration:3600*24*7},{componentName:nt.COMMON_PRELOAD,component:q1,expiration:3600*24*30},{componentName:nt.COMMON_LATEST_CONTENTS_CARROUSEL,component:pQ,expiration:300},{componentName:nt.COMMON_TOOLBAR,component:HP,expiration:3600*24*7},{componentName:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,component:PO,expiration:3600},{componentName:nt.COMMON_TV_MOST_BLOCK,component:RO,expiration:3600},{componentName:nt.COMMON_ELECTIONS_SEARCH_BANNER,component:FR,expiration:3600}],am=3600*24*30,gQ=[{componentName:qu.CONTACT_JSON_LD_BREADCRUMB,component:Oa,expiration:am},{componentName:qu.CONTACT_ADDRESSES,component:JR,expiration:am},{componentName:qu.CONTACT_META,component:Nn,expiration:am},{componentName:qu.CONTACT_FORM,component:eO,expiration:am},{componentName:qu.CONTACT_DETAILS,component:XR,expiration:am},{componentName:qu.CONTACT_BREADCRUMB,component:qn,expiration:am}],yQ=[{componentName:cr.CONTENT_READALSO_BANNER,component:EP,expiration:1800},{componentName:cr.CONTENT_BREADCRUMB,component:qn,expiration:300},{componentName:cr.CONTENT_HEADER,component:P_,expiration:3600*24},{componentName:cr.CONTENT_HEADER_MOBILE,component:QR,expiration:3600*24},{componentName:cr.CONTENT_COVER,component:W5,expiration:300},{componentName:cr.CONTENT_SOCIAL_BAR,component:xh,expiration:300},{componentName:cr.CONTENT_SIGNATURE,component:Dg,expiration:3600*24},{componentName:cr.CONTENT_SUMMARY,component:UD,expiration:3600*24},{componentName:cr.CONTENT_READALSO_BLOCK,component:ZR,expiration:3600*24},{componentName:cr.CONTENT_TAG_BAR,component:o6,expiration:3600*24},{componentName:cr.CONTENT_COMMENT_V2,component:eP,expiration:3600*24*30},{componentName:cr.CONTENT_COMMENT_BUTTON,component:tP,expiration:300},{componentName:cr.CONTENT_META,component:Nn,expiration:3600*24*30},{componentName:cr.CONTENT_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:cr.CONTENT_SIDE_BRANDS_ARTICLES,component:L3,expiration:3600},{componentName:cr.CONTENT_HEADER_MINI,component:Q_,expiration:900},{componentName:cr.CONTENT_SCROLL_PROGRESS_BUTTON,component:bn,expiration:1800}],bQ=()=>{const e=document.getElementById("article-list-bottom-container");if(!e)return;const t=new IntersectionObserver((l,c)=>{l.forEach(p=>{p.isIntersecting&&(Gu(),c.unobserve(p.target))})}),n=e.querySelector(".card-item-1");n&&t.observe(n);const o=e.querySelector(".card-item-8");o&&t.observe(o);const s=e.querySelector(".card-item-16");s&&t.observe(s)},xQ=()=>{const e=document.getElementById("quiz-container");if(!e)return;const t=new IntersectionObserver((l,c)=>{l.forEach(p=>{p.isIntersecting&&(Gu(),c.unobserve(p.target))})}),n=e.querySelector(".card-item-1");n&&t.observe(n);const o=e.querySelector(".card-item-8");o&&t.observe(o);const s=e.querySelector(".card-item-16");s&&t.observe(s)},AQ=()=>{const e=document.getElementById("latest-articles-container");if(!e)return;const t=new IntersectionObserver((s,l)=>{s.forEach(c=>{c.isIntersecting&&(Gu(),l.unobserve(c.target))})}),n=e.querySelectorAll(".c-card-container")[10];n&&t.observe(n);const o=e.querySelectorAll(".c-card-container")[20];o&&t.observe(o)},EQ=new Intl.DateTimeFormat("fr",{timeStyle:"short",timeZone:"Europe/Paris"}),qO=({layout:e,pageEndpoint:t,imgEndpoint:n,data:o})=>Array.isArray(o)?[]:(o?.brand?.node?.publishableContents?.edges||[])?.reduce((s,l)=>{if(!l?.node?.title||!l?.node?.label||!l?.node?.url||!l?.node?.published_at||!l?.node?.medias&&!l?.node?.photo?.node)return s;let c=l.node.medias??[];return l?.node?.editorial_model==="Story"&&l?.node?.photo?.node&&(c=Fh({photo:l.node.photo})),s.push({link:new URL(l.node.url,t).href,title:l.node.short_title||l.node.title,cardImageProps:{cover:Bp({medias:c,imgEndpoint:n}),...G2({medias:c,picto:l?.node?.picto,editorialModel:l?.node.editorial_model})},socialBarProps:{layout:e,commentCount:l.node.comments_count??0,shareCount:(l.node.facebook_count??0)+(l.node.pinterest_count??0),contentLegacyId:l.node?.legacy_id?.toString(),contentLink:new URL(l.node.url,t).href,commentAnchor:"mbrs-comments-container"},cardHeaderProps:{headline:{text:l.node.label,color:W2(l?.node?.rubric?.node?.themeColor?.node?.slug)},liveTime:EQ.format(new Date(l.node.published_at).getTime()).replace(":","h")},cardTitleProps:{cartridge:l?.node?.editorial_model==="Live"?"live":void 0},summaryProps:{children:l?.node?.lead??""},layout:e}),s},[]),_Q=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.endCursor),[o,s]=be.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=be.useState(e.defaultArticles),[p,m]=be.useState(!1),h=be.useCallback(()=>{m(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getLatestContentsCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,sourceExcluded:e.defaultVariablesForQuery.sourceExcluded,first:e.defaultVariablesForQuery.first,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=qO({layout:window.layout,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,data:S});c(C=>[...C,...T]),n(S?.brand?.node?.publishableContents?.pageInfo?.endCursor??null),s(S?.brand?.node?.publishableContents?.pageInfo?.hasNextPage??!1),Gu()}catch(S){console.error("20mn> Error while loading articles:",S)}},[t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.first,e.defaultVariablesForQuery.sourceExcluded]);return be.useEffect(()=>{p&&A()},[p,A]),be.useEffect(()=>{p&&m(!1)},[p]),be.useEffect(()=>{AQ()},[]),be.useMemo(()=>({isLoading:p,articles:l,hasNextPage:o,onLoadMore:h}),[l,p,o,h])},VO=({isSSR:e=!0,layout:t,articles:n,variablesForQuery:o,seeMoreButton:s})=>{const{isLoading:l,articles:c,hasNextPage:p,onLoadMore:m}=_Q({defaultArticles:n,defaultVariablesForQuery:o});return be.useEffect(()=>{l||V0()},[l]),a.jsxs(a.Fragment,{children:[a.jsx(w3,{layout:t,articles:c,seeMoreButton:p?{...s,disabled:l,onClick:m}:void 0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({latestArticlesContainer:{layout:t,articles:c,variablesForQuery:o,seeMoreButton:s}})} };`}})]})},wQ=({layout:e,newsletterProps:t,liveInProgressProps:n,lastArticlesProps:o})=>{const s=[{name:"latest-articles",title:"Derniers articles",tabColor:"red",content:e===ve.DESKTOP?a.jsxs(he,{gap:"xl",mt:"l",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx("div",{id:"latest-articles-container",children:a.jsx(VO,{...o})})}),a.jsxs("aside",{className:"o-lt-show__aside",children:[t&&a.jsx(Ng,{...t}),a.jsx("div",{style:{height:"163rem"},children:a.jsx("div",{className:"o-lt-show__stickywrap",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"})})}),a.jsx("div",{className:"o-lt-show__stickywrap",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_btf",variant:"PAVE"})})]})]}):a.jsx("div",{id:"latest-articles-container",children:a.jsx(VO,{...o})})},...n.cardOverviewProps.length>0?[{name:"direct",title:"Lives en cours",tabColor:"red",content:e===ve.DESKTOP?a.jsxs(he,{gap:"xl",mt:"l",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(O2,{...n})}),a.jsx("aside",{className:"o-lt-show__aside",children:t&&a.jsx(Ng,{...t})})]}):a.jsx(O2,{...n})}]:[]];return e===ve.DESKTOP?a.jsx(Mf,{tabItemActive:s[0].name,tabItems:s,mb:"l"}):a.jsx(Mf,{tabItemActive:s[0].name,tabItems:s,tabProps:{mx:"m"},mb:"l"})},SQ=[{componentName:Fd.DIRECT_BREADCRUMB,component:qn,expiration:300},{componentName:Fd.DIRECT_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:Fd.DIRECT_TABS,component:wQ,expiration:300},{componentName:Fd.DIRECT_META,component:Nn,expiration:3600*24*30},{componentName:Fd.DIRECT_HEADER_PAGE,component:Al,expiration:3600*24*30}],CQ=({pageEndpoint:e,data:t})=>Array.isArray(t)?[]:(t?.brand?.node?.tag?.node?.publishableContents?.edges||[])?.reduce((n,o)=>(!o?.node?.title||!o?.node?.url||n.push({title:o.node.title,url:new URL(o.node.url,e).href}),n),[]),TQ=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.endCursor),[o,s]=be.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=be.useState(e.defaultArticles),[p,m]=be.useState(!1),h=be.useCallback(()=>{m(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getTagArticlesWithCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,slug:e.defaultVariablesForQuery.slug,first:e.defaultVariablesForQuery.first,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=CQ({pageEndpoint:window.envVariables.pageEndpoint,data:S}),C={articles:[...l,...T],endCursor:S?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.endCursor??null,hasNextPage:S?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.hasNextPage??!1};c(I=>[...I,...T]),n(C.endCursor),s(C.hasNextPage),Gu()}catch(S){console.error("20mn> Error while loading articles:",S)}},[l,t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.first,e.defaultVariablesForQuery.slug]);return be.useEffect(()=>{p&&A()},[p,A]),be.useEffect(()=>{p&&m(!1)},[p]),be.useMemo(()=>({isLoading:p,articles:l,hasNextPage:o,onLoadMore:h}),[l,p,o,h])},NQ=({isSSR:e=!0,articles:t,variablesForQuery:n,seeMoreButton:o,linksSize:s,colsNumber:l})=>{const{isLoading:c,articles:p,hasNextPage:m,onLoadMore:h}=TQ({defaultArticles:t,defaultVariablesForQuery:n});return be.useEffect(()=>{c||V0()},[c]),a.jsxs(a.Fragment,{children:[a.jsx(y6,{articles:p,seeMoreButton:m?{...o,disabled:c,onClick:h}:void 0,linksSize:s,colsNumber:l}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsAiArticlesContainer:{articles:p,variablesForQuery:n,seeMoreButton:o,linksSize:s,colsNumber:l}})} };`}})]})},DQ=[{componentName:Vc.ELECTIONS_AI_ARTICLES_JSON_LD_BREADCRUMB,component:Oa,expiration:3600},{componentName:Vc.ELECTIONS_AI_ARTICLES_META,component:Nn,expiration:3600},{componentName:Vc.ELECTIONS_AI_ARTICLES_BREADCRUMB,component:qn,expiration:3600},{componentName:Vc.ELECTIONS_AI_ARTICLES_HEADER_PAGE,component:Xo,expiration:3600},{componentName:Vc.ELECTIONS_AI_ARTICLES_LIST,component:NQ,expiration:300}];function Y2(){if(this?.id)try{const e=document.getElementById(this.id);if(e){const t=e.getAttribute("value");if(t){const n=document.createElement("textarea");document.body.appendChild(n),n.value=t,n.select(),document.execCommand("copy"),document.body.removeChild(n)}}}catch(e){console.error("Oops, unable to copy",e)}}const RQ=()=>{const e=document.getElementById("goto-distribution"),t=document.getElementById("goto-european-map"),n=document.getElementById("goto-map"),o=document.getElementById("goto-statistics"),s=document.getElementById("goto-results");e&&e.addEventListener("click",Y2),t&&t.addEventListener("click",Y2),n&&n.addEventListener("click",Y2),o&&o.addEventListener("click",Y2),s&&s.addEventListener("click",Y2)},GO=(e,t)=>{const o=e.innerHTML.includes("candidats")?"candidats":"résultats";e.innerHTML=t?`Masquer tous les ${o}`:`Voir tous les ${o}`},OQ=(e,t)=>{e.setAttribute("aria-expanded","true"),GO(e,!0),t?.forEach(n=>{n.setAttribute("aria-hidden","false")})},IQ=(e,t)=>{t?.forEach(n=>{n.setAttribute("aria-hidden","true")}),e.setAttribute("aria-expanded","false"),GO(e,!1)},jQ=e=>{const t=e.currentTarget;if(e.preventDefault(),t instanceof HTMLButtonElement){const n=t.parentNode?.querySelectorAll(".js-toggle-target");t.getAttribute("aria-expanded")==="true"?IQ(t,n):OQ(t,n)}},MQ=(e=document.querySelector(".js-toggle-button"))=>{e&&document.querySelectorAll(".js-toggle-button").forEach(n=>{n.addEventListener("click",jQ)})},LQ=e=>{const t=document.querySelector(".c-search-banner");if(!t)return;const n=t.querySelector("[data-search-banner-expanded-source]"),o=t.querySelector("[data-search-banner-collapse]");!o||!n||(e?(n.setAttribute("aria-expanded","true"),o.setAttribute("aria-hidden","false")):(n.setAttribute("aria-expanded","false"),o.setAttribute("aria-hidden","true")))};let KO=!1;const kQ=()=>{if(KO)return;KO=!0;const e=document.getElementById("js-top-sentinel");if(!e)return;new IntersectionObserver(([n])=>{const o=n.isIntersecting;LQ(o)},{root:null,threshold:0}).observe(e)},WO=e=>{const t=e.querySelector(".c-search-banner");if(!(t instanceof HTMLElement))return;const n="c-search-banner--has-top-border";t.dataset.initialHasTopBorder??=String(t.classList.contains(n)),t.classList.toggle(n,t.dataset.initialHasTopBorder==="true"&&!e.classList.contains("u-sticky--on-top-screen"))},QO=(e,t,n)=>{n==="desktop"&&(t?(e.classList.remove("u-sticky"),e.classList.remove("u-sticky--under-header-mini")):(e.classList.add("u-sticky"),e.classList.add("u-sticky--under-header-mini"))),n==="mobile"&&(t?(e.classList.remove("u-sticky--under-header"),e.classList.add("u-sticky--on-top-screen")):(e.classList.remove("u-sticky--on-top-screen"),e.classList.add("u-sticky--under-header")),WO(e))},BQ=()=>{const e=document.getElementById("elections-form-container"),t=document.querySelector(".c-header-mini"),n=document.querySelector(".c-header-mobile"),o=document.querySelector('body[data-layout="mobile"]');e&&t&&new MutationObserver(l=>{const c=l[0],p=c.target;if(p instanceof HTMLElement&&c.type==="attributes"&&c.attributeName==="class"){const m=p.className.includes("c-header-mini--is-hidden");QO(e,m,"desktop")}}).observe(t,{attributes:!0}),o&&e&&n&&(e.classList.add("u-sticky"),e.classList.add("u-sticky--under-header"),WO(e),new MutationObserver(l=>{const c=l[0],p=c.target;if(p instanceof HTMLElement&&c.type==="attributes"&&c.attributeName==="class"){const m=p.className.includes("c-header-mobile--is-hidden");QO(e,m,"mobile")}}).observe(n,{attributes:!0}))},PQ=()=>{RQ(),MQ(),kQ(),BQ()},FQ=e=>{const[t,n]=be.useState(e.defaultMapConstituenciesProps),o=be.useCallback(async()=>{try{const s=await bi({url:"https://static.20mn.fr/elections/map-districts.json"});n(l=>({...l,mapDistrictsData:s}))}catch(s){console.error("20mn> Error while loading map data:",s)}},[]);return be.useEffect(()=>{o(),I3(),PQ()},[o]),be.useMemo(()=>({mapConstituenciesProps:t}),[t])},HQ=({isSSR:e=!0,mapConstituenciesProps:t,...n})=>{const{mapConstituenciesProps:o}=FQ({defaultMapConstituenciesProps:t}),s={electionName:"",electionYear:"",resultsPerDistrict:[],mapDistrictsData:{}};return a.jsxs(a.Fragment,{children:[a.jsx(rO,{mapConstituenciesProps:e?s:o,...n}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsConstituenciesMapContainer:{mapConstituenciesProps:t,...n}})} };`}})]})},UQ=e=>{const[t,n]=be.useState(e.defaultMapDepartmentsProps),o=be.useCallback(async()=>{try{const s=await bi({url:"https://static.20mn.fr/elections/map-departments.json"});n(l=>({...l,mapDepartmentsData:s}))}catch(s){console.error("20mn> Error while loading map data:",s)}},[]);return be.useEffect(()=>{o()},[o]),be.useMemo(()=>({mapDepartmentsProps:t}),[t])},zQ=({isSSR:e=!0,mapDepartmentsProps:t,...n})=>{const{mapDepartmentsProps:o}=UQ({defaultMapDepartmentsProps:t}),s={electionName:"",electionYear:"",resultsPerDepartment:[],mapDepartmentsData:{}};return a.jsxs(a.Fragment,{children:[a.jsx(nO,{mapDepartmentsProps:e?s:o,...n}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsDepartmentsMapContainer:{mapDepartmentsProps:t,...n}})} };`}})]})},qQ=e=>{const[t,n]=be.useState(e.defaultMapEuropeProps),o=be.useCallback(async()=>{try{const s=await Promise.all([bi({url:"https://static.20mn.fr/elections/map-eu-countries.json"}),bi({url:"https://static.20mn.fr/elections/map-non-eu-countries.json"})]);n(l=>({...l,mapEuCountriesData:s[0],mapNonEuCountriesData:s[1]}))}catch(s){console.error("20mn> Error while loading map data:",s)}},[]);return be.useEffect(()=>{o()},[o]),be.useMemo(()=>({mapEuropeProps:t}),[t])},VQ=({isSSR:e=!0,mapEuropeProps:t,...n})=>{const{mapEuropeProps:o}=qQ({defaultMapEuropeProps:t}),s={electionName:"",electionYear:"",resultsPerCountry:[],mapEuCountriesData:{},mapNonEuCountriesData:{}};return a.jsxs(a.Fragment,{children:[a.jsx(aO,{mapEuropeProps:e?s:o,...n}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsEuropeanMapContainer:{mapEuropeProps:t,...n}})} };`}})]})},GQ=e=>{const[t,n]=be.useState(e.defaultMapTownsByDepartmentsProps),o=be.useCallback(async()=>{try{const s=await bi({url:"https://static.20mn.fr/elections/map-departments-paths.json"}),l=await bi({url:"https://static.20mn.fr/elections/map-towns.svg",options:{headers:{"Content-Type":"image/svg+xml"}}}),c=await bi({url:"https://static.20mn.fr/elections/map-droms.json"});let p=[];try{p=await bi({url:`https://static.20mn.fr/elections/mn${e.defaultMapTownsByDepartmentsProps.electionYear}/electeds.json`})}catch(m){console.warn("20mn> Error while loading town results data:",m)}n(m=>({...m,townsSprite:l,departmentsPaths:s,dromsConfig:c,resultsPerTown:p}))}catch(s){console.error("20mn> Error while loading town map data:",s)}},[e.defaultMapTownsByDepartmentsProps.electionYear]);return be.useEffect(()=>{o()},[o]),be.useMemo(()=>({mapTownsByDepartmentsProps:t}),[t])},KQ=({isSSR:e=!0,mapTownsByDepartmentsProps:t,...n})=>{const{mapTownsByDepartmentsProps:o}=GQ({defaultMapTownsByDepartmentsProps:t}),s={layout:t.layout,resultsPerTown:[]};return a.jsxs(a.Fragment,{children:[a.jsx(iO,{mapTownsByDepartmentsProps:e?s:o,...n}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsMapTownsByDepartmentsContainer:{mapTownsByDepartmentsProps:t,...n}})} };`}})]})},dc=15,WQ=[{componentName:ar.ELECTIONS_JSON_LD_BREADCRUMB,component:Oa,expiration:3600},{componentName:ar.ELECTIONS_JSON_LD_FAQ,component:g6,expiration:3600},{componentName:ar.ELECTIONS_META,component:Nn,expiration:3600},{componentName:ar.ELECTIONS_BREADCRUMB,component:qn,expiration:3600},{componentName:ar.ELECTIONS_HEADER_PAGE,component:Xo,expiration:dc},{componentName:ar.ELECTIONS_RESULTS_FIRST_ROUND,component:nm,expiration:dc},{componentName:ar.ELECTIONS_RESULTS_MULTIPLE,component:oO,expiration:dc},{componentName:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_FIRST_ROUND,component:nm,expiration:dc},{componentName:ar.ELECTIONS_RESULTS_SECOND_ROUND,component:nm,expiration:dc},{componentName:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_SECOND_ROUND,component:nm,expiration:dc},{componentName:ar.ELECTIONS_DISTRIBUTION,component:tO,expiration:dc},{componentName:ar.ELECTIONS_MAP_DEPARTMENTS,component:zQ,expiration:dc},{componentName:ar.ELECTIONS_MAP_CONSTITUENCIES,component:HQ,expiration:dc},{componentName:ar.ELECTIONS_MAP_TOWNS_BY_DEPARTMENTS,component:KQ,expiration:dc},{componentName:ar.ELECTIONS_MAP_EUROPEAN,component:VQ,expiration:dc},{componentName:ar.ELECTIONS_SUMMARY,component:uO,expiration:dc},{componentName:ar.ELECTIONS_INSEE_BLOCK,component:_3,expiration:3600*24*1},{componentName:ar.ELECTIONS_SIDE_LOCALITIES_TOP,component:xl,expiration:3600},{componentName:ar.ELECTIONS_SIDE_LOCALITIES_BOTTOM,component:xl,expiration:3600},{componentName:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL,component:zu,expiration:300},{componentName:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL_BIS,component:zu,expiration:300},{componentName:ar.ELECTIONS_RESULTS_FILTERED,component:sO,expiration:dc},{componentName:ar.ELECTIONS_REFRESH_BUTTON,component:S9,expiration:3600}],QQ=[{componentName:U1.ERROR_CONTENT,component:nP,expiration:3600*24*30},{componentName:U1.ERROR_META,component:Nn,expiration:3600*24*30}],Ku=3600*24*30,YQ=[{componentName:Vn.GAME_BREADCRUMB,component:qn,expiration:Ku},{componentName:Vn.GAME_HEADER_PAGE,component:Y5,expiration:Ku},{componentName:Vn.GAME_META,component:Nn,expiration:Ku},{componentName:Vn.GAME_JSON_LD_BREADCRUMB,component:Oa,expiration:Ku},{componentName:Vn.GAME_JSON_LD_FAQ,component:g6,expiration:Ku},{componentName:Vn.GAME_IFRAME,component:M5,expiration:Ku},{componentName:Vn.GAME_FAQ,component:KD,expiration:Ku},{componentName:Vn.GAME_CONTENT,component:ye,expiration:Ku},{componentName:Vn.GAME_CONTACT,component:WD,expiration:Ku},{componentName:Vn.GAME_LIST,component:$5,expiration:Ku},{componentName:Vn.GAME_APP_FOOTER,component:u9,expiration:Ku},{componentName:Vn.GAME_APP_HEADER_PAGE,component:Y5,expiration:Ku},{componentName:Vn.GAME_APP_LIST,component:$5,expiration:Ku},{componentName:Vn.GAME_APP_IFRAME,component:M5,expiration:Ku},{componentName:Vn.GAME_APP_AD,component:A9,expiration:Ku}],YO=e=>e instanceof HTMLAnchorElement?e.href:e instanceof Element&&e.closest("a")?.href||"",ZQ=()=>{window.datalayerInfo?.pageName==="home"&&document.querySelectorAll("div#local-news-container div.c-card-container a").forEach(e=>{e.addEventListener("click",t=>{t.stopPropagation(),t.preventDefault();const n=YO(t.target);MO({name:"local_news_content",type:"action",customProps:{cta_context:"home",cta_type:"card",cta_destination:n,cta_engagement:1}}),window.location.href=n})})},$Q=()=>{!window.datalayerInfo?.pageName||!["article","live"].includes(window.datalayerInfo?.pageName)||document.querySelectorAll("div.c-tabpanel article a").forEach(e=>{e.addEventListener("click",t=>{t.stopPropagation(),t.preventDefault();const n=YO(t.target);MO({name:"most_read_content",type:"action",customProps:{cta_context:"content",cta_type:"link",cta_destination:n,cta_engagement:1},chapter1:"widget"}),window.location.href=n})})},t8=e=>e!=null,ZO=()=>[{title:"Ain",value:"ain"},{title:"Aisne",value:"aisne"},{title:"Allier",value:"allier"},{title:"Alpes-de-Haute-Provence",value:"alpes_de_haute_provence"},{title:"Alpes-Maritimes",value:"alpes-maritimes"},{title:"Ardèche",value:"ardeche"},{title:"Ardennes",value:"ardennes"},{title:"Ariège",value:"ariege"},{title:"Aube",value:"aube"},{title:"Aude",value:"aude"},{title:"Aveyron",value:"aveyron"},{title:"Bas-Rhin",value:"bas_rhin"},{title:"Bouches-du-Rhône",value:"bouches-rhone"},{title:"Calvados",value:"calvados"},{title:"Cantal",value:"cantal"},{title:"Charente",value:"charente"},{title:"Charente-Maritime",value:"charente-maritime"},{title:"Cher",value:"cher"},{title:"Correze",value:"correze"},{title:"Corse-du-Sud",value:"corse-sud"},{title:"Côte-d'Or",value:"cote_d_or"},{title:"Côtes-d'Armor",value:"cotes_d_armor"},{title:"Creuse",value:"creuse"},{title:"Deux-Sèvres",value:"deux-sevres"},{title:"Dordogne",value:"dordogne"},{title:"Doubs",value:"doubs"},{title:"Drôme",value:"drome"},{title:"Essonne",value:"essonne"},{title:"Eure",value:"eure"},{title:"Eure-et-Loir",value:"eure_et_loire"},{title:"Finistère",value:"finistere"},{title:"Gard",value:"gard"},{title:"Gers",value:"gers"},{title:"Gironde",value:"gironde"},{title:"Guadeloupe",value:"guadeloupe"},{title:"Guyane",value:"guyane"},{title:"Haut-Rhin",value:"haut-rhin"},{title:"Haute-Corse",value:"haute-corse"},{title:"Haute-Garonne",value:"haute-garonne"},{title:"Haute-Loire",value:"haute-loire"},{title:"Haute-Marne",value:"haute-marne"},{title:"Haute-Saône",value:"haute-saone"},{title:"Haute-Vienne",value:"haute-vienne"},{title:"Hautes-Alpes",value:"hautes-alpes"},{title:"Hautes-Pyrénées",value:"hautes_pyrenees"},{title:"Hauts-de-Seine",value:"hauts-de-seine"},{title:"Hérault",value:"herault"},{title:"Ille-et-Vilaine",value:"ille_et_vilaine"},{title:"Indre",value:"indre"},{title:"Indre-et-Loire",value:"indre-loire"},{title:"Isère",value:"isere"},{title:"Jura",value:"jura"},{title:"Landes",value:"landes"},{title:"Loir-et-Cher",value:"loir-cher"},{title:"Loire",value:"loire"},{title:"Loire-Atlantique",value:"loire-atlantique"},{title:"Loiret",value:"loiret"},{title:"Lot",value:"lot"},{title:"Lot-et-Garonne",value:"lot_et_garonne"},{title:"Lozère",value:"lozere"},{title:"Maine-et-Loire",value:"maine-et-loire"},{title:"Manche",value:"manche"},{title:"Marne",value:"marne"},{title:"Martinique",value:"martinique"},{title:"Mayenne",value:"mayenne"},{title:"Mayotte",value:"mayotte"},{title:"Meurthe-et-Moselle",value:"meurthe-et-moselle"},{title:"Meuse",value:"meuse"},{title:"Morbihan",value:"morbihan"},{title:"Moselle",value:"moselle"},{title:"Nièvre",value:"nievre"},{title:"Nord",value:"nord"},{title:"Oise",value:"oise"},{title:"Orne",value:"orne"},{title:"Paris",value:"paris"},{title:"Pas-de-Calais",value:"pas-de-calais"},{title:"Puy de Dôme",value:"puy-dome"},{title:"Pyrénées-Atlantiques",value:"pyrenees-atlantiques"},{title:"Pyrénées-Orientales",value:"pyrenees_orientales"},{title:"Rhône",value:"rhone"},{title:"Saône-et-Loire",value:"saone_et_loire"},{title:"Sarthe",value:"sarthe"},{title:"Savoie",value:"savoie"},{title:"Seine-et-Marne",value:"seine-et-marne"},{title:"Seine-Maritime",value:"seine_maritime-1"},{title:"Seine-Saint-Denis",value:"seine-saint-denis"},{title:"Somme",value:"somme"},{title:"Tarn",value:"tarn"},{title:"Tarn-et-Garonne",value:"tarn_et_garonne"},{title:"Territoire de Belfort",value:"territoire-belfort"},{title:"Val-d'Oise",value:"val_d_oise"},{title:"Val-de-Marne",value:"val-de-marne"},{title:"Var",value:"var"},{title:"Vaucluse",value:"vaucluse"},{title:"Vendée",value:"vendee"},{title:"Vienne",value:"vienne-france"},{title:"Vosges",value:"vosges"},{title:"Yonne",value:"yonne"},{title:"Yvelines",value:"yvelines"}],$O=e=>{let t;return e?.forEach(n=>{const o=ZO().find(s=>s.value===n?.node?.slug);o&&(t=o)}),t?t.title:""},JO=({data:e,pageEndpoint:t,layout:n})=>(e?.brand?.node?.tag?.node?.publishableContents?.edges||[])?.reduce((o,s)=>{if(s?.node?.rubric?.node?.label&&s?.node?.title&&s?.node?.url&&s?.node?.tags?.edges){const l=s.node.tags.edges.filter(t8);o.push({link:new URL(s.node.url,t).href,title:JP(s?.node?.short_title||s.node.title),cardHeaderProps:{headline:{text:s?.node?.label||s.node.rubric.node.label},location:$O(l)},socialBarProps:{layout:n,commentCount:s.node?.comments_count??0,shareCount:(s.node?.facebook_count??0)+(s.node?.pinterest_count??0),contentLegacyId:s.node?.legacy_id?.toString()}})}return o},[]),JQ=e=>{const[t,n]=be.useState(e.defaultArticles),[o,s]=be.useState(!1),[l,c]=be.useState("locales"),[p,m]=be.useState(e.defaultSeeMoreLink.href),h=be.useCallback(w=>{c(w.target.value),s(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getHomeLocalNews&variables=${encodeURIComponent(JSON.stringify({...e.variablesForQuery,slug:l}))}`,options:{headers:_}}];try{const S=await bi(...D),T=JO({data:S,pageEndpoint:window.envVariables.pageEndpoint,layout:window.layout});m(new URL(S?.brand?.node?.tag?.node?.url_current??"",window.envVariables.pageEndpoint).href),n(T)}catch(S){console.error("20mn> Error while loading articles:",S)}},[e.variablesForQuery,l]);return be.useEffect(()=>{o&&A()},[o,A]),be.useEffect(()=>{o&&s(!1),ZQ()},[o]),be.useMemo(()=>({isLoading:o,articles:t,tagUrl:p,onDepartmentChange:h}),[t,o,p,h])},XQ=({isSSR:e=!0,articles:t,variablesForQuery:n,seeMoreLink:o,selectProps:s,...l})=>{const{isLoading:c,articles:p,tagUrl:m,onDepartmentChange:h}=JQ({defaultArticles:t,defaultSeeMoreLink:o,variablesForQuery:n});return a.jsxs(a.Fragment,{children:[a.jsx(hO,{...l,articles:p,variablesForQuery:n,seeMoreLink:{href:m},selectProps:{...s,disabled:c,onChange:h}}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({localNewsContainer:{articles:p,variablesForQuery:n,selectProps:s,seeMoreLink:o,...l}})} };`}})]})},ii=15,eY=[{componentName:kr.HOME_META,component:Nn,expiration:3600*24*30},{componentName:kr.HOME_ARTICLES_LIST_TOP,component:pO,expiration:ii},{componentName:kr.HOME_FEATURED_TAG,component:Wd,expiration:ii},{componentName:kr.HOME_SECOND_ARTICLES_LIST_MOBILE,component:jl,expiration:ii},{componentName:kr.HOME_ARTICLES_LIST_BOTTOM,component:dO,expiration:ii},{componentName:kr.HOME_MOST_READ_ASIDE,component:s6,expiration:ii},{componentName:kr.HOME_THIRD_ARTICLES_LIST_MOBILE,component:jl,expiration:ii},{componentName:kr.HOME_LOCAL_NEWS,component:XQ,expiration:ii},{componentName:kr.HOME_TV_BLOCK,component:gO,expiration:ii},{componentName:kr.HOME_GAMES_CAROUSEL,component:fO,expiration:ii},{componentName:kr.HOME_CURRENT_VIDEOS,component:q2,expiration:ii},{componentName:kr.HOME_ENTERTAINMENT,component:q2,expiration:ii},{componentName:kr.HOME_SPORT,component:q2,expiration:ii},{componentName:kr.HOME_IN_PICTURES,component:q2,expiration:ii},{componentName:kr.HOME_TEMPO,component:Wd,expiration:ii},{componentName:kr.HOME_HIGH_TECH,component:Wd,expiration:ii},{componentName:kr.HOME_PLANET,component:Wd,expiration:ii},{componentName:kr.HOME_PROFESSIONAL_LIFE,component:Wd,expiration:ii},{componentName:kr.HOME_CONSO,component:Wd,expiration:ii},{componentName:kr.HOME_PODCASTS,component:Wd,expiration:ii},{componentName:kr.HOME_PURCHASE_GUIDE,component:Wd,expiration:ii},{componentName:kr.HOME_DISCOVER_NOW,component:Wd,expiration:ii},{componentName:kr.HOME_CITY_BY_CITY,component:cO,expiration:ii},{componentName:kr.HOME_PARTNERS,component:vO,expiration:ii},{componentName:kr.HOME_MOVIES,component:J5,expiration:ii},{componentName:kr.HOME_TV_PROGRAM,component:J5,expiration:ii},{componentName:kr.HOME_MUNICIPAL_BLOCK,component:mO,expiration:ii}],nd=3600*24*7,tY=[{componentName:wa.JOBS_JSON_LD_BREADCRUMB,component:Oa,expiration:nd},{componentName:wa.JOBS_META,component:Nn,expiration:nd},{componentName:wa.JOBS_BREADCRUMB,component:qn,expiration:nd},{componentName:wa.JOBS_HEADER_PAGE,component:Xo,expiration:nd},{componentName:wa.JOBS_COVER,component:kd,expiration:nd},{componentName:wa.JOBS_CARDS_LIST,component:jl,expiration:nd},{componentName:wa.JOBS_BUSINESS_SECTORS_LIST,component:xl,expiration:nd},{componentName:wa.JOBS_PROFESSIONAL_LIFE_ARTICLES,component:zu,expiration:nd},{componentName:wa.JOBS_RELATED_JOBS_CATEGORY,component:zu,expiration:nd},{componentName:wa.JOBS_PROPERTIES,component:ZD,expiration:nd},{componentName:wa.JOBS_ENCLOSE_BANNER,component:_3,expiration:nd},{componentName:wa.JOBS_FAQ,component:I5,expiration:nd}],XO=({pageEndpoint:e,imgEndpoint:t,data:n,layout:o})=>Array.isArray(n)?[]:(n?.brand?.node?.publishableContents?.edges||[])?.reduce((s,l)=>{if(!l?.node?.title||!l?.node?.label||!l?.node?.url||!l?.node?.medias&&!l?.node?.photo?.node)return s;const c=l?.node?.editorial_model===Lf.Story;let p=l.node.medias?l.node.medias.filter(t8):[];return c&&l?.node?.photo?.node&&(p=Fh({photo:l.node.photo})),s.push({link:new URL(l.node.url,e).href,title:l.node.short_title||l.node.title,cardImageProps:{cover:Bp({medias:p,imgEndpoint:t}),...G2({medias:p,picto:l?.node?.picto,editorialModel:l?.node.editorial_model})},cardHeaderProps:{headline:{text:l.node.label,color:W2(l?.node?.rubric?.node?.themeColor?.node?.slug)},rightSubheader:{text:l.node.published_at||""}},cardTitleProps:{cartridge:l?.node?.editorial_model==="Live"?"live":void 0},socialBarProps:{layout:o,disableComment:c?!1:!l.node.enable_comments,variant:"card",contentLink:new URL(l.node.url,e).href,commentAnchor:"mbrs-comments-container",commentCount:l.node.comments_count??0,shareCount:l.node.facebook_count??0,contentLegacyId:l.node?.legacy_id?.toString()}}),s},[]),rY=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.endCursor),[o,s]=be.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=be.useState(e.defaultArticles),[p,m]=be.useState(!1),h=be.useCallback(()=>{m(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getUserBackArticlesWithCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,userBackId:e.defaultVariablesForQuery.userBackId,first:10,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=XO({pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,data:S,layout:window.layout});c(C=>[...C,...T]),n(S?.brand?.node?.publishableContents?.pageInfo?.endCursor||null),s(S?.brand?.node?.publishableContents?.pageInfo?.hasNextPage||!1),Gu()}catch(S){console.error("20mn> Error while loading articles:",S)}},[t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.userBackId]);return be.useEffect(()=>{p&&A()},[p,A]),be.useEffect(()=>{p&&m(!1)},[p]),be.useMemo(()=>({isLoading:p,articles:l,hasNextPage:o,onLoadMore:h}),[l,p,o,h])},nY=({isSSR:e=!0,layout:t,articles:n,variablesForQuery:o,seeMoreButton:s,currentPagePath:l,tagTotalArticles:c,columnsNumber:p,heading:m})=>{if(n.length===0)return null;const{isLoading:h,articles:A,hasNextPage:w,onLoadMore:_}=rY({defaultArticles:n,defaultVariablesForQuery:o});be.useEffect(()=>{h||V0()},[h]);const D=A.map(S=>({...S,...S.cardImageProps&&{cardImageProps:{...S.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), calc(50vw - 16px)"}}}));return a.jsxs(a.Fragment,{children:[a.jsx(jl,{layout:t,articles:D,seeMoreButton:w?{...s,disabled:h,onClick:_}:void 0,currentPagePath:l,tagTotalArticles:c,columnsNumber:p,heading:m}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({journalistArticleListContainer:{layout:t,articles:D,variablesForQuery:o,seeMoreButton:s,heading:m}})} };`}})]})},Z2=3600*24,aY=[{componentName:lc.JOURNALIST_JSON_LD_BREADCRUMB,component:Oa,expiration:Z2},{componentName:lc.JOURNALIST_META,component:Nn,expiration:Z2},{componentName:lc.JOURNALIST_BREADCRUMB,component:qn,expiration:Z2},{componentName:lc.JOURNALIST_HEADER_PAGE,component:Xo,expiration:Z2},{componentName:lc.JOURNALIST_MAIN_INFORMATION_BLOCK,component:yO,expiration:Z2},{componentName:lc.JOURNALIST_ARTICLES,component:nY,expiration:300}],$2=3600*24*30,iY=[{componentName:Gc.LA21E_BREADCRUMB,component:qn,expiration:$2},{componentName:Gc.LA21E_HEADER_PAGE,component:Xo,expiration:$2},{componentName:Gc.LA21E_JSON_LD_BREADCRUMB,component:Oa,expiration:$2},{componentName:Gc.LA21E_META,component:Nn,expiration:$2},{componentName:Gc.LA21E_CARDS_LIST,component:V2,expiration:$2}],r8=e=>{const t=[];return e.legalNotices.forEach(n=>{const o=n?.node;t.push({link:o?.external_id?new URL(`/al/${o?.external_id}`,e.legalNoticeEndpoint).href:"",title:o?.title??void 0,location:o?.legalNoticeDepartment?.node?.name||"",summaryProps:{children:o?.publishing_date?`Publié le ${d6(new Date(o.publishing_date),!1)}`:f6(new Date(Date.now()).toLocaleString())},cardTitleProps:{...o?.external_id?{as:"a",href:new URL(`/al/${o?.external_id}`,e.legalNoticeEndpoint).href,className:"opacity-hover"}:{}}})}),t},n8=e=>e!=null,oY=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.endCursor),[o,s]=be.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=be.useState(e.legalNotices),[p,m]=be.useState(!1),h=be.useCallback(()=>{m(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getLegalNoticesFromDept&variables=${encodeURIComponent(JSON.stringify({slug:e.defaultVariablesForQuery.slug,first:10,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=S?.legalNotices?.edges?.filter(n8)??[],C=r8({legalNotices:T,legalNoticeEndpoint:window.location.origin});c(I=>[...I,...C]),n(S?.legalNotices?.pageInfo?.endCursor||null),s(S?.legalNotices?.pageInfo?.hasNextPage||!1),Gu()}catch(S){console.error("20mn> Error while loading annnouncements:",S)}},[t,e.defaultVariablesForQuery.slug]);return be.useEffect(()=>{p&&A()},[p,A]),be.useEffect(()=>{p&&m(!1)},[p]),be.useMemo(()=>({isLoading:p,legalNotices:l,hasNextPage:o,onLoadMore:h}),[l,p,o,h])},sY=({isSSR:e=!0,variablesForQuery:t,legalNotices:n})=>{const{isLoading:o,legalNotices:s,hasNextPage:l,onLoadMore:c}=oY({legalNotices:n,defaultVariablesForQuery:t});return be.useEffect(()=>{o||V0()},[o]),a.jsxs(a.Fragment,{children:[a.jsx(S3,{legalNotices:s,seeMoreLegalNotices:l?{disabled:o,onClick:c,children:"Voir plus d’annonces légales"}:void 0,mx:{xs:"m",md:"0"}}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({legalNoticeDepartmentContainer:{legalNotices:s,variablesForQuery:t}})} };`}})]})},uY=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.endCursor),[o,s]=be.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=be.useState(e.legalNotices),[p,m]=be.useState(!1),h=be.useCallback(()=>{m(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getLegalNotices&variables=${encodeURIComponent(JSON.stringify({first:10,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=S?.legalNotices?.edges?.filter(n8)??[],C=r8({legalNotices:T,legalNoticeEndpoint:window.location.origin});c(I=>[...I,...C]),n(S?.legalNotices?.pageInfo?.endCursor||null),s(S?.legalNotices?.pageInfo?.hasNextPage||!1),Gu()}catch(S){console.error("20mn> Error while loading annnouncements:",S)}},[t]);return be.useEffect(()=>{p&&A()},[p,A]),be.useEffect(()=>{p&&m(!1)},[p]),be.useMemo(()=>({isLoading:p,legalNotices:l,hasNextPage:o,onLoadMore:h}),[l,p,o,h])},lY=({isSSR:e=!0,variablesForQuery:t,legalNotices:n})=>{const{isLoading:o,legalNotices:s,hasNextPage:l,onLoadMore:c}=uY({legalNotices:n,defaultVariablesForQuery:t});return be.useEffect(()=>{o||V0()},[o]),a.jsxs(a.Fragment,{children:[a.jsx(S3,{legalNotices:s,seeMoreLegalNotices:l?{disabled:o,onClick:c,children:"Voir plus d’annonces légales"}:void 0,mx:{xs:"m",md:"0"}}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({legalNoticeHomeContainer:{legalNotices:s,variablesForQuery:t}})} };`}})]})},im=3600*24,cY=[{componentName:la.LEGAL_NOTICE_JSON_LD_BREADCRUMB,component:Oa,expiration:im},{componentName:la.LEGAL_NOTICE_META,component:Nn,expiration:im},{componentName:la.LEGAL_NOTICE_BREADCRUMB,component:qn,expiration:im},{componentName:la.LEGAL_NOTICE_HEADER_PAGE,component:Xo,expiration:im},{componentName:la.LEGAL_NOTICE_FAQ,component:Pg,expiration:im},{componentName:la.LEGAL_NOTICE_DEPARTMENTS_LIST,component:xl,expiration:3600},{componentName:la.LEGAL_NOTICE_REGIONS_LIST,component:xl,expiration:3600},{componentName:la.LEGAL_NOTICE_CARDS_LIST,component:lY,expiration:3600},{componentName:la.LEGAL_NOTICE_CONTENT,component:$D,expiration:im},{componentName:la.LEGAL_NOTICE_CARDS_LIST_DETAIL,component:S3,expiration:3600},{componentName:la.LEGAL_NOTICE_CARDS_LIST_DEPARTMENT,component:sY,expiration:3600}],dY=()=>{window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(e=>{const t=Array.from(document.getElementsByClassName("embed-placeholder")),n=e.getCurrentUserStatus(),o=n?.purposes?.["activation-gGierZpp"]?.enabled;t.forEach(s=>{const l=s.querySelector(".cmp-placeholder"),c=s.querySelector(".embed-wrapper");if(!(!(l instanceof Element)||!(c instanceof Element))){if(!(o&&(n?.vendors[s.getAttribute("data-vendor")||""]?.enabled??!0))){l.classList.remove("u-hidden"),c.classList.add("u-hidden");return}l.classList.add("u-hidden"),c.classList.remove("u-hidden"),c.querySelectorAll("[data-src]").forEach(p=>{const m=p.getAttribute("data-src");m&&(p.setAttribute("src",m),p.removeAttribute("data-src"))})}})})},fY=["nfb_1","nfb_2","article_btf","pave_com","pave_home","inread","pave_article","article_mtf","native_web"],eI=()=>{fY.forEach(e=>{const t=`#dfp_${e}`,o=[...document.querySelectorAll(t)].filter(l=>l instanceof HTMLElement);for(let l=0;l<=20;l+=1){const c=document.getElementById(`dfp_${e}_${l}`);c&&o.push(c)}let s=0;o.forEach(l=>{s===0?l.id=`dfp_${e}`:l.id=`dfp_${e}_${s}`,s+=1})})},pY=e=>{switch(e){case _p.default:case _p.important:case _p.community:case _p.faq:case _p.bold:return e;case _p.very_important:return"crucial";default:return"default"}},tI=(e,t)=>Array.isArray(e)?[]:(e?.brand?.node?.live?.node?.livePosts?.edges||[])?.reduce((n,o)=>{if(!o)return n;let s=o?.node?.content_md?.blocks;if(s){const p=[...s],m=p?.slice(-1);m?.[0]?.text===""&&m?.[0]?.type==="unstyled"&&(p.pop(),s=p)}let l;o?.node?.comment?.node&&(l={question:o.node.comment.node.content||"",author:o.node.comment.node.userFront?.node?.username||"",response:s?.[0]?.text});const c=o.node?.legacy_id;return c&&n.push({cursor:o?.cursor||null,id:c,title:{status:pY(o?.node?.type),header:o?.node?.printed_hour||"",title:o?.node?.title||"",img:o?.node?.livePostLabel?.node&&t?{name:o.node.livePostLabel.node.slug||"",src:o.node.livePostLabel.node.logo?`${t}/${o.node.livePostLabel.node.logo}`:""}:void 0},content:l?void 0:{entityMap:{},...o?.node?.content_md,blocks:s??[]},talk:l}),n},[]),hY=e=>{if(e.some(({content:n})=>Object.values(n?.entityMap||{}).some(({type:o,data:s})=>o==="iframely"&&s?.embedProps?.meta?.site==="idalgo"&&s?.embedProps?.meta?.type==="widget"))){if(window?.iDalgoLoader){window.iDalgoLoader.init();return}g9({name:"widget_live-posts",src:"https://20minutes.idalgo-hosting.com/partners/i/cache/datasport/cache/page/r_js_jlu_url.php",load:"async"})}},rI=e=>{const t=e.filter(({content:n})=>Object.values(n?.entityMap||{}).some(({type:o,data:s})=>o==="iframely"&&(s?.embedProps?.js||s?.embedProps?.css)));t.length&&t.forEach(({content:n})=>{Object.values(n?.entityMap||{}).forEach(({type:o,data:s})=>{if(o==="iframely"&&(s?.embedProps?.js||s?.embedProps?.css)){const{js:l=[],css:c=[]}=s?.embedProps||{};l.length&&l.forEach((p,m)=>{g9({name:`embed_live-posts-${m}`,src:p,load:"async"})}),c.length&&c.forEach(p=>{const m=document.createElement("link");m.type="text/css",m.rel="stylesheet",m.href=p,document.head.appendChild(m)})}})})},k3=()=>{const{hash:e}=new URL(window.location.href),t=e.match(/#post-(\d+)/);return t?Number(t[1]):null},nI=async({first:e,after:t,filter:n,brandId:o,liveId:s})=>{const{apiHost:l}=document.body.dataset,c=new Headers;window.envVariables?.apiAuthKey&&c.append("auth-key",window.envVariables.apiAuthKey);const p=[{url:`${l}/?id=getLivePosts&variables=${encodeURIComponent(JSON.stringify({brandId:o,liveId:s,first:e,after:t,filter:n}))}`,options:{headers:c}}],m=await bi(...p),h=tI(m,document.body.dataset.staticHost),A=m?.brand?.node?.live?.node?.livePosts?.pageInfo??null;return{nextPosts:h,pageInfo:A}},aI=async({batchSize:e,after:t,filter:n,brandId:o,liveId:s,accumulatedPosts:l,anchorPostId:c})=>{const{nextPosts:p,pageInfo:m}=await nI({first:100,after:t,filter:n,brandId:o,liveId:s}),h=[...l,...p],A=m?.endCursor??null,w=m?.hasNextPage??!1,_=h.findIndex(D=>D.id===c);if(_!==-1){const S=Math.ceil((_+1)/e)*e,T=S>h.length?h[h.length-1].cursor:h[S-1].cursor,C=h.length>S?!0:w;return{nextPosts:h.slice(0,S),pageInfo:{endCursor:T,hasNextPage:C}}}return w&&A?aI({batchSize:e,after:t,filter:n,brandId:o,liveId:s,accumulatedPosts:h,anchorPostId:c}):{nextPosts:[],pageInfo:m}},mY=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.endCursor),[o,s]=be.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=be.useState(e.defaultPosts),[p,m]=be.useState(!1),[h,A]=be.useState(!1),w=be.useCallback(()=>{m(!0)},[]),_=be.useCallback(async()=>{const D=k3(),S=e.defaultVariablesForQuery.first,{filter:T,brandId:C,liveId:I}=e.defaultVariablesForQuery;try{if(D&&!h&&T?.type?.eq!==_p.very_important){const{nextPosts:L}=await aI({batchSize:S,after:t,filter:T,brandId:C,liveId:I,accumulatedPosts:[],anchorPostId:D});c(P=>[...P,...L]),A(!!D),rI(L)}else{const{nextPosts:L,pageInfo:P}=await nI({first:S,after:t,filter:T,brandId:C,liveId:I});n(P?.endCursor??null),s(P?.hasNextPage??!1),c(q=>[...q,...L]),rI(L)}Gu()}catch(L){console.error("20mn> Error while loading posts:",L)}},[t,h,e.defaultVariablesForQuery]);return be.useEffect(()=>{k3()&&!document.getElementById(`post-${k3()}`)&&m(!0)},[]),be.useEffect(()=>{document.querySelector(`#tabpanel-le-direct #post-${k3()}`)?.scrollIntoView({behavior:"smooth",block:"start"})},[]),be.useEffect(()=>{p&&_(),hY(l),eI(),dY()},[p,_,l]),be.useEffect(()=>{p&&m(!1)},[p]),be.useEffect(()=>{eI()},[]),be.useMemo(()=>({isLoading:p,posts:l,hasNextPage:o,onLoadMore:w}),[p,l,o,w])},a8=({isSSR:e=!0,posts:t,variablesForQuery:n,seeMoreLink:o,staticHydrationDataName:s="livePostsContainer",disableAds:l,...c})=>{const{isLoading:p,posts:m,hasNextPage:h,onLoadMore:A}=mY({defaultPosts:t,defaultVariablesForQuery:n});return a.jsxs(a.Fragment,{children:[a.jsx(xO,{...c,posts:m,variablesForQuery:n,disableAds:l,seeMoreLink:h?{...o,disabled:p,onClick:A}:void 0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({[s]:{posts:$P(m),variablesForQuery:n,seeMoreLink:o,disableAds:l,...c}})} };`}})]})},vY=[{componentName:hu.LIVE_INDICATOR,component:B5,expiration:300},{componentName:hu.LIVE_TOP_CONTENT,component:tm,expiration:3600*24},{componentName:hu.LIVE_POSTS_THREAD,component:a8,expiration:60},{componentName:hu.LIVE_IMPORTANT_POSTS_THREAD,component:a8,expiration:60},{componentName:hu.LIVE_JSON_LD_LIVE_BLOG_POSTING,component:_9,expiration:300},{componentName:hu.LIVE_QUESTION,component:sP,expiration:3600*24},{componentName:hu.LIVE_PRELOAD,component:q1,expiration:3600*24*30}],J2=3600*24*30,gY=[{componentName:Kc.MOBILE_APPS_BREADCRUMB,component:qn,expiration:J2},{componentName:Kc.MOBILE_APPS_HEADER_PAGE,component:Xo,expiration:J2},{componentName:Kc.MOBILE_APPS_JSON_LD_BREADCRUMB,component:Oa,expiration:J2},{componentName:Kc.MOBILE_APPS_META,component:Nn,expiration:J2},{componentName:Kc.MOBILE_APPS_CARDS_LIST,component:V2,expiration:J2}],yY=15,i8=3600*24*30,bY=[{componentName:D0.MOST_COMMENTED_HEADER_PAGE,component:Al,expiration:i8},{componentName:D0.MOST_COMMENTED_BREADCRUMB,component:qn,expiration:i8},{componentName:D0.MOST_COMMENTED_ARTICLES,component:M3,expiration:yY},{componentName:D0.MOST_COMMENTED_META,component:Nn,expiration:i8}],iI=({layout:e,pageEndpoint:t,imgEndpoint:n,data:o,lastNumber:s=0})=>Array.isArray(o)?[]:(o?.brand?.node?.publishableContents?.edges||[])?.reduce((l,c,p)=>{if(!c?.node?.title||!c?.node?.label||!c?.node?.url||!c?.node?.published_at||!c?.node?.medias&&!c?.node?.photo?.node)return l;let m=c.node.medias??[];return c?.node?.editorial_model==="Story"&&c?.node?.photo?.node&&(m=Fh({photo:c.node.photo})),l.push({link:new URL(c.node.url,t).href,title:c.node.title,cardImageProps:{cover:Bp({medias:m,imgEndpoint:n})},cardHeaderProps:{headline:{text:c.node.label}},cardTitleProps:{cartridge:c?.node?.editorial_model==="Live"?"live":void 0},summaryProps:{children:c?.node?.lead??""},layout:e,cardNumber:{value:s+p+1,size:"medium"},viewCount:c?.node?.total_current_visits||0}),l},[]),xY=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.hasNextPage),[o,s]=be.useState(e.defaultItems),[l,c]=be.useState(!1),p=be.useCallback(()=>{c(!0)},[]),m=be.useCallback(async()=>{const{apiHost:h}=document.body.dataset,A=new Headers;window.envVariables?.apiAuthKey&&A.append("auth-key",window.envVariables.apiAuthKey);const w=[{url:`${h}/?id=getMostReadContents&variables=${encodeURIComponent(JSON.stringify({first:e.defaultVariablesForQuery.first,brandId:e.defaultVariablesForQuery.brandId,excludeModel:e.defaultVariablesForQuery.excludeModel,after:e.defaultVariablesForQuery.endCursor}))}`,options:{headers:A}}];try{const _=await bi(...w),D=iI({layout:window.layout,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,data:_,lastNumber:e.defaultVariablesForQuery.first});s(S=>[...S,...D||[]]),n(!1),Gu()}catch(_){console.error("20mn> Error while loading contents:",_)}},[e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.endCursor,e.defaultVariablesForQuery.excludeModel,e.defaultVariablesForQuery.first]);return be.useEffect(()=>{l&&m()},[l,m]),be.useEffect(()=>{l&&c(!1)},[l]),be.useMemo(()=>({isLoading:l,items:o,hasNextPage:t,onLoadMore:p}),[l,o,t,p])},AY=({isSSR:e=!0,items:t,variablesForQuery:n,seeMoreButton:o})=>{const{isLoading:s,items:l,hasNextPage:c,onLoadMore:p}=xY({defaultItems:t,defaultVariablesForQuery:n});return be.useEffect(()=>{s||V0()},[s]),a.jsxs(a.Fragment,{children:[a.jsx(M3,{items:l,seeMoreButton:c?{...o,disabled:s,onClick:p}:void 0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({mainMostReadContainer:{items:l,variablesForQuery:n,seeMoreButton:o}})} };`}})]})},EY=15,o8=3600*24*30,_Y=[{componentName:R0.MOST_READ_HEADER_PAGE,component:Al,expiration:o8},{componentName:R0.MOST_READ_BREADCRUMB,component:qn,expiration:o8},{componentName:R0.MOST_READ_ARTICLES,component:AY,expiration:EY},{componentName:R0.MOST_READ_META,component:Nn,expiration:o8}],wY=15,s8=3600*24*30,SY=[{componentName:I0.MOST_SHARED_HEADER_PAGE,component:Al,expiration:s8},{componentName:I0.MOST_SHARED_BREADCRUMB,component:qn,expiration:s8},{componentName:I0.MOST_SHARED_ARTICLES,component:M3,expiration:wY},{componentName:I0.MOST_SHARED_META,component:Nn,expiration:s8}],oI=(e,t)=>Array.isArray(e)?[]:e?.movies?.edges?.map(n=>{const o=n?.node,s=o?.movieCastings?.edges?.find(l=>l?.node?.position==="Réalisateur");return{link:o?.article_url||"#",title:o?.title_fr||"",cardImageProps:{cover:(o?.movieMedias?.edges?.length??0)>0?`${t}/movies/posters/${o?.movieMedias?.edges?.[0]?.node?.src?.replace("-%format","")??""}`:""},summary:o?.summary_short||"",castings:o?.movieCastings?.edges?.filter(l=>l?.node?.type==="cast").map(l=>`${l?.node?.firstname} ${l?.node?.lastname}`)??[],genres:o?.genres?.filter(l=>l!==null)||[],directedBy:s?`${s?.node?.firstname} ${s?.node?.lastname}`:void 0,releaseDate:o?.release_date?d6(new Date(o.release_date)):"",seeMoreLink:{children:"Voir la fiche du film",href:o?.article_url||"#"}}})||[],CY=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.endCursor),[o,s]=be.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=be.useState(e.defaultMovies),[p,m]=be.useState(!1),h=be.useCallback(()=>{m(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getMoviesData&variables=${encodeURIComponent(JSON.stringify({status:e.defaultVariablesForQuery.status,cursor:t,orderField:p9.EXPECTATION_LEVEL,orderDirection:h9.DESC}))}`,options:{headers:_}}];try{const S=await bi(...D),{staticHost:T}=document.body.dataset,C=oI(S,T);c(I=>[...I,...C||[]]),n(S?.movies?.pageInfo?.endCursor??null),s(S?.movies?.pageInfo?.hasNextPage??!1),Gu()}catch(S){console.error("20mn> Error while loading posts:",S)}},[t,e.defaultVariablesForQuery.status]);return be.useEffect(()=>{p&&A()},[p,A]),be.useEffect(()=>{p&&m(!1)},[p]),be.useMemo(()=>({isLoading:p,items:l,hasNextPage:o,onLoadMore:h}),[p,l,o,h])},TY=({isSSR:e=!0,layout:t,items:n,variablesForQuery:o,seeMoreButton:s})=>{const{isLoading:l,items:c,hasNextPage:p,onLoadMore:m}=CY({defaultMovies:n,defaultVariablesForQuery:o});return be.useEffect(()=>{l||V0()},[l]),a.jsxs(a.Fragment,{children:[a.jsx(AO,{layout:t,items:c,seeMoreButton:p?{...s,disabled:l,onClick:m}:void 0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({moviesListContainer:{layout:t,items:c,variablesForQuery:o,seeMoreButton:s}})} };`}})]})},B3=3600*24,NY=[{componentName:El.MOVIES_HEADER_PAGE,component:Al,expiration:B3},{componentName:El.MOVIES_BREADCRUMB,component:qn,expiration:B3},{componentName:El.MOVIES_LIST,component:TY,expiration:3600*24},{componentName:El.MOVIES_NAVIGATION,component:XD,expiration:B3},{componentName:El.MOVIES_META,component:Nn,expiration:B3},{componentName:El.MOVIES_MOST_READ_ASIDE,component:s6,expiration:300}],DY=[{componentName:Wc.NEWS_BREADCRUMB,component:qn,expiration:3600},{componentName:Wc.NEWS_HEADER_PAGE,component:Xo,expiration:3600},{componentName:Wc.NEWS_ARTICLES_BY_TAGS,component:EO,expiration:1800},{componentName:Wc.NEWS_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:Wc.NEWS_META,component:Nn,expiration:3600*24*30}],sI=["actu-generale","justice","economie","auto","emploi","faits_divers","france","politique","sante","societe","monde","locales","nantes","toulouse","strasbourg","lyon","bordeaux","lille","marseille","montpellier","nice","paris","rennes","elections-municipales","production","publicommunique","magazine"],u8=({pageEndpoint:e,imgEndpoint:t,staticEndpoint:n,data:o,hasSummary:s=!1,layout:l})=>Array.isArray(o)?[]:(o?.brand?.node?.tag?.node?.publishableContents?.edges||[])?.reduce((c,p)=>{if(!p?.node?.title||!p?.node?.label||!p?.node?.url||!p?.node?.medias&&!p?.node?.photo?.node)return c;const m=p?.node?.editorial_model===Lf.ExternalContent,h=p?.node?.editorial_model===Lf.Story;let A=p.node.medias?p.node.medias.filter(t8):[];h&&p?.node?.photo?.node&&(A=Fh({photo:p.node.photo}));const w=p?.node?.editorial_model===Lf.Article&&!sI.includes(p?.node?.rubric?.node?.slug||"");return c.push({layout:l,link:new URL(p.node.url,e).href,title:p.node.short_title||p.node.title,cardImageProps:{cover:Bp({medias:A,imgEndpoint:t}),...G2({medias:A,picto:p?.node?.picto,editorialModel:p?.node.editorial_model})},cardHeaderProps:{headline:{text:p.node.label,color:W2(p?.node?.rubric?.node?.themeColor?.node?.slug)},rightSubheader:{text:p.node.published_at||""}},cardTitleProps:{cartridge:p?.node?.editorial_model==="Live"?"live":void 0},socialBarProps:{layout:l,disableComment:h?!1:!p.node.enable_comments,variant:"card",contentLink:new URL(p.node.url,e).href,commentAnchor:"mbrs-comments-container",commentCount:p.node.comments_count??0,shareCount:p.node.facebook_count??0,contentId:p.node?.id?.toString(),contentLegacyId:m?void 0:p.node?.legacy_id?.toString(),contentModel:p?.node?.editorial_model||void 0,...w&&{reactionCount:m9(p.node.reactions_count),reactListItems:v9(p.node.reactions_count)}},...s&&{summaryProps:{children:p.node.lead}},...m&&n&&p?.node?.contentSource?.node?.name&&p?.node?.contentSource?.node?.logo&&p?.node?.contentSource?.node?.url&&{cardFooterProps:{avatarUrl:new URL(p.node.contentSource.node.logo,n).href,text:p.node.contentSource.node.name,externalLink:p.node.contentSource.node.url}}}),c},[]),uI=({pageEndpoint:e,imgEndpoint:t,staticEndpoint:n,data:o,layout:s})=>u8({pageEndpoint:e,imgEndpoint:t,staticEndpoint:n,data:o,hasSummary:!0,layout:s}).map(c=>(delete c.socialBarProps,{...c,linkProps:{children:"Je participe","aria-label":"Je participe au quiz",href:c.link}})),RY=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.endCursor),[o,s]=be.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=be.useState(e.defaultArticles),[p,m]=be.useState(!1),h=be.useCallback(()=>{m(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w,staticHost:_}=document.body.dataset,D=new Headers;window.envVariables?.apiAuthKey&&D.append("auth-key",window.envVariables.apiAuthKey);const S=[{url:`${w}/?id=getTagArticlesWithCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,slug:e.defaultVariablesForQuery.slug,first:e.defaultVariablesForQuery.first,after:t}))}`,options:{headers:D}}];try{const T=await bi(...S),C=uI({pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,staticEndpoint:_||"",data:T,layout:window.layout}),I={articles:[...l,...C],endCursor:T?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.endCursor??null,hasNextPage:T?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.hasNextPage??!1};c(L=>[...L,...C]),n(I.endCursor),s(I.hasNextPage),Gu()}catch(T){console.error("20mn> Error while loading articles:",T)}},[l,t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.first,e.defaultVariablesForQuery.slug]);return be.useEffect(()=>{p&&A()},[p,A]),be.useEffect(()=>{p&&m(!1)},[p]),be.useEffect(()=>{xQ()},[]),be.useMemo(()=>({isLoading:p,articles:l,hasNextPage:o,onLoadMore:h}),[l,p,o,h])},OY=({isSSR:e=!0,layout:t,articles:n,variablesForQuery:o,seeMoreButton:s,currentPagePath:l,totalArticles:c})=>{const{isLoading:p,articles:m,hasNextPage:h,onLoadMore:A}=RY({defaultArticles:n,defaultVariablesForQuery:o});be.useEffect(()=>{p||V0()},[p]);const w=m.map(_=>({..._,..._.cardImageProps&&{cardImageProps:{..._.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), calc(50vw - 16px)"}}}));return a.jsxs(a.Fragment,{children:[a.jsx(_O,{layout:t,articles:w,seeMoreButton:h?{...s,disabled:p,onClick:A}:void 0,currentPagePath:l,totalArticles:c}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({quizContainer:{layout:t,articles:w,variablesForQuery:o,seeMoreButton:s}})} };`}})]})},IY=[{componentName:Lg.QUIZ_ARTICLES_LIST,component:OY,expiration:3600}],jY=[{componentName:M0.REWIND_BREADCRUMB,component:qn,expiration:3600*24*30},{componentName:M0.REWIND_LIST,component:wO,expiration:3600*24*30},{componentName:M0.REWIND_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:M0.REWIND_META,component:Nn,expiration:3600*24*30}],lI=({data:e,pageEndpoint:t,imgEndpoint:n,rubricSlug:o,rubricLabel:s})=>{if(Array.isArray(e))return[];const l=[],c=e?.brand?.node,p=c?.commonArticles?.edges,m=c?.rubricArticles?.edges;if(p?.length){const h=Q2({name:"plus-lus",title:"Les + lus",pageEndpoint:t,imgEndpoint:n,articleEdges:p,limit:5});l.push(h)}if(m?.length){const h=Q2({name:`plus-lus-${o}`,title:`Les + lus ${s}`,pageEndpoint:t,imgEndpoint:n,articleEdges:m,limit:5});l.push(h)}return l},MY=e=>{const[t,n]=be.useState(e.defaultTabItems),o=be.useCallback(async()=>{if(e.variablesForQuery.rubric){const{apiHost:s}=document.body.dataset,l=new Headers;window.envVariables?.apiAuthKey&&l.append("auth-key",window.envVariables.apiAuthKey);const c=[{url:`${s}/?id=getMostRead&variables=${encodeURIComponent(JSON.stringify({brandId:e.variablesForQuery.brandId,sourceExcluded:e.variablesForQuery.sourceExcluded,rubricId:e.variablesForQuery.rubric.id}))}`,options:{headers:l}}];try{const p=await bi(...c),m=lI({data:p,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,rubricSlug:e.variablesForQuery.rubric.slug,rubricLabel:e.variablesForQuery.rubric.label});n(m),I3()}catch(p){console.error("20mn> Error while loading tabItems:",p)}}},[e.variablesForQuery.brandId,e.variablesForQuery.rubric,e.variablesForQuery.sourceExcluded]);return be.useEffect(()=>{o(),$Q()},[o]),be.useMemo(()=>({tabItems:t}),[t])},LY=({isSSR:e=!0,layout:t,tabItems:n,variablesForQuery:o,...s})=>{const{tabItems:l}=MY({defaultTabItems:n,variablesForQuery:o});return a.jsxs(a.Fragment,{children:[a.jsx(X5,{layout:t,tabItems:l,variablesForQuery:o,...s}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({mostReadContainer:{layout:t,tabItems:n,variablesForQuery:o,...s}})} };`}})]})},kY=[{componentName:_l.RUBRIC_RUBRIC_CAROUSELS,component:Q5,expiration:300},{componentName:_l.RUBRIC_MOST_READ_ARTICLES,component:LY,expiration:1800},{componentName:_l.RUBRIC_THREE_COLUMNS_ARTICLES,component:u6,expiration:1800}],BY=[{componentName:L0.SEARCH_BREADCRUMB,component:qn,expiration:3600*24*30},{componentName:L0.SEARCH_HEADER_PAGE,component:Xo,expiration:3600},{componentName:L0.SEARCH_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:L0.SEARCH_META,component:Nn,expiration:3600*24*30}],X2=3600*24*30,PY=[{componentName:Qc.SERVICE_BREADCRUMB,component:qn,expiration:X2},{componentName:Qc.SERVICE_HEADER_PAGE,component:Xo,expiration:X2},{componentName:Qc.SERVICE_JSON_LD_BREADCRUMB,component:Oa,expiration:X2},{componentName:Qc.SERVICE_META,component:Nn,expiration:X2},{componentName:Qc.SERVICE_CARDS_LIST,component:V2,expiration:X2}],ev=3600*24*30,FY=[{componentName:Yc.SHOPPING_GUIDE_BREADCRUMB,component:qn,expiration:ev},{componentName:Yc.SHOPPING_GUIDE_HEADER_PAGE,component:Xo,expiration:ev},{componentName:Yc.SHOPPING_GUIDE_JSON_LD_BREADCRUMB,component:Oa,expiration:ev},{componentName:Yc.SHOPPING_GUIDE_META,component:Nn,expiration:ev},{componentName:Yc.SHOPPING_GUIDE_CARDS_LIST,component:V2,expiration:ev}],HY=[{componentName:wl.SITEMAP_BREADCRUMB,component:qn,expiration:300},{componentName:wl.SITEMAP_HEADER_PAGE,component:Al,expiration:300},{componentName:wl.SITEMAP_TAGS_LIST,component:SO,expiration:300},{componentName:wl.SITEMAP_BOTTOM_BULLETED_LIST,component:$R,expiration:300},{componentName:wl.SITEMAP_TOP_BULLETED_LIST,component:xl,expiration:300},{componentName:wl.SITEMAP_META,component:Nn,expiration:300}],UY=[{componentName:kg.SLIDESHOW_CONTENT,component:CO,expiration:3600*24}],zY=[{componentName:Sl.SPORT_BREADCRUMB,component:qn,expiration:3600*24*30},{componentName:Sl.SPORT_HEADER_PAGE,component:Xo,expiration:3600},{componentName:Sl.SPORT_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:Sl.SPORT_SIDEBAR,component:TO,expiration:3600},{componentName:Sl.SPORT_CONTENT,component:ye,expiration:3600},{componentName:Sl.SPORT_META,component:Nn,expiration:3600*24*30}],qY=[{componentName:z1.STATIC_CONTENT,component:zR,expiration:3600*24*30},{componentName:z1.STATIC_META,component:Nn,expiration:300}],VY=[{componentName:wp.STORY_JSON_LD_NEWS_ARTICLE,component:Bg,expiration:3600*24*30},{componentName:wp.STORY_PRELOAD,component:q1,expiration:3600*24*30},{componentName:wp.STORY_TOP_CONTENT,component:tm,expiration:3600*24*30}],GY=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.endCursor),[o,s]=be.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=be.useState(e.defaultArticles),[p,m]=be.useState(!1),h=be.useCallback(()=>{m(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w,staticHost:_}=document.body.dataset,D=new Headers;window.envVariables?.apiAuthKey&&D.append("auth-key",window.envVariables.apiAuthKey);const S=[{url:`${w}/?id=getTagArticlesWithCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,slug:e.defaultVariablesForQuery.slug,first:e.defaultVariablesForQuery.first,after:t}))}`,options:{headers:D}}];try{const T=await bi(...S),C=u8({pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,staticEndpoint:_||"",data:T,layout:window.layout}),I={articles:[...l,...C],endCursor:T?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.endCursor??null,hasNextPage:T?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.hasNextPage??!1};c(L=>[...L,...C]),n(I.endCursor),s(I.hasNextPage),window?.localStorage.setItem("aticles-container-data",JSON.stringify(I)),Gu()}catch(T){console.error("20mn> Error while loading articles:",T)}finally{m(!1)}},[l,t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.first,e.defaultVariablesForQuery.slug]);return be.useEffect(()=>{p&&A()},[p,A]),be.useEffect(()=>{if(bQ(),!window?.performance?.getEntriesByType("navigation").map(_=>_.type).includes("back_forward"))window?.localStorage.removeItem("aticles-container-data");else{const _=QP("aticles-container-data");_&&Object.hasOwn(_,"articles")&&Object.hasOwn(_,"endCursor")&&Object.hasOwn(_,"hasNextPage")&&(c(_.articles),n(_.endCursor),s(_.hasNextPage),Gu())}},[]),be.useMemo(()=>({isLoading:p,articles:l,hasNextPage:o,onLoadMore:h}),[l,p,o,h])},KY=({isSSR:e=!0,layout:t,articles:n,variablesForQuery:o,seeMoreButton:s,currentPagePath:l,tagTotalArticles:c,columnsNumber:p})=>{const{isLoading:m,articles:h,hasNextPage:A,onLoadMore:w}=GY({defaultArticles:n,defaultVariablesForQuery:o});be.useEffect(()=>{m||V0()},[m]);const _=h.map(D=>({...D,...D.cardImageProps&&{cardImageProps:{...D.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), calc(50vw - 16px)"}}}));return a.jsxs(a.Fragment,{children:[a.jsx(jl,{layout:t,articles:_,isLoading:m,skeletonCount:o.first,seeMoreButton:A?{...s,disabled:m,onClick:w}:void 0,currentPagePath:l,tagTotalArticles:c,columnsNumber:p}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({articleListBottomContainer:{layout:t,articles:_,variablesForQuery:o,seeMoreButton:s,skeletonCount:o.first}})} };`}})]})},WY=[{componentName:Ka.TAG_BREADCRUMB,component:qn,expiration:3600},{componentName:Ka.TAG_HEADER_PAGE,component:Xo,expiration:3600},{componentName:Ka.TAG_OVERVIEW_BAR,component:l9,expiration:3600},{componentName:Ka.TAG_ARTICLES_LIST_TOP,component:DO,expiration:3600},{componentName:Ka.TAG_NEWS_CAROUSEL,component:zu,expiration:3600},{componentName:Ka.TAG_JSON_LD_BREADCRUMB,component:Oa,expiration:3600},{componentName:Ka.TAG_META,component:Nn,expiration:3600*24},{componentName:Ka.TAG_PRELOAD,component:q1,expiration:3600},{componentName:Ka.TAG_ARTICLES_LIST_BOTTOM,component:KY,expiration:3600},{componentName:Ka.TAG_BRAND_PUBLISHING_ARTICLE_BOTTOM,component:L3,expiration:1800}],QY=[{componentName:k0.TRAFFIC_BREADCRUMB,component:qn,expiration:3600*24*30},{componentName:k0.TRAFFIC_HEADER_PAGE,component:Xo,expiration:3600},{componentName:k0.TRAFFIC_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:k0.TRAFFIC_META,component:Nn,expiration:3600*24*30}],YY=[{componentName:Sp.TV_HOME_JSON_LD_BREADCRUMB,component:Oa,expiration:3600},{componentName:Sp.TV_HOME_META,component:Nn,expiration:3600*24},{componentName:Sp.TV_HOME_TOP_BLOCK,component:jO,expiration:3600}],ZY=[{componentName:Zc.TV_LIVE_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24},{componentName:Zc.TV_LIVE_META,component:Nn,expiration:3600*24},{componentName:Zc.TV_LIVE_BREADCRUMB,component:qn,expiration:3600*24},{componentName:Zc.TV_LIVE_TOP_BLOCK,component:qR,expiration:60},{componentName:Zc.TV_LIVE_TIMELINE,component:a9,expiration:30}],$Y=15,l8=3600*24*30,JY=[{componentName:O0.TV_MOST_RECENT_HEADER_PAGE,component:Al,expiration:l8},{componentName:O0.TV_MOST_RECENT_BREADCRUMB,component:qn,expiration:l8},{componentName:O0.TV_MOST_RECENT_VIDEOS_LIST,component:IO,expiration:$Y},{componentName:O0.TV_MOST_RECENT_META,component:Nn,expiration:l8}],XY=15,c8=3600*24*30,eZ=[{componentName:j0.TV_MOST_VIEWED_HEADER_PAGE,component:Al,expiration:c8},{componentName:j0.TV_MOST_VIEWED_BREADCRUMB,component:qn,expiration:c8},{componentName:j0.TV_MOST_VIEWED_VIDEOS_LIST,component:OO,expiration:XY},{componentName:j0.TV_MOST_VIEWED_META,component:Nn,expiration:c8}],tZ=[{componentName:B0.TV_SHOW_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24},{componentName:B0.TV_SHOW_META,component:Nn,expiration:3600*24},{componentName:B0.TV_SHOW_MAIN_BLOCK,component:BO,expiration:3600},{componentName:B0.TV_SHOW_BREADCRUMB,component:qn,expiration:3600*24}],rZ=[{componentName:P0.TV_SHOWS_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:P0.TV_SHOWS_META,component:Nn,expiration:3600*24*30},{componentName:P0.TV_SHOWS_BREADCRUMB,component:qn,expiration:3600*24*30},{componentName:P0.TV_SHOWS_PROGRAMS,component:YD,expiration:3600*24*30}],nZ=[{componentName:Lo.TV_VIDEO_JSON_LD_BREADCRUMB,component:Oa,expiration:3600},{componentName:Lo.TV_VIDEO_META,component:Nn,expiration:3600*24},{componentName:Lo.TV_VIDEO_BREADCRUMB,component:qn,expiration:3600},{componentName:Lo.TV_VIDEO_PAGE_TITLE,component:Wr,expiration:3600},{componentName:Lo.TV_VIDEO_TOP_BLOCK,component:VR,expiration:3600},{componentName:Lo.TV_VIDEO_MOST_VIDEOS,component:BP,expiration:3600},{componentName:Lo.TV_VIDEO_BACKGROUND_IMAGE,component:R5,expiration:3600*24*30},{componentName:Lo.TV_VIDEO_EXTRACTS_AND_REPLAYS,component:e8,expiration:3600},{componentName:Lo.TV_VIDEO_JSON_LD_NEWS_ARTICLE,component:Bg,expiration:3600*24*30}],aZ=[{componentName:F0.UTIQ_BREADCRUMB,component:qn,expiration:3600*24*30},{componentName:F0.UTIQ_HEADER_PAGE,component:Xo,expiration:3600},{componentName:F0.UTIQ_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:F0.UTIQ_META,component:Nn,expiration:3600*24*30}],iZ=[{componentName:H0.WEATHER_BREADCRUMB,component:qn,expiration:3600*24*30},{componentName:H0.WEATHER_HEADER_PAGE,component:Xo,expiration:3600},{componentName:H0.WEATHER_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:H0.WEATHER_META,component:Nn,expiration:3600*24*30}],oZ=[{componentName:Cp.WHY_CREATE_ACCOUNT_BREADCRUMB,component:qn,expiration:3600*24*30},{componentName:Cp.WHY_CREATE_ACCOUNT_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:Cp.WHY_CREATE_ACCOUNT_META,component:Nn,expiration:3600*24*30}],sZ=[...aQ,...iQ,...lQ,...cQ,...vQ,...gQ,...yQ,...SQ,...DQ,...WQ,...QQ,...YQ,...eY,...dQ,...tY,...aY,...iY,...cY,...vY,...gY,...bY,..._Y,...SY,...NY,...DY,...IY,...jY,...kY,...BY,...PY,...FY,...HY,...UY,...zY,...qY,...VY,...WY,...QY,...YY,...ZY,...JY,...eZ,...tZ,...rZ,...nZ,...aZ,...iZ,...oZ],Wu=["publicommunique","production","magazine"];class d8{constructor({layout:t,config:n,adsEnabled:o=!0}){this.config=n,this.layout=t,this.adsEnabled=o}renderAd(t){return this.adsEnabled?this.config[this.layout][t]??null:null}}const tv=({layout:e,stylesheets:t=[],defaultPreload:n,preload:o,inlineCss:s,firstPartyScripts:l,thirdPartiesConfig:c,gtmNoScript:p,jsonLdBreadcrumb:m,jsonLdFaq:h,jsonLdClaimReview:A,jsonLdLiveBlogPosting:w,jsonLdNewsArticle:_,meta:D,children:S,envVariables:T,novaHost:C,brandId:I,goomHost:L,imgHost:P,staticHost:q,pageMetaData:H,customPrint:W,backgroundPageColor:Z,hasTopSentinel:ie,partnerLayoutContract:ee})=>{const $=t?.filter(X=>X.isCritical),V=t?.filter(X=>!X.isCritical);return a.jsxs("html",{lang:"fr",children:[a.jsxs("head",{children:[a.jsx("meta",{charSet:"UTF-8"}),a.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),n,o,$?.map(({name:X,url:se})=>a.jsx("link",{rel:"preload",href:se,type:"text/css",as:"style"},X)),D,a.jsx("link",{rel:"icon",type:"image/x-icon",href:`${T?.pageEndpoint||""}/favicons/favicon.ico`}),a.jsx("link",{rel:"icon",type:"image/svg+xml",sizes:"any",href:`${T?.pageEndpoint||""}/favicons/favicon.svg`}),m,h,A,w,_,$?.map(({name:X,url:se})=>a.jsx("link",{rel:"stylesheet",href:se,type:"text/css"},X)),s&&a.jsx("style",{children:s}),ee&&a.jsx(mu,{comment:nF}),a.jsx(w9,{firstPartyScripts:l,thirdPartiesConfig:c,envVariables:T,layout:e,partnerLayoutContract:ee}),l?.adsScript&&a.jsx("script",{src:l.adsScript}),l?.scriptSchedulerScript&&a.jsx("script",{async:!0,src:l.scriptSchedulerScript})]}),a.jsxs("body",{"data-api-host":C??"","data-brand-id":I??"","data-http-taskrunner-api-host":L??"","data-img-host":P??"","data-static-host":q??"","data-layout":e,"data-refresh-interval":H?.refreshAuto,"data-custom-print":W,className:ko("bg-color",{[`bg-color--is-${Z}`]:Z}),children:[ie&&a.jsx("div",{id:"js-top-sentinel",style:{position:"absolute",top:e===ve.DESKTOP?150:0,height:"1px",width:"1px"}}),p&&a.jsx("noscript",{dangerouslySetInnerHTML:{__html:p}}),ee&&a.jsx(mu,{comment:hF}),a.jsx(bB,{style:{display:"none"}}),ee&&a.jsx(mu,{comment:mF}),S,a.jsx("script",{src:l?.reactAndReactDomScript}),l?.cmpScript&&a.jsxs(a.Fragment,{children:[ee&&a.jsx(mu,{comment:vF}),a.jsx("script",{defer:!0,src:l.cmpScript}),ee&&a.jsx(mu,{comment:gF})]}),l?.pianoScript&&a.jsxs(a.Fragment,{children:[ee&&a.jsx(mu,{comment:yF}),a.jsx("script",{defer:!0,src:l.pianoScript}),ee&&a.jsx(mu,{comment:bF})]}),l?.edgeeScript&&a.jsx("script",{defer:!0,src:l.edgeeScript}),l?.mainTyrScript&&a.jsx("script",{defer:!0,src:l.mainTyrScript}),l?.memberScript&&a.jsx("script",{defer:!0,src:l.memberScript}),l?.iframeConsentScript&&a.jsx("script",{defer:!0,src:l.iframeConsentScript}),V.length>0&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.addEventListener('DOMContentLoaded', () => {${V.map(({name:X,url:se})=>`const link = document.createElement('link');link.id = '${X}';link.type = 'text/css';link.rel = 'stylesheet';link.media = 'screen,print';link.href = '${se}';document.body.appendChild(link);`).join("")}});`}})]})]})},Yr=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,chatbot:s,overviewBar:l,adTopPage:c,children:p,footer:m,toolbar:h,backgroundPageColor:A,hasArch:w=!0,hasTopSentinel:_,enableScrollToFeed:D=!1,enableScrollToTopComment:S=!1})=>a.jsxs(tv,{...e,backgroundPageColor:A,hasTopSentinel:_,children:[e.partnerLayoutContract&&a.jsx(mu,{comment:uF}),t,e.layout===ve.DESKTOP&&n,e.partnerLayoutContract&&a.jsx(mu,{comment:lF}),e.partnerLayoutContract&&a.jsx(mu,{comment:cF}),o,e.partnerLayoutContract&&a.jsx(mu,{comment:dF}),s,l,a.jsxs("main",{id:"page-wrap",className:"o-page",children:[c,p,w&&e.layout===ve.DESKTOP&&a.jsx("div",{id:"arch-wrapper",className:"o-page__arch"})]}),a.jsx("div",{id:"c-alert-info"}),a.jsx("div",{id:"cookie-banner"}),e.layout===ve.MOBILE&&h,D&&a.jsx("scroll2feed",{"data-zone_index":"9"}),S&&a.jsx("section",{className:"c-scroll-to-top-comment u-hidden",children:a.jsx("div",{className:"o-page-wrap",children:a.jsxs(he,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main u-relative",children:a.jsx(Fs,{color:"tertiary",iconProps:{name:"chevron-up",size:16},"aria-label":"Remonter en haut des commentaires",title:"Remonter en haut des commentaires"})}),a.jsx("aside",{className:"o-lt-show__aside "})]})})}),e.partnerLayoutContract&&a.jsx(mu,{comment:fF}),m,e.partnerLayoutContract&&a.jsx(mu,{comment:pF}),a.jsx(G_,{reactListItems:h6()})]});var P3=(e=>(e.DEFAULT="default",e.FULL_WIDTH_COVER="fullWidthCover",e))(P3||{});const F3=({htmlTemplateProps:e,adsPageConfig:t,header:n,headerMini:o,overviewBar:s,menu:l,chatbot:c,footer:p,readAlsoBanner:m,breadcrumb:h,liveIndicator:A,contentHeader:w,contentHeaderMobile:_,cover:D,socialBar:S,signature:T,summary:C,topContent:I,readAlsoBlockAbove:L,children:P,readAlsoBlockBelow:q,tagBar:H,commentButton:W,comment:Z,mostReadArticles:ie,newsletter:ee,sideBrandsArticles:$,scrollProgressBar:V,scrollProgressButton:X,chatbotButton:se,latestContentsCarousel:de,rubricCarousels:Ae,partnerCards:Oe,templating:Pe={enableAds:!0,enableSponsoredContents:!0,enableBlockLinks:!0,enableAudio:!1,enableNewsletter:!1,enableHeaderAd:!1,enableScrollToFeed:!1,enableFavorite:!0},templateVariant:Se="default"})=>{const Le=new d8({layout:e.layout,config:t,adsEnabled:Pe.enableAds}),Ie=["guide-achat","publicommunique","production"].includes(e.firstPartyScripts.datalayerInfo?.subType??""),{pageKey:Ue,pageName:Ee,enableSponsoredContents:Rt}=e?.firstPartyScripts?.datalayerInfo??{};let zt;Ee&&[cn.ARTICLE,cn.STORY,cn.LIVE].includes(Ee)&&(zt=Ue);const xt=Rt??Pe.enableSponsoredContents;return a.jsxs(Yr,{htmlTemplateProps:e,adTopPage:(e.layout===ve.DESKTOP||!Ie&&Pe.enableHeaderAd)&&Le.renderAd("topPage"),header:n,headerMini:o,overviewBar:s,menu:l,chatbot:c,footer:p,enableScrollToTopComment:!0,children:[e.layout===ve.DESKTOP?a.jsxs(ye,{as:"section",id:"page-content",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50","data-content-id":zt,children:[h,A,w,Se==="fullWidthCover"&&D,a.jsxs(he,{as:"section",gap:"xl",mb:"l",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[Se==="default"&&D,a.jsxs(he,{mb:"s",gap:"xl",className:"o-paper",children:[a.jsx(he,{as:"aside",justifyContent:"center",alignItems:"start",mt:"xxs-2",className:"o-paper__aside",children:S}),a.jsxs(ye,{as:"article",className:"o-paper__content",children:[a.jsxs("header",{className:"js-content-header",children:[T,C,Pe.enableFavorite&&a.jsx("div",{style:{height:"4rem"},id:"favorite-engage"}),Pe.enableAudio&&a.jsx(ye,{mb:"l",style:{height:"3.75rem"},id:"voxa-player"}),a.jsx("div",{className:"smalk-ads"}),I,L]}),a.jsx(ye,{id:"live-refresh-button",className:"u-sticky u-sticky--spaced-header-mini"}),P,a.jsxs("footer",{children:[q,H,m]})]})]}),W,xt&&a.jsx("div",{id:"taboola-below-article-thumbnails",className:"taboola","data-mode":"thumbs-feed-01","data-placement":"Below Article Thumbnails","data-target-type":"mix",style:{width:"100%",height:"203.125rem"}})]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[Se==="default"&&a.jsx("div",{id:"most-read-container",children:ie}),Le.renderAd("aboveSponsoredContent"),a.jsxs("div",{className:"o-lt-show__stickywrap",children:[xt&&a.jsx("div",{id:"taboola-aside-thumbnails",className:"taboola","data-mode":"thumbnails-rr","data-placement":"Right Rail Thumbnails","data-target-type":"mix"}),!Ie&&Le.renderAd("belowSponsoredContent"),ee&&a.jsx(ye,{mb:"xxl-2",children:ee}),Pe.enableBlockLinks&&$]})]})]}),!Ie&&Le.renderAd("banMiddle"),a.jsxs(he,{as:"section",gap:"xl",mb:"xxl-2",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:Z&&a.jsx("div",{id:"commentAnchor",children:Z})}),a.jsx("aside",{className:"o-lt-show__aside",children:!Ie&&Le.renderAd("stickyAside")})]}),a.jsxs(ye,{as:"section",mb:"xxl-2",children:[a.jsx("section",{id:"latest-contents-carousel-container",children:de}),Ae]}),a.jsx(ye,{mb:"xxl-2",children:Oe}),!Ie&&Le.renderAd("banBottom"),se]}):a.jsxs("section",{id:"page-content","data-content-id":zt,children:[a.jsxs("header",{className:"js-content-header",children:[h,A,_,Le.renderAd("aboveSummary"),C,Pe.enableAudio&&a.jsx(ye,{px:"m",mb:"l",style:{height:"3.75rem"},id:"voxa-player"}),Pe.enableFavorite&&a.jsx(ye,{mx:"m",style:{height:"4rem"},id:"favorite-engage"}),a.jsx("div",{className:"smalk-ads"}),I,L]}),a.jsxs("article",{children:[a.jsx(ye,{id:"live-refresh-button",className:"u-sticky u-sticky--spaced-top-screen"}),X,P]}),a.jsxs("footer",{children:[m,W,xt&&a.jsx("div",{id:"taboola-below-article-thumbnails",className:"taboola","data-mode":"thumbs-feed-01","data-placement":"Below Article Thumbnails","data-target-type":"mix"}),H,q]}),a.jsx("div",{id:"most-read-container",children:ie}),Pe.enableScrollToFeed&&a.jsx("scroll2feed",{"data-zone_index":"9"}),!Ie&&Le.renderAd("belowSponsoredContent"),a.jsxs(ye,{mt:"xl",mb:"l",ml:{xs:"m",md:"0"},children:[a.jsx("div",{id:"latest-contents-carousel-container",children:de}),Ae]}),a.jsx(ye,{mb:"xxl-2",children:Oe}),Le.renderAd("belowFooter"),V,se,S]}),a.jsx(DP,{}),a.jsx(G_,{reactListItems:h6()})]})},cI=({adHtml:e,htmlTemplateProps:t})=>a.jsx(tv,{layout:ve.MOBILE,firstPartyScripts:{scriptSchedulerScript:t?.firstPartyScripts?.scriptSchedulerScript,iframeConsentScript:t?.firstPartyScripts?.iframeConsentScript},thirdPartiesConfig:{veryHighPriority:[t?.thirdPartiesConfig?.veryHighPriority?.find(n=>Pd(n.name)==="didomi-sdk")]},stylesheets:t?.stylesheets,defaultPreload:!0,children:a.jsx("div",{className:"c-ad-container",children:e})}),uZ=["celebrites","cinema","nourriture","sport","gaming"],dI="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),fI=[{value:"chat",label:"Chat"},{value:"chien",label:"Chien"},{value:"autres",label:"Autres (lapin, rongeur, cheval, poisson…)"}],pI=[{value:"femelle",label:"Femelle"},{value:"male",label:"Mâle"}],hI=[{value:"celebrites",label:"Célébrités",icon:"star-outlined",color:"sport",size:30},{value:"cinema",label:"Cinéma",icon:"cinema",color:"entertainment",size:30},{value:"nourriture",label:"Nourriture",icon:"nourriture",color:"tempo",size:30},{value:"sport",label:"Sport",icon:"sport",color:"sport",size:30},{value:"gaming",label:"Gaming",icon:"gaming",color:"gaming",size:30},{value:"20minutes",label:"20 Minutes",icon:"logo-mini",color:"default",size:36},{value:"random",label:"Aléatoire",icon:"random",color:"default",size:34}],mI=hI.filter(e=>e.value==="random"||uZ.some(t=>t===e.value)),lZ=fI[0].value,cZ=pI[0].value,dZ=dI[0],fZ=mI[0]?.value??hI[0].value,vI=()=>a.jsxs(he,{mx:{xs:"m",md:"0"},my:"m",as:"form",direction:"column",gap:"xl",id:"animal-questionnaire",onSubmit:e=>e.preventDefault(),children:[a.jsxs("div",{children:[a.jsx(no,{mb:"xxs",size:{xs:"m",md:"xl"},children:"Animal"}),a.jsx(he,{direction:"row",wrap:"wrap",gap:"xxl",role:"radiogroup","aria-label":"Animal",children:fI.map(e=>a.jsx(M_,{id:`animal-${e.value}`,name:"animal",variant:"green",value:e.value,label:e.label,defaultChecked:e.value===lZ},e.value))})]}),a.jsxs("div",{children:[a.jsx(no,{mb:"xxs",size:{xs:"m",md:"xl"},children:"Genre"}),a.jsx(he,{direction:"row",gap:"xxl",role:"radiogroup","aria-label":"Genre",children:pI.map(e=>a.jsx(M_,{id:`genre-${e.value}`,name:"genre",variant:"green",value:e.value,label:e.label,defaultChecked:e.value===cZ},e.value))})]}),a.jsxs("div",{children:[a.jsx(no,{mb:"xxs",size:{xs:"m",md:"xl"},children:"1ère lettre du prénom"}),a.jsx(Uc,{id:"letter",name:"letter",placeholder:"Choisissez une lettre",defaultValue:dZ,options:dI.map(e=>({value:e,title:e}))})]}),a.jsxs("div",{children:[a.jsx(no,{size:{xs:"m",md:"xl"},children:"Thématiques"}),a.jsx(Me,{mb:"l",size:{xs:"m",md:"l"},children:"Voici une petite sélection de prénoms populaires."}),a.jsx(Oi,{colsNumber:{xs:3,sm:4,md:7},gap:"l",role:"radiogroup","aria-label":"Thématiques",children:mI.map(e=>a.jsx(g2,{className:"basis-100@xs",isSquare:!0,iconProps:{name:e.icon,size:e.size},inputProps:{type:"radio",name:"theme",value:e.value,defaultChecked:e.value===fZ,bg:"grey-200",color:"grey-400",selectedBg:e.color,selectedColor:"white"},children:e.label},e.value))})]}),a.jsxs(he,{gap:"m",wrap:"wrap",justifyContent:"center",children:[a.jsx(bn,{type:"button",color:"green",variant:"outlined",id:"animal-questionnaire-reset",children:"Réinitialiser mes choix"}),a.jsx(bn,{type:"button",color:"green",id:"animal-questionnaire-submit",children:"Voir les prénoms"})]}),a.jsx(Oi,{colsNumber:{xs:1,md:3},gap:"l",mt:"m",id:"animal-questionnaire-results","aria-live":"polite"})]}),gI=({breadcrumb:e,headerPage:t,summary:n,htmlTemplateProps:o,header:s,headerMini:l,overviewBar:c,menu:p,chatbot:m,footer:h,rubricCarousels:A})=>a.jsx(Yr,{htmlTemplateProps:o,adTopPage:o.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),header:s,headerMini:l,overviewBar:c,menu:p,chatbot:m,footer:h,children:o.layout===ve.DESKTOP?a.jsxs(ye,{as:"section",id:"page-content",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[e,t,a.jsxs(he,{as:"section",gap:"xl",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(he,{mb:"s",gap:"xl",className:"o-paper",children:a.jsx(ye,{as:"article",className:"o-paper__content",children:a.jsx(vI,{})})})}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"})})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_mtf",variant:"BAN"}),a.jsx(ye,{my:"m",children:A}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("section",{id:"page-content",children:[a.jsxs("header",{className:"js-content-header",children:[e,t,n]}),a.jsx("article",{children:a.jsx(vI,{})}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),A,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"})]})}),yI=({header:e,headerMini:t,overviewBar:n,footer:o,toolbar:s,menu:l,htmlTemplateProps:c,breadcrumb:p,pageTitle:m,archivesByDay:h,archivesOfDay:A,mostReadArticles:w,archivePdfList:_})=>a.jsx(Yr,{htmlTemplateProps:c,header:e,headerMini:t,menu:l,overviewBar:n,footer:o,toolbar:s,adTopPage:c.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",mb:"xxl",bg:"grey-50",children:[p,a.jsx(Hc,{color:"white",bg:"ultramarine",py:{xs:"xxl",md:"xl"},mt:"xl",mb:"xxs"}),c.layout===ve.DESKTOP?a.jsxs(he,{gap:"xl",mt:"m",className:"o-lt-show",children:[a.jsxs(he,{direction:"column",gap:"xl",className:"o-lt-show__main",children:[m,A,h,a.jsx("div",{id:"archive-pdf-list-container",children:_})]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[w,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"ARTICLE",className:"o-lt-show__stickywrap"})]})]}):a.jsxs(a.Fragment,{children:[a.jsxs(ye,{as:"article",mb:"xxl",bg:"grey-50",children:[m,A,h,a.jsx(ye,{id:"archive-pdf-list-container",mx:"m",children:_})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),w]})]})}),bI=({header:e,headerMini:t,overviewBar:n,footer:o,toolbar:s,menu:l,htmlTemplateProps:c,breadcrumb:p,pageTitle:m,yearsList:h,monthsList:A,mostReadArticles:w,archivePdfList:_})=>{const D=a.jsx(Wr,{as:"h2",size:{xs:"m",md:"s"},mb:"xl",mx:{xs:"m",md:"0"},children:"Archives par année"});return a.jsx(Yr,{htmlTemplateProps:c,header:e,headerMini:t,menu:l,overviewBar:n,footer:o,toolbar:s,adTopPage:c.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",mb:"xxl",bg:"grey-50",children:[p,a.jsx(Hc,{color:"white",bg:"ultramarine",py:{xs:"xxl",md:"xl"},mt:"xl",mb:"xxs"}),c.layout===ve.DESKTOP?a.jsxs(he,{gap:"xl",mt:"m",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[m,D,h,A,a.jsx("div",{id:"archive-pdf-list-container",children:_})]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[w,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}):a.jsxs(a.Fragment,{children:[a.jsxs(ye,{as:"article",mb:"xxl",bg:"grey-50",children:[m,D,h,A,a.jsx(ye,{id:"archive-pdf-list-container",mx:{xs:"m",md:"0"},children:_})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),w]})]})})},xI=({isPubstackAndVideo:e,contentSubtype:t})=>({desktop:{topPage:a.jsx(Ce,{adUnitCompletePath:Wu.includes(t)?"/49926454/20minutes_desktop/brand_publishing/ban_atf":"/49926454/20minutes_desktop/article/ban_atf",variant:"ATF"}),aboveSponsoredContent:a.jsx(Ce,{adUnitCompletePath:Wu.includes(t)?"/49926454/20minutes_desktop/brand_publishing/pave_atf":"/49926454/20minutes_desktop/article/pave_atf",variant:"PAVE"}),belowSponsoredContent:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/article/pave_mtf",variant:"PAVE"}),stickyAside:a.jsx(Ce,{className:"u-sticky u-sticky--spaced-header-mini",adUnitCompletePath:"/49926454/20minutes_desktop/article/pave_btf",variant:"PAVE"}),banMiddle:a.jsx(Ce,{mb:"xl",adUnitCompletePath:"/49926454/20minutes_desktop/article/ban_mtf",variant:"BAN"}),banBottom:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/article/ban_btf",variant:"BAN"})},mobile:{topPage:e?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/article/header_ad_display",variant:"HEADER"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/article/header_ad",variant:"HEADER"}),belowSponsoredContent:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/article/article_mtf",variant:"ARTICLE"}),belowFooter:a.jsx(Ce,{adUnitCompletePath:Wu.includes(t)?"/49926454/20minutes_webmobile/brand_publishing/article_btf":"/49926454/20minutes_webmobile/article/article_btf",variant:"ARTICLE"}),aboveSummary:a.jsx(Ce,{adUnitCompletePath:Wu.includes(t)?"/49926454/20minutes_webmobile/brand_publishing/article_atf":"/49926454/20minutes_webmobile/article/article_atf",variant:"ARTICLE",mb:"l"})}}),Hh=e=>e?e?.props?.dangerouslySetInnerHTML?.__html.replace(/<!--(.|\s)*?-->/gm,"").replace(/\n/gm,"")==="":!0,AI=["sport","societe","monde","faits-divers","economie","sante"],pZ=["production","publicommunique","magazine"],rv=e=>{const t=Ki(e);return t.querySelectorAll('[src*="www.ultimedia.com"], [data-src*="www.ultimedia.com"]').length>0||t.querySelectorAll('[src*="www.youtube.com"], [data-src*="www.youtube.com"]').length>0||t.querySelectorAll('[src*="www.dailymotion.com"], [data-src*="www.dailymotion.com"]').length>0||t.querySelectorAll('[src*="www.brut.media"], [data-src*="www.brut.media"]').length>0};class om{constructor({data:t,layout:n,templateActivators:o}){const s={enableDisplayOnHeaderAd:!1,enableAudio:!1,enableSponsoredContents:!0,enableNewsletter:!1};this.data=t,this.layout=n,this.templateActivators={...s,...o}}resolve(){return this.resolveTemplating(),{content:this.transformContent(),templateActivators:this.templateActivators}}}const hZ=["23057135412","23057517469"],mZ=["publicommunique","production"],vZ=["production","guide-achat","publicommunique"],gZ=["guide-achat","publicommunique","production"],EI=[{name:"vie-pro",id:"WI_cm2m31ija00010rnp6ws1d6vn"},{name:"sciences",id:"WI_cm4x1rl8b00030sqmmhlv0zia"}],H3={in_read_desktop:"/49926454/20minutes_desktop/article/inread",in_read_mobile:"/49926454/20minutes_webmobile/article/inread",pave_article:"/49926454/20minutes_desktop/article/pave_article",article_mtf:"/49926454/20minutes_webmobile/article/article_mtf"};class nv extends om{constructor({data:t,layout:n}){super({data:t,layout:n,templateActivators:{enableDisplayOnHeaderAd:!0,enableInArticleAds:!0,enableAds:!0,enableSponsoredContents:!0,enableBlockLinks:!0,enableAudio:!0,enablePodcast:!0,enableNewsletter:!1,enableHeaderAd:!1,enableScrollToFeed:!1,enableFavorite:!0}})}transformContent(){let t=this.data.articleContent;return this.templateActivators.enableInArticleAds&&(t=this.layout===ve.DESKTOP?this.insertInreadDesktop(t):this.insertInreadMobile(t)),this.templateActivators.enablePodcast&&(t=nv.insertHeadliner(t,this.data.htmlTemplateProps.firstPartyScripts.datalayerInfo?.breadcrumb||[""])),t=nv.transformContentVideos(t,this.layout),{...this.data,articleContent:t,media:nv.transformCover(this.data.cover)}}resolveTemplating(){const{articleContent:t,cover:n,htmlTemplateProps:o}=this.data,s=o.firstPartyScripts.datalayerInfo?.subType||"",l=o.firstPartyScripts.datalayerInfo?.dfpTagArticlesId?.[this.layout]||[],c=o.firstPartyScripts.datalayerInfo?.breadcrumb||[""],p=!hZ.some(A=>l.includes(A)),m=rv(w2(Wa(n))),h=rv(w2(Wa(t)))||m;this.templateActivators={...this.templateActivators,enableAds:p,enableDisplayOnHeaderAd:p&&h,enableHeaderAd:p&&!m,enableInArticleAds:p&&(s?!vZ.includes(s):!0),enableSponsoredContents:p&&!mZ?.includes(s),enableBlockLinks:!gZ?.includes(s),enableNewsletter:AI.includes(Pd(c[0]))||!!c[1]&&AI.includes(Pd(c[1])),enablePodcast:c.some(A=>EI.some(w=>w.name===Pd(A))),enableScrollToFeed:this.layout===ve.MOBILE,enableFavorite:!pZ.includes(s)}}injectInArticleAd({isInread:t,html:n,paragraph:o}){if(t&&!rv(n.toString())){const s=Wa(be.createElement(Ce,{adUnitCompletePath:this.layout===ve.DESKTOP?H3.in_read_desktop:H3.in_read_mobile,variant:"INREAD"}));o.insertAdjacentHTML("afterend",s)}else{const s=Wa(be.createElement(Ce,{adUnitCompletePath:this.layout===ve.DESKTOP?H3.pave_article:H3.article_mtf,variant:"ARTICLE"}));o.insertAdjacentHTML("afterend",s)}}insertInreadDesktop(t){const n=Ki(vu(t)),o=n.innerHTML.replace(/(<([^>]+)>)/gi,""),s=n.querySelectorAll('.c-content > p:not([class]):not([id^="c-collapse__content"] p)');if(s.length>=4&&o.length>1200){this.injectInArticleAd({isInread:!0,html:n,paragraph:s[2]});let l=6,c=!1,p=1;for(;s.length-1>l&&p<3;){const m=s[l];this.injectInArticleAd({isInread:c,html:n,paragraph:m}),l+=4,p+=1,c=!c}}return xp(n.toString())}insertInreadMobile(t){const n=Ki(vu(t)),o=n.innerHTML.replace(/(<([^>]+)>)/gi,""),s=n.querySelectorAll('.c-content > p:not([class]):not([id^="c-collapse__content"] p)');if(s.length>=4&&o.length>1200){this.injectInArticleAd({isInread:!0,html:n,paragraph:s[2]});let l=6,c=!1,p=1;for(;s.length-1>l&&p<3;){const m=s[l];this.injectInArticleAd({isInread:c,html:n,paragraph:m}),l+=4,p+=1,c=!c}}return xp(n.toString())}static insertHeadliner(t,n){const o=Ki(vu(t)),s=o.innerHTML.replace(/(<([^>]+)>)/gi,""),l=o.querySelectorAll('.c-content > p:not([class]):not([id^="c-collapse__content"] p)');if(l.length>=7&&s.length>1200){const c=n.map(A=>Pd(A)),p=EI.find(A=>c.includes(A.name))?.id||"",m=Wa(be.createElement("div",{className:"disco-widget","data-widget-id":p})),h=Wa(be.createElement("script",{src:"https://disco.headliner.link/d/20minutes/web/js/widget.js",defer:!0}));l[5].insertAdjacentHTML("afterend",h),l[5].insertAdjacentHTML("afterend",m)}return xp(o.toString())}static transformContentVideos(t,n){const o=Ki(vu(t)),s=b9(o);return s.length===0||s.forEach(l=>{let c=l.getAttribute("src");if(!c)return;c.startsWith("//")&&(c=`https:${c}`);const{origin:p,pathname:m,search:h}=new URL(c),A=`${p}${m}`.replace(/\/chromeless\/1$/,"").replace(/\/$/,"");l.removeAttribute("src"),l.setAttribute("data-src",`${A}${n===ve.DESKTOP?"":"/chromeless/1"}${h}`)}),xp(o.toString())}static transformCover(t){const n=Ki(vu(t)),o=b9(n);return o.length===0?t:(o.forEach(s=>{const l=s.getAttribute("src");l&&(s.setAttribute("data-src",l),s.removeAttribute("src"))}),xp(n.toString()))}}const _I=({htmlTemplateProps:e,header:t,headerMini:n,overviewBar:o,menu:s,chatbot:l,footer:c,readAlsoBanner:p,breadcrumb:m,contentHeader:h,contentHeaderMobile:A,cover:w,socialBar:_,signature:D,summary:S,articleContent:T,encloseBanner:C,highlightedText:I,comment:L,commentButton:P,readAlsoBlockBelow:q,tagBar:H,mostReadArticles:W,newsletter:Z,sideBrandsArticles:ie,latestContentsCarousel:ee,rubricCarousels:$,partnerCards:V,scrollProgressBar:X,scrollProgressButton:se,chatbotButton:de,templateVariant:Ae=P3.DEFAULT})=>{const Pe=new nv({data:{articleContent:T,cover:e.layout===ve.MOBILE?A:w,htmlTemplateProps:e},layout:e.layout}).resolve(),Se={...e,firstPartyScripts:{...e.firstPartyScripts,partnerFeatures:{...e.firstPartyScripts.partnerFeatures,enableDisplayOnHeaderAd:Pe.templateActivators?.enableDisplayOnHeaderAd??!1}}},Le=xI({isPubstackAndVideo:Pe.templateActivators?.enableDisplayOnHeaderAd,contentSubtype:Se.firstPartyScripts.datalayerInfo?.subType||""});return a.jsxs(F3,{htmlTemplateProps:Se,header:t,headerMini:n,overviewBar:o,menu:s,chatbot:l,footer:c,adsPageConfig:Le,readAlsoBanner:p,breadcrumb:m,contentHeader:h,contentHeaderMobile:Pe.content.media,cover:Pe.content.media,socialBar:_,signature:D,summary:S,readAlsoBlockBelow:q,tagBar:H,comment:L,commentButton:P,mostReadArticles:W,newsletter:Z,sideBrandsArticles:ie,scrollProgressBar:X,scrollProgressButton:se,chatbotButton:de,latestContentsCarousel:ee,rubricCarousels:$,partnerCards:V,templating:Pe.templateActivators,templateVariant:Ae,children:[Pe.content.articleContent,a.jsx("div",{className:"js-limit-scroll-close-article-btn js-limit-scroll-chatbot-btn js-limit-scroll-progress-bar"}),C&&C,!Hh(I)&&a.jsx(ye,{mx:{xs:"m",md:"0"},mb:"l",children:I})]})},wI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,headerPage:c,astroHomepageContent:p,astroTiles:m,astroLinksNextTypes:h})=>{const A={...e,firstPartyScripts:{...e.firstPartyScripts,partnerFeatures:{...e.firstPartyScripts.partnerFeatures,enableDisplayOnHeaderAd:!0}}};return a.jsx(Yr,{header:t,headerMini:n,adTopPage:A.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),menu:o,footer:s,htmlTemplateProps:A,children:A.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(he,{gap:"xl",className:"o-lt-show",children:[a.jsx(he,{direction:"column",gap:"xxs",className:"o-lt-show__main",children:p}),a.jsxs(he,{as:"aside",direction:"column",gap:"xl",alignItems:"center",className:"o-lt-show__aside",children:[m,h,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs(ye,{as:"article",mb:"xxl",children:[l,c,a.jsx(he,{direction:"column",gap:"xl",className:"o-lt-show",children:a.jsxs(he,{direction:"column",gap:"xl",alignItems:"center",className:"o-lt-show__main",children:[m,h,p]})})]})})},SI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,headerPage:c,headerBanner:p,astroContent:m,link:h,astroTiles:A,astroLinksNextTypes:w})=>{const _={...e,firstPartyScripts:{...e.firstPartyScripts,partnerFeatures:{...e.firstPartyScripts.partnerFeatures,enableDisplayOnHeaderAd:!0}}};return a.jsx(Yr,{header:t,menu:o,headerMini:n,footer:s,htmlTemplateProps:_,adTopPage:_.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs(he,{direction:"column",gap:"xl",className:"o-lt-show__main",children:[p,m,a.jsx(he,{justifyContent:"center",children:h}),a.jsx(ye,{mb:{xs:"0",md:"l"},children:a.jsx(m6,{})})]}),a.jsxs(he,{as:"aside",direction:"column",gap:"xl",alignItems:"center",className:"o-lt-show__aside",children:[_.layout===ve.MOBILE&&a.jsx(Wr,{as:"h3",ml:{xs:"m",md:"0"},children:"Autres horoscopes"}),A,w,e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ARTICLE"})]})]}),_.layout===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})})},yZ=()=>({desktop:{topPage:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),aside:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"}),aboveFooter:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})},mobile:{topPage:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),middle:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),aboveFooter:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"})}}),CI=({htmlTemplateProps:e,header:t,headerMini:n,contactForm:o,mostReadArticles:s,contactDetails:l,addresses:c,menu:p,footer:m,newsletter:h,breadcrumb:A})=>{const w=new d8({layout:e.layout,config:yZ(),adsEnabled:!0});return a.jsxs(Yr,{header:t,headerMini:n,menu:p,footer:m,htmlTemplateProps:e,adTopPage:w.renderAd("topPage"),children:[a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",mb:{xs:"xxl"},bg:"grey-50",children:[A,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs(he,{direction:"column",gap:"xl",className:"o-lt-show__main",children:[a.jsx(Wr,{size:"xxl-2",mx:"m",mb:"l",children:"Contact"}),a.jsx(ye,{ml:"m",mr:{sm:"0",xs:"m"},mb:"xxl",children:o}),a.jsx(wn,{color:"ultramarine",mb:"s",ml:"m",mr:{md:"0",xs:"m"}}),l,c]}),e.layout===ve.MOBILE&&w.renderAd("middle"),a.jsxs(he,{as:"aside",direction:"column",gap:"xl",className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:s}),e.layout===ve.DESKTOP&&w.renderAd("aside")]})]}),w.renderAd("aboveFooter")]}),h]})},TI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:p,newsletter:m,tabs:h})=>{const A=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Yr,{htmlTemplateProps:e,adTopPage:A,header:t,headerMini:n,menu:o,footer:s,toolbar:l,children:e.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap",mb:"xxl",bg:"grey-50",children:[c,p,h,a.jsx(Ce,{mb:"xxl-2",adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[c,a.jsx(Hc,{bg:"direct",mb:"xxs"}),p,h,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_3",variant:"ARTICLE"}),m]})})},NI=({header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,articles:p})=>a.jsx(Yr,{header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(he,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",id:"elections-ia-articles-container",children:p}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,p,a.jsx(Ce,{my:"l",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"})]})}),DI=({htmlTemplateProps:e,resultsFirstRound:t,participationAndAbstentionFirstRound:n,resultsSecondRound:o,participationAndAbstentionSecondRound:s,distribution:l,mapDepartments:c,mapConstituencies:p,mapEuropean:m,mapTownsByDepartments:h})=>a.jsx(tv,{...e,children:a.jsxs("div",{children:[t,n,o,s,l,a.jsx("div",{id:"elections-departments-map-container",children:c}),a.jsx("div",{id:"elections-constituencies-map-container",children:p}),a.jsx("div",{id:"elections-european-map-container",children:m}),a.jsx("div",{id:"elections-towns-by-departments-map-container",children:h})]})}),RI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,overviewBar:s,footer:l,breadcrumb:c,headerPage:p,resultsFirstRound:m,participationAndAbstentionFirstRound:h,resultsSecondRound:A,participationAndAbstentionSecondRound:w,distribution:_,mapDepartments:D,mapConstituencies:S,mapEuropean:T,mapTownsByDepartments:C,summary:I,sideLocalitiesBottom:L,lastArticlesCarousel:P,resultsFiltered:q})=>{let H;const W=A===void 0?!1:!Hh(A);return e.layout===ve.DESKTOP?(H=a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"elections-towns-by-departments-map-container",children:C}),m,h,a.jsx("div",{id:"elections-departments-map-container",children:D}),a.jsx("div",{id:"elections-constituencies-map-container",children:S}),a.jsx("div",{id:"elections-european-map-container",children:T}),_]}),W&&(H=a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"elections-towns-by-departments-map-container",children:C}),_,a.jsx("div",{id:"elections-departments-map-container",children:D}),a.jsx("div",{id:"elections-constituencies-map-container",children:S}),A,w,a.jsx(wn,{thickness:"thick",color:"ultramarine",my:"xxl-2"}),m,h]})),a.jsx(Yr,{adTopPage:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),header:t,headerMini:n,menu:o,overviewBar:s,footer:l,htmlTemplateProps:e,hasTopSentinel:!0,children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,p,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsxs("div",{className:"o-lt-show__main",children:[H,I]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"}),L,a.jsx(Ce,{className:"o-lt-show__stickywrap",adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_btf",variant:"PAVE"})]})]}),P,a.jsx(Ce,{mb:"xxl",adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_mtf",variant:"BAN"}),q,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})})):(H=a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"elections-towns-by-departments-map-container",children:C}),m,L,h,a.jsx("div",{id:"elections-departments-map-container",children:D}),a.jsx("div",{id:"elections-constituencies-map-container",children:S}),a.jsx("div",{id:"elections-european-map-container",children:T}),_]}),W&&(H=a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"elections-towns-by-departments-map-container",children:C}),_,L,a.jsx("div",{id:"elections-departments-map-container",children:D}),a.jsx("div",{id:"elections-constituencies-map-container",children:S}),A,w,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"}),a.jsx(wn,{thickness:"thick",color:"ultramarine",my:"xxl",mx:"m"}),m,h,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE",mb:"xxl"})]})),a.jsx(Yr,{header:t,headerMini:n,menu:o,overviewBar:s,footer:l,htmlTemplateProps:e,hasTopSentinel:!0,children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,p,a.jsx(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:a.jsxs("div",{className:"o-lt-show__main",children:[H,I]})}),P,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_3",variant:"ARTICLE",mb:"xxl"}),q,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_4",variant:"ARTICLE",mb:"xxl"})]})}))},OI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,overviewBar:s,footer:l,breadcrumb:c,headerPage:p,multipleResults:m,resultsFirstRound:h,participationAndAbstentionFirstRound:A,resultsSecondRound:w,participationAndAbstentionSecondRound:_,summary:D,inseeBlock:S,refreshButton:T,sideLocalitiesTop:C,sideLocalitiesBottom:I,lastArticlesCarousel:L,lastArticlesCarouselBis:P,resultsFiltered:q})=>{let H;const W=w===void 0?!1:!Hh(w);return e.layout===ve.DESKTOP?(H=a.jsxs(a.Fragment,{children:[m,h,A,D,S]}),W&&(H=a.jsxs(a.Fragment,{children:[m,w,_,a.jsx(wn,{thickness:"thick",color:"ultramarine",my:"xxl-2"}),h,A,D,S]})),a.jsx(Yr,{adTopPage:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),header:t,headerMini:n,menu:o,overviewBar:s,footer:l,htmlTemplateProps:e,hasTopSentinel:!0,children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,p,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xxl-2",children:[a.jsxs("div",{className:"o-lt-show__main",children:[T,H]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[C,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"}),I,a.jsx(Ce,{className:"o-lt-show__stickywrap",adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_btf",variant:"PAVE"})]})]}),L,P,a.jsx(Ce,{mb:"xxl",adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_mtf",variant:"BAN"}),q,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})})):(H=a.jsxs(a.Fragment,{children:[m,h,C,A,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"}),I,D,S]}),W&&(H=a.jsxs(a.Fragment,{children:[m,w,C,_,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"}),I,a.jsx(wn,{thickness:"thick",color:"ultramarine",my:"xxl",mx:"m"}),h,A,D,S]})),a.jsx(Yr,{header:t,headerMini:n,menu:o,overviewBar:s,footer:l,htmlTemplateProps:e,hasTopSentinel:!0,children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,p,a.jsx(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xxl-2",children:a.jsxs("div",{className:"o-lt-show__main",children:[T,H]})}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE",mb:"xxl"}),L,P,q,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})}))},II=({header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,errorContent:l})=>a.jsxs(Yr,{header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),children:[a.jsx(ye,{as:"section",className:"o-page-wrap u-arch-shadow",pb:{xs:"xl",md:"xxl"},pt:{xs:"s",md:"xxl"},px:"m",bg:"grey-50",children:l}),s.layout===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/pave_atf",variant:"PAVE"})]}),jI=({htmlTemplateProps:e,footer:t,headerPage:n,gamesList:o,iframe:s,ad:l})=>a.jsxs(tv,{...e,children:[a.jsx(ye,{id:"page-wrap",className:"o-page",children:a.jsxs(ye,{as:"article",pb:"xl",bg:"grey-50",children:[n,s,o,l]})}),t]}),MI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:p,gamesList:m})=>a.jsx(Yr,{adTopPage:e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),header:t,headerMini:n,menu:o,footer:s,toolbar:l,htmlTemplateProps:e,children:e.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,p,a.jsx(ye,{id:"mbrs-game-block-container",style:{minHeight:"98px"},mt:"xl"}),a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mt:"xl",mb:"xxl-2",children:[a.jsx("div",{className:"o-lt-show__main",children:m}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs(ye,{as:"article",pb:"xl",bg:"grey-50",children:[c,p,a.jsx(ye,{id:"mbrs-game-block-container",my:"l",style:{minHeight:"78px"}}),m,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_3",variant:"ARTICLE"})]})}),bZ=["anagrammes","mots-croises","mots-fleches","mots-melanges","sudoku","sudoku-chaos","sudoku-killer"],LI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,toolbar:l,breadcrumb:c,contact:p,headerPage:m,gameContent:h,iframe:A,faq:w})=>a.jsxs(Yr,{htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,toolbar:l,adTopPage:e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):void 0,children:[a.jsxs(ye,{as:"article",className:ko({"o-page-wrap u-arch-shadow":e.layout===ve.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,m,A,bZ.includes(e.firstPartyScripts.datalayerInfo?.pageKey||"")&&a.jsx("div",{id:"mbrs-game-ranking"}),p,e.layout===ve.DESKTOP?a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[w,h]}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}):a.jsxs(a.Fragment,{children:[w,h]})]}),e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]}),sm=({content:e})=>a.jsx("section",{dangerouslySetInnerHTML:{__html:e}});class xZ extends om{constructor({data:t,layout:n}){super({data:t,layout:n,templateActivators:{}})}transformContent(){const t={};return this.data.articlesListTop&&(t.articlesListTop=this.layout===ve.DESKTOP?a.jsx(sm,{content:this.handleDesktopAds()}):a.jsx(sm,{content:this.handleMobileAds()})),{...this.data,...t}}resolveTemplating(){return null}handleDesktopAds(){const t=Ki(vu(this.data.articlesListTop)),n=t.querySelectorAll(".card-item-4");if(n&&n.length===1){const o=Wa(be.createElement(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/native_web",variant:"ARTICLE"}));n[0].insertAdjacentHTML("afterend",o)}return t.toString()}handleMobileAds(){const t=Ki(vu(this.data.articlesListTop)),n=t.querySelectorAll(".card-item-3");if(n&&n.length===1){const o=Wa(be.createElement(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_1",variant:"ARTICLE"}));n[0].insertAdjacentHTML("afterend",o)}return t.toString()}}const kI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,overviewBar:s,footer:l,toolbar:c,articlesListTop:p,featuredTag:m,secondArticlesListMobile:h,articlesListBottom:A,mostReadArticles:w,thirdArticlesListMobile:_,localNews:D,tvBlock:S,showsReplaysCarousel:T,gamesCarousel:C,currentVideos:I,entertainment:L,sport:P,inPictures:q,tempo:H,highTech:W,planet:Z,professionalLife:ie,podcasts:ee,purchaseGuide:$,discoverNow:V,cityByCity:X,partners:se,conso:de,movies:Ae,tvProgram:Oe,shows:Pe,municipalBlock:Se})=>{const Ie=new xZ({data:{articlesListTop:p},layout:e.layout}).resolve(),Ue=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/header_ad",variant:"HEADER",mb:"m"});return a.jsx(Yr,{htmlTemplateProps:e,header:t,headerMini:n,menu:o,overviewBar:s,footer:l,toolbar:c,adTopPage:Ue,children:e.layout===ve.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsx(k_,{}),a.jsxs(ye,{as:"section",className:"o-page-wrap u-arch-shadow",pb:"xxl-2",bg:"grey-50",children:[a.jsxs(he,{gap:"xl",mt:"m",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:Ie.content.articlesListTop}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx(O5,{iconSize:20,mb:"l",layout:ve.DESKTOP}),w,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),m,a.jsx(wn,{color:"ultramarine",mb:"xxl"}),a.jsxs(he,{gap:"xl",className:"o-lt-show","data-scroll-trigger":!0,children:[a.jsx("div",{className:"o-lt-show__main",children:A}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{className:"o-lt-show__stickywrap",adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_btf",variant:"PAVE"})})]}),a.jsx("div",{id:"local-news-container",children:D})]}),S,T,I,a.jsx(ye,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"0",bg:"grey-50",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_mtf",variant:"BAN"})}),C,a.jsxs(ye,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"xxl-2",pb:"xxl",bg:"grey-50",children:[L,P,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_mtf1",variant:"BAN"})]}),q,a.jsxs(ye,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"xxl-2",pb:"xxl",bg:"grey-50",children:[H,W,Z,ie,de,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_mtf2",variant:"BAN"})]}),ee,a.jsxs(ye,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"xxl-2",pb:"xxl",bg:"grey-50",children:[$,V]}),Ae,Oe,Pe,a.jsxs(ye,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"xxl-2",pb:"xxl",bg:"grey-50",children:[X,se,Se,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_btf",variant:"BAN"})]})]}):a.jsxs(a.Fragment,{children:[Ie.content.articlesListTop,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_2",variant:"ARTICLE"}),a.jsx(O5,{mb:"l",layout:ve.MOBILE}),w,h,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_3",variant:"ARTICLE"}),m,_,a.jsx("div",{id:"local-news-container",children:D}),S,T,I,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_4",variant:"ARTICLE"}),C,L,P,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_5",variant:"ARTICLE"}),q,H,W,Z,ie,de,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_6",variant:"ARTICLE"}),ee,$,V,Ae,Oe,Pe,X,se,Se,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_7",variant:"ARTICLE"})]})})},BI=({breadcrumb:e,headerPage:t,cover:n,encloseBanner:o,header:s,headerMini:l,htmlTemplateProps:c,footer:p,jobFaqs:m,jobProperties:h,menu:A,relatedJobsCategory:w,professionalLifeArticles:_,overviewBar:D})=>a.jsx(Yr,{header:s,headerMini:l,menu:A,footer:p,htmlTemplateProps:c,adTopPage:c.layout===ve.MOBILE?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),overviewBar:D,children:c.layout===ve.MOBILE?a.jsxs("article",{children:[e,t,a.jsx(o2,{inner:!0,mt:"s",children:h}),a.jsx(Ce,{mb:"l",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_atf",variant:"ARTICLE"}),m,o,w,_,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ARTICLE"})]}):a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[e,t,a.jsxs(he,{gap:"xl",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[n,h,m,o]}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),w,_,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})}),PI=({htmlTemplateProps:e,overviewBar:t,header:n,headerMini:o,menu:s,footer:l,breadcrumb:c,headerPage:p,cardsList:m,businessSectorsList:h,professionalLifeArticles:A})=>{const w=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Yr,{adTopPage:w,header:n,headerMini:o,menu:s,footer:l,htmlTemplateProps:e,overviewBar:t,children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,p,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsx("div",{className:"o-lt-show__main",children:m}),a.jsx("aside",{className:"o-lt-show__aside",children:e.layout===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),e.layout===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_mtf",variant:"BAN",mb:"xxl-2"}),h,A,e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"})]})})},FI=({header:e,headerMini:t,headerPage:n,menu:o,footer:s,htmlTemplateProps:l,breadcrumb:c,mainInformationBlock:p,articles:m})=>a.jsx(Yr,{htmlTemplateProps:l,header:e,headerMini:t,menu:o,footer:s,adTopPage:l.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:l.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[c,n,p,!Hh(m)&&a.jsxs(he,{className:"o-lt-show",mt:"xxl",children:[a.jsx(ye,{className:"o-lt-show__main",children:a.jsx("div",{id:"journalist-article-list-container",children:m})}),a.jsx(ye,{as:"aside",className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]}):a.jsxs(ye,{as:"article",children:[c,n,p,!Hh(m)&&a.jsx("div",{id:"journalist-article-list-container",children:m}),a.jsx(Ce,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_1",variant:"ATF"})]})}),HI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:p,cardsList:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Yr,{adTopPage:h,header:t,headerMini:n,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:[a.jsxs(ye,{as:"article",className:ko({"o-page-wrap u-arch-shadow":e.layout===ve.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,p,m]}),a.jsx(Ce,{adUnitCompletePath:e.layout===ve.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},UI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,headerPage:c,faq:p,cardsList:m,regionsList:h})=>{const A=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Yr,{adTopPage:A,header:t,headerMini:n,menu:o,footer:s,htmlTemplateProps:e,children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[l,c,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsxs("div",{className:"o-lt-show__main",children:[a.jsx(I2,{buttonLabel:"Publier votre annonce légale",title:a.jsxs(a.Fragment,{children:["Votre annonce légale",a.jsx("br",{}),"en 4 étapes avec 20 Minutes"]}),url:"https://20minutes.medialex.fr/20minutes/nouvelle-annonce/formulaire",mt:"l",mb:"xl"}),p,a.jsx(wn,{color:"ultramarine",my:"xxl"}),a.jsx("div",{id:"department-legal-notice-list-container",children:m})]}),e.layout===ve.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),h,e.layout===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]})})},zI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,headerPage:c,cardsList:p,departmentsList:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Yr,{adTopPage:h,header:t,headerMini:n,menu:o,footer:s,htmlTemplateProps:e,children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[l,c,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsxs("div",{className:"o-lt-show__main",children:[a.jsx(I2,{buttonLabel:"Publier votre annonce légale",title:a.jsxs(a.Fragment,{children:["Votre annonce légale",a.jsx("br",{}),"en 4 étapes avec 20 Minutes"]}),url:"https://20minutes.medialex.fr/20minutes/nouvelle-annonce/formulaire",mt:"l",mb:"xl"}),a.jsx(t9,{items:[{id:1,text:a.jsxs(a.Fragment,{children:[a.jsx("b",{style:{display:"contents"},children:"Séléctionnez"})," votre modèle d’annonce légale"]})},{id:2,text:a.jsxs(a.Fragment,{children:[a.jsx("b",{style:{display:"contents"},children:"Remplissez"})," le formulaire en quelques clics"]})},{id:3,text:a.jsxs(a.Fragment,{children:[a.jsx("b",{style:{display:"contents"},children:"Annonce légale"})," publiée sous 24h après validation et conformité légale"]})},{id:4,text:a.jsxs(a.Fragment,{children:[a.jsx("b",{style:{display:"contents"},children:"Attestation"})," de parution et facture disponibles immédiatement après la publication"]})}],mb:"xxl-2",mx:{xs:"m",md:"0"}}),a.jsx(Pg,{contentProps:{className:"c-prose--dark c-prose--serif"},items:[{title:"Pourquoi publier une annonce légale avec 20 Minutes ?",content:"<p>Publier une annonce légale avec 20 Minutes, c’est opter pour un service rapide et conforme. En quelques clics, vous validez votre annonce, qui est vérifiée sous 24 heures pour respecter les exigences légales. Profitez de la visibilité d’un média reconnu et recevez instantanément votre attestation de parution et votre facture en ligne. Avec 20 Minutes, bénéficiez d’une publication efficace et accessible, pour toutes les étapes importantes de votre entreprise !</p>"},{title:"Qui doit publier une annonce légale ?",content:"<p>La publication d’une annonce légale est obligatoire pour les entreprises à chaque étape clé de leur parcours juridique : création, modification de statuts, changement de dirigeant, augmentation de capital ou dissolution. Que vous soyez une société commerciale, une association, ou dans certains cas une micro-entreprise, cette démarche assure transparence et conformité envers le public et vos partenaires.</p>"},{title:"Comment publier une annonce légale avec 20 Minutes ?",content:"<p>Publier une annonce légale avec 20 Minutes est simple et rapide. Remplissez le formulaire avec les informations de votre entreprise en quelques étapes, et laissez-vous guider. Une fois votre annonce soumise, notre équipe la vérifie pour garantir sa conformité légale. En 24 heures, votre annonce est publiée, et vous recevez immédiatement votre attestation de parution ainsi que votre facture.</p>"},{title:"Quels sont les tarifs d’une annonce légale sur 20 Minutes ?",content:"<p>Les tarifs d’une annonce légale sur 20 Minutes varient en fonction de plusieurs critères : le type d’annonce (création d’entreprise, modification de statut, dissolution, etc…), le département de publication, et le nombre de lignes. En France, le coût est généralement calculé par ligne et est soumis à une tarification réglementée par département.</p>"},{title:"Comment trouver mon annonce légale sur 20 Minutes ?",content:"<p>Pour retrouver votre annonce légale sur 20 Minutes, vous pouvez accéder directement à notre site et vous rendre dans la section dédiée aux annonces légales. En saisissant des informations spécifiques, comme le nom du département, la période de publication ou le type d’annonce vous accéderez rapidement à votre annonce. Une fois trouvée, vous pourrez la consulter ou télécharger l’attestation de parution si vous en avez besoin pour vos démarches administratives.</p>"},{title:"Dans quels départements puis-je publier une annonce légale avec 20 Minutes ?",content:"<p>Vous avez la possibilité de publier une annonce légale dans plus de 100 départements en France. Nous couvrons une grande partie du territoire, incluant les principales métropoles ainsi que de nombreuses autres départements. Pour savoir si votre département est éligible, consultez la liste complète des zones disponibles ou indiquez simplement votre code postal lors de la préparation de votre annonce pour une validation rapide.</p>"}]}),a.jsx(wn,{color:"ultramarine",my:"xxl"}),a.jsx(Wr,{as:"h2",size:"s",mb:"s",mx:{xs:"m",md:"0"},children:"Consulter les annonces légales publiées sur 20 Minutes"}),a.jsx("div",{id:"home-legal-notice-list-container",children:p})]}),e.layout===ve.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),m,e.layout===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]})})},qI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,headerPage:c,content:p,cardsList:m,departmentsList:h})=>{const A=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),w=a.jsx(I2,{buttonLabel:"Publier votre annonce légale",title:a.jsxs(a.Fragment,{children:["Votre annonce légale",a.jsx("br",{}),"en 4 étapes avec 20 Minutes"]}),url:"https://20minutes.medialex.fr/20minutes/nouvelle-annonce/formulaire",mt:"xxl-2",mb:"xxl"}),_=a.jsx(Wr,{as:"h2",size:"s",mb:"s",mx:{xs:"m",md:"0"},children:"Consulter les annonces légales publiées sur 20 Minutes"});return a.jsx(Yr,{adTopPage:A,header:t,headerMini:n,menu:o,footer:s,htmlTemplateProps:e,children:e.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[l,c,a.jsxs(he,{gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsxs("div",{className:"o-lt-show__main",children:[p,w,a.jsx(wn,{color:"ultramarine",my:"xxl"}),_,m]}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),h]}):a.jsxs(ye,{as:"article",pb:"xl",bg:"grey-50",children:[l,c,p,w,a.jsx(wn,{color:"ultramarine",my:"xxl"}),_,m,h,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]})})},AZ=()=>({desktop:{topPage:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/live/ban_atf",variant:"ATF"}),aboveSponsoredContent:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/live/pave_atf",variant:"PAVE"}),belowSponsoredContent:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/live/pave_mtf",variant:"PAVE"}),stickyAside:a.jsx(Ce,{className:"u-sticky u-sticky--spaced-header-mini",adUnitCompletePath:"/49926454/20minutes_desktop/live/pave_btf",variant:"PAVE"}),banMiddle:a.jsx(Ce,{mb:"xl",adUnitCompletePath:"/49926454/20minutes_desktop/live/ban_mtf",variant:"BAN"}),banBottom:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/live/ban_btf",variant:"BAN"})},mobile:{topPage:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/live/header_ad",variant:"HEADER"}),belowSponsoredContent:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/live/article_mtf",variant:"ARTICLE"}),belowFooter:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/article/article_btf",variant:"ARTICLE"}),aboveSummary:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/live/article_atf",variant:"ARTICLE",mb:"l"})}});class EZ extends om{constructor({data:t,layout:n}){super({data:t,layout:n,templateActivators:{enableAds:!0,enableDisplayOnHeaderAd:!1,enableBlockLinks:!0,enableHeaderAd:!0,enableSponsoredContents:!0,enableFavorite:!0}})}transformContent(){return{...this.data,liveContent:this.data.livePostsThread}}resolveTemplating(){const{livePostsThread:t,topContent:n}=this.data,o=rv(w2(Wa(t)+Wa(n)));this.templateActivators={...this.templateActivators,enableDisplayOnHeaderAd:this.templateActivators.enableAds&&o}}}const _Z=e=>{const t=e.match(/bg-(\w+)/);return t?t[1]:void 0},VI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,liveIndicator:l,breadcrumb:c,contentHeader:p,contentHeaderMobile:m,cover:h,socialBar:A,signature:w,summary:_,topContent:D,liveQuestion:S,livePostsThread:T,liveImportantPostsThread:C,comment:I,commentButton:L,readAlsoBlockAbove:P,tagBar:q,mostReadArticles:H,newsletter:W,sideBrandsArticles:Z,latestContentsCarousel:ie,rubricCarousels:ee,partnerCards:$,scrollProgressButton:V})=>{const X=_&&be.isValidElement(_)&&_.props?.dangerouslySetInnerHTML?.__html?.includes("div"),se=be.useMemo(()=>[{name:"le-direct",title:"Le Direct",content:T,tabColor:"red",isNoWrap:!0},...X||_?.props?.summary||P?[{name:"resume",title:"Le contexte",content:a.jsxs(a.Fragment,{children:[_,P]}),isNoWrap:!0,tabColor:X?_Z(_?.props?.dangerouslySetInnerHTML?.__html||""):_?.props?.rubricColor}]:[],...be.isValidElement(C)&&C.props?.dangerouslySetInnerHTML?.__html?.includes("div")?[{name:"temps-forts",title:"Les temps forts",tabColor:"red",content:C,isNoWrap:!0}]:[]],[_?.props?.rubricColor,X,C,T,P,_]),Ae=new EZ({data:{livePostsThread:T,topContent:D},layout:e.layout}).resolve(),Oe=AZ();return a.jsxs(F3,{htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,adsPageConfig:Oe,liveIndicator:l,breadcrumb:c,contentHeader:p,contentHeaderMobile:m,cover:h,socialBar:A,signature:w,topContent:D,tagBar:q,comment:I,commentButton:L,mostReadArticles:H,newsletter:W,sideBrandsArticles:Z,scrollProgressButton:V,latestContentsCarousel:ie,rubricCarousels:ee,partnerCards:$,templating:Ae.templateActivators,children:[S,a.jsx(Mf,{id:"live-posts-container",name:"live-tabs",tabItems:se,tabProps:{px:{xs:"m",md:"0"}}}),a.jsx("div",{className:"js-limit-scroll-close-article-btn js-limit-scroll-progress-bar"})]})},GI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:p,cardsList:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Yr,{adTopPage:h,header:t,headerMini:n,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:[a.jsxs(ye,{as:"article",className:ko({"o-page-wrap u-arch-shadow":e.layout===ve.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,p,m]}),a.jsx(Ce,{adUnitCompletePath:e.layout===ve.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},KI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:p,mostCommentedArticles:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Yr,{adTopPage:h,htmlTemplateProps:e,header:t,menu:o,footer:s,toolbar:l,headerMini:n,children:a.jsxs(ye,{as:"section",className:"o-page-wrap",bg:"grey-50",children:[c,p,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:m}),a.jsx("aside",{className:"o-lt-show__aside",children:e.layout===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]})})},WI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:p,mostReadArticles:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Yr,{htmlTemplateProps:e,header:t,menu:o,footer:s,toolbar:l,headerMini:n,adTopPage:h,children:a.jsxs(ye,{as:"section",className:"o-page-wrap",bg:"grey-50",children:[c,p,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",id:"main-most-read-container",children:m}),e.layout===ve.MOBILE&&a.jsx("scroll2feed",{"data-zone_index":"9"}),e.layout===ve.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),e.layout===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})})},QI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:p,mostSharedArticles:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Yr,{adTopPage:h,htmlTemplateProps:e,header:t,menu:o,footer:s,toolbar:l,headerMini:n,children:a.jsxs(ye,{as:"section",className:"o-page-wrap",bg:"grey-50",children:[c,p,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:m}),a.jsx("aside",{className:"o-lt-show__aside",children:e.layout===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]})})},YI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,headerPage:c,moviesNavigation:p,mostReadArticles:m,moviesList:h})=>{const A=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Yr,{adTopPage:A,htmlTemplateProps:e,header:t,menu:o,footer:s,headerMini:n,children:e.layout===ve.DESKTOP?a.jsxs(ye,{as:"section",className:"o-page-wrap",bg:"grey-50",mb:"xxl",children:[l,c,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[p,a.jsx("div",{id:"movies-container",children:h})]}),a.jsxs("div",{className:"o-lt-show__aside",children:[m,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]})]}):a.jsxs(ye,{as:"section",bg:"grey-50",children:[l,c,p,a.jsx("div",{id:"movies-container",children:h}),m]})})},ZI=({header:e,headerMini:t,menu:n,footer:o,toolbar:s,htmlTemplateProps:l,breadcrumb:c,headerPage:p,articlesByTag:m})=>{const h=l.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Yr,{adTopPage:h,header:e,headerMini:t,menu:n,footer:o,toolbar:s,htmlTemplateProps:l,children:[a.jsxs(ye,{as:"article",className:"o-page-wrap",pb:"xxl",bg:"grey-50",children:[c,p,m]}),l.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]})},$I=[...sF,aF,iF],wZ=(e,t)=>{const n=e||t;if(!n)return;const o=n.replace(/(?:main|piano)-([^/]+)\.min\.js$/,"partner-tracking-overrides-$1.min.js");return o===n?void 0:o},JI=({header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s})=>{const l={...s,firstPartyScripts:{...s.firstPartyScripts,partnerTrackingOverridesScript:wZ(s.firstPartyScripts.mainTyrScript,s.firstPartyScripts.pianoScript)},partnerLayoutContract:!0};return a.jsx(Yr,{header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:l,children:s.layout===ve.DESKTOP?a.jsx(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:a.jsx(mu,{comment:$I})}):a.jsx(ye,{as:"article",children:a.jsx(mu,{comment:$I})})})},XI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,headerPage:c,articlesList:p,newsletter:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Yr,{adTopPage:h,header:t,headerMini:n,menu:o,footer:s,htmlTemplateProps:e,children:[a.jsxs(ye,{as:"section",className:ko({"o-page-wrap u-arch-shadow":e.layout===ve.DESKTOP}),mb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(he,{gap:"xl",className:"o-lt-show",mb:"xxl-2",children:[a.jsxs("div",{id:"quiz-container",className:"o-lt-show__main",children:[!e.pageMetaData?.isPaginationPage&&m&&m,p]}),e.layout===ve.DESKTOP&&a.jsxs(he,{as:"aside",direction:"column",gap:"xxl",className:"o-lt-show__aside",children:[a.jsx(_a,{grow:1,children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})}),a.jsx(_a,{grow:1,children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_mtf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]})]}),a.jsx(Ce,{adUnitCompletePath:e.layout===ve.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},ej=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,toolbar:s,footer:l,breadcrumb:c,rewindList:p})=>a.jsx(Yr,{header:t,headerMini:n,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:a.jsxs(ye,{as:"article",className:ko({"o-page-wrap u-arch-shadow":e.layout===ve.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,a.jsx(Al,{layout:e.layout,heading:{children:"Mon Rewind"},subtitle:"Revivez les moments forts de votre année avec votre rétrospective pesonnalisée",mb:{xs:"s",md:"xl"}}),p,a.jsx(ye,{mb:"m",className:"js-rewind-alert u-hidden",children:a.jsx(A_,{variant:"warning",fill:!0,iconProps:{name:"info",size:20},title:"Optimisez votre Rewind",description:"Votre rétrospective peut être partielle si vous n’avez pas accepté les cookies de mesure d’audience."})}),a.jsx(Me,{mb:"l",size:"xxs",px:{xs:"m",md:"0"},children:"Vos données personnelles font l’objet d’un traitement informatique par la société 20 Minutes, sur le fondement de l’exécution du contrat et de notre intérêt légitime. Elles sont utilisées pour la gestion de votre compte en ligne, l’accès à nos services, la connaissance de nos lectrices et lecteurs (personnaliser les contenus éditoriaux, les produits et services proposés, améliorer l’expérience utilisateur, les parcours de navigation et qualifier les audiences du site), ainsi qu’à des fins d’envoi d’informations relatives à nos produits et services. Ces données seront conservées 3 ans après la fin du contrat sauf dispositions légales particulières."}),a.jsxs(Me,{mb:"l",size:"xxs",px:{xs:"m",md:"0"},children:["Sous réserve de votre consentement dans notre plateforme de gestion des cookies, les données déduites d’informations renseignées dans votre compte utilisateur (ex : tranche d’âge estimée, genre estimé…) peuvent également être utilisées pour l’affichage de publicités ciblées par profilage à partir de votre navigation, si vous naviguez en mode « mode « connecté » sur nos Sites et Applications. Ces données seront conservées 6 mois à compter de votre consentement. Vous disposez d’un droit d’accès, de rectification, d’opposition, de limitation et de portabilité, en vous adressant directement à"," ",a.jsx(Yt,{href:"mailto:dpo@20minutes.fr",children:"dpo@20minutes.fr"})," ou par courrier à : Délégué à la Protection des Données Personnelles 20 Minutes Bâtiment B, 159, rue Anatole France, CS 50216, 92309 Levallois-Perret Cedex. Vous avez également le droit d’introduire une réclamation auprès de la CNIL."," ",a.jsx(Yt,{href:"https://www.20minutes.fr/politique-protection-donnees-personnelles",children:"En savoir plus"})]}),a.jsx(Yt,{href:"https://www.20minutes.fr/accessibilite",size:"xxs",px:{xs:"m",md:"0"},children:"Accessibilité : partiellement conforme"})]})}),tj=({header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,mostReadArticles:p})=>a.jsx(Yr,{header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(he,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx("div",{className:"gcse-search"})}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:p}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,a.jsx(o2,{inner:!0,children:a.jsx("div",{className:"gcse-search"})}),a.jsx(Ce,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ATF"})]})}),rj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:p,cardsList:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Yr,{adTopPage:h,header:t,headerMini:n,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:[a.jsxs(ye,{as:"article",className:ko({"o-page-wrap u-arch-shadow":e.layout===ve.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,p,m]}),a.jsx(Ce,{adUnitCompletePath:e.layout===ve.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},nj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:p,cardsList:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Yr,{adTopPage:h,header:t,headerMini:n,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:[a.jsxs(ye,{as:"article",className:ko({"o-page-wrap u-arch-shadow":e.layout===ve.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,p,m]}),a.jsx(Ce,{adUnitCompletePath:e.layout===ve.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},aj=({header:e,footer:t,menu:n,htmlTemplateProps:o,breadcrumb:s,headerPage:l,sitemapTagsList:c,topBulletedList:p,bottomBulletedList:m,mostReadArticles:h})=>a.jsx(Yr,{htmlTemplateProps:o,header:e,footer:t,menu:n,adTopPage:o.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",mb:"xxl",bg:"grey-50",children:[s,l,o.layout===ve.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsxs(he,{mt:"m",direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs(he,{direction:"column",gap:"xxl-2",className:"o-lt-show__main",children:[c,p]}),a.jsx("aside",{className:"o-lt-show__aside o-lt-show__aside--fit-container",children:h})]}),a.jsxs(he,{gap:"xl",mt:"xxl-2",className:"o-lt-show",children:[a.jsx(he,{direction:"column",gap:"xxl-2",className:"o-lt-show__main",children:m}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]}):a.jsx(ye,{as:"article",className:"o-page-wrap u-arch-shadow",mb:"xxl",bg:"grey-50",children:a.jsxs(he,{direction:"column",gap:"xl",className:"o-lt-show__main",children:[c,p,m,h,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})})]})}),ij=["23057135412","23057517469"],U3={in_read_desktop:"/49926454/20minutes_desktop/article/inread",in_read_mobile:"/49926454/20minutes_webmobile/article/inread",pave_article:"/49926454/20minutes_desktop/article/pave_article",article_mtf:"/49926454/20minutes_webmobile/article/article_mtf"};class SZ extends om{constructor({data:t,layout:n}){super({data:t,layout:n,templateActivators:{enableDisplayOnHeaderAd:!1,enableInSlideshowAds:!0,enableAds:!0,enableSponsoredContents:!0,enableBlockLinks:!0,enableAudio:!1,enableHeaderAd:!0,enableFavorite:!0}})}transformContent(){return this.templateActivators.enableInSlideshowAds&&(this.data.slideshowContent=this.layout===ve.DESKTOP?this.insertInreadDesktop(this.data.slideshowContent):this.insertInreadMobile(this.data.slideshowContent)),{...this.data,slideshowContent:this.data.slideshowContent,media:this.data.cover}}resolveTemplating(){const{htmlTemplateProps:t}=this.data,n=t.firstPartyScripts.datalayerInfo?.dfpTagArticlesId?.[this.layout]||[],o=!ij.some(s=>n.includes(s));this.templateActivators={...this.templateActivators,enableAds:!ij.some(s=>n.includes(s)),enableInSlideshowAds:o,enableSponsoredContents:o}}injectInArticleAd({isInread:t,html:n,paragraph:o}){if(t&&!rv(n.toString())){const s=Wa(be.createElement(Ce,{adUnitCompletePath:this.layout===ve.DESKTOP?U3.in_read_desktop:U3.in_read_mobile,variant:"INREAD"}));o.insertAdjacentHTML("afterend",s)}else{const s=Wa(be.createElement(Ce,{adUnitCompletePath:this.layout===ve.DESKTOP?U3.pave_article:U3.article_mtf,variant:"ARTICLE"}));o.insertAdjacentHTML("afterend",s)}}insertInreadDesktop(t){const n=Ki(vu(t)),o=n.innerHTML.replace(/(<([^>]+)>)/gi,""),s=n.querySelectorAll(".c-content > p:not([class])");if(s.length>=4&&o.length>1200){this.injectInArticleAd({isInread:!0,html:n,paragraph:s[2]});let l=6,c=!1,p=1;for(;s.length-1>l&&p<3;){const m=s[l];this.injectInArticleAd({isInread:c,html:n,paragraph:m}),l+=4,p+=1,c=!c}}return xp(n.toString())}insertInreadMobile(t){const n=Ki(vu(t)),o=n.innerHTML.replace(/(<([^>]+)>)/gi,""),s=n.querySelectorAll(".c-content > p:not([class])");if(s.length>=4&&o.length>1200){this.injectInArticleAd({isInread:!0,html:n,paragraph:s[2]});let l=6,c=!1,p=1;for(;s.length-1>l&&p<3;){const m=s[l];this.injectInArticleAd({isInread:c,html:n,paragraph:m}),l+=4,p+=1,c=!c}}return xp(n.toString())}}const oj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,readAlsoBanner:l,breadcrumb:c,contentHeader:p,contentHeaderMobile:m,cover:h,socialBar:A,signature:w,summary:_,slideshowContent:D,encloseBanner:S,highlightedText:T,comment:C,commentButton:I,readAlsoBlockBelow:L,tagBar:P,mostReadArticles:q,newsletter:H,sideBrandsArticles:W,latestContentsCarousel:Z,rubricCarousels:ie,partnerCards:ee,scrollProgressBar:$,scrollProgressButton:V,topContent:X})=>{const de=new SZ({data:{slideshowContent:D,cover:h,htmlTemplateProps:e},layout:e.layout}).resolve(),Ae={...e,firstPartyScripts:{...e.firstPartyScripts,partnerFeatures:{...e.firstPartyScripts.partnerFeatures,enableDisplayOnHeaderAd:de.templateActivators?.enableDisplayOnHeaderAd??!1}}},Oe=xI({isPubstackAndVideo:de.templateActivators?.enableDisplayOnHeaderAd,contentSubtype:Ae.firstPartyScripts.datalayerInfo?.subType||""});return a.jsxs(F3,{htmlTemplateProps:Ae,header:t,headerMini:n,menu:o,footer:s,adsPageConfig:Oe,readAlsoBanner:l,breadcrumb:c,contentHeader:p,contentHeaderMobile:m,cover:h,socialBar:A,signature:w,summary:_,readAlsoBlockBelow:L,tagBar:P,comment:C,commentButton:I,mostReadArticles:q,newsletter:H,sideBrandsArticles:W,scrollProgressBar:$,scrollProgressButton:V,latestContentsCarousel:Z,rubricCarousels:ie,partnerCards:ee,topContent:X,templating:de.templateActivators,templateVariant:P3.FULL_WIDTH_COVER,children:[de.content.slideshowContent,a.jsx("div",{className:"js-limit-scroll-close-article-btn js-limit-scroll-progress-bar"}),S&&S,!Hh(T)&&a.jsx(ye,{mx:{xs:"m",md:"0"},mb:"l",children:T})]})},sj=({header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,mostReadArticles:p,content:m,sidebar:h})=>a.jsx(Yr,{header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(he,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:m}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:p}),h]})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,m,a.jsx(Ce,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_1",variant:"ATF",isFullscreenMobile:!0}),p,h,a.jsx(Ce,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_2",variant:"ATF",isFullscreenMobile:!0})]})}),uj=({header:e,headerMini:t,menu:n,content:o,footer:s,htmlTemplateProps:l})=>a.jsx(Yr,{header:e,headerMini:t,menu:n,htmlTemplateProps:l,footer:s,children:a.jsx(he,{as:"article",className:"o-page-wrap u-arch-shadow",py:"xxl-2",px:{xs:"m",md:"0"},bg:"grey-50",direction:"column",children:o})}),CZ=e=>({desktop:{topPage:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/ban_atf":"/49926454/20minutes_desktop/homepage/ban_atf",variant:"ATF"}),stickyAsideTop:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/pave_atf":"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE"}),native:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/native_web":"/49926454/20minutes_desktop/homepage/native_web",variant:"ARTICLE"}),adListTop:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/pave_btf":"/49926454/20minutes_desktop/homepage/pave_btf",variant:"ARTICLE"}),stickyAsideBottom:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/pave_mtf":"/49926454/20minutes_desktop/homepage/pave_mtf",variant:"PAVE",className:"o-lt-show__stickywrap"}),banBottom:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/ban_btf":"/49926454/20minutes_desktop/homepage/ban_btf",variant:"BAN"})},mobile:{topPage:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_webmobile/brand_publishing/header_ad":"/49926454/20minutes_webmobile/homepage/header_ad",variant:"HEADER"}),aboveFooter:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_webmobile/brand_publishing/nfb_4":"/49926454/20minutes_webmobile/homepage/nfb_4",variant:"ARTICLE"}),adListTop:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_webmobile/brand_publishing/nfb_1":"/49926454/20minutes_webmobile/homepage/nfb_1",variant:"ARTICLE",mt:"s"}),adListBottom:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_webmobile/brand_publishing/nfb_2":"/49926454/20minutes_webmobile/homepage/nfb_2",variant:"ARTICLE"})}}),TZ=["23058043934","23057517715"];class f8 extends om{constructor({data:t,layout:n,adsPageConfig:o}){super({data:t,layout:n,templateActivators:{enableHeaderAd:!0,enableAds:!0}}),this.adsPageConfig=o}transformContent(){const t={},{enableAds:n}=this.templateActivators;if(!this.data.articlesListTop)return this.data;if(!n)return{...this.data,articlesListTop:a.jsx(sm,{content:f8.removeAds(this.data.articlesListTop)})};if(t.articlesListTop=this.layout===ve.DESKTOP?a.jsx(sm,{content:this.insertNativeAds(this.data.articlesListTop)}):a.jsx(sm,{content:this.insertNFBAndNativeAds(this.data.articlesListTop)}),this.layout===ve.DESKTOP&&Wu.includes(this.data.htmlTemplateProps.firstPartyScripts.datalayerInfo?.parentTagSlug||"")){const o=Ki(vu(t.articlesListTop)),s=o.querySelector('[data-dfp-name="pave_atf"]');if(s){const l=Wa(this.adsPageConfig.desktop.stickyAsideTop);s.insertAdjacentHTML("afterend",l),s.remove(),t.articlesListTop=a.jsx(sm,{content:o.toString()})}}return{...this.data,...t}}resolveTemplating(){const{htmlTemplateProps:t}=this.data,n=t.firstPartyScripts.datalayerInfo?.pageKey||"",o=t.firstPartyScripts.datalayerInfo?.dfpTagHomeId?.[this.layout]||[],s=!TZ.some(l=>o.includes(l));this.templateActivators={...this.templateActivators,enableAds:s,enableHeaderAd:s&&n!=="guide-achat"}}insertNFBAndNativeAds(t){const n=Ki(vu(t)),o=n.querySelectorAll(".card-item-2");if(o&&o.length===1){const l=Wa(this.adsPageConfig.mobile.adListTop);o[0].insertAdjacentHTML("afterend",l)}const s=n.querySelectorAll(".card-item-6");if(s&&s.length===1){const l=Wa(this.adsPageConfig.mobile.adListBottom);s[0].insertAdjacentHTML("afterend",l)}return n.toString()}insertNativeAds(t){const n=Ki(vu(t)),o=n.querySelectorAll(".card-item-2");if(o&&o.length===1){const l=Wa(this.adsPageConfig.desktop.native);o[0].insertAdjacentHTML("afterend",l)}const s=n.querySelectorAll(".card-item-7");if(s&&s.length===1){const l=Wa(this.adsPageConfig.desktop.adListTop);s[0].insertAdjacentHTML("afterend",l)}return n.toString()}static removeAds(t){const n=Ki(vu(t));return n.querySelectorAll("[data-dfp-path]").forEach(s=>{s.remove()}),n.toString()}}const lj=({htmlTemplateProps:e,header:t,headerMini:n,overviewBar:o,menu:s,toolbar:l,footer:c,breadcrumb:p,headerPage:m,articlesListTop:h,newsCarousel:A,newsletter:w,articlesListBottom:_,brandPublishingArticleBottom:D})=>{const S=CZ(e.firstPartyScripts.datalayerInfo?.parentTagSlug||""),C=new f8({data:{articlesListTop:h,htmlTemplateProps:e},layout:e.layout,adsPageConfig:S}).resolve(),I=new d8({layout:e.layout,config:S,adsEnabled:C.templateActivators.enableAds});return a.jsxs(Yr,{adTopPage:e.layout===ve.DESKTOP&&C.templateActivators.enableAds||C.templateActivators.enableHeaderAd?I.renderAd("topPage"):null,header:t,headerMini:n,overviewBar:o,menu:s,toolbar:l,footer:c,htmlTemplateProps:e,children:[a.jsxs(ye,{as:"article",className:"o-page-wrap o-page-wrap--above u-arch-shadow",bg:"grey-50",children:[p,m]}),C.content.articlesListTop,!Hh(A)&&a.jsx(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:A}),!e.pageMetaData?.isPaginationPage&&w&&w,!e.pageMetaData?.isPaginationPage&&a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",pt:"0",bg:"grey-50",children:[a.jsxs(he,{id:"article-list-2",direction:{xs:"column",lg:"row"},gap:"xl",mb:"xl",className:"o-lt-show",children:[a.jsx("div",{id:"article-list-bottom-container",className:"o-lt-show__main",children:_}),a.jsx("aside",{className:"o-lt-show__aside",children:e.layout===ve.DESKTOP?a.jsxs(a.Fragment,{children:[D,I.renderAd("stickyAsideBottom")]}):I.renderAd("aboveFooter")})]}),I.renderAd("banBottom")]})]})},NZ=({colorVariant:e="ultramarine",cookieLink:t="https://www.20minutes.fr/gestion-cookies",privacyPolicyUrl:n,vendorName:o="20 Minutes (contenus interactifs)"})=>a.jsxs(ye,{className:"cmp-placeholder u-hidden",borderColor:"grey-200",radius:"l",p:"xxl",children:[a.jsxs(Me,{size:"xxl",color:e,mb:"xxl",fontFamily:"source-serif-pro",weight:"semi-bold",children:["L’accès à ce contenu"," ",a.jsx(Me,{as:"span",weight:"bold",children:o})," ","a été bloqué afin de respecter vos choix de consentement"]}),a.jsxs(Me,{size:"l",mb:"m",children:['En cliquant sur "Accepter les cookies", vous consentez au dépôt de cookies par'," ",a.jsx(Me,{as:"span",weight:"bold",children:o})," ","et pourrez ainsi accéder à ce contenu interactif."]}),a.jsx(Me,{size:"l",mb:"m",children:"Vous pouvez, à tout moment, modifier vos choix cookies ou retirer votre consentement en bas de nos pages."}),a.jsxs(Me,{size:"s",mb:"xl",children:["En savoir plus sur notre"," ",a.jsx(Me,{color:e,as:"a",href:t,children:"politique de cookies"}),n&&a.jsxs(a.Fragment,{children:[" ","et sur la"," ",a.jsx(Me,{color:e,as:"a",href:n,children:"politique de confidentialité de ce partenaire"})]}),"."]}),a.jsxs(he,{direction:"row",gap:"m",justifyContent:"center",wrap:"wrap",children:[a.jsx(bn,{className:"cmp-preferences-button",variant:"outlined",children:"Gérer mes préférences"}),a.jsx(bn,{className:"cmp-button",children:"J’accepte les cookies"})]})]}),cj=({placeholder:e="minified",children:t})=>{const n=vu(t);let o=Ki(n);return o=FD(o),o=HD(o),a.jsxs("div",{className:"embed-placeholder",children:[a.jsx("div",{className:"embed-wrapper u-hidden",children:a.jsx(e6,{html:o.outerHTML})}),e==="default"&&a.jsx(NZ,{}),e==="minified"&&a.jsx(BD,{})]})},dj=({header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,mostReadArticles:p})=>a.jsx(Yr,{header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(he,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(cj,{children:a.jsx("div",{className:"waze-traffic",children:a.jsx("iframe",{title:"waze-widget",src:"https://embed.waze.com/fr/iframe?zoom=13&lat=48.85661&lon=2.35222&pin=1",width:"100%",height:"520"})})})}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:p}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,a.jsx(o2,{inner:!0,children:a.jsx(cj,{children:a.jsx("div",{className:"waze-traffic",children:a.jsx("iframe",{title:"waze-widget",src:"https://embed.waze.com/fr/iframe?zoom=13&lat=48.85661&lon=2.35222&pin=1",width:"100%",height:"520"})})})}),a.jsx(Ce,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ATF"})]})}),fj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,topBlock:l,showsReplaysCarousel:c,mostBlock:p,toolbar:m})=>a.jsx(Yr,{htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,toolbar:m,children:e.layout===ve.DESKTOP?a.jsxs(a.Fragment,{children:[l,c,a.jsxs(ye,{as:"section",className:"o-page-wrap",py:"xxl",children:[a.jsx(zc,{label:"Stories",mb:"xxl",as:"h2",color:"white"}),a.jsx("div",{id:"dtk-videofeed-carrousel"})]}),a.jsx(ye,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_mtf",variant:"BAN"})}),p,a.jsx(ye,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})})]}):a.jsxs(a.Fragment,{children:[l,c,a.jsxs(ye,{as:"section",ml:"m",py:"xxl",children:[a.jsx(zc,{label:"Stories",mb:"xxl",as:"h2",color:"white"}),a.jsx("div",{id:"dtk-videofeed-carrousel"})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"ARTICLE",mb:"xxl",hasNoBgColorMobile:!0}),p,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0})]})}),pj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,topBlock:c,timeline:p,showsReplaysCarousel:m,mostBlock:h,toolbar:A})=>a.jsx(Yr,{htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,toolbar:A,children:e.layout===ve.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsxs(ye,{as:"section",className:"o-page-wrap o-page__player-container",children:[l,c]}),a.jsx(ye,{as:"section",bg:"blue-grey",children:p}),a.jsx(he,{py:"xxl",justifyContent:"center",children:a.jsx(bn,{as:"a",color:"translucent",href:"https://programme-tv.20minutes.fr/programme-tv/ce-soir",children:"Voir le programme TV du jour"})}),a.jsx(ye,{as:"section",className:"o-page-wrap",py:"xxl-2",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_mtf",variant:"BAN"})}),m,h,a.jsx(ye,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})})]}):a.jsxs(a.Fragment,{children:[l,c,p,a.jsx(he,{py:"xxl",justifyContent:"center",children:a.jsx(bn,{as:"a",color:"translucent",href:"https://programme-tv.20minutes.fr/programme-tv/ce-soir",children:"Voir le programme TV du jour"})}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0}),m,h,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0})]})}),hj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:p,videosList:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/header_ad",variant:"HEADER",hasNoBgColorMobile:!0}),A=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN",mb:"xl"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"BAN",mb:"xl",hasNoBgColorMobile:!0});return a.jsx(Yr,{adTopPage:h,header:t,headerMini:n,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,backgroundPageColor:"blue-dark",children:a.jsxs(ye,{as:"article",className:"o-page-wrap",color:"white",children:[c,p,a.jsxs(he,{id:"video-list-container",direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsx("div",{className:"ol-lt-show__main",children:m}),e.layout===ve.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),A]})})},mj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:p,videosList:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/header_ad",variant:"HEADER",hasNoBgColorMobile:!0});return a.jsx(Yr,{adTopPage:h,header:t,headerMini:n,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,backgroundPageColor:"blue-dark",children:a.jsxs(ye,{as:"article",className:"o-page-wrap",color:"white",children:[c,p,a.jsxs(he,{id:"video-list-container",direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsx("div",{className:"ol-lt-show__main",children:m}),e.layout===ve.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),e.layout===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN",mb:"xl"})]})})},vj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,mainBlock:c,showsReplaysCarousel:p,mostBlock:m,toolbar:h})=>a.jsx(Yr,{htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,toolbar:h,children:e.layout===ve.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsx(ye,{as:"section",className:"o-page-wrap o-shift-breadcrumb-bottom",children:l}),c,a.jsx(ye,{as:"section",className:"o-page-wrap",py:"xxl-2",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_mtf",variant:"BAN"})}),p,m,a.jsx(ye,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})})]}):a.jsxs(a.Fragment,{children:[a.jsx(ye,{as:"section",className:"o-page-wrap o-shift-breadcrumb-bottom",children:l}),c,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0}),p,m,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0})]})}),gj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,programs:c})=>{const p=a.jsx(Wr,{fontFamily:"obviously",size:{xs:"l",md:"xxl"},color:"white",mb:{xs:"xxl",md:"xxl-2"},mx:{xs:"m",md:"0"},children:"Tous les programmes"});return a.jsx(Yr,{htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,children:e.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap",pb:"xxl",children:[l,p,c,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,p,c,a.jsx(Ce,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/tv/article_btf",variant:"ATF",hasNoBgColorMobile:!0})]})})};class DZ extends om{constructor({data:t,layout:n}){super({data:t,layout:n,templateActivators:{enableAds:!0,enableBlockLinks:!0,enableScrollToFeed:!1}})}transformContent(){return this.data}resolveTemplating(){this.templateActivators={...this.templateActivators,enableScrollToFeed:this.layout===ve.MOBILE}}}const yj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,pageTitle:c,topBlock:p,mostVideos:m,extractsAndReplays:h,showsReplaysCarousel:A,backgroundImg:w,toolbar:_})=>{const S=new DZ({data:{topBlock:p},layout:e.layout}).resolve();return a.jsxs(Yr,{htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,toolbar:_,enableScrollToFeed:S.templateActivators.enableScrollToFeed,children:[w,e.layout===ve.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsxs(ye,{as:"article",className:"o-page-wrap o-page__player-container",children:[l,a.jsxs(ye,{as:"section",color:"white",className:"o-lt-show",children:[c,a.jsxs(he,{gap:"xl",children:[a.jsx("div",{className:"o-lt-show__main",children:S.content.topBlock}),a.jsx("aside",{className:"o-lt-show__aside",children:m})]})]})]}),h,a.jsx(ye,{as:"section",className:"o-page-wrap",py:"xxl-2",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_mtf",variant:"BAN"})}),A,a.jsx(ye,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})})]}):a.jsxs(a.Fragment,{children:[l,a.jsxs(ye,{as:"section",color:"white",className:"o-page__player-container",children:[c,S.content.topBlock,h,m]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0}),A,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0})]})]})},bj=({header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c})=>a.jsx(Yr,{header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(he,{gap:"xl",className:"o-lt-show",children:[a.jsxs(o2,{className:"o-lt-show__main c-content",mx:{xs:"m",md:"0"},children:[a.jsx("p",{children:"Pour retirer votre consentement Utiq uniquement sur ce site, cliquez sur Retirer le consentement Utiq. Pour consulter et gérer tous vos consentements Utiq, y compris les retirer tous en une seule fois ou individuellement par chaque site partenaire , ou désactiver ou empêcher l’activation du service, accédez au consenthub d’Utiq. Si vous avez retiré votre consentement mais souhaitez à nouveau utiliser le Service Utiq, cliquez sur Pop-Up Consentement Utiq."}),a.jsx("h2",{children:"À propos du Service Utiq"}),a.jsx("p",{children:"Le Service Utiq vous offre un contrôle accru et une transparence sur l’utilisation de vos données lorsque vous activez une expérience personnalisée ou des analyses sur les sites partenaires d’Utiq. Dans le cadre du service Utiq, vous avez accès à un portail centralisé en libre-service, appelé consenthub d’Utiq, qui vous permet de gérer tous vos choix de Service Utiq et vos consentements Utiq ainsi que d’exercer vos droits en matière de protection des données. À tout moment. En un seul endroit. Utiq est un service facultatif. Cela signifie qu’il n’est pas activé par défaut et qu’il est uniquement activé lorsque vous donnez votre consentement sur un site participant via la fenêtre pop-up de consentement Utiq dédiée. En savoir plus sur le service Utiq sur consenthub.utiq.com"}),a.jsx("h2",{children:"À propos de notre partenariat avec Utiq"}),a.jsxs("div",{children:["Le Service Utiq est opéré par Utiq SA/NV et fourni en partenariat avec votre opérateur téléphonique et des sites partenaires comme le nôtre. Nous sommes des responsables conjoints avec Utiq pour fournir le Service Utiq. Dans le cadre de notre accord de responsables conjoints :",a.jsx("br",{}),a.jsx("br",{}),a.jsx(J_,{children:a.jsxs("ul",{children:[a.jsx("li",{children:"Le traitement lié au Service Utiq est basé sur le consentement que nous recueillons pour le compte de l’écosystème Utiq sur nos sites Web où nous intégrons le Service Utiq."}),a.jsx("li",{children:"Pour les sites Web où nous intégrons le Service Utiq, vous aurez accès à un lien dédié dans le pied de page pour vous fournir des informations sur le service, comment le gérer et vous informer de notre partenariat avec Utiq."}),a.jsx("li",{children:"Utiq met à votre disposition un portail de confidentialité centralisé (consenthub) pour faciliter l’exercice de vos droits en matière de protection des données et vous permettre de gérer facilement vos consentements Utiq et vos préférences de confidentialité du Service Utiq. À tout moment. En un seul endroit."}),a.jsx("li",{children:"Nonobstant le fait que vous pouvez exercer vos droits à l’égard de l’un des contrôleurs, Utiq agit en tant que point de contact commun pour toute question ou demande que vous pourriez avoir en relation avec le Service Utiq."})]})})]}),a.jsx("p",{children:"Si vous avez donné votre consentement pour activer le Service Utiq lors de votre première visite sur notre site, Utiq ne partagera avec nous que deux signaux sécurisés publicitaires. Ils sont appelés martechpass et adtechpass, ce sont des valeurs aléatoires générées par Utiq qui, sans révéler votre identité, nous permettent de vous reconnaître comme le même visiteur. Nous les utiliserons ensuite pour vous fournir du contenu personnalisé, de la publicité ou réaliser des analyses, en fonction des finalités pour lesquelles vous nous avez donné votre consentement. Le martechpass et adtechpass expirent respectivement après 90 jours ou 24 heures et sont stockées sur votre navigateur avec les cookies associés. Vous pouvez trouver plus d’informations sur le service Utiq dans le consenthub d’Utiq ou dans la Déclaration de confidentialité d’Utiq."})]}),s.layout===ve.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside"})]})]})}),xj=({header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,mostReadArticles:p})=>a.jsx(Yr,{header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(he,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main"}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:p}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,a.jsx(o2,{inner:!0,children:" "}),a.jsx(Ce,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ATF"})]})}),Aj=({header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,breadcrumb:l})=>a.jsxs(Yr,{header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),children:[a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[l,a.jsx(Al,{layout:s.layout,heading:{children:"Pourquoi créer un compte 20 Minutes ?"},subtitle:"Quels sont les avantages de s’inscrire à 20 Minutes ?",mb:{xs:"s",md:"l"}}),a.jsxs(he,{direction:{xs:"column",md:"row"},gap:"xl",className:"o-lt-show",mb:{xs:"xl",md:"0"},children:[a.jsxs("div",{className:"o-lt-show__main",children:[a.jsx(t9,{items:[{id:1,text:a.jsxs("div",{children:[a.jsx(Me,{as:"p",size:"xl",weight:"bold",mb:"m",children:"Personnalisez votre expérience"}),a.jsxs(Me,{as:"ul",className:"c-list-with-disc",pl:"s",children:[a.jsxs("li",{children:[a.jsx("b",{children:"Sauvegardez vos articles"})," favoris pour les lire plus tard"]}),a.jsxs("li",{children:["Recevez des ",a.jsx("b",{children:"newsletters thématiques personnalisées"})," pour ne rien manquer de l’actualité"]}),a.jsxs("li",{children:["Recevez des ",a.jsx("b",{children:"notifications et alertes"})," sur vos sujets préférés"]})]})]})},{id:2,text:a.jsxs("div",{children:[a.jsx(Me,{as:"p",size:"xl",weight:"bold",mb:"m",children:"Interagissez et donnez votre avis"}),a.jsxs(Me,{as:"ul",className:"c-list-with-disc",pl:"s",children:[a.jsxs("li",{children:[a.jsx("b",{children:"Commentez"})," et ",a.jsx("b",{children:"échangez"})," avec la communauté 20 Minutes sur les articles"]}),a.jsxs("li",{children:[a.jsx("b",{children:"Participez"})," à des ",a.jsx("b",{children:"sondages"})," et ",a.jsx("b",{children:"enquêtes"})," sur nos live"]})]})]})},{id:3,text:a.jsxs("div",{children:[a.jsx(Me,{as:"p",size:"xl",weight:"bold",mb:"m",children:"Fonctionnalités supplémentaires"}),a.jsxs(Me,{as:"ul",className:"c-list-with-disc",pl:"s",children:[a.jsxs("li",{children:["Accédez à tous nos ",a.jsx("b",{children:"contenus sans restriction"}),", gratuitement et sans aucun blocage"]}),a.jsxs("li",{children:["Retrouvez facilement votre activité, en consultant votre"," ",a.jsx("b",{children:"historique de lecture"})]}),a.jsxs("li",{children:[a.jsx("b",{children:"Affrontez d’autres joueurs"})," sur nos jeux exclusifs et"," ",a.jsx("b",{children:"suivez vos performances"})]})]})]})},{id:4,text:a.jsxs("div",{children:[a.jsx(Me,{as:"p",size:"xl",weight:"bold",mb:"m",children:"Soutenir le média 20 Minutes"}),a.jsxs(Me,{as:"ul",className:"c-list-with-disc",pl:"s",children:[a.jsxs("li",{children:["Votre engagement permet à 20 Minutes de continuer à produire"," ",a.jsx("b",{children:"des articles fiables, des enquêtes approfondies et des analyses pertinentes"}),"."]}),a.jsxs("li",{children:["Aidez-nous à"," ",a.jsx("b",{children:"mieux comprendre vos attentes et votre opinion sur l’actualité"})," en participant à des sondages et échanges avec la rédaction."]}),a.jsxs("li",{children:[a.jsx("b",{children:"Soutenez un média libre et accessible à tous"}),", qui défend un journalisme indépendant, transparent et éthique, sans barrière payante."]})]})]})}],mb:"xxl-2",mx:{xs:"m",md:"0"}}),a.jsx(I2,{buttonLabel:"Je m’inscris",title:"Rejoignez la communauté 20 Minutes dès maintenant et vivez l’info autrement !",url:"https://membre.20minutes.fr/inscription/"})]}),s.layout===ve.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]}),s.layout===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"PAVE"})]}),RZ={name:"adIframe",component:cI,expiration:1800,components:[{name:Mg.AD_IFRAME_EXTERNAL_AD_ELEMENT,required:!0,propName:"adHtml"}]},Jr=[{name:nt.COMMON_HEADER,required:!0,propName:"header"},{name:nt.COMMON_FOOTER,required:!0,propName:"footer"},{name:nt.COMMON_MENU,required:!0,propName:"menu"}],Uh=!0,OZ={name:"animalQuiz",component:gI,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Uh,propName:"headerMini"},{name:qc.ANIMAL_QUIZ_BREADCRUMB,required:Uh,propName:"breadcrumb"},{name:qc.ANIMAL_QUIZ_HEADER_PAGE,required:Uh,propName:"headerPage"},{name:qc.ANIMAL_QUIZ_RUBRIC_CAROUSELS,required:Uh,propName:"rubricCarousels"},{name:qc.ANIMAL_QUIZ_JSON_LD_BREADCRUMB,required:Uh,propName:"jsonLdBreadcrumb"},{name:qc.ANIMAL_QUIZ_META,required:Uh,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Uh,propName:"defaultPreload"}]},qf=!0,IZ={name:"archiveByDay",component:yI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:qf,propName:"headerMini"},{name:ao.ARCHIVES_BREADCRUMB,required:qf,propName:"breadcrumb"},{name:ao.ARCHIVES_PAGE_TITLE,required:qf,propName:"pageTitle"},{name:ao.ARCHIVES_DAYS_LIST,required:qf,propName:"archivesByDay"},{name:ao.ARCHIVES_CONTENTS,required:qf,propName:"archivesOfDay"},{name:ao.ARCHIVES_PDF_LIST,required:qf,propName:"archivePdfList"},{name:nt.COMMON_MOST_READ_ARTICLES,required:qf,propName:"mostReadArticles"},{name:ao.ARCHIVES_META,required:qf,propName:"meta"},{name:nt.COMMON_PRELOAD,required:qf,propName:"defaultPreload"}]},Vf=!0,jZ={name:"archiveByYear",component:bI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Vf,propName:"headerMini"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Vf,propName:"mostReadArticles"},{name:ao.ARCHIVES_BREADCRUMB,required:Vf,propName:"breadcrumb"},{name:ao.ARCHIVES_MONTHS_LIST,required:Vf,propName:"monthsList"},{name:ao.ARCHIVES_YEARS_LIST,required:Vf,propName:"yearsList"},{name:ao.ARCHIVES_PAGE_TITLE,required:Vf,propName:"pageTitle"},{name:ao.ARCHIVES_PDF_LIST,required:Vf,propName:"archivePdfList"},{name:ao.ARCHIVES_META,required:Vf,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Vf,propName:"defaultPreload"}]},MZ={name:"article",component:_I,expiration:300,components:[...Jr,{name:cr.CONTENT_HEADER_MINI,required:!0,propName:"headerMini"},{name:cr.CONTENT_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:cr.CONTENT_HEADER,required:!0,propName:"contentHeader"},{name:cr.CONTENT_COVER,required:!0,propName:"cover"},{name:cr.CONTENT_SOCIAL_BAR,required:!0,propName:"socialBar"},{name:cr.CONTENT_SIGNATURE,required:!0,propName:"signature"},{name:cr.CONTENT_SUMMARY,required:!0,propName:"summary"},{name:pu.ARTICLE_CONTENT,required:!0,propName:"articleContent"},{name:pu.ARTICLE_ENCLOSE,required:!0,propName:"encloseBanner"},{name:cr.CONTENT_TAG_BAR,required:!0,propName:"tagBar"},{name:_l.RUBRIC_MOST_READ_ARTICLES,required:!1,propName:"mostReadArticles"},{name:nt.COMMON_LATEST_CONTENTS_CARROUSEL,required:!1,propName:"latestContentsCarousel"},{name:_l.RUBRIC_RUBRIC_CAROUSELS,required:!1,propName:"rubricCarousels"},{name:_l.RUBRIC_THREE_COLUMNS_ARTICLES,required:!1,propName:"partnerCards"},{name:cr.CONTENT_JSON_LD_BREADCRUMB,required:!1,propName:"jsonLdBreadcrumb"},{name:pu.ARTICLE_JSON_LD_CLAIM_REVIEW,required:!1,propName:"jsonLdClaimReview"},{name:pu.ARTICLE_JSON_LD_NEWS_ARTICLE,required:!1,propName:"jsonLdNewsArticle"},{name:cr.CONTENT_META,required:!0,propName:"meta"},{name:pu.ARTICLE_PRELOAD,required:!0,propName:"preload"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:cr.CONTENT_COMMENT_V2,required:!0,propName:"comment"},{name:cr.CONTENT_COMMENT_BUTTON,required:!0,propName:"commentButton"},{name:cr.CONTENT_READALSO_BLOCK,required:!1,propName:"readAlsoBlockBelow"},{name:cr.CONTENT_SIDE_BRANDS_ARTICLES,required:!1,propName:"sideBrandsArticles"},{name:cr.CONTENT_HEADER_MOBILE,required:!0,propName:"contentHeaderMobile"},{name:pu.ARTICLE_HIGHLIGHTED_TEXT,required:!1,propName:"highlightedText"},{name:cr.CONTENT_READALSO_BANNER,required:!1,propName:"readAlsoBanner"},{name:cr.CONTENT_SCROLL_PROGRESS_BUTTON,required:!1,propName:"scrollProgressButton"},{name:pu.ARTICLE_CHATBOT_BUTTON,required:!1,propName:"chatbotButton"}]},LZ={name:"astroHome",component:wI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:ka.ASTRO_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:ka.ASTRO_HEADER_PAGE,required:!0,propName:"headerPage"},{name:ka.ASTRO_HOMEPAGE_CONTENT,required:!0,propName:"astroHomepageContent"},{name:ka.ASTRO_ASTRO_TILES,required:!0,propName:"astroTiles"},{name:ka.ASTRO_ASTRO_LINKS_NEXT_TYPES,required:!0,propName:"astroLinksNextTypes"},{name:ka.ASTRO_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:ka.ASTRO_META,required:!0,propName:"meta"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"}]},kZ={name:"astro",component:SI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:ka.ASTRO_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:ka.ASTRO_HEADER_PAGE,required:!0,propName:"headerPage"},{name:ka.ASTRO_HEADER_BANNER,required:!0,propName:"headerBanner"},{name:ka.ASTRO_ASTRO_CONTENT,required:!0,propName:"astroContent"},{name:ka.ASTRO_LINK,required:!0,propName:"link"},{name:ka.ASTRO_ASTRO_LINKS_NEXT_TYPES,required:!0,propName:"astroLinksNextTypes"},{name:ka.ASTRO_ASTRO_TILES,required:!0,propName:"astroTiles"},{name:ka.ASTRO_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:ka.ASTRO_META,required:!0,propName:"meta"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"}]},Gf=!0,BZ={name:"contact",component:CI,expiration:3600*24,components:[...Jr,{name:qu.CONTACT_BREADCRUMB,required:Gf,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Gf,propName:"mostReadArticles"},{name:qu.CONTACT_JSON_LD_BREADCRUMB,required:Gf,propName:"jsonLdBreadcrumb"},{name:nt.COMMON_PRELOAD,required:Gf,propName:"defaultPreload"},{name:qu.CONTACT_ADDRESSES,required:Gf,propName:"addresses"},{name:qu.CONTACT_FORM,required:Gf,propName:"contactForm"},{name:qu.CONTACT_DETAILS,required:Gf,propName:"contactDetails"},{name:qu.CONTACT_BREADCRUMB,required:Gf,propName:"breadcrumb"},{name:qu.CONTACT_META,required:Gf,propName:"meta"}]},zh=!0,PZ={name:"direct",component:TI,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:zh,propName:"headerMini"},{name:Fd.DIRECT_BREADCRUMB,required:zh,propName:"breadcrumb"},{name:Fd.DIRECT_HEADER_PAGE,required:zh,propName:"headerPage"},{name:Fd.DIRECT_TABS,required:zh,propName:"tabs"},{name:Fd.DIRECT_META,required:zh,propName:"meta"},{name:nt.COMMON_PRELOAD,required:zh,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:zh,propName:"toolbar"}]},qh=!0,FZ={name:"electionsAiArticles",component:NI,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:qh,propName:"headerMini"},{name:Vc.ELECTIONS_AI_ARTICLES_BREADCRUMB,required:qh,propName:"breadcrumb"},{name:Vc.ELECTIONS_AI_ARTICLES_HEADER_PAGE,required:qh,propName:"headerPage"},{name:Vc.ELECTIONS_AI_ARTICLES_LIST,required:qh,propName:"articles"},{name:Vc.ELECTIONS_AI_ARTICLES_JSON_LD_BREADCRUMB,required:qh,propName:"jsonLdBreadcrumb"},{name:Vc.ELECTIONS_AI_ARTICLES_META,required:qh,propName:"meta"},{name:nt.COMMON_PRELOAD,required:qh,propName:"defaultPreload"}]},Qd=!0,HZ={name:"electionsEmbed",component:DI,expiration:60,components:[{name:ar.ELECTIONS_META,required:Qd,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Qd,propName:"defaultPreload"},{name:ar.ELECTIONS_RESULTS_FIRST_ROUND,required:Qd,propName:"resultsFirstRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_FIRST_ROUND,required:Qd,propName:"participationAndAbstentionFirstRound"},{name:ar.ELECTIONS_RESULTS_SECOND_ROUND,required:Qd,propName:"resultsSecondRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_SECOND_ROUND,required:Qd,propName:"participationAndAbstentionSecondRound"},{name:ar.ELECTIONS_DISTRIBUTION,required:Qd,propName:"distribution"},{name:ar.ELECTIONS_MAP_DEPARTMENTS,required:Qd,propName:"mapDepartments"},{name:ar.ELECTIONS_MAP_CONSTITUENCIES,required:Qd,propName:"mapConstituencies"},{name:ar.ELECTIONS_MAP_EUROPEAN,required:Qd,propName:"mapEuropean"},{name:ar.ELECTIONS_MAP_TOWNS_BY_DEPARTMENTS,required:Qd,propName:"mapTownsByDepartments"}]},vo=!0,UZ={name:"electionsHome",component:RI,expiration:60,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:vo,propName:"headerMini"},{name:ar.ELECTIONS_JSON_LD_BREADCRUMB,required:vo,propName:"jsonLdBreadcrumb"},{name:ar.ELECTIONS_JSON_LD_FAQ,required:vo,propName:"jsonLdFaq"},{name:ar.ELECTIONS_META,required:vo,propName:"meta"},{name:nt.COMMON_PRELOAD,required:vo,propName:"defaultPreload"},{name:ar.ELECTIONS_BREADCRUMB,required:vo,propName:"breadcrumb"},{name:ar.ELECTIONS_HEADER_PAGE,required:vo,propName:"headerPage"},{name:ar.ELECTIONS_RESULTS_FIRST_ROUND,required:vo,propName:"resultsFirstRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_FIRST_ROUND,required:vo,propName:"participationAndAbstentionFirstRound"},{name:ar.ELECTIONS_RESULTS_SECOND_ROUND,required:vo,propName:"resultsSecondRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_SECOND_ROUND,required:vo,propName:"participationAndAbstentionSecondRound"},{name:ar.ELECTIONS_DISTRIBUTION,required:vo,propName:"distribution"},{name:ar.ELECTIONS_MAP_DEPARTMENTS,required:vo,propName:"mapDepartments"},{name:ar.ELECTIONS_MAP_CONSTITUENCIES,required:vo,propName:"mapConstituencies"},{name:ar.ELECTIONS_MAP_EUROPEAN,required:vo,propName:"mapEuropean"},{name:ar.ELECTIONS_MAP_TOWNS_BY_DEPARTMENTS,required:vo,propName:"mapTownsByDepartments"},{name:ar.ELECTIONS_SUMMARY,required:vo,propName:"summary"},{name:ar.ELECTIONS_SIDE_LOCALITIES_BOTTOM,required:vo,propName:"sideLocalitiesBottom"},{name:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL,required:vo,propName:"lastArticlesCarousel"},{name:ar.ELECTIONS_RESULTS_FILTERED,required:vo,propName:"resultsFiltered"},{name:nt.COMMON_ELECTIONS_SEARCH_BANNER,required:vo,propName:"overviewBar"}]},go=!0,zZ={name:"elections",component:OI,expiration:60,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:go,propName:"headerMini"},{name:ar.ELECTIONS_JSON_LD_BREADCRUMB,required:go,propName:"jsonLdBreadcrumb"},{name:ar.ELECTIONS_JSON_LD_FAQ,required:go,propName:"jsonLdFaq"},{name:ar.ELECTIONS_META,required:go,propName:"meta"},{name:nt.COMMON_PRELOAD,required:go,propName:"defaultPreload"},{name:ar.ELECTIONS_BREADCRUMB,required:go,propName:"breadcrumb"},{name:ar.ELECTIONS_HEADER_PAGE,required:go,propName:"headerPage"},{name:ar.ELECTIONS_RESULTS_MULTIPLE,required:go,propName:"multipleResults"},{name:ar.ELECTIONS_RESULTS_FIRST_ROUND,required:go,propName:"resultsFirstRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_FIRST_ROUND,required:go,propName:"participationAndAbstentionFirstRound"},{name:ar.ELECTIONS_RESULTS_SECOND_ROUND,required:go,propName:"resultsSecondRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_SECOND_ROUND,required:go,propName:"participationAndAbstentionSecondRound"},{name:ar.ELECTIONS_SUMMARY,required:go,propName:"summary"},{name:ar.ELECTIONS_INSEE_BLOCK,required:go,propName:"inseeBlock"},{name:ar.ELECTIONS_SIDE_LOCALITIES_TOP,required:go,propName:"sideLocalitiesTop"},{name:ar.ELECTIONS_SIDE_LOCALITIES_BOTTOM,required:go,propName:"sideLocalitiesBottom"},{name:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL,required:go,propName:"lastArticlesCarousel"},{name:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL_BIS,required:go,propName:"lastArticlesCarouselBis"},{name:ar.ELECTIONS_RESULTS_FILTERED,required:go,propName:"resultsFiltered"},{name:nt.COMMON_ELECTIONS_SEARCH_BANNER,required:go,propName:"overviewBar"},{name:ar.ELECTIONS_REFRESH_BUTTON,required:go,propName:"refreshButton"}]},z3=!0,qZ={name:"error",component:II,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:z3,propName:"headerMini"},{name:U1.ERROR_CONTENT,required:z3,propName:"errorContent"},{name:U1.ERROR_META,required:z3,propName:"meta"},{name:nt.COMMON_PRELOAD,required:z3,propName:"defaultPreload"}]},Vh=!0,VZ={name:"gameApp",component:jI,expiration:3600,components:[{name:Vn.GAME_APP_FOOTER,required:Vh,propName:"footer"},{name:nt.COMMON_PRELOAD,required:Vh,propName:"defaultPreload"},{name:Vn.GAME_META,required:Vh,propName:"meta"},{name:Vn.GAME_APP_HEADER_PAGE,required:Vh,propName:"headerPage"},{name:Vn.GAME_APP_LIST,required:Vh,propName:"gamesList"},{name:Vn.GAME_APP_IFRAME,required:Vh,propName:"iframe"},{name:Vn.GAME_APP_AD,required:Vh,propName:"ad"}]},Pp=!0,GZ={name:"gameHome",component:MI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Pp,propName:"headerMini"},{name:nt.COMMON_PRELOAD,required:Pp,propName:"defaultPreload"},{name:Vn.GAME_JSON_LD_BREADCRUMB,required:Pp,propName:"jsonLdBreadcrumb"},{name:Vn.GAME_META,required:Pp,propName:"meta"},{name:Vn.GAME_BREADCRUMB,required:Pp,propName:"breadcrumb"},{name:Vn.GAME_HEADER_PAGE,required:Pp,propName:"headerPage"},{name:Vn.GAME_LIST,required:Pp,propName:"gamesList"},{name:nt.COMMON_TOOLBAR,required:Pp,propName:"toolbar"}]},ad=!0,KZ={name:"game",component:LI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:ad,propName:"headerMini"},{name:nt.COMMON_PRELOAD,required:ad,propName:"defaultPreload"},{name:Vn.GAME_META,required:ad,propName:"meta"},{name:Vn.GAME_BREADCRUMB,required:ad,propName:"breadcrumb"},{name:Vn.GAME_HEADER_PAGE,required:ad,propName:"headerPage"},{name:Vn.GAME_FAQ,required:ad,propName:"faq"},{name:Vn.GAME_IFRAME,required:ad,propName:"iframe"},{name:Vn.GAME_CONTENT,required:ad,propName:"gameContent"},{name:Vn.GAME_CONTACT,required:ad,propName:"contact"},{name:nt.COMMON_TOOLBAR,required:ad,propName:"toolbar"},{name:Vn.GAME_JSON_LD_BREADCRUMB,required:ad,propName:"jsonLdBreadcrumb"},{name:Vn.GAME_JSON_LD_FAQ,required:ad,propName:"jsonLdFaq"}]},pa=!0,WZ={name:"home",component:kI,expiration:15,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:pa,propName:"headerMini"},{name:nt.COMMON_PRELOAD,required:pa,propName:"defaultPreload"},{name:kr.HOME_META,required:pa,propName:"meta"},{name:nt.COMMON_OVERVIEW_BAR,required:pa,propName:"overviewBar"},{name:kr.HOME_ARTICLES_LIST_TOP,required:pa,propName:"articlesListTop"},{name:kr.HOME_FEATURED_TAG,required:pa,propName:"featuredTag"},{name:kr.HOME_SECOND_ARTICLES_LIST_MOBILE,required:pa,propName:"secondArticlesListMobile"},{name:kr.HOME_ARTICLES_LIST_BOTTOM,required:pa,propName:"articlesListBottom"},{name:kr.HOME_MOST_READ_ASIDE,required:pa,propName:"mostReadArticles"},{name:kr.HOME_THIRD_ARTICLES_LIST_MOBILE,required:pa,propName:"thirdArticlesListMobile"},{name:kr.HOME_LOCAL_NEWS,required:pa,propName:"localNews"},{name:kr.HOME_TV_BLOCK,required:pa,propName:"tvBlock"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:pa,propName:"showsReplaysCarousel"},{name:kr.HOME_GAMES_CAROUSEL,required:pa,propName:"gamesCarousel"},{name:kr.HOME_CURRENT_VIDEOS,required:pa,propName:"currentVideos"},{name:kr.HOME_ENTERTAINMENT,required:pa,propName:"entertainment"},{name:kr.HOME_SPORT,required:pa,propName:"sport"},{name:kr.HOME_IN_PICTURES,required:pa,propName:"inPictures"},{name:kr.HOME_TEMPO,required:pa,propName:"tempo"},{name:kr.HOME_HIGH_TECH,required:pa,propName:"highTech"},{name:kr.HOME_PLANET,required:pa,propName:"planet"},{name:kr.HOME_PROFESSIONAL_LIFE,required:pa,propName:"professionalLife"},{name:kr.HOME_CONSO,required:pa,propName:"conso"},{name:kr.HOME_PODCASTS,required:pa,propName:"podcasts"},{name:kr.HOME_PURCHASE_GUIDE,required:pa,propName:"purchaseGuide"},{name:kr.HOME_DISCOVER_NOW,required:pa,propName:"discoverNow"},{name:kr.HOME_CITY_BY_CITY,required:pa,propName:"cityByCity"},{name:kr.HOME_PARTNERS,required:pa,propName:"partners"},{name:nt.COMMON_TOOLBAR,required:pa,propName:"toolbar"},{name:kr.HOME_MOVIES,required:pa,propName:"movies"},{name:kr.HOME_TV_PROGRAM,required:pa,propName:"tvProgram"},{name:kr.HOME_MUNICIPAL_BLOCK,required:pa,propName:"municipalBlock"}]},id=!0,QZ={name:"jobDetails",component:BI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:id,propName:"headerMini"},{name:wa.JOBS_BREADCRUMB,required:id,propName:"breadcrumb"},{name:wa.JOBS_HEADER_PAGE,required:id,propName:"headerPage"},{name:wa.JOBS_RELATED_JOBS_CATEGORY,required:id,propName:"relatedJobsCategory"},{name:wa.JOBS_PROFESSIONAL_LIFE_ARTICLES,required:id,propName:"professionalLifeArticles"},{name:wa.JOBS_JSON_LD_BREADCRUMB,required:id,propName:"jsonLdBreadcrumb"},{name:wa.JOBS_META,required:id,propName:"meta"},{name:wa.JOBS_COVER,required:id,propName:"cover"},{name:wa.JOBS_PROPERTIES,required:id,propName:"jobProperties"},{name:wa.JOBS_ENCLOSE_BANNER,required:id,propName:"encloseBanner"},{name:wa.JOBS_FAQ,required:id,propName:"jobFaqs"},{name:nt.COMMON_PRELOAD,required:id,propName:"defaultPreload"}]},Kf=!0,YZ={name:"jobs",component:PI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Kf,propName:"headerMini"},{name:wa.JOBS_BREADCRUMB,required:Kf,propName:"breadcrumb"},{name:wa.JOBS_HEADER_PAGE,required:Kf,propName:"headerPage"},{name:wa.JOBS_CARDS_LIST,required:Kf,propName:"cardsList"},{name:wa.JOBS_BUSINESS_SECTORS_LIST,required:Kf,propName:"businessSectorsList"},{name:wa.JOBS_PROFESSIONAL_LIFE_ARTICLES,required:Kf,propName:"professionalLifeArticles"},{name:wa.JOBS_JSON_LD_BREADCRUMB,required:Kf,propName:"jsonLdBreadcrumb"},{name:wa.JOBS_META,required:Kf,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Kf,propName:"defaultPreload"}]},ZZ={name:"journalist",component:FI,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:lc.JOURNALIST_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:lc.JOURNALIST_HEADER_PAGE,required:!0,propName:"headerPage"},{name:lc.JOURNALIST_META,required:!0,propName:"meta"},{name:lc.JOURNALIST_MAIN_INFORMATION_BLOCK,required:!0,propName:"mainInformationBlock"},{name:lc.JOURNALIST_ARTICLES,required:!0,propName:"articles"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"}]},Gh=!0,$Z={name:"la21e",component:HI,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Gh,propName:"headerMini"},{name:Gc.LA21E_BREADCRUMB,required:Gh,propName:"breadcrumb"},{name:Gc.LA21E_HEADER_PAGE,required:Gh,propName:"headerPage"},{name:Gc.LA21E_JSON_LD_BREADCRUMB,required:Gh,propName:"jsonLdBreadcrumb"},{name:Gc.LA21E_META,required:Gh,propName:"meta"},{name:Gc.LA21E_CARDS_LIST,required:Gh,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:Gh,propName:"defaultPreload"}]},Wf=!0,JZ={name:"legalNoticeDepartment",component:UI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Wf,propName:"headerMini"},{name:la.LEGAL_NOTICE_BREADCRUMB,required:Wf,propName:"breadcrumb"},{name:la.LEGAL_NOTICE_HEADER_PAGE,required:Wf,propName:"headerPage"},{name:la.LEGAL_NOTICE_FAQ,required:Wf,propName:"faq"},{name:la.LEGAL_NOTICE_CARDS_LIST_DEPARTMENT,required:Wf,propName:"cardsList"},{name:la.LEGAL_NOTICE_REGIONS_LIST,required:Wf,propName:"regionsList"},{name:la.LEGAL_NOTICE_JSON_LD_BREADCRUMB,required:Wf,propName:"jsonLdBreadcrumb"},{name:la.LEGAL_NOTICE_META,required:Wf,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Wf,propName:"defaultPreload"}]},Qf=!0,XZ={name:"legalNotice",component:qI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Qf,propName:"headerMini"},{name:la.LEGAL_NOTICE_BREADCRUMB,required:Qf,propName:"breadcrumb"},{name:la.LEGAL_NOTICE_HEADER_PAGE,required:Qf,propName:"headerPage"},{name:la.LEGAL_NOTICE_DEPARTMENTS_LIST,required:Qf,propName:"departmentsList"},{name:la.LEGAL_NOTICE_JSON_LD_BREADCRUMB,required:Qf,propName:"jsonLdBreadcrumb"},{name:la.LEGAL_NOTICE_META,required:Qf,propName:"meta"},{name:la.LEGAL_NOTICE_CONTENT,required:Qf,propName:"content"},{name:la.LEGAL_NOTICE_CARDS_LIST_DETAIL,required:Qf,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:Qf,propName:"defaultPreload"}]},Fp=!0,e$={name:"legalNoticeHome",component:zI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Fp,propName:"headerMini"},{name:la.LEGAL_NOTICE_BREADCRUMB,required:Fp,propName:"breadcrumb"},{name:la.LEGAL_NOTICE_HEADER_PAGE,required:Fp,propName:"headerPage"},{name:la.LEGAL_NOTICE_DEPARTMENTS_LIST,required:Fp,propName:"departmentsList"},{name:la.LEGAL_NOTICE_CARDS_LIST,required:Fp,propName:"cardsList"},{name:la.LEGAL_NOTICE_JSON_LD_BREADCRUMB,required:Fp,propName:"jsonLdBreadcrumb"},{name:la.LEGAL_NOTICE_META,required:Fp,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Fp,propName:"defaultPreload"}]},t$={name:"live",component:VI,expiration:30,components:[...Jr,{name:cr.CONTENT_HEADER_MINI,required:!0,propName:"headerMini"},{name:cr.CONTENT_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:hu.LIVE_INDICATOR,required:!0,propName:"liveIndicator"},{name:cr.CONTENT_HEADER_MOBILE,required:!0,propName:"contentHeaderMobile"},{name:cr.CONTENT_SOCIAL_BAR,required:!0,propName:"socialBar"},{name:cr.CONTENT_SUMMARY,required:!0,propName:"summary"},{name:hu.LIVE_PRELOAD,required:!1,propName:"preload"},{name:hu.LIVE_TOP_CONTENT,required:!0,propName:"topContent"},{name:hu.LIVE_POSTS_THREAD,required:!0,propName:"livePostsThread"},{name:hu.LIVE_IMPORTANT_POSTS_THREAD,required:!0,propName:"liveImportantPostsThread"},{name:cr.CONTENT_READALSO_BLOCK,required:!1,propName:"readAlsoBlockAbove"},{name:cr.CONTENT_TAG_BAR,required:!0,propName:"tagBar"},{name:_l.RUBRIC_MOST_READ_ARTICLES,required:!1,propName:"mostReadArticles"},{name:cr.CONTENT_SIDE_BRANDS_ARTICLES,required:!1,propName:"sideBrandsArticles"},{name:cr.CONTENT_HEADER,required:!0,propName:"contentHeader"},{name:cr.CONTENT_COVER,required:!0,propName:"cover"},{name:cr.CONTENT_SIGNATURE,required:!0,propName:"signature"},{name:nt.COMMON_LATEST_CONTENTS_CARROUSEL,required:!1,propName:"latestContentsCarousel"},{name:_l.RUBRIC_RUBRIC_CAROUSELS,required:!1,propName:"rubricCarousels"},{name:_l.RUBRIC_THREE_COLUMNS_ARTICLES,required:!1,propName:"partnerCards"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:cr.CONTENT_COMMENT_V2,required:!0,propName:"comment"},{name:cr.CONTENT_COMMENT_BUTTON,required:!0,propName:"commentButton"},{name:cr.CONTENT_META,required:!0,propName:"meta"},{name:hu.LIVE_JSON_LD_LIVE_BLOG_POSTING,required:!1,propName:"jsonLdLiveBlogPosting"},{name:cr.CONTENT_JSON_LD_BREADCRUMB,required:!1,propName:"jsonLdBreadcrumb"},{name:hu.LIVE_QUESTION,required:!1,propName:"liveQuestion"},{name:cr.CONTENT_SCROLL_PROGRESS_BUTTON,required:!1,propName:"scrollProgressButton"}]},Kh=!0,r$={name:"mobileApps",component:GI,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Kh,propName:"headerMini"},{name:Kc.MOBILE_APPS_BREADCRUMB,required:Kh,propName:"breadcrumb"},{name:Kc.MOBILE_APPS_HEADER_PAGE,required:Kh,propName:"headerPage"},{name:Kc.MOBILE_APPS_JSON_LD_BREADCRUMB,required:Kh,propName:"jsonLdBreadcrumb"},{name:Kc.MOBILE_APPS_META,required:Kh,propName:"meta"},{name:Kc.MOBILE_APPS_CARDS_LIST,required:Kh,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:Kh,propName:"defaultPreload"}]},Wh=!0,n$={name:"mostCommented",component:KI,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Wh,propName:"headerMini"},{name:D0.MOST_COMMENTED_BREADCRUMB,required:Wh,propName:"breadcrumb"},{name:D0.MOST_COMMENTED_HEADER_PAGE,required:Wh,propName:"headerPage"},{name:D0.MOST_COMMENTED_ARTICLES,required:Wh,propName:"mostCommentedArticles"},{name:D0.MOST_COMMENTED_META,required:Wh,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Wh,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:Wh,propName:"toolbar"}]},Qh=!0,a$={name:"mostRead",component:WI,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Qh,propName:"headerMini"},{name:R0.MOST_READ_BREADCRUMB,required:Qh,propName:"breadcrumb"},{name:R0.MOST_READ_HEADER_PAGE,required:Qh,propName:"headerPage"},{name:R0.MOST_READ_ARTICLES,required:Qh,propName:"mostReadArticles"},{name:R0.MOST_READ_META,required:Qh,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Qh,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:Qh,propName:"toolbar"}]},Yh=!0,i$={name:"mostShared",component:QI,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Yh,propName:"headerMini"},{name:I0.MOST_SHARED_BREADCRUMB,required:Yh,propName:"breadcrumb"},{name:I0.MOST_SHARED_HEADER_PAGE,required:Yh,propName:"headerPage"},{name:I0.MOST_SHARED_ARTICLES,required:Yh,propName:"mostSharedArticles"},{name:I0.MOST_SHARED_META,required:Yh,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Yh,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:Yh,propName:"toolbar"}]},o$={name:"movies",component:YI,expiration:3600*5,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:El.MOVIES_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:El.MOVIES_HEADER_PAGE,required:!0,propName:"headerPage"},{name:El.MOVIES_META,required:!0,propName:"meta"},{name:El.MOVIES_LIST,required:!0,propName:"moviesList"},{name:El.MOVIES_NAVIGATION,required:!0,propName:"moviesNavigation"},{name:El.MOVIES_MOST_READ_ASIDE,required:!0,propName:"mostReadArticles"}]},Zh=!0,s$={name:"news",component:ZI,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Zh,propName:"headerMini"},{name:Wc.NEWS_BREADCRUMB,required:Zh,propName:"breadcrumb"},{name:Wc.NEWS_HEADER_PAGE,required:Zh,propName:"headerPage"},{name:Wc.NEWS_ARTICLES_BY_TAGS,required:Zh,propName:"articlesByTag"},{name:Wc.NEWS_JSON_LD_BREADCRUMB,required:Zh,propName:"jsonLdBreadcrumb"},{name:Wc.NEWS_META,required:Zh,propName:"meta"},{name:nt.COMMON_TOOLBAR,required:Zh,propName:"toolbar"}]},u$={name:"partner",component:JI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"}]},l$={name:"quiz",component:XI,expiration:300,components:[...Jr,{name:Ka.TAG_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:Ka.TAG_HEADER_PAGE,required:!0,propName:"headerPage"},{name:Ka.TAG_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:Ka.TAG_META,required:!0,propName:"meta"},{name:Ka.TAG_PRELOAD,required:!0,propName:"preload"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"},{name:Lg.QUIZ_ARTICLES_LIST,required:!0,propName:"articlesList"}]},um=!0,c$={name:"rewind",component:ej,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:um,propName:"headerMini"},{name:M0.REWIND_BREADCRUMB,required:um,propName:"breadcrumb"},{name:M0.REWIND_LIST,required:um,propName:"rewindList"},{name:M0.REWIND_JSON_LD_BREADCRUMB,required:um,propName:"jsonLdBreadcrumb"},{name:M0.REWIND_META,required:um,propName:"meta"},{name:nt.COMMON_PRELOAD,required:um,propName:"defaultPreload"}]},$h=!0,d$={name:"search",component:tj,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:$h,propName:"headerMini"},{name:L0.SEARCH_BREADCRUMB,required:$h,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:$h,propName:"mostReadArticles"},{name:L0.SEARCH_HEADER_PAGE,required:$h,propName:"headerPage"},{name:L0.SEARCH_JSON_LD_BREADCRUMB,required:$h,propName:"jsonLdBreadcrumb"},{name:L0.SEARCH_META,required:$h,propName:"meta"},{name:nt.COMMON_PRELOAD,required:$h,propName:"defaultPreload"}]},Hp=!0,f$={name:"service",component:rj,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Hp,propName:"headerMini"},{name:Qc.SERVICE_BREADCRUMB,required:Hp,propName:"breadcrumb"},{name:Qc.SERVICE_HEADER_PAGE,required:Hp,propName:"headerPage"},{name:Qc.SERVICE_JSON_LD_BREADCRUMB,required:Hp,propName:"jsonLdBreadcrumb"},{name:Qc.SERVICE_META,required:Hp,propName:"meta"},{name:Qc.SERVICE_CARDS_LIST,required:Hp,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:Hp,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:Hp,propName:"toolbar"}]},Up=!0,p$={name:"shoppingGuide",component:nj,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Up,propName:"headerMini"},{name:Yc.SHOPPING_GUIDE_BREADCRUMB,required:Up,propName:"breadcrumb"},{name:Yc.SHOPPING_GUIDE_HEADER_PAGE,required:Up,propName:"headerPage"},{name:Yc.SHOPPING_GUIDE_JSON_LD_BREADCRUMB,required:Up,propName:"jsonLdBreadcrumb"},{name:Yc.SHOPPING_GUIDE_META,required:Up,propName:"meta"},{name:Yc.SHOPPING_GUIDE_CARDS_LIST,required:Up,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:Up,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:Up,propName:"toolbar"}]},Jh=!0,h$={name:"sitemap",component:aj,expiration:3600*24,components:[...Jr,{name:wl.SITEMAP_BREADCRUMB,required:Jh,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Jh,propName:"mostReadArticles"},{name:wl.SITEMAP_HEADER_PAGE,required:Jh,propName:"headerPage"},{name:wl.SITEMAP_TAGS_LIST,required:Jh,propName:"sitemapTagsList"},{name:wl.SITEMAP_BOTTOM_BULLETED_LIST,required:Jh,propName:"bottomBulletedList"},{name:wl.SITEMAP_TOP_BULLETED_LIST,required:Jh,propName:"topBulletedList"},{name:wl.SITEMAP_META,required:Jh,propName:"meta"}]},m$={name:"story",component:oj,expiration:300,components:[...Jr,{name:cr.CONTENT_HEADER_MINI,required:!0,propName:"headerMini"},{name:cr.CONTENT_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:cr.CONTENT_HEADER,required:!0,propName:"contentHeader"},{name:cr.CONTENT_COVER,required:!0,propName:"cover"},{name:cr.CONTENT_SOCIAL_BAR,required:!0,propName:"socialBar"},{name:cr.CONTENT_SIGNATURE,required:!0,propName:"signature"},{name:kg.SLIDESHOW_CONTENT,required:!0,propName:"slideshowContent"},{name:wp.STORY_TOP_CONTENT,required:!0,propName:"topContent"},{name:cr.CONTENT_TAG_BAR,required:!0,propName:"tagBar"},{name:cr.CONTENT_SCROLL_PROGRESS_BUTTON,required:!1,propName:"scrollProgressButton"},{name:_l.RUBRIC_MOST_READ_ARTICLES,required:!1,propName:"mostReadArticles"},{name:nt.COMMON_LATEST_CONTENTS_CARROUSEL,required:!1,propName:"latestContentsCarousel"},{name:_l.RUBRIC_RUBRIC_CAROUSELS,required:!1,propName:"rubricCarousels"},{name:_l.RUBRIC_THREE_COLUMNS_ARTICLES,required:!1,propName:"partnerCards"},{name:cr.CONTENT_JSON_LD_BREADCRUMB,required:!1,propName:"jsonLdBreadcrumb"},{name:wp.STORY_JSON_LD_NEWS_ARTICLE,required:!1,propName:"jsonLdNewsArticle"},{name:cr.CONTENT_META,required:!0,propName:"meta"},{name:wp.STORY_PRELOAD,required:!0,propName:"preload"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:cr.CONTENT_COMMENT_V2,required:!0,propName:"comment"},{name:cr.CONTENT_COMMENT_BUTTON,required:!0,propName:"commentButton"},{name:cr.CONTENT_SIDE_BRANDS_ARTICLES,required:!1,propName:"sideBrandsArticles"},{name:cr.CONTENT_HEADER_MOBILE,required:!0,propName:"contentHeaderMobile"}]},Yf=!0,v$={name:"sport",component:sj,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Yf,propName:"headerMini"},{name:Sl.SPORT_BREADCRUMB,required:Yf,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Yf,propName:"mostReadArticles"},{name:Sl.SPORT_SIDEBAR,required:Yf,propName:"sidebar"},{name:Sl.SPORT_HEADER_PAGE,required:Yf,propName:"headerPage"},{name:Sl.SPORT_JSON_LD_BREADCRUMB,required:Yf,propName:"jsonLdBreadcrumb"},{name:Sl.SPORT_CONTENT,required:Yf,propName:"content"},{name:Sl.SPORT_META,required:Yf,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Yf,propName:"defaultPreload"}]},g$={name:"static",component:uj,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:z1.STATIC_CONTENT,required:!0,propName:"content"},{name:z1.STATIC_META,required:!0,propName:"meta"}]},y$={name:"tag",component:lj,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:Ka.TAG_OVERVIEW_BAR,required:!1,propName:"overviewBar"},{name:Ka.TAG_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:Ka.TAG_HEADER_PAGE,required:!0,propName:"headerPage"},{name:Ka.TAG_ARTICLES_LIST_TOP,required:!0,propName:"articlesListTop"},{name:Ka.TAG_NEWS_CAROUSEL,required:!1,propName:"newsCarousel"},{name:Ka.TAG_ARTICLES_LIST_BOTTOM,required:!0,propName:"articlesListBottom"},{name:Ka.TAG_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:Ka.TAG_META,required:!0,propName:"meta"},{name:Ka.TAG_PRELOAD,required:!0,propName:"preload"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:Ka.TAG_BRAND_PUBLISHING_ARTICLE_BOTTOM,required:!1,propName:"brandPublishingArticleBottom"},{name:nt.COMMON_TOOLBAR,required:!1,propName:"toolbar"}]},Xh=!0,b$={name:"traffic",component:dj,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Xh,propName:"headerMini"},{name:k0.TRAFFIC_BREADCRUMB,required:Xh,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Xh,propName:"mostReadArticles"},{name:k0.TRAFFIC_HEADER_PAGE,required:Xh,propName:"headerPage"},{name:k0.TRAFFIC_JSON_LD_BREADCRUMB,required:Xh,propName:"jsonLdBreadcrumb"},{name:k0.TRAFFIC_META,required:Xh,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Xh,propName:"defaultPreload"}]},x$={name:"tvHome",component:fj,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:Sp.TV_HOME_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:Sp.TV_HOME_META,required:!0,propName:"meta"},{name:Sp.TV_HOME_TOP_BLOCK,required:!0,propName:"topBlock"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:!0,propName:"showsReplaysCarousel"},{name:nt.COMMON_TV_MOST_BLOCK,required:!0,propName:"mostBlock"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},A$={name:"tvLive",component:pj,expiration:60,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:Zc.TV_LIVE_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:Zc.TV_LIVE_META,required:!0,propName:"meta"},{name:Zc.TV_LIVE_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:Zc.TV_LIVE_TOP_BLOCK,required:!0,propName:"topBlock"},{name:Zc.TV_LIVE_TIMELINE,required:!0,propName:"timeline"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:!0,propName:"showsReplaysCarousel"},{name:nt.COMMON_TV_MOST_BLOCK,required:!0,propName:"mostBlock"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},E$={name:"tvMostRecent",component:hj,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:O0.TV_MOST_RECENT_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:O0.TV_MOST_RECENT_HEADER_PAGE,required:!0,propName:"headerPage"},{name:O0.TV_MOST_RECENT_VIDEOS_LIST,required:!0,propName:"videosList"},{name:O0.TV_MOST_RECENT_META,required:!0,propName:"meta"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},_$={name:"tvMostViewed",component:mj,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:j0.TV_MOST_VIEWED_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:j0.TV_MOST_VIEWED_HEADER_PAGE,required:!0,propName:"headerPage"},{name:j0.TV_MOST_VIEWED_VIDEOS_LIST,required:!0,propName:"videosList"},{name:j0.TV_MOST_VIEWED_META,required:!0,propName:"meta"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},w$={name:"tvShow",component:vj,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:B0.TV_SHOW_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:B0.TV_SHOW_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:B0.TV_SHOW_META,required:!0,propName:"meta"},{name:B0.TV_SHOW_MAIN_BLOCK,required:!0,propName:"mainBlock"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:!0,propName:"showsReplaysCarousel"},{name:nt.COMMON_TV_MOST_BLOCK,required:!0,propName:"mostBlock"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},S$={name:"tvShows",component:gj,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:P0.TV_SHOWS_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:P0.TV_SHOWS_META,required:!0,propName:"meta"},{name:P0.TV_SHOWS_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:P0.TV_SHOWS_PROGRAMS,required:!0,propName:"programs"}]},C$={name:"tvVideo",component:yj,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:Lo.TV_VIDEO_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:Lo.TV_VIDEO_META,required:!0,propName:"meta"},{name:Lo.TV_VIDEO_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:Lo.TV_VIDEO_PAGE_TITLE,required:!0,propName:"pageTitle"},{name:Lo.TV_VIDEO_TOP_BLOCK,required:!0,propName:"topBlock"},{name:Lo.TV_VIDEO_MOST_VIDEOS,required:!0,propName:"mostVideos"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:!0,propName:"showsReplaysCarousel"},{name:Lo.TV_VIDEO_BACKGROUND_IMAGE,required:!0,propName:"backgroundImg"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"},{name:Lo.TV_VIDEO_EXTRACTS_AND_REPLAYS,required:!0,propName:"extractsAndReplays"},{name:Lo.TV_VIDEO_JSON_LD_NEWS_ARTICLE,required:!1,propName:"jsonLdNewsArticle"}]},lm=!0,T$={name:"utiq",component:bj,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:lm,propName:"headerMini"},{name:F0.UTIQ_BREADCRUMB,required:lm,propName:"breadcrumb"},{name:F0.UTIQ_HEADER_PAGE,required:lm,propName:"headerPage"},{name:F0.UTIQ_JSON_LD_BREADCRUMB,required:lm,propName:"jsonLdBreadcrumb"},{name:F0.UTIQ_META,required:lm,propName:"meta"},{name:nt.COMMON_PRELOAD,required:lm,propName:"defaultPreload"}]},e1=!0,N$={name:"weather",component:xj,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:e1,propName:"headerMini"},{name:H0.WEATHER_BREADCRUMB,required:e1,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:e1,propName:"mostReadArticles"},{name:H0.WEATHER_HEADER_PAGE,required:e1,propName:"headerPage"},{name:H0.WEATHER_JSON_LD_BREADCRUMB,required:e1,propName:"jsonLdBreadcrumb"},{name:H0.WEATHER_META,required:e1,propName:"meta"},{name:nt.COMMON_PRELOAD,required:e1,propName:"defaultPreload"}]},av=!0,D$={name:"whyCreateAccount",component:Aj,expiration:3600*24*30,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:av,propName:"headerMini"},{name:Cp.WHY_CREATE_ACCOUNT_BREADCRUMB,required:av,propName:"breadcrumb"},{name:nt.COMMON_PRELOAD,required:av,propName:"defaultPreload"},{name:Cp.WHY_CREATE_ACCOUNT_JSON_LD_BREADCRUMB,required:av,propName:"jsonLdBreadcrumb"},{name:Cp.WHY_CREATE_ACCOUNT_META,required:av,propName:"meta"}]},R$=[RZ,OZ,IZ,jZ,MZ,LZ,kZ,BZ,PZ,FZ,HZ,UZ,zZ,qZ,VZ,GZ,KZ,WZ,QZ,YZ,ZZ,$Z,JZ,e$,XZ,t$,r$,n$,a$,i$,o$,s$,u$,l$,c$,d$,f$,p$,h$,m$,v$,g$,y$,b$,x$,A$,E$,_$,w$,S$,C$,T$,N$,D$];we.AIArticlesList=y6,we.Accordion=Pg,we.AdIframePage=cI,we.AnimalQuizPage=gI,we.ArchiveByDayPage=yI,we.ArchiveByYearPage=bI,we.ArchivePdfList=KR,we.ArticleMobileHeader=QR,we.ArticlePage=_I,we.ArticleSummary=UD,we.ArticlesBlockHeader=A3,we.ArticlesInRow=Wd,we.ArticlesInRowMap=EO,we.ArticlesListTop=DO,we.ArticlesWithMain=q2,we.AstroHomePage=wI,we.AstroHomepageContent=zD,we.AstroLinksNextTypes=qD,we.AstroPage=SI,we.BackgroundImage=R5,we.BlockedGameBlock=QD,we.BulletedListMap=$R,we.COMPONENT_CONFIGS=sZ,we.CardExtraLarge=XV,we.CardMostList=OO,we.CardWithSummaryList=IO,we.CardsList=jl,we.ChatbotButton=c9,we.CityByCityBlock=cO,we.ComponentNameAdIframe=Mg,we.ComponentNameAnimalQuiz=qc,we.ComponentNameArchives=ao,we.ComponentNameArticle=pu,we.ComponentNameAstro=ka,we.ComponentNameCommon=nt,we.ComponentNameContact=qu,we.ComponentNameContent=cr,we.ComponentNameDirect=Fd,we.ComponentNameElections=ar,we.ComponentNameElectionsAiArticles=Vc,we.ComponentNameError=U1,we.ComponentNameGame=Vn,we.ComponentNameHome=kr,we.ComponentNameJobs=wa,we.ComponentNameJournalist=lc,we.ComponentNameLa21e=Gc,we.ComponentNameLegalNotice=la,we.ComponentNameLive=hu,we.ComponentNameMobileApps=Kc,we.ComponentNameMostCommented=D0,we.ComponentNameMostRead=R0,we.ComponentNameMostShared=I0,we.ComponentNameMovies=El,we.ComponentNameNews=Wc,we.ComponentNameQuiz=Lg,we.ComponentNameRewind=M0,we.ComponentNameRubric=_l,we.ComponentNameSearch=L0,we.ComponentNameService=Qc,we.ComponentNameShoppingGuide=Yc,we.ComponentNameSitemap=wl,we.ComponentNameSlideshow=kg,we.ComponentNameSport=Sl,we.ComponentNameStatic=z1,we.ComponentNameStory=wp,we.ComponentNameTag=Ka,we.ComponentNameTraffic=k0,we.ComponentNameTvHome=Sp,we.ComponentNameTvLive=Zc,we.ComponentNameTvMostRecent=O0,we.ComponentNameTvMostViewed=j0,we.ComponentNameTvShow=B0,we.ComponentNameTvShows=P0,we.ComponentNameTvVideo=Lo,we.ComponentNameUtiq=F0,we.ComponentNameWeather=H0,we.ComponentNameWhyCreateAccount=Cp,we.ContactAddresses=JR,we.ContactDetails=XR,we.ContactForm=eO,we.ContactPage=CI,we.Content=tm,we.ContentCover=W5,we.ContentTemplate=F3,we.DigitekaSmartPlayer=m6,we.DirectPage=TI,we.DirectTabs=JW,we.ElectionsAIArticlesPage=NI,we.ElectionsDistribution=tO,we.ElectionsEmbedPage=DI,we.ElectionsHomePage=RI,we.ElectionsMapConstituencies=rO,we.ElectionsMapDepartments=nO,we.ElectionsMapEurope=aO,we.ElectionsMapTownsByDepartments=iO,we.ElectionsMultipleResults=oO,we.ElectionsPage=OI,we.ElectionsResults=nm,we.ElectionsResultsFiltered=sO,we.ElectionsSummary=uO,we.EntertainmentBlock=O5,we.EntertainmentCarousel=J5,we.ErrorPage=II,we.ExternalAdElement=x9,we.ExtraSmallArticlesBlock=dO,we.Faq=I5,we.FaqList=KD,we.FavoriteGamesBlock=XW,we.GameAd=A9,we.GameAppPage=jI,we.GameContact=WD,we.GameHomePage=MI,we.GameIframe=M5,we.GamePage=LI,we.GamePageHeader=Y5,we.GamesAccordion=k5,we.GamesCarousel=fO,we.GamesList=$5,we.HeaderPage=Xo,we.HomePage=kI,we.HomeTopBlock=pO,we.HomeVideosTopBlock=jO,we.HtmlComment=mu,we.HtmlTemplate=tv,we.IdalgoWidget=v6,we.ImagesGrid=YD,we.InfoBanner=_3,we.InfoLine=ZD,we.JobDetailsPage=BI,we.JobsPage=PI,we.JournalistPage=FI,we.JsonLdBreadcrumb=Oa,we.JsonLdClaimReview=E9,we.JsonLdFaq=g6,we.JsonLdLiveBlogPosting=_9,we.JsonLdNewsArticle=Bg,we.La21ePage=HI,we.LastArticlesBlock=w3,we.LatestContentsCarousel=YR,we.LegalNoticeCardsList=S3,we.LegalNoticeContent=$D,we.LegalNoticeDepartmentPage=UI,we.LegalNoticeHomePage=zI,we.LegalNoticePage=qI,we.LiveInProgressBlock=O2,we.LiveIndicator=B5,we.LivePage=VI,we.LivePost=bO,we.LivePostContent=JD,we.LivePostsContainer=a8,we.LivePostsThread=xO,we.LocalNews=hO,we.MainInformationBlock=yO,we.Meta=Nn,we.MobileAppsPage=GI,we.MonthsList=WR,we.MostCommentedPage=KI,we.MostReadArticles=X5,we.MostReadArticlesBlock=M3,we.MostReadPage=WI,we.MostSharedPage=QI,we.MoviesList=AO,we.MoviesNavigation=XD,we.MoviesPage=YI,we.MunicipalBlock=mO,we.NewsPage=ZI,we.PAGE_CONFIGS=R$,we.PageTemplate=Yr,we.PageType=cn,we.PartnerPage=JI,we.PartnersBlock=vO,we.Preload=q1,we.PromoBanner=I2,we.QuizList=_O,we.QuizPage=XI,we.REACTION_TYPES=jg,we.ReadAlsoBlock=ZR,we.RefreshButton=S9,we.RewindList=wO,we.RewindPage=ej,we.RubricsCarousels=Q5,we.ScriptGlobalsInit=w9,we.SearchBanner=FR,we.SearchPage=tj,we.Section=kp,we.ServicePage=rj,we.ShoppingGuidePage=nj,we.ShowCover=HR,we.ShowMainBlock=BO,we.ShowsReplaysCarousel=PO,we.SideBrandsArticles=L3,we.SitemapPage=aj,we.SitemapTagsList=SO,we.SlideshowPage=oj,we.SlideshowStories=CO,we.SlideshowStory=UR,we.SponsoredBlock=$W,we.SportPage=sj,we.SportSidebar=TO,we.StaticCardList=V2,we.StaticContent=zR,we.StaticPage=uj,we.TagCarousel=NO,we.TagPage=lj,we.TemplateType=P3,we.ThirdpartyScripts=y9,we.TrafficPage=dj,we.TvBlock=gO,we.TvExtractsAndReplaysBlock=e8,we.TvHomePage=fj,we.TvLivePage=pj,we.TvLiveTopBlock=qR,we.TvMostBlock=RO,we.TvMostRecentPage=hj,we.TvMostViewedPage=mj,we.TvShowPage=vj,we.TvShowsPage=gj,we.TvVideoPage=yj,we.TvVideoTopBlock=VR,we.UtiqPage=bj,we.WeatherPage=xj,we.WhyCreateAccountPage=Aj,we.YearsList=GR,we.displayContentDate=zP,we.draftToHTML=em,we.draftToReact=Kd,we.excludedRubricsForReactions=sI,we.formatDateWithSlash=d6,we.formatTimestampToYYYYMMDD=WP,we.fromGlobalId=N5,we.getDepartmentFromTags=$O,we.getDepartments=ZO,we.getEmptyReactionListItems=h6,we.getFormatedRelativeTime=l6,we.getIllustrationPhoto=Bp,we.getImageCaption=G2,we.getReactionCount=m9,we.getReactionListItems=v9,we.getStoryMedias=Fh,we.getTabItem=Q2,we.getThemeColorBySlug=W2,we.isNotNullOrUndefined=n8,we.mockDaysAgo=KP,we.mockHoursAgo=GP,we.mockMinutesAgo=VP,we.secondsToMinSec=Ig,we.toGlobalId=zV,we.transformArticlesForDirectPage=qO,we.transformArticlesForJournalistPage=XO,we.transformArticlesForQuizPage=uI,we.transformArticlesForTagPage=u8,we.transformContentsForLatestContentsCarousel=UO,we.transformContentsForLiveAndMostRead=zO,we.transformContentsForLocalNews=JO,we.transformContentsForMostRead=lI,we.transformContentsForMostReadPage=iI,we.transformContentsForTVExtractsOrReplays=LO,we.transformDateFormat=f6,we.transformLegalNoticesForLegalPage=r8,we.transformLivePostsForLivePage=tI,we.transformMoviesForMoviesPage=oI,we.transformPDFsForArchivePage=FO,Object.defineProperty(we,Symbol.toStringTag,{value:"Module"})}));
244
+ `)}removeWhitespace(){let t=0;this.childNodes.forEach(o=>{if(o.nodeType===3){if(o.isWhitespace)return;o.rawText=o.trimmedRawText}else o.nodeType===1&&o.removeWhitespace();this.childNodes[t++]=o}),this.childNodes.length=t;const n=Object.keys(this.rawAttributes).map(o=>{const s=this.quoteAttribute(this.rawAttributes[o]);return s==="null"||s==='""'?o:`${o}=${s}`}).join(" ");return this.rawAttrs=n,delete this._rawAttrs,this}querySelectorAll(t){return EV(t,this,{xmlMode:!0,adapter:g3})}querySelector(t){return CD(t,this,{xmlMode:!0,adapter:g3})}matches(t){return _V(this,t,{xmlMode:!0,adapter:g3})}getElementsByTagName(t){const n=t.toUpperCase(),o=[],s=[];let l=this,c=0;for(;c!==void 0;){let p;do p=l.childNodes[c++];while(c<l.childNodes.length&&p===void 0);if(p===void 0){l=l.parentNode,c=s.pop();continue}p.nodeType===1&&((t==="*"||p.tagName===n)&&o.push(p),p.childNodes.length>0&&(s.push(c),l=p,c=0))}return o}getElementById(t){const n=[];let o=this,s=0;for(;s!==void 0;){let l;do l=o.childNodes[s++];while(s<o.childNodes.length&&l===void 0);if(l===void 0){o=o.parentNode,s=n.pop();continue}if(l.nodeType===1){if(l._id===t)return l;l.childNodes.length>0&&(n.push(s),o=l,s=0)}}return null}closest(t){const n=new Map;let o=this,s=null;function l(c,p){let m=null;for(let h=0,A=p.length;h<A&&!m;h++){const w=p[h];if(c(w))m=w;else{const _=n.get(w);_&&(m=l(c,[_]))}}return m}for(;o;)n.set(o,s),s=o,o=o.parentNode;for(o=this;o;){const c=CD(t,o,{xmlMode:!0,adapter:Ip(Ip({},g3),{},{getChildren(p){const m=n.get(p);return m&&[m]},getSiblings(p){return[p]},findOne:l,findAll(){return[]}})});if(c)return c;o=o.parentNode}return null}appendChild(t){return this.append(t),t}get attrs(){if(this._attrs)return this._attrs;this._attrs={};const t=this.rawAttributes;for(const n in t){const o=t[n]||"";this._attrs[n.toLowerCase()]=R2(o)}return this._attrs}get attributes(){const t={},n=this.rawAttributes;for(const o in n)t[o]=R2(n[o]||"");return t}get rawAttributes(){if(this._rawAttrs)return this._rawAttrs;const t={};if(this.rawAttrs){const n=/([a-zA-Z()[\]#@$.?:][a-zA-Z0-9-._:()[\]#]*)(?:\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+))?/g;let o;for(;o=n.exec(this.rawAttrs);){const s=o[1];let l=o[2]||null;l&&(l[0]==="'"||l[0]==='"')&&(l=l.slice(1,l.length-1)),t[s]=t[s]||l}}return this._rawAttrs=t,t}removeAttribute(t){const n=this.rawAttributes;return delete n[t],this._attrs&&delete this._attrs[t],this.rawAttrs=Object.keys(n).map(o=>{const s=this.quoteAttribute(n[o]);return s==="null"||s==='""'?o:`${o}=${s}`}).join(" "),t==="id"&&(this._id=""),this}hasAttribute(t){return t.toLowerCase()in this.attrs}getAttribute(t){return this.attrs[t.toLowerCase()]}setAttribute(t,n){if(arguments.length<2)throw new Error("Failed to execute 'setAttribute' on 'Element'");const o=t.toLowerCase(),s=this.rawAttributes;for(const l in s)if(l.toLowerCase()===o){t=l;break}return s[t]=String(n),this._attrs&&(this._attrs[o]=R2(s[t])),this.rawAttrs=Object.keys(s).map(l=>{const c=this.quoteAttribute(s[l]);return c==="null"||c==='""'?l:`${l}=${c}`}).join(" "),t==="id"&&(this._id=n),this}setAttributes(t){return this._attrs&&delete this._attrs,this._rawAttrs&&delete this._rawAttrs,this.rawAttrs=Object.keys(t).map(n=>{const o=t[n];return o==="null"||o==='""'?n:`${n}=${this.quoteAttribute(String(o))}`}).join(" "),"id"in t&&(this._id=t.id),this}insertAdjacentHTML(t,n){if(arguments.length<2)throw new Error("2 arguments required");const o=Lh(n,this._parseOptions);if(t==="afterend")this.after(...o.childNodes);else if(t==="afterbegin")this.prepend(...o.childNodes);else if(t==="beforeend")this.append(...o.childNodes);else if(t==="beforebegin")this.before(...o.childNodes);else throw new Error(`The value provided ('${t}') is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'`);return this}prepend(...t){const n=y3(t);q0(n,this),this.childNodes.unshift(...n)}append(...t){const n=y3(t);q0(n,this),this.childNodes.push(...n)}before(...t){const n=y3(t),o=this.parentNode.childNodes;q0(n,this.parentNode),o.splice(o.indexOf(this),0,...n)}after(...t){const n=y3(t),o=this.parentNode.childNodes;q0(n,this.parentNode),o.splice(o.indexOf(this)+1,0,...n)}get nextSibling(){if(this.parentNode){const t=this.parentNode.childNodes;let n=0;for(;n<t.length;){const o=t[n++];if(this===o)return t[n]||null}return null}}get nextElementSibling(){if(this.parentNode){const t=this.parentNode.childNodes;let n=0,o=!1;for(;n<t.length;){const s=t[n++];if(o){if(s instanceof Wy)return s||null}else this===s&&(o=!0)}return null}}get previousSibling(){if(this.parentNode){const t=this.parentNode.childNodes;let n=t.length;for(;n>0;){const o=t[--n];if(this===o)return t[n-1]||null}return null}}get previousElementSibling(){if(this.parentNode){const t=this.parentNode.childNodes;let n=t.length,o=!1;for(;n>0;){const s=t[--n];if(o){if(s instanceof Wy)return s||null}else this===s&&(o=!0)}return null}}get children(){const t=[];for(const n of this.childNodes)n instanceof Wy&&t.push(n);return t}get firstChild(){return this.childNodes[0]}get firstElementChild(){return this.children[0]}get lastChild(){return Lp(this.childNodes)}get lastElementChild(){return this.children[this.children.length-1]}get childElementCount(){return this.children.length}get classNames(){return this.classList.toString()}clone(){return Lh(this.toString(),this._parseOptions).firstChild}};const kV=/<!--[\s\S]*?-->|<(\/?)([a-zA-Z][-.:0-9_a-zA-Z@\xB7\xC0-\xD6\xD8-\xF6\u00F8-\u03A1\u03A3-\u03D9\u03DB-\u03EF\u03F7-\u03FF\u0400-\u04FF\u0500-\u052F\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E00-\u1E9B\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A-\u212B\u2132\u214E\u2160-\u2188\u2C60-\u2C7F\uA722-\uA787\uA78B-\uA78E\uA790-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA7FF\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64-\uAB65\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A\x37F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*)((?:\s+[^>]*?(?:(?:'[^']*')|(?:"[^"]*"))?)*)\s*(\/?)>/gu,BV=/<!--[\s\S]*?-->|<!\[CDATA\[[\s\S]*?\]\]>|<(\/?)([a-zA-Z][-.:0-9_a-zA-Z@\xB7\xC0-\xD6\xD8-\xF6\u00F8-\u03A1\u03A3-\u03D9\u03DB-\u03EF\u03F7-\u03FF\u0400-\u04FF\u0500-\u052F\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E00-\u1E9B\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A-\u212B\u2132\u214E\u2160-\u2188\u2C60-\u2C7F\uA722-\uA787\uA78B-\uA78E\uA790-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA7FF\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64-\uAB65\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A\x37F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*)((?:\s+[^>]*?(?:(?:'[^']*')|(?:"[^"]*"))?)*)\s*(\/?)>/gu,PV=/(?:^|\s)(id|class)\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+)/gi,jD={li:{li:!0,LI:!0},LI:{li:!0,LI:!0},p:{p:!0,div:!0,P:!0,DIV:!0},P:{p:!0,div:!0,P:!0,DIV:!0},b:{div:!0,DIV:!0},B:{div:!0,DIV:!0},td:{td:!0,th:!0,TD:!0,TH:!0},TD:{td:!0,th:!0,TD:!0,TH:!0},th:{td:!0,th:!0,TD:!0,TH:!0},TH:{td:!0,th:!0,TD:!0,TH:!0},h1:{h1:!0,H1:!0},H1:{h1:!0,H1:!0},h2:{h2:!0,H2:!0},H2:{h2:!0,H2:!0},h3:{h3:!0,H3:!0},H3:{h3:!0,H3:!0},h4:{h4:!0,H4:!0},H4:{h4:!0,H4:!0},h5:{h5:!0,H5:!0},H5:{h5:!0,H5:!0},h6:{h6:!0,H6:!0},H6:{h6:!0,H6:!0}},MD={li:{ul:!0,ol:!0,UL:!0,OL:!0},LI:{ul:!0,ol:!0,UL:!0,OL:!0},a:{div:!0,DIV:!0},A:{div:!0,DIV:!0},b:{div:!0,DIV:!0},B:{div:!0,DIV:!0},i:{div:!0,DIV:!0},I:{div:!0,DIV:!0},p:{div:!0,DIV:!0},P:{div:!0,DIV:!0},td:{tr:!0,table:!0,TR:!0,TABLE:!0},TD:{tr:!0,table:!0,TR:!0,TABLE:!0},th:{tr:!0,table:!0,TR:!0,TABLE:!0},TH:{tr:!0,table:!0,TR:!0,TABLE:!0}},LD={p:{a:!0,audio:!0,del:!0,ins:!0,map:!0,noscript:!0,video:!0}},T5="documentfragmentcontainer";function kD(e,t={}){var n,o;const s=new OD(t==null||(n=t.voidTag)===null||n===void 0?void 0:n.closingSlash,t==null||(o=t.voidTag)===null||o===void 0?void 0:o.tags),l=e.includes("<![CDATA["),c=l?BV:kV,p=t.blockTextElements||{script:!0,noscript:!0,style:!0,pre:!0},m=Object.keys(p),h=m.map(ie=>new RegExp(`^${ie}$`,"i")),A=m.filter(ie=>!!p[ie]).map(ie=>new RegExp(`^${ie}$`,"i"));function w(ie){return A.some(ee=>ee.test(ie))}function _(ie){return h.some(ee=>ee.test(ie))}const D=(ie,ee)=>[ie-Z,ee-Z],S=new C5(null,{},"",null,[0,e.length],s,t);let T=S;const C=[S];let I=-1,L,P;e=`<${T5}>${e}</${T5}>`;const{lowerCaseTagName:q,fixNestedATags:H}=t,W=e.length-27,Z=27;for(c.lastIndex=0;P=c.exec(e);){let{0:ie,1:ee,2:$,3:V,4:X}=P;const se=ie.length,de=c.lastIndex-se,Ae=c.lastIndex;if(I>-1&&I+se<Ae){const Oe=e.substring(I,de);T.appendChild(new zf(Oe,T,D(I,de)))}if(I=c.lastIndex,l&&ie.startsWith("<![CDATA[")){T.appendChild(new zf(ie,T,D(de,Ae)));continue}if($!==T5){if(ie[1]==="!"){if(t.comment){const Oe=e.substring(de+4,Ae-3);T.appendChild(new QN(Oe,T,D(de,Ae)))}continue}if(q&&($=$.toLowerCase()),!ee){const Oe={};for(let Ie;Ie=PV.exec(V);){const{1:Ue,2:Ee}=Ie,Rt=Ee[0]==="'"||Ee[0]==='"';Oe[Ue.toLowerCase()]=Rt?Ee.slice(1,Ee.length-1):Ee}const Pe=T.rawTagName;!X&&!t.preserveTagNesting&&jD[Pe]&&jD[Pe][$]&&(C.pop(),T=Lp(C)),H&&($==="a"||$==="A")&&(L!==void 0&&(C.splice(L),T=Lp(C)),L=C.length);const Se=c.lastIndex,Le=Se-se;if(T=T.appendChild(new C5($,Oe,V.slice(1),null,D(Le,Se),s,t)),C.push(T),_($)){const Ie=`</${$}>`,Ue=q?e.toLocaleLowerCase().indexOf(Ie,c.lastIndex):e.indexOf(Ie,c.lastIndex),Ee=Ue===-1?W:Ue;if(w($)){const Rt=e.substring(Se,Ee);Rt.length>0&&/\S/.test(Rt)&&T.appendChild(new zf(Rt,T,D(Se,Ee)))}Ue===-1?I=c.lastIndex=e.length+1:(I=c.lastIndex=Ue+Ie.length,ee="/")}}if(ee||X||s.isVoidElement($))for(;;)if(L!=null&&($==="a"||$==="A")&&(L=void 0),T.rawTagName===$){T.range[1]=D(-1,Math.max(I,Ae))[1],C.pop(),T=Lp(C);break}else{const Oe=T.tagName;if(MD[Oe]&&MD[Oe][$]){C.pop(),T=Lp(C);continue}const Pe=T.rawTagName?T.rawTagName.toLowerCase():"";if(LD[Pe]){const Se=$.toLowerCase();if(C.length>1){const Le=C[C.length-2];if(Le&&Le.rawTagName&&Le.rawTagName.toLowerCase()===Se&&!LD[Pe][Se]){T.range[1]=D(-1,Math.max(I,Ae))[1],C.pop(),T=Lp(C);continue}}}if(t.closeAllByClosing===!0){let Se;for(Se=C.length-2;Se>=0&&C[Se].rawTagName!==$;Se--);if(Se>=0){for(;C.length>Se;)T.range[1]=D(-1,Math.max(I,Ae))[1],C.pop(),T=Lp(C);continue}}break}}}return C}function Lh(e,t={}){const n=kD(e,t),[o]=n;for(;n.length>1;){const s=n.pop(),l=Lp(n);s.parentNode&&s.parentNode.parentNode&&(s.parentNode===l&&s.tagName===l.tagName?t.parseNoneClosedTags!==!0&&(l.removeChild(s),s.childNodes.forEach(c=>{l.parentNode.appendChild(c)}),n.pop()):t.parseNoneClosedTags!==!0&&(l.removeChild(s),s.childNodes.forEach(c=>{l.appendChild(c)})))}return o}function y3(e){return e.map(t=>typeof t=="string"?new zf(t):(t.remove(),t))}function q0(e,t){return e.map(n=>(n.parentNode=t,n))}function FV(e,t={}){return kD(e,t).length===1}function Ki(e,t={}){return Lh(e,t)}Ki.parse=Lh,Ki.HTMLElement=C5,Ki.CommentNode=QN,Ki.valid=FV,Ki.Node=$1,Ki.TextNode=zf,Ki.NodeType=WN;const BD=({colorVariant:e="ultramarine",cookieLink:t="https://www.20minutes.fr/gestion-cookies",privacyPolicyUrl:n,vendorName:o="20 Minutes (contenus interactifs)"})=>a.jsxs(ye,{className:"cmp-placeholder u-hidden",borderColor:"grey-200",radius:"l",p:"xxl",children:[a.jsxs(Me,{size:"xxl",color:e,mb:"xxl",fontFamily:"source-serif-pro",weight:"semi-bold",children:["L’accès à ce contenu"," ",a.jsx(Me,{as:"span",weight:"bold",children:o})," ","a été bloqué afin de respecter vos choix de consentement"]}),a.jsxs(Me,{size:"l",mb:"m",children:['En cliquant sur "Accepter les cookies", vous consentez au dépôt de cookies par'," ",a.jsx(Me,{as:"span",weight:"bold",children:o})," ","et pourrez ainsi accéder à ce contenu interactif."]}),a.jsx(Me,{size:"l",mb:"m",children:"Vous pouvez, à tout moment, modifier vos choix cookies ou retirer votre consentement en bas de nos pages."}),a.jsxs(Me,{size:"s",mb:"xl",children:["En savoir plus sur notre"," ",a.jsx(Me,{color:e,as:"a",href:t,children:"politique de cookies"}),n&&a.jsxs(a.Fragment,{children:[" ","et sur la"," ",a.jsx(Me,{color:e,as:"a",href:n,children:"politique de confidentialité de ce partenaire"})]}),"."]}),a.jsxs(he,{direction:"row",gap:"m",justifyContent:"center",wrap:"wrap",children:[a.jsx(bn,{className:"cmp-preferences-button",variant:"outlined",children:"Gérer mes préférences"}),a.jsx(bn,{className:"cmp-button",children:"J’accepte les cookies"})]})]}),HV=e=>typeof window>"u"&&typeof Buffer<"u"?Buffer.from(e,"utf-8").toString("base64"):window.btoa(unescape(encodeURIComponent(e))),UV=e=>typeof window>"u"&&typeof Buffer<"u"?Buffer.from(e,"base64").toString("utf-8"):decodeURIComponent(escape(window?.atob(e))),N5=e=>{const n=UV(e).split(":");return n.length===2?n[1]:""},zV=(e,t)=>HV(`${e}:${t}`),qV=["allow","allowfullscreen","class","data-src","frameborder","height","hspace","id","loading","marginheight","marginwidth","mozallowfullscreen","name","referrerpolicy","sandbox","scrolling","src","style","webkitallowfullscreen","width"].join("|"),VV=new RegExp(`\\s+title=(["'])([\\s\\S]*?)\\1(?=\\s+(?:${qV})\\b|\\s*\\/?>)`,"gi"),GV=e=>w2(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;"),PD=e=>e.replace(VV,(t,n,o)=>` title="${GV(o)}"`),Wa=e=>Rh.renderToStaticMarkup(e),vu=e=>Rh.renderToString(e),FD=e=>(Array.from(e.querySelectorAll("[src]")).forEach(n=>{const o=n.getAttribute("src");o&&(n.setAttribute("data-src",o),n.removeAttribute("src"))}),e),HD=e=>(Array.from(e.querySelectorAll("iframe")).forEach(n=>{n.setAttribute("loading","lazy")}),e),{convertFromRaw:KV}=BA,WV=u5.Parser(),QV=u5.ProcessingInstructions(),b3=e=>WV.parseWithInstructions(e,u5.IsValidNodeDefinitions.alwaysValid,QV.defaultProcessingInstructions,[{shouldPreprocessNode:t=>t.name==="iframe"&&!!t.attribs?.referrerpolicy,preprocessNode:t=>{t.attribs?.referrerpolicy&&(t.attribs.referrerPolicy=t.attribs.referrerpolicy,delete t.attribs.referrerpolicy)}}]),x3=(e,t)=>{let n=e,o="";const s=e.match(/<script[\s\S]*?>[\s\S]*?<\/script>/gi);return s?.length===1&&(n=e.replace(s[0],""),o=s[0].replace(t??"<script>",'<script data-script-loading="lazy">')),{html:n,script:o}},YV={twitter:"xtwitter-3cVkYrxq",tiktok:"tiktok-Hd3BqYVJ",facebook:"facebook-FmRQTGkw",instagram:"instagram-RDffthKi",youtube:"youtube-ceZtLYTL",idalgo:"idalgoco-kWpXzcnt",infogram:"infogrami-9QyDJG6i",qualifio:"qualifioj-xJrbdHny",pinterest:"pinterest-9W3hHUNN",spotify:"spotify-bPVhUtPW"},ZV={facebook:{vendorName:"Facebook",privacyPolicyUrl:"https://www.facebook.com/privacy/policy/"},idalgo:{vendorName:"iDalgo",privacyPolicyUrl:"https://www.idalgo.fr/mentions-legales/"},infogram:{vendorName:"Infogram",privacyPolicyUrl:"https://infogram.com/fr/privacy"},instagram:{vendorName:"Instagram",privacyPolicyUrl:"https://privacycenter.instagram.com/policy"},pinterest:{vendorName:"Pinterest",privacyPolicyUrl:"https://policy.pinterest.com/en/privacy-policy"},qualifio:{vendorName:"Qualifio",privacyPolicyUrl:"https://qualifio.com/privacy-policy/"},spotify:{vendorName:"Spotify",privacyPolicyUrl:"https://www.spotify.com/fr/legal/privacy-policy/"},tiktok:{vendorName:"TikTok",privacyPolicyUrl:"https://www.tiktok.com/legal/page/eea/privacy-policy/fr"},x:{vendorName:"X (Twitter)",privacyPolicyUrl:"https://privacy.x.com/en"},twitter:{vendorName:"X (Twitter)",privacyPolicyUrl:"https://privacy.x.com/en"},youtube:{vendorName:"YouTube",privacyPolicyUrl:"https://www.youtube.com/howyoutubeworks/privacy/"}},em=({rawDraftContent:e,pageEndpoint:t="https://www.20minutes.fr",imgEndpoint:n="https://img.20mn.fr",withCmp:o=!0,trimBr:s=!1,subType:l})=>{e.entityMap===void 0&&(e.entityMap={}),e.blocks[0]?.text?.startsWith("«")&&(e.blocks[0].text=e.blocks[0].text.replace(/^«(\s|\xA0)/," «"));const c=KV(e),p=(h,A)=>Wa(be.createElement(XB,{citationText:h,citationAuthor:A,mx:{xs:"m",md:"xxl"}}));let m=zU({styleToHTML:h=>{const A=h.toLowerCase();switch(A){case"italic":return a.jsx(Me,{as:"span",italic:!0});case"bold":return a.jsx(Me,{as:"span",weight:"bold"});case"gray":return a.jsx(Me,{as:"span",color:"grey-500"});case"red":case"blue":case"purple":case"pink":return a.jsx(Me,{as:"span",color:A});default:return null}},blockToHTML:h=>{switch(h.type){case"unordered-list-item":return{start:"<li>",end:"</li>",nest:"<ul>",nestStart:"<ul>",nestEnd:"</ul>"};case"ordered-list-item":return{start:"<li>",end:"</li>",nest:"<ol>",nestStart:"<ol>",nestEnd:"</ol>"};case"blockquote":return p(h.text);case"header-two-unordered":return{start:'<h2 class="c-content__unordered">',end:"</h2>"};case"header-two-ordered":return{start:'<h2 class="c-content__ordered">',end:"</h2>"};case"unstyled":return h.text===""?be.createElement("br"):h.text==="OPT_OUT_PIANO"?Wa(be.createElement(RB,{id:"data-preferences-switch",labelPosition:"after",label:"Mes données de navigation sont collectées à des fins d’analyse statistique"})):null;case"atomic":case"media":return{start:"<unwanted>",end:"</unwanted>"};default:return null}},entityToHTML:(h,A)=>{let w;switch(h.type){case"button":case"LINK":return w=h.data.buttonProps||h.data,be.createElement(Yt,{href:w.url,rel:w.nofollow&&"nofollow"||w.sponsored&&"sponsored"||void 0,target:w.targetBlank?"_blank":void 0,buttonColor:h.type==="button"?"primary":void 0,...h.type==="LINK"&&{defaultColor:"inherit",isUnderlined:!0}},w.label?w.label:w2(A));case"faq":return w=h.data,be.createElement(jf,{index:Number(w.faqProps.content.blocks[0].key),textTitleProps:{children:w.faqProps.title},isOpen:!1,contentWithBorder:!1,bg:"grey-100",iconProps:{color:"ultramarine"}},be.createElement(ye,{className:"c-content"},b3(em({rawDraftContent:w.faqProps.content,pageEndpoint:t}))));case"article":return w=h.data,w.articleProps?Wa(be.createElement(NB,{title:w.articleProps.meta.title,link:w.articleProps.meta.canonical,image:w.articleProps.meta["photo.id"]?`${n}/${w.articleProps.meta["photo.id"]}/%format`:void 0,isTargetBlank:w.isTargetBlank,isNofollow:w.isNofollow,isSponsored:w.isSponsored,isInArticle:!0})):A;case"html":{if(w=h.data,!w.htmlProps)return A;const{html:_,script:D}=x3(w.htmlProps.html);return Wa(be.createElement("div",{dangerouslySetInnerHTML:{__html:`${_.trim()} ${D}`}}))}case"image":{w=h.data;let{src:_}=w.imageProps;if(w.imageProps?.meta?.host&&w.imageProps?.meta?.id){let{host:D}=w.imageProps.meta;D.endsWith("/")||(D=`${D}/`),_=`${D}${N5(w.imageProps.meta.id)}/%format`;const{topleft_x:S,topleft_y:T,width_ratio:C}=w?.imageProps?.meta?.crop??{};S&&T&&C&&(_=`${_}-${S}x${T}-${C}`)}return Wa(be.createElement(kd,{type:fu.photo,src:_,imgProps:{defaultFormat:"718x0",formats:["590x0","342x0","211x0"],sizes:"(min-width: 1640px) 718px, (min-width: 1440px) calc(40vw + 70px), (min-width: 1080px) 590px, (min-width: 780px) calc(88.57vw - 349px), (min-width: 660px) calc(100vw - 414px), 211px"},caption:w.imageProps.meta?.caption,credits:w.imageProps.meta?.credit,source:w.imageProps.meta?.source,...w.imageProps.width?{style:{maxWidth:w.imageProps.width,width:"100%"}}:{}}))}case"digiteka":{if(w=h.data,!w.videoProps)return A;let{html:_}=w.videoProps;return _=PD(_),l&&["production","publicommunique","magazine"].includes(l)&&(_=_.replace("/zone/1/","/zone/17/").replace("/zone/11/","/zone/17/")),Wa(be.createElement(LB,{html:_}))}case"podcast":{if(w=h.data,!w.podcastProps?.html)return A;const{html:_,script:D}=x3(w.podcastProps.html);return Wa(be.createElement(kd,{type:fu.podcast,src:`${_} ${D}`,className:"embed-wrapper u-hidden"}))}case"iframely":{if(w=h.data,!w.embedProps||!w.embedProps.html&&h.data.embedProps.meta?.site?.toLowerCase()!=="twitch")return A;let{html:_}=w.embedProps;const{meta:D}=w.embedProps;let S="";if(D?.site?.toLowerCase()==="infogram"){const{html:H,script:W}=x3(_);_=H,S=W}if(D?.site?.toLowerCase()==="qualifio"){const{html:H,script:W}=x3(_,'<script type="text/javascript">');_=H,S=W}if(D?.site?.toLowerCase()==="twitch"){const H=/([^/]+$)/.exec(D.canonical);H&&(_=`<iframe src="https://player.twitch.tv/?video=${H[0]}&parent=${new URL(t).host}&autoplay=false" title='Twitch embed' width='100%' height='350px' style={{ position: 'absolute', top: 0, left: 0 }}/>`)}if(!o)return Wa(be.createElement(e6,{html:`${_}${S}`}));let T=Ki.parse(_);T=FD(T),T=HD(T);let C=be.createElement(e6,{key:D?.title,html:`${T}${S}`});D?.site==="idalgo"&&D?.type==="widget"&&(C=be.createElement(v6,{key:D?.title,src:D?.canonical||""}));let I="embed-placeholder",L,P;if(D?.site){const H=D.site.toLowerCase();I=`embed-placeholder u-placeholder-${H}`,L=YV[H],P=ZV[H]}const q={className:I};return L&&(q["data-vendor"]=L),Wa(be.createElement("div",q,be.createElement("div",{className:"embed-wrapper u-hidden"},C),be.createElement(BD,P)))}case"quote":return p(h.data.quoteProps.value,h.data.quoteProps.author);case"flinkRelatedContent":return"";case"table":{w=h.data;const _=S=>{const T={blocks:S.blocks,entityMap:S.entityMap};return b3(em({rawDraftContent:T,pageEndpoint:t}))},D=w.tableProps.rows.map(S=>S.cells.map(T=>_(T)));return Wa(be.createElement(TP,{hasHeader:w.tableProps.hasHeader,tableProps:D}))}default:return A}},validateHTML:h=>{try{return vu(b3(h)),!0}catch(A){return A instanceof Error?console.warn(`HTML for the block is not valid: ${A.message}`):console.warn("HTML for the block is not valid"),!1}}})(c);return m=m.replaceAll(/<\/?unwanted>/gi,""),s&&(m=m.replaceAll(/<br\/>/gi," ")),m},Kd=({rawDraftContent:e,pageEndpoint:t="https://www.20minutes.fr",imgEndpoint:n="https://img.20mn.fr",withCmp:o=!0,trimBr:s=!1,subType:l})=>b3(em({rawDraftContent:e,pageEndpoint:t,imgEndpoint:n,withCmp:o,trimBr:s,subType:l})),UD=({summary:e,...t})=>e?a.jsx(MB,{...t,summary:Kd({rawDraftContent:e,trimBr:!0})}):null,A3=({headingProps:e,layout:t,tags:n,sponsor:o,...s})=>{const l=a.jsxs(a.Fragment,{children:[a.jsx(c2,{...e,as:"h2",size:{xs:"s",md:"m"},px:{xs:"m",md:"0"},...!e.iconProps&&{textAlign:{xs:"center",md:"left"}},...!!e.iconProps&&t===ve.MOBILE&&{isCentered:!0}}),n&&n.length>0&&a.jsx(o6,{layout:t,tags:n?.map((c,p)=>p===0?{...c,ml:{xs:"m",md:"0"}}:c),mt:{xs:"l",md:"0"}}),o&&a.jsx(N0,{sponsor:o,size:t===ve.MOBILE?"m":"xl",hasText:!0,justifyContent:"end",alignItems:"center",gap:{xs:"xxs",md:"s"},mt:{xs:"m",md:"0"},px:{xs:"m",md:"0"}})]});return t===ve.DESKTOP?a.jsx(he,{justifyContent:"between",alignItems:"center",gap:"m",...s,children:l}):a.jsx(ye,{...s,children:l})},zD=({signsContent:e,layout:t=ve.MOBILE})=>a.jsx(a.Fragment,{children:e.map((n,o)=>a.jsxs(be.Fragment,{children:[a.jsx(W_,{title:n.heading.title,subtitle:n.heading.subtitle,icon:n.heading.icon,bg:"grey-50",color:"black",mx:{xs:"m",md:"0"},mb:{xs:"0",md:"l"},p:"0"}),n.topics.map((s,l)=>a.jsxs(be.Fragment,{children:[a.jsx(H_,{icon:s.icon,title:s.title,content:s.content,mx:{xs:"m",md:"0"}}),l!==n.topics.length-1&&a.jsx(wn,{color:"grey-200",my:{xs:"0",md:"l"},mx:{xs:"m",md:"0"}})]},`${s.title}-${l}`)),a.jsx(he,{justifyContent:"center",my:{xs:"xs",md:"l"},children:a.jsx(Yt,{buttonColor:"primary",variant:"outlined",href:n.link.href,children:n.link.children})}),o===2&&a.jsx(m6,{}),o===2&&a.jsx(Ce,{adUnitCompletePath:t===ve.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/pave_home",variant:"ARTICLE"}),o===5&&a.jsx(Ce,{adUnitCompletePath:t===ve.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_2":"/49926454/20minutes_desktop/divers/pave_home",variant:"ARTICLE"}),o===8&&a.jsx(Ce,{adUnitCompletePath:t===ve.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_3":"/49926454/20minutes_desktop/divers/pave_home",variant:"ARTICLE"}),o===11&&t===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_4",variant:"ARTICLE"}),o!==e.length-1&&a.jsx(wn,{mx:{xs:"m",md:"0"},color:"ultramarine",mb:"l"})]},`${n.heading.title}-${o}`))}),qD=({linksProps:e})=>a.jsx(he,{direction:"column",gap:"m",className:"u-fit-content",children:e.map(t=>a.jsx(Yt,{...t},t.href))});var D5={exports:{}};var VD;function $V(){return VD||(VD=1,(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var l="",c=0;c<arguments.length;c++){var p=arguments[c];p&&(l=s(l,o(p)))}return l}function o(l){if(typeof l=="string"||typeof l=="number")return l;if(typeof l!="object")return"";if(Array.isArray(l))return n.apply(null,l);if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]"))return l.toString();var c="";for(var p in l)t.call(l,p)&&l[p]&&(c=s(c,p));return c}function s(l,c){return c?l?l+" "+c:l+c:l}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(D5)),D5.exports}var JV=$V();const ko=Qy(JV),R5=({src:e,withShadow:t=!1,halfOpacity:n=!1,...o})=>a.jsxs("div",{className:ko("o-page__background-container",{"o-page__background-container--with-shadow":t}),children:[a.jsx("img",{className:ko("o-page__background-img",{"o-page__background-img--with-shadow":t,"o-page__background-img--half-opacity":n}),alt:"Background",src:e,...o}),t&&a.jsx("div",{className:"o-page__background-shadow"})]}),XV=({layout:e,link:t,title:n,cardHeaderProps:o,...s})=>e&&t&&n&&o?a.jsx(u2,{...s,layout:e,link:t,title:n,cardHeaderProps:o}):null,tm=({content:e,pageEndpoint:t,imgEndpoint:n,colorScheme:o="ultramarine",disableLettering:s=!1,subType:l,...c})=>a.jsx(ye,{...c,className:ko("c-content",{[`c-content--theme-${o}`]:!!o,"c-content--text-with-lettering":!s&&e.blocks[0]?.text.length>60}),children:Kd({rawDraftContent:e,pageEndpoint:t,imgEndpoint:n,subType:l})}),GD=({name:e,description:t,link:n,icon:o,layout:s,...l})=>a.jsxs(_a,{as:"a",href:n,...l,children:[s===ve.MOBILE&&e,a.jsxs(he,{alignItems:{xs:"start",md:"center"},justifyContent:{xs:"center",md:"start"},className:"opacity-hover",children:[a.jsx(or,{bg:"white",isRounded:!0,name:o.name,size:o.size||s===ve.DESKTOP&&20||30,color:"grey-900",p:"xs",mr:{xs:"0",md:"xxs"},mb:{xs:"xs",md:"0"}}),s===ve.DESKTOP&&t]}),s===ve.MOBILE&&t]}),O5=({iconSize:e,layout:t,...n})=>a.jsxs(he,{...n,bg:"ultramarine",p:{xs:"xxs",md:"xs"},justifyContent:{xs:"evenly",lg:"start"},children:[a.jsx(GD,{basis:{xs:50,lg:"auto"},icon:{name:"game",size:e},name:a.jsx(Me,{size:{xs:"s",md:"m"},weight:"bold",color:"white",mb:"xs",textAlign:"center",children:"Jeux"}),description:a.jsxs(Me,{size:"xs",color:"white",fontFamily:"source-serif-pro",textAlign:{xs:"center",md:"left"},children:["Voir les",t===ve.DESKTOP?a.jsx("br",{}):" ",Object.values(p6).length," jeux"]}),link:"https://www.20minutes.fr/services/jeux",layout:t,id:"entertainment-item-game"}),a.jsx(_a,{mx:"m",py:"xs",children:a.jsx(Zy,{color:"white"})}),a.jsx(GD,{basis:{xs:50,lg:"auto"},icon:{name:"horoscope",size:e},name:a.jsx(Me,{size:{xs:"s",md:"m"},weight:"bold",color:"white",mb:"xs",textAlign:"center",children:"Horoscope"}),description:a.jsxs(Me,{size:"xs",color:"white",fontFamily:"source-serif-pro",textAlign:{xs:"center",md:"left"},children:["Voir mon",t===ve.DESKTOP?a.jsx("br",{}):" ","horoscope"]}),link:"https://www.20minutes.fr/horoscope/",layout:t,id:"entertainment-item-horoscope"})]}),I5=({faqData:e,pageEndpoint:t})=>a.jsx(a.Fragment,{children:e.map(n=>a.jsx(jf,{index:n.index,...n.tag?{textTitleProps:{as:n.tag,size:{xs:"m",md:"l"},my:"xs",children:n.title}}:{headingTitleProps:{my:"xs",children:n.title}},contentWithBorder:!1,bg:"grey-100",btnProps:{py:"xxs-3"},iconProps:{color:"ultramarine"},mb:"l",children:a.jsx(tm,{content:n.children,pageEndpoint:t,disableLettering:!0})},n.index))}),KD=({enableAccordion:e,items:t,contentProps:n,heading:o={as:"h2"},...s})=>!t||t?.length===0?null:e?a.jsx(Pg,{...s,items:t,contentProps:n}):a.jsx(he,{direction:"column",gapX:"m",mx:{xs:"m",md:"0"},children:t.map(l=>be.createElement(he,{...s,key:l.title,direction:"column",gapX:"s"},a.jsx(Wr,{size:"xs",color:"black",weight:"semi-bold",...o,children:l.title}),a.jsx(n9,{...n,content:l.content})))}),WD=({game:e,reportContent:t,...n})=>a.jsxs(ye,{...n,as:"section",px:"m",py:{xs:"m",md:"s"},bg:"grey-100",children:[a.jsxs(Me,{as:he,direction:{xs:"column",md:"row"},alignItems:{xs:"start",md:"center"},gap:"xxs",weight:"bold",size:"m",children:[a.jsx("span",{children:`Un problème dans le jeu ${e} ?`}),a.jsx(bn,{as:"button",id:"game-help-button",variant:"link",children:"J'ai besoin d'aide"})]}),t&&a.jsxs(Me,{mt:"m",children:["Ce jeu a été généré automatiquement à partir d’articles publiés sur 20 Minutes. Si vous constatez une erreur, vous pouvez nous la signaler à l’adresse :"," ",a.jsx(Yt,{href:"mailto:correctif@20minutes.fr",isUnderlined:!0,children:"correctif@20minutes.fr"})]})]}),QD=({colorVariant:e="ultramarine",cookieLink:t="https://www.20minutes.fr/gestion-cookies"})=>a.jsxs(ye,{className:"cmp-placeholder u-hidden",borderColor:"grey-200",radius:"l",p:"xxl",children:[a.jsx(Wr,{size:"s",color:e,mb:"xxl",fontFamily:"source-serif-pro",weight:"semi-bold",children:"L'accès aux jeux a été bloqué afin de respecter votre consentement"}),a.jsxs(Me,{size:"l",mb:"m",children:["En cliquant sur",a.jsx(Me,{weight:"bold",as:"span",ml:"xxs",children:"« J’accepte les cookies »"}),", vous consentez le dépôt de cookies permettant l'activation des services interactifs proposés par des tiers, et pourrez ainsi accéder à l'ensemble des contenus interactifs disponibles sur 20 Minutes (jeux-concours, quiz, sondages…)."]}),a.jsx(Me,{size:"l",mb:"m",children:"Vous pouvez, à tout moment, modifier vos choix cookies ou retirer votre consentement en bas de nos pages."}),a.jsxs(Me,{size:"s",mb:"m",children:["En savoir plus sur",a.jsx(Me,{color:e,as:"a",href:t,mx:"xxs",children:"notre politique de cookies"})]}),a.jsxs(he,{justifyContent:"center",gap:"m",children:[a.jsx(bn,{className:"cmp-game-preferences-button",variant:"outlined",children:"Gérer mes préférences"}),a.jsx(bn,{className:"cmp-game-button",children:"J'accepte les cookies"})]})]}),j5=({children:e})=>a.jsxs("div",{className:"c-game-placeholder",children:[a.jsx("div",{className:"js-game-wrapper u-hidden",children:e}),a.jsx(QD,{}),a.jsx(ye,{my:"m",className:"js-game-alert u-hidden",children:a.jsx(A_,{variant:"warning",fill:!0,iconProps:{name:"info",size:20},title:"Les jeux ne se chargent pas sur Firefox ?",description:`Vérifiez que la "Protection renforcée contre le pistage" est bien désactivée sur la page, accessible depuis l'icône bouclier, à gauche de l'URL.`})})]}),M5=({id:e,name:t,type:n,src:o,keesingType:s,keesingId:l,keesingGame:c,enableAds:p},...m)=>{const h=["421","buzz","quiz"],A={player:"https://web.keesing.com/pub/player/v2.25.2/dist/",portal:"https://web.keesing.com/pub/portal/v2.25.2/dist/",js:"https://web.keesing.com/pub/bundle-loader/bundle-loader.js",css:`https://web.keesing.com/pub/config/${p?"20minutes":"20minutespremium"}/css/custom_client.css`};return o&&h.includes(e)?a.jsx(j5,{children:a.jsx("div",{id:"loginwall",children:a.jsx(xB,{title:t,htmlIframeProps:{src:o},mb:"l",className:`c-game c-game--${e}`,...m})})}):n==="Arcade"&&h.includes(e)?a.jsx(j5,{children:a.jsxs("div",{id:"loginwall",children:[a.jsx("link",{rel:"stylesheet","data-href":A.css}),a.jsx("div",{id:"puzzle-portal",className:`game game-${t}`,"data-customerid":p?"20minutes":"20minutespremium","data-gametype":`CG_${c}`,"data-puzzleid":`CG_${c}`,"data-publicpath":s==="player"?A.player:A.portal}),a.jsx("script",{type:"text/javascript","data-src":A.js,"data-wlpp-bundle":s??"portal"})]})}):!s||!c?null:a.jsx(j5,{children:a.jsxs("div",{id:"loginwall",children:[a.jsx("link",{rel:"stylesheet","data-href":A.css}),h.includes(e)?a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"puzzle-portal","data-customerid":p?"20minutes":"20minutespremium","data-portalview":c??"","data-publicpath":s==="player"?A.player:A.portal}),a.jsx("script",{type:"text/javascript","data-src":A.js,"data-wlpp-bundle":s??"portal"})]}):a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"puzzle-portal","data-customerid":p?"20minutes":"20minutespremium","data-gametype":s==="portal"?c:`CG_${c}`,"data-puzzleid":s==="portal"?`${l??c}_today`:`CG_${c}`}),a.jsx("script",{type:"text/javascript","data-wlpp-bundle":"player","data-src":A.js})]})]})})},L5=({games:e,...t})=>a.jsxs(he,{direction:"column",gap:"m",...t,children:[a.jsx(Me,{size:{xs:"l",md:"xl"},weight:"bold",children:e[0].category}),e.map(n=>a.jsx(_a,{as:Yt,href:n.url,color:"black",size:{xs:"s",md:"m"},align:"start",children:n.name},n.url))]}),k5=({games:e,colsNumber:t,...n})=>{const o=s=>e.filter(l=>l.category===s).sort((l,c)=>l.name.localeCompare(c.name));return a.jsx(jf,{index:0,textTitleProps:{children:"Voir tous les jeux",whiteSpace:"nowrap",pr:"xxl-2"},contentWithBorder:!1,bg:"grey-100",btnProps:{pl:"xl",py:"xxs-3"},iconProps:{color:"ultramarine"},contentProps:{py:"l",bg:"grey-100"},isDropdown:!0,...n,children:a.jsxs(Oi,{colsNumber:t??{xs:1,md:3},gap:"m",children:[a.jsx(L5,{games:o("Jeux de lettres"),mb:{xs:"xs",md:"0"}}),a.jsx(L5,{games:o("Jeux de chiffres"),mb:{xs:"xs",md:"0"}}),a.jsx(L5,{games:o("Jeux inclassables")})]})})},eG=e=>e.replace(/(<([^>]+)>)/gi,"").length,E3=({label:e,items:t,...n})=>a.jsx(jf,{index:0,textTitleProps:{children:e,pr:"xxl-2"},contentWithBorder:!1,bg:"grey-100",btnProps:{pl:"xl",py:"xxs-3"},iconProps:{color:"ultramarine"},contentProps:{py:"l",bg:"grey-100"},isDropdown:!0,...n,children:a.jsx(Oi,{colsNumber:1,gap:"m",children:a.jsx(he,{direction:"column",gap:"m",children:t.map(o=>a.jsx(_a,{as:Yt,href:o.url,color:"black",size:{xs:"s",md:"m"},align:"start",children:o.title},o.url))})})}),Xo=({subtitle:e,isExpandable:t,dropdown:n,...o})=>{if(e&&typeof e!="string"){const s=Kd({rawDraftContent:e}),l=eG(vu(s));return a.jsxs(a.Fragment,{children:[a.jsx(Al,{...o,isExpandable:l>200,subtitle:l>0?s:null,rightAsideElement:n&&o.layout===ve.DESKTOP?a.jsx(E3,{...n}):void 0}),n&&o.layout===ve.MOBILE&&a.jsx(E3,{mb:"l",...n})]})}return a.jsxs(a.Fragment,{children:[a.jsx(Al,{...o,isExpandable:t===void 0?!!(e&&e.length>200):t,subtitle:e,rightAsideElement:n&&o.layout===ve.DESKTOP?a.jsx(E3,{...n}):void 0}),n&&o.layout===ve.MOBILE&&a.jsx(E3,{mb:"l",...n})]})},YD=({images:e,...t})=>!e||e?.length===0?null:a.jsx(Oi,{as:"section",colsNumber:{xs:3,md:5},gap:{xs:"xxs",md:"xl"},...t,children:e.map((n,o)=>a.jsx("a",{href:n.link,children:a.jsx(Ap,{src:n.cover,alt:n.title})},`${n.cover}-${o}`))}),_3=({description:e,hasInfoButton:t,...n})=>{if(!e)return null;const o=t?a.jsxs("p",{children:["Cet texte a été généré automatiquement sur la base des données fournies par l'INSEE et les pages Wikipédia des communes. En cas d'erreur, vous pouvez nous contacter à"," ",a.jsx(Yt,{href:"mailto:correctif@20minutes.fr",isUnderlined:!0,children:"correctif@20minutes.fr"})]}):void 0;return typeof e!="string"?a.jsx(Tg,{...n,description:Kd({rawDraftContent:e}),infoButton:o}):a.jsx(Tg,{...n,description:e,infoButton:o})},ZD=({infosContent:e,layout:t=ve.MOBILE})=>{const n=a.jsx(a.Fragment,{children:e.map(o=>a.jsxs(he,{gap:"xxs",alignItems:"center",mb:{xs:"xl",md:"0"},children:[a.jsx(or,{mr:"xxs",size:30,...o.iconOptions}),a.jsxs(Me,{size:"l",as:"span",weight:"bold",children:[o.title,!o.rating&&a.jsxs(Me,{as:"span",color:"ultramarine",size:"m",weight:"regular",children:[" ",o.information]})]}),o.rating&&a.jsx(L_,{rating:o.rating})]},o.title))});return t===ve.DESKTOP?a.jsx(Oi,{colsNumber:{xs:void 0,sm:2},gap:"xl",my:"l",children:n}):n},w3=({articles:e,seeMoreButton:t,layout:n,...o})=>{const{variablesForQuery:s,...l}=o;return a.jsxs(ye,{...l,children:[e.map((c,p)=>{const m=`lastArticleKey${p}`,h=p===e.length-1;return a.jsxs(be.Fragment,{children:[a.jsx(q_,{...c,px:{xs:"m",md:"0"},cardTitleProps:{weight:"semi-bold",maxRows:n===ve.MOBILE?void 0:3,...c.cardTitleProps}}),!h&&a.jsx(wn,{color:"grey-200",my:"s"}),p===10&&n===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),p===20&&n===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"}),(p===10||p===20)&&n===ve.MOBILE&&a.jsx(wn,{color:"grey-200",my:"s"})]},m)}),t&&a.jsx(bn,{...t,color:"primary",variant:"outlined",mx:"auto",mt:"s"})]})},S3=({legalNotices:e,seeMoreLegalNotices:t,...n})=>e.length===0?null:a.jsxs(ye,{...n,children:[e.map((o,s)=>a.jsxs(be.Fragment,{children:[a.jsx(YB,{...o,linkProps:{children:"Lire l’annonce"}}),a.jsx(wn,{my:"l",color:"grey-200"})]},`${o.link}-${s}`)),t&&a.jsx(bn,{color:"primary",variant:"outlined",mx:"auto",mt:"xl",...t})]}),$D=({location:e,header:t,surtitle:n,title:o,date:s,linkLogo:l,description:c,linkPDF:p,linkNotice:m,signature:h,...A})=>a.jsxs(ye,{...A,as:"section",children:[a.jsxs(ye,{mb:"s",children:[a.jsxs(he,{color:"ultramarine",children:[a.jsx(or,{name:"local",size:13,mr:"xxs-2",mb:"xxs-2"}),a.jsx(Me,{size:"xxs",weight:"bold",textTransform:"uppercase",children:e})]}),a.jsx(Wr,{size:"xs",children:t}),a.jsx(Wr,{size:"xs",children:n}),a.jsx(Wr,{size:"xs",children:o}),a.jsxs(Me,{as:"time",size:"s",color:"grey-400",dateTime:s,children:["Publié le ",f6(s)]})]}),l&&a.jsx(ye,{as:"img",src:l,mb:"s",style:{maxWidth:"100px",maxHeight:"100px"}}),c&&a.jsx(Me,{size:"m",mb:"xxl",dangerouslySetInnerHTML:{__html:c}}),h&&a.jsx(Me,{italic:!0,mb:"xxl",children:h}),p&&a.jsx(Yt,{buttonColor:"primary",href:p,target:"_blank",mr:"m",mb:"m",children:"Télécharger le justificatif en PDF"}),m&&a.jsx(Yt,{buttonColor:"primary",variant:"outlined",href:m,target:"_blank",children:"Télécharger la notice"})]}),B5=({updatedAt:e,...t})=>a.jsx(X_,{...t,...e&&{updatedAt:l6(e)}}),O2=({cardOverviewProps:e,...t})=>{if(e.length<=0)return null;const n=a.jsx(a.Fragment,{children:e.map((o,s)=>be.createElement(n6,{...o,key:o.title,mb:s!==e.length-1?"m":"0",variant:"big",cardHeaderProps:{headline:{text:"Live",bg:"red"},hasDot:!0}}))});return Object.keys(t).length===0?n:a.jsx(ye,{...t,children:n})},JD=({draftContent:e,pageEndpoint:t,imgEndpoint:n,withCmp:o=!0})=>{const s=be.useRef(null);return be.useEffect(()=>{const l=em({rawDraftContent:e,pageEndpoint:t,imgEndpoint:n,withCmp:o}),c=document.createRange().createContextualFragment(l);s.current&&(s.current.innerHTML="",s.current.appendChild(c))},[e,n,t,o]),a.jsx(ye,{ref:s,mt:"s",className:"c-content",children:Kd({rawDraftContent:e,pageEndpoint:t,imgEndpoint:n,withCmp:o})})},XD=({currentTab:e})=>a.jsxs(he,{className:"c-tablist",mb:"l",gap:"l",px:{xs:"m",md:"0"},children:[a.jsx(Yt,{whiteSpace:"nowrap",href:"/arts-stars/cinema/film-au-cinema-en-ce-moment",tabVariant:"primary",tabColor:"entertainment",tabIsSelected:e==="in_theaters",children:"A l'affiche"}),a.jsx(Yt,{whiteSpace:"nowrap",href:"/arts-stars/cinema/sortie-cinema-de-la-semaine",tabVariant:"primary",tabColor:"entertainment",tabIsSelected:e==="last_releases",children:"Sorties de la semaine"}),a.jsx(Yt,{whiteSpace:"nowrap",href:"/arts-stars/cinema/prochaine-sortie-cinema",tabVariant:"primary",tabColor:"entertainment",tabIsSelected:e==="soon",children:"Prochainement"})]}),I2=({buttonLabel:e,title:t,url:n,...o})=>a.jsxs(he,{alignItems:"center",justifyContent:"between",gap:{xs:"xs",md:"m"},py:"s",px:"xxl",direction:{xs:"column",md:"row"},bg:"ultramarine",...o,children:[a.jsx(Me,{as:"h2",color:"white",size:"xl",weight:"bold",textAlign:{xs:"center",md:"left"},children:t}),a.jsx(Yt,{buttonColor:"primary",variant:"outlined",href:n,target:"_blank",children:e})]}),tG=()=>/Android/i.test(navigator.userAgent),rG=typeof window<"u"&&navigator.userAgent.toLowerCase().includes("firefox"),nG=()=>{const e=document.getElementById("js-download-band");e&&tG()&&e.setAttribute("href","https://app.adjust.com/15shf6wg?campaign=Bandeau_1&deep_link=20minutes%3A%2F%2Fhome")},aG=()=>{const e=document.querySelector("#js-election-selector");e&&e.addEventListener("change",t=>{window.location.replace(t.target.value)})},iG=()=>{const e=document.querySelector(".c-search-banner");if(!e)return;const t=document.getElementById("js-search-banner-expand-button");if(t instanceof HTMLButtonElement){if(t.hasAttribute("data-search-banner-listener-attached"))return;const n=e.querySelector("[data-search-banner-expanded-source]"),o=e.querySelector("[data-search-banner-collapse]");if(!n||!o)return;t.setAttribute("data-search-banner-listener-attached","true"),t.addEventListener("click",()=>{n.getAttribute("aria-expanded")==="true"?(n.setAttribute("aria-expanded","false"),o.setAttribute("aria-hidden","true")):(n.setAttribute("aria-expanded","true"),o.setAttribute("aria-hidden","false"))})}},oG=[{text:"Paris",_index:"town_1717424751904",_id:"75056",_score:1,_source:{output:"Paris (75000)",url:"/elections/resultats/paris/paris-75000"}},{text:"Paris 10ème Arrondissement",_index:"town_1717424751904",_id:"75056AR10",_score:1,_source:{output:"Paris 10ème Arrondissement (75010)",url:"/elections/resultats/paris/paris-75010"}},{text:"Paris 11ème Arrondissement",_index:"town_1717424751904",_id:"75056AR11",_score:1,_source:{output:"Paris 11ème Arrondissement (75011)",url:"/elections/resultats/paris/paris-75011"}}],sG=(e,t,n,o,s,l)=>{const c=document.getElementById(e);if(!c)return;const p=c.dataset.storybook,m=c.querySelector(`#${e}-search`),h=m?.getAttribute("data-api-url"),A=c.querySelector(".c-autocomplete__menu");if(!m||!A||!h)return;const w=c.querySelector(".c-autocomplete__input-spinner"),_=m.getAttribute("data-trigger-message"),D=async P=>{try{const q=p&&t.includes("20minutes.fr")?oG:await fetch(`${h}${n}${encodeURIComponent(P)}`).then(W=>W.json()),H=l&&typeof q=="object"&&q!==null?q[l]:q;return Array.isArray(H)?H:[]}catch(q){return console.error("Error fetching autocomplete results:",q),[]}},S=(P,q)=>{const H=document.createElement("li");H.id=`/${P}`,H.textContent=q,H.addEventListener("click",()=>{m instanceof HTMLInputElement&&(m.value=q,A.classList.add("u-hidden"))}),A.appendChild(H)},T=()=>{w?.classList.toggle("u-hidden")},C=()=>{const P=document.createElement("li");P.textContent=_,A.appendChild(P)},I=async P=>{T(),A.classList.remove("u-hidden");const q=await D(P);A.innerHTML="",q.length===0&&A.classList.add("u-hidden"),q.forEach(H=>{S(H[o],H[s])}),T()},L=P=>{if(!(P.target instanceof HTMLInputElement))return;const q=P.target.value;A.classList.remove("u-hidden"),q.length>=3?I(q):(A.innerHTML="",C())};m.addEventListener("input",L),m.addEventListener("focusout",()=>{setTimeout(()=>A.classList.add("u-hidden"),300)}),m.addEventListener("focusin",()=>{A.childElementCount>0&&A.classList.remove("u-hidden")})},uG=e=>{e.stopImmediatePropagation(),e.preventDefault();const t=e.currentTarget;if(t instanceof HTMLButtonElement){const n=t.parentElement?.querySelector(`#${t.getAttribute("aria-controls")}`);t.getAttribute("aria-expanded")==="true"?(t.setAttribute("aria-expanded","false"),n?.setAttribute("aria-hidden","true")):(t.setAttribute("aria-expanded","true"),n?.setAttribute("aria-hidden","false"))}},lG=(e=document.querySelector(".js-collapse__button"))=>{e&&document.querySelectorAll(".c-collapse__button").forEach(t=>{t.addEventListener("click",n=>{uG(n)})})},cG="[data-countdown][data-countdown-end-date]",dG=e=>{const t=e.querySelector(".js-countdown-days"),n=e.querySelector(".js-countdown-hours"),o=e.querySelector(".js-countdown-minutes"),s=e.querySelector(".js-countdown-seconds");return!t||!n||!o||!s?null:{daysElement:t,hoursElement:n,minutesElement:o,secondsElement:s}},eR=(e,t)=>{const n=e-Date.now();if(n<=0)return!1;const o=Math.floor(n/(1e3*60*60*24)),s=Math.floor(n%(1e3*60*60*24)/(1e3*60*60)),l=Math.floor(n%(1e3*60*60)/(1e3*60)),c=Math.floor(n%(1e3*60)/1e3);return t.daysElement.textContent=o.toString(),t.hoursElement.textContent=s.toString(),t.minutesElement.textContent=l.toString(),t.secondsElement.textContent=c.toString(),!0},fG=()=>{document.querySelectorAll(cG).forEach(e=>{const t=e.dataset.countdownEndDate,n=t?new Date(t).getTime():Number.NaN,o=dG(e);if(!o)return;if(Number.isNaN(n)){e.remove();return}if(!eR(n,o)){e.remove();return}const s=setInterval(()=>{eR(n,o)||(clearInterval(s),e.remove())},1e3)})},pG=e=>{const t=e.getBBox(),n=t.width/20;return[t.x-n,t.y-n,t.width+n*2,t.height+n*2].join(" ")},hG=()=>{const e=document.querySelector(".c-map-districts-container"),t=document.querySelector(".c-map-districts");if(!e||!t)return;const n=document.querySelector(".c-map-districts-container__description"),o=document.querySelector(".c-map-districts-container__department"),s=document.querySelector(".c-map-districts-container__unzoom-button");let l=t;const c=t.getAttribute("viewBox"),p=(D,S)=>D.matches?.call(D,S),m=(D,S,T=".c-map-districts__zoomable:not(.js-selected-area)")=>{if(!D)return;let C,I=D.parentElement;for(;I instanceof SVGGraphicsElement&&I!==S;)p(I,T)&&(C=I),I=I.parentElement;return C},h=(D,S,T)=>{if(!D)return;let C=D.parentElement;for(;C instanceof SVGGraphicsElement&&C!==T;){if(S===C)return!0;C=C.parentElement}return T===S},A=(D,S)=>{if(S&&s&&n){e.classList.remove("c-map-districts-container--department-view"),n.classList.remove("u-hidden"),o?.classList.add("u-hidden"),s.classList.add("u-hidden"),S!==c&&(n.classList.add("u-hidden"),s.classList.remove("u-hidden")),l.classList.remove("js-selected-area"),l=D;const T=l.getAttribute("data-info");o&&T&&(e.classList.add("c-map-districts-container--department-view"),o.classList.remove("u-hidden"),o.innerHTML=T),l.classList.add("js-selected-area"),t.setAttribute("viewBox",S)}},w=D=>{D.stopPropagation();const S=D.currentTarget;if(l&&t&&S instanceof SVGGraphicsElement){if(S===l)return;if(D.preventDefault(),l!==t&&!h(S,l,t)){A(t,c);return}const T=m(S,l);A(T||S,pG(T||S))}},_=()=>{t&&l!==t&&A(t,c)};t.addEventListener("click",_),s&&s.addEventListener("click",_),document.querySelectorAll(".c-map-districts__zoomable").forEach(D=>{D.addEventListener("click",S=>w(S))})},mG=()=>{const e=document.getElementById("elections-form-search"),t=document.querySelector(".c-search-form__autocomplete");if(!e||!t)return;const n=l=>{t.classList.remove("u-hidden");const c=t.querySelectorAll("li"),p=[];return c.forEach(m=>{m.querySelector("a")?.innerHTML.toLowerCase().includes(l.toLowerCase())&&p.push(m.innerHTML)}),p},o=l=>{t.innerHTML+=`<li>${l}</li>`},s=({target:l})=>{if(!(l instanceof HTMLInputElement))return;const c=l.value;if(t.classList.add("u-hidden"),c.length>=3){const p=n(c);t.innerHTML="",p.length===0&&t.classList.add("u-hidden"),p.forEach(m=>{o(m)})}};e.addEventListener("input",s),e.addEventListener("focusout",()=>{setTimeout(()=>t.classList.add("u-hidden"),300)}),e.addEventListener("focusin",()=>{t.childElementCount>0&&t.classList.remove("u-hidden")})},vG=(e,t)=>{e.setAttribute("aria-expanded","true"),e.parentNode?.querySelectorAll(".js-ellipsis-target")?.forEach(o=>{o.classList.remove(t)});const n=e.querySelector(".js-ellipsis-button__label");n instanceof HTMLSpanElement&&(n.innerHTML="Voir moins")},gG=(e,t)=>{e.parentNode?.querySelectorAll(".js-ellipsis-target")?.forEach(o=>{o.classList.add(t)}),e.setAttribute("aria-expanded","false");const n=e.querySelector(".js-ellipsis-button__label");n instanceof HTMLSpanElement&&(n.innerHTML="Voir plus")},yG=(e,t)=>{const n=e.currentTarget;if(e.preventDefault(),n instanceof HTMLButtonElement){const o=t?"u-ellipsis-multiline":"u-ellipsis";return n.getAttribute("aria-expanded")==="true"?gG(n,o):vG(n,o)}return null},bG=(e=document.querySelector(".js-ellipsis-button"))=>{e&&document.querySelectorAll(".js-ellipsis-button").forEach(t=>{const n=t.getAttribute("data-multiple")==="true";t.addEventListener("click",o=>yG(o,n))})},xG=e=>{e.setAttribute("aria-expanded","true"),e.parentNode?.querySelectorAll(".js-expand-target")?.forEach(n=>{n.setAttribute("aria-hidden","false")});const t=e.querySelector(".js-expand-button__label");t instanceof HTMLSpanElement&&(t.innerHTML="Voir moins")},AG=e=>{e.parentNode?.querySelectorAll(".js-expand-target")?.forEach(n=>{n.setAttribute("aria-hidden","true")}),e.setAttribute("aria-expanded","false");const t=e.querySelector(".js-expand-button__label");t instanceof HTMLSpanElement&&(t.innerHTML="Voir plus")},EG=e=>{const t=e.currentTarget;return e.preventDefault(),t instanceof HTMLButtonElement?t.getAttribute("aria-expanded")==="true"?AG(t):xG(t):null},_G=e=>{const t=e.parentNode?.querySelector(".js-expand-target");return!t||t.classList.contains("c-elections-result__members")?!1:(t.textContent?.trim().length??0)<255},wG=(e=document.querySelector(".js-expand-button"))=>{e&&document.querySelectorAll(".js-expand-button").forEach(t=>{_G(t)?(t.style.display="none",t.parentNode?.querySelectorAll(".js-expand-target")?.forEach(n=>{n.setAttribute("aria-hidden","false")})):t.addEventListener("click",EG)})},tR=(e,t)=>{const n=document.querySelector(".js-content-header"),o=document.querySelector(t),s=document.querySelector(e),l=document.querySelector(".c-header-mobile"),c=l instanceof HTMLElement?l.offsetHeight:0;if(n&&o&&s){const p=new IntersectionObserver(()=>{const m=s.classList,h=m.contains("u-hidden"),A=n.getBoundingClientRect().bottom-c,w=o.getBoundingClientRect().bottom-c;h&&A<=0&&w>=0&&m.remove("u-hidden"),!h&&(A>=0||w<=0)&&m.add("u-hidden")},{root:document,rootMargin:`-${c}px 0px 0px 0px`});p.observe(n),p.observe(o)}},SG=()=>tR(".js-close-article-btn",".js-limit-scroll-close-article-btn"),CG=()=>tR(".js-chatbot-btn",".js-limit-scroll-chatbot-btn"),TG=()=>{const e=document.querySelector(".js-game-alert");rG&&e&&e.classList.remove("u-hidden")},NG=()=>{const e=document.querySelectorAll(".js-half-donut-result");for(const t of Array.from(e)){const n=t.querySelector(".c-half-donut"),o=t.querySelector(".c-legend");if(!n||!o)return;o.querySelectorAll("[data-color]").forEach(s=>{const l=s.getAttribute("data-color"),c=n.querySelector(`.c-half-donut__zone--${l}`);c?.addEventListener("mouseenter",()=>{s.classList.add("c-legend__item--is-hovered"),n.classList.add("c-half-donut--is-hovered"),o.classList.add("c-legend--is-hovered")}),c?.addEventListener("mouseleave",()=>{s.classList.remove("c-legend__item--is-hovered"),n.classList.remove("c-half-donut--is-hovered"),o.classList.remove("c-legend--is-hovered")}),s.addEventListener("mouseenter",()=>{c?.classList.add("c-half-donut__zone--is-hovered"),o.classList.add("c-legend--is-hovered"),n.classList.add("c-half-donut--is-hovered")}),s.addEventListener("mouseleave",()=>{c?.classList.remove("c-half-donut__zone--is-hovered"),o.classList.remove("c-legend--is-hovered"),n.classList.remove("c-half-donut--is-hovered")})})}},DG=()=>{const e=document.querySelector(".c-image-slider__container");if(!e)return()=>{};const t=document.querySelectorAll(".c-image-slider__slide"),n=document.querySelector(".c-image-slider__button-container--previous"),o=document.querySelector(".c-image-slider__button-container--next"),s=document.querySelectorAll(".c-image-slider__indicator");let l=0,c=null,p=!1;const m=()=>{s.forEach((L,P)=>{L.classList.toggle("c-image-slider__indicator--is-active",P===l)})},h=(L=!0)=>{if(!(e instanceof HTMLElement))return;e.style.transition=L?"transform 0.3s ease":"none";const P=-l*100;e.style.transform=`translateX(${P}%)`,m()},A=L=>{l=L,h(!0)},w=()=>{c&&clearInterval(c),c=setInterval(()=>{if(!p){const L=(l+1)%t.length;A(L)}},4e3)},_=()=>{c&&(clearInterval(c),c=null)},D=()=>{p=!0,_()},S=()=>{p=!1,w()};n?.addEventListener("click",()=>{D();const L=(l-1+t.length)%t.length;A(L),setTimeout(S,5e3)}),o?.addEventListener("click",()=>{D();const L=(l+1)%t.length;A(L),setTimeout(S,5e3)}),s.forEach((L,P)=>{L.addEventListener("click",()=>{D(),A(P),setTimeout(S,5e3)})});let T=0,C=0,I=!1;return e.addEventListener("touchstart",L=>{e instanceof HTMLElement&&(D(),T=L.touches[0].clientX,C=T,I=!0,e.style.transition="none")}),e.addEventListener("touchmove",L=>{if(!(e instanceof HTMLElement))return;C=L.touches[0].clientX;const P=C-T,q=-l*window.innerWidth+P;e.style.transform=`translateX(${q}px)`}),e.addEventListener("touchend",()=>{if(!I)return;I=!1;const L=C-T;Math.abs(L)>75&&(L<0?l=Math.min(l+1,t.length-1):L>0&&(l=Math.max(l-1,0))),h(!0),setTimeout(S,5e3)}),h(!0),w(),()=>{_()}},RG=e=>{e.stopImmediatePropagation(),e.preventDefault();const t=e.currentTarget,n=document.getElementById("info-button-content");!(t instanceof HTMLButtonElement)||!n||(t.getAttribute("aria-expanded")==="true"?(t.setAttribute("aria-expanded","false"),n.setAttribute("aria-hidden","true")):(t.setAttribute("aria-expanded","true"),n.setAttribute("aria-hidden","false")))},OG=()=>{const e=document.querySelector(".js-info-banner__button");e instanceof HTMLButtonElement&&e.addEventListener("click",RG)},Ca={inert:":not([inert]):not([inert] *)",negTabIndex:':not([tabindex^="-"])',disabled:":not(:disabled)"};var IG=[`a[href]${Ca.inert}${Ca.negTabIndex}`,`area[href]${Ca.inert}${Ca.negTabIndex}`,`input:not([type="hidden"]):not([type="radio"])${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`input[type="radio"]${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`select${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`textarea${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`button${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`details${Ca.inert} > summary:first-of-type${Ca.negTabIndex}`,`iframe${Ca.inert}${Ca.negTabIndex}`,`audio[controls]${Ca.inert}${Ca.negTabIndex}`,`video[controls]${Ca.inert}${Ca.negTabIndex}`,`[contenteditable]${Ca.inert}${Ca.negTabIndex}`,`[tabindex]${Ca.inert}${Ca.negTabIndex}`];function rR(e){(e.querySelector("[autofocus]")||e).focus()}function jG(e){const t=j2(e,!0),n=t?j2(e,!1)||t:null;return[t,n]}function j2(e,t){if(t&&iR(e))return e;if(LG(e))if(e.shadowRoot){let n=nR(e.shadowRoot,t);for(;n;){const o=j2(n,t);if(o)return o;n=aR(n,t)}}else if(e.localName==="slot"){const n=e.assignedElements({flatten:!0});t||n.reverse();for(const o of n){const s=j2(o,t);if(s)return s}}else{let n=nR(e,t);for(;n;){const o=j2(n,t);if(o)return o;n=aR(n,t)}}return!t&&iR(e)?e:null}function nR(e,t){return t?e.firstElementChild:e.lastElementChild}function aR(e,t){return t?e.nextElementSibling:e.previousElementSibling}const MG=e=>e.matches("details:not([open]) *")&&!e.matches("details>summary:first-of-type")?!0:!(e.offsetWidth||e.offsetHeight||e.getClientRects().length),iR=e=>e.shadowRoot?.delegatesFocus?!1:e.matches(IG.join(","))&&!MG(e);function LG(e){return e.shadowRoot&&e.getAttribute("tabindex")==="-1"?!1:!e.matches(":disabled,[hidden],[inert]")}function M2(e=document){const t=e.activeElement;return t?t.shadowRoot?M2(t.shadowRoot)||document.activeElement:t:null}function kG(e,t){const[n,o]=jG(e);if(!n)return t.preventDefault();const s=M2();t.shiftKey&&s===n?(o.focus(),t.preventDefault()):!t.shiftKey&&s===o&&(n.focus(),t.preventDefault())}function rm(e,t){function n(o){if(!o||o===document||o===window)return null;const s=oR(o);return s&&(o=s),o.closest(e)||n(o.getRootNode().host)}return n(t)}function oR(e){return e.assignedSlot||(e.parentNode?oR(e.parentNode):null)}const L2="data-a11y-dialog";class sR{$el;id;previouslyFocused;shown;constructor(t){this.$el=t,this.id=this.$el.getAttribute(L2)||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.fire("destroy").defaultPrevented?this:(this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0)),this)}show(t){return this.shown?this:this.fire("show",t).defaultPrevented?this:(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=M2(),this.previouslyFocused?.tagName==="BODY"&&t?.target&&(this.previouslyFocused=t.target),t?.type==="focus"?this.maintainFocus():rR(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0),this)}hide(t){return this.shown?this.fire("hide",t).defaultPrevented?this:(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0),this.previouslyFocused?.focus?.(),this):this}on(t,n,o){return this.$el.addEventListener(t,n,o),this}off(t,n,o){return this.$el.removeEventListener(t,n,o),this}fire(t,n){const o=new CustomEvent(t,{detail:n,cancelable:!0});return this.$el.dispatchEvent(o),o}handleTriggerClicks(t){const n=t.composedPath()[0],o=rm(`[${L2}-show="${this.id}"]`,n),s=rm(`[${L2}-hide="${this.id}"]`,n),l=rm(`[${L2}-hide]`,n)&&rm('[aria-modal="true"]',n)===this.$el;o&&this.show(t),(s||l)&&this.hide(t)}bindKeypress(t){if(rm('[aria-modal="true"]',M2())!==this.$el)return;let n=!1;try{n=!!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open')}catch{}t.key==="Escape"&&this.$el.getAttribute("role")!=="alertdialog"&&!n&&(t.preventDefault(),this.hide(t)),t.key==="Tab"&&kG(this.$el,t)}maintainFocus(){const t=M2();rm(`[aria-modal="true"], [${L2}-ignore-focus-trap]`,t)||rR(this.$el)}}function uR(){for(const e of document.querySelectorAll("[data-a11y-dialog]"))new sR(e)}typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",uR):uR());const BG=()=>document.querySelectorAll(".js-modal").forEach(e=>{if(!(e instanceof HTMLElement))return;const t=new sR(e);if(e.id==="dialog-menu"){const n=document.querySelectorAll("button[data-a11y-dialog-show='dialog-menu']"),o=document.querySelectorAll("button[data-a11y-dialog-hide='dialog-menu']");n.length>0&&o.length>0&&(t.on("show",()=>{n.forEach(s=>{s.classList.add("u-hidden")}),o.forEach(s=>{s.classList.remove("u-hidden")})}),t.on("hide",()=>{n.forEach(s=>{s.classList.remove("u-hidden")}),o.forEach(s=>{s.classList.add("u-hidden")})}))}t.on("show",()=>{document.body.classList.add("noscroll")}).on("hide",()=>{document.body.classList.remove("noscroll")})}),C3="50px",P5=({navigationContainer:e,navigatedList:t,nextBtn:n,prevBtn:o})=>{n.classList.contains("o-nav-button--visible")&&!o.classList.contains("o-nav-button--visible")&&(e.style.paddingRight=C3,e.style.paddingLeft=""),o.classList.contains("o-nav-button--visible")&&(e.style.paddingLeft=C3,n.classList.contains("o-nav-button--visible")&&(e.style.paddingRight=C3),n.classList.contains("o-nav-button--visible")||(e.style.paddingRight="")),!n.classList.contains("o-nav-button--visible")&&!o.classList.contains("o-nav-button--visible")&&(t.style.width="",e.style.paddingRight="")},PG=({navigationContainer:e,navigatedList:t,nextBtn:n,prevBtn:o})=>{const s=t.scrollLeft>0,l=t.scrollLeft+(t.clientWidth+.5)<t.scrollWidth;s&&l?(n.classList?.add("o-nav-button--visible"),o.classList?.add("o-nav-button--visible")):s?(n.classList?.remove("o-nav-button--visible"),o.classList?.add("o-nav-button--visible")):l?(n.classList?.add("o-nav-button--visible"),o.classList?.remove("o-nav-button--visible")):(n.classList?.remove("o-nav-button--visible"),o.classList?.remove("o-nav-button--visible")),n.classList.contains("c-slider__button-container--has-space-around")&&o.classList.contains("c-slider__button-container--has-space-around")&&P5({navigationContainer:e,navigatedList:t,nextBtn:n,prevBtn:o})},FG=({navigationContainer:e,navigatedList:t,nextBtn:n,prevBtn:o,sliderVariant:s})=>{if(t){const l=t.closest(".js-overview-bar-container")?.querySelector(".c-stepper")?.querySelectorAll(".c-stepper__item");if(l){const c=Array.from(l).findIndex(p=>p.classList.contains("c-stepper__item--loading"));if(c<0)l[0].classList.add("c-stepper__item--loading");else{l[c].classList.remove("c-stepper__item--loading"),l[c].classList.add("c-stepper__item--loaded");const p=l[c].querySelector(".c-stepper__loader");p&&p instanceof HTMLElement&&(p.style.transition="width 0s linear"),c+1<l.length&&l[c+1].classList.add("c-stepper__item--loading")}}if(t.scrollWidth-t.clientWidth>t.clientWidth){let c=t.scrollLeft;switch(s){case"three-columns-articles":c+=t.clientWidth+32;break;case"rubrics":c+=t.clientWidth-36;break;default:c+=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:c,behavior:"smooth"}),o.classList.add("o-nav-button--visible"),c+t.clientWidth>=t.scrollWidth&&n.classList.remove("o-nav-button--visible")}else{const c=t.scrollWidth-t.clientWidth;t.scrollTo({left:c,behavior:"smooth"}),n.classList.remove("o-nav-button--visible"),o.classList.add("o-nav-button--visible")}n.classList.contains("c-slider__button-container--has-space-around")&&o.classList.contains("c-slider__button-container--has-space-around")&&P5({navigationContainer:e,navigatedList:t,nextBtn:n,prevBtn:o})}},HG=({navigationContainer:e,navigatedList:t,nextBtn:n,prevBtn:o,sliderVariant:s,delay:l})=>{if(t){const c=t.closest(".js-overview-bar-container")?.querySelector(".c-stepper")?.querySelectorAll(".c-stepper__item");if(c){const p=Array.from(c).findIndex(m=>m.classList.contains("c-stepper__item--loading"));p<0?c[0].classList.add("c-stepper__item--loading"):(c[p].classList.remove("c-stepper__item--loading"),c[p].classList.remove("c-stepper__item--loaded"),p-1>0&&(c[p-1].classList.remove("c-stepper__item--loading"),c[p-1].classList.remove("c-stepper__item--loaded"),setTimeout(()=>{const m=c[p-1].querySelector(".c-stepper__loader");c[p-1].classList.add("c-stepper__item--loading"),m&&m instanceof HTMLElement&&(m.style.transition=`width ${l/1e3}s linear`)},0)))}if(t.clientWidth<t.scrollLeft){let p=t.scrollLeft;switch(s){case"three-columns-articles":p-=t.clientWidth+32;break;case"rubrics":p-=t.clientWidth-36;break;default:p-=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:p,behavior:"smooth"}),n.classList.add("o-nav-button--visible"),p===0&&o.classList.remove("o-nav-button--visible")}else t.scrollTo({left:0,behavior:"smooth"}),o.classList.remove("o-nav-button--visible"),t.clientWidth<t.scrollWidth&&n.classList.add("o-nav-button--visible");n.classList.contains("c-slider__button-container--has-space-around")&&o.classList.contains("c-slider__button-container--has-space-around")&&P5({navigationContainer:e,navigatedList:t,nextBtn:n,prevBtn:o})}},UG=({navigationContainer:e,navigatedList:t,nextBtn:n,prevBtn:o})=>{PG({navigationContainer:e,navigatedList:t,nextBtn:n,prevBtn:o})},zG=e=>{const{sliderVariant:t}=e.dataset,{sliderAuto:n}=e.dataset,{sliderDelay:o}=e.dataset,s=o?parseInt(o,10):3e3,l=e.closest(".js-overview-bar-container")?.querySelector(".c-stepper"),c=l?.querySelectorAll(".c-stepper__item"),p=e.querySelector(".js-navigation-container__list"),m=e.querySelector(".o-nav-button--next-button"),h=e.querySelector(".o-nav-button--previous-button");if(!(!p||!m||!h)&&(p.clientWidth<p.scrollWidth&&(m.classList.add("o-nav-button--visible"),m.classList.contains("c-slider__button-container--has-space-around")&&(e.style.paddingRight=C3)),m.addEventListener("click",FG.bind(!1,{navigationContainer:e,navigatedList:p,nextBtn:m,prevBtn:h,sliderVariant:t})),h.addEventListener("click",HG.bind(!1,{navigationContainer:e,navigatedList:p,nextBtn:m,prevBtn:h,sliderVariant:t,delay:s})),n==="true")){const A=l?l.querySelector(".c-stepper__item--loading"):null;c&&(c.forEach(w=>{const _=w.querySelector(".c-stepper__loader");_&&_ instanceof HTMLElement&&(_.style.transition=`width ${s/1e3}s linear`)}),A||c[0].classList.add("c-stepper__item--loading")),setInterval(()=>{m.classList.contains("o-nav-button--visible")?m.click():p&&h&&(p.scrollLeft=0,c&&(c.forEach(w=>{const _=w.querySelector(".c-stepper__loader");_&&_ instanceof HTMLElement&&(_.style.transition="width 0s linear"),w.classList.remove("c-stepper__item--loading"),w.classList.remove("c-stepper__item--loaded"),setTimeout(()=>{_&&_ instanceof HTMLElement&&(_.style.transition=`width ${s/1e3}s linear`)},0)}),setTimeout(()=>{c[0].classList.add("c-stepper__item--loading")},0)),h.click())},s)}},qG=()=>{const e=document.querySelectorAll(".js-navigation-container");Array.from(e).forEach(t=>{const n=t.querySelector(".js-navigation-container__list");if(n){const o=new ResizeObserver(s=>{s.forEach(l=>{const{width:c}=l.contentRect;c>0&&(zG(t),o.disconnect())})});o.observe(n)}})},VG=()=>{const e=document.querySelectorAll(".js-navigation-container");for(const t of Array.from(e))if(t){const n=t.querySelector(".js-navigation-container__list"),o=t.querySelector(".o-nav-button--next-button"),s=t.querySelector(".o-nav-button--previous-button");n&&o&&s&&window.addEventListener("resize",UG.bind(!1,{navigationContainer:t,navigatedList:n,nextBtn:o,prevBtn:s}))}};function cc(e,t,n){const o=document.createElement(t);return e&&(o.className=e),n&&n.appendChild(o),o}function Bo(e,t){return e.x=t.x,e.y=t.y,t.id!==void 0&&(e.id=t.id),e}function lR(e){e.x=Math.round(e.x),e.y=Math.round(e.y)}function F5(e,t){const n=Math.abs(e.x-t.x),o=Math.abs(e.y-t.y);return Math.sqrt(n*n+o*o)}function k2(e,t){return e.x===t.x&&e.y===t.y}function B2(e,t,n){return Math.min(Math.max(e,t),n)}function P2(e,t,n){let o=`translate3d(${e}px,${t||0}px,0)`;return n!==void 0&&(o+=` scale3d(${n},${n},1)`),o}function kh(e,t,n,o){e.style.transform=P2(t,n,o)}const GG="cubic-bezier(.4,0,.22,1)";function cR(e,t,n,o){e.style.transition=t?`${t} ${n}ms ${o||GG}`:"none"}function H5(e,t,n){e.style.width=typeof t=="number"?`${t}px`:t,e.style.height=typeof n=="number"?`${n}px`:n}function KG(e){cR(e)}function WG(e){return"decode"in e?e.decode().catch(()=>{}):e.complete?Promise.resolve(e):new Promise((t,n)=>{e.onload=()=>t(e),e.onerror=n})}const td={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function QG(e){return"button"in e&&e.button===1||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey}function YG(e,t,n=document){let o=[];if(e instanceof Element)o=[e];else if(e instanceof NodeList||Array.isArray(e))o=Array.from(e);else{const s=typeof e=="string"?e:t;s&&(o=Array.from(n.querySelectorAll(s)))}return o}function dR(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}let fR=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>{fR=!0}}))}catch{}class ZG{constructor(){this._pool=[]}add(t,n,o,s){this._toggleListener(t,n,o,s)}remove(t,n,o,s){this._toggleListener(t,n,o,s,!0)}removeAll(){this._pool.forEach(t=>{this._toggleListener(t.target,t.type,t.listener,t.passive,!0,!0)}),this._pool=[]}_toggleListener(t,n,o,s,l,c){if(!t)return;const p=l?"removeEventListener":"addEventListener";n.split(" ").forEach(m=>{if(m){c||(l?this._pool=this._pool.filter(A=>A.type!==m||A.listener!==o||A.target!==t):this._pool.push({target:t,type:m,listener:o,passive:s}));const h=fR?{passive:s||!1}:!1;t[p](m,o,h)}})}}function pR(e,t){if(e.getViewportSizeFn){const n=e.getViewportSizeFn(e,t);if(n)return n}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function F2(e,t,n,o,s){let l=0;if(t.paddingFn)l=t.paddingFn(n,o,s)[e];else if(t.padding)l=t.padding[e];else{const c="padding"+e[0].toUpperCase()+e.slice(1);t[c]&&(l=t[c])}return Number(l)||0}function hR(e,t,n,o){return{x:t.x-F2("left",e,t,n,o)-F2("right",e,t,n,o),y:t.y-F2("top",e,t,n,o)-F2("bottom",e,t,n,o)}}class $G{constructor(t){this.slide=t,this.currZoomLevel=1,this.center={x:0,y:0},this.max={x:0,y:0},this.min={x:0,y:0}}update(t){this.currZoomLevel=t,this.slide.width?(this._updateAxis("x"),this._updateAxis("y"),this.slide.pswp.dispatch("calcBounds",{slide:this.slide})):this.reset()}_updateAxis(t){const{pswp:n}=this.slide,o=this.slide[t==="x"?"width":"height"]*this.currZoomLevel,s=F2(t==="x"?"left":"top",n.options,n.viewportSize,this.slide.data,this.slide.index),l=this.slide.panAreaSize[t];this.center[t]=Math.round((l-o)/2)+s,this.max[t]=o>l?Math.round(l-o)+s:this.center[t],this.min[t]=o>l?s:this.center[t]}reset(){this.center.x=0,this.center.y=0,this.max.x=0,this.max.y=0,this.min.x=0,this.min.y=0}correctPan(t,n){return B2(n,this.max[t],this.min[t])}}const mR=4e3;let vR=class{constructor(e,t,n,o){this.pswp=o,this.options=e,this.itemData=t,this.index=n,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(e,t,n){const o={x:e,y:t};this.elementSize=o,this.panAreaSize=n;const s=n.x/o.x,l=n.y/o.y;this.fit=Math.min(1,s<l?s:l),this.fill=Math.min(1,s>l?s:l),this.vFill=Math.min(1,l),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(e){const t=e+"ZoomLevel",n=this.options[t];if(n)return typeof n=="function"?n(this):n==="fill"?this.fill:n==="fit"?this.fit:Number(n)}_getSecondary(){let e=this._parseZoomLevelOption("secondary");return e||(e=Math.min(1,this.fit*3),this.elementSize&&e*this.elementSize.x>mR&&(e=mR/this.elementSize.x),e)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,this.fit*4)}};class JG{constructor(t,n,o){this.data=t,this.index=n,this.pswp=o,this.isActive=n===o.currIndex,this.currentResolution=0,this.panAreaSize={x:0,y:0},this.pan={x:0,y:0},this.isFirstSlide=this.isActive&&!o.opener.isOpen,this.zoomLevels=new vR(o.options,t,n,o),this.pswp.dispatch("gettingData",{slide:this,data:this.data,index:n}),this.content=this.pswp.contentLoader.getContentBySlide(this),this.container=cc("pswp__zoom-wrap","div"),this.holderElement=null,this.currZoomLevel=1,this.width=this.content.width,this.height=this.content.height,this.heavyAppended=!1,this.bounds=new $G(this),this.prevDisplayedWidth=-1,this.prevDisplayedHeight=-1,this.pswp.dispatch("slideInit",{slide:this})}setIsActive(t){t&&!this.isActive?this.activate():!t&&this.isActive&&this.deactivate()}append(t){this.holderElement=t,this.container.style.transformOrigin="0 0",this.data&&(this.calculateSize(),this.load(),this.updateContentSize(),this.appendHeavy(),this.holderElement.appendChild(this.container),this.zoomAndPanToInitial(),this.pswp.dispatch("firstZoomPan",{slide:this}),this.applyCurrentZoomPan(),this.pswp.dispatch("afterSetContent",{slide:this}),this.isActive&&this.activate())}load(){this.content.load(!1),this.pswp.dispatch("slideLoad",{slide:this})}appendHeavy(){const{pswp:t}=this;this.heavyAppended||!t.opener.isOpen||t.mainScroll.isShifted()||!this.isActive&&!1||this.pswp.dispatch("appendHeavy",{slide:this}).defaultPrevented||(this.heavyAppended=!0,this.content.append(),this.pswp.dispatch("appendHeavyContent",{slide:this}))}activate(){this.isActive=!0,this.appendHeavy(),this.content.activate(),this.pswp.dispatch("slideActivate",{slide:this})}deactivate(){this.isActive=!1,this.content.deactivate(),this.currZoomLevel!==this.zoomLevels.initial&&this.calculateSize(),this.currentResolution=0,this.zoomAndPanToInitial(),this.applyCurrentZoomPan(),this.updateContentSize(),this.pswp.dispatch("slideDeactivate",{slide:this})}destroy(){this.content.hasSlide=!1,this.content.remove(),this.container.remove(),this.pswp.dispatch("slideDestroy",{slide:this})}resize(){this.currZoomLevel===this.zoomLevels.initial||!this.isActive?(this.calculateSize(),this.currentResolution=0,this.zoomAndPanToInitial(),this.applyCurrentZoomPan(),this.updateContentSize()):(this.calculateSize(),this.bounds.update(this.currZoomLevel),this.panTo(this.pan.x,this.pan.y))}updateContentSize(t){const n=this.currentResolution||this.zoomLevels.initial;if(!n)return;const o=Math.round(this.width*n)||this.pswp.viewportSize.x,s=Math.round(this.height*n)||this.pswp.viewportSize.y;!this.sizeChanged(o,s)&&!t||this.content.setDisplayedSize(o,s)}sizeChanged(t,n){return t!==this.prevDisplayedWidth||n!==this.prevDisplayedHeight?(this.prevDisplayedWidth=t,this.prevDisplayedHeight=n,!0):!1}getPlaceholderElement(){var t;return(t=this.content.placeholder)===null||t===void 0?void 0:t.element}zoomTo(t,n,o,s){const{pswp:l}=this;if(!this.isZoomable()||l.mainScroll.isShifted())return;l.dispatch("beforeZoomTo",{destZoomLevel:t,centerPoint:n,transitionDuration:o}),l.animations.stopAllPan();const c=this.currZoomLevel;s||(t=B2(t,this.zoomLevels.min,this.zoomLevels.max)),this.setZoomLevel(t),this.pan.x=this.calculateZoomToPanOffset("x",n,c),this.pan.y=this.calculateZoomToPanOffset("y",n,c),lR(this.pan);const p=()=>{this._setResolution(t),this.applyCurrentZoomPan()};o?l.animations.startTransition({isPan:!0,name:"zoomTo",target:this.container,transform:this.getCurrentTransform(),onComplete:p,duration:o,easing:l.options.easing}):p()}toggleZoom(t){this.zoomTo(this.currZoomLevel===this.zoomLevels.initial?this.zoomLevels.secondary:this.zoomLevels.initial,t,this.pswp.options.zoomAnimationDuration)}setZoomLevel(t){this.currZoomLevel=t,this.bounds.update(this.currZoomLevel)}calculateZoomToPanOffset(t,n,o){if(this.bounds.max[t]-this.bounds.min[t]===0)return this.bounds.center[t];n||(n=this.pswp.getViewportCenterPoint()),o||(o=this.zoomLevels.initial);const s=this.currZoomLevel/o;return this.bounds.correctPan(t,(this.pan[t]-n[t])*s+n[t])}panTo(t,n){this.pan.x=this.bounds.correctPan("x",t),this.pan.y=this.bounds.correctPan("y",n),this.applyCurrentZoomPan()}isPannable(){return!!this.width&&this.currZoomLevel>this.zoomLevels.fit}isZoomable(){return!!this.width&&this.content.isZoomable()}applyCurrentZoomPan(){this._applyZoomTransform(this.pan.x,this.pan.y,this.currZoomLevel),this===this.pswp.currSlide&&this.pswp.dispatch("zoomPanUpdate",{slide:this})}zoomAndPanToInitial(){this.currZoomLevel=this.zoomLevels.initial,this.bounds.update(this.currZoomLevel),Bo(this.pan,this.bounds.center),this.pswp.dispatch("initialZoomPan",{slide:this})}_applyZoomTransform(t,n,o){o/=this.currentResolution||this.zoomLevels.initial,kh(this.container,t,n,o)}calculateSize(){const{pswp:t}=this;Bo(this.panAreaSize,hR(t.options,t.viewportSize,this.data,this.index)),this.zoomLevels.update(this.width,this.height,this.panAreaSize),t.dispatch("calcSlideSize",{slide:this})}getCurrentTransform(){const t=this.currZoomLevel/(this.currentResolution||this.zoomLevels.initial);return P2(this.pan.x,this.pan.y,t)}_setResolution(t){t!==this.currentResolution&&(this.currentResolution=t,this.updateContentSize(),this.pswp.dispatch("resolutionChanged"))}}const XG=.35,eK=.6,gR=.4,yR=.5;function tK(e,t){return e*t/(1-t)}class rK{constructor(t){this.gestures=t,this.pswp=t.pswp,this.startPan={x:0,y:0}}start(){this.pswp.currSlide&&Bo(this.startPan,this.pswp.currSlide.pan),this.pswp.animations.stopAll()}change(){const{p1:t,prevP1:n,dragAxis:o}=this.gestures,{currSlide:s}=this.pswp;if(o==="y"&&this.pswp.options.closeOnVerticalDrag&&s&&s.currZoomLevel<=s.zoomLevels.fit&&!this.gestures.isMultitouch){const l=s.pan.y+(t.y-n.y);if(!this.pswp.dispatch("verticalDrag",{panY:l}).defaultPrevented){this._setPanWithFriction("y",l,eK);const c=1-Math.abs(this._getVerticalDragRatio(s.pan.y));this.pswp.applyBgOpacity(c),s.applyCurrentZoomPan()}}else this._panOrMoveMainScroll("x")||(this._panOrMoveMainScroll("y"),s&&(lR(s.pan),s.applyCurrentZoomPan()))}end(){const{velocity:t}=this.gestures,{mainScroll:n,currSlide:o}=this.pswp;let s=0;if(this.pswp.animations.stopAll(),n.isShifted()){const l=(n.x-n.getCurrSlideX())/this.pswp.viewportSize.x;t.x<-yR&&l<0||t.x<.1&&l<-.5?(s=1,t.x=Math.min(t.x,0)):(t.x>yR&&l>0||t.x>-.1&&l>.5)&&(s=-1,t.x=Math.max(t.x,0)),n.moveIndexBy(s,!0,t.x)}o&&o.currZoomLevel>o.zoomLevels.max||this.gestures.isMultitouch?this.gestures.zoomLevels.correctZoomPan(!0):(this._finishPanGestureForAxis("x"),this._finishPanGestureForAxis("y"))}_finishPanGestureForAxis(t){const{velocity:n}=this.gestures,{currSlide:o}=this.pswp;if(!o)return;const{pan:s,bounds:l}=o,c=s[t],p=this.pswp.bgOpacity<1&&t==="y",m=c+tK(n[t],.995);if(p){const D=this._getVerticalDragRatio(c),S=this._getVerticalDragRatio(m);if(D<0&&S<-gR||D>0&&S>gR){this.pswp.close();return}}const h=l.correctPan(t,m);if(c===h)return;const A=h===m?1:.82,w=this.pswp.bgOpacity,_=h-c;this.pswp.animations.startSpring({name:"panGesture"+t,isPan:!0,start:c,end:h,velocity:n[t],dampingRatio:A,onUpdate:D=>{if(p&&this.pswp.bgOpacity<1){const S=1-(h-D)/_;this.pswp.applyBgOpacity(B2(w+(1-w)*S,0,1))}s[t]=Math.floor(D),o.applyCurrentZoomPan()}})}_panOrMoveMainScroll(t){const{p1:n,dragAxis:o,prevP1:s,isMultitouch:l}=this.gestures,{currSlide:c,mainScroll:p}=this.pswp,m=n[t]-s[t],h=p.x+m;if(!m||!c)return!1;if(t==="x"&&!c.isPannable()&&!l)return p.moveTo(h,!0),!0;const{bounds:A}=c,w=c.pan[t]+m;if(this.pswp.options.allowPanToNext&&o==="x"&&t==="x"&&!l){const _=p.getCurrSlideX(),D=p.x-_,S=m>0,T=!S;if(w>A.min[t]&&S){if(A.min[t]<=this.startPan[t])return p.moveTo(h,!0),!0;this._setPanWithFriction(t,w)}else if(w<A.max[t]&&T){if(this.startPan[t]<=A.max[t])return p.moveTo(h,!0),!0;this._setPanWithFriction(t,w)}else if(D!==0){if(D>0)return p.moveTo(Math.max(h,_),!0),!0;if(D<0)return p.moveTo(Math.min(h,_),!0),!0}else this._setPanWithFriction(t,w)}else t==="y"?!p.isShifted()&&A.min.y!==A.max.y&&this._setPanWithFriction(t,w):this._setPanWithFriction(t,w);return!1}_getVerticalDragRatio(t){var n,o;return(t-((n=(o=this.pswp.currSlide)===null||o===void 0?void 0:o.bounds.center.y)!==null&&n!==void 0?n:0))/(this.pswp.viewportSize.y/3)}_setPanWithFriction(t,n,o){const{currSlide:s}=this.pswp;if(!s)return;const{pan:l,bounds:c}=s;if(c.correctPan(t,n)!==n||o){const p=Math.round(n-l[t]);l[t]+=p*(o||XG)}else l[t]=n}}const nK=.05,aK=.15;function bR(e,t,n){return e.x=(t.x+n.x)/2,e.y=(t.y+n.y)/2,e}class iK{constructor(t){this.gestures=t,this._startPan={x:0,y:0},this._startZoomPoint={x:0,y:0},this._zoomPoint={x:0,y:0},this._wasOverFitZoomLevel=!1,this._startZoomLevel=1}start(){const{currSlide:t}=this.gestures.pswp;t&&(this._startZoomLevel=t.currZoomLevel,Bo(this._startPan,t.pan)),this.gestures.pswp.animations.stopAllPan(),this._wasOverFitZoomLevel=!1}change(){const{p1:t,startP1:n,p2:o,startP2:s,pswp:l}=this.gestures,{currSlide:c}=l;if(!c)return;const p=c.zoomLevels.min,m=c.zoomLevels.max;if(!c.isZoomable()||l.mainScroll.isShifted())return;bR(this._startZoomPoint,n,s),bR(this._zoomPoint,t,o);let h=1/F5(n,s)*F5(t,o)*this._startZoomLevel;if(h>c.zoomLevels.initial+c.zoomLevels.initial/15&&(this._wasOverFitZoomLevel=!0),h<p)if(l.options.pinchToClose&&!this._wasOverFitZoomLevel&&this._startZoomLevel<=c.zoomLevels.initial){const A=1-(p-h)/(p/1.2);l.dispatch("pinchClose",{bgOpacity:A}).defaultPrevented||l.applyBgOpacity(A)}else h=p-(p-h)*aK;else h>m&&(h=m+(h-m)*nK);c.pan.x=this._calculatePanForZoomLevel("x",h),c.pan.y=this._calculatePanForZoomLevel("y",h),c.setZoomLevel(h),c.applyCurrentZoomPan()}end(){const{pswp:t}=this.gestures,{currSlide:n}=t;(!n||n.currZoomLevel<n.zoomLevels.initial)&&!this._wasOverFitZoomLevel&&t.options.pinchToClose?t.close():this.correctZoomPan()}_calculatePanForZoomLevel(t,n){const o=n/this._startZoomLevel;return this._zoomPoint[t]-(this._startZoomPoint[t]-this._startPan[t])*o}correctZoomPan(t){const{pswp:n}=this.gestures,{currSlide:o}=n;if(!(o!=null&&o.isZoomable()))return;this._zoomPoint.x===0&&(t=!0);const s=o.currZoomLevel;let l,c=!0;s<o.zoomLevels.initial?l=o.zoomLevels.initial:s>o.zoomLevels.max?l=o.zoomLevels.max:(c=!1,l=s);const p=n.bgOpacity,m=n.bgOpacity<1,h=Bo({x:0,y:0},o.pan);let A=Bo({x:0,y:0},h);t&&(this._zoomPoint.x=0,this._zoomPoint.y=0,this._startZoomPoint.x=0,this._startZoomPoint.y=0,this._startZoomLevel=s,Bo(this._startPan,h)),c&&(A={x:this._calculatePanForZoomLevel("x",l),y:this._calculatePanForZoomLevel("y",l)}),o.setZoomLevel(l),A={x:o.bounds.correctPan("x",A.x),y:o.bounds.correctPan("y",A.y)},o.setZoomLevel(s);const w=!k2(A,h);if(!w&&!c&&!m){o._setResolution(l),o.applyCurrentZoomPan();return}n.animations.stopAllPan(),n.animations.startSpring({isPan:!0,start:0,end:1e3,velocity:0,dampingRatio:1,naturalFrequency:40,onUpdate:_=>{if(_/=1e3,w||c){if(w&&(o.pan.x=h.x+(A.x-h.x)*_,o.pan.y=h.y+(A.y-h.y)*_),c){const D=s+(l-s)*_;o.setZoomLevel(D)}o.applyCurrentZoomPan()}m&&n.bgOpacity<1&&n.applyBgOpacity(B2(p+(1-p)*_,0,1))},onComplete:()=>{o._setResolution(l),o.applyCurrentZoomPan()}})}}function xR(e){return!!e.target.closest(".pswp__container")}class oK{constructor(t){this.gestures=t}click(t,n){const o=n.target.classList,s=o.contains("pswp__img"),l=o.contains("pswp__item")||o.contains("pswp__zoom-wrap");s?this._doClickOrTapAction("imageClick",t,n):l&&this._doClickOrTapAction("bgClick",t,n)}tap(t,n){xR(n)&&this._doClickOrTapAction("tap",t,n)}doubleTap(t,n){xR(n)&&this._doClickOrTapAction("doubleTap",t,n)}_doClickOrTapAction(t,n,o){var s;const{pswp:l}=this.gestures,{currSlide:c}=l,p=t+"Action",m=l.options[p];if(!l.dispatch(p,{point:n,originalEvent:o}).defaultPrevented){if(typeof m=="function"){m.call(l,n,o);return}switch(m){case"close":case"next":l[m]();break;case"zoom":c?.toggleZoom(n);break;case"zoom-or-close":c!=null&&c.isZoomable()&&c.zoomLevels.secondary!==c.zoomLevels.initial?c.toggleZoom(n):l.options.clickToCloseNonZoomable&&l.close();break;case"toggle-controls":(s=this.gestures.pswp.element)===null||s===void 0||s.classList.toggle("pswp--ui-visible");break}}}}const sK=10,uK=300,lK=25;class cK{constructor(t){this.pswp=t,this.dragAxis=null,this.p1={x:0,y:0},this.p2={x:0,y:0},this.prevP1={x:0,y:0},this.prevP2={x:0,y:0},this.startP1={x:0,y:0},this.startP2={x:0,y:0},this.velocity={x:0,y:0},this._lastStartP1={x:0,y:0},this._intervalP1={x:0,y:0},this._numActivePoints=0,this._ongoingPointers=[],this._touchEventEnabled="ontouchstart"in window,this._pointerEventEnabled=!!window.PointerEvent,this.supportsTouch=this._touchEventEnabled||this._pointerEventEnabled&&navigator.maxTouchPoints>1,this._numActivePoints=0,this._intervalTime=0,this._velocityCalculated=!1,this.isMultitouch=!1,this.isDragging=!1,this.isZooming=!1,this.raf=null,this._tapTimer=null,this.supportsTouch||(t.options.allowPanToNext=!1),this.drag=new rK(this),this.zoomLevels=new iK(this),this.tapHandler=new oK(this),t.on("bindEvents",()=>{t.events.add(t.scrollWrap,"click",this._onClick.bind(this)),this._pointerEventEnabled?this._bindEvents("pointer","down","up","cancel"):this._touchEventEnabled?(this._bindEvents("touch","start","end","cancel"),t.scrollWrap&&(t.scrollWrap.ontouchmove=()=>{},t.scrollWrap.ontouchend=()=>{})):this._bindEvents("mouse","down","up")})}_bindEvents(t,n,o,s){const{pswp:l}=this,{events:c}=l,p=s?t+s:"";c.add(l.scrollWrap,t+n,this.onPointerDown.bind(this)),c.add(window,t+"move",this.onPointerMove.bind(this)),c.add(window,t+o,this.onPointerUp.bind(this)),p&&c.add(l.scrollWrap,p,this.onPointerUp.bind(this))}onPointerDown(t){const n=t.type==="mousedown"||t.pointerType==="mouse";if(n&&t.button>0)return;const{pswp:o}=this;if(!o.opener.isOpen){t.preventDefault();return}o.dispatch("pointerDown",{originalEvent:t}).defaultPrevented||(n&&(o.mouseDetected(),this._preventPointerEventBehaviour(t,"down")),o.animations.stopAll(),this._updatePoints(t,"down"),this._numActivePoints===1&&(this.dragAxis=null,Bo(this.startP1,this.p1)),this._numActivePoints>1?(this._clearTapTimer(),this.isMultitouch=!0):this.isMultitouch=!1)}onPointerMove(t){this._preventPointerEventBehaviour(t,"move"),this._numActivePoints&&(this._updatePoints(t,"move"),!this.pswp.dispatch("pointerMove",{originalEvent:t}).defaultPrevented&&(this._numActivePoints===1&&!this.isDragging?(this.dragAxis||this._calculateDragDirection(),this.dragAxis&&!this.isDragging&&(this.isZooming&&(this.isZooming=!1,this.zoomLevels.end()),this.isDragging=!0,this._clearTapTimer(),this._updateStartPoints(),this._intervalTime=Date.now(),this._velocityCalculated=!1,Bo(this._intervalP1,this.p1),this.velocity.x=0,this.velocity.y=0,this.drag.start(),this._rafStopLoop(),this._rafRenderLoop())):this._numActivePoints>1&&!this.isZooming&&(this._finishDrag(),this.isZooming=!0,this._updateStartPoints(),this.zoomLevels.start(),this._rafStopLoop(),this._rafRenderLoop())))}_finishDrag(){this.isDragging&&(this.isDragging=!1,this._velocityCalculated||this._updateVelocity(!0),this.drag.end(),this.dragAxis=null)}onPointerUp(t){this._numActivePoints&&(this._updatePoints(t,"up"),!this.pswp.dispatch("pointerUp",{originalEvent:t}).defaultPrevented&&(this._numActivePoints===0&&(this._rafStopLoop(),this.isDragging?this._finishDrag():!this.isZooming&&!this.isMultitouch&&this._finishTap(t)),this._numActivePoints<2&&this.isZooming&&(this.isZooming=!1,this.zoomLevels.end(),this._numActivePoints===1&&(this.dragAxis=null,this._updateStartPoints()))))}_rafRenderLoop(){(this.isDragging||this.isZooming)&&(this._updateVelocity(),this.isDragging?k2(this.p1,this.prevP1)||this.drag.change():(!k2(this.p1,this.prevP1)||!k2(this.p2,this.prevP2))&&this.zoomLevels.change(),this._updatePrevPoints(),this.raf=requestAnimationFrame(this._rafRenderLoop.bind(this)))}_updateVelocity(t){const n=Date.now(),o=n-this._intervalTime;o<50&&!t||(this.velocity.x=this._getVelocity("x",o),this.velocity.y=this._getVelocity("y",o),this._intervalTime=n,Bo(this._intervalP1,this.p1),this._velocityCalculated=!0)}_finishTap(t){const{mainScroll:n}=this.pswp;if(n.isShifted()){n.moveIndexBy(0,!0);return}if(t.type.indexOf("cancel")>0)return;if(t.type==="mouseup"||t.pointerType==="mouse"){this.tapHandler.click(this.startP1,t);return}const o=this.pswp.options.doubleTapAction?uK:0;this._tapTimer?(this._clearTapTimer(),F5(this._lastStartP1,this.startP1)<lK&&this.tapHandler.doubleTap(this.startP1,t)):(Bo(this._lastStartP1,this.startP1),this._tapTimer=setTimeout(()=>{this.tapHandler.tap(this.startP1,t),this._clearTapTimer()},o))}_clearTapTimer(){this._tapTimer&&(clearTimeout(this._tapTimer),this._tapTimer=null)}_getVelocity(t,n){const o=this.p1[t]-this._intervalP1[t];return Math.abs(o)>1&&n>5?o/n:0}_rafStopLoop(){this.raf&&(cancelAnimationFrame(this.raf),this.raf=null)}_preventPointerEventBehaviour(t,n){this.pswp.applyFilters("preventPointerEvent",!0,t,n)&&t.preventDefault()}_updatePoints(t,n){if(this._pointerEventEnabled){const o=t,s=this._ongoingPointers.findIndex(l=>l.id===o.pointerId);n==="up"&&s>-1?this._ongoingPointers.splice(s,1):n==="down"&&s===-1?this._ongoingPointers.push(this._convertEventPosToPoint(o,{x:0,y:0})):s>-1&&this._convertEventPosToPoint(o,this._ongoingPointers[s]),this._numActivePoints=this._ongoingPointers.length,this._numActivePoints>0&&Bo(this.p1,this._ongoingPointers[0]),this._numActivePoints>1&&Bo(this.p2,this._ongoingPointers[1])}else{const o=t;this._numActivePoints=0,o.type.indexOf("touch")>-1?o.touches&&o.touches.length>0&&(this._convertEventPosToPoint(o.touches[0],this.p1),this._numActivePoints++,o.touches.length>1&&(this._convertEventPosToPoint(o.touches[1],this.p2),this._numActivePoints++)):(this._convertEventPosToPoint(t,this.p1),n==="up"?this._numActivePoints=0:this._numActivePoints++)}}_updatePrevPoints(){Bo(this.prevP1,this.p1),Bo(this.prevP2,this.p2)}_updateStartPoints(){Bo(this.startP1,this.p1),Bo(this.startP2,this.p2),this._updatePrevPoints()}_calculateDragDirection(){if(this.pswp.mainScroll.isShifted())this.dragAxis="x";else{const t=Math.abs(this.p1.x-this.startP1.x)-Math.abs(this.p1.y-this.startP1.y);if(t!==0){const n=t>0?"x":"y";Math.abs(this.p1[n]-this.startP1[n])>=sK&&(this.dragAxis=n)}}}_convertEventPosToPoint(t,n){return n.x=t.pageX-this.pswp.offset.x,n.y=t.pageY-this.pswp.offset.y,"pointerId"in t?n.id=t.pointerId:t.identifier!==void 0&&(n.id=t.identifier),n}_onClick(t){this.pswp.mainScroll.isShifted()&&(t.preventDefault(),t.stopPropagation())}}const dK=.35;class fK{constructor(t){this.pswp=t,this.x=0,this.slideWidth=0,this._currPositionIndex=0,this._prevPositionIndex=0,this._containerShiftIndex=-1,this.itemHolders=[]}resize(t){const{pswp:n}=this,o=Math.round(n.viewportSize.x+n.viewportSize.x*n.options.spacing),s=o!==this.slideWidth;s&&(this.slideWidth=o,this.moveTo(this.getCurrSlideX())),this.itemHolders.forEach((l,c)=>{s&&kh(l.el,(c+this._containerShiftIndex)*this.slideWidth),t&&l.slide&&l.slide.resize()})}resetPosition(){this._currPositionIndex=0,this._prevPositionIndex=0,this.slideWidth=0,this._containerShiftIndex=-1}appendHolders(){this.itemHolders=[];for(let t=0;t<3;t++){const n=cc("pswp__item","div",this.pswp.container);n.setAttribute("role","group"),n.setAttribute("aria-roledescription","slide"),n.setAttribute("aria-hidden","true"),n.style.display=t===1?"block":"none",this.itemHolders.push({el:n})}}canBeSwiped(){return this.pswp.getNumItems()>1}moveIndexBy(t,n,o){const{pswp:s}=this;let l=s.potentialIndex+t;const c=s.getNumItems();if(s.canLoop()){l=s.getLoopedIndex(l);const m=(t+c)%c;m<=c/2?t=m:t=m-c}else l<0?l=0:l>=c&&(l=c-1),t=l-s.potentialIndex;s.potentialIndex=l,this._currPositionIndex-=t,s.animations.stopMainScroll();const p=this.getCurrSlideX();if(!n)this.moveTo(p),this.updateCurrItem();else{s.animations.startSpring({isMainScroll:!0,start:this.x,end:p,velocity:o||0,naturalFrequency:30,dampingRatio:1,onUpdate:h=>{this.moveTo(h)},onComplete:()=>{this.updateCurrItem(),s.appendHeavy()}});let m=s.potentialIndex-s.currIndex;if(s.canLoop()){const h=(m+c)%c;h<=c/2?m=h:m=h-c}Math.abs(m)>1&&this.updateCurrItem()}return!!t}getCurrSlideX(){return this.slideWidth*this._currPositionIndex}isShifted(){return this.x!==this.getCurrSlideX()}updateCurrItem(){var t;const{pswp:n}=this,o=this._prevPositionIndex-this._currPositionIndex;if(!o)return;this._prevPositionIndex=this._currPositionIndex,n.currIndex=n.potentialIndex;let s=Math.abs(o),l;s>=3&&(this._containerShiftIndex+=o+(o>0?-3:3),s=3,this.itemHolders.forEach(c=>{var p;(p=c.slide)===null||p===void 0||p.destroy(),c.slide=void 0}));for(let c=0;c<s;c++)o>0?(l=this.itemHolders.shift(),l&&(this.itemHolders[2]=l,this._containerShiftIndex++,kh(l.el,(this._containerShiftIndex+2)*this.slideWidth),n.setContent(l,n.currIndex-s+c+2))):(l=this.itemHolders.pop(),l&&(this.itemHolders.unshift(l),this._containerShiftIndex--,kh(l.el,this._containerShiftIndex*this.slideWidth),n.setContent(l,n.currIndex+s-c-2)));Math.abs(this._containerShiftIndex)>50&&!this.isShifted()&&(this.resetPosition(),this.resize()),n.animations.stopAllPan(),this.itemHolders.forEach((c,p)=>{c.slide&&c.slide.setIsActive(p===1)}),n.currSlide=(t=this.itemHolders[1])===null||t===void 0?void 0:t.slide,n.contentLoader.updateLazy(o),n.currSlide&&n.currSlide.applyCurrentZoomPan(),n.dispatch("change")}moveTo(t,n){if(!this.pswp.canLoop()&&n){let o=(this.slideWidth*this._currPositionIndex-t)/this.slideWidth;o+=this.pswp.currIndex;const s=Math.round(t-this.x);(o<0&&s>0||o>=this.pswp.getNumItems()-1&&s<0)&&(t=this.x+s*dK)}this.x=t,this.pswp.container&&kh(this.pswp.container,t),this.pswp.dispatch("moveMainScroll",{x:t,dragging:n??!1})}}const pK={Escape:27,z:90,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Tab:9},Bh=(e,t)=>t?e:pK[e];class hK{constructor(t){this.pswp=t,this._wasFocused=!1,t.on("bindEvents",()=>{t.options.trapFocus&&(t.options.initialPointerPos||this._focusRoot(),t.events.add(document,"focusin",this._onFocusIn.bind(this))),t.events.add(document,"keydown",this._onKeyDown.bind(this))});const n=document.activeElement;t.on("destroy",()=>{t.options.returnFocus&&n&&this._wasFocused&&n.focus()})}_focusRoot(){!this._wasFocused&&this.pswp.element&&(this.pswp.element.focus(),this._wasFocused=!0)}_onKeyDown(t){const{pswp:n}=this;if(n.dispatch("keydown",{originalEvent:t}).defaultPrevented||QG(t))return;let o,s,l=!1;const c="key"in t;switch(c?t.key:t.keyCode){case Bh("Escape",c):n.options.escKey&&(o="close");break;case Bh("z",c):o="toggleZoom";break;case Bh("ArrowLeft",c):s="x";break;case Bh("ArrowUp",c):s="y";break;case Bh("ArrowRight",c):s="x",l=!0;break;case Bh("ArrowDown",c):l=!0,s="y";break;case Bh("Tab",c):this._focusRoot();break}if(s){t.preventDefault();const{currSlide:p}=n;n.options.arrowKeys&&s==="x"&&n.getNumItems()>1?o=l?"next":"prev":p&&p.currZoomLevel>p.zoomLevels.fit&&(p.pan[s]+=l?-80:80,p.panTo(p.pan.x,p.pan.y))}o&&(t.preventDefault(),n[o]())}_onFocusIn(t){const{template:n}=this.pswp;n&&document!==t.target&&n!==t.target&&!n.contains(t.target)&&n.focus()}}const mK="cubic-bezier(.4,0,.22,1)";class vK{constructor(t){var n;this.props=t;const{target:o,onComplete:s,transform:l,onFinish:c=()=>{},duration:p=333,easing:m=mK}=t;this.onFinish=c;const h=l?"transform":"opacity",A=(n=t[h])!==null&&n!==void 0?n:"";this._target=o,this._onComplete=s,this._finished=!1,this._onTransitionEnd=this._onTransitionEnd.bind(this),this._helperTimeout=setTimeout(()=>{cR(o,h,p,m),this._helperTimeout=setTimeout(()=>{o.addEventListener("transitionend",this._onTransitionEnd,!1),o.addEventListener("transitioncancel",this._onTransitionEnd,!1),this._helperTimeout=setTimeout(()=>{this._finalizeAnimation()},p+500),o.style[h]=A},30)},0)}_onTransitionEnd(t){t.target===this._target&&this._finalizeAnimation()}_finalizeAnimation(){this._finished||(this._finished=!0,this.onFinish(),this._onComplete&&this._onComplete())}destroy(){this._helperTimeout&&clearTimeout(this._helperTimeout),KG(this._target),this._target.removeEventListener("transitionend",this._onTransitionEnd,!1),this._target.removeEventListener("transitioncancel",this._onTransitionEnd,!1),this._finished||this._finalizeAnimation()}}const gK=12,yK=.75;class bK{constructor(t,n,o){this.velocity=t*1e3,this._dampingRatio=n||yK,this._naturalFrequency=o||gK,this._dampedFrequency=this._naturalFrequency,this._dampingRatio<1&&(this._dampedFrequency*=Math.sqrt(1-this._dampingRatio*this._dampingRatio))}easeFrame(t,n){let o=0,s;n/=1e3;const l=Math.E**(-this._dampingRatio*this._naturalFrequency*n);if(this._dampingRatio===1)s=this.velocity+this._naturalFrequency*t,o=(t+s*n)*l,this.velocity=o*-this._naturalFrequency+s*l;else if(this._dampingRatio<1){s=1/this._dampedFrequency*(this._dampingRatio*this._naturalFrequency*t+this.velocity);const c=Math.cos(this._dampedFrequency*n),p=Math.sin(this._dampedFrequency*n);o=l*(t*c+s*p),this.velocity=o*-this._naturalFrequency*this._dampingRatio+l*(-this._dampedFrequency*t*p+this._dampedFrequency*s*c)}return o}}class xK{constructor(t){this.props=t,this._raf=0;const{start:n,end:o,velocity:s,onUpdate:l,onComplete:c,onFinish:p=()=>{},dampingRatio:m,naturalFrequency:h}=t;this.onFinish=p;const A=new bK(s,m,h);let w=Date.now(),_=n-o;const D=()=>{this._raf&&(_=A.easeFrame(_,Date.now()-w),Math.abs(_)<1&&Math.abs(A.velocity)<50?(l(o),c&&c(),this.onFinish()):(w=Date.now(),l(_+o),this._raf=requestAnimationFrame(D)))};this._raf=requestAnimationFrame(D)}destroy(){this._raf>=0&&cancelAnimationFrame(this._raf),this._raf=0}}class AK{constructor(){this.activeAnimations=[]}startSpring(t){this._start(t,!0)}startTransition(t){this._start(t)}_start(t,n){const o=n?new xK(t):new vK(t);return this.activeAnimations.push(o),o.onFinish=()=>this.stop(o),o}stop(t){t.destroy();const n=this.activeAnimations.indexOf(t);n>-1&&this.activeAnimations.splice(n,1)}stopAll(){this.activeAnimations.forEach(t=>{t.destroy()}),this.activeAnimations=[]}stopAllPan(){this.activeAnimations=this.activeAnimations.filter(t=>t.props.isPan?(t.destroy(),!1):!0)}stopMainScroll(){this.activeAnimations=this.activeAnimations.filter(t=>t.props.isMainScroll?(t.destroy(),!1):!0)}isPanRunning(){return this.activeAnimations.some(t=>t.props.isPan)}}class EK{constructor(t){this.pswp=t,t.events.add(t.element,"wheel",this._onWheel.bind(this))}_onWheel(t){t.preventDefault();const{currSlide:n}=this.pswp;let{deltaX:o,deltaY:s}=t;if(n&&!this.pswp.dispatch("wheel",{originalEvent:t}).defaultPrevented)if(t.ctrlKey||this.pswp.options.wheelToZoom){if(n.isZoomable()){let l=-s;t.deltaMode===1?l*=.05:l*=t.deltaMode?1:.002,l=2**l;const c=n.currZoomLevel*l;n.zoomTo(c,{x:t.clientX,y:t.clientY})}}else n.isPannable()&&(t.deltaMode===1&&(o*=18,s*=18),n.panTo(n.pan.x-o,n.pan.y-s))}}function _K(e){if(typeof e=="string")return e;if(!e||!e.isCustomSVG)return"";const t=e;let n='<svg aria-hidden="true" class="pswp__icn" viewBox="0 0 %d %d" width="%d" height="%d">';return n=n.split("%d").join(t.size||32),t.outlineID&&(n+='<use class="pswp__icn-shadow" xlink:href="#'+t.outlineID+'"/>'),n+=t.inner,n+="</svg>",n}class wK{constructor(t,n){var o;const s=n.name||n.className;let l=n.html;if(t.options[s]===!1)return;typeof t.options[s+"SVG"]=="string"&&(l=t.options[s+"SVG"]),t.dispatch("uiElementCreate",{data:n});let c="";n.isButton?(c+="pswp__button ",c+=n.className||`pswp__button--${n.name}`):c+=n.className||`pswp__${n.name}`;let p=n.isButton?n.tagName||"button":n.tagName||"div";p=p.toLowerCase();const m=cc(c,p);if(n.isButton){p==="button"&&(m.type="button");let{title:w}=n;const{ariaLabel:_}=n;typeof t.options[s+"Title"]=="string"&&(w=t.options[s+"Title"]),w&&(m.title=w);const D=_||w;D&&m.setAttribute("aria-label",D)}m.innerHTML=_K(l),n.onInit&&n.onInit(m,t),n.onClick&&(m.onclick=w=>{typeof n.onClick=="string"?t[n.onClick]():typeof n.onClick=="function"&&n.onClick(w,m,t)});const h=n.appendTo||"bar";let A=t.element;h==="bar"?(t.topBar||(t.topBar=cc("pswp__top-bar pswp__hide-on-close","div",t.scrollWrap)),A=t.topBar):(m.classList.add("pswp__hide-on-close"),h==="wrapper"&&(A=t.scrollWrap)),(o=A)===null||o===void 0||o.appendChild(t.applyFilters("uiElement",m,n))}}function AR(e,t,n){e.classList.add("pswp__button--arrow"),e.setAttribute("aria-controls","pswp__items"),t.on("change",()=>{t.options.loop||(n?e.disabled=!(t.currIndex<t.getNumItems()-1):e.disabled=!(t.currIndex>0))})}const SK={name:"arrowPrev",className:"pswp__button--arrow--prev",title:"Previous",order:10,isButton:!0,appendTo:"wrapper",html:{isCustomSVG:!0,size:60,inner:'<path d="M29 43l-3 3-16-16 16-16 3 3-13 13 13 13z" id="pswp__icn-arrow"/>',outlineID:"pswp__icn-arrow"},onClick:"prev",onInit:AR},CK={name:"arrowNext",className:"pswp__button--arrow--next",title:"Next",order:11,isButton:!0,appendTo:"wrapper",html:{isCustomSVG:!0,size:60,inner:'<use xlink:href="#pswp__icn-arrow"/>',outlineID:"pswp__icn-arrow"},onClick:"next",onInit:(e,t)=>{AR(e,t,!0)}},TK={name:"close",title:"Close",order:20,isButton:!0,html:{isCustomSVG:!0,inner:'<path d="M24 10l-2-2-6 6-6-6-2 2 6 6-6 6 2 2 6-6 6 6 2-2-6-6z" id="pswp__icn-close"/>',outlineID:"pswp__icn-close"},onClick:"close"},NK={name:"zoom",title:"Zoom",order:10,isButton:!0,html:{isCustomSVG:!0,inner:'<path d="M17.426 19.926a6 6 0 1 1 1.5-1.5L23 22.5 21.5 24l-4.074-4.074z" id="pswp__icn-zoom"/><path fill="currentColor" class="pswp__zoom-icn-bar-h" d="M11 16v-2h6v2z"/><path fill="currentColor" class="pswp__zoom-icn-bar-v" d="M13 12h2v6h-2z"/>',outlineID:"pswp__icn-zoom"},onClick:"toggleZoom"},DK={name:"preloader",appendTo:"bar",order:7,html:{isCustomSVG:!0,inner:'<path fill-rule="evenodd" clip-rule="evenodd" d="M21.2 16a5.2 5.2 0 1 1-5.2-5.2V8a8 8 0 1 0 8 8h-2.8Z" id="pswp__icn-loading"/>',outlineID:"pswp__icn-loading"},onInit:(e,t)=>{let n,o=null;const s=(p,m)=>{e.classList.toggle("pswp__preloader--"+p,m)},l=p=>{n!==p&&(n=p,s("active",p))},c=()=>{var p;if(!((p=t.currSlide)!==null&&p!==void 0&&p.content.isLoading())){l(!1),o&&(clearTimeout(o),o=null);return}o||(o=setTimeout(()=>{var m;l(!!(!((m=t.currSlide)===null||m===void 0)&&m.content.isLoading())),o=null},t.options.preloaderDelay))};t.on("change",c),t.on("loadComplete",p=>{t.currSlide===p.slide&&c()}),t.ui&&(t.ui.updatePreloaderVisibility=c)}},RK={name:"counter",order:5,onInit:(e,t)=>{t.on("change",()=>{e.innerText=t.currIndex+1+t.options.indexIndicatorSep+t.getNumItems()})}};function ER(e,t){e.classList.toggle("pswp--zoomed-in",t)}class OK{constructor(t){this.pswp=t,this.isRegistered=!1,this.uiElementsData=[],this.items=[],this.updatePreloaderVisibility=()=>{},this._lastUpdatedZoomLevel=void 0}init(){const{pswp:t}=this;this.isRegistered=!1,this.uiElementsData=[TK,SK,CK,NK,DK,RK],t.dispatch("uiRegister"),this.uiElementsData.sort((n,o)=>(n.order||0)-(o.order||0)),this.items=[],this.isRegistered=!0,this.uiElementsData.forEach(n=>{this.registerElement(n)}),t.on("change",()=>{var n;(n=t.element)===null||n===void 0||n.classList.toggle("pswp--one-slide",t.getNumItems()===1)}),t.on("zoomPanUpdate",()=>this._onZoomPanUpdate())}registerElement(t){this.isRegistered?this.items.push(new wK(this.pswp,t)):this.uiElementsData.push(t)}_onZoomPanUpdate(){const{template:t,currSlide:n,options:o}=this.pswp;if(this.pswp.opener.isClosing||!t||!n)return;let{currZoomLevel:s}=n;if(this.pswp.opener.isOpen||(s=n.zoomLevels.initial),s===this._lastUpdatedZoomLevel)return;this._lastUpdatedZoomLevel=s;const l=n.zoomLevels.initial-n.zoomLevels.secondary;if(Math.abs(l)<.01||!n.isZoomable()){ER(t,!1),t.classList.remove("pswp--zoom-allowed");return}t.classList.add("pswp--zoom-allowed");const c=s===n.zoomLevels.initial?n.zoomLevels.secondary:n.zoomLevels.initial;ER(t,c<=s),(o.imageClickAction==="zoom"||o.imageClickAction==="zoom-or-close")&&t.classList.add("pswp--click-to-zoom")}}function IK(e){const t=e.getBoundingClientRect();return{x:t.left,y:t.top,w:t.width}}function jK(e,t,n){const o=e.getBoundingClientRect(),s=o.width/t,l=o.height/n,c=s>l?s:l,p=(o.width-t*c)/2,m=(o.height-n*c)/2,h={x:o.left+p,y:o.top+m,w:t*c};return h.innerRect={w:o.width,h:o.height,x:p,y:m},h}function MK(e,t,n){const o=n.dispatch("thumbBounds",{index:e,itemData:t,instance:n});if(o.thumbBounds)return o.thumbBounds;const{element:s}=t;let l,c;if(s&&n.options.thumbSelector!==!1){const p=n.options.thumbSelector||"img";c=s.matches(p)?s:s.querySelector(p)}return c=n.applyFilters("thumbEl",c,t,e),c&&(t.thumbCropped?l=jK(c,t.width||t.w||0,t.height||t.h||0):l=IK(c)),n.applyFilters("thumbBounds",l,t,e)}let LK=class{constructor(e,t){this.type=e,this.defaultPrevented=!1,t&&Object.assign(this,t)}preventDefault(){this.defaultPrevented=!0}},kK=class{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(e,t,n=100){var o,s,l;this._filters[e]||(this._filters[e]=[]),(o=this._filters[e])===null||o===void 0||o.push({fn:t,priority:n}),(s=this._filters[e])===null||s===void 0||s.sort((c,p)=>c.priority-p.priority),(l=this.pswp)===null||l===void 0||l.addFilter(e,t,n)}removeFilter(e,t){this._filters[e]&&(this._filters[e]=this._filters[e].filter(n=>n.fn!==t)),this.pswp&&this.pswp.removeFilter(e,t)}applyFilters(e,...t){var n;return(n=this._filters[e])===null||n===void 0||n.forEach(o=>{t[0]=o.fn.apply(this,t)}),t[0]}on(e,t){var n,o;this._listeners[e]||(this._listeners[e]=[]),(n=this._listeners[e])===null||n===void 0||n.push(t),(o=this.pswp)===null||o===void 0||o.on(e,t)}off(e,t){var n;this._listeners[e]&&(this._listeners[e]=this._listeners[e].filter(o=>t!==o)),(n=this.pswp)===null||n===void 0||n.off(e,t)}dispatch(e,t){var n;if(this.pswp)return this.pswp.dispatch(e,t);const o=new LK(e,t);return(n=this._listeners[e])===null||n===void 0||n.forEach(s=>{s.call(this,o)}),o}},BK=class{constructor(e,t){if(this.element=cc("pswp__img pswp__img--placeholder",e?"img":"div",t),e){const n=this.element;n.decoding="async",n.alt="",n.src=e,n.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(e,t){this.element&&(this.element.tagName==="IMG"?(H5(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=P2(0,0,e/250)):H5(this.element,e,t))}destroy(){var e;(e=this.element)!==null&&e!==void 0&&e.parentNode&&this.element.remove(),this.element=null}},PK=class{constructor(e,t,n){this.instance=t,this.data=e,this.index=n,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=td.IDLE,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(e,t){if(this.slide&&this.usePlaceholder())if(this.placeholder){const n=this.placeholder.element;n&&!n.parentElement&&this.slide.container.prepend(n)}else{const n=this.instance.applyFilters("placeholderSrc",this.data.msrc&&this.slide.isFirstSlide?this.data.msrc:!1,this);this.placeholder=new BK(n,this.slide.container)}this.element&&!t||this.instance.dispatch("contentLoad",{content:this,isLazy:e}).defaultPrevented||(this.isImageContent()?(this.element=cc("pswp__img","img"),this.displayedImageWidth&&this.loadImage(e)):(this.element=cc("pswp__content","div"),this.element.innerHTML=this.data.html||""),t&&this.slide&&this.slide.updateContentSize(!0))}loadImage(e){var t,n;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:e}).defaultPrevented)return;const o=this.element;this.updateSrcsetSizes(),this.data.srcset&&(o.srcset=this.data.srcset),o.src=(t=this.data.src)!==null&&t!==void 0?t:"",o.alt=(n=this.data.alt)!==null&&n!==void 0?n:"",this.state=td.LOADING,o.complete?this.onLoaded():(o.onload=()=>{this.onLoaded()},o.onerror=()=>{this.onError()})}setSlide(e){this.slide=e,this.hasSlide=!0,this.instance=e.pswp}onLoaded(){this.state=td.LOADED,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),(this.state===td.LOADED||this.state===td.ERROR)&&this.removePlaceholder())}onError(){this.state=td.ERROR,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===td.LOADING,this)}isError(){return this.state===td.ERROR}isImageContent(){return this.type==="image"}setDisplayedSize(e,t){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(e,t),!this.instance.dispatch("contentResize",{content:this,width:e,height:t}).defaultPrevented&&(H5(this.element,e,t),this.isImageContent()&&!this.isError()))){const n=!this.displayedImageWidth&&e;this.displayedImageWidth=e,this.displayedImageHeight=t,n?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:e,height:t,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==td.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;const e=this.element,t=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!e.dataset.largestUsedSize||t>parseInt(e.dataset.largestUsedSize,10))&&(e.sizes=t+"px",e.dataset.largestUsedSize=String(t))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,!this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented&&(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){var e,t;let n=cc("pswp__error-msg","div");n.innerText=(e=(t=this.instance.options)===null||t===void 0?void 0:t.errorMsg)!==null&&e!==void 0?e:"",n=this.instance.applyFilters("contentErrorElement",n,this),this.element=cc("pswp__content pswp__error-msg-container","div"),this.element.appendChild(n),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===td.ERROR){this.displayError();return}if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;const e="decode"in this.element;this.isImageContent()?e&&this.slide&&(!this.slide.isActive||dR())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){this.instance.dispatch("contentActivate",{content:this}).defaultPrevented||!this.slide||(this.isImageContent()&&this.isDecoding&&!dR()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,!this.instance.dispatch("contentRemove",{content:this}).defaultPrevented&&(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&(this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),(this.state===td.LOADED||this.state===td.ERROR)&&this.removePlaceholder()))}};const FK=5;function _R(e,t,n){const o=t.createContentFromData(e,n);let s;const{options:l}=t;if(l){s=new vR(l,e,-1);let c;t.pswp?c=t.pswp.viewportSize:c=pR(l,t);const p=hR(l,c,e,n);s.update(o.width,o.height,p)}return o.lazyLoad(),s&&o.setDisplayedSize(Math.ceil(o.width*s.initial),Math.ceil(o.height*s.initial)),o}function HK(e,t){const n=t.getItemData(e);if(!t.dispatch("lazyLoadSlide",{index:e,itemData:n}).defaultPrevented)return _R(n,t,e)}class UK{constructor(t){this.pswp=t,this.limit=Math.max(t.options.preload[0]+t.options.preload[1]+1,FK),this._cachedItems=[]}updateLazy(t){const{pswp:n}=this;if(n.dispatch("lazyLoad").defaultPrevented)return;const{preload:o}=n.options,s=t===void 0?!0:t>=0;let l;for(l=0;l<=o[1];l++)this.loadSlideByIndex(n.currIndex+(s?l:-l));for(l=1;l<=o[0];l++)this.loadSlideByIndex(n.currIndex+(s?-l:l))}loadSlideByIndex(t){const n=this.pswp.getLoopedIndex(t);let o=this.getContentByIndex(n);o||(o=HK(n,this.pswp),o&&this.addToCache(o))}getContentBySlide(t){let n=this.getContentByIndex(t.index);return n||(n=this.pswp.createContentFromData(t.data,t.index),this.addToCache(n)),n.setSlide(t),n}addToCache(t){if(this.removeByIndex(t.index),this._cachedItems.push(t),this._cachedItems.length>this.limit){const n=this._cachedItems.findIndex(o=>!o.isAttached&&!o.hasSlide);n!==-1&&this._cachedItems.splice(n,1)[0].destroy()}}removeByIndex(t){const n=this._cachedItems.findIndex(o=>o.index===t);n!==-1&&this._cachedItems.splice(n,1)}getContentByIndex(t){return this._cachedItems.find(n=>n.index===t)}destroy(){this._cachedItems.forEach(t=>t.destroy()),this._cachedItems=[]}}let zK=class extends kK{getNumItems(){var e;let t=0;const n=(e=this.options)===null||e===void 0?void 0:e.dataSource;n&&"length"in n?t=n.length:n&&"gallery"in n&&(n.items||(n.items=this._getGalleryDOMElements(n.gallery)),n.items&&(t=n.items.length));const o=this.dispatch("numItems",{dataSource:n,numItems:t});return this.applyFilters("numItems",o.numItems,n)}createContentFromData(e,t){return new PK(e,this,t)}getItemData(e){var t;const n=(t=this.options)===null||t===void 0?void 0:t.dataSource;let o={};Array.isArray(n)?o=n[e]:n&&"gallery"in n&&(n.items||(n.items=this._getGalleryDOMElements(n.gallery)),o=n.items[e]);let s=o;s instanceof Element&&(s=this._domElementToItemData(s));const l=this.dispatch("itemData",{itemData:s||{},index:e});return this.applyFilters("itemData",l.itemData,e)}_getGalleryDOMElements(e){var t,n;return(t=this.options)!==null&&t!==void 0&&t.children||(n=this.options)!==null&&n!==void 0&&n.childSelector?YG(this.options.children,this.options.childSelector,e)||[]:[e]}_domElementToItemData(e){const t={element:e},n=e.tagName==="A"?e:e.querySelector("a");if(n){t.src=n.dataset.pswpSrc||n.href,n.dataset.pswpSrcset&&(t.srcset=n.dataset.pswpSrcset),t.width=n.dataset.pswpWidth?parseInt(n.dataset.pswpWidth,10):0,t.height=n.dataset.pswpHeight?parseInt(n.dataset.pswpHeight,10):0,t.w=t.width,t.h=t.height,n.dataset.pswpType&&(t.type=n.dataset.pswpType);const s=e.querySelector("img");if(s){var o;t.msrc=s.currentSrc||s.src,t.alt=(o=s.getAttribute("alt"))!==null&&o!==void 0?o:""}(n.dataset.pswpCropped||n.dataset.cropped)&&(t.thumbCropped=!0)}return this.applyFilters("domItemData",t,e,n)}lazyLoadData(e,t){return _R(e,this,t)}};const H2=.003;class qK{constructor(t){this.pswp=t,this.isClosed=!0,this.isOpen=!1,this.isClosing=!1,this.isOpening=!1,this._duration=void 0,this._useAnimation=!1,this._croppedZoom=!1,this._animateRootOpacity=!1,this._animateBgOpacity=!1,this._placeholder=void 0,this._opacityElement=void 0,this._cropContainer1=void 0,this._cropContainer2=void 0,this._thumbBounds=void 0,this._prepareOpen=this._prepareOpen.bind(this),t.on("firstZoomPan",this._prepareOpen)}open(){this._prepareOpen(),this._start()}close(){if(this.isClosed||this.isClosing||this.isOpening)return;const t=this.pswp.currSlide;this.isOpen=!1,this.isOpening=!1,this.isClosing=!0,this._duration=this.pswp.options.hideAnimationDuration,t&&t.currZoomLevel*t.width>=this.pswp.options.maxWidthToAnimate&&(this._duration=0),this._applyStartProps(),setTimeout(()=>{this._start()},this._croppedZoom?30:0)}_prepareOpen(){if(this.pswp.off("firstZoomPan",this._prepareOpen),!this.isOpening){const t=this.pswp.currSlide;this.isOpening=!0,this.isClosing=!1,this._duration=this.pswp.options.showAnimationDuration,t&&t.zoomLevels.initial*t.width>=this.pswp.options.maxWidthToAnimate&&(this._duration=0),this._applyStartProps()}}_applyStartProps(){const{pswp:t}=this,n=this.pswp.currSlide,{options:o}=t;if(o.showHideAnimationType==="fade"?(o.showHideOpacity=!0,this._thumbBounds=void 0):o.showHideAnimationType==="none"?(o.showHideOpacity=!1,this._duration=0,this._thumbBounds=void 0):this.isOpening&&t._initialThumbBounds?this._thumbBounds=t._initialThumbBounds:this._thumbBounds=this.pswp.getThumbBounds(),this._placeholder=n?.getPlaceholderElement(),t.animations.stopAll(),this._useAnimation=!!(this._duration&&this._duration>50),this._animateZoom=!!this._thumbBounds&&n?.content.usePlaceholder()&&(!this.isClosing||!t.mainScroll.isShifted()),!this._animateZoom)this._animateRootOpacity=!0,this.isOpening&&n&&(n.zoomAndPanToInitial(),n.applyCurrentZoomPan());else{var s;this._animateRootOpacity=(s=o.showHideOpacity)!==null&&s!==void 0?s:!1}if(this._animateBgOpacity=!this._animateRootOpacity&&this.pswp.options.bgOpacity>H2,this._opacityElement=this._animateRootOpacity?t.element:t.bg,!this._useAnimation){this._duration=0,this._animateZoom=!1,this._animateBgOpacity=!1,this._animateRootOpacity=!0,this.isOpening&&(t.element&&(t.element.style.opacity=String(H2)),t.applyBgOpacity(1));return}if(this._animateZoom&&this._thumbBounds&&this._thumbBounds.innerRect){var l;this._croppedZoom=!0,this._cropContainer1=this.pswp.container,this._cropContainer2=(l=this.pswp.currSlide)===null||l===void 0?void 0:l.holderElement,t.container&&(t.container.style.overflow="hidden",t.container.style.width=t.viewportSize.x+"px")}else this._croppedZoom=!1;this.isOpening?(this._animateRootOpacity?(t.element&&(t.element.style.opacity=String(H2)),t.applyBgOpacity(1)):(this._animateBgOpacity&&t.bg&&(t.bg.style.opacity=String(H2)),t.element&&(t.element.style.opacity="1")),this._animateZoom&&(this._setClosedStateZoomPan(),this._placeholder&&(this._placeholder.style.willChange="transform",this._placeholder.style.opacity=String(H2)))):this.isClosing&&(t.mainScroll.itemHolders[0]&&(t.mainScroll.itemHolders[0].el.style.display="none"),t.mainScroll.itemHolders[2]&&(t.mainScroll.itemHolders[2].el.style.display="none"),this._croppedZoom&&t.mainScroll.x!==0&&(t.mainScroll.resetPosition(),t.mainScroll.resize()))}_start(){this.isOpening&&this._useAnimation&&this._placeholder&&this._placeholder.tagName==="IMG"?new Promise(t=>{let n=!1,o=!0;WG(this._placeholder).finally(()=>{n=!0,o||t(!0)}),setTimeout(()=>{o=!1,n&&t(!0)},50),setTimeout(t,250)}).finally(()=>this._initiate()):this._initiate()}_initiate(){var t,n;(t=this.pswp.element)===null||t===void 0||t.style.setProperty("--pswp-transition-duration",this._duration+"ms"),this.pswp.dispatch(this.isOpening?"openingAnimationStart":"closingAnimationStart"),this.pswp.dispatch("initialZoom"+(this.isOpening?"In":"Out")),(n=this.pswp.element)===null||n===void 0||n.classList.toggle("pswp--ui-visible",this.isOpening),this.isOpening?(this._placeholder&&(this._placeholder.style.opacity="1"),this._animateToOpenState()):this.isClosing&&this._animateToClosedState(),this._useAnimation||this._onAnimationComplete()}_onAnimationComplete(){const{pswp:t}=this;if(this.isOpen=this.isOpening,this.isClosed=this.isClosing,this.isOpening=!1,this.isClosing=!1,t.dispatch(this.isOpen?"openingAnimationEnd":"closingAnimationEnd"),t.dispatch("initialZoom"+(this.isOpen?"InEnd":"OutEnd")),this.isClosed)t.destroy();else if(this.isOpen){var n;this._animateZoom&&t.container&&(t.container.style.overflow="visible",t.container.style.width="100%"),(n=t.currSlide)===null||n===void 0||n.applyCurrentZoomPan()}}_animateToOpenState(){const{pswp:t}=this;this._animateZoom&&(this._croppedZoom&&this._cropContainer1&&this._cropContainer2&&(this._animateTo(this._cropContainer1,"transform","translate3d(0,0,0)"),this._animateTo(this._cropContainer2,"transform","none")),t.currSlide&&(t.currSlide.zoomAndPanToInitial(),this._animateTo(t.currSlide.container,"transform",t.currSlide.getCurrentTransform()))),this._animateBgOpacity&&t.bg&&this._animateTo(t.bg,"opacity",String(t.options.bgOpacity)),this._animateRootOpacity&&t.element&&this._animateTo(t.element,"opacity","1")}_animateToClosedState(){const{pswp:t}=this;this._animateZoom&&this._setClosedStateZoomPan(!0),this._animateBgOpacity&&t.bgOpacity>.01&&t.bg&&this._animateTo(t.bg,"opacity","0"),this._animateRootOpacity&&t.element&&this._animateTo(t.element,"opacity","0")}_setClosedStateZoomPan(t){if(!this._thumbBounds)return;const{pswp:n}=this,{innerRect:o}=this._thumbBounds,{currSlide:s,viewportSize:l}=n;if(this._croppedZoom&&o&&this._cropContainer1&&this._cropContainer2){const c=-l.x+(this._thumbBounds.x-o.x)+o.w,p=-l.y+(this._thumbBounds.y-o.y)+o.h,m=l.x-o.w,h=l.y-o.h;t?(this._animateTo(this._cropContainer1,"transform",P2(c,p)),this._animateTo(this._cropContainer2,"transform",P2(m,h))):(kh(this._cropContainer1,c,p),kh(this._cropContainer2,m,h))}s&&(Bo(s.pan,o||this._thumbBounds),s.currZoomLevel=this._thumbBounds.w/s.width,t?this._animateTo(s.container,"transform",s.getCurrentTransform()):s.applyCurrentZoomPan())}_animateTo(t,n,o){if(!this._duration){t.style[n]=o;return}const{animations:s}=this.pswp,l={duration:this._duration,easing:this.pswp.options.easing,onComplete:()=>{s.activeAnimations.length||this._onAnimationComplete()},target:t};l[n]=o,s.startTransition(l)}}const VK={allowPanToNext:!0,spacing:.1,loop:!0,pinchToClose:!0,closeOnVerticalDrag:!0,hideAnimationDuration:333,showAnimationDuration:333,zoomAnimationDuration:333,escKey:!0,arrowKeys:!0,trapFocus:!0,returnFocus:!0,maxWidthToAnimate:4e3,clickToCloseNonZoomable:!0,imageClickAction:"zoom-or-close",bgClickAction:"close",tapAction:"toggle-controls",doubleTapAction:"zoom",indexIndicatorSep:" / ",preloaderDelay:2e3,bgOpacity:.8,index:0,errorMsg:"The image cannot be loaded",preload:[1,2],easing:"cubic-bezier(.4,0,.22,1)"};class GK extends zK{constructor(t){super(),this.options=this._prepareOptions(t||{}),this.offset={x:0,y:0},this._prevViewportSize={x:0,y:0},this.viewportSize={x:0,y:0},this.bgOpacity=1,this.currIndex=0,this.potentialIndex=0,this.isOpen=!1,this.isDestroying=!1,this.hasMouse=!1,this._initialItemData={},this._initialThumbBounds=void 0,this.topBar=void 0,this.element=void 0,this.template=void 0,this.container=void 0,this.scrollWrap=void 0,this.currSlide=void 0,this.events=new ZG,this.animations=new AK,this.mainScroll=new fK(this),this.gestures=new cK(this),this.opener=new qK(this),this.keyboard=new hK(this),this.contentLoader=new UK(this)}init(){if(this.isOpen||this.isDestroying)return!1;this.isOpen=!0,this.dispatch("init"),this.dispatch("beforeOpen"),this._createMainStructure();let t="pswp--open";return this.gestures.supportsTouch&&(t+=" pswp--touch"),this.options.mainClass&&(t+=" "+this.options.mainClass),this.element&&(this.element.className+=" "+t),this.currIndex=this.options.index||0,this.potentialIndex=this.currIndex,this.dispatch("firstUpdate"),this.scrollWheel=new EK(this),(Number.isNaN(this.currIndex)||this.currIndex<0||this.currIndex>=this.getNumItems())&&(this.currIndex=0),this.gestures.supportsTouch||this.mouseDetected(),this.updateSize(),this.offset.y=window.pageYOffset,this._initialItemData=this.getItemData(this.currIndex),this.dispatch("gettingData",{index:this.currIndex,data:this._initialItemData,slide:void 0}),this._initialThumbBounds=this.getThumbBounds(),this.dispatch("initialLayout"),this.on("openingAnimationEnd",()=>{const{itemHolders:n}=this.mainScroll;n[0]&&(n[0].el.style.display="block",this.setContent(n[0],this.currIndex-1)),n[2]&&(n[2].el.style.display="block",this.setContent(n[2],this.currIndex+1)),this.appendHeavy(),this.contentLoader.updateLazy(),this.events.add(window,"resize",this._handlePageResize.bind(this)),this.events.add(window,"scroll",this._updatePageScrollOffset.bind(this)),this.dispatch("bindEvents")}),this.mainScroll.itemHolders[1]&&this.setContent(this.mainScroll.itemHolders[1],this.currIndex),this.dispatch("change"),this.opener.open(),this.dispatch("afterInit"),!0}getLoopedIndex(t){const n=this.getNumItems();return this.options.loop&&(t>n-1&&(t-=n),t<0&&(t+=n)),B2(t,0,n-1)}appendHeavy(){this.mainScroll.itemHolders.forEach(t=>{var n;(n=t.slide)===null||n===void 0||n.appendHeavy()})}goTo(t){this.mainScroll.moveIndexBy(this.getLoopedIndex(t)-this.potentialIndex)}next(){this.goTo(this.potentialIndex+1)}prev(){this.goTo(this.potentialIndex-1)}zoomTo(...t){var n;(n=this.currSlide)===null||n===void 0||n.zoomTo(...t)}toggleZoom(){var t;(t=this.currSlide)===null||t===void 0||t.toggleZoom()}close(){!this.opener.isOpen||this.isDestroying||(this.isDestroying=!0,this.dispatch("close"),this.events.removeAll(),this.opener.close())}destroy(){var t;if(!this.isDestroying){this.options.showHideAnimationType="none",this.close();return}this.dispatch("destroy"),this._listeners={},this.scrollWrap&&(this.scrollWrap.ontouchmove=null,this.scrollWrap.ontouchend=null),(t=this.element)===null||t===void 0||t.remove(),this.mainScroll.itemHolders.forEach(n=>{var o;(o=n.slide)===null||o===void 0||o.destroy()}),this.contentLoader.destroy(),this.events.removeAll()}refreshSlideContent(t){this.contentLoader.removeByIndex(t),this.mainScroll.itemHolders.forEach((n,o)=>{var s,l;let c=((s=(l=this.currSlide)===null||l===void 0?void 0:l.index)!==null&&s!==void 0?s:0)-1+o;if(this.canLoop()&&(c=this.getLoopedIndex(c)),c===t&&(this.setContent(n,t,!0),o===1)){var p;this.currSlide=n.slide,(p=n.slide)===null||p===void 0||p.setIsActive(!0)}}),this.dispatch("change")}setContent(t,n,o){if(this.canLoop()&&(n=this.getLoopedIndex(n)),t.slide){if(t.slide.index===n&&!o)return;t.slide.destroy(),t.slide=void 0}if(!this.canLoop()&&(n<0||n>=this.getNumItems()))return;const s=this.getItemData(n);t.slide=new JG(s,n,this),n===this.currIndex&&(this.currSlide=t.slide),t.slide.append(t.el)}getViewportCenterPoint(){return{x:this.viewportSize.x/2,y:this.viewportSize.y/2}}updateSize(t){if(this.isDestroying)return;const n=pR(this.options,this);!t&&k2(n,this._prevViewportSize)||(Bo(this._prevViewportSize,n),this.dispatch("beforeResize"),Bo(this.viewportSize,this._prevViewportSize),this._updatePageScrollOffset(),this.dispatch("viewportSize"),this.mainScroll.resize(this.opener.isOpen),!this.hasMouse&&window.matchMedia("(any-hover: hover)").matches&&this.mouseDetected(),this.dispatch("resize"))}applyBgOpacity(t){this.bgOpacity=Math.max(t,0),this.bg&&(this.bg.style.opacity=String(this.bgOpacity*this.options.bgOpacity))}mouseDetected(){if(!this.hasMouse){var t;this.hasMouse=!0,(t=this.element)===null||t===void 0||t.classList.add("pswp--has_mouse")}}_handlePageResize(){this.updateSize(),/iPhone|iPad|iPod/i.test(window.navigator.userAgent)&&setTimeout(()=>{this.updateSize()},500)}_updatePageScrollOffset(){this.setScrollOffset(0,window.pageYOffset)}setScrollOffset(t,n){this.offset.x=t,this.offset.y=n,this.dispatch("updateScrollOffset")}_createMainStructure(){this.element=cc("pswp","div"),this.element.setAttribute("tabindex","-1"),this.element.setAttribute("role","dialog"),this.template=this.element,this.bg=cc("pswp__bg","div",this.element),this.scrollWrap=cc("pswp__scroll-wrap","section",this.element),this.container=cc("pswp__container","div",this.scrollWrap),this.scrollWrap.setAttribute("aria-roledescription","carousel"),this.container.setAttribute("aria-live","off"),this.container.setAttribute("id","pswp__items"),this.mainScroll.appendHolders(),this.ui=new OK(this),this.ui.init(),(this.options.appendToEl||document.body).appendChild(this.element)}getThumbBounds(){return MK(this.currIndex,this.currSlide?this.currSlide.data:this._initialItemData,this)}canLoop(){return this.options.loop&&this.getNumItems()>2}_prepareOptions(t){return window.matchMedia("(prefers-reduced-motion), (update: slow)").matches&&(t.showHideAnimationType="none",t.zoomAnimationDuration=0),{...VK,...t}}}function U2(e,t,n){const o=document.createElement(t);return e&&(o.className=e),n&&n.appendChild(o),o}function KK(e,t,n){let o=`translate3d(${e}px,0px,0)`;return n!==void 0&&(o+=` scale3d(${n},${n},1)`),o}function U5(e,t,n){e.style.width=typeof t=="number"?`${t}px`:t,e.style.height=typeof n=="number"?`${n}px`:n}const rd={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function WK(e){return"button"in e&&e.button===1||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey}function z2(e,t,n=document){let o=[];if(e instanceof Element)o=[e];else if(e instanceof NodeList||Array.isArray(e))o=Array.from(e);else{const s=typeof e=="string"?e:t;s&&(o=Array.from(n.querySelectorAll(s)))}return o}function QK(e){return typeof e=="function"&&e.prototype&&e.prototype.goTo}function wR(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}class YK{constructor(t,n){this.type=t,this.defaultPrevented=!1,n&&Object.assign(this,n)}preventDefault(){this.defaultPrevented=!0}}class ZK{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(t,n,o=100){var s,l,c;this._filters[t]||(this._filters[t]=[]),(s=this._filters[t])===null||s===void 0||s.push({fn:n,priority:o}),(l=this._filters[t])===null||l===void 0||l.sort((p,m)=>p.priority-m.priority),(c=this.pswp)===null||c===void 0||c.addFilter(t,n,o)}removeFilter(t,n){this._filters[t]&&(this._filters[t]=this._filters[t].filter(o=>o.fn!==n)),this.pswp&&this.pswp.removeFilter(t,n)}applyFilters(t,...n){var o;return(o=this._filters[t])===null||o===void 0||o.forEach(s=>{n[0]=s.fn.apply(this,n)}),n[0]}on(t,n){var o,s;this._listeners[t]||(this._listeners[t]=[]),(o=this._listeners[t])===null||o===void 0||o.push(n),(s=this.pswp)===null||s===void 0||s.on(t,n)}off(t,n){var o;this._listeners[t]&&(this._listeners[t]=this._listeners[t].filter(s=>n!==s)),(o=this.pswp)===null||o===void 0||o.off(t,n)}dispatch(t,n){var o;if(this.pswp)return this.pswp.dispatch(t,n);const s=new YK(t,n);return(o=this._listeners[t])===null||o===void 0||o.forEach(l=>{l.call(this,s)}),s}}class $K{constructor(t,n){if(this.element=U2("pswp__img pswp__img--placeholder",t?"img":"div",n),t){const o=this.element;o.decoding="async",o.alt="",o.src=t,o.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(t,n){this.element&&(this.element.tagName==="IMG"?(U5(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=KK(0,0,t/250)):U5(this.element,t,n))}destroy(){var t;(t=this.element)!==null&&t!==void 0&&t.parentNode&&this.element.remove(),this.element=null}}class JK{constructor(t,n,o){this.instance=n,this.data=t,this.index=o,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=rd.IDLE,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(t,n){if(this.slide&&this.usePlaceholder())if(this.placeholder){const o=this.placeholder.element;o&&!o.parentElement&&this.slide.container.prepend(o)}else{const o=this.instance.applyFilters("placeholderSrc",this.data.msrc&&this.slide.isFirstSlide?this.data.msrc:!1,this);this.placeholder=new $K(o,this.slide.container)}this.element&&!n||this.instance.dispatch("contentLoad",{content:this,isLazy:t}).defaultPrevented||(this.isImageContent()?(this.element=U2("pswp__img","img"),this.displayedImageWidth&&this.loadImage(t)):(this.element=U2("pswp__content","div"),this.element.innerHTML=this.data.html||""),n&&this.slide&&this.slide.updateContentSize(!0))}loadImage(t){var n,o;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:t}).defaultPrevented)return;const s=this.element;this.updateSrcsetSizes(),this.data.srcset&&(s.srcset=this.data.srcset),s.src=(n=this.data.src)!==null&&n!==void 0?n:"",s.alt=(o=this.data.alt)!==null&&o!==void 0?o:"",this.state=rd.LOADING,s.complete?this.onLoaded():(s.onload=()=>{this.onLoaded()},s.onerror=()=>{this.onError()})}setSlide(t){this.slide=t,this.hasSlide=!0,this.instance=t.pswp}onLoaded(){this.state=rd.LOADED,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),(this.state===rd.LOADED||this.state===rd.ERROR)&&this.removePlaceholder())}onError(){this.state=rd.ERROR,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===rd.LOADING,this)}isError(){return this.state===rd.ERROR}isImageContent(){return this.type==="image"}setDisplayedSize(t,n){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(t,n),!this.instance.dispatch("contentResize",{content:this,width:t,height:n}).defaultPrevented&&(U5(this.element,t,n),this.isImageContent()&&!this.isError()))){const o=!this.displayedImageWidth&&t;this.displayedImageWidth=t,this.displayedImageHeight=n,o?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:t,height:n,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==rd.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;const t=this.element,n=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!t.dataset.largestUsedSize||n>parseInt(t.dataset.largestUsedSize,10))&&(t.sizes=n+"px",t.dataset.largestUsedSize=String(n))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,!this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented&&(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){var t,n;let o=U2("pswp__error-msg","div");o.innerText=(t=(n=this.instance.options)===null||n===void 0?void 0:n.errorMsg)!==null&&t!==void 0?t:"",o=this.instance.applyFilters("contentErrorElement",o,this),this.element=U2("pswp__content pswp__error-msg-container","div"),this.element.appendChild(o),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===rd.ERROR){this.displayError();return}if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;const t="decode"in this.element;this.isImageContent()?t&&this.slide&&(!this.slide.isActive||wR())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){this.instance.dispatch("contentActivate",{content:this}).defaultPrevented||!this.slide||(this.isImageContent()&&this.isDecoding&&!wR()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,!this.instance.dispatch("contentRemove",{content:this}).defaultPrevented&&(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&(this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),(this.state===rd.LOADED||this.state===rd.ERROR)&&this.removePlaceholder()))}}function XK(e,t){if(e.getViewportSizeFn){const n=e.getViewportSizeFn(e,t);if(n)return n}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function T3(e,t,n,o,s){let l=0;if(t.paddingFn)l=t.paddingFn(n,o,s)[e];else if(t.padding)l=t.padding[e];else{const c="padding"+e[0].toUpperCase()+e.slice(1);t[c]&&(l=t[c])}return Number(l)||0}function eW(e,t,n,o){return{x:t.x-T3("left",e,t,n,o)-T3("right",e,t,n,o),y:t.y-T3("top",e,t,n,o)-T3("bottom",e,t,n,o)}}const SR=4e3;class tW{constructor(t,n,o,s){this.pswp=s,this.options=t,this.itemData=n,this.index=o,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(t,n,o){const s={x:t,y:n};this.elementSize=s,this.panAreaSize=o;const l=o.x/s.x,c=o.y/s.y;this.fit=Math.min(1,l<c?l:c),this.fill=Math.min(1,l>c?l:c),this.vFill=Math.min(1,c),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(t){const n=t+"ZoomLevel",o=this.options[n];if(o)return typeof o=="function"?o(this):o==="fill"?this.fill:o==="fit"?this.fit:Number(o)}_getSecondary(){let t=this._parseZoomLevelOption("secondary");return t||(t=Math.min(1,this.fit*3),this.elementSize&&t*this.elementSize.x>SR&&(t=SR/this.elementSize.x),t)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,this.fit*4)}}function CR(e,t,n){const o=t.createContentFromData(e,n);let s;const{options:l}=t;if(l){s=new tW(l,e,-1);let c;t.pswp?c=t.pswp.viewportSize:c=XK(l,t);const p=eW(l,c,e,n);s.update(o.width,o.height,p)}return o.lazyLoad(),s&&o.setDisplayedSize(Math.ceil(o.width*s.initial),Math.ceil(o.height*s.initial)),o}function rW(e,t){const n=t.getItemData(e);if(!t.dispatch("lazyLoadSlide",{index:e,itemData:n}).defaultPrevented)return CR(n,t,e)}class nW extends ZK{getNumItems(){var t;let n=0;const o=(t=this.options)===null||t===void 0?void 0:t.dataSource;o&&"length"in o?n=o.length:o&&"gallery"in o&&(o.items||(o.items=this._getGalleryDOMElements(o.gallery)),o.items&&(n=o.items.length));const s=this.dispatch("numItems",{dataSource:o,numItems:n});return this.applyFilters("numItems",s.numItems,o)}createContentFromData(t,n){return new JK(t,this,n)}getItemData(t){var n;const o=(n=this.options)===null||n===void 0?void 0:n.dataSource;let s={};Array.isArray(o)?s=o[t]:o&&"gallery"in o&&(o.items||(o.items=this._getGalleryDOMElements(o.gallery)),s=o.items[t]);let l=s;l instanceof Element&&(l=this._domElementToItemData(l));const c=this.dispatch("itemData",{itemData:l||{},index:t});return this.applyFilters("itemData",c.itemData,t)}_getGalleryDOMElements(t){var n,o;return(n=this.options)!==null&&n!==void 0&&n.children||(o=this.options)!==null&&o!==void 0&&o.childSelector?z2(this.options.children,this.options.childSelector,t)||[]:[t]}_domElementToItemData(t){const n={element:t},o=t.tagName==="A"?t:t.querySelector("a");if(o){n.src=o.dataset.pswpSrc||o.href,o.dataset.pswpSrcset&&(n.srcset=o.dataset.pswpSrcset),n.width=o.dataset.pswpWidth?parseInt(o.dataset.pswpWidth,10):0,n.height=o.dataset.pswpHeight?parseInt(o.dataset.pswpHeight,10):0,n.w=n.width,n.h=n.height,o.dataset.pswpType&&(n.type=o.dataset.pswpType);const l=t.querySelector("img");if(l){var s;n.msrc=l.currentSrc||l.src,n.alt=(s=l.getAttribute("alt"))!==null&&s!==void 0?s:""}(o.dataset.pswpCropped||o.dataset.cropped)&&(n.thumbCropped=!0)}return this.applyFilters("domItemData",n,t,o)}lazyLoadData(t,n){return CR(t,this,n)}}class aW extends nW{constructor(t){super(),this.options=t||{},this._uid=0,this.shouldOpen=!1,this._preloadedContent=void 0,this.onThumbnailsClick=this.onThumbnailsClick.bind(this)}init(){z2(this.options.gallery,this.options.gallerySelector).forEach(t=>{t.addEventListener("click",this.onThumbnailsClick,!1)})}onThumbnailsClick(t){if(WK(t)||window.pswp)return;let n={x:t.clientX,y:t.clientY};!n.x&&!n.y&&(n=null);let o=this.getClickedIndex(t);o=this.applyFilters("clickedIndex",o,t,this);const s={gallery:t.currentTarget};o>=0&&(t.preventDefault(),this.loadAndOpen(o,s,n))}getClickedIndex(t){if(this.options.getClickedIndexFn)return this.options.getClickedIndexFn.call(this,t);const n=t.target,o=z2(this.options.children,this.options.childSelector,t.currentTarget).findIndex(s=>s===n||s.contains(n));return o!==-1?o:this.options.children||this.options.childSelector?-1:0}loadAndOpen(t,n,o){if(window.pswp||!this.options)return!1;if(!n&&this.options.gallery&&this.options.children){const s=z2(this.options.gallery);s[0]&&(n={gallery:s[0]})}return this.options.index=t,this.options.initialPointerPos=o,this.shouldOpen=!0,this.preload(t,n),!0}preload(t,n){const{options:o}=this;n&&(o.dataSource=n);const s=[],l=typeof o.pswpModule;if(QK(o.pswpModule))s.push(Promise.resolve(o.pswpModule));else{if(l==="string")throw new Error("pswpModule as string is no longer supported");if(l==="function")s.push(o.pswpModule());else throw new Error("pswpModule is not valid")}typeof o.openPromise=="function"&&s.push(o.openPromise()),o.preloadFirstSlide!==!1&&t>=0&&(this._preloadedContent=rW(t,this));const c=++this._uid;Promise.all(s).then(p=>{if(this.shouldOpen){const m=p[0];this._openPhotoswipe(m,c)}})}_openPhotoswipe(t,n){if(n!==this._uid&&this.shouldOpen||(this.shouldOpen=!1,window.pswp))return;const o=typeof t=="object"?new t.default(this.options):new t(this.options);this.pswp=o,window.pswp=o,Object.keys(this._listeners).forEach(s=>{var l;(l=this._listeners[s])===null||l===void 0||l.forEach(c=>{o.on(s,c)})}),Object.keys(this._filters).forEach(s=>{var l;(l=this._filters[s])===null||l===void 0||l.forEach(c=>{o.addFilter(s,c.fn,c.priority)})}),this._preloadedContent&&(o.contentLoader.addToCache(this._preloadedContent),this._preloadedContent=void 0),o.on("destroy",()=>{this.pswp=void 0,delete window.pswp}),o.init()}destroy(){var t;(t=this.pswp)===null||t===void 0||t.destroy(),this.shouldOpen=!1,this._listeners={},z2(this.options.gallery,this.options.gallerySelector).forEach(n=>{n.removeEventListener("click",this.onThumbnailsClick,!1)})}}const iW=()=>{let e=null;return e=new aW({gallery:"#photoswipe-gallery",children:"a",pswpModule:GK,zoom:!1,imageClickAction:"next",tapAction:"next"}),e.on("uiRegister",()=>{e?.pswp?.ui?.registerElement({name:"custom-caption",appendTo:"root",onInit:t=>{e?.pswp?.on("change",()=>{const n=e?.pswp?.currSlide?.data.element;if(n){const o=n.querySelector(".caption-content");t.innerHTML=o?.innerHTML||""}})}})}),e.init(),()=>{e&&(e.destroy(),e=null)}},oW="mbrs-game-ranking",sW=".c-header-page__ranking-button",uW=()=>{const e=document.querySelector(sW),t=e?.querySelector("button");!e||!t||t.addEventListener("click",()=>{document.getElementById(oW)?.scrollIntoView({behavior:"smooth"})})},TR=e=>Math.min(100,Math.max(0,Math.round(e))),lW=()=>{const e=document.querySelector(".js-limit-scroll-progress-bar"),t=document.querySelector(".c-progress__bar"),n=document.querySelector(".c-btn__close-progress");if(!t&&!n)return;const{documentElement:o}=document,s=o.scrollTop;if(t){let l=o.scrollHeight-o.clientHeight;if(!l)return;e&&(l=e.scrollHeight-o.clientHeight+(window.pageYOffset+e.getBoundingClientRect().top)),t.style.width=`${TR(s/l*100)}%`}if(n){const l=document.querySelector(".js-content-header"),c=document.querySelector(".js-limit-scroll-close-article-btn");if(l&&c){const p=window.pageYOffset+l.getBoundingClientRect().bottom,m=window.pageYOffset+c.getBoundingClientRect().bottom-o.clientHeight-p;if(m>0){const h=TR((s-p)/m*100);n.style.setProperty("--progress",`${h}`),n.parentElement?.classList.toggle("c-btn--close-progress-complete",h>=100)}}}},cW=()=>{const e=document.querySelector(".c-progress"),t=document.querySelector(".c-btn__close-progress");(e||t)&&window.addEventListener("scroll",lW)},dW=(e={})=>{const{buttonSelector:t=".c-scroll-to-top"}=e,n=document.querySelector(t),o=n?.querySelector("button");if(!n||!o)return;const s=n.dataset.triggerSelector||"[data-scroll-trigger]",l=parseInt(n.dataset.triggerOffset||"0",10);n.style.display="none";const c=()=>{const m=document.querySelector(s);let h=!1;if(m){const A=m.getBoundingClientRect().top;h=window.pageYOffset>=A-l}else h=window.pageYOffset>300;n.style.display=h?"block":"none"},p=()=>{window.scrollTo({top:0,behavior:"smooth"})};window.addEventListener("scroll",c),o.addEventListener("click",p),c()},fW=500,pW=()=>{const e=document.querySelector("#mbrs-comments-container"),t=document.querySelector(".c-scroll-to-top-comment");if(!e||!t)return;t.style.display="none",t.addEventListener("click",()=>{document.getElementById("graphcomment")?.scrollIntoView({behavior:"smooth"})});let n=!1;const o=()=>{const{top:w,bottom:_}=e.getBoundingClientRect(),D=window.innerHeight/2,S=w<-400,T=_<D;t.style.display=S&&!T?"flex":"none"},s=()=>{n||(n=!0,window.addEventListener("scroll",o,{passive:!0}),o())},l=()=>{n&&(n=!1,window.removeEventListener("scroll",o),t.style.display="none")},c=w=>{w.offsetHeight>fW?s():l()},p=w=>{new ResizeObserver(()=>{c(w)}).observe(w)},m=w=>{c(w),p(w)},h=w=>{try{if(w.contentDocument?.readyState==="complete"){m(w);return}}catch{}w.addEventListener("load",()=>m(w),{once:!0})};if((()=>{const w=e.querySelector("iframe");return w?(h(w),!0):!1})())return;const A=new MutationObserver(w=>{w.some(_=>Array.from(_.addedNodes).some(D=>{if(D instanceof HTMLIFrameElement)return h(D),!0;if(D instanceof HTMLElement){const S=D.querySelector("iframe");if(S)return h(S),!0}return!1}))&&A.disconnect()});A.observe(e,{childList:!0,subtree:!0})},hW="#page-content",NR="#text-tooltip",mW=".mbrs-social-report-container",DR="c-text-tooltip--show",vW=["#page-content .c-content","#page-content .c-content p","#page-content .c-content h2","#page-content .c-content h3","#page-content .c-content h4","#page-content .c-content h5","#page-content .c-content h6","#page-content .c-content li","#page-content .c-content span","#page-content header span","#page-content header h1","#page-content header h2"],RR=e=>e instanceof Element?e:e.parentElement,OR=(e,t)=>e?t.some(n=>!!e.closest(n)):!1,gW=(e,t)=>{const n=RR(e.startContainer),o=RR(e.endContainer);return OR(n,t)||OR(o,t)},yW=e=>{if(!e.focusNode)return null;const t=e.anchorNode?.compareDocumentPosition(e.focusNode);return t?(t&4)>0:e.anchorOffset<e.focusOffset},bW=(e,t,n)=>{const o=document.querySelector(NR),s=document.querySelector(hW),l=document.querySelectorAll(mW);if(!o||!s){console.warn("Text tooltip : Tooltip or page content are not found in the DOM");return}Array.from(l).forEach(w=>{w.setAttribute("data-selected-text",n)});const c=e.getClientRects(),p=c[t?c.length-1:0];if(!p){N3();return}o.style.position="fixed",o.style.zIndex="100";const m=8,h=p.top-(o.offsetHeight+10),A=p.width<o.offsetWidth?p.left+p.width/2-o.offsetWidth/2:t?p.left+p.width-o.offsetWidth:p.left;o.style.top=`${Math.max(m,h)}px`,o.style.left=`${Math.min(Math.max(m,A),window.innerWidth-o.offsetWidth-m)}px`,o.classList.add(DR)},N3=()=>{const e=document.querySelector(`${NR}`);e&&e.classList.remove(DR)},xW=()=>{const e=window.getSelection();if(!e?.rangeCount){N3();return}const t=e.getRangeAt(0),n=e.toString().trim();if(n.length){const o=gW(t,vW),s=yW(e)||!1;o&&bW(t,s,n);return}N3()},D3=({type:e})=>{if(e==="selectionchange"){window.getSelection()?.toString().trim().length||N3();return}xW()},AW=()=>{if(!window?.getSelection){console.warn("Selection API isn't supported");return}document.addEventListener("mouseup",D3),document.addEventListener("selectionchange",D3),document.addEventListener("touchend",D3),document.addEventListener("touchcancel",D3)},EW="[data-social-bar-action-row]",z5='button, a[href], [role="button"], [data-a11y-dialog-show], [data-a11y-dialog-hide], [data-event-name], .js-mobile-share-button';let IR=!1;const jR=e=>{e.querySelector(z5)?.click()},MR=e=>e instanceof HTMLElement?e.closest(EW):null,_W=e=>{const t=MR(e.target);if(!t)return;const n=e.target.closest(z5);n&&n!==t||jR(t)},wW=e=>{if(e.key!=="Enter"&&e.key!==" ")return;const t=e.target,n=MR(t);if(!n||!(t instanceof HTMLElement))return;const o=t.closest(z5);o&&o!==n||(e.key===" "&&e.preventDefault(),jR(n))},SW=()=>{IR||(document.addEventListener("click",_W),document.addEventListener("keydown",wW),IR=!0)},CW=e=>{const{target:t}=e;if(t instanceof Element){const n=t.closest(".c-search-form--button");n&&(e.preventDefault(),n.classList.remove("c-search-form--button"))}},TW=(e=document.querySelector(".c-search-form--button"))=>{e&&e.addEventListener("click",t=>{CW(t)})},NW=({tabsContainerElement:e,event:t})=>{t.preventDefault();const n=t.target;if(!(n instanceof HTMLButtonElement))return;const o=e.querySelectorAll('[role="tab"]'),s=e.querySelectorAll('[role="tabpanel"]'),l=n.getAttribute("aria-controls"),c=Object.values(s).find(p=>p.id===l);o.forEach(p=>{p.setAttribute("aria-selected","false")}),s.forEach(p=>{p.setAttribute("aria-hidden","true")}),n.setAttribute("aria-selected","true"),c&&c.removeAttribute("aria-hidden")},LR=e=>e.code==="ArrowLeft"||e.keyCode===39,kR=e=>e.code==="ArrowRight"||e.keyCode===37,DW=(e=document.querySelectorAll(".js-tabs"))=>{e.length>0&&e.forEach(t=>{const n=t.querySelectorAll('[role="tab"]');n.forEach(s=>{s.addEventListener("click",l=>{NW({tabsContainerElement:t,event:l})})});const o=t.querySelector('[role="tablist"]');if(o&&n.length>0){let s=0;o.addEventListener("keydown",l=>{l instanceof KeyboardEvent&&(LR(l)||kR(l))&&(n[s].setAttribute("tabindex","-1"),LR(l)?(s+=1,s>=n.length&&(s=0)):kR(l)&&(s-=1,s<0&&(s=n.length-1)),n[s].setAttribute("tabindex","0"),n[s].focus())})}})},R3=e=>{const[t,n]=e.split("h").map(Number);return t*60+n},BR=()=>{const e=new Date,t=e.getHours(),n=e.getMinutes();return t*60+n},RW=(e,t)=>{const n=BR();if(n<e||n>t)return 0;const o=t-e;return(n-e)/o},OW=e=>{const t=BR();let n=null,o=null,s=-1;return Array.from(e).find((l,c,p)=>{if(c===p.length-1)return!1;const m=l.textContent,h=p[c+1].textContent;if(!m||!h)return!1;const A=R3(m),w=R3(h);return t>=A&&t<w?(n=m,o=h,s=c,!0):!1}),{currentIntervalStartTime:n,currentIntervalEndTime:o,currentIntervalIndex:s}},IW=()=>{const e=document.querySelectorAll(".c-timeline__time");if(!e||e.length<2)return;const t=document.querySelector(".c-timeline__progress-bar"),{currentIntervalStartTime:n,currentIntervalEndTime:o,currentIntervalIndex:s}=OW(e);if(!n||!o)return;const l=R3(n),c=R3(o),p=RW(l,c);if(t instanceof HTMLElement){if(t.classList.contains("c-timeline__progress-bar--is-desktop")&&e.length>=5){const m="172px / 2";switch(s){case 0:t.style.width=`calc(${m} + (((${m} + 25% - ${m} / 2) - ${m}) * ${p})`;break;case 1:t.style.width=`calc((${m} + 25% - ${m} / 2) + (((50%) - (${m} + 25% - ${m} / 2)) * ${p})`;break;case 2:t.style.width=`calc((50%) + (((75% - ${m} / 2) - (50%)) * ${p})`;break;case 3:t.style.width=`calc((75% - ${m} / 2) + (((100% - ${m}) - (75% - ${m} / 2)) * ${p}`;break;default:t.style.width="0%"}}if(t.classList.contains("c-timeline__progress-bar--is-mobile")){const m="45px / 2",h="20px";switch(s){case 0:case 1:case 2:case 3:t.style.width=`calc((${h} + ${m}) + (((60% + ${m}) - (${h} + ${m})) * ${p})`;break;default:t.style.width="0%"}if(s===1||s===2||s===3){const A=document.querySelectorAll(".c-timeline__time"),w=document.querySelectorAll(".c-timeline__event");A.length>0&&w.length>0&&(A[0].textContent=n,A[1].textContent=o,w[0].textContent=w[s].textContent,w[1].textContent=w[s+1].textContent)}}}},q5="c-icon-item__container--is-highlighted",jW=e=>{e.find(t=>t.classList.contains(q5))?.classList.remove(q5)},MW=()=>{const e=document.querySelector(".c-toolbar");if(e){const t=window.location.origin+window.location.pathname,n=Array.from(e.querySelectorAll(".c-icon-item__container"));jW(n),n.find(o=>o.querySelector("a")?.getAttribute("href")===t)?.classList.add(q5)}},LW=12,V5=e=>{const t=e||document.querySelector(".c-map-towns");if(!t){new MutationObserver((o,s)=>{if(typeof document<"u"){const l=document.querySelector(".c-map-towns");l&&(s.disconnect(),V5(l))}}).observe(document.body,{childList:!0,subtree:!0});return}const n=()=>{const o=t.querySelectorAll(".js-city-marker");if(o.length===0)return!1;const s=(l=0)=>{let c=!0;o.forEach(p=>{if(p.getAttribute("aria-hidden")==="false")return;const m=p.querySelector(".js-city-anchor"),h=p.querySelector(".js-city-text"),A=p.querySelector(".js-city-bg");if(!(m instanceof SVGGraphicsElement)||!(h instanceof SVGTextElement)||!(A instanceof SVGRectElement))return;const w=m.getBBox();if(w.width>0){const{x:_,y:D,width:S,height:T}=w,C=p.getAttribute("data-scale"),I=C?` scale(${C})`:"";p.setAttribute("transform",`translate(${_+S/2}, ${D+T/2})${I}`);const L=h.getBBox(),P=8,q=4,H=8,W=L.width+P,Z=L.height+q;A.setAttribute("width",`${W}`),A.setAttribute("height",`${Z}`),A.setAttribute("x",`${-W/2}`),A.setAttribute("y",`${-Z-H}`);const ie=-Z/2-H;h.setAttribute("y",`${ie}`),p.setAttribute("aria-hidden","false")}else c=!1}),!c&&l<LW&&requestAnimationFrame(()=>s(l+1))};return requestAnimationFrame(()=>s()),!0};n()||new MutationObserver((o,s)=>{n()&&s.disconnect()}).observe(t,{childList:!0,subtree:!0})},kW={10:[{id:"10387",name:"Troyes"},{id:"10323",name:"Romilly-sur-Seine"},{id:"10033",name:"Bar-sur-Aube"}],11:[{id:"11262",name:"Narbonne"},{id:"11069",name:"Carcassonne"},{id:"11076",name:"Castelnaudary"}],12:[{id:"12202",name:"Rodez"},{id:"12145",name:"Millau"},{id:"12300",name:"Villefranche-de-Rouergue"}],13:[{id:"13055",name:"Marseille"},{id:"13001",name:"Aix-en-Provence"},{id:"13004",name:"Arles"}],14:[{id:"14118",name:"Caen"},{id:"14366",name:"Lisieux"},{id:"14762",name:"Vire Normandie"}],15:[{id:"15014",name:"Aurillac"},{id:"15187",name:"Saint-Flour"},{id:"15120",name:"Mauriac"}],16:[{id:"16015",name:"Angoulême"},{id:"16102",name:"Cognac"},{id:"16028",name:"Barbezieux-Saint-Hilaire"}],17:[{id:"17300",name:"La Rochelle"},{id:"17415",name:"Saintes"},{id:"17299",name:"Rochefort"}],18:[{id:"18033",name:"Bourges"},{id:"18279",name:"Vierzon"},{id:"18197",name:"Saint-Amand-Montrond"}],19:[{id:"19031",name:"Brive-la-Gaillarde"},{id:"19272",name:"Tulle"},{id:"19275",name:"Ussel"}],21:[{id:"21231",name:"Dijon"},{id:"21054",name:"Beaune"},{id:"21038",name:"Auxonne"}],22:[{id:"22278",name:"Saint-Brieuc"},{id:"22113",name:"Lannion"},{id:"22093",name:"Lamballe-Armor"}],23:[{id:"23096",name:"Guéret"},{id:"23176",name:"La Souterraine"},{id:"23008",name:"Aubusson"}],24:[{id:"24322",name:"Périgueux"},{id:"24037",name:"Bergerac"},{id:"24520",name:"Sarlat-la-Canéda"}],25:[{id:"25056",name:"Besançon"},{id:"25388",name:"Montbéliard"},{id:"25462",name:"Pontarlier"}],26:[{id:"26362",name:"Valence"},{id:"26198",name:"Montélimar"},{id:"26235",name:"Pierrelatte"}],27:[{id:"27229",name:"Évreux"},{id:"27681",name:"Vernon"},{id:"27375",name:"Louviers"}],28:[{id:"28085",name:"Chartres"},{id:"28134",name:"Dreux"},{id:"28088",name:"Châteaudun"}],29:[{id:"29019",name:"Brest"},{id:"29232",name:"Quimper"},{id:"29039",name:"Concarneau"}],30:[{id:"30189",name:"Nîmes"},{id:"30007",name:"Alès"},{id:"30028",name:"Bagnols-sur-Cèze"}],31:[{id:"31555",name:"Toulouse"},{id:"31483",name:"Saint-Gaudens"},{id:"31033",name:"Auterive"}],32:[{id:"32013",name:"Auch"},{id:"32160",name:"L'Isle-Jourdain"},{id:"32107",name:"Condom"}],33:[{id:"33063",name:"Bordeaux"},{id:"33529",name:"La Teste-de-Buch"},{id:"33243",name:"Libourne"}],34:[{id:"34172",name:"Montpellier"},{id:"34032",name:"Béziers"},{id:"34301",name:"Sète"}],35:[{id:"35238",name:"Rennes"},{id:"35288",name:"Saint-Malo"},{id:"35115",name:"Fougères"}],36:[{id:"36044",name:"Châteauroux"},{id:"36088",name:"Issoudun"},{id:"36018",name:"Le Blanc"}],37:[{id:"37261",name:"Tours"},{id:"37003",name:"Amboise"},{id:"37072",name:"Chinon"}],38:[{id:"38185",name:"Grenoble"},{id:"38544",name:"Vienne"},{id:"38053",name:"Bourgoin-Jallieu"}],39:[{id:"39198",name:"Dole"},{id:"39300",name:"Lons-le-Saunier"},{id:"39478",name:"Saint-Claude"}],40:[{id:"40192",name:"Mont-de-Marsan"},{id:"40088",name:"Dax"},{id:"40046",name:"Biscarrosse"}],41:[{id:"41018",name:"Blois"},{id:"41194",name:"Romorantin-Lanthenay"},{id:"41269",name:"Vendôme"}],42:[{id:"42218",name:"Saint-Étienne"},{id:"42187",name:"Roanne"},{id:"42147",name:"Montbrison"}],43:[{id:"43157",name:"Le Puy-en-Velay"},{id:"43137",name:"Monistrol-sur-Loire"},{id:"43040",name:"Brioude"}],44:[{id:"44109",name:"Nantes"},{id:"44184",name:"Saint-Nazaire"},{id:"44131",name:"Pornic"}],45:[{id:"45234",name:"Orléans"},{id:"45208",name:"Montargis"},{id:"45155",name:"Gien"}],46:[{id:"46042",name:"Cahors"},{id:"46102",name:"Figeac"},{id:"46127",name:"Gourdon"}],47:[{id:"47001",name:"Agen"},{id:"47323",name:"Villeneuve-sur-Lot"},{id:"47157",name:"Marmande"}],48:[{id:"48095",name:"Mende"},{id:"48140",name:"Saint-Chély-d'Apcher"},{id:"48080",name:"Langogne"}],49:[{id:"49007",name:"Angers"},{id:"49099",name:"Cholet"},{id:"49328",name:"Saumur"}],50:[{id:"50129",name:"Cherbourg-en-Cotentin"},{id:"50502",name:"Saint-Lô"},{id:"50218",name:"Granville"}],51:[{id:"51454",name:"Reims"},{id:"51108",name:"Châlons-en-Champagne"},{id:"51230",name:"Épernay"}],52:[{id:"52448",name:"Saint-Dizier"},{id:"52121",name:"Chaumont"},{id:"52269",name:"Langres"}],53:[{id:"53130",name:"Laval"},{id:"53062",name:"Château-Gontier-sur-Mayenne"},{id:"53147",name:"Mayenne"}],54:[{id:"54395",name:"Nancy"},{id:"54329",name:"Lunéville"},{id:"54528",name:"Toul"}],55:[{id:"55545",name:"Verdun"},{id:"55029",name:"Bar-le-Duc"},{id:"55122",name:"Commercy"}],56:[{id:"56121",name:"Lorient"},{id:"56260",name:"Vannes"},{id:"56178",name:"Pontivy"}],57:[{id:"57463",name:"Metz"},{id:"57672",name:"Thionville"},{id:"57227",name:"Forbach"}],58:[{id:"58194",name:"Nevers"},{id:"58086",name:"Cosne-Cours-sur-Loire"},{id:"58095",name:"Decize"}],59:[{id:"59350",name:"Lille"},{id:"59183",name:"Dunkerque"},{id:"59606",name:"Valenciennes"}],60:[{id:"60057",name:"Beauvais"},{id:"60159",name:"Compiègne"},{id:"60175",name:"Creil"}],61:[{id:"61001",name:"Alençon"},{id:"61169",name:"Flers"},{id:"61006",name:"Argentan"}],62:[{id:"62193",name:"Calais"},{id:"62041",name:"Arras"},{id:"62160",name:"Boulogne-sur-Mer"}],63:[{id:"63113",name:"Clermont-Ferrand"},{id:"63178",name:"Issoire"},{id:"63430",name:"Thiers"}],64:[{id:"64445",name:"Pau"},{id:"64102",name:"Bayonne"},{id:"64260",name:"Hendaye"}],65:[{id:"65440",name:"Tarbes"},{id:"65258",name:"Lannemezan"},{id:"65025",name:"Argelès-Gazost"}],66:[{id:"66136",name:"Perpignan"},{id:"66049",name:"Céret"},{id:"66149",name:"Prades"}],67:[{id:"67482",name:"Strasbourg"},{id:"67180",name:"Haguenau"},{id:"67462",name:"Sélestat"}],68:[{id:"68224",name:"Mulhouse"},{id:"68066",name:"Colmar"},{id:"68297",name:"Saint-Louis"}],69:[{id:"69123",name:"Lyon"},{id:"69264",name:"Villefranche-sur-Saône"},{id:"69091",name:"Givors"}],70:[{id:"70550",name:"Vesoul"},{id:"70285",name:"Héricourt"},{id:"70310",name:"Lure"}],71:[{id:"71076",name:"Chalon-sur-Saône"},{id:"71270",name:"Mâcon"},{id:"71153",name:"Le Creusot"}],72:[{id:"72181",name:"Le Mans"},{id:"72154",name:"La Flèche"},{id:"72264",name:"Sablé-sur-Sarthe"}],73:[{id:"73065",name:"Chambéry"},{id:"73011",name:"Albertville"},{id:"73248",name:"Saint-Jean-de-Maurienne"}],74:[{id:"74010",name:"Annecy"},{id:"74281",name:"Thonon-les-Bains"},{id:"74012",name:"Annemasse"}],75:[{id:"75056",name:"Paris"}],76:[{id:"76351",name:"Le Havre"},{id:"76540",name:"Rouen"},{id:"76217",name:"Dieppe"}],77:[{id:"77284",name:"Meaux"},{id:"77108",name:"Chelles"},{id:"77288",name:"Melun"}],78:[{id:"78646",name:"Versailles"},{id:"78361",name:"Mantes-la-Jolie"},{id:"78172",name:"Conflans-Sainte-Honorine"}],79:[{id:"79191",name:"Niort"},{id:"79049",name:"Bressuire"},{id:"79329",name:"Thouars"}],80:[{id:"80021",name:"Amiens"},{id:"80001",name:"Abbeville"},{id:"80016",name:"Albert"}],81:[{id:"81004",name:"Albi"},{id:"81065",name:"Castres"},{id:"81105",name:"Graulhet"}],82:[{id:"82121",name:"Montauban"},{id:"82033",name:"Castelsarrasin"},{id:"82037",name:"Caussade"}],83:[{id:"83137",name:"Toulon"},{id:"83061",name:"Fréjus"},{id:"83050",name:"Draguignan"}],84:[{id:"84007",name:"Avignon"},{id:"84031",name:"Carpentras"},{id:"84087",name:"Orange"}],85:[{id:"85191",name:"La Roche-sur-Yon"},{id:"85194",name:"Les Sables-d'Olonne"},{id:"85047",name:"Challans"}],86:[{id:"86194",name:"Poitiers"},{id:"86066",name:"Châtellerault"},{id:"86070",name:"Chauvigny"}],87:[{id:"87085",name:"Limoges"},{id:"87154",name:"Saint-Junien"},{id:"87187",name:"Saint-Yrieix-la-Perche"}],88:[{id:"88160",name:"Épinal"},{id:"88413",name:"Saint-Dié-des-Vosges"},{id:"88196",name:"Gérardmer"}],89:[{id:"89024",name:"Auxerre"},{id:"89387",name:"Sens"},{id:"89206",name:"Joigny"}],90:[{id:"90010",name:"Belfort"},{id:"90081",name:"Réchésy"}],91:[{id:"91228",name:"Évry-Courcouronnes"},{id:"91223",name:"Étampes"},{id:"91692",name:"Les Ulis"}],92:[{id:"92012",name:"Boulogne-Billancourt"}],93:[{id:"93066",name:"Saint-Denis"}],94:[{id:"94081",name:"Vitry-sur-Seine"}],95:[{id:"95018",name:"Argenteuil"},{id:"95487",name:"Persan"},{id:"95351",name:"Louvres"}],971:[{id:"97101",name:"Les Abymes"},{id:"97128",name:"Sainte-Anne"},{id:"97118",name:"Petit-Bourg"}],972:[{id:"97209",name:"Fort-de-France"},{id:"97224",name:"Saint-Joseph"},{id:"97220",name:"Rivière-Pilote"}],973:[{id:"97311",name:"Saint-Laurent-du-Maroni"},{id:"97304",name:"Kourou"}],974:[{id:"97411",name:"Saint-Denis"},{id:"97416",name:"Saint-Pierre"},{id:"97409",name:"Saint-André"}],"03":[{id:"03185",name:"Montluçon"},{id:"03310",name:"Vichy"},{id:"03190",name:"Moulins"}],"04":[{id:"04112",name:"Manosque"},{id:"04070",name:"Digne-les-Bains"},{id:"04209",name:"Sisteron"}],"09":[{id:"09225",name:"Pamiers"},{id:"09261",name:"Saint-Girons"},{id:"09160",name:"Lavelanet"}],"01":[{id:"01053",name:"Bourg-en-Bresse"},{id:"01283",name:"Oyonnax"},{id:"01033",name:"Valserhône"}],"06":[{id:"06088",name:"Nice"},{id:"06029",name:"Cannes"},{id:"06083",name:"Menton"}],"2B":[{id:"2B033",name:"Bastia"},{id:"2B096",name:"Corte"},{id:"2B050",name:"Calvi"}],"2A":[{id:"2A004",name:"Ajaccio"},{id:"2A247",name:"Porto-Vecchio"},{id:"2A032",name:"Bastelicaccia"}],"02":[{id:"02691",name:"Saint-Quentin"},{id:"02722",name:"Soissons"},{id:"02408",name:"Laon"}],"07":[{id:"07010",name:"Annonay"},{id:"07019",name:"Aubenas"},{id:"07324",name:"Tournon-sur-Rhône"}],"05":[{id:"05061",name:"Gap"},{id:"05023",name:"Briançon"},{id:"05046",name:"Embrun"}],"08":[{id:"08105",name:"Charleville-Mézières"},{id:"08362",name:"Rethel"},{id:"08190",name:"Givet"}]},BW=/<path\b([^>]*?)\/>/g,PW=/\b([:\w-]+)="([^"]*)"/g,FW=e=>{const t=[];for(const n of e.matchAll(BW)){const o=n[1];if(!o)continue;const s=new Map;for(const h of o.matchAll(PW)){const[,A,w]=h;A&&s.set(A,w||"")}const l=s.get("id"),c=s.get("d"),p=s.get("data-name"),m=s.get("data-url");!l||!c||!p||!m||t.push({id:l,path:c,name:p,url:m})}return t},HW=e=>new Map(e.map(t=>[t.id,t]));var PR=(e=>(e.MOBILE="mobile",e.DESKTOP="desktop",e))(PR||{});const O3=e=>{window.location.href=e},UW=(e,t,n)=>{const o=n.get(e);if(o)return o;const s=e.startsWith("97")?Array.from(document.querySelectorAll(`path[id^="town-${e}"][id$="-drom"]`)).map(l=>({id:l.getAttribute("id")||"",path:l.getAttribute("d")||"",name:l.getAttribute("data-name")||"",url:l.getAttribute("data-url")||""})):Array.from(t().values()).filter(l=>l.id.startsWith(`town-${e}`));return n.set(e,s),s},zW=(e,t)=>t.get(e),qW=e=>{e.size>0||document.querySelectorAll(".c-map-towns__map .c-map-towns__layer-towns path[data-town-id], .c-map-towns__map-drom .c-map-towns__layer-towns path[id]").forEach(t=>{const n=t.getAttribute("data-town-id")||t.getAttribute("id");n&&e.set(n,Array.from(t.classList).filter(o=>o.startsWith("c-map-towns__path--")))})},VW=(e,t)=>{const n=e.id,o=e.url,s=e.name;if(!n||!o)return null;const l=document.createElementNS("http://www.w3.org/2000/svg","path");l.setAttribute("d",e.path),l.setAttribute("class","c-map-towns__path c-map-towns__zoom-town"),l.setAttribute("data-url",o);const c=zW(n,t);if(c&&c.forEach(p=>{l.classList.add(p)}),s){const p=document.createElementNS("http://www.w3.org/2000/svg","title");p.textContent=s,l.appendChild(p)}return l},GW=(e,t)=>{const n=document.createDocumentFragment();return e.forEach(o=>{const s=VW(o,t);s&&n.appendChild(s)}),n},KW=(e,t)=>{e.replaceChildren(t)},WW=(e,t,n)=>{const o=document.createElementNS("http://www.w3.org/2000/svg","g");o.setAttribute("class","js-city-marker c-map-towns__city-marker"),o.setAttribute("aria-hidden","true"),o.setAttribute("data-scale",n.toString());const s=document.createElementNS("http://www.w3.org/2000/svg","path");s.setAttribute("d",t),s.setAttribute("class","js-city-anchor c-map-towns__city-anchor");const l=document.createElementNS("http://www.w3.org/2000/svg","circle");l.setAttribute("class","c-map-towns__city-circle"),l.setAttribute("r","5"),l.setAttribute("fill","white"),l.setAttribute("stroke","black"),l.setAttribute("strokeWidth","1");const c=document.createElementNS("http://www.w3.org/2000/svg","rect");c.setAttribute("class","js-city-bg"),c.setAttribute("fill","white"),c.setAttribute("rx","4"),c.setAttribute("ry","4");const p=document.createElementNS("http://www.w3.org/2000/svg","text");return p.setAttribute("class","js-city-text c-map-towns__city-text"),p.textContent=e,o.appendChild(s),o.appendChild(l),o.appendChild(c),o.appendChild(p),o},QW=(e,t)=>{const n=t.getBBox(),o=5,s=n.width+o*2,l=n.height+o*2;e.setAttribute("viewBox",`${n.x-o} ${n.y-o} ${s} ${l}`);const c=e.clientWidth||800,p=e.clientHeight||600;return Math.max(s/c,l/p)};let G5=!1;const K5=()=>{if(G5)return;if(!document.querySelector(".c-map-towns")){new MutationObserver((H,W)=>{typeof document<"u"&&document.querySelector(".c-map-towns")&&(W.disconnect(),K5())}).observe(document.body,{childList:!0,subtree:!0});return}const e=window.layout===PR.MOBILE,t=document.querySelector(".c-map-towns__map"),n=document.querySelector(".c-map-towns__droms"),o=document.querySelector(".c-map-towns__zooms"),s=H=>{const{target:W}=H;if(!(W instanceof Element))return;const Z=W.closest(".js-city-marker");if(Z){const $=Z.getAttribute("data-url");$&&O3($);return}const ie=W.closest(".c-map-towns__zoom-item")?.getAttribute("data-city-url");if(ie){O3(ie);return}const ee=W.closest(".c-map-towns__dept-trigger")?.getAttribute("data-url");ee&&O3(ee)};if(e){t?.addEventListener("click",s),n?.addEventListener("click",s),o?.addEventListener("click",s),G5=!0;return}const l=document.getElementById("js-zoom-overlay"),c=document.getElementById("js-zoom-svg"),p=document.getElementById("js-zoom-group"),m=document.getElementById("js-zoom-close");if(!(l instanceof HTMLElement)||!(c instanceof SVGSVGElement)||!(p instanceof SVGGElement)||!(m instanceof HTMLElement)){requestAnimationFrame(K5);return}G5=!0;const h=document.getElementById("js-zoom-label"),A=document.getElementById("js-zoom-title"),w=document.getElementById("js-town-sprite-data"),_=new Map,D=new Map;let S=null;const T=()=>{if(S)return S;const H=w instanceof HTMLScriptElement?JSON.parse(w.textContent||'""'):"";return S=HW(FW(H)),S},C=()=>{l.setAttribute("aria-hidden","true"),p.replaceChildren()},I=(H,W)=>H.startsWith("97")?document.querySelector(`path[id="town-${W}-drom"]`)?.getAttribute("d")||null:T().get(`town-${W}`)?.path||null,L=(H,W)=>{const Z=kW[H]||[];if(Z.length===0)return;const ie=document.createDocumentFragment();Z.forEach(ee=>{const $=I(H,ee.id);if(!$)return;const V=WW(ee.name,$,W);ie.appendChild(V)}),p.appendChild(ie),requestAnimationFrame(()=>{V5(p)})},P=H=>{const{target:W}=H;if(!(W instanceof Element))return;const Z=W?.closest(".c-map-towns__dept-trigger");if(!Z)return;const ie=Z.getAttribute("id")?.replace("out-","")||"",ee=Z.getAttribute("data-name"),$=UW(ie,T,_);qW(D);const V=GW($,D);if(h&&A&&ee&&(h.textContent=ee,A.textContent=`Carte détaillée du département : ${ee}`),!(Z instanceof SVGGraphicsElement))return;const X=QW(c,Z);l.setAttribute("aria-hidden","false"),KW(p,V),L(ie,X)},q=H=>{const{target:W}=H;if(!(W instanceof Element))return;const Z=W.closest(".c-map-towns__zoom-town")?.getAttribute("data-url");Z&&O3(Z)};t?.addEventListener("click",P),n?.addEventListener("click",P),p.addEventListener("click",q),m.addEventListener("click",()=>{C()}),l.addEventListener("click",H=>{H.target===l&&C()})},I3=()=>{wG(),DW(),lG(),OG(),bG(),cW(),iW(),BG(),TW(),SW(),fG(),AW(),SG(),CG(),NG(),mG(),sG("localisation-input","https://www.20minutes.fr/elections/resultats/recherche","?searchValue=","text","text"),hG(),V5(),MW(),aG(),iG(),DG(),K5(),qG(),VG(),TG(),nG(),IW(),dW(),pW(),uW()},bi=async({url:e,options:t})=>{const n={...t||{}},o=new Headers(n.headers);o.has("Content-Type")||o.set("Content-Type","application/json"),n.headers=o;const s=await fetch(e,n).then(l=>{if(l.ok)return l;throw new Error(`Fetch error: ${l.statusText}`)}).then(l=>o.get("Content-Type")?.toLowerCase()?.includes("image/svg+xml")?l.text():l.json());return typeof s=="object"&&s!==null&&"data"in s?s.data:s},YW=(e,t)=>{let n;return(...s)=>{clearTimeout(n),n=setTimeout(()=>e(...s),t)}},j3={autocompleteSelector:".c-search-form__autocomplete"},ZW=({isSSR:e=!0,layout:t,title:n,titleHref:o,searchFormProps:s,breadcrumbProps:l,selectProps:c,variant:p,hasTopBorder:m})=>{const[h,A]=be.useState([]),w=be.useCallback(()=>{const T=document.querySelector(j3.autocompleteSelector);h&&h.length>0&&T&&T.classList.remove("u-hidden")},[h]),_=be.useCallback(()=>{const T=document.querySelector(j3.autocompleteSelector);h&&h.length>0&&T&&T.classList.remove("u-hidden")},[h]),D=be.useCallback(T=>{T.relatedTarget||document.querySelector(j3.autocompleteSelector)?.classList?.add("u-hidden")},[]),S=be.useCallback(async T=>{if(T.target instanceof HTMLInputElement){const{target:C}=T;if(C.value.length<3)A([]);else try{const I=await bi({url:`${C.closest("form")?.action??"#"}?searchValue=${C.value}`});A(I.map(L=>{const{_source:P}=L;return{value:P.output,url:P.url}}))}catch(I){console.error("20mn> Error while searching:",I)}}},[]);return be.useEffect(()=>{I3()},[]),be.useEffect(()=>{const T=document.querySelector(j3.autocompleteSelector);h&&T&&(h.length>0?T.classList.remove("u-hidden"):T.classList.add("u-hidden"))},[h]),a.jsxs(a.Fragment,{children:[a.jsx(rP,{layout:t,title:n,titleHref:o,breadcrumbProps:l,selectProps:c,variant:p,hasTopBorder:m,searchFormProps:{...s,autocompleteResults:h,onSubmit:T=>{T.preventDefault()},inputProps:{placeholder:"Recherchez les résultats de votre ville, votre département ou votre région",name:"elections-search",onClick:w,onFocus:_,onBlur:D,onKeyUp:YW(S,300),autoComplete:"off",required:!0,"aria-required":!0}}}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsSearchBannerContainer:{layout:t,title:n,titleHref:o,searchFormProps:s,breadcrumbProps:l,selectProps:c,variant:p,hasTopBorder:m}})} };`}})]})},FR=({id:e,isHidden:t,...n})=>t?null:a.jsx(ye,{id:e,children:a.jsx(ZW,{...n})}),HR=({subtitle:e,...t})=>a.jsx(_P,{...t,subtitle:e?Kd({rawDraftContent:e}):""}),UR=({imageSrc:e,height:t,width:n,isDisplayedAsNotCropped:o,caption:s,content:l,title:c,...p})=>{const m=em({rawDraftContent:l.content}).replace(/<[^>]*>/g,"").trim();let h=s.content,A=l;!m.length&&l.pageEndpoint&&(h="",A={...l,pageEndpoint:l.pageEndpoint,content:{entityMap:{},blocks:[{depth:0,data:{},inlineStyleRanges:[],text:s.content,type:"unstyled",key:"d1usd",entityRanges:[]}]}});let w="640x408",_=["1444x920","722x460","640x408","320x204"];return o?n<t?(w="310x0",_=["239x0","216x0","119x0","460x0","310x0"]):(w="310x0",_=["816x0","753x0","688x0","408x0","310x0"]):n<t&&(w="310x484",_=["239x522","216x472","119x261","310x678"]),a.jsxs(ye,{...p,children:[c&&a.jsx(Wr,{as:"h2",fontFamily:"source-serif-pro",weight:"semi-bold",size:"s",mb:"s",mx:{xs:"m",md:"0"},children:c}),a.jsx(Ap,{src:e,defaultFormat:w,formats:_,radius:{xs:"0",md:"xxs"},alt:c||s.content,mb:"s",isPortrait:o&&t>n,mx:o&&t>n?"auto":void 0}),a.jsxs(Me,{as:"figcaption",size:"xs",color:"grey-400",mx:{xs:"m",md:"0"},children:[h,s.credits&&a.jsxs(Me,{as:"span",color:"grey-300",size:"xs",className:"text-italic",children:[h&&a.jsx(a.Fragment,{children:" - "}),s.credits]}),s.source&&a.jsxs(Me,{as:"span",color:"grey-300",size:"xs",className:"text-italic",children:[(h||s.credits)&&a.jsx(a.Fragment,{children:" / "}),s.source]})]}),A&&a.jsx(tm,{...A,disableLettering:!0,mt:"s",mx:{xs:"m",md:"0"}})]})},$W=({title:e,sponsor:t,item:n,...o})=>n?a.jsxs(ye,{...o,px:{xs:"m",md:"0"},children:[a.jsx(zc,{mb:"l",label:e}),a.jsx(Me,{size:"xs",px:"xxs",highlighted:!0,children:t}),a.jsx(a6,{cardTitleProps:{size:"xxs-2"},mt:"s",mb:"xl",...n})]}):null,zR=({title:e,content:t,pageEndpoint:n,imgEndpoint:o})=>a.jsxs(a.Fragment,{children:[a.jsx(Wr,{fontFamily:"source-serif-pro",size:"xl",textTransform:"uppercase",children:e}),a.jsx(wn,{mb:"m",mt:"s",thickness:"thick"}),a.jsx("section",{className:"c-content",children:Kd({rawDraftContent:t,pageEndpoint:n,imgEndpoint:o,withCmp:!1})})]}),qR=({cardHeaderProps:e,heading:t,subtitle:n,seeReplaysLink:o,mediaSrc:s,...l})=>s?a.jsxs(ye,{...l,as:"section",color:"white",children:[a.jsx(Me,{size:"xs",mx:{xs:"m",md:"0"},mb:"xs",children:"TNT - Canal 32 (Île-de-France) • BBox (300) • Orange (349) • Freebox (910) • SFR (461)"}),a.jsx(kd,{type:fu.video,src:s,videoIs16by9:!0,mb:"m"}),a.jsx(Bd,{...e,headline:{...e.headline,color:"white"},rightSubheader:e.rightSubheader?{...e.rightSubheader,color:"white"}:void 0,mx:{xs:"m",md:"0"},mb:"xs"}),a.jsx(Wr,{...t,fontFamily:"source-serif-pro",size:{xs:"s",md:"xxl"},mx:{xs:"m",md:"0"},mb:{xs:"xs",md:"0"},children:t.children}),a.jsx(Me,{...n,fontFamily:"source-serif-pro",size:{xs:"m",md:"xxl"},mx:{xs:"m",md:"0"},children:n.children}),o&&a.jsx(he,{justifyContent:{xs:"center",md:"start"},mx:{xs:"m",md:"0"},mt:"xl",children:a.jsx(Yt,{buttonColor:"primary",...o,children:"Voir tous les replays de l’émission"})})]}):null,VR=({cardHeaderProps:e,heading:t,signatureProps:n,subtitle:o,mediaSrc:s,relatedTags:l,enclosedText:c})=>s?a.jsxs(a.Fragment,{children:[a.jsx(kd,{type:fu.video,src:s,videoIs16by9:!0,mb:"m"}),a.jsx(Bd,{...e,headline:{...e.headline,color:"white"},rightSubheader:e.rightSubheader?{...e.rightSubheader,color:"white"}:void 0,mx:{xs:"m",md:"0"},mb:"xs"}),a.jsx(Wr,{...t,fontFamily:"source-serif-pro",size:{xs:"s",md:"l"},mx:{xs:"m",md:"0"},mb:{xs:"xs",md:"m"},children:t.children}),a.jsx(Dg,{...n,mx:{xs:"m",md:"0"},mb:"xs"}),a.jsx(Me,{as:"div",fontFamily:"source-serif-pro",size:{xs:"m",md:"xl"},mx:{xs:"m",md:"0"},className:"c-content",children:Kd({rawDraftContent:o})}),c&&a.jsx(ye,{bg:"blue-grey",px:"m",py:"l",mt:"l",className:"c-enclose c-enclose--theme-blue-grey",children:Kd({rawDraftContent:c})}),l&&a.jsx(o6,{...l,tags:l.tags.map(p=>({...p,variant:"quaternary"})),buttonsColor:"blue-dark",mt:"l",ml:{xs:"m",md:"0"}})]}):null,GR=({years:e,selectedYear:t,pageEndpoint:n,...o})=>a.jsx(ye,{...o,children:e.map(s=>{const l=s===t;return a.jsx(uc,{variant:l?"tertiary":"primary",color:l?"white":"ultramarine",href:new URL(`/archives/${s}`,n).href,mr:"l",mb:"m",children:s},s)})}),KR=({layout:e,title:t,editions:n,selectorsLabel:o,editionSelector:s,monthSelector:l,variant:c="archivesByYear",enabled:p=!0})=>p?a.jsxs(a.Fragment,{children:[a.jsx(wn,{my:{xs:"xl",md:"xxl-2"},color:"ultramarine"}),a.jsx(Wr,{size:"xs",mb:"xxl",children:t}),a.jsxs(he,{alignItems:{xs:"start",md:"center"},gap:{xs:"xs",md:"l"},direction:{xs:"column",md:"row"},children:[a.jsx(Me,{size:"s",weight:"bold",...o}),a.jsx(Uc,{...s,id:"archivePdfListEditionSelector",containerProps:{style:{width:e===ve.MOBILE?"100%":"163px"}},py:"m",px:"s"}),c==="archivesByYear"&&l&&a.jsx(Uc,{...l,id:"archivePdfListMonthSelector",containerProps:{style:{width:e===ve.MOBILE?"100%":"193px"}},py:"m",px:"s"})]}),n&&n.length>0&&a.jsxs(he,{direction:"column",gap:"l",mt:"l",children:[n.slice(0,20).map(m=>a.jsxs(he,{alignItems:"baseline",children:[a.jsx(or,{name:"diode",color:"ultramarine",size:11,mr:"xxs"}),a.jsx(Yt,{color:"ultramarine",href:m.href,children:m.name})]},m.name)),n.length>20&&a.jsx("span",{children:"Vous ne trouvez pas le journal numérique recherché ? Sélectionnez une édition et un mois pour une recherche plus précise."})]})]}):null,WR=({months:e,...t})=>e.length>0?a.jsx(ye,{...t,children:e.map((n,o)=>a.jsx(xl,{...n,items:n.items.map(s=>({...s,color:"ultramarine"})),columnsNumber:{xs:1,md:3},mb:o<e.length-1?{xs:"xl",md:"xxl"}:void 0,heading:{as:"h3",...n.heading}},n.items[0].name))}):null,W5=({mediaProps:e,photoSwipeGalleryProps:t,...n})=>{const o=e?.type===fu.video?{...e,src:PD(e.src)}:e;return o&&a.jsx(kd,{...o,...n})||t&&a.jsx(PP,{...t,...n})||null},QR=({articleHeaderProps:e,signatureProps:t,contentCoverProps:n,...o})=>a.jsxs(he,{...o,direction:"column",justifyContent:"center",children:[a.jsx(P_,{...e,mx:"m",mb:"xs"}),a.jsx(W5,{...n,mb:"xs"}),a.jsx(Dg,{...t,mx:"m",mb:"xs"}),!e.isCenteredLayout&&a.jsx(Me,{fontFamily:"source-serif-pro",size:"xl",mx:"m",children:e.lead})]}),YR=e=>{const{variablesForQuery:t,...n}=e;return a.jsx(zu,{...n,headingProps:{...n.headingProps,as:"h2"},mb:"xxl"})},ZR=({articles:e,layout:t,withDivider:n,...o})=>e.length>=1?a.jsxs(he,{direction:"column",...o,children:[t===ve.MOBILE&&n&&a.jsx(wn,{color:"ultramarine",mb:"l"}),a.jsx(Me,{size:"l",weight:"bold",mb:"xs",children:"À lire aussi"}),a.jsx(he,{direction:{md:"row",xs:"column"},gap:{md:"m",xs:"s"},children:e.slice(0,2).map(s=>a.jsx(_a,{basis:50,children:a.jsx(bh,{...s,cardTitleProps:{size:"xxs-2"}})},s.title))})]}):null,Q5=({carousels:e,layout:t})=>a.jsx(a.Fragment,{children:e.map((n,o)=>a.jsx(ye,{as:"section",mb:o!==e.length-1?"xxl":"0",children:a.jsx(zu,{...n,layout:t,headingProps:{...n.headingProps,as:"h2"}})},n.label))}),$R=({items:e=[]})=>e?.length?a.jsx("div",{children:e?.map((t,n)=>a.jsx(xl,{...t},`bulleted-list-${n}`))}):null,Ph=e=>e&&(e.rightSubheader&&new Date(e.rightSubheader?.text).getTime()?{...e,rightSubheader:{...e.rightSubheader,text:l6(e.rightSubheader.text)}}:{...e}),jl=({articles:e,layout:t,columnsNumber:n=2,hideFirstDivider:o=!1,dividerProps:s,seeMoreButton:l,seeMoreLink:c,tagTotalArticles:p,currentPagePath:m,currentPage:h="1",articlesLimit:A,hasCardLarge:w=!1,hasMarginOnCard:_=!0,heading:D,isLoading:S=!1,skeletonCount:T=8,desktopArticlesListClassName:C,...I})=>{if(e.length===0)return null;const L=W=>a.jsx(bh,{...W,cardTitleProps:{as:"h2",...W.cardTitleProps},cardHeaderProps:Ph(W.cardHeaderProps),mx:_?"m":void 0}),P=S?Array.from({length:T},(W,Z)=>Z):[];let q=null;t===ve.DESKTOP?q=a.jsxs(Oi,{colsNumber:n,gap:"xl",className:C,children:[e.slice(0,A).map((W,Z)=>{const{layout:ie,...ee}=W;return a.jsx(H1,{...ee,className:`card-item-${Z+1}`,cardTitleProps:{as:"h2",...W.cardTitleProps},cardHeaderProps:Ph(W.cardHeaderProps)},`${W.link}-${Z}`)}),P.map(W=>a.jsx(z_,{variant:"medium"},`skeleton-${W}`))]}):q=a.jsxs(a.Fragment,{children:[e.slice(0,A).map((W,Z)=>a.jsx(ye,{className:`card-item-${Z+1}`,children:w?a.jsxs(a.Fragment,{children:[Z===0&&a.jsx(Sg,{...W,layout:t}),Z>0&&a.jsxs(a.Fragment,{children:[a.jsx(wn,{color:"grey-200",my:"s",...s}),L({...W,layout:t})]})]}):a.jsxs(a.Fragment,{children:[a.jsx(wn,{color:"grey-200",my:"s",...s,className:ko({"u-hidden":Z===0&&o},s?.className)}),L({...W,layout:t})]})},`${W.link}-${Z}`)),P.map(W=>a.jsxs(ye,{children:[a.jsx(wn,{color:"grey-200",my:"s",...s}),a.jsx(z_,{variant:"extra-small",mx:_?"m":void 0})]},`skeleton-${W}`))]});const H=a.jsxs(a.Fragment,{children:[D&&a.jsx(Wr,{size:"m",mb:"xl",mx:{xs:"m",md:"0"},...D}),q,(c||l)&&a.jsxs(he,{justifyContent:"center",mt:"l",children:[l&&a.jsx(bn,{...l}),c&&a.jsx(Yt,{buttonColor:"primary",variant:"outlined",...c}),p&&m&&a.jsx("noscript",{children:a.jsx(r9,{totalArticles:p,currentPage:h,pagePath:m,archivesUrl:"https://www.20minutes.fr/archives"})})]})]});return Object.keys(I).length===0?H:a.jsx(ye,{...I,children:H})},JR=({addresses:e,layout:t,...n})=>{const o=t===ve.DESKTOP?"row":"column",s=t===ve.DESKTOP?"end":"start";return a.jsx(ye,{...n,children:e.map((l,c)=>{const p=e.length>c+1?{mb:"m"}:{};return be.createElement(he,{justifyContent:"between",alignContent:"end",p:{xs:"m",md:"s"},bg:"grey-100",direction:o,...p,pr:{md:"xxl"},pl:{md:"m"},key:l.name},a.jsxs(_a,{mb:{xs:"s",md:"0"},children:[a.jsx(Wr,{as:"h4",size:"xxs-3",children:l.name}),l.streets.map(m=>a.jsx("p",{children:m},m))]}),a.jsxs(_a,{align:s,children:[l.phoneNumber&&a.jsxs(a.Fragment,{children:[a.jsxs(Me,{weight:"bold",as:"span",children:["Tél. :"," "]}),a.jsx(Me,{as:"span",color:"ultramarine",children:l.phoneNumber})]}),l.mail&&a.jsx(Me,{color:"ultramarine",children:l.mail})]}))})})},XR=({name:e,streets:t,phoneNumber:n,...o})=>a.jsxs(ye,{...o,children:[a.jsx(Wr,{as:"h2",size:"m",mb:"s",children:"Nos coordonnées"}),a.jsx(Wr,{as:"h3",size:"xxs-3",children:e}),t.map(s=>a.jsx("p",{children:s},`streets-line-${s}`)),a.jsx("span",{children:"Téléphone : "}),a.jsx(Me,{as:"span",color:"ultramarine",children:n})]}),eO=e=>a.jsxs("form",{...e,id:"contact-form",method:"POST",noValidate:!0,children:[a.jsx(Wr,{as:"h2",size:"m",mb:"xxs",children:"Contactez-nous"}),a.jsx(Me,{size:"m",mb:"m",children:"Une question, une remarque, un sujet d'article à proposer, joignez nos services."}),a.jsx(Uc,{id:"service",name:"service",label:"Service",placeholder:"Choisissez votre service",hint:"Sélectionnez le service approprié pour diriger votre demande vers la bonne équipe",error:"Veuillez sélectionner un service",containerProps:{mb:"m"},form:"contact-form",options:[{value:"redaction",title:"La rédaction"},{value:"service-technique",title:"Le service technique"},{value:"service-commercial",title:"Le service commercial"},{value:"suppression-anonymisation",title:"Demande de suppression et d'anonymisation"},{value:"moderation-commentaires",title:"Modération des commentaires"},{value:"jeux",title:"Jeux"},{value:"newsletter",title:"Newsletter"},{value:"accessibility",title:"Accessibilité"},{value:"20minutes-tv",title:"20 Minutes TV"},{value:"service-abonnement",title:"Le service abonnement"}],"aria-controls":"subservice tech-object games-object subscription-object common-object source",required:!0,"aria-required":!0}),a.jsx(Uc,{id:"subservice",name:"subservice",label:"Sous-service",placeholder:"Choisissez votre sous-service",hint:"Précisez le sous-service spécifique pour une meilleure orientation de votre demande",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"redaction-chef",title:"Rédaction en chef"},{value:"service-actu",title:"Service Actu"},{value:"service-sport",title:"Service Sport"},{value:"service-culture",title:"Service Culture/Entertainment"},{value:"service-videos",title:"Service Vidéos"},{value:"service-moderation",title:"Service Modération et Contribution"},{value:"service-fact",title:"Service Fact checking"},{value:"service-magazine",title:"Service Magazine"},{value:"bureau-bordeaux",title:"Bureau Bordeaux"},{value:"bureau-lille",title:"Bureau Lille"},{value:"bureau-lyon",title:"Bureau Lyon"},{value:"bureau-marseille",title:"Bureau Marseille"},{value:"bureau-montpellier",title:"Bureau Montpellier"},{value:"bureau-nantes",title:"Bureau Nantes"},{value:"bureau-nice",title:"Bureau Nice"},{value:"bureau-paris",title:"Bureau Paris"},{value:"bureau-rennes",title:"Bureau Rennes"},{value:"bureau-strasbourg",title:"Bureau Strasbourg"},{value:"bureau-toulouse",title:"Bureau Toulouse"}],required:!0,"aria-required":!0}),a.jsx(Uc,{id:"source",name:"source",label:"Source d'accès",placeholder:"Choisissez votre source d'accès",hint:"Indiquez la plateforme ou l'appareil depuis lequel vous rencontrez un problème",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"site-mobile",title:"Site depuis mobile"},{value:"site-desktop",title:"Site depuis ordinateur"},{value:"app-mobile",title:"Application sur téléphone"},{value:"app-tablet",title:"Application sur tablette"},{value:"tous",title:"Tous"}],required:!0,"aria-required":!0}),a.jsx(Uc,{id:"common-object",name:"common-object",label:"Objet",placeholder:"Objet de votre message",hint:"Sélectionnez la catégorie qui correspond le mieux à votre demande",containerProps:{mb:"m"},form:"contact-form",options:[{value:"sujet-article",title:"Un sujet d’article"},{value:"orthographe",title:"Une faute d’orthographe"},{value:"remarque",title:"Une remarque/une question"},{value:"temoignage",title:"Je suis témoin d’un événement"},{value:"autre",title:"Autre"}],required:!0,"aria-required":!0}),a.jsx(Uc,{id:"tech-object",name:"tech-object",label:"Objet",placeholder:"Objet de votre message technique",hint:"Sélectionnez le type de problème technique que vous rencontrez",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"probleme-ordinateur",title:"Un problème sur le site depuis votre ordinateur"},{value:"probleme-mobile",title:"Un problème sur le site mobile depuis votre téléphone"},{value:"probleme-app",title:"Un problème sur l’application 20 Minutes"},{value:"autre",title:"Autre"}],required:!0,"aria-required":!0}),a.jsx(Uc,{id:"games-object",name:"games-object",label:"Objet",placeholder:"Objet de votre message",hint:"Décrivez le problème que vous rencontrez avec nos jeux",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"probleme-affichage",title:"Problème d'affichage"},{value:"element-cache-jeu",title:"Un élément cache le jeu"},{value:"jeu-bloque",title:"Jeu bloqué"},{value:"message-erreur",title:"Message d'erreur"},{value:"autre",title:"Autre"}],required:!0,"aria-required":!0}),a.jsx(Uc,{id:"subscription-object",name:"subscription-object",label:"Objet",placeholder:"Objet de votre message",hint:"Sélectionnez la catégorie qui correspond le mieux à votre demande",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"question",title:"Une question à propos de votre abonnement mensuel"},{value:"reclamation",title:"Une réclamation au service abonnement"},{value:"autre",title:"Autre"}],required:!0,"aria-required":!0}),a.jsx($y,{id:"email",name:"email",label:"E-mail",type:"email",placeholder:"Entrez votre e-mail...",hint:"Votre adresse e-mail sera utilisée pour vous répondre. Format attendu : exemple@domaine.com",error:"Veuillez entrer une adresse e-mail valide",containerProps:{mb:"m"},autoComplete:"email",required:!0,"aria-required":!0}),a.jsx(jB,{id:"message",name:"message",label:"Message",rows:10,cols:50,maxLength:5e3,placeholder:"Votre message...",hint:"Décrivez votre demande en détail. Maximum 5000 caractères",error:"Veuillez décrire votre demande.",containerProps:{mb:"m"},required:!0,"aria-required":!0}),a.jsx("div",{id:"li-antibot"}),a.jsx(bn,{color:"primary",type:"submit",mx:"auto",my:"m",children:"Envoyer"}),a.jsx(Me,{size:"xs",mb:"m",children:"Vos données personnelles font l’objet d’un traitement informatique par la société 20 Minutes, sur le fondement de notre intérêt légitime et sont utilisées pour répondre à vos demandes d’informations. Elles seront conservées pendant 3 ans à compter de la collecte des données sauf dispositions légales particulières. Vous disposez d’un droit d’accès, de rectification, d’opposition, de limitation et de portabilité, en vous adressant directement à dpo@20minutes.fr ou par courrier à :"}),a.jsx(Me,{size:"xs",mb:"m",children:"Délégué à la Protection des Données Personnelles 20 Minutes Bâtiment B, 159, rue Anatole France, CS 50216, 92309 Levallois-Perret Cedex."}),a.jsxs(Me,{size:"xs",mb:"m",children:["Vous avez également le droit d’introduire une réclamation auprès de la CNIL."," ",a.jsx(Yt,{href:"https://www.20minutes.fr/politique-protection-donnees-personnelles",children:"En savoir plus."})]})]}),JW=({layout:e,newsletterProps:t,liveInProgressProps:n,lastArticlesProps:o})=>{const s=[{name:"latest-articles",title:"Derniers articles",tabColor:"red",content:e===ve.DESKTOP?a.jsxs(he,{gap:"xl",mt:"l",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx("div",{id:"latest-articles-container",children:a.jsx(w3,{...o})})}),a.jsxs("aside",{className:"o-lt-show__aside",children:[t&&a.jsx(Ng,{...t}),a.jsx("div",{style:{height:"163rem"},children:a.jsx("div",{className:"o-lt-show__stickywrap",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"})})}),a.jsx("div",{className:"o-lt-show__stickywrap",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_btf",variant:"PAVE"})})]})]}):a.jsx("div",{id:"latest-articles-container",children:a.jsx(w3,{...o})})},...n.cardOverviewProps.length>0?[{name:"direct",title:"Lives en cours",tabColor:"red",content:e===ve.DESKTOP?a.jsxs(he,{gap:"xl",mt:"l",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(O2,{...n})}),a.jsx("aside",{className:"o-lt-show__aside",children:t&&a.jsx(Ng,{...t})})]}):a.jsx(O2,{...n})}]:[]];return a.jsx(Mf,{tabItemActive:s[0].name,tabItems:s,tabProps:{mx:{xs:"m",md:"0"}},mb:"l"})},kp=({header:{subtitle:e,...t},sectionId:n,liveIndicator:o,children:s,...l})=>{const c=e&&typeof e!="string"?Kd({rawDraftContent:e}):e;return a.jsxs(ye,{...l,id:n,className:ko(l.className,{"u-anchor-link":!!n}),children:[o&&a.jsx(B5,{...o,variant:"elections",mx:{xs:"m",md:"0"},mb:"xs"}),t?.heading?.children&&a.jsx(iP,{...t,subtitle:c,mb:{xs:"m",sm:"xl"}}),s]})},tO=({halfDonutProps:e,...t})=>!e.results.length&&t?.header?.heading?.children===""?null:a.jsx(kp,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:e.results.length>0&&a.jsx(JB,{...e,mx:{xs:"m",md:"0"}})}),rO=({mapConstituenciesProps:e,...t})=>e.electionName===""&&e.electionYear===""&&e.resultsPerDistrict.length===0||Object.keys(e.mapDistrictsData||{}).length===0?null:a.jsx(kp,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:a.jsx(dP,{...e,mx:{xs:"m",md:"0"}})}),nO=({mapDepartmentsProps:e,...t})=>e.electionName===""&&e.electionYear===""&&e.resultsPerDepartment.length===0?null:a.jsx(kp,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:a.jsx(cP,{...e,mx:{xs:"m",md:"0"}})}),aO=({mapEuropeProps:e,...t})=>e.electionName===""&&e.electionYear===""&&e.resultsPerCountry.length===0||Object.keys(e.mapEuCountriesData||{}).length===0||Object.keys(e.mapNonEuCountriesData||{}).length===0?null:a.jsx(kp,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:a.jsx(fP,{...e,mx:{xs:"m",md:"0"}})}),iO=({mapTownsByDepartmentsProps:e,...t})=>{const{electionName:n,electionYear:o,...s}=e;if(e.electionName===""&&e.electionYear===""&&e.resultsPerTown.length===0)return null;const l=(e?.resultsPerTown?.length??0)===0;return a.jsx(kp,{...t,className:ko({"u-placeholder-map-towns-empty":l,"u-placeholder-map-towns":!l},t?.className),header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:a.jsx(yP,{...s,mx:{xs:"m",md:"0"}})})},nm=({items:e,layout:t,visibleItems:n=10,hasRanking:o,seeMoreResults:s,seeAllResults:l,...c})=>{if(!e.length&&c?.header?.heading?.children==="")return null;const p=o?"xl":{xs:"m",sm:"l"},m=e.some(h=>h.hasAvatar&&!h.result&&!h.votes)?"Voir tous les candidats":"Voir tous les résultats";return a.jsxs(kp,{...c,header:{...c.header,heading:{...c.header.heading,as:"h2"}},children:[e.slice(0,n).map((h,A)=>a.jsx(i9,{...h,ranking:o?A+1:void 0,mb:p,layout:t},h.label)),e.length>n&&e.slice(n).map((h,A)=>a.jsx(i9,{...h,ranking:o?n+A+1:void 0,mb:p,layout:t,className:"c-elections-result--toggleable js-toggle-target","aria-hidden":!0},h.label)),s&&!l&&e.length>n&&a.jsx(bn,{...s,color:"primary",variant:"outlined",className:"js-toggle-button",m:"auto",mt:"xxl",children:m}),l&&!s&&a.jsx(he,{mt:"l",mx:"m",justifyContent:"center",className:"c-bulleted-list__link",children:a.jsx(Yt,{...l,buttonColor:"primary",variant:"outlined"})})]})},oO=({multipleResults:e})=>e.length?a.jsx(a.Fragment,{children:e.map((t,n)=>a.jsx(nm,{...t,mb:"xxl"},n))}):null,sO=({electionsName:e,regions:t,departments:n,cities:o,previousElections:s,seeAllResults:l,...c})=>a.jsxs(ye,{...c,children:[a.jsx(xl,{heading:{children:`Résultats des élections ${e} par région`,textAlign:{xs:"left",md:"center"},as:"h3"},columnsNumber:{xs:2,md:3},items:t,visibleItems:6,mb:{xs:"xl",md:"xxl"}}),a.jsx(xl,{heading:{children:`Résultats des élections ${e} par département`,textAlign:{xs:"left",md:"center"},as:"h3"},columnsNumber:{xs:2,md:3},items:n,visibleItems:6,mb:{xs:"xl",md:"xxl"}}),a.jsx(xl,{heading:{children:`Résultats des élections ${e} par ville`,textAlign:{xs:"left",md:"center"},as:"h3"},columnsNumber:{xs:2,md:3},items:o,visibleItems:6,maxItems:99,mb:{xs:"xl",md:"xxl"}}),a.jsx(xl,{heading:{children:"Résultats des autres élections",textAlign:{xs:"left",md:"center"},as:"h3"},columnsNumber:{xs:2,md:3},items:s,visibleItems:6}),l&&a.jsx(he,{justifyContent:"center",mt:{xs:"xxl",md:"xxl-2"},children:a.jsx(Yt,{buttonColor:"primary",variant:"outlined",...l,children:"Voir l'ensemble des résultats"})})]}),uO=({faqs:e,...t})=>a.jsx(kp,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:e&&e.faqData.length>0&&a.jsx(I5,{...e})}),XW=({games:e,isConnected:t=!1,layout:n,...o})=>{const s=m=>a.jsxs(he,{...o,color:"white",bg:"ultramarine",alignItems:{xs:t?void 0:"center",md:e.length>0&&t?"start":"center"},justifyContent:"between",direction:{xs:t?"column":"row",md:e.length>0&&t?"column":"row"},gap:{xs:t?"xxs-2":void 0,md:e.length>0?"l":void 0},px:"l",py:{xs:t&&e.length<=0?"xxs":"s",md:"xl"},className:"c-favorite-games-block",children:[a.jsx(Wr,{textAlign:{xs:"center"},as:"h2",size:{xs:t&&e.length<=0?"xxs":"m",md:"m"},children:"Mes jeux favoris"}),m]}),l=()=>n===ve.DESKTOP?a.jsx(K_,{bg:"ultramarine",color:"white",visibleItems:5,heading:{as:"h2",size:{xs:"xxs",md:"m"},children:"Mes jeux favoris"},childrenItems:e.map(m=>a.jsx(l2,{link:m.url,title:m.name,cardImageProps:{cover:m.coverUrl,isFavorite:!0},cardHeaderProps:{headline:{text:m.category,color:"white"}},cardTitleProps:{weight:"semi-bold",size:"s"},layout:n},m.url)),visibleGridProps:{colsNumber:5,gapY:"xl",gapX:"xxl-2",alignItems:"start"},expandableGridProps:{colsNumber:5,gapY:"xl",gapX:"xxl-2",alignItems:"start","aria-hidden":e.length>5}}):s(a.jsx(zu,{mt:"l",layout:n,articles:e.map(m=>({layout:n,link:m.url,title:m.name,cardImageProps:{cover:m.coverUrl,isFavorite:!0},cardTitleProps:{weight:"semi-bold",size:"xs"},cardHeaderProps:{headline:{text:m.category,color:"white"}}}))})),c=s(a.jsx(bn,{color:"primary",variant:"outlined",children:n===ve.DESKTOP?"Connectez-vous pour sauvegarder vos jeux préférés !":"Connexion"})),p=e.length<=0?s(a.jsx(he,{alignItems:"center",children:a.jsxs(Wr,{size:{xs:"xxs-4",md:"xxs-3"},children:["Retrouvez rapidement vos jeux préférés ici, en les sauvegardant grâce à l’icône"," ",a.jsx(If,{iconProps:{name:"star-outlined"},variant:"secondary",color:"grey-500",isClickable:!1,iconSize:"small"})]})})):l();return t?p:c},Y5=({gamesAccordion:e,...t})=>t.layout===ve.DESKTOP?a.jsx(Al,{...t,...e&&{rightAsideElement:a.jsx(k5,{colsNumber:1,...e})}}):a.jsxs(a.Fragment,{children:[a.jsx(Al,{mb:"l",...t}),e&&a.jsx(k5,{colsNumber:1,mb:"l",...e})]}),Z5=({subtitle:e,games:t,layout:n,useTypeAsHeader:o,allowFavorite:s=!1,...l})=>a.jsxs(ye,{...l,children:[a.jsx(Wr,{id:Pd(t[0].category),as:"h2",size:{xs:"xxs",md:"m"},mb:{xs:"xxs-2",md:"s"},children:t[0].category}),a.jsx(Me,{mb:"l",children:e}),a.jsx(Oi,{colsNumber:{xs:2,md:3},gapY:{xs:"m",md:"xl"},gapX:{xs:"xxl",md:"xxl-2"},alignItems:"start",children:t.map(c=>a.jsx(l2,{link:c.url,title:c.name,cardImageProps:{cover:c.coverUrl,dataId:c.id,...s&&{isFavorite:!1}},cardHeaderProps:{headline:{text:o?c.type:c.category}},cardTitleProps:{weight:"semi-bold",size:{xs:"xs",md:"s"}},summaryProps:{children:c.description},layout:n},c.url))})]}),$5=({games:e,layout:t,bannerLink:n,isGameAppPage:o=!1,enableAds:s=!0,...l})=>{if(e.length===0)return null;const c=p=>e.filter(m=>m.category===p);return a.jsxs(a.Fragment,{children:[n&&a.jsx(Yt,{href:n,children:a.jsx(Ap,{mb:{xs:"l",md:"xxl"},radius:"0",src:`https://static.20mn.fr/services/games/2024/${t===ve.DESKTOP?"quiz":"quiz-mobile"}.png`})}),a.jsxs(ye,{...l,children:[a.jsx(Z5,{games:c("Jeux de lettres"),useTypeAsHeader:!1,subtitle:"Un nouveau défi gratuit vous attend chaque jour sur votre jeu favori !",layout:t,allowFavorite:!o,mx:o?"m":{xs:"m",md:"0"},mt:{xs:"xxl",md:"xxl-2"}}),t===ve.MOBILE&&s&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"}),a.jsx(Z5,{games:c("Jeux de chiffres"),useTypeAsHeader:!1,subtitle:"Chaque jour, de nouvelles grilles et de nouveaux défis addictifs !",layout:t,allowFavorite:!o,mx:o?"m":{xs:"m",md:"0"},mt:{xs:"xxl",md:"xxl-2"}}),t===ve.MOBILE&&s&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE",mb:"xxl"}),a.jsx(Z5,{games:c("Jeux inclassables"),useTypeAsHeader:!0,subtitle:"Un nouveau défi gratuit vous attend chaque jour sur votre jeu favori !",layout:t,allowFavorite:!o,mx:o?"m":{xs:"m",md:"0"},mt:{xs:"xxl",md:"xxl-2"}})]})]})},Wd=({headingProps:e,articles:t,layout:n,variant:o="light",tags:s,sponsor:l,rubric:c,seeMoreLink:p,...m})=>{if(t.length===0)return null;const h=a.jsx(A3,{headingProps:e,layout:n,tags:s,sponsor:l,mb:{xs:"xxl",md:"m"}}),A=t?.slice(0,4).map(_=>({..._,cardTitleProps:{..._.cardTitleProps,as:"h3",maxRows:4,size:"xxs"},cardHeaderProps:{..._.cardHeaderProps,headline:{text:_.cardHeaderProps?.headline.text??"",..._.cardHeaderProps?.headline,color:o==="dark"?_.cardHeaderProps?.headline?.color||"white":_.cardHeaderProps?.headline?.color||"grey-400"},..._.cardHeaderProps?.rightSubheader&&{rightSubheader:{..._.cardHeaderProps?.rightSubheader,text:_.cardHeaderProps?.rightSubheader?.text??"",color:o==="dark"?"white":"grey-400"}}},socialBarProps:_.socialBarProps&&{..._.socialBarProps,countColor:o==="dark"?"white":"black",blockVariant:o},..._.cardImageProps&&{cardImageProps:{..._.cardImageProps,sizes:"(min-width: 1820px) 264px, (min-width: 1440px) calc(5vw + 174px), (min-width: 1100px) 232px, calc(23.21vw - 19px)"}}})),w=a.jsx(he,{justifyContent:"center",mt:"xxl",children:a.jsx(Yt,{buttonColor:o==="dark"?"translucent":"primary",variant:o==="dark"?void 0:"outlined",...p,children:"Voir plus d'articles"})});return o==="dark"?a.jsx(ye,{...m,as:"section",color:"white",bg:"grey-900",children:a.jsxs(ye,{className:"o-page-wrap",py:"xxl",children:[h,A.length>0&&a.jsxs(a.Fragment,{children:[a.jsx(jl,{columnsNumber:{md:3,lg:4},layout:n,articles:A,dividerProps:{color:"grey-500"},hideFirstDivider:n===ve.MOBILE}),w]})]})}):a.jsxs(ye,{...m,as:"section",children:[a.jsx(Hc,{bg:c,mb:"xl"}),h,A.length>0&&a.jsxs(a.Fragment,{children:[a.jsx(jl,{desktopArticlesListClassName:"grid--in-row",columnsNumber:{md:3,lg:4},layout:n,articles:A,hideFirstDivider:n===ve.MOBILE}),w]})]})},q2=({headingProps:e,layout:t,articles:n,fitContainer:o,dividerProps:s,isScrollable:l,seeMoreLink:c,tags:p,variant:m,hasBackgroundImage:h=!1,...A})=>{if(n.length===0)return null;const w=a.jsx(A3,{headingProps:e,layout:t,tags:p,mb:{xs:"xxl",md:"xl"}}),_=(m==="dark"?n.map(S=>({...S,cardHeaderProps:{...S.cardHeaderProps,headline:{text:S.cardHeaderProps?.headline.text??"",...S.cardHeaderProps?.headline,color:m==="dark"?"white":S.cardHeaderProps?.headline?.color||"grey-400"},rightSubheader:{...S.cardHeaderProps?.rightSubheader,text:S.cardHeaderProps?.rightSubheader?.text??"",color:m==="dark"?"white":"grey-400"}}})):n).slice(0,4),D=a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:{xs:"0",lg:"xl"},className:"o-lt-show",children:[a.jsx("div",{className:ko({"o-lt-show__main o-lt-show__main--medium-size":t===ve.DESKTOP}),children:a.jsx(Sg,{..._[0],layout:t})}),a.jsxs("aside",{className:ko({"o-lt-show__aside o-lt-show__aside--auto":t===ve.DESKTOP}),children:[a.jsx(jl,{columnsNumber:4,layout:ve.MOBILE,articles:_.slice(1),dividerProps:{color:m==="dark"?"grey-500":"grey-200"},hideFirstDivider:t!==ve.MOBILE,hasMarginOnCard:t===ve.MOBILE}),c&&a.jsx(he,{justifyContent:"center",mt:"xxl",children:a.jsx(Yt,{buttonColor:m==="dark"?"translucent":"primary",variant:m==="dark"?void 0:"outlined",...c})})]})]});return m==="dark"?a.jsxs(ye,{...A,as:"section",color:"white",bg:h?"blue-dark":"grey-900",children:[h&&a.jsx(R5,{src:"https://static.20mn.fr/tv/backgrounds/videos-home.png",halfOpacity:!0,loading:"lazy"}),a.jsxs(ye,{className:"o-page-wrap",py:"xxl",children:[w,D]})]}):a.jsxs(ye,{...A,as:"section",children:[a.jsx(Hc,{mb:"xl",...s}),w,D]})},lO=(e,t)=>e.map(n=>(n.articles.forEach((o,s)=>{(s!==0||t===ve.MOBILE)&&(o.cardImageProps=void 0)}),n)),cO=({title:e,items:t,layout:n,tabItemActive:o,...s})=>{if(t.length<=0)return null;const l=lO(t,n);if(n===ve.DESKTOP)return a.jsx(u6,{...s,title:e,items:l,layout:n});const c=()=>l.map(m=>({name:m.title.label,title:m.title.label,content:a.jsx(jl,{articles:m.articles,layout:ve.MOBILE,hasMarginOnCard:!1,seeMoreLink:m.seeMoreLink})})),p=a.jsxs(a.Fragment,{children:[e&&a.jsxs(a.Fragment,{children:[a.jsx(Hc,{mb:"xl"}),a.jsx(Wr,{as:"h2",size:"s",mb:"xl",textAlign:"center",fontFamily:"obviously",px:"m",children:e})]}),a.jsx(Mf,{tabItemActive:o||(t.length>0?t[0].title.label:""),tabItems:c(),mx:"m"})]});return Object.keys(s).length===0?p:a.jsx(ye,{...s,children:p})},J5=({items:e,layout:t,label:n,seeMoreLink:o,carouselProps:s,...l})=>!e||e?.length===0?null:a.jsx(ye,{...l,as:"section",color:"white",bg:"entertainment",children:a.jsxs(ye,{className:"o-page-wrap",py:"xxl",children:[a.jsx(zu,{...s,label:n,headingProps:{as:"h2",size:"m",color:"white",fontFamily:"obviously",textAlign:{xs:"center",md:"left"},mb:"xl",...s?.headingProps},titleUnderlined:!1,layout:t,articles:e,sliderProps:{sliderVariant:"movies",buttonsColor:"white",ml:{xs:"m",md:"0"}}}),a.jsx(he,{justifyContent:"center",mt:"xl",children:a.jsx(Yt,{buttonColor:"translucent",...o})})]})}),dO=({articles:e,...t})=>e.length>0?a.jsx(Oi,{...t,colsNumber:2,gapY:"xl",gapX:"m",children:e.map((n,o)=>a.jsxs(he,{direction:"column",justifyContent:"between",children:[a.jsx(bh,{...n,cardHeaderProps:Ph(n.cardHeaderProps)}),o<e.length-2&&a.jsx(wn,{color:"grey-200",mt:"xs"})]},`${n.link}-${o}`))}):null,fO=({games:e,layout:t,seeMoreLink:n,...o})=>e.length===0?null:a.jsx(ye,{...o,as:"section",color:"white",bg:"ultramarine",children:a.jsxs(ye,{className:"o-page-wrap",py:"xxl",children:[a.jsx(zu,{label:"Sélection de jeux populaires",headingProps:{as:"h2",size:"m",color:"white",fontFamily:"obviously",textAlign:{xs:"center",md:"left"},mx:{xs:"m",md:"0"},mb:"xl"},titleUnderlined:!1,layout:t,articles:e,sliderProps:{sliderVariant:"games",buttonsColor:"white",ml:{xs:"m",md:"0"}}}),a.jsx(he,{justifyContent:"center",mt:"xl",children:a.jsxs(Yt,{buttonColor:"translucent",...n,children:["Voir les ",Object.values(p6).length," jeux"]})})]})}),pO=({articles:e,layout:t,...n})=>{if(e.length===0)return null;const o=l=>{const c={...l,cardTitleProps:{...l.cardTitleProps,as:"h3"},layout:t};return t===ve.DESKTOP?a.jsx(Sg,{...c}):a.jsx(u2,{...c})};let s=a.jsx(a.Fragment,{children:e.slice(0,10).map((l,c)=>a.jsxs(ye,{className:`card-item-${c+1}`,children:[c===0?o(l):a.jsx(bh,{...l,cardTitleProps:{...l.cardTitleProps,as:"h3"},mx:"m",mb:c===2?"s":void 0,mt:c===3?"s":void 0}),c<e.slice(0,10).length-1&&c!==2&&a.jsx(wn,{color:"grey-200",my:"s"})]},l.title))});return t===ve.DESKTOP&&(s=a.jsxs(a.Fragment,{children:[o(e[0]),a.jsx(Oi,{colsNumber:2,gap:"xl",mt:"xl",children:e.slice(1,6).map((l,c)=>{const{layout:p,...m}=l;return be.createElement(H1,{...m,key:l.title,cardTitleProps:{...l.cardTitleProps,as:"h3"},...l.cardImageProps&&{cardImageProps:{...l.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), (min-width: 660px) calc(50vw - 182px), 130px"}},className:`card-item-${c+1}`})})}),a.jsx(Oi,{colsNumber:3,gap:"xl",mt:"xl",children:e.slice(6,15).map(l=>{const{layout:c,...p}=l;return be.createElement(H1,{...p,...l.cardImageProps&&{cardImageProps:{...l.cardImageProps,sizes:"(min-width: 1660px) 245px, (min-width: 1440px) calc(12vw + 48px), (min-width: 1080px) 203px, (min-width: 780px) calc(29.64vw - 111px), (min-width: 660px) calc(33vw - 130px), 77px"}},key:l.title,cardTitleProps:{...l.cardTitleProps,as:"h3",maxRows:void 0,size:"xxs"}})})})]})),a.jsx(ye,{...n,children:s})},hO=({articles:e,selectProps:t,seeMoreLink:n,layout:o,...s})=>{const{variablesForQuery:l,...c}=s,p=a.jsxs(a.Fragment,{children:[a.jsx(c2,{as:"h2",size:{xs:"s",md:"m"},isCentered:o===ve.MOBILE,mb:{xs:"l",md:"0"},iconProps:{name:"rubric-news",size:40},children:"Actualité locale"}),a.jsx(Uc,{...t})]}),m=h=>a.jsx(H1,{...h,cardTitleProps:{as:"h3",size:"xxs",weight:"semi-bold",fontFamily:"source-serif-pro",maxRows:4,...h.cardTitleProps},socialBarProps:void 0},h.title);return a.jsxs(ye,{...c,children:[a.jsx(Hc,{mb:"l"}),o===ve.DESKTOP?a.jsx(he,{justifyContent:"between",mb:"xl",alignItems:"center",children:p}):a.jsx(ye,{mx:"m",mb:"l",children:p}),o===ve.DESKTOP?a.jsx(Oi,{colsNumber:4,gap:"xl",mx:o===ve.DESKTOP?"0":"m",children:e.map(h=>m(h))}):a.jsx(he,{direction:"column",mx:"m",children:e.map((h,A)=>a.jsxs(be.Fragment,{children:[m(h),A<e.length-1&&a.jsx(wn,{color:"grey-200",my:"s"})]},h.title))}),a.jsx(he,{justifyContent:"center",mt:"xxl",children:a.jsx(Yt,{buttonColor:"primary",variant:"outlined",...n,children:"Voir plus d'articles"})})]})},mO=({layout:e,tags:t,regions:n,articles:o,...s})=>o&&!o.length?null:a.jsxs(ye,{as:"section",...s,children:[a.jsx(Hc,{mb:"l"}),a.jsx(A3,{headingProps:{children:"Résultats municipales 2026",iconProps:{name:"rubric-news",size:40}},layout:e,tags:t,mb:{xs:"xl",md:"xl"}}),a.jsx(Me,{px:{xs:"m",md:"0"},weight:"bold",size:"m",children:"Retrouvez dès 20h et en direct les résultats des élections municipales 2026 dans votre commune"}),a.jsx(he,{direction:{xs:"column",md:"row"},wrap:"wrap",gapY:"xl",gapX:"xs",px:{xs:"m",md:"0"},mt:"m",children:n.map(l=>a.jsx(Me,{weight:"bold",size:"xs",children:a.jsx(Yt,{isUnderlined:!0,color:"grey-80O",href:l.url,children:l.name})},l.name))}),a.jsx(y6,{articles:o,mt:"l"})]}),vO=({title:e,items:t,layout:n,...o})=>{if(t.length<=0)return null;const s=lO(t,n);if(n===ve.DESKTOP)return a.jsx(u6,{...o,title:e,items:s.map(p=>({...p,title:{...p.title,as:"h2"}})),layout:ve.DESKTOP});const l=p=>a.jsx(a.Fragment,{children:p.map((m,h)=>a.jsxs(be.Fragment,{children:[h!==0&&a.jsx(wn,{color:"grey-200",my:"s"}),a.jsx(bh,{...m,cardTitleProps:{as:"h2",...m.cardTitleProps},cardHeaderProps:Ph(m.cardHeaderProps)})]},m.title))}),c=a.jsxs(a.Fragment,{children:[e&&a.jsxs(a.Fragment,{children:[a.jsx(Hc,{mb:"xl"}),a.jsx(Wr,{as:"h2",size:"s",mb:"xl",textAlign:"center",fontFamily:"obviously",px:"m",children:e})]}),s.map(p=>a.jsxs(ye,{mx:"m",mb:"l",children:[a.jsx(zc,{as:"h2",label:p.title.label,mb:"l"}),l(p.articles),p.seeMoreLink&&a.jsx(he,{justifyContent:"center",mt:"l",children:a.jsx(Yt,{buttonColor:"primary",variant:"outlined",...p.seeMoreLink})})]},p.title.label))]});return Object.keys(o).length===0?c:a.jsx(ye,{...o,children:c})},gO=({layout:e,tags:t,lastEpisodes:n,timelineEvents:o,mediaSrc:s,seeAllEpisodesLink:l,currentLive:c})=>{if(!s)return null;const p=a.jsxs(a.Fragment,{children:[a.jsx(X_,{variant:"tv",timeSlot:{children:c?.time,color:"white"},mx:{xs:"m",md:"0"},mb:"xxs"}),a.jsx(Wr,{as:"h3",size:"m",fontFamily:"obviously",mx:{xs:"m",md:"0"},children:c?.title})]}),m=A=>A.length>0?a.jsxs(_a,{mt:"xl",children:[a.jsx(zc,{as:"h4",label:"Derniers épisodes",mb:"xl"}),A.map((w,_)=>a.jsxs(be.Fragment,{children:[be.createElement(a6,{...w,cardHeaderProps:w.cardHeaderProps?{...w.cardHeaderProps,headline:{...w.cardHeaderProps.headline,color:"white"}}:void 0,cardTitleProps:{...w.cardTitleProps,size:"xxs-2",as:"h5"},key:w.link}),_<A.length-1&&a.jsx(wn,{color:"grey-200",my:"m"})]},w.title))]}):null,h=a.jsxs(a.Fragment,{children:[e===ve.MOBILE&&c&&p,a.jsx(kd,{type:fu.video,src:s,videoIs16by9:!0,mt:{xs:"xl",md:"0"}}),(n.length>0||e===ve.DESKTOP&&c||l)&&a.jsxs(he,{direction:"column",justifyContent:"between",mx:{xs:"m",md:"0"},children:[e===ve.DESKTOP&&(c?a.jsxs("div",{children:[p,m(n)]}):m(n)),e===ve.MOBILE&&m(n),l&&a.jsx(_a,{align:"center",mt:"xl",children:a.jsx(Yt,{buttonColor:"translucent",variant:void 0,...l,children:"Voir tous les épisodes"})})]})]});return a.jsxs(a.Fragment,{children:[a.jsx(ye,{as:"section",color:"white",bg:"blue-dark",py:"xl",children:a.jsxs(ye,{className:"o-page-wrap",children:[a.jsxs(he,{justifyContent:"between",alignItems:"center",mx:{xs:"m",md:"0"},mb:"xl",children:[a.jsx(or,{name:"logo-tv",size:e===ve.DESKTOP?[76,49]:[46,30],color:"white"}),e===ve.DESKTOP?a.jsx("div",{children:t.slice(0,2).map((A,w)=>a.jsx(uc,{...A,variant:"quaternary",ml:w===1?"l":"0"},A.href))}):t.slice(0,1).map(A=>a.jsx(uc,{...A,variant:"quaternary"},A.href))]}),e===ve.DESKTOP?a.jsx(Oi,{colsNumber:"2-of-3",gap:"l",mb:"xxl",children:h}):h]})}),a.jsx(ye,{as:"section",bg:"blue-grey",children:a.jsx(a9,{events:o,layout:e,py:{xs:"s",md:"l"},className:ko({"o-page-wrap":e===ve.DESKTOP})})})]})},yO=({avatarUrl:e,jobTitle:t,city:n,aboutMe:o,contacts:s})=>a.jsxs(a.Fragment,{children:[a.jsxs(he,{px:{xs:"m",md:"0"},mb:{xs:"0",md:"xxl"},my:"xl",gap:{xs:"xl",md:"xxl-2"},direction:{xs:"column",md:"row"},children:[a.jsx(wg,{img:e,variant:"big"}),(t||n)&&a.jsxs(he,{gap:{xs:"l",md:"xxl-3"},direction:{xs:"column",md:"row"},children:[t&&a.jsxs(he,{direction:"column",children:[a.jsx(zc,{label:"Poste occupé"}),a.jsx(Me,{mt:"m",children:t})]}),n&&a.jsxs(he,{direction:"column",children:[a.jsx(zc,{label:"Localisation"}),a.jsx(Me,{mt:"m",children:n})]})]})]}),o&&a.jsx(Tg,{heading:{children:"À propos de moi :"},description:o}),s&&s.length>0&&a.jsxs(ye,{px:{xs:"m",md:"0"},mt:"xxl",children:[a.jsx(Wr,{size:"m",mb:{xs:"s",md:"l"},children:"Me contacter :"}),a.jsx(he,{direction:"column",gap:{xs:"s",md:"l"},children:s.map(({media:l,link:c,label:p})=>a.jsxs(he,{alignItems:"center",children:[a.jsx(or,{name:l,size:20,mr:"l"}),a.jsx(Yt,{href:c,size:"m",weight:"semi-bold",children:p})]},l))})]})]}),bO=({post:e,postIndex:t,postsCount:n,pageEndpoint:o,imgEndpoint:s,layout:l,disableAds:c=!1,enableAnchoring:p=!0})=>be.createElement("section",{className:ko("js-post",{"u-anchor-link":p}),...p?{id:`post-${e.id}`}:{},key:e.id},a.jsx(lP,{...e.title}),e.content&&a.jsx(JD,{draftContent:e.content,pageEndpoint:o,imgEndpoint:s}),e.talk&&a.jsx(uP,{...e.talk,mt:"s"}),a.jsx(wn,{color:"grey-200",my:"l"}),!c&&n>=4&&t%6===3&&a.jsx(Ce,{adUnitCompletePath:l===ve.MOBILE?"/49926454/20minutes_webmobile/live/inread":"/49926454/20minutes_desktop/live/inread",variant:"INREAD",mb:"s",isFullscreenMobile:!0}),!c&&n>=8&&t%6===0&&a.jsx(Ce,{adUnitCompletePath:l===ve.MOBILE?"/49926454/20minutes_webmobile/live/article_mtf":"/49926454/20minutes_desktop/live/pave_article",variant:"ARTICLE",mb:"s",isFullscreenMobile:!0})),xO=({posts:e,layout:t,pageEndpoint:n,imgEndpoint:o,seeMoreLink:s,disableAds:l,enableAnchoring:c=!0,...p})=>{const{variablesForQuery:m,refreshButton:h,...A}=p;return e.length===0?null:a.jsxs(a.Fragment,{children:[a.jsx(ye,{...A,"data-state":h?.state,"data-latest-post-id":h?.latestPostId,"data-brand-id":m?.brandId,"data-live-id":m?.liveId,children:e.map((w,_)=>a.jsx(bO,{post:w,postIndex:_,postsCount:e.length,layout:t,pageEndpoint:n,imgEndpoint:o,disableAds:l,enableAnchoring:c},`${w.id}-${_}`))}),s&&a.jsx(he,{justifyContent:"center",my:"l",children:a.jsx(bn,{color:"primary",variant:"outlined",...s})})]})},M3=({items:e,seeMoreButton:t,...n})=>e.length<=0?null:a.jsxs(a.Fragment,{children:[a.jsx(ye,{...n,children:e.map((o,s)=>{const{summaryProps:l,...c}=o;return a.jsxs(be.Fragment,{children:[a.jsx(r6,{...c,summaryProps:c.layout!==ve.MOBILE?l:void 0,mb:"m",ml:{xs:"m",md:"0"}}),s!==e.length-1&&a.jsx(wn,{color:"grey-200",my:"s"}),s===2&&c.layout===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),s===7&&c.layout===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"}),(s===2||s===7)&&c.layout===ve.MOBILE&&a.jsx(wn,{color:"grey-200",my:"s"})]},`${c.link}-${s}`)})}),t&&a.jsx(he,{justifyContent:"center",mb:"m",children:a.jsx(bn,{...t})})]}),X5=({...e})=>{const{variablesForQuery:t,...n}=e;return a.jsx(s6,{...n})},AO=({items:e,layout:t,seeMoreButton:n,...o})=>e.length<=0?null:a.jsxs(a.Fragment,{children:[a.jsx(he,{direction:"column",gap:"xxl-2",...o,children:e.map((s,l)=>a.jsxs(be.Fragment,{children:[l===5&&t===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),a.jsx(zB,{...s,layout:t,containerSpacing:{px:{xs:"m",lg:"0"}}})]},`${s.link}-${l}`))}),n&&a.jsx(he,{justifyContent:"center",mt:"xl",children:a.jsx(bn,{...n})}),t===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"}),t===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"BAN",mt:"xl"})]}),EO=({blocks:e,...t})=>e.length===0?null:a.jsx(ye,{...t,children:e.map((n,o)=>a.jsx(Wd,{mb:o<e.length-1?"xxl":"0",...n},o))}),_O=({articles:e,layout:t,totalArticles:n,currentPagePath:o,currentPage:s="1",seeMoreButton:l,...c})=>{if(e.length===0)return null;const p=a.jsx(Oi,{colsNumber:1,gap:{xs:"xxl",md:"xxl-2"},children:e.map((h,A)=>t===ve.DESKTOP?a.jsx(VB,{...h,className:ko(`card-item-${A+1}`,h.className),cardTitleProps:{as:"h2",...h.cardTitleProps},cardHeaderProps:Ph(h.cardHeaderProps)},h.title):a.jsx(u2,{layout:t,...h,className:ko(`card-item-${A+1}`,h.className),cardTitleProps:{as:"h2",...h.cardTitleProps},cardHeaderProps:Ph(h.cardHeaderProps)},h.title))}),m=a.jsxs(a.Fragment,{children:[p,l&&a.jsxs(a.Fragment,{children:[n&&o&&a.jsx("noscript",{children:a.jsx(r9,{totalArticles:n,currentPage:s,pagePath:o,archivesUrl:"https://www.20minutes.fr/archives"})}),a.jsx(he,{justifyContent:"center",mt:"xxl",children:a.jsx(bn,{...l})})]})]});return Object.keys(c).length===0?m:a.jsx(ye,{...c,children:m})},wO=({rewinds:e,layout:t,...n})=>a.jsx(Oi,{...n,colsNumber:{xs:1,sm:2,md:3,lg:4,xxl:5},gap:"xl",px:{xs:"m",md:"0"},children:e.map(o=>a.jsxs(he,{as:Yt,href:o.link,direction:"column",alignItems:"center",gap:"l",children:[a.jsx(Ap,{src:o.cover,defaultFormat:t===ve.DESKTOP?"236x420":"439x781",isPortrait:!0}),a.jsxs(Me,{as:"span",color:"white",bg:"ultramarine",size:"xs",weight:"bold",px:"s",py:"xs",radius:"l",children:["Ma rétrospective ",o.year]})]},o.year))}),L3=({articles:e,...t})=>e&&e?.length>0?a.jsx(he,{...t,direction:"column",children:e.map((n,o)=>a.jsx(H1,{...n,cardHeaderProps:Ph(n.cardHeaderProps),mb:o<e.length-1?"l":"0",cardImageProps:{...n.cardImageProps,lazyLoad:!0,cover:n?.cardImageProps?.cover??""}},n.title))}):null,SO=({title:e,tagList:t})=>a.jsxs(ye,{className:"bg-grey-100",p:{xs:"m",md:"xl"},children:[a.jsx(Wr,{as:"h2",size:"xxs",mb:"l",children:e}),a.jsx(he,{gap:"xs",wrap:"wrap",children:t.map(({name:n,href:o})=>a.jsx(uc,{variant:"secondary",href:o,children:n},n))})]}),CO=({slideshowStories:e})=>a.jsx(a.Fragment,{children:e.map(t=>be.createElement(UR,{...t,key:t.title,mb:"l"}))}),TO=({widgets:e})=>e.length===0?null:a.jsx(a.Fragment,{children:e.map(t=>a.jsx(v6,{...t},t.src))}),V2=({cards:e,layout:t,...n})=>a.jsx(ye,{...n,mx:{xs:"m",md:"0"},mb:{xs:"xxl",md:"xxl-3"},children:a.jsx(Oi,{colsNumber:{xs:2,md:3},gapY:{xs:"m",md:"xl"},gapX:{xs:"xxl",md:"xxl-2"},alignItems:"start",children:e.map(o=>a.jsx(l2,{link:o.url,title:o.name,cardImageProps:{cover:o.coverUrl},cardHeaderProps:{headline:{text:o.label,color:o.labelColor}},cardTitleProps:{weight:"semi-bold",size:{xs:"xs",md:"s"}},summaryProps:{children:o.summary},layout:t},o.url))})}),NO=({items:e,layout:t,...n})=>e.length===0?null:a.jsx(ye,{py:"xxl",...n,children:a.jsx(zu,{className:"o-page-wrap",pt:"0",layout:t,articles:e.map(o=>({...o,variant:"title-on-image",cardTitleProps:{color:"white",fontFamily:"base",pb:"s",px:"m"}})),sliderProps:{buttonsColor:"white",sliderVariant:"sport",ml:{xs:"m",md:"0"}}})}),DO=({articles:e,layout:t,tagCarouselProps:n,brandPublishingArticle:o,seeMoreButton:s,currentPage:l,currentPagePath:c,tagTotalArticles:p,isFullWidthCover:m})=>{if(e.length===0)return null;const h=w=>"cardImageProps"in w&&!("cardFrameProps"in w),A=e.slice(1).filter(h).map(w=>({...w,...w.cardImageProps&&{cardImageProps:{...w.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), calc(50vw - 16px)"}}}));return a.jsxs(a.Fragment,{children:[a.jsx(ye,{as:"article",className:"o-page-wrap u-arch-shadow",bg:"grey-50",children:m?a.jsx(UB,{...e[0],layout:t,mb:{xs:n?.items.length?"l":"0",md:"xl"}}):a.jsx(u2,{...e[0],layout:t,mb:{xs:n?.items.length?"l":"0",md:"xl"}})}),n&&n.items.length>0&&a.jsx(NO,{mb:{xs:"l",md:"xl"},...n}),a.jsx(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:{xs:"0",md:"xxl"},bg:"grey-50",children:a.jsxs(he,{id:"article-list-1",direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(jl,{layout:t,articles:A,hideFirstDivider:n&&n.items.length>0&&t===ve.MOBILE,seeMoreButton:s&&{...s,disabled:!0,onClick:void 0},currentPage:l,currentPagePath:c,tagTotalArticles:p})}),t===ve.DESKTOP&&a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx(L3,{...o}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]})})]})},eQ=e=>Array.isArray(e.articles)&&e.articles.length>0,RO=({mostViewed:e,mostRecent:t,...n})=>{const s=[{name:"les plus vues",title:"Vidéos les + vues",source:e},{name:"les plus recentes",title:"Vidéos les + récentes",source:t}].filter(l=>eQ(l.source)).map(l=>({name:l.name,title:l.title,content:a.jsx(jl,{...l.source,hasMarginOnCard:!1})}));return s.length===0?null:a.jsx(ye,{as:"section",className:"o-page-wrap",color:"white",py:{xs:"m",md:"xxl"},px:{xs:"m",md:"0"},mb:"xxs",...n,children:a.jsx(Mf,{tabTitlesColor:"white",tabItems:s})})},OO=({videos:e,layout:t})=>{const n=o=>a.jsxs(a.Fragment,{children:[a.jsx(Ce,{adUnitCompletePath:`/49926454/20minutes_webmobile/tv/nfb_${o}`,variant:"BAN",mt:"s",hasNoBgColorMobile:!0}),a.jsx(wn,{color:"grey-500",my:"s"})]});return a.jsx(a.Fragment,{children:e.map((o,s)=>{const l=s===e.length-1,c=s===0?"s":"0";return a.jsxs(be.Fragment,{children:[a.jsx(r6,{...o,cardNumber:{value:s+1},mt:c,mx:{xs:"m",md:"0"}}),!l&&a.jsx(wn,{color:"grey-500",my:"s"}),t===ve.MOBILE&&s===2&&n("1"),t===ve.MOBILE&&s===7&&n("2")]},`${o.title}-${s}`)})})},IO=({layout:e,videos:t})=>a.jsx(a.Fragment,{children:t.map((n,o)=>{const s=o===t.length-1,l=o===0?"s":"0";return a.jsxs(be.Fragment,{children:[a.jsx(q_,{...n,mt:l,mx:{xs:"m",md:"0"}}),!s&&a.jsx(wn,{color:"grey-500",my:"s"}),e===ve.MOBILE&&o===11&&a.jsxs(a.Fragment,{children:[a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"BAN",mt:"s",hasNoBgColorMobile:!0}),a.jsx(wn,{color:"grey-500",my:"s"})]})]},`${n.title}-${o}`)})}),jO=({breadcrumb:e,showsCarousel:t,frontPageArticles:n,seeMoreLink:o,layout:s})=>{const l=c=>"title"in c[0];return a.jsxs(a.Fragment,{children:[a.jsx(ye,{as:"section",className:"o-page-wrap o-shift-breadcrumb-bottom",children:a.jsx(qn,{...e,isTransparent:!0,hasWhiteSeparators:!0,buttonsColor:"translucent"})}),a.jsx(oP,{...t,layout:s,withNavigation:s===ve.DESKTOP}),s===ve.DESKTOP&&n.length>0&&l(n)&&a.jsx(ye,{as:"section",className:"o-page-wrap o-shift-carousel-top",children:a.jsx(zu,{articles:n,layout:ve.DESKTOP,label:"A la Une",headingProps:{as:"h2",color:"white"},color:"white",seeMoreLink:{href:o,children:"Voir toutes les vidéos à la Une",buttonColor:"translucent",variant:void 0}})}),s===ve.MOBILE&&n.length>0&&a.jsxs(a.Fragment,{children:[a.jsx(zc,{label:"A la Une",my:"xxl",as:"h2",color:"white",mx:"m"}),a.jsx(jl,{articles:n,layout:ve.MOBILE,hideFirstDivider:!0,color:"white"}),a.jsx(he,{justifyContent:"center",mt:"xl",color:"white",children:a.jsx(Yt,{buttonColor:"translucent",href:o,children:"Voir toutes les vidéos à la Une"})})]})]})},tQ=e=>{if(!window.lazyObservers?.defaultObserver&&!window.lazyObservers?.instantObserver){window.lazyElementsToObserve=window.lazyElementsToObserve||[],window.lazyElementsToObserve.push(e);return}const t=e.dataset?.distanceVisible;t==="700"?window.lazyObservers?.defaultObserver?.observe(e):t==="0"&&window.lazyObservers?.instantObserver?.observe(e)},V0=()=>{document.querySelectorAll('[data-delayed="true"]:not([data-dfp-name]):not([data-lazy-loaded="true"])').forEach(t=>{tQ(t)})},MO=e=>{const t={click:Pd(e.name),click_chapter1:e?.chapter1||null,click_chapter2:e?.chapter2||null,click_chapter3:e?.chapter3||null},n=`click.${e.type}`;if(window.pa?(e.customProps&&Object.keys(e.customProps).length>0&&window.pa.setProperties(e.customProps,{persistent:!1,events:[n]}),window.pa.sendEvent(n,t)):window._paq&&(e.customProps&&Object.keys(e.customProps).length>0&&window._paq.push(["setProperties",e.customProps,{persistent:!1,events:[n]}]),window._paq.push(["sendEvent",n,t])),!window.edgee?.track)return;const o=document.getElementById("__EDGEE_DATA_LAYER__");let s={};if(o)try{const l=JSON.parse(o.textContent||"");l.data_collection.context=l.data_collection.context||{},s=l.data_collection.context.page?.properties||{}}catch{s={}}window.edgee.track({name:n,properties:{...s,click:t.click,click_chapter1:t.click_chapter1,click_chapter2:t.click_chapter2,click_chapter3:t.click_chapter3,click_type:e?.type??"navigation",...e.customProps}},{"edgee/piano-analytics":!0})},Gu=e=>{window._paq&&window._paq.push(["sendEvent","page.display",{page:window.PianoPageInfo?.name,page_chapter1:window.PianoPageInfo?.chapter1,page_chapter2:window.PianoPageInfo?.chapter2,page_chapter3:window.PianoPageInfo?.chapter3,page_chapter4:window.PianoPageInfo?.chapter4}]),window.edgee?.page&&e?.enableEdgee!==!1&&window.edgee.page()},Bp=({medias:e,imgEndpoint:t})=>{const n=e?.find(s=>s&&s.illustration===!0&&s.type===y2.photo&&s.photo?.node?.id);if(!n?.photo?.node?.id)return"";const o=n.photo?.node?.slug?`%format_${n.photo.node.slug}`:"%format";return`${t}/${N5(n.photo.node.id)}/${o}`},Fh=({photo:e})=>e?.node?[{type:y2.photo,illustration:!0,legend:e.node.caption??null,photo:{node:{id:e.node.id,brand_id:e.node.brand_id,title:e.node.title??null,caption:e.node.caption??null,credit:e.node.credit??null,slug:e.node.slug??null}},video:null,podcast:null}]:[],G2=({medias:e,picto:t,editorialModel:n})=>{if(n===Lf.Story)return{caption:{iconName:"diaporama"}};let o;if(t)switch(t){case"video":{if(n!==Lf.Page){const s=e?.find(l=>l&&l?.illustration===!0&&l?.type===y2.video&&l[y2.video]?.duration)?.video?.duration;return{caption:{iconName:"video",text:s?Ig(Number(s)):""}}}break}case"podcast":return{caption:{iconName:"podcast"}};default:return o}else e?.forEach(s=>{if(s?.type==="podcast"&&(o={caption:{iconName:"podcast"}}),s?.type==="video"&&s?.illustration&&n!==Lf.Page){const l=s?.video?.duration?Number(s?.video?.duration):null;o={caption:{iconName:"video",text:l?Ig(l):""}}}});return o},LO=({pageEndpoint:e,imgEndpoint:t,layout:n,data:o})=>Array.isArray(o)?[]:(o?.brand?.node?.tag?.node?.publishableContents?.edges||[])?.reduce((s,l)=>(!l?.node?.short_title||!l?.node?.medias||!l?.node?.url_current||s.push({title:l.node.short_title,cardImageProps:{cover:Bp({medias:l.node.medias,imgEndpoint:t}),caption:{iconName:"video",text:l?.node?.video?.node?.duration?.toString()?Ig(parseInt(l.node.video.node.duration.toString(),10)):void 0}},link:new URL(l.node.url_current,e).href,layout:n,...n===ve.MOBILE&&{reverseCard:!0}}),s),[]),rQ=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery?.endCursor||null),[o,s]=be.useState(e.defaultVariablesForQuery?.hasNextPage||!1),[l,c]=be.useState(e.defaultArticles),[p,m]=be.useState(!1),h=be.useCallback(()=>{m(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getTvReplaysOrExtracts&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery?.brandId,slug:e.defaultVariablesForQuery?.slug,first:8,after:t,filter:{publication_status:{eq:"published"},...e.defaultVariablesForQuery?.tagId?{tag_ids:{nin:[e.defaultVariablesForQuery.tagId]}}:{}}}))}`,options:{headers:_}}];try{const S=await bi(...D),T=LO({pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,layout:e.layout,data:S});c(C=>[...C,...T]),n(S?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.endCursor||null),s(S?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.hasNextPage||!1),Gu()}catch(S){console.error("20mn> Error while loading articles:",S)}},[t,e.defaultVariablesForQuery,e.layout]);return be.useEffect(()=>{p&&A()},[p,A]),be.useEffect(()=>{p&&m(!1)},[p]),be.useMemo(()=>({isLoading:p,articles:l,hasNextPage:o,onLoadMore:h}),[l,p,o,h])},kO=({isSSR:e=!0,name:t,layout:n,articles:o,variablesForQuery:s,seeMoreButton:l,...c})=>{if(o.length===0)return null;const{isLoading:p,articles:m,hasNextPage:h,onLoadMore:A}=rQ({layout:n,defaultArticles:o,defaultVariablesForQuery:s});return be.useEffect(()=>{p||V0()},[p]),a.jsxs(a.Fragment,{children:[a.jsx(jl,{layout:n,articles:m,seeMoreButton:l&&h?{...l,disabled:p,onClick:A}:void 0,...c}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({[`${t}TvExtractsAndReplaysContainer`]:{layout:n,articles:m,variablesForQuery:s,seeMoreButton:l,...c}})} };`}})]})},nQ=(e,t,n,o)=>({name:e,title:o.title,content:t===ve.DESKTOP&&(n?a.jsx(zu,{layout:t,articles:o.items}):a.jsx("div",{id:`tv-tab-${e}`,children:a.jsx(kO,{name:e,layout:t,articles:o.items,columnsNumber:4,...o.seeMore&&{seeMoreButton:{color:"translucent",...o.seeMore}},variablesForQuery:o.variablesForQuery})}))||a.jsx("div",{id:`tv-tab-${e}`,children:a.jsx(kO,{name:e,layout:t,articles:o.items,hasMarginOnCard:!1,hideFirstDivider:!0,...o.seeMore&&{seeMoreButton:{color:"translucent",...o.seeMore}},variablesForQuery:o.variablesForQuery})})}),e8=({layout:e,extracts:t,replays:n,variant:o="show",contentIsCarousel:s=!0,...l})=>{if(n.items.length===0&&t.items.length===0)return null;const c=[{name:"extraits",tab:{...t,title:t.title??"Extraits"}},{name:"replays",tab:{...n,title:n.title??"Replay"}}];o==="show"&&c.reverse();const p=c.filter(m=>m.tab.items.length>0).map(m=>nQ(m.name,e,s,m.tab));return a.jsx(ye,{as:"section",className:"o-page-wrap",color:"white",py:{xs:"m",md:"xxl"},px:{xs:"m",md:"0"},...l,children:a.jsx(Mf,{tabTitlesColor:"white",tabItems:p})})},BO=({showCover:e,replaysAndExtracts:t,layout:n,lastReplay:o,lastReplayTitle:s="Dernier Replay"})=>a.jsxs(a.Fragment,{children:[a.jsx(HR,{...e,layout:n}),o&&n===ve.DESKTOP&&a.jsxs(ye,{as:"section",className:"o-page-wrap o-shift-carousel-top o-page__player-container",mt:"xxl",children:[a.jsx(zc,{label:s,mb:"xxl",as:"h2",color:"white"}),a.jsx(u2,{...o,layout:ve.DESKTOP,cardHeaderProps:o.cardHeaderProps?{...o.cardHeaderProps,headline:{...o.cardHeaderProps.headline,color:"white"}}:void 0,summaryProps:{color:"white",...o.summaryProps},cardTitleProps:{color:"white"}})]}),o&&n===ve.MOBILE&&a.jsxs(ye,{as:"section",className:"o-page__player-container",mt:"xxl",children:[a.jsx(zc,{label:s,mb:"xxl",as:"h2",color:"white",mx:"m"}),a.jsx(Sg,{...o,layout:ve.MOBILE,cardHeaderProps:o.cardHeaderProps?{...o.cardHeaderProps,headline:{...o.cardHeaderProps.headline,color:"white"}}:void 0,summaryProps:{color:"white",...o.summaryProps},cardTitleProps:{color:"white"}})]}),a.jsx(e8,{...t})]}),PO=({shows:e,layout:t,seeMoreLink:n,...o})=>e.length===0?null:a.jsx(ye,{bg:"blue-grey",...o,as:"section",color:"white",children:a.jsxs(ye,{className:"o-page-wrap",pt:{xs:"xl",md:"xxl-2"},pb:"xxl",children:[a.jsx(zu,{label:t===ve.MOBILE?"Nos émissions en replay":"Retrouvez l’intégralité de nos émissions en replay",headingProps:{as:"h2",size:"m",color:"white",fontFamily:"obviously",textAlign:"center",mx:{xs:"m",md:"0"}},titleUnderlined:!1,layout:t,articles:e,sliderProps:{buttonsColor:"white",sliderVariant:"videos",ml:{xs:"m",md:"0"}}}),n&&a.jsx(he,{justifyContent:"center",mt:"xl",children:a.jsx(Yt,{buttonColor:"translucent",...n})})]})}),aQ=[{component:x9,componentName:Mg.AD_IFRAME_EXTERNAL_AD_ELEMENT,expiration:3600*24*30}],K2=3600*24*30,iQ=[{componentName:qc.ANIMAL_QUIZ_BREADCRUMB,component:qn,expiration:K2},{componentName:qc.ANIMAL_QUIZ_HEADER_PAGE,component:Xo,expiration:K2},{componentName:qc.ANIMAL_QUIZ_JSON_LD_BREADCRUMB,component:Oa,expiration:K2},{componentName:qc.ANIMAL_QUIZ_META,component:Nn,expiration:K2},{componentName:qc.ANIMAL_QUIZ_RUBRIC_CAROUSELS,component:Q5,expiration:K2}],oQ=e=>{switch(e){case"FRA":return"Nationale";case"BOR":return"Bordeaux";case"LIL":return"Lille";case"MAR":return"Marseille";case"MON":return"Montpellier";case"NAN":return"Nantes";case"NIC":return"Nice";case"PAR":return"Paris";case"REN":return"Rennes";case"STR":return"Strasbourg";case"TOU":return"Toulouse";default:return""}},sQ=e=>{const t=e.slice(0,4),n=e.slice(4,6),o=e.slice(6,8),s=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],l=parseInt(n,10)-1,c=s[l];return`${parseInt(o,10)} ${c} ${t}`},FO=({data:e})=>{const t=[];return Array.isArray(e)||e?.brand?.node?.edition?.node?.pdfs?.edges?.forEach(n=>{n?.node?.url&&n?.node?.publication_date&&t.push({href:n?.node?.url,name:`Lire le journal du ${sQ(n?.node?.publication_date)} - édition ${oQ(n.node.url.match(/[0-9]{8}_([A-Z]{3})\.pdf/)?.[1]??"")}`})}),t},HO={editionSelectorId:"archivePdfListEditionSelector",monthSelectorId:"archivePdfListMonthSelector"},uQ=({isSSR:e=!0,variablesForQuery:t,layout:n,title:o,selectorsLabel:s,editionSelector:l,monthSelector:c,editions:p,enabled:m})=>{const[h,A]=be.useState(p),w=be.useCallback(async()=>{const{apiHost:_}=document.body.dataset,D=new Headers;window.envVariables?.apiAuthKey&&D.append("auth-key",window.envVariables.apiAuthKey);const S=document.getElementById(HO.editionSelectorId),T=document.getElementById(HO.monthSelectorId),C=[{url:`${_}/?id=getPdfsByEditionSlug&variables=${encodeURIComponent(JSON.stringify({brandId:t?.brandId,slug:S?.value,first:100,sort:"ASC",year:t?.year,month:T?.value}))}`,options:{headers:D}}];try{const I=await bi(...C),L=FO({data:I});A(L)}catch(I){console.error("20mn> Error while searching:",I)}},[t?.brandId,t?.year]);return a.jsxs(a.Fragment,{children:[a.jsx(KR,{title:o,selectorsLabel:s,editionSelector:{...l,onChange:w},monthSelector:c&&{...c,onChange:w},editions:h,layout:n,enabled:m}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({archivePdfListContainer:{title:o,layout:n,selectorsLabel:s,editionSelector:l,monthSelector:c,editions:p,variablesForQuery:t,enabled:m}})} };`}})]})},lQ=[{component:Nn,componentName:ao.ARCHIVES_META,expiration:3600*24*30},{componentName:ao.ARCHIVES_BREADCRUMB,component:qn,expiration:300},{componentName:ao.ARCHIVES_PAGE_TITLE,component:Wr,expiration:300},{componentName:ao.ARCHIVES_DAYS_LIST,component:xl,expiration:300},{componentName:ao.ARCHIVES_CONTENTS,component:xl,expiration:300},{componentName:ao.ARCHIVES_YEARS_LIST,component:GR,expiration:300},{componentName:ao.ARCHIVES_MONTHS_LIST,component:WR,expiration:300},{componentName:ao.ARCHIVES_PDF_LIST,component:uQ,expiration:300}],cQ=[{componentName:pu.ARTICLE_CONTENT,component:tm,expiration:3600*24},{componentName:pu.ARTICLE_ENCLOSE,component:_3,expiration:3600*24},{componentName:pu.ARTICLE_JSON_LD_NEWS_ARTICLE,component:Bg,expiration:3600*24*30},{componentName:pu.ARTICLE_JSON_LD_CLAIM_REVIEW,component:E9,expiration:3600*24*30},{componentName:pu.ARTICLE_PRELOAD,component:q1,expiration:3600*24*30},{componentName:pu.ARTICLE_HIGHLIGHTED_TEXT,component:Me,expiration:1800},{componentName:pu.ARTICLE_CHATBOT_BUTTON,component:c9,expiration:3600}],dQ=[{componentName:ka.ASTRO_BREADCRUMB,component:qn,expiration:3600*24*30},{componentName:ka.ASTRO_HEADER_PAGE,component:Xo,expiration:3600},{componentName:ka.ASTRO_HEADER_BANNER,component:W_,expiration:3600*24*30},{componentName:ka.ASTRO_ASTRO_CONTENT,component:BB,expiration:3600},{componentName:ka.ASTRO_HOMEPAGE_CONTENT,component:zD,expiration:3600},{componentName:ka.ASTRO_LINK,component:Yt,expiration:3600*24*30},{componentName:ka.ASTRO_ASTRO_LINKS_NEXT_TYPES,component:qD,expiration:3600*24*30},{componentName:ka.ASTRO_ASTRO_TILES,component:PB,expiration:3600*24*30},{componentName:ka.ASTRO_ASTRO_TILES_HEADING,component:Wr,expiration:3600*24*30},{componentName:ka.ASTRO_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:ka.ASTRO_META,component:Nn,expiration:3600*24*30}],W2=e=>e?gB.find(t=>e.includes(t)):void 0,UO=({layout:e,pageEndpoint:t,imgEndpoint:n,data:o})=>Array.isArray(o)?[]:(o?.brand?.node?.publishableContents?.edges||[])?.reduce((s,l)=>{if(!l?.node?.title||!l?.node?.url||!l?.node?.medias||!l?.node?.rubric?.node?.label||!(l?.node?.medias.length||l?.node?.photo?.node))return s;let c=l.node.medias??[];return l?.node?.editorial_model==="Story"&&l?.node?.photo?.node&&(c=Fh({photo:l.node.photo})),s.push({link:new URL(l.node.url,t).href,title:l.node.short_title||l.node.title,cardImageProps:{cover:Bp({medias:c,imgEndpoint:n}),...G2({medias:c,picto:l?.node?.picto,editorialModel:l?.node.editorial_model}),lazyLoad:!0},cardHeaderProps:{headline:{text:l?.node?.label||l.node.rubric.node.label,color:W2(l?.node?.rubric?.node?.themeColor?.node?.slug)}},cardTitleProps:{cartridge:l?.node?.editorial_model==="Live"?"live":void 0,as:"h3"},layout:e}),s},[]),fQ=e=>{const[t,n]=be.useState(e.defaultArticles),o=be.useCallback(async()=>{const{apiHost:s}=document.body.dataset,l=new Headers;window.envVariables?.apiAuthKey&&l.append("auth-key",window.envVariables.apiAuthKey);const c=[{url:`${s}/?id=getLatestContentsCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.variablesForQuery.brandId,sourceExcluded:e.variablesForQuery.sourceExcluded,first:e.variablesForQuery.first}))}`,options:{headers:l}}];try{const p=await bi(...c),m=UO({layout:window.layout,data:p,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint});n(m)}catch(p){console.error("20mn> Error while loading articles:",p)}},[e.variablesForQuery.brandId,e.variablesForQuery.first,e.variablesForQuery.sourceExcluded]);return be.useEffect(()=>{o()},[o]),be.useMemo(()=>({articles:t}),[t])},pQ=({isSSR:e=!0,articles:t,variablesForQuery:n,...o})=>{const{articles:s}=fQ({defaultArticles:t,variablesForQuery:n});return a.jsxs(a.Fragment,{children:[a.jsx(YR,{...o,articles:s,variablesForQuery:n}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({latestContentsCarouselContainer:{articles:t,variablesForQuery:n,...o}})} };`}})]})},Q2=e=>{const t=new Intl.DateTimeFormat("fr",{timeStyle:"short",timeZone:"Europe/Paris"});return{name:e.name,title:e.title,tabColor:e.tabColor,body:e.articleEdges.reduce((n,o)=>{if(o?.node?.title&&o?.node?.url&&o?.node?.rubric?.node?.slug&&o?.node?.rubric?.node?.label){let s;if(e.imgEndpoint){let c=o.node.medias??[];o?.node?.editorial_model==="Story"&&o?.node?.photo?.node&&(c=Fh({photo:o.node.photo})),s={cover:Bp({medias:c,imgEndpoint:e.imgEndpoint}),lazyLoad:!0}}const l={themeColor:o.node.rubric.node.themeColor?.node?.lightmode_color||void 0,rubricName:o?.node?.label||o.node.rubric.node.label,title:o?.node?.short_title||o.node.title,url:new URL(o.node.url,e.pageEndpoint).href,cartridge:o.node?.editorial_model===Lf.Live&&o.node?.state===f9.open?"live":void 0,...s?{cardImageProps:s}:{}};e.name==="le-direct"&&o?.node?.published_at&&(l.liveTime=t.format(new Date(o.node.published_at).getTime()).replace(":","h")),n.push(l)}return n},[]).slice(0,e.limit)}},zO=({data:e,pageEndpoint:t,liveLimit:n,mostReadLimit:o})=>{if(Array.isArray(e))return[];const s=e?.brand?.node,l=s?.mostReadArticles?.edges,c=s?.liveArticles?.edges,p=[];if(c?.length){const m=Q2({name:"le-direct",title:"Le direct",pageEndpoint:t,articleEdges:c,limit:n,tabColor:"red"});p.push(m)}if(l?.length){const m=Q2({name:"plus-lus",title:"Les + lus",pageEndpoint:t,articleEdges:l,limit:o});p.push(m)}return p},hQ=e=>{const[t,n]=be.useState(e.defaultTabItems),o=be.useCallback(async()=>{if(e.variablesForQuery.liveLimit&&e.variablesForQuery.mostReadLimit){const{apiHost:s}=document.body.dataset,l=new Headers;window.envVariables?.apiAuthKey&&l.append("auth-key",window.envVariables.apiAuthKey);const c=[{url:`${s}/?id=getLiveAndMostRead&variables=${encodeURIComponent(JSON.stringify({brandId:e.variablesForQuery.brandId,sourceExcluded:e.variablesForQuery.sourceExcluded,liveLimit:e.variablesForQuery.liveLimit,mostReadLimit:e.variablesForQuery.mostReadLimit}))}`,options:{headers:l}}];try{const p=await bi(...c),m=zO({data:p,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,liveLimit:e.variablesForQuery.liveLimit,mostReadLimit:e.variablesForQuery.mostReadLimit});n(m),I3()}catch(p){console.error("20mn> Error while loading tabItems:",p)}}},[e.variablesForQuery.brandId,e.variablesForQuery.liveLimit,e.variablesForQuery.mostReadLimit,e.variablesForQuery.sourceExcluded]);return be.useEffect(()=>{o()},[o]),be.useMemo(()=>({tabItems:t}),[t])},mQ=({isSSR:e=!0,layout:t,tabItems:n,variablesForQuery:o,...s})=>{const{tabItems:l}=hQ({defaultTabItems:n,variablesForQuery:o});return a.jsxs(a.Fragment,{children:[a.jsx(X5,{...s,layout:t,tabItems:l,variablesForQuery:o,hasButton:!0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({liveAndMostReadContainer:{layout:t,tabItems:n,variablesForQuery:o}})} };`}})]})},vQ=[{componentName:nt.COMMON_HEADER,component:IP,expiration:900},{componentName:nt.COMMON_HEADER_MINI,component:Q_,expiration:900},{componentName:nt.COMMON_FOOTER,component:u9,expiration:3600*24*7},{componentName:nt.COMMON_OVERVIEW_BAR,component:l9,expiration:900},{componentName:nt.COMMON_MOST_READ_ARTICLES,component:mQ,expiration:3600*24*7},{componentName:nt.COMMON_MENU,component:bP,expiration:3600*24*7},{componentName:nt.COMMON_PRELOAD,component:q1,expiration:3600*24*30},{componentName:nt.COMMON_LATEST_CONTENTS_CARROUSEL,component:pQ,expiration:300},{componentName:nt.COMMON_TOOLBAR,component:HP,expiration:3600*24*7},{componentName:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,component:PO,expiration:3600},{componentName:nt.COMMON_TV_MOST_BLOCK,component:RO,expiration:3600},{componentName:nt.COMMON_ELECTIONS_SEARCH_BANNER,component:FR,expiration:3600}],am=3600*24*30,gQ=[{componentName:qu.CONTACT_JSON_LD_BREADCRUMB,component:Oa,expiration:am},{componentName:qu.CONTACT_ADDRESSES,component:JR,expiration:am},{componentName:qu.CONTACT_META,component:Nn,expiration:am},{componentName:qu.CONTACT_FORM,component:eO,expiration:am},{componentName:qu.CONTACT_DETAILS,component:XR,expiration:am},{componentName:qu.CONTACT_BREADCRUMB,component:qn,expiration:am}],yQ=[{componentName:cr.CONTENT_READALSO_BANNER,component:EP,expiration:1800},{componentName:cr.CONTENT_BREADCRUMB,component:qn,expiration:300},{componentName:cr.CONTENT_HEADER,component:P_,expiration:3600*24},{componentName:cr.CONTENT_HEADER_MOBILE,component:QR,expiration:3600*24},{componentName:cr.CONTENT_COVER,component:W5,expiration:300},{componentName:cr.CONTENT_SOCIAL_BAR,component:xh,expiration:300},{componentName:cr.CONTENT_SIGNATURE,component:Dg,expiration:3600*24},{componentName:cr.CONTENT_SUMMARY,component:UD,expiration:3600*24},{componentName:cr.CONTENT_READALSO_BLOCK,component:ZR,expiration:3600*24},{componentName:cr.CONTENT_TAG_BAR,component:o6,expiration:3600*24},{componentName:cr.CONTENT_COMMENT_V2,component:eP,expiration:3600*24*30},{componentName:cr.CONTENT_COMMENT_BUTTON,component:tP,expiration:300},{componentName:cr.CONTENT_META,component:Nn,expiration:3600*24*30},{componentName:cr.CONTENT_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:cr.CONTENT_SIDE_BRANDS_ARTICLES,component:L3,expiration:3600},{componentName:cr.CONTENT_HEADER_MINI,component:Q_,expiration:900},{componentName:cr.CONTENT_SCROLL_PROGRESS_BUTTON,component:bn,expiration:1800}],bQ=()=>{const e=document.getElementById("article-list-bottom-container");if(!e)return;const t=new IntersectionObserver((l,c)=>{l.forEach(p=>{p.isIntersecting&&(Gu(),c.unobserve(p.target))})}),n=e.querySelector(".card-item-1");n&&t.observe(n);const o=e.querySelector(".card-item-8");o&&t.observe(o);const s=e.querySelector(".card-item-16");s&&t.observe(s)},xQ=()=>{const e=document.getElementById("quiz-container");if(!e)return;const t=new IntersectionObserver((l,c)=>{l.forEach(p=>{p.isIntersecting&&(Gu(),c.unobserve(p.target))})}),n=e.querySelector(".card-item-1");n&&t.observe(n);const o=e.querySelector(".card-item-8");o&&t.observe(o);const s=e.querySelector(".card-item-16");s&&t.observe(s)},AQ=()=>{const e=document.getElementById("latest-articles-container");if(!e)return;const t=new IntersectionObserver((s,l)=>{s.forEach(c=>{c.isIntersecting&&(Gu(),l.unobserve(c.target))})}),n=e.querySelectorAll(".c-card-container")[10];n&&t.observe(n);const o=e.querySelectorAll(".c-card-container")[20];o&&t.observe(o)},EQ=new Intl.DateTimeFormat("fr",{timeStyle:"short",timeZone:"Europe/Paris"}),qO=({layout:e,pageEndpoint:t,imgEndpoint:n,data:o})=>Array.isArray(o)?[]:(o?.brand?.node?.publishableContents?.edges||[])?.reduce((s,l)=>{if(!l?.node?.title||!l?.node?.label||!l?.node?.url||!l?.node?.published_at||!l?.node?.medias&&!l?.node?.photo?.node)return s;let c=l.node.medias??[];return l?.node?.editorial_model==="Story"&&l?.node?.photo?.node&&(c=Fh({photo:l.node.photo})),s.push({link:new URL(l.node.url,t).href,title:l.node.short_title||l.node.title,cardImageProps:{cover:Bp({medias:c,imgEndpoint:n}),...G2({medias:c,picto:l?.node?.picto,editorialModel:l?.node.editorial_model})},socialBarProps:{layout:e,commentCount:l.node.comments_count??0,shareCount:(l.node.facebook_count??0)+(l.node.pinterest_count??0),contentLegacyId:l.node?.legacy_id?.toString(),contentLink:new URL(l.node.url,t).href,commentAnchor:"mbrs-comments-container"},cardHeaderProps:{headline:{text:l.node.label,color:W2(l?.node?.rubric?.node?.themeColor?.node?.slug)},liveTime:EQ.format(new Date(l.node.published_at).getTime()).replace(":","h")},cardTitleProps:{cartridge:l?.node?.editorial_model==="Live"?"live":void 0},summaryProps:{children:l?.node?.lead??""},layout:e}),s},[]),_Q=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.endCursor),[o,s]=be.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=be.useState(e.defaultArticles),[p,m]=be.useState(!1),h=be.useCallback(()=>{m(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getLatestContentsCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,sourceExcluded:e.defaultVariablesForQuery.sourceExcluded,first:e.defaultVariablesForQuery.first,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=qO({layout:window.layout,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,data:S});c(C=>[...C,...T]),n(S?.brand?.node?.publishableContents?.pageInfo?.endCursor??null),s(S?.brand?.node?.publishableContents?.pageInfo?.hasNextPage??!1),Gu()}catch(S){console.error("20mn> Error while loading articles:",S)}},[t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.first,e.defaultVariablesForQuery.sourceExcluded]);return be.useEffect(()=>{p&&A()},[p,A]),be.useEffect(()=>{p&&m(!1)},[p]),be.useEffect(()=>{AQ()},[]),be.useMemo(()=>({isLoading:p,articles:l,hasNextPage:o,onLoadMore:h}),[l,p,o,h])},VO=({isSSR:e=!0,layout:t,articles:n,variablesForQuery:o,seeMoreButton:s})=>{const{isLoading:l,articles:c,hasNextPage:p,onLoadMore:m}=_Q({defaultArticles:n,defaultVariablesForQuery:o});return be.useEffect(()=>{l||V0()},[l]),a.jsxs(a.Fragment,{children:[a.jsx(w3,{layout:t,articles:c,seeMoreButton:p?{...s,disabled:l,onClick:m}:void 0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({latestArticlesContainer:{layout:t,articles:c,variablesForQuery:o,seeMoreButton:s}})} };`}})]})},wQ=({layout:e,newsletterProps:t,liveInProgressProps:n,lastArticlesProps:o})=>{const s=[{name:"latest-articles",title:"Derniers articles",tabColor:"red",content:e===ve.DESKTOP?a.jsxs(he,{gap:"xl",mt:"l",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx("div",{id:"latest-articles-container",children:a.jsx(VO,{...o})})}),a.jsxs("aside",{className:"o-lt-show__aside",children:[t&&a.jsx(Ng,{...t}),a.jsx("div",{style:{height:"163rem"},children:a.jsx("div",{className:"o-lt-show__stickywrap",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"})})}),a.jsx("div",{className:"o-lt-show__stickywrap",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_btf",variant:"PAVE"})})]})]}):a.jsx("div",{id:"latest-articles-container",children:a.jsx(VO,{...o})})},...n.cardOverviewProps.length>0?[{name:"direct",title:"Lives en cours",tabColor:"red",content:e===ve.DESKTOP?a.jsxs(he,{gap:"xl",mt:"l",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(O2,{...n})}),a.jsx("aside",{className:"o-lt-show__aside",children:t&&a.jsx(Ng,{...t})})]}):a.jsx(O2,{...n})}]:[]];return e===ve.DESKTOP?a.jsx(Mf,{tabItemActive:s[0].name,tabItems:s,mb:"l"}):a.jsx(Mf,{tabItemActive:s[0].name,tabItems:s,tabProps:{mx:"m"},mb:"l"})},SQ=[{componentName:Fd.DIRECT_BREADCRUMB,component:qn,expiration:300},{componentName:Fd.DIRECT_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:Fd.DIRECT_TABS,component:wQ,expiration:300},{componentName:Fd.DIRECT_META,component:Nn,expiration:3600*24*30},{componentName:Fd.DIRECT_HEADER_PAGE,component:Al,expiration:3600*24*30}],CQ=({pageEndpoint:e,data:t})=>Array.isArray(t)?[]:(t?.brand?.node?.tag?.node?.publishableContents?.edges||[])?.reduce((n,o)=>(!o?.node?.title||!o?.node?.url||n.push({title:o.node.title,url:new URL(o.node.url,e).href}),n),[]),TQ=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.endCursor),[o,s]=be.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=be.useState(e.defaultArticles),[p,m]=be.useState(!1),h=be.useCallback(()=>{m(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getTagArticlesWithCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,slug:e.defaultVariablesForQuery.slug,first:e.defaultVariablesForQuery.first,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=CQ({pageEndpoint:window.envVariables.pageEndpoint,data:S}),C={articles:[...l,...T],endCursor:S?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.endCursor??null,hasNextPage:S?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.hasNextPage??!1};c(I=>[...I,...T]),n(C.endCursor),s(C.hasNextPage),Gu()}catch(S){console.error("20mn> Error while loading articles:",S)}},[l,t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.first,e.defaultVariablesForQuery.slug]);return be.useEffect(()=>{p&&A()},[p,A]),be.useEffect(()=>{p&&m(!1)},[p]),be.useMemo(()=>({isLoading:p,articles:l,hasNextPage:o,onLoadMore:h}),[l,p,o,h])},NQ=({isSSR:e=!0,articles:t,variablesForQuery:n,seeMoreButton:o,linksSize:s,colsNumber:l})=>{const{isLoading:c,articles:p,hasNextPage:m,onLoadMore:h}=TQ({defaultArticles:t,defaultVariablesForQuery:n});return be.useEffect(()=>{c||V0()},[c]),a.jsxs(a.Fragment,{children:[a.jsx(y6,{articles:p,seeMoreButton:m?{...o,disabled:c,onClick:h}:void 0,linksSize:s,colsNumber:l}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsAiArticlesContainer:{articles:p,variablesForQuery:n,seeMoreButton:o,linksSize:s,colsNumber:l}})} };`}})]})},DQ=[{componentName:Vc.ELECTIONS_AI_ARTICLES_JSON_LD_BREADCRUMB,component:Oa,expiration:3600},{componentName:Vc.ELECTIONS_AI_ARTICLES_META,component:Nn,expiration:3600},{componentName:Vc.ELECTIONS_AI_ARTICLES_BREADCRUMB,component:qn,expiration:3600},{componentName:Vc.ELECTIONS_AI_ARTICLES_HEADER_PAGE,component:Xo,expiration:3600},{componentName:Vc.ELECTIONS_AI_ARTICLES_LIST,component:NQ,expiration:300}];function Y2(){if(this?.id)try{const e=document.getElementById(this.id);if(e){const t=e.getAttribute("value");if(t){const n=document.createElement("textarea");document.body.appendChild(n),n.value=t,n.select(),document.execCommand("copy"),document.body.removeChild(n)}}}catch(e){console.error("Oops, unable to copy",e)}}const RQ=()=>{const e=document.getElementById("goto-distribution"),t=document.getElementById("goto-european-map"),n=document.getElementById("goto-map"),o=document.getElementById("goto-statistics"),s=document.getElementById("goto-results");e&&e.addEventListener("click",Y2),t&&t.addEventListener("click",Y2),n&&n.addEventListener("click",Y2),o&&o.addEventListener("click",Y2),s&&s.addEventListener("click",Y2)},GO=(e,t)=>{const o=e.innerHTML.includes("candidats")?"candidats":"résultats";e.innerHTML=t?`Masquer tous les ${o}`:`Voir tous les ${o}`},OQ=(e,t)=>{e.setAttribute("aria-expanded","true"),GO(e,!0),t?.forEach(n=>{n.setAttribute("aria-hidden","false")})},IQ=(e,t)=>{t?.forEach(n=>{n.setAttribute("aria-hidden","true")}),e.setAttribute("aria-expanded","false"),GO(e,!1)},jQ=e=>{const t=e.currentTarget;if(e.preventDefault(),t instanceof HTMLButtonElement){const n=t.parentNode?.querySelectorAll(".js-toggle-target");t.getAttribute("aria-expanded")==="true"?IQ(t,n):OQ(t,n)}},MQ=(e=document.querySelector(".js-toggle-button"))=>{e&&document.querySelectorAll(".js-toggle-button").forEach(n=>{n.addEventListener("click",jQ)})},LQ=e=>{const t=document.querySelector(".c-search-banner");if(!t)return;const n=t.querySelector("[data-search-banner-expanded-source]"),o=t.querySelector("[data-search-banner-collapse]");!o||!n||(e?(n.setAttribute("aria-expanded","true"),o.setAttribute("aria-hidden","false")):(n.setAttribute("aria-expanded","false"),o.setAttribute("aria-hidden","true")))};let KO=!1;const kQ=()=>{if(KO)return;KO=!0;const e=document.getElementById("js-top-sentinel");if(!e)return;new IntersectionObserver(([n])=>{const o=n.isIntersecting;LQ(o)},{root:null,threshold:0}).observe(e)},WO=e=>{const t=e.querySelector(".c-search-banner");if(!(t instanceof HTMLElement))return;const n="c-search-banner--has-top-border";t.dataset.initialHasTopBorder??=String(t.classList.contains(n)),t.classList.toggle(n,t.dataset.initialHasTopBorder==="true"&&!e.classList.contains("u-sticky--on-top-screen"))},QO=(e,t,n)=>{n==="desktop"&&(t?(e.classList.remove("u-sticky"),e.classList.remove("u-sticky--under-header-mini")):(e.classList.add("u-sticky"),e.classList.add("u-sticky--under-header-mini"))),n==="mobile"&&(t?(e.classList.remove("u-sticky--under-header"),e.classList.add("u-sticky--on-top-screen")):(e.classList.remove("u-sticky--on-top-screen"),e.classList.add("u-sticky--under-header")),WO(e))},BQ=()=>{const e=document.getElementById("elections-form-container"),t=document.querySelector(".c-header-mini"),n=document.querySelector(".c-header-mobile"),o=document.querySelector('body[data-layout="mobile"]');e&&t&&new MutationObserver(l=>{const c=l[0],p=c.target;if(p instanceof HTMLElement&&c.type==="attributes"&&c.attributeName==="class"){const m=p.className.includes("c-header-mini--is-hidden");QO(e,m,"desktop")}}).observe(t,{attributes:!0}),o&&e&&n&&(e.classList.add("u-sticky"),e.classList.add("u-sticky--under-header"),WO(e),new MutationObserver(l=>{const c=l[0],p=c.target;if(p instanceof HTMLElement&&c.type==="attributes"&&c.attributeName==="class"){const m=p.className.includes("c-header-mobile--is-hidden");QO(e,m,"mobile")}}).observe(n,{attributes:!0}))},PQ=()=>{RQ(),MQ(),kQ(),BQ()},FQ=e=>{const[t,n]=be.useState(e.defaultMapConstituenciesProps),o=be.useCallback(async()=>{try{const s=await bi({url:"https://static.20mn.fr/elections/map-districts.json"});n(l=>({...l,mapDistrictsData:s}))}catch(s){console.error("20mn> Error while loading map data:",s)}},[]);return be.useEffect(()=>{o(),I3(),PQ()},[o]),be.useMemo(()=>({mapConstituenciesProps:t}),[t])},HQ=({isSSR:e=!0,mapConstituenciesProps:t,...n})=>{const{mapConstituenciesProps:o}=FQ({defaultMapConstituenciesProps:t}),s={electionName:"",electionYear:"",resultsPerDistrict:[],mapDistrictsData:{}};return a.jsxs(a.Fragment,{children:[a.jsx(rO,{mapConstituenciesProps:e?s:o,...n}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsConstituenciesMapContainer:{mapConstituenciesProps:t,...n}})} };`}})]})},UQ=e=>{const[t,n]=be.useState(e.defaultMapDepartmentsProps),o=be.useCallback(async()=>{try{const s=await bi({url:"https://static.20mn.fr/elections/map-departments.json"});n(l=>({...l,mapDepartmentsData:s}))}catch(s){console.error("20mn> Error while loading map data:",s)}},[]);return be.useEffect(()=>{o()},[o]),be.useMemo(()=>({mapDepartmentsProps:t}),[t])},zQ=({isSSR:e=!0,mapDepartmentsProps:t,...n})=>{const{mapDepartmentsProps:o}=UQ({defaultMapDepartmentsProps:t}),s={electionName:"",electionYear:"",resultsPerDepartment:[],mapDepartmentsData:{}};return a.jsxs(a.Fragment,{children:[a.jsx(nO,{mapDepartmentsProps:e?s:o,...n}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsDepartmentsMapContainer:{mapDepartmentsProps:t,...n}})} };`}})]})},qQ=e=>{const[t,n]=be.useState(e.defaultMapEuropeProps),o=be.useCallback(async()=>{try{const s=await Promise.all([bi({url:"https://static.20mn.fr/elections/map-eu-countries.json"}),bi({url:"https://static.20mn.fr/elections/map-non-eu-countries.json"})]);n(l=>({...l,mapEuCountriesData:s[0],mapNonEuCountriesData:s[1]}))}catch(s){console.error("20mn> Error while loading map data:",s)}},[]);return be.useEffect(()=>{o()},[o]),be.useMemo(()=>({mapEuropeProps:t}),[t])},VQ=({isSSR:e=!0,mapEuropeProps:t,...n})=>{const{mapEuropeProps:o}=qQ({defaultMapEuropeProps:t}),s={electionName:"",electionYear:"",resultsPerCountry:[],mapEuCountriesData:{},mapNonEuCountriesData:{}};return a.jsxs(a.Fragment,{children:[a.jsx(aO,{mapEuropeProps:e?s:o,...n}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsEuropeanMapContainer:{mapEuropeProps:t,...n}})} };`}})]})},GQ=e=>{const[t,n]=be.useState(e.defaultMapTownsByDepartmentsProps),o=be.useCallback(async()=>{try{const s=await bi({url:"https://static.20mn.fr/elections/map-departments-paths.json"}),l=await bi({url:"https://static.20mn.fr/elections/map-towns.svg",options:{headers:{"Content-Type":"image/svg+xml"}}}),c=await bi({url:"https://static.20mn.fr/elections/map-droms.json"});let p=[];try{p=await bi({url:`https://static.20mn.fr/elections/mn${e.defaultMapTownsByDepartmentsProps.electionYear}/electeds.json`})}catch(m){console.warn("20mn> Error while loading town results data:",m)}n(m=>({...m,townsSprite:l,departmentsPaths:s,dromsConfig:c,resultsPerTown:p}))}catch(s){console.error("20mn> Error while loading town map data:",s)}},[e.defaultMapTownsByDepartmentsProps.electionYear]);return be.useEffect(()=>{o()},[o]),be.useMemo(()=>({mapTownsByDepartmentsProps:t}),[t])},KQ=({isSSR:e=!0,mapTownsByDepartmentsProps:t,...n})=>{const{mapTownsByDepartmentsProps:o}=GQ({defaultMapTownsByDepartmentsProps:t}),s={layout:t.layout,resultsPerTown:[]};return a.jsxs(a.Fragment,{children:[a.jsx(iO,{mapTownsByDepartmentsProps:e?s:o,...n}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsMapTownsByDepartmentsContainer:{mapTownsByDepartmentsProps:t,...n}})} };`}})]})},dc=15,WQ=[{componentName:ar.ELECTIONS_JSON_LD_BREADCRUMB,component:Oa,expiration:3600},{componentName:ar.ELECTIONS_JSON_LD_FAQ,component:g6,expiration:3600},{componentName:ar.ELECTIONS_META,component:Nn,expiration:3600},{componentName:ar.ELECTIONS_BREADCRUMB,component:qn,expiration:3600},{componentName:ar.ELECTIONS_HEADER_PAGE,component:Xo,expiration:dc},{componentName:ar.ELECTIONS_RESULTS_FIRST_ROUND,component:nm,expiration:dc},{componentName:ar.ELECTIONS_RESULTS_MULTIPLE,component:oO,expiration:dc},{componentName:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_FIRST_ROUND,component:nm,expiration:dc},{componentName:ar.ELECTIONS_RESULTS_SECOND_ROUND,component:nm,expiration:dc},{componentName:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_SECOND_ROUND,component:nm,expiration:dc},{componentName:ar.ELECTIONS_DISTRIBUTION,component:tO,expiration:dc},{componentName:ar.ELECTIONS_MAP_DEPARTMENTS,component:zQ,expiration:dc},{componentName:ar.ELECTIONS_MAP_CONSTITUENCIES,component:HQ,expiration:dc},{componentName:ar.ELECTIONS_MAP_TOWNS_BY_DEPARTMENTS,component:KQ,expiration:dc},{componentName:ar.ELECTIONS_MAP_EUROPEAN,component:VQ,expiration:dc},{componentName:ar.ELECTIONS_SUMMARY,component:uO,expiration:dc},{componentName:ar.ELECTIONS_INSEE_BLOCK,component:_3,expiration:3600*24*1},{componentName:ar.ELECTIONS_SIDE_LOCALITIES_TOP,component:xl,expiration:3600},{componentName:ar.ELECTIONS_SIDE_LOCALITIES_BOTTOM,component:xl,expiration:3600},{componentName:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL,component:zu,expiration:300},{componentName:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL_BIS,component:zu,expiration:300},{componentName:ar.ELECTIONS_RESULTS_FILTERED,component:sO,expiration:dc},{componentName:ar.ELECTIONS_REFRESH_BUTTON,component:S9,expiration:3600}],QQ=[{componentName:U1.ERROR_CONTENT,component:nP,expiration:3600*24*30},{componentName:U1.ERROR_META,component:Nn,expiration:3600*24*30}],Ku=3600*24*30,YQ=[{componentName:Vn.GAME_BREADCRUMB,component:qn,expiration:Ku},{componentName:Vn.GAME_HEADER_PAGE,component:Y5,expiration:Ku},{componentName:Vn.GAME_META,component:Nn,expiration:Ku},{componentName:Vn.GAME_JSON_LD_BREADCRUMB,component:Oa,expiration:Ku},{componentName:Vn.GAME_JSON_LD_FAQ,component:g6,expiration:Ku},{componentName:Vn.GAME_IFRAME,component:M5,expiration:Ku},{componentName:Vn.GAME_FAQ,component:KD,expiration:Ku},{componentName:Vn.GAME_CONTENT,component:ye,expiration:Ku},{componentName:Vn.GAME_CONTACT,component:WD,expiration:Ku},{componentName:Vn.GAME_LIST,component:$5,expiration:Ku},{componentName:Vn.GAME_APP_FOOTER,component:u9,expiration:Ku},{componentName:Vn.GAME_APP_HEADER_PAGE,component:Y5,expiration:Ku},{componentName:Vn.GAME_APP_LIST,component:$5,expiration:Ku},{componentName:Vn.GAME_APP_IFRAME,component:M5,expiration:Ku},{componentName:Vn.GAME_APP_AD,component:A9,expiration:Ku}],YO=e=>e instanceof HTMLAnchorElement?e.href:e instanceof Element&&e.closest("a")?.href||"",ZQ=()=>{window.datalayerInfo?.pageName==="home"&&document.querySelectorAll("div#local-news-container div.c-card-container a").forEach(e=>{e.addEventListener("click",t=>{t.stopPropagation(),t.preventDefault();const n=YO(t.target);MO({name:"local_news_content",type:"action",customProps:{cta_context:"home",cta_type:"card",cta_destination:n,cta_engagement:1}}),window.location.href=n})})},$Q=()=>{!window.datalayerInfo?.pageName||!["article","live"].includes(window.datalayerInfo?.pageName)||document.querySelectorAll("div.c-tabpanel article a").forEach(e=>{e.addEventListener("click",t=>{t.stopPropagation(),t.preventDefault();const n=YO(t.target);MO({name:"most_read_content",type:"action",customProps:{cta_context:"content",cta_type:"link",cta_destination:n,cta_engagement:1},chapter1:"widget"}),window.location.href=n})})},t8=e=>e!=null,ZO=()=>[{title:"Ain",value:"ain"},{title:"Aisne",value:"aisne"},{title:"Allier",value:"allier"},{title:"Alpes-de-Haute-Provence",value:"alpes_de_haute_provence"},{title:"Alpes-Maritimes",value:"alpes-maritimes"},{title:"Ardèche",value:"ardeche"},{title:"Ardennes",value:"ardennes"},{title:"Ariège",value:"ariege"},{title:"Aube",value:"aube"},{title:"Aude",value:"aude"},{title:"Aveyron",value:"aveyron"},{title:"Bas-Rhin",value:"bas_rhin"},{title:"Bouches-du-Rhône",value:"bouches-rhone"},{title:"Calvados",value:"calvados"},{title:"Cantal",value:"cantal"},{title:"Charente",value:"charente"},{title:"Charente-Maritime",value:"charente-maritime"},{title:"Cher",value:"cher"},{title:"Correze",value:"correze"},{title:"Corse-du-Sud",value:"corse-sud"},{title:"Côte-d'Or",value:"cote_d_or"},{title:"Côtes-d'Armor",value:"cotes_d_armor"},{title:"Creuse",value:"creuse"},{title:"Deux-Sèvres",value:"deux-sevres"},{title:"Dordogne",value:"dordogne"},{title:"Doubs",value:"doubs"},{title:"Drôme",value:"drome"},{title:"Essonne",value:"essonne"},{title:"Eure",value:"eure"},{title:"Eure-et-Loir",value:"eure_et_loire"},{title:"Finistère",value:"finistere"},{title:"Gard",value:"gard"},{title:"Gers",value:"gers"},{title:"Gironde",value:"gironde"},{title:"Guadeloupe",value:"guadeloupe"},{title:"Guyane",value:"guyane"},{title:"Haut-Rhin",value:"haut-rhin"},{title:"Haute-Corse",value:"haute-corse"},{title:"Haute-Garonne",value:"haute-garonne"},{title:"Haute-Loire",value:"haute-loire"},{title:"Haute-Marne",value:"haute-marne"},{title:"Haute-Saône",value:"haute-saone"},{title:"Haute-Vienne",value:"haute-vienne"},{title:"Hautes-Alpes",value:"hautes-alpes"},{title:"Hautes-Pyrénées",value:"hautes_pyrenees"},{title:"Hauts-de-Seine",value:"hauts-de-seine"},{title:"Hérault",value:"herault"},{title:"Ille-et-Vilaine",value:"ille_et_vilaine"},{title:"Indre",value:"indre"},{title:"Indre-et-Loire",value:"indre-loire"},{title:"Isère",value:"isere"},{title:"Jura",value:"jura"},{title:"Landes",value:"landes"},{title:"Loir-et-Cher",value:"loir-cher"},{title:"Loire",value:"loire"},{title:"Loire-Atlantique",value:"loire-atlantique"},{title:"Loiret",value:"loiret"},{title:"Lot",value:"lot"},{title:"Lot-et-Garonne",value:"lot_et_garonne"},{title:"Lozère",value:"lozere"},{title:"Maine-et-Loire",value:"maine-et-loire"},{title:"Manche",value:"manche"},{title:"Marne",value:"marne"},{title:"Martinique",value:"martinique"},{title:"Mayenne",value:"mayenne"},{title:"Mayotte",value:"mayotte"},{title:"Meurthe-et-Moselle",value:"meurthe-et-moselle"},{title:"Meuse",value:"meuse"},{title:"Morbihan",value:"morbihan"},{title:"Moselle",value:"moselle"},{title:"Nièvre",value:"nievre"},{title:"Nord",value:"nord"},{title:"Oise",value:"oise"},{title:"Orne",value:"orne"},{title:"Paris",value:"paris"},{title:"Pas-de-Calais",value:"pas-de-calais"},{title:"Puy de Dôme",value:"puy-dome"},{title:"Pyrénées-Atlantiques",value:"pyrenees-atlantiques"},{title:"Pyrénées-Orientales",value:"pyrenees_orientales"},{title:"Rhône",value:"rhone"},{title:"Saône-et-Loire",value:"saone_et_loire"},{title:"Sarthe",value:"sarthe"},{title:"Savoie",value:"savoie"},{title:"Seine-et-Marne",value:"seine-et-marne"},{title:"Seine-Maritime",value:"seine_maritime-1"},{title:"Seine-Saint-Denis",value:"seine-saint-denis"},{title:"Somme",value:"somme"},{title:"Tarn",value:"tarn"},{title:"Tarn-et-Garonne",value:"tarn_et_garonne"},{title:"Territoire de Belfort",value:"territoire-belfort"},{title:"Val-d'Oise",value:"val_d_oise"},{title:"Val-de-Marne",value:"val-de-marne"},{title:"Var",value:"var"},{title:"Vaucluse",value:"vaucluse"},{title:"Vendée",value:"vendee"},{title:"Vienne",value:"vienne-france"},{title:"Vosges",value:"vosges"},{title:"Yonne",value:"yonne"},{title:"Yvelines",value:"yvelines"}],$O=e=>{let t;return e?.forEach(n=>{const o=ZO().find(s=>s.value===n?.node?.slug);o&&(t=o)}),t?t.title:""},JO=({data:e,pageEndpoint:t,layout:n})=>(e?.brand?.node?.tag?.node?.publishableContents?.edges||[])?.reduce((o,s)=>{if(s?.node?.rubric?.node?.label&&s?.node?.title&&s?.node?.url&&s?.node?.tags?.edges){const l=s.node.tags.edges.filter(t8);o.push({link:new URL(s.node.url,t).href,title:JP(s?.node?.short_title||s.node.title),cardHeaderProps:{headline:{text:s?.node?.label||s.node.rubric.node.label},location:$O(l)},socialBarProps:{layout:n,commentCount:s.node?.comments_count??0,shareCount:(s.node?.facebook_count??0)+(s.node?.pinterest_count??0),contentLegacyId:s.node?.legacy_id?.toString()}})}return o},[]),JQ=e=>{const[t,n]=be.useState(e.defaultArticles),[o,s]=be.useState(!1),[l,c]=be.useState("locales"),[p,m]=be.useState(e.defaultSeeMoreLink.href),h=be.useCallback(w=>{c(w.target.value),s(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getHomeLocalNews&variables=${encodeURIComponent(JSON.stringify({...e.variablesForQuery,slug:l}))}`,options:{headers:_}}];try{const S=await bi(...D),T=JO({data:S,pageEndpoint:window.envVariables.pageEndpoint,layout:window.layout});m(new URL(S?.brand?.node?.tag?.node?.url_current??"",window.envVariables.pageEndpoint).href),n(T)}catch(S){console.error("20mn> Error while loading articles:",S)}},[e.variablesForQuery,l]);return be.useEffect(()=>{o&&A()},[o,A]),be.useEffect(()=>{o&&s(!1),ZQ()},[o]),be.useMemo(()=>({isLoading:o,articles:t,tagUrl:p,onDepartmentChange:h}),[t,o,p,h])},XQ=({isSSR:e=!0,articles:t,variablesForQuery:n,seeMoreLink:o,selectProps:s,...l})=>{const{isLoading:c,articles:p,tagUrl:m,onDepartmentChange:h}=JQ({defaultArticles:t,defaultSeeMoreLink:o,variablesForQuery:n});return a.jsxs(a.Fragment,{children:[a.jsx(hO,{...l,articles:p,variablesForQuery:n,seeMoreLink:{href:m},selectProps:{...s,disabled:c,onChange:h}}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({localNewsContainer:{articles:p,variablesForQuery:n,selectProps:s,seeMoreLink:o,...l}})} };`}})]})},ii=15,eY=[{componentName:kr.HOME_META,component:Nn,expiration:3600*24*30},{componentName:kr.HOME_ARTICLES_LIST_TOP,component:pO,expiration:ii},{componentName:kr.HOME_FEATURED_TAG,component:Wd,expiration:ii},{componentName:kr.HOME_SECOND_ARTICLES_LIST_MOBILE,component:jl,expiration:ii},{componentName:kr.HOME_ARTICLES_LIST_BOTTOM,component:dO,expiration:ii},{componentName:kr.HOME_MOST_READ_ASIDE,component:s6,expiration:ii},{componentName:kr.HOME_THIRD_ARTICLES_LIST_MOBILE,component:jl,expiration:ii},{componentName:kr.HOME_LOCAL_NEWS,component:XQ,expiration:ii},{componentName:kr.HOME_TV_BLOCK,component:gO,expiration:ii},{componentName:kr.HOME_GAMES_CAROUSEL,component:fO,expiration:ii},{componentName:kr.HOME_CURRENT_VIDEOS,component:q2,expiration:ii},{componentName:kr.HOME_ENTERTAINMENT,component:q2,expiration:ii},{componentName:kr.HOME_SPORT,component:q2,expiration:ii},{componentName:kr.HOME_IN_PICTURES,component:q2,expiration:ii},{componentName:kr.HOME_TEMPO,component:Wd,expiration:ii},{componentName:kr.HOME_HIGH_TECH,component:Wd,expiration:ii},{componentName:kr.HOME_PLANET,component:Wd,expiration:ii},{componentName:kr.HOME_PROFESSIONAL_LIFE,component:Wd,expiration:ii},{componentName:kr.HOME_CONSO,component:Wd,expiration:ii},{componentName:kr.HOME_PODCASTS,component:Wd,expiration:ii},{componentName:kr.HOME_PURCHASE_GUIDE,component:Wd,expiration:ii},{componentName:kr.HOME_DISCOVER_NOW,component:Wd,expiration:ii},{componentName:kr.HOME_CITY_BY_CITY,component:cO,expiration:ii},{componentName:kr.HOME_PARTNERS,component:vO,expiration:ii},{componentName:kr.HOME_MOVIES,component:J5,expiration:ii},{componentName:kr.HOME_TV_PROGRAM,component:J5,expiration:ii},{componentName:kr.HOME_MUNICIPAL_BLOCK,component:mO,expiration:ii}],nd=3600*24*7,tY=[{componentName:wa.JOBS_JSON_LD_BREADCRUMB,component:Oa,expiration:nd},{componentName:wa.JOBS_META,component:Nn,expiration:nd},{componentName:wa.JOBS_BREADCRUMB,component:qn,expiration:nd},{componentName:wa.JOBS_HEADER_PAGE,component:Xo,expiration:nd},{componentName:wa.JOBS_COVER,component:kd,expiration:nd},{componentName:wa.JOBS_CARDS_LIST,component:jl,expiration:nd},{componentName:wa.JOBS_BUSINESS_SECTORS_LIST,component:xl,expiration:nd},{componentName:wa.JOBS_PROFESSIONAL_LIFE_ARTICLES,component:zu,expiration:nd},{componentName:wa.JOBS_RELATED_JOBS_CATEGORY,component:zu,expiration:nd},{componentName:wa.JOBS_PROPERTIES,component:ZD,expiration:nd},{componentName:wa.JOBS_ENCLOSE_BANNER,component:_3,expiration:nd},{componentName:wa.JOBS_FAQ,component:I5,expiration:nd}],XO=({pageEndpoint:e,imgEndpoint:t,data:n,layout:o})=>Array.isArray(n)?[]:(n?.brand?.node?.publishableContents?.edges||[])?.reduce((s,l)=>{if(!l?.node?.title||!l?.node?.label||!l?.node?.url||!l?.node?.medias&&!l?.node?.photo?.node)return s;const c=l?.node?.editorial_model===Lf.Story;let p=l.node.medias?l.node.medias.filter(t8):[];return c&&l?.node?.photo?.node&&(p=Fh({photo:l.node.photo})),s.push({link:new URL(l.node.url,e).href,title:l.node.short_title||l.node.title,cardImageProps:{cover:Bp({medias:p,imgEndpoint:t}),...G2({medias:p,picto:l?.node?.picto,editorialModel:l?.node.editorial_model})},cardHeaderProps:{headline:{text:l.node.label,color:W2(l?.node?.rubric?.node?.themeColor?.node?.slug)},rightSubheader:{text:l.node.published_at||""}},cardTitleProps:{cartridge:l?.node?.editorial_model==="Live"?"live":void 0},socialBarProps:{layout:o,disableComment:c?!1:!l.node.enable_comments,variant:"card",contentLink:new URL(l.node.url,e).href,commentAnchor:"mbrs-comments-container",commentCount:l.node.comments_count??0,shareCount:l.node.facebook_count??0,contentLegacyId:l.node?.legacy_id?.toString()}}),s},[]),rY=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.endCursor),[o,s]=be.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=be.useState(e.defaultArticles),[p,m]=be.useState(!1),h=be.useCallback(()=>{m(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getUserBackArticlesWithCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,userBackId:e.defaultVariablesForQuery.userBackId,first:10,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=XO({pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,data:S,layout:window.layout});c(C=>[...C,...T]),n(S?.brand?.node?.publishableContents?.pageInfo?.endCursor||null),s(S?.brand?.node?.publishableContents?.pageInfo?.hasNextPage||!1),Gu()}catch(S){console.error("20mn> Error while loading articles:",S)}},[t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.userBackId]);return be.useEffect(()=>{p&&A()},[p,A]),be.useEffect(()=>{p&&m(!1)},[p]),be.useMemo(()=>({isLoading:p,articles:l,hasNextPage:o,onLoadMore:h}),[l,p,o,h])},nY=({isSSR:e=!0,layout:t,articles:n,variablesForQuery:o,seeMoreButton:s,currentPagePath:l,tagTotalArticles:c,columnsNumber:p,heading:m})=>{if(n.length===0)return null;const{isLoading:h,articles:A,hasNextPage:w,onLoadMore:_}=rY({defaultArticles:n,defaultVariablesForQuery:o});be.useEffect(()=>{h||V0()},[h]);const D=A.map(S=>({...S,...S.cardImageProps&&{cardImageProps:{...S.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), calc(50vw - 16px)"}}}));return a.jsxs(a.Fragment,{children:[a.jsx(jl,{layout:t,articles:D,seeMoreButton:w?{...s,disabled:h,onClick:_}:void 0,currentPagePath:l,tagTotalArticles:c,columnsNumber:p,heading:m}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({journalistArticleListContainer:{layout:t,articles:D,variablesForQuery:o,seeMoreButton:s,heading:m}})} };`}})]})},Z2=3600*24,aY=[{componentName:lc.JOURNALIST_JSON_LD_BREADCRUMB,component:Oa,expiration:Z2},{componentName:lc.JOURNALIST_META,component:Nn,expiration:Z2},{componentName:lc.JOURNALIST_BREADCRUMB,component:qn,expiration:Z2},{componentName:lc.JOURNALIST_HEADER_PAGE,component:Xo,expiration:Z2},{componentName:lc.JOURNALIST_MAIN_INFORMATION_BLOCK,component:yO,expiration:Z2},{componentName:lc.JOURNALIST_ARTICLES,component:nY,expiration:300}],$2=3600*24*30,iY=[{componentName:Gc.LA21E_BREADCRUMB,component:qn,expiration:$2},{componentName:Gc.LA21E_HEADER_PAGE,component:Xo,expiration:$2},{componentName:Gc.LA21E_JSON_LD_BREADCRUMB,component:Oa,expiration:$2},{componentName:Gc.LA21E_META,component:Nn,expiration:$2},{componentName:Gc.LA21E_CARDS_LIST,component:V2,expiration:$2}],r8=e=>{const t=[];return e.legalNotices.forEach(n=>{const o=n?.node;t.push({link:o?.external_id?new URL(`/al/${o?.external_id}`,e.legalNoticeEndpoint).href:"",title:o?.title??void 0,location:o?.legalNoticeDepartment?.node?.name||"",summaryProps:{children:o?.publishing_date?`Publié le ${d6(new Date(o.publishing_date),!1)}`:f6(new Date(Date.now()).toLocaleString())},cardTitleProps:{...o?.external_id?{as:"a",href:new URL(`/al/${o?.external_id}`,e.legalNoticeEndpoint).href,className:"opacity-hover"}:{}}})}),t},n8=e=>e!=null,oY=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.endCursor),[o,s]=be.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=be.useState(e.legalNotices),[p,m]=be.useState(!1),h=be.useCallback(()=>{m(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getLegalNoticesFromDept&variables=${encodeURIComponent(JSON.stringify({slug:e.defaultVariablesForQuery.slug,first:10,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=S?.legalNotices?.edges?.filter(n8)??[],C=r8({legalNotices:T,legalNoticeEndpoint:window.location.origin});c(I=>[...I,...C]),n(S?.legalNotices?.pageInfo?.endCursor||null),s(S?.legalNotices?.pageInfo?.hasNextPage||!1),Gu()}catch(S){console.error("20mn> Error while loading annnouncements:",S)}},[t,e.defaultVariablesForQuery.slug]);return be.useEffect(()=>{p&&A()},[p,A]),be.useEffect(()=>{p&&m(!1)},[p]),be.useMemo(()=>({isLoading:p,legalNotices:l,hasNextPage:o,onLoadMore:h}),[l,p,o,h])},sY=({isSSR:e=!0,variablesForQuery:t,legalNotices:n})=>{const{isLoading:o,legalNotices:s,hasNextPage:l,onLoadMore:c}=oY({legalNotices:n,defaultVariablesForQuery:t});return be.useEffect(()=>{o||V0()},[o]),a.jsxs(a.Fragment,{children:[a.jsx(S3,{legalNotices:s,seeMoreLegalNotices:l?{disabled:o,onClick:c,children:"Voir plus d’annonces légales"}:void 0,mx:{xs:"m",md:"0"}}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({legalNoticeDepartmentContainer:{legalNotices:s,variablesForQuery:t}})} };`}})]})},uY=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.endCursor),[o,s]=be.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=be.useState(e.legalNotices),[p,m]=be.useState(!1),h=be.useCallback(()=>{m(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getLegalNotices&variables=${encodeURIComponent(JSON.stringify({first:10,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=S?.legalNotices?.edges?.filter(n8)??[],C=r8({legalNotices:T,legalNoticeEndpoint:window.location.origin});c(I=>[...I,...C]),n(S?.legalNotices?.pageInfo?.endCursor||null),s(S?.legalNotices?.pageInfo?.hasNextPage||!1),Gu()}catch(S){console.error("20mn> Error while loading annnouncements:",S)}},[t]);return be.useEffect(()=>{p&&A()},[p,A]),be.useEffect(()=>{p&&m(!1)},[p]),be.useMemo(()=>({isLoading:p,legalNotices:l,hasNextPage:o,onLoadMore:h}),[l,p,o,h])},lY=({isSSR:e=!0,variablesForQuery:t,legalNotices:n})=>{const{isLoading:o,legalNotices:s,hasNextPage:l,onLoadMore:c}=uY({legalNotices:n,defaultVariablesForQuery:t});return be.useEffect(()=>{o||V0()},[o]),a.jsxs(a.Fragment,{children:[a.jsx(S3,{legalNotices:s,seeMoreLegalNotices:l?{disabled:o,onClick:c,children:"Voir plus d’annonces légales"}:void 0,mx:{xs:"m",md:"0"}}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({legalNoticeHomeContainer:{legalNotices:s,variablesForQuery:t}})} };`}})]})},im=3600*24,cY=[{componentName:la.LEGAL_NOTICE_JSON_LD_BREADCRUMB,component:Oa,expiration:im},{componentName:la.LEGAL_NOTICE_META,component:Nn,expiration:im},{componentName:la.LEGAL_NOTICE_BREADCRUMB,component:qn,expiration:im},{componentName:la.LEGAL_NOTICE_HEADER_PAGE,component:Xo,expiration:im},{componentName:la.LEGAL_NOTICE_FAQ,component:Pg,expiration:im},{componentName:la.LEGAL_NOTICE_DEPARTMENTS_LIST,component:xl,expiration:3600},{componentName:la.LEGAL_NOTICE_REGIONS_LIST,component:xl,expiration:3600},{componentName:la.LEGAL_NOTICE_CARDS_LIST,component:lY,expiration:3600},{componentName:la.LEGAL_NOTICE_CONTENT,component:$D,expiration:im},{componentName:la.LEGAL_NOTICE_CARDS_LIST_DETAIL,component:S3,expiration:3600},{componentName:la.LEGAL_NOTICE_CARDS_LIST_DEPARTMENT,component:sY,expiration:3600}],dY=()=>{window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(e=>{const t=Array.from(document.getElementsByClassName("embed-placeholder")),n=e.getCurrentUserStatus(),o=n?.purposes?.["activation-gGierZpp"]?.enabled;t.forEach(s=>{const l=s.querySelector(".cmp-placeholder"),c=s.querySelector(".embed-wrapper");if(!(!(l instanceof Element)||!(c instanceof Element))){if(!(o&&(n?.vendors[s.getAttribute("data-vendor")||""]?.enabled??!0))){l.classList.remove("u-hidden"),c.classList.add("u-hidden");return}l.classList.add("u-hidden"),c.classList.remove("u-hidden"),c.querySelectorAll("[data-src]").forEach(p=>{const m=p.getAttribute("data-src");m&&(p.setAttribute("src",m),p.removeAttribute("data-src"))})}})})},fY=["nfb_1","nfb_2","article_btf","pave_com","pave_home","inread","pave_article","article_mtf","native_web"],eI=()=>{fY.forEach(e=>{const t=`#dfp_${e}`,o=[...document.querySelectorAll(t)].filter(l=>l instanceof HTMLElement);for(let l=0;l<=20;l+=1){const c=document.getElementById(`dfp_${e}_${l}`);c&&o.push(c)}let s=0;o.forEach(l=>{s===0?l.id=`dfp_${e}`:l.id=`dfp_${e}_${s}`,s+=1})})},pY=e=>{switch(e){case _p.default:case _p.important:case _p.community:case _p.faq:case _p.bold:return e;case _p.very_important:return"crucial";default:return"default"}},tI=(e,t)=>Array.isArray(e)?[]:(e?.brand?.node?.live?.node?.livePosts?.edges||[])?.reduce((n,o)=>{if(!o)return n;let s=o?.node?.content_md?.blocks;if(s){const p=[...s],m=p?.slice(-1);m?.[0]?.text===""&&m?.[0]?.type==="unstyled"&&(p.pop(),s=p)}let l;o?.node?.comment?.node&&(l={question:o.node.comment.node.content||"",author:o.node.comment.node.userFront?.node?.username||"",response:s?.[0]?.text});const c=o.node?.legacy_id;return c&&n.push({cursor:o?.cursor||null,id:c,title:{status:pY(o?.node?.type),header:o?.node?.printed_hour||"",title:o?.node?.title||"",img:o?.node?.livePostLabel?.node&&t?{name:o.node.livePostLabel.node.slug||"",src:o.node.livePostLabel.node.logo?`${t}/${o.node.livePostLabel.node.logo}`:""}:void 0},content:l?void 0:{entityMap:{},...o?.node?.content_md,blocks:s??[]},talk:l}),n},[]),hY=e=>{if(e.some(({content:n})=>Object.values(n?.entityMap||{}).some(({type:o,data:s})=>o==="iframely"&&s?.embedProps?.meta?.site==="idalgo"&&s?.embedProps?.meta?.type==="widget"))){if(window?.iDalgoLoader){window.iDalgoLoader.init();return}g9({name:"widget_live-posts",src:"https://20minutes.idalgo-hosting.com/partners/i/cache/datasport/cache/page/r_js_jlu_url.php",load:"async"})}},rI=e=>{const t=e.filter(({content:n})=>Object.values(n?.entityMap||{}).some(({type:o,data:s})=>o==="iframely"&&(s?.embedProps?.js||s?.embedProps?.css)));t.length&&t.forEach(({content:n})=>{Object.values(n?.entityMap||{}).forEach(({type:o,data:s})=>{if(o==="iframely"&&(s?.embedProps?.js||s?.embedProps?.css)){const{js:l=[],css:c=[]}=s?.embedProps||{};l.length&&l.forEach((p,m)=>{g9({name:`embed_live-posts-${m}`,src:p,load:"async"})}),c.length&&c.forEach(p=>{const m=document.createElement("link");m.type="text/css",m.rel="stylesheet",m.href=p,document.head.appendChild(m)})}})})},k3=()=>{const{hash:e}=new URL(window.location.href),t=e.match(/#post-(\d+)/);return t?Number(t[1]):null},nI=async({first:e,after:t,filter:n,brandId:o,liveId:s})=>{const{apiHost:l}=document.body.dataset,c=new Headers;window.envVariables?.apiAuthKey&&c.append("auth-key",window.envVariables.apiAuthKey);const p=[{url:`${l}/?id=getLivePosts&variables=${encodeURIComponent(JSON.stringify({brandId:o,liveId:s,first:e,after:t,filter:n}))}`,options:{headers:c}}],m=await bi(...p),h=tI(m,document.body.dataset.staticHost),A=m?.brand?.node?.live?.node?.livePosts?.pageInfo??null;return{nextPosts:h,pageInfo:A}},aI=async({batchSize:e,after:t,filter:n,brandId:o,liveId:s,accumulatedPosts:l,anchorPostId:c})=>{const{nextPosts:p,pageInfo:m}=await nI({first:100,after:t,filter:n,brandId:o,liveId:s}),h=[...l,...p],A=m?.endCursor??null,w=m?.hasNextPage??!1,_=h.findIndex(D=>D.id===c);if(_!==-1){const S=Math.ceil((_+1)/e)*e,T=S>h.length?h[h.length-1].cursor:h[S-1].cursor,C=h.length>S?!0:w;return{nextPosts:h.slice(0,S),pageInfo:{endCursor:T,hasNextPage:C}}}return w&&A?aI({batchSize:e,after:t,filter:n,brandId:o,liveId:s,accumulatedPosts:h,anchorPostId:c}):{nextPosts:[],pageInfo:m}},mY=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.endCursor),[o,s]=be.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=be.useState(e.defaultPosts),[p,m]=be.useState(!1),[h,A]=be.useState(!1),w=be.useCallback(()=>{m(!0)},[]),_=be.useCallback(async()=>{const D=k3(),S=e.defaultVariablesForQuery.first,{filter:T,brandId:C,liveId:I}=e.defaultVariablesForQuery;try{if(D&&!h&&T?.type?.eq!==_p.very_important){const{nextPosts:L}=await aI({batchSize:S,after:t,filter:T,brandId:C,liveId:I,accumulatedPosts:[],anchorPostId:D});c(P=>[...P,...L]),A(!!D),rI(L)}else{const{nextPosts:L,pageInfo:P}=await nI({first:S,after:t,filter:T,brandId:C,liveId:I});n(P?.endCursor??null),s(P?.hasNextPage??!1),c(q=>[...q,...L]),rI(L)}Gu()}catch(L){console.error("20mn> Error while loading posts:",L)}},[t,h,e.defaultVariablesForQuery]);return be.useEffect(()=>{k3()&&!document.getElementById(`post-${k3()}`)&&m(!0)},[]),be.useEffect(()=>{document.querySelector(`#tabpanel-le-direct #post-${k3()}`)?.scrollIntoView({behavior:"smooth",block:"start"})},[]),be.useEffect(()=>{p&&_(),hY(l),eI(),dY()},[p,_,l]),be.useEffect(()=>{p&&m(!1)},[p]),be.useEffect(()=>{eI()},[]),be.useMemo(()=>({isLoading:p,posts:l,hasNextPage:o,onLoadMore:w}),[p,l,o,w])},a8=({isSSR:e=!0,posts:t,variablesForQuery:n,seeMoreLink:o,staticHydrationDataName:s="livePostsContainer",disableAds:l,...c})=>{const{isLoading:p,posts:m,hasNextPage:h,onLoadMore:A}=mY({defaultPosts:t,defaultVariablesForQuery:n});return a.jsxs(a.Fragment,{children:[a.jsx(xO,{...c,posts:m,variablesForQuery:n,disableAds:l,seeMoreLink:h?{...o,disabled:p,onClick:A}:void 0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({[s]:{posts:$P(m),variablesForQuery:n,seeMoreLink:o,disableAds:l,...c}})} };`}})]})},vY=[{componentName:hu.LIVE_INDICATOR,component:B5,expiration:300},{componentName:hu.LIVE_TOP_CONTENT,component:tm,expiration:3600*24},{componentName:hu.LIVE_POSTS_THREAD,component:a8,expiration:60},{componentName:hu.LIVE_IMPORTANT_POSTS_THREAD,component:a8,expiration:60},{componentName:hu.LIVE_JSON_LD_LIVE_BLOG_POSTING,component:_9,expiration:300},{componentName:hu.LIVE_QUESTION,component:sP,expiration:3600*24},{componentName:hu.LIVE_PRELOAD,component:q1,expiration:3600*24*30}],J2=3600*24*30,gY=[{componentName:Kc.MOBILE_APPS_BREADCRUMB,component:qn,expiration:J2},{componentName:Kc.MOBILE_APPS_HEADER_PAGE,component:Xo,expiration:J2},{componentName:Kc.MOBILE_APPS_JSON_LD_BREADCRUMB,component:Oa,expiration:J2},{componentName:Kc.MOBILE_APPS_META,component:Nn,expiration:J2},{componentName:Kc.MOBILE_APPS_CARDS_LIST,component:V2,expiration:J2}],yY=15,i8=3600*24*30,bY=[{componentName:D0.MOST_COMMENTED_HEADER_PAGE,component:Al,expiration:i8},{componentName:D0.MOST_COMMENTED_BREADCRUMB,component:qn,expiration:i8},{componentName:D0.MOST_COMMENTED_ARTICLES,component:M3,expiration:yY},{componentName:D0.MOST_COMMENTED_META,component:Nn,expiration:i8}],iI=({layout:e,pageEndpoint:t,imgEndpoint:n,data:o,lastNumber:s=0})=>Array.isArray(o)?[]:(o?.brand?.node?.publishableContents?.edges||[])?.reduce((l,c,p)=>{if(!c?.node?.title||!c?.node?.label||!c?.node?.url||!c?.node?.published_at||!c?.node?.medias&&!c?.node?.photo?.node)return l;let m=c.node.medias??[];return c?.node?.editorial_model==="Story"&&c?.node?.photo?.node&&(m=Fh({photo:c.node.photo})),l.push({link:new URL(c.node.url,t).href,title:c.node.title,cardImageProps:{cover:Bp({medias:m,imgEndpoint:n})},cardHeaderProps:{headline:{text:c.node.label}},cardTitleProps:{cartridge:c?.node?.editorial_model==="Live"?"live":void 0},summaryProps:{children:c?.node?.lead??""},layout:e,cardNumber:{value:s+p+1,size:"medium"},viewCount:c?.node?.total_current_visits||0}),l},[]),xY=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.hasNextPage),[o,s]=be.useState(e.defaultItems),[l,c]=be.useState(!1),p=be.useCallback(()=>{c(!0)},[]),m=be.useCallback(async()=>{const{apiHost:h}=document.body.dataset,A=new Headers;window.envVariables?.apiAuthKey&&A.append("auth-key",window.envVariables.apiAuthKey);const w=[{url:`${h}/?id=getMostReadContents&variables=${encodeURIComponent(JSON.stringify({first:e.defaultVariablesForQuery.first,brandId:e.defaultVariablesForQuery.brandId,excludeModel:e.defaultVariablesForQuery.excludeModel,after:e.defaultVariablesForQuery.endCursor}))}`,options:{headers:A}}];try{const _=await bi(...w),D=iI({layout:window.layout,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,data:_,lastNumber:e.defaultVariablesForQuery.first});s(S=>[...S,...D||[]]),n(!1),Gu()}catch(_){console.error("20mn> Error while loading contents:",_)}},[e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.endCursor,e.defaultVariablesForQuery.excludeModel,e.defaultVariablesForQuery.first]);return be.useEffect(()=>{l&&m()},[l,m]),be.useEffect(()=>{l&&c(!1)},[l]),be.useMemo(()=>({isLoading:l,items:o,hasNextPage:t,onLoadMore:p}),[l,o,t,p])},AY=({isSSR:e=!0,items:t,variablesForQuery:n,seeMoreButton:o})=>{const{isLoading:s,items:l,hasNextPage:c,onLoadMore:p}=xY({defaultItems:t,defaultVariablesForQuery:n});return be.useEffect(()=>{s||V0()},[s]),a.jsxs(a.Fragment,{children:[a.jsx(M3,{items:l,seeMoreButton:c?{...o,disabled:s,onClick:p}:void 0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({mainMostReadContainer:{items:l,variablesForQuery:n,seeMoreButton:o}})} };`}})]})},EY=15,o8=3600*24*30,_Y=[{componentName:R0.MOST_READ_HEADER_PAGE,component:Al,expiration:o8},{componentName:R0.MOST_READ_BREADCRUMB,component:qn,expiration:o8},{componentName:R0.MOST_READ_ARTICLES,component:AY,expiration:EY},{componentName:R0.MOST_READ_META,component:Nn,expiration:o8}],wY=15,s8=3600*24*30,SY=[{componentName:I0.MOST_SHARED_HEADER_PAGE,component:Al,expiration:s8},{componentName:I0.MOST_SHARED_BREADCRUMB,component:qn,expiration:s8},{componentName:I0.MOST_SHARED_ARTICLES,component:M3,expiration:wY},{componentName:I0.MOST_SHARED_META,component:Nn,expiration:s8}],oI=(e,t)=>Array.isArray(e)?[]:e?.movies?.edges?.map(n=>{const o=n?.node,s=o?.movieCastings?.edges?.find(l=>l?.node?.position==="Réalisateur");return{link:o?.article_url||"#",title:o?.title_fr||"",cardImageProps:{cover:(o?.movieMedias?.edges?.length??0)>0?`${t}/movies/posters/${o?.movieMedias?.edges?.[0]?.node?.src?.replace("-%format","")??""}`:""},summary:o?.summary_short||"",castings:o?.movieCastings?.edges?.filter(l=>l?.node?.type==="cast").map(l=>`${l?.node?.firstname} ${l?.node?.lastname}`)??[],genres:o?.genres?.filter(l=>l!==null)||[],directedBy:s?`${s?.node?.firstname} ${s?.node?.lastname}`:void 0,releaseDate:o?.release_date?d6(new Date(o.release_date)):"",seeMoreLink:{children:"Voir la fiche du film",href:o?.article_url||"#"}}})||[],CY=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.endCursor),[o,s]=be.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=be.useState(e.defaultMovies),[p,m]=be.useState(!1),h=be.useCallback(()=>{m(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getMoviesData&variables=${encodeURIComponent(JSON.stringify({status:e.defaultVariablesForQuery.status,cursor:t,orderField:p9.EXPECTATION_LEVEL,orderDirection:h9.DESC}))}`,options:{headers:_}}];try{const S=await bi(...D),{staticHost:T}=document.body.dataset,C=oI(S,T);c(I=>[...I,...C||[]]),n(S?.movies?.pageInfo?.endCursor??null),s(S?.movies?.pageInfo?.hasNextPage??!1),Gu()}catch(S){console.error("20mn> Error while loading posts:",S)}},[t,e.defaultVariablesForQuery.status]);return be.useEffect(()=>{p&&A()},[p,A]),be.useEffect(()=>{p&&m(!1)},[p]),be.useMemo(()=>({isLoading:p,items:l,hasNextPage:o,onLoadMore:h}),[p,l,o,h])},TY=({isSSR:e=!0,layout:t,items:n,variablesForQuery:o,seeMoreButton:s})=>{const{isLoading:l,items:c,hasNextPage:p,onLoadMore:m}=CY({defaultMovies:n,defaultVariablesForQuery:o});return be.useEffect(()=>{l||V0()},[l]),a.jsxs(a.Fragment,{children:[a.jsx(AO,{layout:t,items:c,seeMoreButton:p?{...s,disabled:l,onClick:m}:void 0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({moviesListContainer:{layout:t,items:c,variablesForQuery:o,seeMoreButton:s}})} };`}})]})},B3=3600*24,NY=[{componentName:El.MOVIES_HEADER_PAGE,component:Al,expiration:B3},{componentName:El.MOVIES_BREADCRUMB,component:qn,expiration:B3},{componentName:El.MOVIES_LIST,component:TY,expiration:3600*24},{componentName:El.MOVIES_NAVIGATION,component:XD,expiration:B3},{componentName:El.MOVIES_META,component:Nn,expiration:B3},{componentName:El.MOVIES_MOST_READ_ASIDE,component:s6,expiration:300}],DY=[{componentName:Wc.NEWS_BREADCRUMB,component:qn,expiration:3600},{componentName:Wc.NEWS_HEADER_PAGE,component:Xo,expiration:3600},{componentName:Wc.NEWS_ARTICLES_BY_TAGS,component:EO,expiration:1800},{componentName:Wc.NEWS_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:Wc.NEWS_META,component:Nn,expiration:3600*24*30}],sI=["actu-generale","justice","economie","auto","emploi","faits_divers","france","politique","sante","societe","monde","locales","nantes","toulouse","strasbourg","lyon","bordeaux","lille","marseille","montpellier","nice","paris","rennes","elections-municipales","production","publicommunique","magazine"],u8=({pageEndpoint:e,imgEndpoint:t,staticEndpoint:n,data:o,hasSummary:s=!1,layout:l})=>Array.isArray(o)?[]:(o?.brand?.node?.tag?.node?.publishableContents?.edges||[])?.reduce((c,p)=>{if(!p?.node?.title||!p?.node?.label||!p?.node?.url||!p?.node?.medias&&!p?.node?.photo?.node)return c;const m=p?.node?.editorial_model===Lf.ExternalContent,h=p?.node?.editorial_model===Lf.Story;let A=p.node.medias?p.node.medias.filter(t8):[];h&&p?.node?.photo?.node&&(A=Fh({photo:p.node.photo}));const w=p?.node?.editorial_model===Lf.Article&&!sI.includes(p?.node?.rubric?.node?.slug||"");return c.push({layout:l,link:new URL(p.node.url,e).href,title:p.node.short_title||p.node.title,cardImageProps:{cover:Bp({medias:A,imgEndpoint:t}),...G2({medias:A,picto:p?.node?.picto,editorialModel:p?.node.editorial_model})},cardHeaderProps:{headline:{text:p.node.label,color:W2(p?.node?.rubric?.node?.themeColor?.node?.slug)},rightSubheader:{text:p.node.published_at||""}},cardTitleProps:{cartridge:p?.node?.editorial_model==="Live"?"live":void 0},socialBarProps:{layout:l,disableComment:h?!1:!p.node.enable_comments,variant:"card",contentLink:new URL(p.node.url,e).href,commentAnchor:"mbrs-comments-container",commentCount:p.node.comments_count??0,shareCount:p.node.facebook_count??0,contentId:p.node?.id?.toString(),contentLegacyId:m?void 0:p.node?.legacy_id?.toString(),contentModel:p?.node?.editorial_model||void 0,...w&&{reactionCount:m9(p.node.reactions_count),reactListItems:v9(p.node.reactions_count)}},...s&&{summaryProps:{children:p.node.lead}},...m&&n&&p?.node?.contentSource?.node?.name&&p?.node?.contentSource?.node?.logo&&p?.node?.contentSource?.node?.url&&{cardFooterProps:{avatarUrl:new URL(p.node.contentSource.node.logo,n).href,text:p.node.contentSource.node.name,externalLink:p.node.contentSource.node.url}}}),c},[]),uI=({pageEndpoint:e,imgEndpoint:t,staticEndpoint:n,data:o,layout:s})=>u8({pageEndpoint:e,imgEndpoint:t,staticEndpoint:n,data:o,hasSummary:!0,layout:s}).map(c=>(delete c.socialBarProps,{...c,linkProps:{children:"Je participe","aria-label":"Je participe au quiz",href:c.link}})),RY=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.endCursor),[o,s]=be.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=be.useState(e.defaultArticles),[p,m]=be.useState(!1),h=be.useCallback(()=>{m(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w,staticHost:_}=document.body.dataset,D=new Headers;window.envVariables?.apiAuthKey&&D.append("auth-key",window.envVariables.apiAuthKey);const S=[{url:`${w}/?id=getTagArticlesWithCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,slug:e.defaultVariablesForQuery.slug,first:e.defaultVariablesForQuery.first,after:t}))}`,options:{headers:D}}];try{const T=await bi(...S),C=uI({pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,staticEndpoint:_||"",data:T,layout:window.layout}),I={articles:[...l,...C],endCursor:T?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.endCursor??null,hasNextPage:T?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.hasNextPage??!1};c(L=>[...L,...C]),n(I.endCursor),s(I.hasNextPage),Gu()}catch(T){console.error("20mn> Error while loading articles:",T)}},[l,t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.first,e.defaultVariablesForQuery.slug]);return be.useEffect(()=>{p&&A()},[p,A]),be.useEffect(()=>{p&&m(!1)},[p]),be.useEffect(()=>{xQ()},[]),be.useMemo(()=>({isLoading:p,articles:l,hasNextPage:o,onLoadMore:h}),[l,p,o,h])},OY=({isSSR:e=!0,layout:t,articles:n,variablesForQuery:o,seeMoreButton:s,currentPagePath:l,totalArticles:c})=>{const{isLoading:p,articles:m,hasNextPage:h,onLoadMore:A}=RY({defaultArticles:n,defaultVariablesForQuery:o});be.useEffect(()=>{p||V0()},[p]);const w=m.map(_=>({..._,..._.cardImageProps&&{cardImageProps:{..._.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), calc(50vw - 16px)"}}}));return a.jsxs(a.Fragment,{children:[a.jsx(_O,{layout:t,articles:w,seeMoreButton:h?{...s,disabled:p,onClick:A}:void 0,currentPagePath:l,totalArticles:c}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({quizContainer:{layout:t,articles:w,variablesForQuery:o,seeMoreButton:s}})} };`}})]})},IY=[{componentName:Lg.QUIZ_ARTICLES_LIST,component:OY,expiration:3600}],jY=[{componentName:M0.REWIND_BREADCRUMB,component:qn,expiration:3600*24*30},{componentName:M0.REWIND_LIST,component:wO,expiration:3600*24*30},{componentName:M0.REWIND_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:M0.REWIND_META,component:Nn,expiration:3600*24*30}],lI=({data:e,pageEndpoint:t,imgEndpoint:n,rubricSlug:o,rubricLabel:s})=>{if(Array.isArray(e))return[];const l=[],c=e?.brand?.node,p=c?.commonArticles?.edges,m=c?.rubricArticles?.edges;if(p?.length){const h=Q2({name:"plus-lus",title:"Les + lus",pageEndpoint:t,imgEndpoint:n,articleEdges:p,limit:5});l.push(h)}if(m?.length){const h=Q2({name:`plus-lus-${o}`,title:`Les + lus ${s}`,pageEndpoint:t,imgEndpoint:n,articleEdges:m,limit:5});l.push(h)}return l},MY=e=>{const[t,n]=be.useState(e.defaultTabItems),o=be.useCallback(async()=>{if(e.variablesForQuery.rubric){const{apiHost:s}=document.body.dataset,l=new Headers;window.envVariables?.apiAuthKey&&l.append("auth-key",window.envVariables.apiAuthKey);const c=[{url:`${s}/?id=getMostRead&variables=${encodeURIComponent(JSON.stringify({brandId:e.variablesForQuery.brandId,sourceExcluded:e.variablesForQuery.sourceExcluded,rubricId:e.variablesForQuery.rubric.id}))}`,options:{headers:l}}];try{const p=await bi(...c),m=lI({data:p,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,rubricSlug:e.variablesForQuery.rubric.slug,rubricLabel:e.variablesForQuery.rubric.label});n(m),I3()}catch(p){console.error("20mn> Error while loading tabItems:",p)}}},[e.variablesForQuery.brandId,e.variablesForQuery.rubric,e.variablesForQuery.sourceExcluded]);return be.useEffect(()=>{o(),$Q()},[o]),be.useMemo(()=>({tabItems:t}),[t])},LY=({isSSR:e=!0,layout:t,tabItems:n,variablesForQuery:o,...s})=>{const{tabItems:l}=MY({defaultTabItems:n,variablesForQuery:o});return a.jsxs(a.Fragment,{children:[a.jsx(X5,{layout:t,tabItems:l,variablesForQuery:o,...s}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({mostReadContainer:{layout:t,tabItems:n,variablesForQuery:o,...s}})} };`}})]})},kY=[{componentName:_l.RUBRIC_RUBRIC_CAROUSELS,component:Q5,expiration:300},{componentName:_l.RUBRIC_MOST_READ_ARTICLES,component:LY,expiration:1800},{componentName:_l.RUBRIC_THREE_COLUMNS_ARTICLES,component:u6,expiration:1800}],BY=[{componentName:L0.SEARCH_BREADCRUMB,component:qn,expiration:3600*24*30},{componentName:L0.SEARCH_HEADER_PAGE,component:Xo,expiration:3600},{componentName:L0.SEARCH_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:L0.SEARCH_META,component:Nn,expiration:3600*24*30}],X2=3600*24*30,PY=[{componentName:Qc.SERVICE_BREADCRUMB,component:qn,expiration:X2},{componentName:Qc.SERVICE_HEADER_PAGE,component:Xo,expiration:X2},{componentName:Qc.SERVICE_JSON_LD_BREADCRUMB,component:Oa,expiration:X2},{componentName:Qc.SERVICE_META,component:Nn,expiration:X2},{componentName:Qc.SERVICE_CARDS_LIST,component:V2,expiration:X2}],ev=3600*24*30,FY=[{componentName:Yc.SHOPPING_GUIDE_BREADCRUMB,component:qn,expiration:ev},{componentName:Yc.SHOPPING_GUIDE_HEADER_PAGE,component:Xo,expiration:ev},{componentName:Yc.SHOPPING_GUIDE_JSON_LD_BREADCRUMB,component:Oa,expiration:ev},{componentName:Yc.SHOPPING_GUIDE_META,component:Nn,expiration:ev},{componentName:Yc.SHOPPING_GUIDE_CARDS_LIST,component:V2,expiration:ev}],HY=[{componentName:wl.SITEMAP_BREADCRUMB,component:qn,expiration:300},{componentName:wl.SITEMAP_HEADER_PAGE,component:Al,expiration:300},{componentName:wl.SITEMAP_TAGS_LIST,component:SO,expiration:300},{componentName:wl.SITEMAP_BOTTOM_BULLETED_LIST,component:$R,expiration:300},{componentName:wl.SITEMAP_TOP_BULLETED_LIST,component:xl,expiration:300},{componentName:wl.SITEMAP_META,component:Nn,expiration:300}],UY=[{componentName:kg.SLIDESHOW_CONTENT,component:CO,expiration:3600*24}],zY=[{componentName:Sl.SPORT_BREADCRUMB,component:qn,expiration:3600*24*30},{componentName:Sl.SPORT_HEADER_PAGE,component:Xo,expiration:3600},{componentName:Sl.SPORT_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:Sl.SPORT_SIDEBAR,component:TO,expiration:3600},{componentName:Sl.SPORT_CONTENT,component:ye,expiration:3600},{componentName:Sl.SPORT_META,component:Nn,expiration:3600*24*30}],qY=[{componentName:z1.STATIC_CONTENT,component:zR,expiration:3600*24*30},{componentName:z1.STATIC_META,component:Nn,expiration:300}],VY=[{componentName:wp.STORY_JSON_LD_NEWS_ARTICLE,component:Bg,expiration:3600*24*30},{componentName:wp.STORY_PRELOAD,component:q1,expiration:3600*24*30},{componentName:wp.STORY_TOP_CONTENT,component:tm,expiration:3600*24*30}],GY=e=>{const[t,n]=be.useState(e.defaultVariablesForQuery.endCursor),[o,s]=be.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=be.useState(e.defaultArticles),[p,m]=be.useState(!1),h=be.useCallback(()=>{m(!0)},[]),A=be.useCallback(async()=>{const{apiHost:w,staticHost:_}=document.body.dataset,D=new Headers;window.envVariables?.apiAuthKey&&D.append("auth-key",window.envVariables.apiAuthKey);const S=[{url:`${w}/?id=getTagArticlesWithCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,slug:e.defaultVariablesForQuery.slug,first:e.defaultVariablesForQuery.first,after:t}))}`,options:{headers:D}}];try{const T=await bi(...S),C=u8({pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,staticEndpoint:_||"",data:T,layout:window.layout}),I={articles:[...l,...C],endCursor:T?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.endCursor??null,hasNextPage:T?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.hasNextPage??!1};c(L=>[...L,...C]),n(I.endCursor),s(I.hasNextPage),window?.localStorage.setItem("aticles-container-data",JSON.stringify(I)),Gu()}catch(T){console.error("20mn> Error while loading articles:",T)}finally{m(!1)}},[l,t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.first,e.defaultVariablesForQuery.slug]);return be.useEffect(()=>{p&&A()},[p,A]),be.useEffect(()=>{if(bQ(),!window?.performance?.getEntriesByType("navigation").map(_=>_.type).includes("back_forward"))window?.localStorage.removeItem("aticles-container-data");else{const _=QP("aticles-container-data");_&&Object.hasOwn(_,"articles")&&Object.hasOwn(_,"endCursor")&&Object.hasOwn(_,"hasNextPage")&&(c(_.articles),n(_.endCursor),s(_.hasNextPage),Gu())}},[]),be.useMemo(()=>({isLoading:p,articles:l,hasNextPage:o,onLoadMore:h}),[l,p,o,h])},KY=({isSSR:e=!0,layout:t,articles:n,variablesForQuery:o,seeMoreButton:s,currentPagePath:l,tagTotalArticles:c,columnsNumber:p})=>{const{isLoading:m,articles:h,hasNextPage:A,onLoadMore:w}=GY({defaultArticles:n,defaultVariablesForQuery:o});be.useEffect(()=>{m||V0()},[m]);const _=h.map(D=>({...D,...D.cardImageProps&&{cardImageProps:{...D.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), calc(50vw - 16px)"}}}));return a.jsxs(a.Fragment,{children:[a.jsx(jl,{layout:t,articles:_,isLoading:m,skeletonCount:o.first,seeMoreButton:A?{...s,disabled:m,onClick:w}:void 0,currentPagePath:l,tagTotalArticles:c,columnsNumber:p}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({articleListBottomContainer:{layout:t,articles:_,variablesForQuery:o,seeMoreButton:s,skeletonCount:o.first}})} };`}})]})},WY=[{componentName:Ka.TAG_BREADCRUMB,component:qn,expiration:3600},{componentName:Ka.TAG_HEADER_PAGE,component:Xo,expiration:3600},{componentName:Ka.TAG_OVERVIEW_BAR,component:l9,expiration:3600},{componentName:Ka.TAG_ARTICLES_LIST_TOP,component:DO,expiration:3600},{componentName:Ka.TAG_NEWS_CAROUSEL,component:zu,expiration:3600},{componentName:Ka.TAG_JSON_LD_BREADCRUMB,component:Oa,expiration:3600},{componentName:Ka.TAG_META,component:Nn,expiration:3600*24},{componentName:Ka.TAG_PRELOAD,component:q1,expiration:3600},{componentName:Ka.TAG_ARTICLES_LIST_BOTTOM,component:KY,expiration:3600},{componentName:Ka.TAG_BRAND_PUBLISHING_ARTICLE_BOTTOM,component:L3,expiration:1800}],QY=[{componentName:k0.TRAFFIC_BREADCRUMB,component:qn,expiration:3600*24*30},{componentName:k0.TRAFFIC_HEADER_PAGE,component:Xo,expiration:3600},{componentName:k0.TRAFFIC_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:k0.TRAFFIC_META,component:Nn,expiration:3600*24*30}],YY=[{componentName:Sp.TV_HOME_JSON_LD_BREADCRUMB,component:Oa,expiration:3600},{componentName:Sp.TV_HOME_META,component:Nn,expiration:3600*24},{componentName:Sp.TV_HOME_TOP_BLOCK,component:jO,expiration:3600}],ZY=[{componentName:Zc.TV_LIVE_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24},{componentName:Zc.TV_LIVE_META,component:Nn,expiration:3600*24},{componentName:Zc.TV_LIVE_BREADCRUMB,component:qn,expiration:3600*24},{componentName:Zc.TV_LIVE_TOP_BLOCK,component:qR,expiration:60},{componentName:Zc.TV_LIVE_TIMELINE,component:a9,expiration:30}],$Y=15,l8=3600*24*30,JY=[{componentName:O0.TV_MOST_RECENT_HEADER_PAGE,component:Al,expiration:l8},{componentName:O0.TV_MOST_RECENT_BREADCRUMB,component:qn,expiration:l8},{componentName:O0.TV_MOST_RECENT_VIDEOS_LIST,component:IO,expiration:$Y},{componentName:O0.TV_MOST_RECENT_META,component:Nn,expiration:l8}],XY=15,c8=3600*24*30,eZ=[{componentName:j0.TV_MOST_VIEWED_HEADER_PAGE,component:Al,expiration:c8},{componentName:j0.TV_MOST_VIEWED_BREADCRUMB,component:qn,expiration:c8},{componentName:j0.TV_MOST_VIEWED_VIDEOS_LIST,component:OO,expiration:XY},{componentName:j0.TV_MOST_VIEWED_META,component:Nn,expiration:c8}],tZ=[{componentName:B0.TV_SHOW_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24},{componentName:B0.TV_SHOW_META,component:Nn,expiration:3600*24},{componentName:B0.TV_SHOW_MAIN_BLOCK,component:BO,expiration:3600},{componentName:B0.TV_SHOW_BREADCRUMB,component:qn,expiration:3600*24}],rZ=[{componentName:P0.TV_SHOWS_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:P0.TV_SHOWS_META,component:Nn,expiration:3600*24*30},{componentName:P0.TV_SHOWS_BREADCRUMB,component:qn,expiration:3600*24*30},{componentName:P0.TV_SHOWS_PROGRAMS,component:YD,expiration:3600*24*30}],nZ=[{componentName:Lo.TV_VIDEO_JSON_LD_BREADCRUMB,component:Oa,expiration:3600},{componentName:Lo.TV_VIDEO_META,component:Nn,expiration:3600*24},{componentName:Lo.TV_VIDEO_BREADCRUMB,component:qn,expiration:3600},{componentName:Lo.TV_VIDEO_PAGE_TITLE,component:Wr,expiration:3600},{componentName:Lo.TV_VIDEO_TOP_BLOCK,component:VR,expiration:3600},{componentName:Lo.TV_VIDEO_MOST_VIDEOS,component:BP,expiration:3600},{componentName:Lo.TV_VIDEO_BACKGROUND_IMAGE,component:R5,expiration:3600*24*30},{componentName:Lo.TV_VIDEO_EXTRACTS_AND_REPLAYS,component:e8,expiration:3600},{componentName:Lo.TV_VIDEO_JSON_LD_NEWS_ARTICLE,component:Bg,expiration:3600*24*30}],aZ=[{componentName:F0.UTIQ_BREADCRUMB,component:qn,expiration:3600*24*30},{componentName:F0.UTIQ_HEADER_PAGE,component:Xo,expiration:3600},{componentName:F0.UTIQ_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:F0.UTIQ_META,component:Nn,expiration:3600*24*30}],iZ=[{componentName:H0.WEATHER_BREADCRUMB,component:qn,expiration:3600*24*30},{componentName:H0.WEATHER_HEADER_PAGE,component:Xo,expiration:3600},{componentName:H0.WEATHER_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:H0.WEATHER_META,component:Nn,expiration:3600*24*30}],oZ=[{componentName:Cp.WHY_CREATE_ACCOUNT_BREADCRUMB,component:qn,expiration:3600*24*30},{componentName:Cp.WHY_CREATE_ACCOUNT_JSON_LD_BREADCRUMB,component:Oa,expiration:3600*24*30},{componentName:Cp.WHY_CREATE_ACCOUNT_META,component:Nn,expiration:3600*24*30}],sZ=[...aQ,...iQ,...lQ,...cQ,...vQ,...gQ,...yQ,...SQ,...DQ,...WQ,...QQ,...YQ,...eY,...dQ,...tY,...aY,...iY,...cY,...vY,...gY,...bY,..._Y,...SY,...NY,...DY,...IY,...jY,...kY,...BY,...PY,...FY,...HY,...UY,...zY,...qY,...VY,...WY,...QY,...YY,...ZY,...JY,...eZ,...tZ,...rZ,...nZ,...aZ,...iZ,...oZ],Wu=["publicommunique","production","magazine"];class d8{constructor({layout:t,config:n,adsEnabled:o=!0}){this.config=n,this.layout=t,this.adsEnabled=o}renderAd(t){return this.adsEnabled?this.config[this.layout][t]??null:null}}const tv=({layout:e,stylesheets:t=[],defaultPreload:n,preload:o,inlineCss:s,firstPartyScripts:l,thirdPartiesConfig:c,gtmNoScript:p,jsonLdBreadcrumb:m,jsonLdFaq:h,jsonLdClaimReview:A,jsonLdLiveBlogPosting:w,jsonLdNewsArticle:_,meta:D,children:S,envVariables:T,novaHost:C,brandId:I,goomHost:L,imgHost:P,staticHost:q,pageMetaData:H,customPrint:W,backgroundPageColor:Z,hasTopSentinel:ie,partnerLayoutContract:ee})=>{const $=t?.filter(X=>X.isCritical),V=t?.filter(X=>!X.isCritical);return a.jsxs("html",{lang:"fr",children:[a.jsxs("head",{children:[a.jsx("meta",{charSet:"UTF-8"}),a.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),n,o,$?.map(({name:X,url:se})=>a.jsx("link",{rel:"preload",href:se,type:"text/css",as:"style"},X)),D,a.jsx("link",{rel:"icon",type:"image/x-icon",href:`${T?.pageEndpoint||""}/favicons/favicon.ico`}),a.jsx("link",{rel:"icon",type:"image/svg+xml",sizes:"any",href:`${T?.pageEndpoint||""}/favicons/favicon.svg`}),m,h,A,w,_,$?.map(({name:X,url:se})=>a.jsx("link",{rel:"stylesheet",href:se,type:"text/css"},X)),s&&a.jsx("style",{children:s}),ee&&a.jsx(mu,{comment:nF}),a.jsx(w9,{firstPartyScripts:l,thirdPartiesConfig:c,envVariables:T,layout:e,partnerLayoutContract:ee}),l?.adsScript&&a.jsx("script",{src:l.adsScript}),l?.scriptSchedulerScript&&a.jsx("script",{async:!0,src:l.scriptSchedulerScript})]}),a.jsxs("body",{"data-api-host":C??"","data-brand-id":I??"","data-http-taskrunner-api-host":L??"","data-img-host":P??"","data-static-host":q??"","data-layout":e,"data-refresh-interval":H?.refreshAuto,"data-custom-print":W,className:ko("bg-color",{[`bg-color--is-${Z}`]:Z}),children:[ie&&a.jsx("div",{id:"js-top-sentinel",style:{position:"absolute",top:e===ve.DESKTOP?150:0,height:"1px",width:"1px"}}),p&&a.jsx("noscript",{dangerouslySetInnerHTML:{__html:p}}),ee&&a.jsx(mu,{comment:hF}),a.jsx(bB,{style:{display:"none"}}),ee&&a.jsx(mu,{comment:mF}),S,a.jsx("script",{src:l?.reactAndReactDomScript}),l?.cmpScript&&a.jsxs(a.Fragment,{children:[ee&&a.jsx(mu,{comment:vF}),a.jsx("script",{defer:!0,src:l.cmpScript}),ee&&a.jsx(mu,{comment:gF})]}),l?.pianoScript&&a.jsxs(a.Fragment,{children:[ee&&a.jsx(mu,{comment:yF}),a.jsx("script",{defer:!0,src:l.pianoScript}),ee&&a.jsx(mu,{comment:bF})]}),l?.edgeeScript&&a.jsx("script",{defer:!0,src:l.edgeeScript}),l?.mainTyrScript&&a.jsx("script",{defer:!0,src:l.mainTyrScript}),l?.memberScript&&a.jsx("script",{defer:!0,src:l.memberScript}),l?.iframeConsentScript&&a.jsx("script",{defer:!0,src:l.iframeConsentScript}),V.length>0&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.addEventListener('DOMContentLoaded', () => {${V.map(({name:X,url:se})=>`const link = document.createElement('link');link.id = '${X}';link.type = 'text/css';link.rel = 'stylesheet';link.media = 'screen,print';link.href = '${se}';document.body.appendChild(link);`).join("")}});`}})]})]})},Yr=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,chatbot:s,overviewBar:l,adTopPage:c,children:p,footer:m,toolbar:h,backgroundPageColor:A,hasArch:w=!0,hasTopSentinel:_,enableScrollToFeed:D=!1,enableScrollToTopComment:S=!1})=>a.jsxs(tv,{...e,backgroundPageColor:A,hasTopSentinel:_,children:[e.partnerLayoutContract&&a.jsx(mu,{comment:uF}),t,e.layout===ve.DESKTOP&&n,e.partnerLayoutContract&&a.jsx(mu,{comment:lF}),e.partnerLayoutContract&&a.jsx(mu,{comment:cF}),o,e.partnerLayoutContract&&a.jsx(mu,{comment:dF}),s,l,a.jsxs("main",{id:"page-wrap",className:"o-page",children:[c,p,w&&e.layout===ve.DESKTOP&&a.jsx("div",{id:"arch-wrapper",className:"o-page__arch"})]}),a.jsx("div",{id:"c-alert-info"}),a.jsx("div",{id:"cookie-banner"}),e.layout===ve.MOBILE&&h,D&&a.jsx("scroll2feed",{"data-zone_index":"9"}),S&&a.jsx("section",{className:"c-scroll-to-top-comment u-hidden",children:a.jsx("div",{className:"o-page-wrap",children:a.jsxs(he,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main u-relative",children:a.jsx(Fs,{color:"tertiary",iconProps:{name:"chevron-up",size:16},"aria-label":"Remonter en haut des commentaires",title:"Remonter en haut des commentaires"})}),a.jsx("aside",{className:"o-lt-show__aside "})]})})}),e.partnerLayoutContract&&a.jsx(mu,{comment:fF}),m,e.partnerLayoutContract&&a.jsx(mu,{comment:pF}),a.jsx(G_,{reactListItems:h6()})]});var P3=(e=>(e.DEFAULT="default",e.FULL_WIDTH_COVER="fullWidthCover",e))(P3||{});const F3=({htmlTemplateProps:e,adsPageConfig:t,header:n,headerMini:o,overviewBar:s,menu:l,chatbot:c,footer:p,readAlsoBanner:m,breadcrumb:h,liveIndicator:A,contentHeader:w,contentHeaderMobile:_,cover:D,socialBar:S,signature:T,summary:C,topContent:I,readAlsoBlockAbove:L,children:P,readAlsoBlockBelow:q,tagBar:H,commentButton:W,comment:Z,mostReadArticles:ie,newsletter:ee,sideBrandsArticles:$,scrollProgressBar:V,scrollProgressButton:X,chatbotButton:se,latestContentsCarousel:de,rubricCarousels:Ae,partnerCards:Oe,templating:Pe={enableAds:!0,enableSponsoredContents:!0,enableBlockLinks:!0,enableAudio:!1,enableNewsletter:!1,enableHeaderAd:!1,enableScrollToFeed:!1,enableFavorite:!0},templateVariant:Se="default"})=>{const Le=new d8({layout:e.layout,config:t,adsEnabled:Pe.enableAds}),Ie=["guide-achat","publicommunique","production"].includes(e.firstPartyScripts.datalayerInfo?.subType??""),{pageKey:Ue,pageName:Ee,enableSponsoredContents:Rt}=e?.firstPartyScripts?.datalayerInfo??{};let zt;Ee&&[cn.ARTICLE,cn.STORY,cn.LIVE].includes(Ee)&&(zt=Ue);const xt=Rt??Pe.enableSponsoredContents;return a.jsxs(Yr,{htmlTemplateProps:e,adTopPage:(e.layout===ve.DESKTOP||!Ie&&Pe.enableHeaderAd)&&Le.renderAd("topPage"),header:n,headerMini:o,overviewBar:s,menu:l,chatbot:c,footer:p,enableScrollToTopComment:!0,children:[e.layout===ve.DESKTOP?a.jsxs(ye,{as:"section",id:"page-content",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50","data-content-id":zt,children:[h,A,w,Se==="fullWidthCover"&&D,a.jsxs(he,{as:"section",gap:"xl",mb:"l",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[Se==="default"&&D,a.jsxs(he,{mb:"s",gap:"xl",className:"o-paper",children:[a.jsx(he,{as:"aside",justifyContent:"center",alignItems:"start",mt:"xxs-2",className:"o-paper__aside",children:S}),a.jsxs(ye,{as:"article",className:"o-paper__content",children:[a.jsxs("header",{className:"js-content-header",children:[T,C,Pe.enableFavorite&&a.jsx("div",{style:{height:"4rem"},id:"favorite-engage"}),Pe.enableAudio&&a.jsx(ye,{mb:"l",style:{height:"3.75rem"},id:"voxa-player"}),a.jsx("div",{className:"smalk-ads"}),I,L]}),a.jsx(ye,{id:"live-refresh-button",className:"u-sticky u-sticky--spaced-header-mini"}),P,a.jsxs("footer",{children:[q,H,m]})]})]}),W,xt&&a.jsx("div",{id:"taboola-below-article-thumbnails",className:"taboola","data-mode":"thumbs-feed-01","data-placement":"Below Article Thumbnails","data-target-type":"mix",style:{width:"100%",height:"203.125rem"}})]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[Se==="default"&&a.jsx("div",{id:"most-read-container",children:ie}),Le.renderAd("aboveSponsoredContent"),a.jsxs("div",{className:"o-lt-show__stickywrap",children:[xt&&a.jsx("div",{id:"taboola-aside-thumbnails",className:"taboola","data-mode":"thumbnails-rr","data-placement":"Right Rail Thumbnails","data-target-type":"mix"}),!Ie&&Le.renderAd("belowSponsoredContent"),ee&&a.jsx(ye,{mb:"xxl-2",children:ee}),Pe.enableBlockLinks&&$]})]})]}),!Ie&&Le.renderAd("banMiddle"),a.jsxs(he,{as:"section",gap:"xl",mb:"xxl-2",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:Z&&a.jsx("div",{id:"commentAnchor",children:Z})}),a.jsx("aside",{className:"o-lt-show__aside",children:!Ie&&Le.renderAd("stickyAside")})]}),a.jsxs(ye,{as:"section",mb:"xxl-2",children:[a.jsx("section",{id:"latest-contents-carousel-container",children:de}),Ae]}),a.jsx(ye,{mb:"xxl-2",children:Oe}),!Ie&&Le.renderAd("banBottom"),se]}):a.jsxs("section",{id:"page-content","data-content-id":zt,children:[a.jsxs("header",{className:"js-content-header",children:[h,A,_,Le.renderAd("aboveSummary"),C,Pe.enableAudio&&a.jsx(ye,{px:"m",mb:"l",style:{height:"3.75rem"},id:"voxa-player"}),Pe.enableFavorite&&a.jsx(ye,{mx:"m",style:{height:"4rem"},id:"favorite-engage"}),a.jsx("div",{className:"smalk-ads"}),I,L]}),a.jsxs("article",{children:[a.jsx(ye,{id:"live-refresh-button",className:"u-sticky u-sticky--spaced-top-screen"}),X,P]}),a.jsxs("footer",{children:[m,W,xt&&a.jsx("div",{id:"taboola-below-article-thumbnails",className:"taboola","data-mode":"thumbs-feed-01","data-placement":"Below Article Thumbnails","data-target-type":"mix"}),H,q]}),Pe.enableScrollToFeed&&a.jsx("scroll2feed",{"data-zone_index":"9"}),a.jsx("div",{id:"most-read-container",children:ie}),!Ie&&Le.renderAd("belowSponsoredContent"),a.jsxs(ye,{mt:"xl",mb:"l",ml:{xs:"m",md:"0"},children:[a.jsx("div",{id:"latest-contents-carousel-container",children:de}),Ae]}),a.jsx(ye,{mb:"xxl-2",children:Oe}),Le.renderAd("belowFooter"),V,se,S]}),a.jsx(DP,{}),a.jsx(G_,{reactListItems:h6()})]})},cI=({adHtml:e,htmlTemplateProps:t})=>a.jsx(tv,{layout:ve.MOBILE,firstPartyScripts:{scriptSchedulerScript:t?.firstPartyScripts?.scriptSchedulerScript,iframeConsentScript:t?.firstPartyScripts?.iframeConsentScript},thirdPartiesConfig:{veryHighPriority:[t?.thirdPartiesConfig?.veryHighPriority?.find(n=>Pd(n.name)==="didomi-sdk")]},stylesheets:t?.stylesheets,defaultPreload:!0,children:a.jsx("div",{className:"c-ad-container",children:e})}),uZ=["celebrites","cinema","nourriture","sport","gaming"],dI="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),fI=[{value:"chat",label:"Chat"},{value:"chien",label:"Chien"},{value:"autres",label:"Autres (lapin, rongeur, cheval, poisson…)"}],pI=[{value:"femelle",label:"Femelle"},{value:"male",label:"Mâle"}],hI=[{value:"celebrites",label:"Célébrités",icon:"star-outlined",color:"sport",size:30},{value:"cinema",label:"Cinéma",icon:"cinema",color:"entertainment",size:30},{value:"nourriture",label:"Nourriture",icon:"nourriture",color:"tempo",size:30},{value:"sport",label:"Sport",icon:"sport",color:"sport",size:30},{value:"gaming",label:"Gaming",icon:"gaming",color:"gaming",size:30},{value:"20minutes",label:"20 Minutes",icon:"logo-mini",color:"default",size:36},{value:"random",label:"Aléatoire",icon:"random",color:"default",size:34}],mI=hI.filter(e=>e.value==="random"||uZ.some(t=>t===e.value)),lZ=fI[0].value,cZ=pI[0].value,dZ=dI[0],fZ=mI[0]?.value??hI[0].value,vI=()=>a.jsxs(he,{mx:{xs:"m",md:"0"},my:"m",as:"form",direction:"column",gap:"xl",id:"animal-questionnaire",onSubmit:e=>e.preventDefault(),children:[a.jsxs("div",{children:[a.jsx(no,{mb:"xxs",size:{xs:"m",md:"xl"},children:"Animal"}),a.jsx(he,{direction:"row",wrap:"wrap",gap:"xxl",role:"radiogroup","aria-label":"Animal",children:fI.map(e=>a.jsx(M_,{id:`animal-${e.value}`,name:"animal",variant:"green",value:e.value,label:e.label,defaultChecked:e.value===lZ},e.value))})]}),a.jsxs("div",{children:[a.jsx(no,{mb:"xxs",size:{xs:"m",md:"xl"},children:"Genre"}),a.jsx(he,{direction:"row",gap:"xxl",role:"radiogroup","aria-label":"Genre",children:pI.map(e=>a.jsx(M_,{id:`genre-${e.value}`,name:"genre",variant:"green",value:e.value,label:e.label,defaultChecked:e.value===cZ},e.value))})]}),a.jsxs("div",{children:[a.jsx(no,{mb:"xxs",size:{xs:"m",md:"xl"},children:"1ère lettre du prénom"}),a.jsx(Uc,{id:"letter",name:"letter",placeholder:"Choisissez une lettre",defaultValue:dZ,options:dI.map(e=>({value:e,title:e}))})]}),a.jsxs("div",{children:[a.jsx(no,{size:{xs:"m",md:"xl"},children:"Thématiques"}),a.jsx(Me,{mb:"l",size:{xs:"m",md:"l"},children:"Voici une petite sélection de prénoms populaires."}),a.jsx(Oi,{colsNumber:{xs:3,sm:4,md:7},gap:"l",role:"radiogroup","aria-label":"Thématiques",children:mI.map(e=>a.jsx(g2,{className:"basis-100@xs",isSquare:!0,iconProps:{name:e.icon,size:e.size},inputProps:{type:"radio",name:"theme",value:e.value,defaultChecked:e.value===fZ,bg:"grey-200",color:"grey-400",selectedBg:e.color,selectedColor:"white"},children:e.label},e.value))})]}),a.jsxs(he,{gap:"m",wrap:"wrap",justifyContent:"center",children:[a.jsx(bn,{type:"button",color:"green",variant:"outlined",id:"animal-questionnaire-reset",children:"Réinitialiser mes choix"}),a.jsx(bn,{type:"button",color:"green",id:"animal-questionnaire-submit",children:"Voir les prénoms"})]}),a.jsx(Oi,{colsNumber:{xs:1,md:3},gap:"l",mt:"m",id:"animal-questionnaire-results","aria-live":"polite"})]}),gI=({breadcrumb:e,headerPage:t,summary:n,htmlTemplateProps:o,header:s,headerMini:l,overviewBar:c,menu:p,chatbot:m,footer:h,rubricCarousels:A})=>a.jsx(Yr,{htmlTemplateProps:o,adTopPage:o.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),header:s,headerMini:l,overviewBar:c,menu:p,chatbot:m,footer:h,children:o.layout===ve.DESKTOP?a.jsxs(ye,{as:"section",id:"page-content",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[e,t,a.jsxs(he,{as:"section",gap:"xl",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(he,{mb:"s",gap:"xl",className:"o-paper",children:a.jsx(ye,{as:"article",className:"o-paper__content",children:a.jsx(vI,{})})})}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"})})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_mtf",variant:"BAN"}),a.jsx(ye,{my:"m",children:A}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("section",{id:"page-content",children:[a.jsxs("header",{className:"js-content-header",children:[e,t,n]}),a.jsx("article",{children:a.jsx(vI,{})}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),A,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"})]})}),yI=({header:e,headerMini:t,overviewBar:n,footer:o,toolbar:s,menu:l,htmlTemplateProps:c,breadcrumb:p,pageTitle:m,archivesByDay:h,archivesOfDay:A,mostReadArticles:w,archivePdfList:_})=>a.jsx(Yr,{htmlTemplateProps:c,header:e,headerMini:t,menu:l,overviewBar:n,footer:o,toolbar:s,adTopPage:c.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",mb:"xxl",bg:"grey-50",children:[p,a.jsx(Hc,{color:"white",bg:"ultramarine",py:{xs:"xxl",md:"xl"},mt:"xl",mb:"xxs"}),c.layout===ve.DESKTOP?a.jsxs(he,{gap:"xl",mt:"m",className:"o-lt-show",children:[a.jsxs(he,{direction:"column",gap:"xl",className:"o-lt-show__main",children:[m,A,h,a.jsx("div",{id:"archive-pdf-list-container",children:_})]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[w,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"ARTICLE",className:"o-lt-show__stickywrap"})]})]}):a.jsxs(a.Fragment,{children:[a.jsxs(ye,{as:"article",mb:"xxl",bg:"grey-50",children:[m,A,h,a.jsx(ye,{id:"archive-pdf-list-container",mx:"m",children:_})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),w]})]})}),bI=({header:e,headerMini:t,overviewBar:n,footer:o,toolbar:s,menu:l,htmlTemplateProps:c,breadcrumb:p,pageTitle:m,yearsList:h,monthsList:A,mostReadArticles:w,archivePdfList:_})=>{const D=a.jsx(Wr,{as:"h2",size:{xs:"m",md:"s"},mb:"xl",mx:{xs:"m",md:"0"},children:"Archives par année"});return a.jsx(Yr,{htmlTemplateProps:c,header:e,headerMini:t,menu:l,overviewBar:n,footer:o,toolbar:s,adTopPage:c.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",mb:"xxl",bg:"grey-50",children:[p,a.jsx(Hc,{color:"white",bg:"ultramarine",py:{xs:"xxl",md:"xl"},mt:"xl",mb:"xxs"}),c.layout===ve.DESKTOP?a.jsxs(he,{gap:"xl",mt:"m",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[m,D,h,A,a.jsx("div",{id:"archive-pdf-list-container",children:_})]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[w,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}):a.jsxs(a.Fragment,{children:[a.jsxs(ye,{as:"article",mb:"xxl",bg:"grey-50",children:[m,D,h,A,a.jsx(ye,{id:"archive-pdf-list-container",mx:{xs:"m",md:"0"},children:_})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),w]})]})})},xI=({isPubstackAndVideo:e,contentSubtype:t})=>({desktop:{topPage:a.jsx(Ce,{adUnitCompletePath:Wu.includes(t)?"/49926454/20minutes_desktop/brand_publishing/ban_atf":"/49926454/20minutes_desktop/article/ban_atf",variant:"ATF"}),aboveSponsoredContent:a.jsx(Ce,{adUnitCompletePath:Wu.includes(t)?"/49926454/20minutes_desktop/brand_publishing/pave_atf":"/49926454/20minutes_desktop/article/pave_atf",variant:"PAVE"}),belowSponsoredContent:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/article/pave_mtf",variant:"PAVE"}),stickyAside:a.jsx(Ce,{className:"u-sticky u-sticky--spaced-header-mini",adUnitCompletePath:"/49926454/20minutes_desktop/article/pave_btf",variant:"PAVE"}),banMiddle:a.jsx(Ce,{mb:"xl",adUnitCompletePath:"/49926454/20minutes_desktop/article/ban_mtf",variant:"BAN"}),banBottom:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/article/ban_btf",variant:"BAN"})},mobile:{topPage:e?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/article/header_ad_display",variant:"HEADER"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/article/header_ad",variant:"HEADER"}),belowSponsoredContent:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/article/article_mtf",variant:"ARTICLE"}),belowFooter:a.jsx(Ce,{adUnitCompletePath:Wu.includes(t)?"/49926454/20minutes_webmobile/brand_publishing/article_btf":"/49926454/20minutes_webmobile/article/article_btf",variant:"ARTICLE"}),aboveSummary:a.jsx(Ce,{adUnitCompletePath:Wu.includes(t)?"/49926454/20minutes_webmobile/brand_publishing/article_atf":"/49926454/20minutes_webmobile/article/article_atf",variant:"ARTICLE",mb:"l"})}}),Hh=e=>e?e?.props?.dangerouslySetInnerHTML?.__html.replace(/<!--(.|\s)*?-->/gm,"").replace(/\n/gm,"")==="":!0,AI=["sport","societe","monde","faits-divers","economie","sante"],pZ=["production","publicommunique","magazine"],rv=e=>{const t=Ki(e);return t.querySelectorAll('[src*="www.ultimedia.com"], [data-src*="www.ultimedia.com"]').length>0||t.querySelectorAll('[src*="www.youtube.com"], [data-src*="www.youtube.com"]').length>0||t.querySelectorAll('[src*="www.dailymotion.com"], [data-src*="www.dailymotion.com"]').length>0||t.querySelectorAll('[src*="www.brut.media"], [data-src*="www.brut.media"]').length>0};class om{constructor({data:t,layout:n,templateActivators:o}){const s={enableDisplayOnHeaderAd:!1,enableAudio:!1,enableSponsoredContents:!0,enableNewsletter:!1};this.data=t,this.layout=n,this.templateActivators={...s,...o}}resolve(){return this.resolveTemplating(),{content:this.transformContent(),templateActivators:this.templateActivators}}}const hZ=["23057135412","23057517469"],mZ=["publicommunique","production"],vZ=["production","guide-achat","publicommunique"],gZ=["guide-achat","publicommunique","production"],EI=[{name:"vie-pro",id:"WI_cm2m31ija00010rnp6ws1d6vn"},{name:"sciences",id:"WI_cm4x1rl8b00030sqmmhlv0zia"}],H3={in_read_desktop:"/49926454/20minutes_desktop/article/inread",in_read_mobile:"/49926454/20minutes_webmobile/article/inread",pave_article:"/49926454/20minutes_desktop/article/pave_article",article_mtf:"/49926454/20minutes_webmobile/article/article_mtf"};class nv extends om{constructor({data:t,layout:n}){super({data:t,layout:n,templateActivators:{enableDisplayOnHeaderAd:!0,enableInArticleAds:!0,enableAds:!0,enableSponsoredContents:!0,enableBlockLinks:!0,enableAudio:!0,enablePodcast:!0,enableNewsletter:!1,enableHeaderAd:!1,enableScrollToFeed:!1,enableFavorite:!0}})}transformContent(){let t=this.data.articleContent;return this.templateActivators.enableInArticleAds&&(t=this.layout===ve.DESKTOP?this.insertInreadDesktop(t):this.insertInreadMobile(t)),this.templateActivators.enablePodcast&&(t=nv.insertHeadliner(t,this.data.htmlTemplateProps.firstPartyScripts.datalayerInfo?.breadcrumb||[""])),t=nv.transformContentVideos(t,this.layout),{...this.data,articleContent:t,media:nv.transformCover(this.data.cover)}}resolveTemplating(){const{articleContent:t,cover:n,htmlTemplateProps:o}=this.data,s=o.firstPartyScripts.datalayerInfo?.subType||"",l=o.firstPartyScripts.datalayerInfo?.dfpTagArticlesId?.[this.layout]||[],c=o.firstPartyScripts.datalayerInfo?.breadcrumb||[""],p=!hZ.some(A=>l.includes(A)),m=rv(w2(Wa(n))),h=rv(w2(Wa(t)))||m;this.templateActivators={...this.templateActivators,enableAds:p,enableDisplayOnHeaderAd:p&&h,enableHeaderAd:p&&!m,enableInArticleAds:p&&(s?!vZ.includes(s):!0),enableSponsoredContents:p&&!mZ?.includes(s),enableBlockLinks:!gZ?.includes(s),enableNewsletter:AI.includes(Pd(c[0]))||!!c[1]&&AI.includes(Pd(c[1])),enablePodcast:c.some(A=>EI.some(w=>w.name===Pd(A))),enableScrollToFeed:this.layout===ve.MOBILE,enableFavorite:!pZ.includes(s)}}injectInArticleAd({isInread:t,html:n,paragraph:o}){if(t&&!rv(n.toString())){const s=Wa(be.createElement(Ce,{adUnitCompletePath:this.layout===ve.DESKTOP?H3.in_read_desktop:H3.in_read_mobile,variant:"INREAD"}));o.insertAdjacentHTML("afterend",s)}else{const s=Wa(be.createElement(Ce,{adUnitCompletePath:this.layout===ve.DESKTOP?H3.pave_article:H3.article_mtf,variant:"ARTICLE"}));o.insertAdjacentHTML("afterend",s)}}insertInreadDesktop(t){const n=Ki(vu(t)),o=n.innerHTML.replace(/(<([^>]+)>)/gi,""),s=n.querySelectorAll('.c-content > p:not([class]):not([id^="c-collapse__content"] p)');if(s.length>=4&&o.length>1200){this.injectInArticleAd({isInread:!0,html:n,paragraph:s[2]});let l=6,c=!1,p=1;for(;s.length-1>l&&p<3;){const m=s[l];this.injectInArticleAd({isInread:c,html:n,paragraph:m}),l+=4,p+=1,c=!c}}return xp(n.toString())}insertInreadMobile(t){const n=Ki(vu(t)),o=n.innerHTML.replace(/(<([^>]+)>)/gi,""),s=n.querySelectorAll('.c-content > p:not([class]):not([id^="c-collapse__content"] p)');if(s.length>=4&&o.length>1200){this.injectInArticleAd({isInread:!0,html:n,paragraph:s[2]});let l=6,c=!1,p=1;for(;s.length-1>l&&p<3;){const m=s[l];this.injectInArticleAd({isInread:c,html:n,paragraph:m}),l+=4,p+=1,c=!c}}return xp(n.toString())}static insertHeadliner(t,n){const o=Ki(vu(t)),s=o.innerHTML.replace(/(<([^>]+)>)/gi,""),l=o.querySelectorAll('.c-content > p:not([class]):not([id^="c-collapse__content"] p)');if(l.length>=7&&s.length>1200){const c=n.map(A=>Pd(A)),p=EI.find(A=>c.includes(A.name))?.id||"",m=Wa(be.createElement("div",{className:"disco-widget","data-widget-id":p})),h=Wa(be.createElement("script",{src:"https://disco.headliner.link/d/20minutes/web/js/widget.js",defer:!0}));l[5].insertAdjacentHTML("afterend",h),l[5].insertAdjacentHTML("afterend",m)}return xp(o.toString())}static transformContentVideos(t,n){const o=Ki(vu(t)),s=b9(o);return s.length===0||s.forEach(l=>{let c=l.getAttribute("src");if(!c)return;c.startsWith("//")&&(c=`https:${c}`);const{origin:p,pathname:m,search:h}=new URL(c),A=`${p}${m}`.replace(/\/chromeless\/1$/,"").replace(/\/$/,"");l.removeAttribute("src"),l.setAttribute("data-src",`${A}${n===ve.DESKTOP?"":"/chromeless/1"}${h}`)}),xp(o.toString())}static transformCover(t){const n=Ki(vu(t)),o=b9(n);return o.length===0?t:(o.forEach(s=>{const l=s.getAttribute("src");l&&(s.setAttribute("data-src",l),s.removeAttribute("src"))}),xp(n.toString()))}}const _I=({htmlTemplateProps:e,header:t,headerMini:n,overviewBar:o,menu:s,chatbot:l,footer:c,readAlsoBanner:p,breadcrumb:m,contentHeader:h,contentHeaderMobile:A,cover:w,socialBar:_,signature:D,summary:S,articleContent:T,encloseBanner:C,highlightedText:I,comment:L,commentButton:P,readAlsoBlockBelow:q,tagBar:H,mostReadArticles:W,newsletter:Z,sideBrandsArticles:ie,latestContentsCarousel:ee,rubricCarousels:$,partnerCards:V,scrollProgressBar:X,scrollProgressButton:se,chatbotButton:de,templateVariant:Ae=P3.DEFAULT})=>{const Pe=new nv({data:{articleContent:T,cover:e.layout===ve.MOBILE?A:w,htmlTemplateProps:e},layout:e.layout}).resolve(),Se={...e,firstPartyScripts:{...e.firstPartyScripts,partnerFeatures:{...e.firstPartyScripts.partnerFeatures,enableDisplayOnHeaderAd:Pe.templateActivators?.enableDisplayOnHeaderAd??!1}}},Le=xI({isPubstackAndVideo:Pe.templateActivators?.enableDisplayOnHeaderAd,contentSubtype:Se.firstPartyScripts.datalayerInfo?.subType||""});return a.jsxs(F3,{htmlTemplateProps:Se,header:t,headerMini:n,overviewBar:o,menu:s,chatbot:l,footer:c,adsPageConfig:Le,readAlsoBanner:p,breadcrumb:m,contentHeader:h,contentHeaderMobile:Pe.content.media,cover:Pe.content.media,socialBar:_,signature:D,summary:S,readAlsoBlockBelow:q,tagBar:H,comment:L,commentButton:P,mostReadArticles:W,newsletter:Z,sideBrandsArticles:ie,scrollProgressBar:X,scrollProgressButton:se,chatbotButton:de,latestContentsCarousel:ee,rubricCarousels:$,partnerCards:V,templating:Pe.templateActivators,templateVariant:Ae,children:[Pe.content.articleContent,a.jsx("div",{className:"js-limit-scroll-close-article-btn js-limit-scroll-chatbot-btn js-limit-scroll-progress-bar"}),C&&C,!Hh(I)&&a.jsx(ye,{mx:{xs:"m",md:"0"},mb:"l",children:I})]})},wI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,headerPage:c,astroHomepageContent:p,astroTiles:m,astroLinksNextTypes:h})=>{const A={...e,firstPartyScripts:{...e.firstPartyScripts,partnerFeatures:{...e.firstPartyScripts.partnerFeatures,enableDisplayOnHeaderAd:!0}}};return a.jsx(Yr,{header:t,headerMini:n,adTopPage:A.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),menu:o,footer:s,htmlTemplateProps:A,children:A.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(he,{gap:"xl",className:"o-lt-show",children:[a.jsx(he,{direction:"column",gap:"xxs",className:"o-lt-show__main",children:p}),a.jsxs(he,{as:"aside",direction:"column",gap:"xl",alignItems:"center",className:"o-lt-show__aside",children:[m,h,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs(ye,{as:"article",mb:"xxl",children:[l,c,a.jsx(he,{direction:"column",gap:"xl",className:"o-lt-show",children:a.jsxs(he,{direction:"column",gap:"xl",alignItems:"center",className:"o-lt-show__main",children:[m,h,p]})})]})})},SI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,headerPage:c,headerBanner:p,astroContent:m,link:h,astroTiles:A,astroLinksNextTypes:w})=>{const _={...e,firstPartyScripts:{...e.firstPartyScripts,partnerFeatures:{...e.firstPartyScripts.partnerFeatures,enableDisplayOnHeaderAd:!0}}};return a.jsx(Yr,{header:t,menu:o,headerMini:n,footer:s,htmlTemplateProps:_,adTopPage:_.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs(he,{direction:"column",gap:"xl",className:"o-lt-show__main",children:[p,m,a.jsx(he,{justifyContent:"center",children:h}),a.jsx(ye,{mb:{xs:"0",md:"l"},children:a.jsx(m6,{})})]}),a.jsxs(he,{as:"aside",direction:"column",gap:"xl",alignItems:"center",className:"o-lt-show__aside",children:[_.layout===ve.MOBILE&&a.jsx(Wr,{as:"h3",ml:{xs:"m",md:"0"},children:"Autres horoscopes"}),A,w,e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ARTICLE"})]})]}),_.layout===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})})},yZ=()=>({desktop:{topPage:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),aside:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"}),aboveFooter:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})},mobile:{topPage:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),middle:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),aboveFooter:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"})}}),CI=({htmlTemplateProps:e,header:t,headerMini:n,contactForm:o,mostReadArticles:s,contactDetails:l,addresses:c,menu:p,footer:m,newsletter:h,breadcrumb:A})=>{const w=new d8({layout:e.layout,config:yZ(),adsEnabled:!0});return a.jsxs(Yr,{header:t,headerMini:n,menu:p,footer:m,htmlTemplateProps:e,adTopPage:w.renderAd("topPage"),children:[a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",mb:{xs:"xxl"},bg:"grey-50",children:[A,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs(he,{direction:"column",gap:"xl",className:"o-lt-show__main",children:[a.jsx(Wr,{size:"xxl-2",mx:"m",mb:"l",children:"Contact"}),a.jsx(ye,{ml:"m",mr:{sm:"0",xs:"m"},mb:"xxl",children:o}),a.jsx(wn,{color:"ultramarine",mb:"s",ml:"m",mr:{md:"0",xs:"m"}}),l,c]}),e.layout===ve.MOBILE&&w.renderAd("middle"),a.jsxs(he,{as:"aside",direction:"column",gap:"xl",className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:s}),e.layout===ve.DESKTOP&&w.renderAd("aside")]})]}),w.renderAd("aboveFooter")]}),h]})},TI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:p,newsletter:m,tabs:h})=>{const A=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Yr,{htmlTemplateProps:e,adTopPage:A,header:t,headerMini:n,menu:o,footer:s,toolbar:l,children:e.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap",mb:"xxl",bg:"grey-50",children:[c,p,h,a.jsx(Ce,{mb:"xxl-2",adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[c,a.jsx(Hc,{bg:"direct",mb:"xxs"}),p,h,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_3",variant:"ARTICLE"}),m]})})},NI=({header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,articles:p})=>a.jsx(Yr,{header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(he,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",id:"elections-ia-articles-container",children:p}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,p,a.jsx(Ce,{my:"l",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"})]})}),DI=({htmlTemplateProps:e,resultsFirstRound:t,participationAndAbstentionFirstRound:n,resultsSecondRound:o,participationAndAbstentionSecondRound:s,distribution:l,mapDepartments:c,mapConstituencies:p,mapEuropean:m,mapTownsByDepartments:h})=>a.jsx(tv,{...e,children:a.jsxs("div",{children:[t,n,o,s,l,a.jsx("div",{id:"elections-departments-map-container",children:c}),a.jsx("div",{id:"elections-constituencies-map-container",children:p}),a.jsx("div",{id:"elections-european-map-container",children:m}),a.jsx("div",{id:"elections-towns-by-departments-map-container",children:h})]})}),RI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,overviewBar:s,footer:l,breadcrumb:c,headerPage:p,resultsFirstRound:m,participationAndAbstentionFirstRound:h,resultsSecondRound:A,participationAndAbstentionSecondRound:w,distribution:_,mapDepartments:D,mapConstituencies:S,mapEuropean:T,mapTownsByDepartments:C,summary:I,sideLocalitiesBottom:L,lastArticlesCarousel:P,resultsFiltered:q})=>{let H;const W=A===void 0?!1:!Hh(A);return e.layout===ve.DESKTOP?(H=a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"elections-towns-by-departments-map-container",children:C}),m,h,a.jsx("div",{id:"elections-departments-map-container",children:D}),a.jsx("div",{id:"elections-constituencies-map-container",children:S}),a.jsx("div",{id:"elections-european-map-container",children:T}),_]}),W&&(H=a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"elections-towns-by-departments-map-container",children:C}),_,a.jsx("div",{id:"elections-departments-map-container",children:D}),a.jsx("div",{id:"elections-constituencies-map-container",children:S}),A,w,a.jsx(wn,{thickness:"thick",color:"ultramarine",my:"xxl-2"}),m,h]})),a.jsx(Yr,{adTopPage:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),header:t,headerMini:n,menu:o,overviewBar:s,footer:l,htmlTemplateProps:e,hasTopSentinel:!0,children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,p,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsxs("div",{className:"o-lt-show__main",children:[H,I]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"}),L,a.jsx(Ce,{className:"o-lt-show__stickywrap",adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_btf",variant:"PAVE"})]})]}),P,a.jsx(Ce,{mb:"xxl",adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_mtf",variant:"BAN"}),q,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})})):(H=a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"elections-towns-by-departments-map-container",children:C}),m,L,h,a.jsx("div",{id:"elections-departments-map-container",children:D}),a.jsx("div",{id:"elections-constituencies-map-container",children:S}),a.jsx("div",{id:"elections-european-map-container",children:T}),_]}),W&&(H=a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"elections-towns-by-departments-map-container",children:C}),_,L,a.jsx("div",{id:"elections-departments-map-container",children:D}),a.jsx("div",{id:"elections-constituencies-map-container",children:S}),A,w,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"}),a.jsx(wn,{thickness:"thick",color:"ultramarine",my:"xxl",mx:"m"}),m,h,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE",mb:"xxl"})]})),a.jsx(Yr,{header:t,headerMini:n,menu:o,overviewBar:s,footer:l,htmlTemplateProps:e,hasTopSentinel:!0,children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,p,a.jsx(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:a.jsxs("div",{className:"o-lt-show__main",children:[H,I]})}),P,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_3",variant:"ARTICLE",mb:"xxl"}),q,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_4",variant:"ARTICLE",mb:"xxl"})]})}))},OI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,overviewBar:s,footer:l,breadcrumb:c,headerPage:p,multipleResults:m,resultsFirstRound:h,participationAndAbstentionFirstRound:A,resultsSecondRound:w,participationAndAbstentionSecondRound:_,summary:D,inseeBlock:S,refreshButton:T,sideLocalitiesTop:C,sideLocalitiesBottom:I,lastArticlesCarousel:L,lastArticlesCarouselBis:P,resultsFiltered:q})=>{let H;const W=w===void 0?!1:!Hh(w);return e.layout===ve.DESKTOP?(H=a.jsxs(a.Fragment,{children:[m,h,A,D,S]}),W&&(H=a.jsxs(a.Fragment,{children:[m,w,_,a.jsx(wn,{thickness:"thick",color:"ultramarine",my:"xxl-2"}),h,A,D,S]})),a.jsx(Yr,{adTopPage:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),header:t,headerMini:n,menu:o,overviewBar:s,footer:l,htmlTemplateProps:e,hasTopSentinel:!0,children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,p,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xxl-2",children:[a.jsxs("div",{className:"o-lt-show__main",children:[T,H]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[C,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"}),I,a.jsx(Ce,{className:"o-lt-show__stickywrap",adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_btf",variant:"PAVE"})]})]}),L,P,a.jsx(Ce,{mb:"xxl",adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_mtf",variant:"BAN"}),q,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})})):(H=a.jsxs(a.Fragment,{children:[m,h,C,A,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"}),I,D,S]}),W&&(H=a.jsxs(a.Fragment,{children:[m,w,C,_,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"}),I,a.jsx(wn,{thickness:"thick",color:"ultramarine",my:"xxl",mx:"m"}),h,A,D,S]})),a.jsx(Yr,{header:t,headerMini:n,menu:o,overviewBar:s,footer:l,htmlTemplateProps:e,hasTopSentinel:!0,children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,p,a.jsx(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xxl-2",children:a.jsxs("div",{className:"o-lt-show__main",children:[T,H]})}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE",mb:"xxl"}),L,P,q,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})}))},II=({header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,errorContent:l})=>a.jsxs(Yr,{header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),children:[a.jsx(ye,{as:"section",className:"o-page-wrap u-arch-shadow",pb:{xs:"xl",md:"xxl"},pt:{xs:"s",md:"xxl"},px:"m",bg:"grey-50",children:l}),s.layout===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/pave_atf",variant:"PAVE"})]}),jI=({htmlTemplateProps:e,footer:t,headerPage:n,gamesList:o,iframe:s,ad:l})=>a.jsxs(tv,{...e,children:[a.jsx(ye,{id:"page-wrap",className:"o-page",children:a.jsxs(ye,{as:"article",pb:"xl",bg:"grey-50",children:[n,s,o,l]})}),t]}),MI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:p,gamesList:m})=>a.jsx(Yr,{adTopPage:e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),header:t,headerMini:n,menu:o,footer:s,toolbar:l,htmlTemplateProps:e,children:e.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,p,a.jsx(ye,{id:"mbrs-game-block-container",style:{minHeight:"98px"},mt:"xl"}),a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mt:"xl",mb:"xxl-2",children:[a.jsx("div",{className:"o-lt-show__main",children:m}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs(ye,{as:"article",pb:"xl",bg:"grey-50",children:[c,p,a.jsx(ye,{id:"mbrs-game-block-container",my:"l",style:{minHeight:"78px"}}),m,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_3",variant:"ARTICLE"})]})}),bZ=["anagrammes","mots-croises","mots-fleches","mots-melanges","sudoku","sudoku-chaos","sudoku-killer"],LI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,toolbar:l,breadcrumb:c,contact:p,headerPage:m,gameContent:h,iframe:A,faq:w})=>a.jsxs(Yr,{htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,toolbar:l,adTopPage:e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):void 0,children:[a.jsxs(ye,{as:"article",className:ko({"o-page-wrap u-arch-shadow":e.layout===ve.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,m,A,bZ.includes(e.firstPartyScripts.datalayerInfo?.pageKey||"")&&a.jsx("div",{id:"mbrs-game-ranking"}),p,e.layout===ve.DESKTOP?a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[w,h]}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}):a.jsxs(a.Fragment,{children:[w,h]})]}),e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]}),sm=({content:e})=>a.jsx("section",{dangerouslySetInnerHTML:{__html:e}});class xZ extends om{constructor({data:t,layout:n}){super({data:t,layout:n,templateActivators:{}})}transformContent(){const t={};return this.data.articlesListTop&&(t.articlesListTop=this.layout===ve.DESKTOP?a.jsx(sm,{content:this.handleDesktopAds()}):a.jsx(sm,{content:this.handleMobileAds()})),{...this.data,...t}}resolveTemplating(){return null}handleDesktopAds(){const t=Ki(vu(this.data.articlesListTop)),n=t.querySelectorAll(".card-item-4");if(n&&n.length===1){const o=Wa(be.createElement(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/native_web",variant:"ARTICLE"}));n[0].insertAdjacentHTML("afterend",o)}return t.toString()}handleMobileAds(){const t=Ki(vu(this.data.articlesListTop)),n=t.querySelectorAll(".card-item-3");if(n&&n.length===1){const o=Wa(be.createElement(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_1",variant:"ARTICLE"}));n[0].insertAdjacentHTML("afterend",o)}return t.toString()}}const kI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,overviewBar:s,footer:l,toolbar:c,articlesListTop:p,featuredTag:m,secondArticlesListMobile:h,articlesListBottom:A,mostReadArticles:w,thirdArticlesListMobile:_,localNews:D,tvBlock:S,showsReplaysCarousel:T,gamesCarousel:C,currentVideos:I,entertainment:L,sport:P,inPictures:q,tempo:H,highTech:W,planet:Z,professionalLife:ie,podcasts:ee,purchaseGuide:$,discoverNow:V,cityByCity:X,partners:se,conso:de,movies:Ae,tvProgram:Oe,shows:Pe,municipalBlock:Se})=>{const Ie=new xZ({data:{articlesListTop:p},layout:e.layout}).resolve(),Ue=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/header_ad",variant:"HEADER",mb:"m"});return a.jsx(Yr,{htmlTemplateProps:e,header:t,headerMini:n,menu:o,overviewBar:s,footer:l,toolbar:c,adTopPage:Ue,children:e.layout===ve.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsx(k_,{}),a.jsxs(ye,{as:"section",className:"o-page-wrap u-arch-shadow",pb:"xxl-2",bg:"grey-50",children:[a.jsxs(he,{gap:"xl",mt:"m",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:Ie.content.articlesListTop}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx(O5,{iconSize:20,mb:"l",layout:ve.DESKTOP}),w,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),m,a.jsx(wn,{color:"ultramarine",mb:"xxl"}),a.jsxs(he,{gap:"xl",className:"o-lt-show","data-scroll-trigger":!0,children:[a.jsx("div",{className:"o-lt-show__main",children:A}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{className:"o-lt-show__stickywrap",adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_btf",variant:"PAVE"})})]}),a.jsx("div",{id:"local-news-container",children:D})]}),S,T,I,a.jsx(ye,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"0",bg:"grey-50",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_mtf",variant:"BAN"})}),C,a.jsxs(ye,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"xxl-2",pb:"xxl",bg:"grey-50",children:[L,P,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_mtf1",variant:"BAN"})]}),q,a.jsxs(ye,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"xxl-2",pb:"xxl",bg:"grey-50",children:[H,W,Z,ie,de,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_mtf2",variant:"BAN"})]}),ee,a.jsxs(ye,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"xxl-2",pb:"xxl",bg:"grey-50",children:[$,V]}),Ae,Oe,Pe,a.jsxs(ye,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"xxl-2",pb:"xxl",bg:"grey-50",children:[X,se,Se,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_btf",variant:"BAN"})]})]}):a.jsxs(a.Fragment,{children:[Ie.content.articlesListTop,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_2",variant:"ARTICLE"}),a.jsx(O5,{mb:"l",layout:ve.MOBILE}),w,h,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_3",variant:"ARTICLE"}),m,_,a.jsx("div",{id:"local-news-container",children:D}),S,T,I,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_4",variant:"ARTICLE"}),C,L,P,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_5",variant:"ARTICLE"}),q,H,W,Z,ie,de,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_6",variant:"ARTICLE"}),ee,$,V,Ae,Oe,Pe,X,se,Se,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_7",variant:"ARTICLE"})]})})},BI=({breadcrumb:e,headerPage:t,cover:n,encloseBanner:o,header:s,headerMini:l,htmlTemplateProps:c,footer:p,jobFaqs:m,jobProperties:h,menu:A,relatedJobsCategory:w,professionalLifeArticles:_,overviewBar:D})=>a.jsx(Yr,{header:s,headerMini:l,menu:A,footer:p,htmlTemplateProps:c,adTopPage:c.layout===ve.MOBILE?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),overviewBar:D,children:c.layout===ve.MOBILE?a.jsxs("article",{children:[e,t,a.jsx(o2,{inner:!0,mt:"s",children:h}),a.jsx(Ce,{mb:"l",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_atf",variant:"ARTICLE"}),m,o,w,_,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ARTICLE"})]}):a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[e,t,a.jsxs(he,{gap:"xl",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[n,h,m,o]}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),w,_,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})}),PI=({htmlTemplateProps:e,overviewBar:t,header:n,headerMini:o,menu:s,footer:l,breadcrumb:c,headerPage:p,cardsList:m,businessSectorsList:h,professionalLifeArticles:A})=>{const w=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Yr,{adTopPage:w,header:n,headerMini:o,menu:s,footer:l,htmlTemplateProps:e,overviewBar:t,children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,p,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsx("div",{className:"o-lt-show__main",children:m}),a.jsx("aside",{className:"o-lt-show__aside",children:e.layout===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),e.layout===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_mtf",variant:"BAN",mb:"xxl-2"}),h,A,e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"})]})})},FI=({header:e,headerMini:t,headerPage:n,menu:o,footer:s,htmlTemplateProps:l,breadcrumb:c,mainInformationBlock:p,articles:m})=>a.jsx(Yr,{htmlTemplateProps:l,header:e,headerMini:t,menu:o,footer:s,adTopPage:l.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:l.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[c,n,p,!Hh(m)&&a.jsxs(he,{className:"o-lt-show",mt:"xxl",children:[a.jsx(ye,{className:"o-lt-show__main",children:a.jsx("div",{id:"journalist-article-list-container",children:m})}),a.jsx(ye,{as:"aside",className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]}):a.jsxs(ye,{as:"article",children:[c,n,p,!Hh(m)&&a.jsx("div",{id:"journalist-article-list-container",children:m}),a.jsx(Ce,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_1",variant:"ATF"})]})}),HI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:p,cardsList:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Yr,{adTopPage:h,header:t,headerMini:n,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:[a.jsxs(ye,{as:"article",className:ko({"o-page-wrap u-arch-shadow":e.layout===ve.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,p,m]}),a.jsx(Ce,{adUnitCompletePath:e.layout===ve.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},UI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,headerPage:c,faq:p,cardsList:m,regionsList:h})=>{const A=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Yr,{adTopPage:A,header:t,headerMini:n,menu:o,footer:s,htmlTemplateProps:e,children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[l,c,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsxs("div",{className:"o-lt-show__main",children:[a.jsx(I2,{buttonLabel:"Publier votre annonce légale",title:a.jsxs(a.Fragment,{children:["Votre annonce légale",a.jsx("br",{}),"en 4 étapes avec 20 Minutes"]}),url:"https://20minutes.medialex.fr/20minutes/nouvelle-annonce/formulaire",mt:"l",mb:"xl"}),p,a.jsx(wn,{color:"ultramarine",my:"xxl"}),a.jsx("div",{id:"department-legal-notice-list-container",children:m})]}),e.layout===ve.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),h,e.layout===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]})})},zI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,headerPage:c,cardsList:p,departmentsList:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Yr,{adTopPage:h,header:t,headerMini:n,menu:o,footer:s,htmlTemplateProps:e,children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[l,c,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsxs("div",{className:"o-lt-show__main",children:[a.jsx(I2,{buttonLabel:"Publier votre annonce légale",title:a.jsxs(a.Fragment,{children:["Votre annonce légale",a.jsx("br",{}),"en 4 étapes avec 20 Minutes"]}),url:"https://20minutes.medialex.fr/20minutes/nouvelle-annonce/formulaire",mt:"l",mb:"xl"}),a.jsx(t9,{items:[{id:1,text:a.jsxs(a.Fragment,{children:[a.jsx("b",{style:{display:"contents"},children:"Séléctionnez"})," votre modèle d’annonce légale"]})},{id:2,text:a.jsxs(a.Fragment,{children:[a.jsx("b",{style:{display:"contents"},children:"Remplissez"})," le formulaire en quelques clics"]})},{id:3,text:a.jsxs(a.Fragment,{children:[a.jsx("b",{style:{display:"contents"},children:"Annonce légale"})," publiée sous 24h après validation et conformité légale"]})},{id:4,text:a.jsxs(a.Fragment,{children:[a.jsx("b",{style:{display:"contents"},children:"Attestation"})," de parution et facture disponibles immédiatement après la publication"]})}],mb:"xxl-2",mx:{xs:"m",md:"0"}}),a.jsx(Pg,{contentProps:{className:"c-prose--dark c-prose--serif"},items:[{title:"Pourquoi publier une annonce légale avec 20 Minutes ?",content:"<p>Publier une annonce légale avec 20 Minutes, c’est opter pour un service rapide et conforme. En quelques clics, vous validez votre annonce, qui est vérifiée sous 24 heures pour respecter les exigences légales. Profitez de la visibilité d’un média reconnu et recevez instantanément votre attestation de parution et votre facture en ligne. Avec 20 Minutes, bénéficiez d’une publication efficace et accessible, pour toutes les étapes importantes de votre entreprise !</p>"},{title:"Qui doit publier une annonce légale ?",content:"<p>La publication d’une annonce légale est obligatoire pour les entreprises à chaque étape clé de leur parcours juridique : création, modification de statuts, changement de dirigeant, augmentation de capital ou dissolution. Que vous soyez une société commerciale, une association, ou dans certains cas une micro-entreprise, cette démarche assure transparence et conformité envers le public et vos partenaires.</p>"},{title:"Comment publier une annonce légale avec 20 Minutes ?",content:"<p>Publier une annonce légale avec 20 Minutes est simple et rapide. Remplissez le formulaire avec les informations de votre entreprise en quelques étapes, et laissez-vous guider. Une fois votre annonce soumise, notre équipe la vérifie pour garantir sa conformité légale. En 24 heures, votre annonce est publiée, et vous recevez immédiatement votre attestation de parution ainsi que votre facture.</p>"},{title:"Quels sont les tarifs d’une annonce légale sur 20 Minutes ?",content:"<p>Les tarifs d’une annonce légale sur 20 Minutes varient en fonction de plusieurs critères : le type d’annonce (création d’entreprise, modification de statut, dissolution, etc…), le département de publication, et le nombre de lignes. En France, le coût est généralement calculé par ligne et est soumis à une tarification réglementée par département.</p>"},{title:"Comment trouver mon annonce légale sur 20 Minutes ?",content:"<p>Pour retrouver votre annonce légale sur 20 Minutes, vous pouvez accéder directement à notre site et vous rendre dans la section dédiée aux annonces légales. En saisissant des informations spécifiques, comme le nom du département, la période de publication ou le type d’annonce vous accéderez rapidement à votre annonce. Une fois trouvée, vous pourrez la consulter ou télécharger l’attestation de parution si vous en avez besoin pour vos démarches administratives.</p>"},{title:"Dans quels départements puis-je publier une annonce légale avec 20 Minutes ?",content:"<p>Vous avez la possibilité de publier une annonce légale dans plus de 100 départements en France. Nous couvrons une grande partie du territoire, incluant les principales métropoles ainsi que de nombreuses autres départements. Pour savoir si votre département est éligible, consultez la liste complète des zones disponibles ou indiquez simplement votre code postal lors de la préparation de votre annonce pour une validation rapide.</p>"}]}),a.jsx(wn,{color:"ultramarine",my:"xxl"}),a.jsx(Wr,{as:"h2",size:"s",mb:"s",mx:{xs:"m",md:"0"},children:"Consulter les annonces légales publiées sur 20 Minutes"}),a.jsx("div",{id:"home-legal-notice-list-container",children:p})]}),e.layout===ve.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),m,e.layout===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]})})},qI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,headerPage:c,content:p,cardsList:m,departmentsList:h})=>{const A=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),w=a.jsx(I2,{buttonLabel:"Publier votre annonce légale",title:a.jsxs(a.Fragment,{children:["Votre annonce légale",a.jsx("br",{}),"en 4 étapes avec 20 Minutes"]}),url:"https://20minutes.medialex.fr/20minutes/nouvelle-annonce/formulaire",mt:"xxl-2",mb:"xxl"}),_=a.jsx(Wr,{as:"h2",size:"s",mb:"s",mx:{xs:"m",md:"0"},children:"Consulter les annonces légales publiées sur 20 Minutes"});return a.jsx(Yr,{adTopPage:A,header:t,headerMini:n,menu:o,footer:s,htmlTemplateProps:e,children:e.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[l,c,a.jsxs(he,{gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsxs("div",{className:"o-lt-show__main",children:[p,w,a.jsx(wn,{color:"ultramarine",my:"xxl"}),_,m]}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),h]}):a.jsxs(ye,{as:"article",pb:"xl",bg:"grey-50",children:[l,c,p,w,a.jsx(wn,{color:"ultramarine",my:"xxl"}),_,m,h,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]})})},AZ=()=>({desktop:{topPage:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/live/ban_atf",variant:"ATF"}),aboveSponsoredContent:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/live/pave_atf",variant:"PAVE"}),belowSponsoredContent:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/live/pave_mtf",variant:"PAVE"}),stickyAside:a.jsx(Ce,{className:"u-sticky u-sticky--spaced-header-mini",adUnitCompletePath:"/49926454/20minutes_desktop/live/pave_btf",variant:"PAVE"}),banMiddle:a.jsx(Ce,{mb:"xl",adUnitCompletePath:"/49926454/20minutes_desktop/live/ban_mtf",variant:"BAN"}),banBottom:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/live/ban_btf",variant:"BAN"})},mobile:{topPage:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/live/header_ad",variant:"HEADER"}),belowSponsoredContent:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/live/article_mtf",variant:"ARTICLE"}),belowFooter:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/article/article_btf",variant:"ARTICLE"}),aboveSummary:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/live/article_atf",variant:"ARTICLE",mb:"l"})}});class EZ extends om{constructor({data:t,layout:n}){super({data:t,layout:n,templateActivators:{enableAds:!0,enableDisplayOnHeaderAd:!1,enableBlockLinks:!0,enableHeaderAd:!0,enableSponsoredContents:!0,enableFavorite:!0}})}transformContent(){return{...this.data,liveContent:this.data.livePostsThread}}resolveTemplating(){const{livePostsThread:t,topContent:n}=this.data,o=rv(w2(Wa(t)+Wa(n)));this.templateActivators={...this.templateActivators,enableDisplayOnHeaderAd:this.templateActivators.enableAds&&o}}}const _Z=e=>{const t=e.match(/bg-(\w+)/);return t?t[1]:void 0},VI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,liveIndicator:l,breadcrumb:c,contentHeader:p,contentHeaderMobile:m,cover:h,socialBar:A,signature:w,summary:_,topContent:D,liveQuestion:S,livePostsThread:T,liveImportantPostsThread:C,comment:I,commentButton:L,readAlsoBlockAbove:P,tagBar:q,mostReadArticles:H,newsletter:W,sideBrandsArticles:Z,latestContentsCarousel:ie,rubricCarousels:ee,partnerCards:$,scrollProgressButton:V})=>{const X=_&&be.isValidElement(_)&&_.props?.dangerouslySetInnerHTML?.__html?.includes("div"),se=be.useMemo(()=>[{name:"le-direct",title:"Le Direct",content:T,tabColor:"red",isNoWrap:!0},...X||_?.props?.summary||P?[{name:"resume",title:"Le contexte",content:a.jsxs(a.Fragment,{children:[_,P]}),isNoWrap:!0,tabColor:X?_Z(_?.props?.dangerouslySetInnerHTML?.__html||""):_?.props?.rubricColor}]:[],...be.isValidElement(C)&&C.props?.dangerouslySetInnerHTML?.__html?.includes("div")?[{name:"temps-forts",title:"Les temps forts",tabColor:"red",content:C,isNoWrap:!0}]:[]],[_?.props?.rubricColor,X,C,T,P,_]),Ae=new EZ({data:{livePostsThread:T,topContent:D},layout:e.layout}).resolve(),Oe=AZ();return a.jsxs(F3,{htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,adsPageConfig:Oe,liveIndicator:l,breadcrumb:c,contentHeader:p,contentHeaderMobile:m,cover:h,socialBar:A,signature:w,topContent:D,tagBar:q,comment:I,commentButton:L,mostReadArticles:H,newsletter:W,sideBrandsArticles:Z,scrollProgressButton:V,latestContentsCarousel:ie,rubricCarousels:ee,partnerCards:$,templating:Ae.templateActivators,children:[S,a.jsx(Mf,{id:"live-posts-container",name:"live-tabs",tabItems:se,tabProps:{px:{xs:"m",md:"0"}}}),a.jsx("div",{className:"js-limit-scroll-close-article-btn js-limit-scroll-progress-bar"})]})},GI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:p,cardsList:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Yr,{adTopPage:h,header:t,headerMini:n,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:[a.jsxs(ye,{as:"article",className:ko({"o-page-wrap u-arch-shadow":e.layout===ve.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,p,m]}),a.jsx(Ce,{adUnitCompletePath:e.layout===ve.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},KI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:p,mostCommentedArticles:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Yr,{adTopPage:h,htmlTemplateProps:e,header:t,menu:o,footer:s,toolbar:l,headerMini:n,children:a.jsxs(ye,{as:"section",className:"o-page-wrap",bg:"grey-50",children:[c,p,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:m}),a.jsx("aside",{className:"o-lt-show__aside",children:e.layout===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]})})},WI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:p,mostReadArticles:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Yr,{htmlTemplateProps:e,header:t,menu:o,footer:s,toolbar:l,headerMini:n,adTopPage:h,children:a.jsxs(ye,{as:"section",className:"o-page-wrap",bg:"grey-50",children:[c,p,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",id:"main-most-read-container",children:m}),e.layout===ve.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),e.layout===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})})},QI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:p,mostSharedArticles:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Yr,{adTopPage:h,htmlTemplateProps:e,header:t,menu:o,footer:s,toolbar:l,headerMini:n,children:a.jsxs(ye,{as:"section",className:"o-page-wrap",bg:"grey-50",children:[c,p,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:m}),a.jsx("aside",{className:"o-lt-show__aside",children:e.layout===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]})})},YI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,headerPage:c,moviesNavigation:p,mostReadArticles:m,moviesList:h})=>{const A=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Yr,{adTopPage:A,htmlTemplateProps:e,header:t,menu:o,footer:s,headerMini:n,children:e.layout===ve.DESKTOP?a.jsxs(ye,{as:"section",className:"o-page-wrap",bg:"grey-50",mb:"xxl",children:[l,c,a.jsxs(he,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[p,a.jsx("div",{id:"movies-container",children:h})]}),a.jsxs("div",{className:"o-lt-show__aside",children:[m,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]})]}):a.jsxs(ye,{as:"section",bg:"grey-50",children:[l,c,p,a.jsx("div",{id:"movies-container",children:h}),m]})})},ZI=({header:e,headerMini:t,menu:n,footer:o,toolbar:s,htmlTemplateProps:l,breadcrumb:c,headerPage:p,articlesByTag:m})=>{const h=l.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Yr,{adTopPage:h,header:e,headerMini:t,menu:n,footer:o,toolbar:s,htmlTemplateProps:l,children:[a.jsxs(ye,{as:"article",className:"o-page-wrap",pb:"xxl",bg:"grey-50",children:[c,p,m]}),l.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]})},$I=[...sF,aF,iF],wZ=(e,t)=>{const n=e||t;if(!n)return;const o=n.replace(/(?:main|piano)-([^/]+)\.min\.js$/,"partner-tracking-overrides-$1.min.js");return o===n?void 0:o},JI=({header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s})=>{const l={...s,firstPartyScripts:{...s.firstPartyScripts,partnerTrackingOverridesScript:wZ(s.firstPartyScripts.mainTyrScript,s.firstPartyScripts.pianoScript)},partnerLayoutContract:!0};return a.jsx(Yr,{header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:l,children:s.layout===ve.DESKTOP?a.jsx(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:a.jsx(mu,{comment:$I})}):a.jsx(ye,{as:"article",children:a.jsx(mu,{comment:$I})})})},XI=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,headerPage:c,articlesList:p,newsletter:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Yr,{adTopPage:h,header:t,headerMini:n,menu:o,footer:s,htmlTemplateProps:e,children:[a.jsxs(ye,{as:"section",className:ko({"o-page-wrap u-arch-shadow":e.layout===ve.DESKTOP}),mb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(he,{gap:"xl",className:"o-lt-show",mb:"xxl-2",children:[a.jsxs("div",{id:"quiz-container",className:"o-lt-show__main",children:[!e.pageMetaData?.isPaginationPage&&m&&m,p]}),e.layout===ve.DESKTOP&&a.jsxs(he,{as:"aside",direction:"column",gap:"xxl",className:"o-lt-show__aside",children:[a.jsx(_a,{grow:1,children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})}),a.jsx(_a,{grow:1,children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_mtf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]})]}),a.jsx(Ce,{adUnitCompletePath:e.layout===ve.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},ej=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,toolbar:s,footer:l,breadcrumb:c,rewindList:p})=>a.jsx(Yr,{header:t,headerMini:n,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:a.jsxs(ye,{as:"article",className:ko({"o-page-wrap u-arch-shadow":e.layout===ve.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,a.jsx(Al,{layout:e.layout,heading:{children:"Mon Rewind"},subtitle:"Revivez les moments forts de votre année avec votre rétrospective pesonnalisée",mb:{xs:"s",md:"xl"}}),p,a.jsx(ye,{mb:"m",className:"js-rewind-alert u-hidden",children:a.jsx(A_,{variant:"warning",fill:!0,iconProps:{name:"info",size:20},title:"Optimisez votre Rewind",description:"Votre rétrospective peut être partielle si vous n’avez pas accepté les cookies de mesure d’audience."})}),a.jsx(Me,{mb:"l",size:"xxs",px:{xs:"m",md:"0"},children:"Vos données personnelles font l’objet d’un traitement informatique par la société 20 Minutes, sur le fondement de l’exécution du contrat et de notre intérêt légitime. Elles sont utilisées pour la gestion de votre compte en ligne, l’accès à nos services, la connaissance de nos lectrices et lecteurs (personnaliser les contenus éditoriaux, les produits et services proposés, améliorer l’expérience utilisateur, les parcours de navigation et qualifier les audiences du site), ainsi qu’à des fins d’envoi d’informations relatives à nos produits et services. Ces données seront conservées 3 ans après la fin du contrat sauf dispositions légales particulières."}),a.jsxs(Me,{mb:"l",size:"xxs",px:{xs:"m",md:"0"},children:["Sous réserve de votre consentement dans notre plateforme de gestion des cookies, les données déduites d’informations renseignées dans votre compte utilisateur (ex : tranche d’âge estimée, genre estimé…) peuvent également être utilisées pour l’affichage de publicités ciblées par profilage à partir de votre navigation, si vous naviguez en mode « mode « connecté » sur nos Sites et Applications. Ces données seront conservées 6 mois à compter de votre consentement. Vous disposez d’un droit d’accès, de rectification, d’opposition, de limitation et de portabilité, en vous adressant directement à"," ",a.jsx(Yt,{href:"mailto:dpo@20minutes.fr",children:"dpo@20minutes.fr"})," ou par courrier à : Délégué à la Protection des Données Personnelles 20 Minutes Bâtiment B, 159, rue Anatole France, CS 50216, 92309 Levallois-Perret Cedex. Vous avez également le droit d’introduire une réclamation auprès de la CNIL."," ",a.jsx(Yt,{href:"https://www.20minutes.fr/politique-protection-donnees-personnelles",children:"En savoir plus"})]}),a.jsx(Yt,{href:"https://www.20minutes.fr/accessibilite",size:"xxs",px:{xs:"m",md:"0"},children:"Accessibilité : partiellement conforme"})]})}),tj=({header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,mostReadArticles:p})=>a.jsx(Yr,{header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(he,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx("div",{className:"gcse-search"})}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:p}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,a.jsx(o2,{inner:!0,children:a.jsx("div",{className:"gcse-search"})}),a.jsx(Ce,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ATF"})]})}),rj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:p,cardsList:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Yr,{adTopPage:h,header:t,headerMini:n,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:[a.jsxs(ye,{as:"article",className:ko({"o-page-wrap u-arch-shadow":e.layout===ve.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,p,m]}),a.jsx(Ce,{adUnitCompletePath:e.layout===ve.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},nj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:p,cardsList:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Yr,{adTopPage:h,header:t,headerMini:n,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:[a.jsxs(ye,{as:"article",className:ko({"o-page-wrap u-arch-shadow":e.layout===ve.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,p,m]}),a.jsx(Ce,{adUnitCompletePath:e.layout===ve.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},aj=({header:e,footer:t,menu:n,htmlTemplateProps:o,breadcrumb:s,headerPage:l,sitemapTagsList:c,topBulletedList:p,bottomBulletedList:m,mostReadArticles:h})=>a.jsx(Yr,{htmlTemplateProps:o,header:e,footer:t,menu:n,adTopPage:o.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",mb:"xxl",bg:"grey-50",children:[s,l,o.layout===ve.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsxs(he,{mt:"m",direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs(he,{direction:"column",gap:"xxl-2",className:"o-lt-show__main",children:[c,p]}),a.jsx("aside",{className:"o-lt-show__aside o-lt-show__aside--fit-container",children:h})]}),a.jsxs(he,{gap:"xl",mt:"xxl-2",className:"o-lt-show",children:[a.jsx(he,{direction:"column",gap:"xxl-2",className:"o-lt-show__main",children:m}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]}):a.jsx(ye,{as:"article",className:"o-page-wrap u-arch-shadow",mb:"xxl",bg:"grey-50",children:a.jsxs(he,{direction:"column",gap:"xl",className:"o-lt-show__main",children:[c,p,m,h,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})})]})}),ij=["23057135412","23057517469"],U3={in_read_desktop:"/49926454/20minutes_desktop/article/inread",in_read_mobile:"/49926454/20minutes_webmobile/article/inread",pave_article:"/49926454/20minutes_desktop/article/pave_article",article_mtf:"/49926454/20minutes_webmobile/article/article_mtf"};class SZ extends om{constructor({data:t,layout:n}){super({data:t,layout:n,templateActivators:{enableDisplayOnHeaderAd:!1,enableInSlideshowAds:!0,enableAds:!0,enableSponsoredContents:!0,enableBlockLinks:!0,enableAudio:!1,enableHeaderAd:!0,enableFavorite:!0}})}transformContent(){return this.templateActivators.enableInSlideshowAds&&(this.data.slideshowContent=this.layout===ve.DESKTOP?this.insertInreadDesktop(this.data.slideshowContent):this.insertInreadMobile(this.data.slideshowContent)),{...this.data,slideshowContent:this.data.slideshowContent,media:this.data.cover}}resolveTemplating(){const{htmlTemplateProps:t}=this.data,n=t.firstPartyScripts.datalayerInfo?.dfpTagArticlesId?.[this.layout]||[],o=!ij.some(s=>n.includes(s));this.templateActivators={...this.templateActivators,enableAds:!ij.some(s=>n.includes(s)),enableInSlideshowAds:o,enableSponsoredContents:o}}injectInArticleAd({isInread:t,html:n,paragraph:o}){if(t&&!rv(n.toString())){const s=Wa(be.createElement(Ce,{adUnitCompletePath:this.layout===ve.DESKTOP?U3.in_read_desktop:U3.in_read_mobile,variant:"INREAD"}));o.insertAdjacentHTML("afterend",s)}else{const s=Wa(be.createElement(Ce,{adUnitCompletePath:this.layout===ve.DESKTOP?U3.pave_article:U3.article_mtf,variant:"ARTICLE"}));o.insertAdjacentHTML("afterend",s)}}insertInreadDesktop(t){const n=Ki(vu(t)),o=n.innerHTML.replace(/(<([^>]+)>)/gi,""),s=n.querySelectorAll(".c-content > p:not([class])");if(s.length>=4&&o.length>1200){this.injectInArticleAd({isInread:!0,html:n,paragraph:s[2]});let l=6,c=!1,p=1;for(;s.length-1>l&&p<3;){const m=s[l];this.injectInArticleAd({isInread:c,html:n,paragraph:m}),l+=4,p+=1,c=!c}}return xp(n.toString())}insertInreadMobile(t){const n=Ki(vu(t)),o=n.innerHTML.replace(/(<([^>]+)>)/gi,""),s=n.querySelectorAll(".c-content > p:not([class])");if(s.length>=4&&o.length>1200){this.injectInArticleAd({isInread:!0,html:n,paragraph:s[2]});let l=6,c=!1,p=1;for(;s.length-1>l&&p<3;){const m=s[l];this.injectInArticleAd({isInread:c,html:n,paragraph:m}),l+=4,p+=1,c=!c}}return xp(n.toString())}}const oj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,readAlsoBanner:l,breadcrumb:c,contentHeader:p,contentHeaderMobile:m,cover:h,socialBar:A,signature:w,summary:_,slideshowContent:D,encloseBanner:S,highlightedText:T,comment:C,commentButton:I,readAlsoBlockBelow:L,tagBar:P,mostReadArticles:q,newsletter:H,sideBrandsArticles:W,latestContentsCarousel:Z,rubricCarousels:ie,partnerCards:ee,scrollProgressBar:$,scrollProgressButton:V,topContent:X})=>{const de=new SZ({data:{slideshowContent:D,cover:h,htmlTemplateProps:e},layout:e.layout}).resolve(),Ae={...e,firstPartyScripts:{...e.firstPartyScripts,partnerFeatures:{...e.firstPartyScripts.partnerFeatures,enableDisplayOnHeaderAd:de.templateActivators?.enableDisplayOnHeaderAd??!1}}},Oe=xI({isPubstackAndVideo:de.templateActivators?.enableDisplayOnHeaderAd,contentSubtype:Ae.firstPartyScripts.datalayerInfo?.subType||""});return a.jsxs(F3,{htmlTemplateProps:Ae,header:t,headerMini:n,menu:o,footer:s,adsPageConfig:Oe,readAlsoBanner:l,breadcrumb:c,contentHeader:p,contentHeaderMobile:m,cover:h,socialBar:A,signature:w,summary:_,readAlsoBlockBelow:L,tagBar:P,comment:C,commentButton:I,mostReadArticles:q,newsletter:H,sideBrandsArticles:W,scrollProgressBar:$,scrollProgressButton:V,latestContentsCarousel:Z,rubricCarousels:ie,partnerCards:ee,topContent:X,templating:de.templateActivators,templateVariant:P3.FULL_WIDTH_COVER,children:[de.content.slideshowContent,a.jsx("div",{className:"js-limit-scroll-close-article-btn js-limit-scroll-progress-bar"}),S&&S,!Hh(T)&&a.jsx(ye,{mx:{xs:"m",md:"0"},mb:"l",children:T})]})},sj=({header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,mostReadArticles:p,content:m,sidebar:h})=>a.jsx(Yr,{header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(he,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:m}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:p}),h]})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,m,a.jsx(Ce,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_1",variant:"ATF",isFullscreenMobile:!0}),p,h,a.jsx(Ce,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_2",variant:"ATF",isFullscreenMobile:!0})]})}),uj=({header:e,headerMini:t,menu:n,content:o,footer:s,htmlTemplateProps:l})=>a.jsx(Yr,{header:e,headerMini:t,menu:n,htmlTemplateProps:l,footer:s,children:a.jsx(he,{as:"article",className:"o-page-wrap u-arch-shadow",py:"xxl-2",px:{xs:"m",md:"0"},bg:"grey-50",direction:"column",children:o})}),CZ=e=>({desktop:{topPage:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/ban_atf":"/49926454/20minutes_desktop/homepage/ban_atf",variant:"ATF"}),stickyAsideTop:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/pave_atf":"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE"}),native:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/native_web":"/49926454/20minutes_desktop/homepage/native_web",variant:"ARTICLE"}),adListTop:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/pave_btf":"/49926454/20minutes_desktop/homepage/pave_btf",variant:"ARTICLE"}),stickyAsideBottom:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/pave_mtf":"/49926454/20minutes_desktop/homepage/pave_mtf",variant:"PAVE",className:"o-lt-show__stickywrap"}),banBottom:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/ban_btf":"/49926454/20minutes_desktop/homepage/ban_btf",variant:"BAN"})},mobile:{topPage:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_webmobile/brand_publishing/header_ad":"/49926454/20minutes_webmobile/homepage/header_ad",variant:"HEADER"}),aboveFooter:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_webmobile/brand_publishing/nfb_4":"/49926454/20minutes_webmobile/homepage/nfb_4",variant:"ARTICLE"}),adListTop:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_webmobile/brand_publishing/nfb_1":"/49926454/20minutes_webmobile/homepage/nfb_1",variant:"ARTICLE",mt:"s"}),adListBottom:a.jsx(Ce,{adUnitCompletePath:Wu.includes(e)?"/49926454/20minutes_webmobile/brand_publishing/nfb_2":"/49926454/20minutes_webmobile/homepage/nfb_2",variant:"ARTICLE"})}}),TZ=["23058043934","23057517715"];class f8 extends om{constructor({data:t,layout:n,adsPageConfig:o}){super({data:t,layout:n,templateActivators:{enableHeaderAd:!0,enableAds:!0}}),this.adsPageConfig=o}transformContent(){const t={},{enableAds:n}=this.templateActivators;if(!this.data.articlesListTop)return this.data;if(!n)return{...this.data,articlesListTop:a.jsx(sm,{content:f8.removeAds(this.data.articlesListTop)})};if(t.articlesListTop=this.layout===ve.DESKTOP?a.jsx(sm,{content:this.insertNativeAds(this.data.articlesListTop)}):a.jsx(sm,{content:this.insertNFBAndNativeAds(this.data.articlesListTop)}),this.layout===ve.DESKTOP&&Wu.includes(this.data.htmlTemplateProps.firstPartyScripts.datalayerInfo?.parentTagSlug||"")){const o=Ki(vu(t.articlesListTop)),s=o.querySelector('[data-dfp-name="pave_atf"]');if(s){const l=Wa(this.adsPageConfig.desktop.stickyAsideTop);s.insertAdjacentHTML("afterend",l),s.remove(),t.articlesListTop=a.jsx(sm,{content:o.toString()})}}return{...this.data,...t}}resolveTemplating(){const{htmlTemplateProps:t}=this.data,n=t.firstPartyScripts.datalayerInfo?.pageKey||"",o=t.firstPartyScripts.datalayerInfo?.dfpTagHomeId?.[this.layout]||[],s=!TZ.some(l=>o.includes(l));this.templateActivators={...this.templateActivators,enableAds:s,enableHeaderAd:s&&n!=="guide-achat"}}insertNFBAndNativeAds(t){const n=Ki(vu(t)),o=n.querySelectorAll(".card-item-2");if(o&&o.length===1){const l=Wa(this.adsPageConfig.mobile.adListTop);o[0].insertAdjacentHTML("afterend",l)}const s=n.querySelectorAll(".card-item-6");if(s&&s.length===1){const l=Wa(this.adsPageConfig.mobile.adListBottom);s[0].insertAdjacentHTML("afterend",l)}return n.toString()}insertNativeAds(t){const n=Ki(vu(t)),o=n.querySelectorAll(".card-item-2");if(o&&o.length===1){const l=Wa(this.adsPageConfig.desktop.native);o[0].insertAdjacentHTML("afterend",l)}const s=n.querySelectorAll(".card-item-7");if(s&&s.length===1){const l=Wa(this.adsPageConfig.desktop.adListTop);s[0].insertAdjacentHTML("afterend",l)}return n.toString()}static removeAds(t){const n=Ki(vu(t));return n.querySelectorAll("[data-dfp-path]").forEach(s=>{s.remove()}),n.toString()}}const lj=({htmlTemplateProps:e,header:t,headerMini:n,overviewBar:o,menu:s,toolbar:l,footer:c,breadcrumb:p,headerPage:m,articlesListTop:h,newsCarousel:A,newsletter:w,articlesListBottom:_,brandPublishingArticleBottom:D})=>{const S=CZ(e.firstPartyScripts.datalayerInfo?.parentTagSlug||""),C=new f8({data:{articlesListTop:h,htmlTemplateProps:e},layout:e.layout,adsPageConfig:S}).resolve(),I=new d8({layout:e.layout,config:S,adsEnabled:C.templateActivators.enableAds});return a.jsxs(Yr,{adTopPage:e.layout===ve.DESKTOP&&C.templateActivators.enableAds||C.templateActivators.enableHeaderAd?I.renderAd("topPage"):null,header:t,headerMini:n,overviewBar:o,menu:s,toolbar:l,footer:c,htmlTemplateProps:e,children:[a.jsxs(ye,{as:"article",className:"o-page-wrap o-page-wrap--above u-arch-shadow",bg:"grey-50",children:[p,m]}),C.content.articlesListTop,!Hh(A)&&a.jsx(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:A}),!e.pageMetaData?.isPaginationPage&&w&&w,!e.pageMetaData?.isPaginationPage&&a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",pt:"0",bg:"grey-50",children:[a.jsxs(he,{id:"article-list-2",direction:{xs:"column",lg:"row"},gap:"xl",mb:"xl",className:"o-lt-show",children:[a.jsx("div",{id:"article-list-bottom-container",className:"o-lt-show__main",children:_}),a.jsx("aside",{className:"o-lt-show__aside",children:e.layout===ve.DESKTOP?a.jsxs(a.Fragment,{children:[D,I.renderAd("stickyAsideBottom")]}):I.renderAd("aboveFooter")})]}),I.renderAd("banBottom")]})]})},NZ=({colorVariant:e="ultramarine",cookieLink:t="https://www.20minutes.fr/gestion-cookies",privacyPolicyUrl:n,vendorName:o="20 Minutes (contenus interactifs)"})=>a.jsxs(ye,{className:"cmp-placeholder u-hidden",borderColor:"grey-200",radius:"l",p:"xxl",children:[a.jsxs(Me,{size:"xxl",color:e,mb:"xxl",fontFamily:"source-serif-pro",weight:"semi-bold",children:["L’accès à ce contenu"," ",a.jsx(Me,{as:"span",weight:"bold",children:o})," ","a été bloqué afin de respecter vos choix de consentement"]}),a.jsxs(Me,{size:"l",mb:"m",children:['En cliquant sur "Accepter les cookies", vous consentez au dépôt de cookies par'," ",a.jsx(Me,{as:"span",weight:"bold",children:o})," ","et pourrez ainsi accéder à ce contenu interactif."]}),a.jsx(Me,{size:"l",mb:"m",children:"Vous pouvez, à tout moment, modifier vos choix cookies ou retirer votre consentement en bas de nos pages."}),a.jsxs(Me,{size:"s",mb:"xl",children:["En savoir plus sur notre"," ",a.jsx(Me,{color:e,as:"a",href:t,children:"politique de cookies"}),n&&a.jsxs(a.Fragment,{children:[" ","et sur la"," ",a.jsx(Me,{color:e,as:"a",href:n,children:"politique de confidentialité de ce partenaire"})]}),"."]}),a.jsxs(he,{direction:"row",gap:"m",justifyContent:"center",wrap:"wrap",children:[a.jsx(bn,{className:"cmp-preferences-button",variant:"outlined",children:"Gérer mes préférences"}),a.jsx(bn,{className:"cmp-button",children:"J’accepte les cookies"})]})]}),cj=({placeholder:e="minified",children:t})=>{const n=vu(t);let o=Ki(n);return o=FD(o),o=HD(o),a.jsxs("div",{className:"embed-placeholder",children:[a.jsx("div",{className:"embed-wrapper u-hidden",children:a.jsx(e6,{html:o.outerHTML})}),e==="default"&&a.jsx(NZ,{}),e==="minified"&&a.jsx(BD,{})]})},dj=({header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,mostReadArticles:p})=>a.jsx(Yr,{header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(he,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(cj,{children:a.jsx("div",{className:"waze-traffic",children:a.jsx("iframe",{title:"waze-widget",src:"https://embed.waze.com/fr/iframe?zoom=13&lat=48.85661&lon=2.35222&pin=1",width:"100%",height:"520"})})})}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:p}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,a.jsx(o2,{inner:!0,children:a.jsx(cj,{children:a.jsx("div",{className:"waze-traffic",children:a.jsx("iframe",{title:"waze-widget",src:"https://embed.waze.com/fr/iframe?zoom=13&lat=48.85661&lon=2.35222&pin=1",width:"100%",height:"520"})})})}),a.jsx(Ce,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ATF"})]})}),fj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,topBlock:l,showsReplaysCarousel:c,mostBlock:p,toolbar:m})=>a.jsx(Yr,{htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,toolbar:m,children:e.layout===ve.DESKTOP?a.jsxs(a.Fragment,{children:[l,c,a.jsxs(ye,{as:"section",className:"o-page-wrap",py:"xxl",children:[a.jsx(zc,{label:"Stories",mb:"xxl",as:"h2",color:"white"}),a.jsx("div",{id:"dtk-videofeed-carrousel"})]}),a.jsx(ye,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_mtf",variant:"BAN"})}),p,a.jsx(ye,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})})]}):a.jsxs(a.Fragment,{children:[l,c,a.jsxs(ye,{as:"section",ml:"m",py:"xxl",children:[a.jsx(zc,{label:"Stories",mb:"xxl",as:"h2",color:"white"}),a.jsx("div",{id:"dtk-videofeed-carrousel"})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"ARTICLE",mb:"xxl",hasNoBgColorMobile:!0}),p,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0})]})}),pj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,topBlock:c,timeline:p,showsReplaysCarousel:m,mostBlock:h,toolbar:A})=>a.jsx(Yr,{htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,toolbar:A,children:e.layout===ve.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsxs(ye,{as:"section",className:"o-page-wrap o-page__player-container",children:[l,c]}),a.jsx(ye,{as:"section",bg:"blue-grey",children:p}),a.jsx(he,{py:"xxl",justifyContent:"center",children:a.jsx(bn,{as:"a",color:"translucent",href:"https://programme-tv.20minutes.fr/programme-tv/ce-soir",children:"Voir le programme TV du jour"})}),a.jsx(ye,{as:"section",className:"o-page-wrap",py:"xxl-2",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_mtf",variant:"BAN"})}),m,h,a.jsx(ye,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})})]}):a.jsxs(a.Fragment,{children:[l,c,p,a.jsx(he,{py:"xxl",justifyContent:"center",children:a.jsx(bn,{as:"a",color:"translucent",href:"https://programme-tv.20minutes.fr/programme-tv/ce-soir",children:"Voir le programme TV du jour"})}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0}),m,h,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0})]})}),hj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:p,videosList:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/header_ad",variant:"HEADER",hasNoBgColorMobile:!0}),A=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN",mb:"xl"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"BAN",mb:"xl",hasNoBgColorMobile:!0});return a.jsx(Yr,{adTopPage:h,header:t,headerMini:n,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,backgroundPageColor:"blue-dark",children:a.jsxs(ye,{as:"article",className:"o-page-wrap",color:"white",children:[c,p,a.jsxs(he,{id:"video-list-container",direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsx("div",{className:"ol-lt-show__main",children:m}),e.layout===ve.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),A]})})},mj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:p,videosList:m})=>{const h=e.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/header_ad",variant:"HEADER",hasNoBgColorMobile:!0});return a.jsx(Yr,{adTopPage:h,header:t,headerMini:n,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,backgroundPageColor:"blue-dark",children:a.jsxs(ye,{as:"article",className:"o-page-wrap",color:"white",children:[c,p,a.jsxs(he,{id:"video-list-container",direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsx("div",{className:"ol-lt-show__main",children:m}),e.layout===ve.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),e.layout===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN",mb:"xl"})]})})},vj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,mainBlock:c,showsReplaysCarousel:p,mostBlock:m,toolbar:h})=>a.jsx(Yr,{htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,toolbar:h,children:e.layout===ve.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsx(ye,{as:"section",className:"o-page-wrap o-shift-breadcrumb-bottom",children:l}),c,a.jsx(ye,{as:"section",className:"o-page-wrap",py:"xxl-2",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_mtf",variant:"BAN"})}),p,m,a.jsx(ye,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})})]}):a.jsxs(a.Fragment,{children:[a.jsx(ye,{as:"section",className:"o-page-wrap o-shift-breadcrumb-bottom",children:l}),c,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0}),p,m,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0})]})}),gj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,programs:c})=>{const p=a.jsx(Wr,{fontFamily:"obviously",size:{xs:"l",md:"xxl"},color:"white",mb:{xs:"xxl",md:"xxl-2"},mx:{xs:"m",md:"0"},children:"Tous les programmes"});return a.jsx(Yr,{htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,children:e.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap",pb:"xxl",children:[l,p,c,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,p,c,a.jsx(Ce,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/tv/article_btf",variant:"ATF",hasNoBgColorMobile:!0})]})})};class DZ extends om{constructor({data:t,layout:n}){super({data:t,layout:n,templateActivators:{enableAds:!0,enableBlockLinks:!0,enableScrollToFeed:!1}})}transformContent(){return this.data}resolveTemplating(){this.templateActivators={...this.templateActivators,enableScrollToFeed:this.layout===ve.MOBILE}}}const yj=({htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,breadcrumb:l,pageTitle:c,topBlock:p,mostVideos:m,extractsAndReplays:h,showsReplaysCarousel:A,backgroundImg:w,toolbar:_})=>{const S=new DZ({data:{topBlock:p},layout:e.layout}).resolve();return a.jsxs(Yr,{htmlTemplateProps:e,header:t,headerMini:n,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,toolbar:_,enableScrollToFeed:S.templateActivators.enableScrollToFeed,children:[w,e.layout===ve.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsxs(ye,{as:"article",className:"o-page-wrap o-page__player-container",children:[l,a.jsxs(ye,{as:"section",color:"white",className:"o-lt-show",children:[c,a.jsxs(he,{gap:"xl",children:[a.jsx("div",{className:"o-lt-show__main",children:S.content.topBlock}),a.jsx("aside",{className:"o-lt-show__aside",children:m})]})]})]}),h,a.jsx(ye,{as:"section",className:"o-page-wrap",py:"xxl-2",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_mtf",variant:"BAN"})}),A,a.jsx(ye,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})})]}):a.jsxs(a.Fragment,{children:[l,a.jsxs(ye,{as:"section",color:"white",className:"o-page__player-container",children:[c,S.content.topBlock,h,m]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0}),A,a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0})]})]})},bj=({header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c})=>a.jsx(Yr,{header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,children:a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(he,{gap:"xl",className:"o-lt-show",children:[a.jsxs(o2,{className:"o-lt-show__main c-content",mx:{xs:"m",md:"0"},children:[a.jsx("p",{children:"Pour retirer votre consentement Utiq uniquement sur ce site, cliquez sur Retirer le consentement Utiq. Pour consulter et gérer tous vos consentements Utiq, y compris les retirer tous en une seule fois ou individuellement par chaque site partenaire , ou désactiver ou empêcher l’activation du service, accédez au consenthub d’Utiq. Si vous avez retiré votre consentement mais souhaitez à nouveau utiliser le Service Utiq, cliquez sur Pop-Up Consentement Utiq."}),a.jsx("h2",{children:"À propos du Service Utiq"}),a.jsx("p",{children:"Le Service Utiq vous offre un contrôle accru et une transparence sur l’utilisation de vos données lorsque vous activez une expérience personnalisée ou des analyses sur les sites partenaires d’Utiq. Dans le cadre du service Utiq, vous avez accès à un portail centralisé en libre-service, appelé consenthub d’Utiq, qui vous permet de gérer tous vos choix de Service Utiq et vos consentements Utiq ainsi que d’exercer vos droits en matière de protection des données. À tout moment. En un seul endroit. Utiq est un service facultatif. Cela signifie qu’il n’est pas activé par défaut et qu’il est uniquement activé lorsque vous donnez votre consentement sur un site participant via la fenêtre pop-up de consentement Utiq dédiée. En savoir plus sur le service Utiq sur consenthub.utiq.com"}),a.jsx("h2",{children:"À propos de notre partenariat avec Utiq"}),a.jsxs("div",{children:["Le Service Utiq est opéré par Utiq SA/NV et fourni en partenariat avec votre opérateur téléphonique et des sites partenaires comme le nôtre. Nous sommes des responsables conjoints avec Utiq pour fournir le Service Utiq. Dans le cadre de notre accord de responsables conjoints :",a.jsx("br",{}),a.jsx("br",{}),a.jsx(J_,{children:a.jsxs("ul",{children:[a.jsx("li",{children:"Le traitement lié au Service Utiq est basé sur le consentement que nous recueillons pour le compte de l’écosystème Utiq sur nos sites Web où nous intégrons le Service Utiq."}),a.jsx("li",{children:"Pour les sites Web où nous intégrons le Service Utiq, vous aurez accès à un lien dédié dans le pied de page pour vous fournir des informations sur le service, comment le gérer et vous informer de notre partenariat avec Utiq."}),a.jsx("li",{children:"Utiq met à votre disposition un portail de confidentialité centralisé (consenthub) pour faciliter l’exercice de vos droits en matière de protection des données et vous permettre de gérer facilement vos consentements Utiq et vos préférences de confidentialité du Service Utiq. À tout moment. En un seul endroit."}),a.jsx("li",{children:"Nonobstant le fait que vous pouvez exercer vos droits à l’égard de l’un des contrôleurs, Utiq agit en tant que point de contact commun pour toute question ou demande que vous pourriez avoir en relation avec le Service Utiq."})]})})]}),a.jsx("p",{children:"Si vous avez donné votre consentement pour activer le Service Utiq lors de votre première visite sur notre site, Utiq ne partagera avec nous que deux signaux sécurisés publicitaires. Ils sont appelés martechpass et adtechpass, ce sont des valeurs aléatoires générées par Utiq qui, sans révéler votre identité, nous permettent de vous reconnaître comme le même visiteur. Nous les utiliserons ensuite pour vous fournir du contenu personnalisé, de la publicité ou réaliser des analyses, en fonction des finalités pour lesquelles vous nous avez donné votre consentement. Le martechpass et adtechpass expirent respectivement après 90 jours ou 24 heures et sont stockées sur votre navigateur avec les cookies associés. Vous pouvez trouver plus d’informations sur le service Utiq dans le consenthub d’Utiq ou dans la Déclaration de confidentialité d’Utiq."})]}),s.layout===ve.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside"})]})]})}),xj=({header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,mostReadArticles:p})=>a.jsx(Yr,{header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ve.DESKTOP?a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ve.DESKTOP?a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(he,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main"}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:p}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,a.jsx(o2,{inner:!0,children:" "}),a.jsx(Ce,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ATF"})]})}),Aj=({header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,breadcrumb:l})=>a.jsxs(Yr,{header:e,headerMini:t,menu:n,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ve.DESKTOP&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),children:[a.jsxs(ye,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[l,a.jsx(Al,{layout:s.layout,heading:{children:"Pourquoi créer un compte 20 Minutes ?"},subtitle:"Quels sont les avantages de s’inscrire à 20 Minutes ?",mb:{xs:"s",md:"l"}}),a.jsxs(he,{direction:{xs:"column",md:"row"},gap:"xl",className:"o-lt-show",mb:{xs:"xl",md:"0"},children:[a.jsxs("div",{className:"o-lt-show__main",children:[a.jsx(t9,{items:[{id:1,text:a.jsxs("div",{children:[a.jsx(Me,{as:"p",size:"xl",weight:"bold",mb:"m",children:"Personnalisez votre expérience"}),a.jsxs(Me,{as:"ul",className:"c-list-with-disc",pl:"s",children:[a.jsxs("li",{children:[a.jsx("b",{children:"Sauvegardez vos articles"})," favoris pour les lire plus tard"]}),a.jsxs("li",{children:["Recevez des ",a.jsx("b",{children:"newsletters thématiques personnalisées"})," pour ne rien manquer de l’actualité"]}),a.jsxs("li",{children:["Recevez des ",a.jsx("b",{children:"notifications et alertes"})," sur vos sujets préférés"]})]})]})},{id:2,text:a.jsxs("div",{children:[a.jsx(Me,{as:"p",size:"xl",weight:"bold",mb:"m",children:"Interagissez et donnez votre avis"}),a.jsxs(Me,{as:"ul",className:"c-list-with-disc",pl:"s",children:[a.jsxs("li",{children:[a.jsx("b",{children:"Commentez"})," et ",a.jsx("b",{children:"échangez"})," avec la communauté 20 Minutes sur les articles"]}),a.jsxs("li",{children:[a.jsx("b",{children:"Participez"})," à des ",a.jsx("b",{children:"sondages"})," et ",a.jsx("b",{children:"enquêtes"})," sur nos live"]})]})]})},{id:3,text:a.jsxs("div",{children:[a.jsx(Me,{as:"p",size:"xl",weight:"bold",mb:"m",children:"Fonctionnalités supplémentaires"}),a.jsxs(Me,{as:"ul",className:"c-list-with-disc",pl:"s",children:[a.jsxs("li",{children:["Accédez à tous nos ",a.jsx("b",{children:"contenus sans restriction"}),", gratuitement et sans aucun blocage"]}),a.jsxs("li",{children:["Retrouvez facilement votre activité, en consultant votre"," ",a.jsx("b",{children:"historique de lecture"})]}),a.jsxs("li",{children:[a.jsx("b",{children:"Affrontez d’autres joueurs"})," sur nos jeux exclusifs et"," ",a.jsx("b",{children:"suivez vos performances"})]})]})]})},{id:4,text:a.jsxs("div",{children:[a.jsx(Me,{as:"p",size:"xl",weight:"bold",mb:"m",children:"Soutenir le média 20 Minutes"}),a.jsxs(Me,{as:"ul",className:"c-list-with-disc",pl:"s",children:[a.jsxs("li",{children:["Votre engagement permet à 20 Minutes de continuer à produire"," ",a.jsx("b",{children:"des articles fiables, des enquêtes approfondies et des analyses pertinentes"}),"."]}),a.jsxs("li",{children:["Aidez-nous à"," ",a.jsx("b",{children:"mieux comprendre vos attentes et votre opinion sur l’actualité"})," en participant à des sondages et échanges avec la rédaction."]}),a.jsxs("li",{children:[a.jsx("b",{children:"Soutenez un média libre et accessible à tous"}),", qui défend un journalisme indépendant, transparent et éthique, sans barrière payante."]})]})]})}],mb:"xxl-2",mx:{xs:"m",md:"0"}}),a.jsx(I2,{buttonLabel:"Je m’inscris",title:"Rejoignez la communauté 20 Minutes dès maintenant et vivez l’info autrement !",url:"https://membre.20minutes.fr/inscription/"})]}),s.layout===ve.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]}),s.layout===ve.MOBILE&&a.jsx(Ce,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"PAVE"})]}),RZ={name:"adIframe",component:cI,expiration:1800,components:[{name:Mg.AD_IFRAME_EXTERNAL_AD_ELEMENT,required:!0,propName:"adHtml"}]},Jr=[{name:nt.COMMON_HEADER,required:!0,propName:"header"},{name:nt.COMMON_FOOTER,required:!0,propName:"footer"},{name:nt.COMMON_MENU,required:!0,propName:"menu"}],Uh=!0,OZ={name:"animalQuiz",component:gI,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Uh,propName:"headerMini"},{name:qc.ANIMAL_QUIZ_BREADCRUMB,required:Uh,propName:"breadcrumb"},{name:qc.ANIMAL_QUIZ_HEADER_PAGE,required:Uh,propName:"headerPage"},{name:qc.ANIMAL_QUIZ_RUBRIC_CAROUSELS,required:Uh,propName:"rubricCarousels"},{name:qc.ANIMAL_QUIZ_JSON_LD_BREADCRUMB,required:Uh,propName:"jsonLdBreadcrumb"},{name:qc.ANIMAL_QUIZ_META,required:Uh,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Uh,propName:"defaultPreload"}]},qf=!0,IZ={name:"archiveByDay",component:yI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:qf,propName:"headerMini"},{name:ao.ARCHIVES_BREADCRUMB,required:qf,propName:"breadcrumb"},{name:ao.ARCHIVES_PAGE_TITLE,required:qf,propName:"pageTitle"},{name:ao.ARCHIVES_DAYS_LIST,required:qf,propName:"archivesByDay"},{name:ao.ARCHIVES_CONTENTS,required:qf,propName:"archivesOfDay"},{name:ao.ARCHIVES_PDF_LIST,required:qf,propName:"archivePdfList"},{name:nt.COMMON_MOST_READ_ARTICLES,required:qf,propName:"mostReadArticles"},{name:ao.ARCHIVES_META,required:qf,propName:"meta"},{name:nt.COMMON_PRELOAD,required:qf,propName:"defaultPreload"}]},Vf=!0,jZ={name:"archiveByYear",component:bI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Vf,propName:"headerMini"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Vf,propName:"mostReadArticles"},{name:ao.ARCHIVES_BREADCRUMB,required:Vf,propName:"breadcrumb"},{name:ao.ARCHIVES_MONTHS_LIST,required:Vf,propName:"monthsList"},{name:ao.ARCHIVES_YEARS_LIST,required:Vf,propName:"yearsList"},{name:ao.ARCHIVES_PAGE_TITLE,required:Vf,propName:"pageTitle"},{name:ao.ARCHIVES_PDF_LIST,required:Vf,propName:"archivePdfList"},{name:ao.ARCHIVES_META,required:Vf,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Vf,propName:"defaultPreload"}]},MZ={name:"article",component:_I,expiration:300,components:[...Jr,{name:cr.CONTENT_HEADER_MINI,required:!0,propName:"headerMini"},{name:cr.CONTENT_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:cr.CONTENT_HEADER,required:!0,propName:"contentHeader"},{name:cr.CONTENT_COVER,required:!0,propName:"cover"},{name:cr.CONTENT_SOCIAL_BAR,required:!0,propName:"socialBar"},{name:cr.CONTENT_SIGNATURE,required:!0,propName:"signature"},{name:cr.CONTENT_SUMMARY,required:!0,propName:"summary"},{name:pu.ARTICLE_CONTENT,required:!0,propName:"articleContent"},{name:pu.ARTICLE_ENCLOSE,required:!0,propName:"encloseBanner"},{name:cr.CONTENT_TAG_BAR,required:!0,propName:"tagBar"},{name:_l.RUBRIC_MOST_READ_ARTICLES,required:!1,propName:"mostReadArticles"},{name:nt.COMMON_LATEST_CONTENTS_CARROUSEL,required:!1,propName:"latestContentsCarousel"},{name:_l.RUBRIC_RUBRIC_CAROUSELS,required:!1,propName:"rubricCarousels"},{name:_l.RUBRIC_THREE_COLUMNS_ARTICLES,required:!1,propName:"partnerCards"},{name:cr.CONTENT_JSON_LD_BREADCRUMB,required:!1,propName:"jsonLdBreadcrumb"},{name:pu.ARTICLE_JSON_LD_CLAIM_REVIEW,required:!1,propName:"jsonLdClaimReview"},{name:pu.ARTICLE_JSON_LD_NEWS_ARTICLE,required:!1,propName:"jsonLdNewsArticle"},{name:cr.CONTENT_META,required:!0,propName:"meta"},{name:pu.ARTICLE_PRELOAD,required:!0,propName:"preload"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:cr.CONTENT_COMMENT_V2,required:!0,propName:"comment"},{name:cr.CONTENT_COMMENT_BUTTON,required:!0,propName:"commentButton"},{name:cr.CONTENT_READALSO_BLOCK,required:!1,propName:"readAlsoBlockBelow"},{name:cr.CONTENT_SIDE_BRANDS_ARTICLES,required:!1,propName:"sideBrandsArticles"},{name:cr.CONTENT_HEADER_MOBILE,required:!0,propName:"contentHeaderMobile"},{name:pu.ARTICLE_HIGHLIGHTED_TEXT,required:!1,propName:"highlightedText"},{name:cr.CONTENT_READALSO_BANNER,required:!1,propName:"readAlsoBanner"},{name:cr.CONTENT_SCROLL_PROGRESS_BUTTON,required:!1,propName:"scrollProgressButton"},{name:pu.ARTICLE_CHATBOT_BUTTON,required:!1,propName:"chatbotButton"}]},LZ={name:"astroHome",component:wI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:ka.ASTRO_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:ka.ASTRO_HEADER_PAGE,required:!0,propName:"headerPage"},{name:ka.ASTRO_HOMEPAGE_CONTENT,required:!0,propName:"astroHomepageContent"},{name:ka.ASTRO_ASTRO_TILES,required:!0,propName:"astroTiles"},{name:ka.ASTRO_ASTRO_LINKS_NEXT_TYPES,required:!0,propName:"astroLinksNextTypes"},{name:ka.ASTRO_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:ka.ASTRO_META,required:!0,propName:"meta"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"}]},kZ={name:"astro",component:SI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:ka.ASTRO_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:ka.ASTRO_HEADER_PAGE,required:!0,propName:"headerPage"},{name:ka.ASTRO_HEADER_BANNER,required:!0,propName:"headerBanner"},{name:ka.ASTRO_ASTRO_CONTENT,required:!0,propName:"astroContent"},{name:ka.ASTRO_LINK,required:!0,propName:"link"},{name:ka.ASTRO_ASTRO_LINKS_NEXT_TYPES,required:!0,propName:"astroLinksNextTypes"},{name:ka.ASTRO_ASTRO_TILES,required:!0,propName:"astroTiles"},{name:ka.ASTRO_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:ka.ASTRO_META,required:!0,propName:"meta"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"}]},Gf=!0,BZ={name:"contact",component:CI,expiration:3600*24,components:[...Jr,{name:qu.CONTACT_BREADCRUMB,required:Gf,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Gf,propName:"mostReadArticles"},{name:qu.CONTACT_JSON_LD_BREADCRUMB,required:Gf,propName:"jsonLdBreadcrumb"},{name:nt.COMMON_PRELOAD,required:Gf,propName:"defaultPreload"},{name:qu.CONTACT_ADDRESSES,required:Gf,propName:"addresses"},{name:qu.CONTACT_FORM,required:Gf,propName:"contactForm"},{name:qu.CONTACT_DETAILS,required:Gf,propName:"contactDetails"},{name:qu.CONTACT_BREADCRUMB,required:Gf,propName:"breadcrumb"},{name:qu.CONTACT_META,required:Gf,propName:"meta"}]},zh=!0,PZ={name:"direct",component:TI,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:zh,propName:"headerMini"},{name:Fd.DIRECT_BREADCRUMB,required:zh,propName:"breadcrumb"},{name:Fd.DIRECT_HEADER_PAGE,required:zh,propName:"headerPage"},{name:Fd.DIRECT_TABS,required:zh,propName:"tabs"},{name:Fd.DIRECT_META,required:zh,propName:"meta"},{name:nt.COMMON_PRELOAD,required:zh,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:zh,propName:"toolbar"}]},qh=!0,FZ={name:"electionsAiArticles",component:NI,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:qh,propName:"headerMini"},{name:Vc.ELECTIONS_AI_ARTICLES_BREADCRUMB,required:qh,propName:"breadcrumb"},{name:Vc.ELECTIONS_AI_ARTICLES_HEADER_PAGE,required:qh,propName:"headerPage"},{name:Vc.ELECTIONS_AI_ARTICLES_LIST,required:qh,propName:"articles"},{name:Vc.ELECTIONS_AI_ARTICLES_JSON_LD_BREADCRUMB,required:qh,propName:"jsonLdBreadcrumb"},{name:Vc.ELECTIONS_AI_ARTICLES_META,required:qh,propName:"meta"},{name:nt.COMMON_PRELOAD,required:qh,propName:"defaultPreload"}]},Qd=!0,HZ={name:"electionsEmbed",component:DI,expiration:60,components:[{name:ar.ELECTIONS_META,required:Qd,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Qd,propName:"defaultPreload"},{name:ar.ELECTIONS_RESULTS_FIRST_ROUND,required:Qd,propName:"resultsFirstRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_FIRST_ROUND,required:Qd,propName:"participationAndAbstentionFirstRound"},{name:ar.ELECTIONS_RESULTS_SECOND_ROUND,required:Qd,propName:"resultsSecondRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_SECOND_ROUND,required:Qd,propName:"participationAndAbstentionSecondRound"},{name:ar.ELECTIONS_DISTRIBUTION,required:Qd,propName:"distribution"},{name:ar.ELECTIONS_MAP_DEPARTMENTS,required:Qd,propName:"mapDepartments"},{name:ar.ELECTIONS_MAP_CONSTITUENCIES,required:Qd,propName:"mapConstituencies"},{name:ar.ELECTIONS_MAP_EUROPEAN,required:Qd,propName:"mapEuropean"},{name:ar.ELECTIONS_MAP_TOWNS_BY_DEPARTMENTS,required:Qd,propName:"mapTownsByDepartments"}]},vo=!0,UZ={name:"electionsHome",component:RI,expiration:60,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:vo,propName:"headerMini"},{name:ar.ELECTIONS_JSON_LD_BREADCRUMB,required:vo,propName:"jsonLdBreadcrumb"},{name:ar.ELECTIONS_JSON_LD_FAQ,required:vo,propName:"jsonLdFaq"},{name:ar.ELECTIONS_META,required:vo,propName:"meta"},{name:nt.COMMON_PRELOAD,required:vo,propName:"defaultPreload"},{name:ar.ELECTIONS_BREADCRUMB,required:vo,propName:"breadcrumb"},{name:ar.ELECTIONS_HEADER_PAGE,required:vo,propName:"headerPage"},{name:ar.ELECTIONS_RESULTS_FIRST_ROUND,required:vo,propName:"resultsFirstRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_FIRST_ROUND,required:vo,propName:"participationAndAbstentionFirstRound"},{name:ar.ELECTIONS_RESULTS_SECOND_ROUND,required:vo,propName:"resultsSecondRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_SECOND_ROUND,required:vo,propName:"participationAndAbstentionSecondRound"},{name:ar.ELECTIONS_DISTRIBUTION,required:vo,propName:"distribution"},{name:ar.ELECTIONS_MAP_DEPARTMENTS,required:vo,propName:"mapDepartments"},{name:ar.ELECTIONS_MAP_CONSTITUENCIES,required:vo,propName:"mapConstituencies"},{name:ar.ELECTIONS_MAP_EUROPEAN,required:vo,propName:"mapEuropean"},{name:ar.ELECTIONS_MAP_TOWNS_BY_DEPARTMENTS,required:vo,propName:"mapTownsByDepartments"},{name:ar.ELECTIONS_SUMMARY,required:vo,propName:"summary"},{name:ar.ELECTIONS_SIDE_LOCALITIES_BOTTOM,required:vo,propName:"sideLocalitiesBottom"},{name:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL,required:vo,propName:"lastArticlesCarousel"},{name:ar.ELECTIONS_RESULTS_FILTERED,required:vo,propName:"resultsFiltered"},{name:nt.COMMON_ELECTIONS_SEARCH_BANNER,required:vo,propName:"overviewBar"}]},go=!0,zZ={name:"elections",component:OI,expiration:60,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:go,propName:"headerMini"},{name:ar.ELECTIONS_JSON_LD_BREADCRUMB,required:go,propName:"jsonLdBreadcrumb"},{name:ar.ELECTIONS_JSON_LD_FAQ,required:go,propName:"jsonLdFaq"},{name:ar.ELECTIONS_META,required:go,propName:"meta"},{name:nt.COMMON_PRELOAD,required:go,propName:"defaultPreload"},{name:ar.ELECTIONS_BREADCRUMB,required:go,propName:"breadcrumb"},{name:ar.ELECTIONS_HEADER_PAGE,required:go,propName:"headerPage"},{name:ar.ELECTIONS_RESULTS_MULTIPLE,required:go,propName:"multipleResults"},{name:ar.ELECTIONS_RESULTS_FIRST_ROUND,required:go,propName:"resultsFirstRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_FIRST_ROUND,required:go,propName:"participationAndAbstentionFirstRound"},{name:ar.ELECTIONS_RESULTS_SECOND_ROUND,required:go,propName:"resultsSecondRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_SECOND_ROUND,required:go,propName:"participationAndAbstentionSecondRound"},{name:ar.ELECTIONS_SUMMARY,required:go,propName:"summary"},{name:ar.ELECTIONS_INSEE_BLOCK,required:go,propName:"inseeBlock"},{name:ar.ELECTIONS_SIDE_LOCALITIES_TOP,required:go,propName:"sideLocalitiesTop"},{name:ar.ELECTIONS_SIDE_LOCALITIES_BOTTOM,required:go,propName:"sideLocalitiesBottom"},{name:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL,required:go,propName:"lastArticlesCarousel"},{name:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL_BIS,required:go,propName:"lastArticlesCarouselBis"},{name:ar.ELECTIONS_RESULTS_FILTERED,required:go,propName:"resultsFiltered"},{name:nt.COMMON_ELECTIONS_SEARCH_BANNER,required:go,propName:"overviewBar"},{name:ar.ELECTIONS_REFRESH_BUTTON,required:go,propName:"refreshButton"}]},z3=!0,qZ={name:"error",component:II,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:z3,propName:"headerMini"},{name:U1.ERROR_CONTENT,required:z3,propName:"errorContent"},{name:U1.ERROR_META,required:z3,propName:"meta"},{name:nt.COMMON_PRELOAD,required:z3,propName:"defaultPreload"}]},Vh=!0,VZ={name:"gameApp",component:jI,expiration:3600,components:[{name:Vn.GAME_APP_FOOTER,required:Vh,propName:"footer"},{name:nt.COMMON_PRELOAD,required:Vh,propName:"defaultPreload"},{name:Vn.GAME_META,required:Vh,propName:"meta"},{name:Vn.GAME_APP_HEADER_PAGE,required:Vh,propName:"headerPage"},{name:Vn.GAME_APP_LIST,required:Vh,propName:"gamesList"},{name:Vn.GAME_APP_IFRAME,required:Vh,propName:"iframe"},{name:Vn.GAME_APP_AD,required:Vh,propName:"ad"}]},Pp=!0,GZ={name:"gameHome",component:MI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Pp,propName:"headerMini"},{name:nt.COMMON_PRELOAD,required:Pp,propName:"defaultPreload"},{name:Vn.GAME_JSON_LD_BREADCRUMB,required:Pp,propName:"jsonLdBreadcrumb"},{name:Vn.GAME_META,required:Pp,propName:"meta"},{name:Vn.GAME_BREADCRUMB,required:Pp,propName:"breadcrumb"},{name:Vn.GAME_HEADER_PAGE,required:Pp,propName:"headerPage"},{name:Vn.GAME_LIST,required:Pp,propName:"gamesList"},{name:nt.COMMON_TOOLBAR,required:Pp,propName:"toolbar"}]},ad=!0,KZ={name:"game",component:LI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:ad,propName:"headerMini"},{name:nt.COMMON_PRELOAD,required:ad,propName:"defaultPreload"},{name:Vn.GAME_META,required:ad,propName:"meta"},{name:Vn.GAME_BREADCRUMB,required:ad,propName:"breadcrumb"},{name:Vn.GAME_HEADER_PAGE,required:ad,propName:"headerPage"},{name:Vn.GAME_FAQ,required:ad,propName:"faq"},{name:Vn.GAME_IFRAME,required:ad,propName:"iframe"},{name:Vn.GAME_CONTENT,required:ad,propName:"gameContent"},{name:Vn.GAME_CONTACT,required:ad,propName:"contact"},{name:nt.COMMON_TOOLBAR,required:ad,propName:"toolbar"},{name:Vn.GAME_JSON_LD_BREADCRUMB,required:ad,propName:"jsonLdBreadcrumb"},{name:Vn.GAME_JSON_LD_FAQ,required:ad,propName:"jsonLdFaq"}]},pa=!0,WZ={name:"home",component:kI,expiration:15,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:pa,propName:"headerMini"},{name:nt.COMMON_PRELOAD,required:pa,propName:"defaultPreload"},{name:kr.HOME_META,required:pa,propName:"meta"},{name:nt.COMMON_OVERVIEW_BAR,required:pa,propName:"overviewBar"},{name:kr.HOME_ARTICLES_LIST_TOP,required:pa,propName:"articlesListTop"},{name:kr.HOME_FEATURED_TAG,required:pa,propName:"featuredTag"},{name:kr.HOME_SECOND_ARTICLES_LIST_MOBILE,required:pa,propName:"secondArticlesListMobile"},{name:kr.HOME_ARTICLES_LIST_BOTTOM,required:pa,propName:"articlesListBottom"},{name:kr.HOME_MOST_READ_ASIDE,required:pa,propName:"mostReadArticles"},{name:kr.HOME_THIRD_ARTICLES_LIST_MOBILE,required:pa,propName:"thirdArticlesListMobile"},{name:kr.HOME_LOCAL_NEWS,required:pa,propName:"localNews"},{name:kr.HOME_TV_BLOCK,required:pa,propName:"tvBlock"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:pa,propName:"showsReplaysCarousel"},{name:kr.HOME_GAMES_CAROUSEL,required:pa,propName:"gamesCarousel"},{name:kr.HOME_CURRENT_VIDEOS,required:pa,propName:"currentVideos"},{name:kr.HOME_ENTERTAINMENT,required:pa,propName:"entertainment"},{name:kr.HOME_SPORT,required:pa,propName:"sport"},{name:kr.HOME_IN_PICTURES,required:pa,propName:"inPictures"},{name:kr.HOME_TEMPO,required:pa,propName:"tempo"},{name:kr.HOME_HIGH_TECH,required:pa,propName:"highTech"},{name:kr.HOME_PLANET,required:pa,propName:"planet"},{name:kr.HOME_PROFESSIONAL_LIFE,required:pa,propName:"professionalLife"},{name:kr.HOME_CONSO,required:pa,propName:"conso"},{name:kr.HOME_PODCASTS,required:pa,propName:"podcasts"},{name:kr.HOME_PURCHASE_GUIDE,required:pa,propName:"purchaseGuide"},{name:kr.HOME_DISCOVER_NOW,required:pa,propName:"discoverNow"},{name:kr.HOME_CITY_BY_CITY,required:pa,propName:"cityByCity"},{name:kr.HOME_PARTNERS,required:pa,propName:"partners"},{name:nt.COMMON_TOOLBAR,required:pa,propName:"toolbar"},{name:kr.HOME_MOVIES,required:pa,propName:"movies"},{name:kr.HOME_TV_PROGRAM,required:pa,propName:"tvProgram"},{name:kr.HOME_MUNICIPAL_BLOCK,required:pa,propName:"municipalBlock"}]},id=!0,QZ={name:"jobDetails",component:BI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:id,propName:"headerMini"},{name:wa.JOBS_BREADCRUMB,required:id,propName:"breadcrumb"},{name:wa.JOBS_HEADER_PAGE,required:id,propName:"headerPage"},{name:wa.JOBS_RELATED_JOBS_CATEGORY,required:id,propName:"relatedJobsCategory"},{name:wa.JOBS_PROFESSIONAL_LIFE_ARTICLES,required:id,propName:"professionalLifeArticles"},{name:wa.JOBS_JSON_LD_BREADCRUMB,required:id,propName:"jsonLdBreadcrumb"},{name:wa.JOBS_META,required:id,propName:"meta"},{name:wa.JOBS_COVER,required:id,propName:"cover"},{name:wa.JOBS_PROPERTIES,required:id,propName:"jobProperties"},{name:wa.JOBS_ENCLOSE_BANNER,required:id,propName:"encloseBanner"},{name:wa.JOBS_FAQ,required:id,propName:"jobFaqs"},{name:nt.COMMON_PRELOAD,required:id,propName:"defaultPreload"}]},Kf=!0,YZ={name:"jobs",component:PI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Kf,propName:"headerMini"},{name:wa.JOBS_BREADCRUMB,required:Kf,propName:"breadcrumb"},{name:wa.JOBS_HEADER_PAGE,required:Kf,propName:"headerPage"},{name:wa.JOBS_CARDS_LIST,required:Kf,propName:"cardsList"},{name:wa.JOBS_BUSINESS_SECTORS_LIST,required:Kf,propName:"businessSectorsList"},{name:wa.JOBS_PROFESSIONAL_LIFE_ARTICLES,required:Kf,propName:"professionalLifeArticles"},{name:wa.JOBS_JSON_LD_BREADCRUMB,required:Kf,propName:"jsonLdBreadcrumb"},{name:wa.JOBS_META,required:Kf,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Kf,propName:"defaultPreload"}]},ZZ={name:"journalist",component:FI,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:lc.JOURNALIST_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:lc.JOURNALIST_HEADER_PAGE,required:!0,propName:"headerPage"},{name:lc.JOURNALIST_META,required:!0,propName:"meta"},{name:lc.JOURNALIST_MAIN_INFORMATION_BLOCK,required:!0,propName:"mainInformationBlock"},{name:lc.JOURNALIST_ARTICLES,required:!0,propName:"articles"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"}]},Gh=!0,$Z={name:"la21e",component:HI,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Gh,propName:"headerMini"},{name:Gc.LA21E_BREADCRUMB,required:Gh,propName:"breadcrumb"},{name:Gc.LA21E_HEADER_PAGE,required:Gh,propName:"headerPage"},{name:Gc.LA21E_JSON_LD_BREADCRUMB,required:Gh,propName:"jsonLdBreadcrumb"},{name:Gc.LA21E_META,required:Gh,propName:"meta"},{name:Gc.LA21E_CARDS_LIST,required:Gh,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:Gh,propName:"defaultPreload"}]},Wf=!0,JZ={name:"legalNoticeDepartment",component:UI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Wf,propName:"headerMini"},{name:la.LEGAL_NOTICE_BREADCRUMB,required:Wf,propName:"breadcrumb"},{name:la.LEGAL_NOTICE_HEADER_PAGE,required:Wf,propName:"headerPage"},{name:la.LEGAL_NOTICE_FAQ,required:Wf,propName:"faq"},{name:la.LEGAL_NOTICE_CARDS_LIST_DEPARTMENT,required:Wf,propName:"cardsList"},{name:la.LEGAL_NOTICE_REGIONS_LIST,required:Wf,propName:"regionsList"},{name:la.LEGAL_NOTICE_JSON_LD_BREADCRUMB,required:Wf,propName:"jsonLdBreadcrumb"},{name:la.LEGAL_NOTICE_META,required:Wf,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Wf,propName:"defaultPreload"}]},Qf=!0,XZ={name:"legalNotice",component:qI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Qf,propName:"headerMini"},{name:la.LEGAL_NOTICE_BREADCRUMB,required:Qf,propName:"breadcrumb"},{name:la.LEGAL_NOTICE_HEADER_PAGE,required:Qf,propName:"headerPage"},{name:la.LEGAL_NOTICE_DEPARTMENTS_LIST,required:Qf,propName:"departmentsList"},{name:la.LEGAL_NOTICE_JSON_LD_BREADCRUMB,required:Qf,propName:"jsonLdBreadcrumb"},{name:la.LEGAL_NOTICE_META,required:Qf,propName:"meta"},{name:la.LEGAL_NOTICE_CONTENT,required:Qf,propName:"content"},{name:la.LEGAL_NOTICE_CARDS_LIST_DETAIL,required:Qf,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:Qf,propName:"defaultPreload"}]},Fp=!0,e$={name:"legalNoticeHome",component:zI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Fp,propName:"headerMini"},{name:la.LEGAL_NOTICE_BREADCRUMB,required:Fp,propName:"breadcrumb"},{name:la.LEGAL_NOTICE_HEADER_PAGE,required:Fp,propName:"headerPage"},{name:la.LEGAL_NOTICE_DEPARTMENTS_LIST,required:Fp,propName:"departmentsList"},{name:la.LEGAL_NOTICE_CARDS_LIST,required:Fp,propName:"cardsList"},{name:la.LEGAL_NOTICE_JSON_LD_BREADCRUMB,required:Fp,propName:"jsonLdBreadcrumb"},{name:la.LEGAL_NOTICE_META,required:Fp,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Fp,propName:"defaultPreload"}]},t$={name:"live",component:VI,expiration:30,components:[...Jr,{name:cr.CONTENT_HEADER_MINI,required:!0,propName:"headerMini"},{name:cr.CONTENT_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:hu.LIVE_INDICATOR,required:!0,propName:"liveIndicator"},{name:cr.CONTENT_HEADER_MOBILE,required:!0,propName:"contentHeaderMobile"},{name:cr.CONTENT_SOCIAL_BAR,required:!0,propName:"socialBar"},{name:cr.CONTENT_SUMMARY,required:!0,propName:"summary"},{name:hu.LIVE_PRELOAD,required:!1,propName:"preload"},{name:hu.LIVE_TOP_CONTENT,required:!0,propName:"topContent"},{name:hu.LIVE_POSTS_THREAD,required:!0,propName:"livePostsThread"},{name:hu.LIVE_IMPORTANT_POSTS_THREAD,required:!0,propName:"liveImportantPostsThread"},{name:cr.CONTENT_READALSO_BLOCK,required:!1,propName:"readAlsoBlockAbove"},{name:cr.CONTENT_TAG_BAR,required:!0,propName:"tagBar"},{name:_l.RUBRIC_MOST_READ_ARTICLES,required:!1,propName:"mostReadArticles"},{name:cr.CONTENT_SIDE_BRANDS_ARTICLES,required:!1,propName:"sideBrandsArticles"},{name:cr.CONTENT_HEADER,required:!0,propName:"contentHeader"},{name:cr.CONTENT_COVER,required:!0,propName:"cover"},{name:cr.CONTENT_SIGNATURE,required:!0,propName:"signature"},{name:nt.COMMON_LATEST_CONTENTS_CARROUSEL,required:!1,propName:"latestContentsCarousel"},{name:_l.RUBRIC_RUBRIC_CAROUSELS,required:!1,propName:"rubricCarousels"},{name:_l.RUBRIC_THREE_COLUMNS_ARTICLES,required:!1,propName:"partnerCards"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:cr.CONTENT_COMMENT_V2,required:!0,propName:"comment"},{name:cr.CONTENT_COMMENT_BUTTON,required:!0,propName:"commentButton"},{name:cr.CONTENT_META,required:!0,propName:"meta"},{name:hu.LIVE_JSON_LD_LIVE_BLOG_POSTING,required:!1,propName:"jsonLdLiveBlogPosting"},{name:cr.CONTENT_JSON_LD_BREADCRUMB,required:!1,propName:"jsonLdBreadcrumb"},{name:hu.LIVE_QUESTION,required:!1,propName:"liveQuestion"},{name:cr.CONTENT_SCROLL_PROGRESS_BUTTON,required:!1,propName:"scrollProgressButton"}]},Kh=!0,r$={name:"mobileApps",component:GI,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Kh,propName:"headerMini"},{name:Kc.MOBILE_APPS_BREADCRUMB,required:Kh,propName:"breadcrumb"},{name:Kc.MOBILE_APPS_HEADER_PAGE,required:Kh,propName:"headerPage"},{name:Kc.MOBILE_APPS_JSON_LD_BREADCRUMB,required:Kh,propName:"jsonLdBreadcrumb"},{name:Kc.MOBILE_APPS_META,required:Kh,propName:"meta"},{name:Kc.MOBILE_APPS_CARDS_LIST,required:Kh,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:Kh,propName:"defaultPreload"}]},Wh=!0,n$={name:"mostCommented",component:KI,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Wh,propName:"headerMini"},{name:D0.MOST_COMMENTED_BREADCRUMB,required:Wh,propName:"breadcrumb"},{name:D0.MOST_COMMENTED_HEADER_PAGE,required:Wh,propName:"headerPage"},{name:D0.MOST_COMMENTED_ARTICLES,required:Wh,propName:"mostCommentedArticles"},{name:D0.MOST_COMMENTED_META,required:Wh,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Wh,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:Wh,propName:"toolbar"}]},Qh=!0,a$={name:"mostRead",component:WI,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Qh,propName:"headerMini"},{name:R0.MOST_READ_BREADCRUMB,required:Qh,propName:"breadcrumb"},{name:R0.MOST_READ_HEADER_PAGE,required:Qh,propName:"headerPage"},{name:R0.MOST_READ_ARTICLES,required:Qh,propName:"mostReadArticles"},{name:R0.MOST_READ_META,required:Qh,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Qh,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:Qh,propName:"toolbar"}]},Yh=!0,i$={name:"mostShared",component:QI,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Yh,propName:"headerMini"},{name:I0.MOST_SHARED_BREADCRUMB,required:Yh,propName:"breadcrumb"},{name:I0.MOST_SHARED_HEADER_PAGE,required:Yh,propName:"headerPage"},{name:I0.MOST_SHARED_ARTICLES,required:Yh,propName:"mostSharedArticles"},{name:I0.MOST_SHARED_META,required:Yh,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Yh,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:Yh,propName:"toolbar"}]},o$={name:"movies",component:YI,expiration:3600*5,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:El.MOVIES_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:El.MOVIES_HEADER_PAGE,required:!0,propName:"headerPage"},{name:El.MOVIES_META,required:!0,propName:"meta"},{name:El.MOVIES_LIST,required:!0,propName:"moviesList"},{name:El.MOVIES_NAVIGATION,required:!0,propName:"moviesNavigation"},{name:El.MOVIES_MOST_READ_ASIDE,required:!0,propName:"mostReadArticles"}]},Zh=!0,s$={name:"news",component:ZI,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Zh,propName:"headerMini"},{name:Wc.NEWS_BREADCRUMB,required:Zh,propName:"breadcrumb"},{name:Wc.NEWS_HEADER_PAGE,required:Zh,propName:"headerPage"},{name:Wc.NEWS_ARTICLES_BY_TAGS,required:Zh,propName:"articlesByTag"},{name:Wc.NEWS_JSON_LD_BREADCRUMB,required:Zh,propName:"jsonLdBreadcrumb"},{name:Wc.NEWS_META,required:Zh,propName:"meta"},{name:nt.COMMON_TOOLBAR,required:Zh,propName:"toolbar"}]},u$={name:"partner",component:JI,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"}]},l$={name:"quiz",component:XI,expiration:300,components:[...Jr,{name:Ka.TAG_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:Ka.TAG_HEADER_PAGE,required:!0,propName:"headerPage"},{name:Ka.TAG_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:Ka.TAG_META,required:!0,propName:"meta"},{name:Ka.TAG_PRELOAD,required:!0,propName:"preload"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"},{name:Lg.QUIZ_ARTICLES_LIST,required:!0,propName:"articlesList"}]},um=!0,c$={name:"rewind",component:ej,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:um,propName:"headerMini"},{name:M0.REWIND_BREADCRUMB,required:um,propName:"breadcrumb"},{name:M0.REWIND_LIST,required:um,propName:"rewindList"},{name:M0.REWIND_JSON_LD_BREADCRUMB,required:um,propName:"jsonLdBreadcrumb"},{name:M0.REWIND_META,required:um,propName:"meta"},{name:nt.COMMON_PRELOAD,required:um,propName:"defaultPreload"}]},$h=!0,d$={name:"search",component:tj,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:$h,propName:"headerMini"},{name:L0.SEARCH_BREADCRUMB,required:$h,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:$h,propName:"mostReadArticles"},{name:L0.SEARCH_HEADER_PAGE,required:$h,propName:"headerPage"},{name:L0.SEARCH_JSON_LD_BREADCRUMB,required:$h,propName:"jsonLdBreadcrumb"},{name:L0.SEARCH_META,required:$h,propName:"meta"},{name:nt.COMMON_PRELOAD,required:$h,propName:"defaultPreload"}]},Hp=!0,f$={name:"service",component:rj,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Hp,propName:"headerMini"},{name:Qc.SERVICE_BREADCRUMB,required:Hp,propName:"breadcrumb"},{name:Qc.SERVICE_HEADER_PAGE,required:Hp,propName:"headerPage"},{name:Qc.SERVICE_JSON_LD_BREADCRUMB,required:Hp,propName:"jsonLdBreadcrumb"},{name:Qc.SERVICE_META,required:Hp,propName:"meta"},{name:Qc.SERVICE_CARDS_LIST,required:Hp,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:Hp,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:Hp,propName:"toolbar"}]},Up=!0,p$={name:"shoppingGuide",component:nj,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Up,propName:"headerMini"},{name:Yc.SHOPPING_GUIDE_BREADCRUMB,required:Up,propName:"breadcrumb"},{name:Yc.SHOPPING_GUIDE_HEADER_PAGE,required:Up,propName:"headerPage"},{name:Yc.SHOPPING_GUIDE_JSON_LD_BREADCRUMB,required:Up,propName:"jsonLdBreadcrumb"},{name:Yc.SHOPPING_GUIDE_META,required:Up,propName:"meta"},{name:Yc.SHOPPING_GUIDE_CARDS_LIST,required:Up,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:Up,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:Up,propName:"toolbar"}]},Jh=!0,h$={name:"sitemap",component:aj,expiration:3600*24,components:[...Jr,{name:wl.SITEMAP_BREADCRUMB,required:Jh,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Jh,propName:"mostReadArticles"},{name:wl.SITEMAP_HEADER_PAGE,required:Jh,propName:"headerPage"},{name:wl.SITEMAP_TAGS_LIST,required:Jh,propName:"sitemapTagsList"},{name:wl.SITEMAP_BOTTOM_BULLETED_LIST,required:Jh,propName:"bottomBulletedList"},{name:wl.SITEMAP_TOP_BULLETED_LIST,required:Jh,propName:"topBulletedList"},{name:wl.SITEMAP_META,required:Jh,propName:"meta"}]},m$={name:"story",component:oj,expiration:300,components:[...Jr,{name:cr.CONTENT_HEADER_MINI,required:!0,propName:"headerMini"},{name:cr.CONTENT_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:cr.CONTENT_HEADER,required:!0,propName:"contentHeader"},{name:cr.CONTENT_COVER,required:!0,propName:"cover"},{name:cr.CONTENT_SOCIAL_BAR,required:!0,propName:"socialBar"},{name:cr.CONTENT_SIGNATURE,required:!0,propName:"signature"},{name:kg.SLIDESHOW_CONTENT,required:!0,propName:"slideshowContent"},{name:wp.STORY_TOP_CONTENT,required:!0,propName:"topContent"},{name:cr.CONTENT_TAG_BAR,required:!0,propName:"tagBar"},{name:cr.CONTENT_SCROLL_PROGRESS_BUTTON,required:!1,propName:"scrollProgressButton"},{name:_l.RUBRIC_MOST_READ_ARTICLES,required:!1,propName:"mostReadArticles"},{name:nt.COMMON_LATEST_CONTENTS_CARROUSEL,required:!1,propName:"latestContentsCarousel"},{name:_l.RUBRIC_RUBRIC_CAROUSELS,required:!1,propName:"rubricCarousels"},{name:_l.RUBRIC_THREE_COLUMNS_ARTICLES,required:!1,propName:"partnerCards"},{name:cr.CONTENT_JSON_LD_BREADCRUMB,required:!1,propName:"jsonLdBreadcrumb"},{name:wp.STORY_JSON_LD_NEWS_ARTICLE,required:!1,propName:"jsonLdNewsArticle"},{name:cr.CONTENT_META,required:!0,propName:"meta"},{name:wp.STORY_PRELOAD,required:!0,propName:"preload"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:cr.CONTENT_COMMENT_V2,required:!0,propName:"comment"},{name:cr.CONTENT_COMMENT_BUTTON,required:!0,propName:"commentButton"},{name:cr.CONTENT_SIDE_BRANDS_ARTICLES,required:!1,propName:"sideBrandsArticles"},{name:cr.CONTENT_HEADER_MOBILE,required:!0,propName:"contentHeaderMobile"}]},Yf=!0,v$={name:"sport",component:sj,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Yf,propName:"headerMini"},{name:Sl.SPORT_BREADCRUMB,required:Yf,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Yf,propName:"mostReadArticles"},{name:Sl.SPORT_SIDEBAR,required:Yf,propName:"sidebar"},{name:Sl.SPORT_HEADER_PAGE,required:Yf,propName:"headerPage"},{name:Sl.SPORT_JSON_LD_BREADCRUMB,required:Yf,propName:"jsonLdBreadcrumb"},{name:Sl.SPORT_CONTENT,required:Yf,propName:"content"},{name:Sl.SPORT_META,required:Yf,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Yf,propName:"defaultPreload"}]},g$={name:"static",component:uj,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:z1.STATIC_CONTENT,required:!0,propName:"content"},{name:z1.STATIC_META,required:!0,propName:"meta"}]},y$={name:"tag",component:lj,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:Ka.TAG_OVERVIEW_BAR,required:!1,propName:"overviewBar"},{name:Ka.TAG_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:Ka.TAG_HEADER_PAGE,required:!0,propName:"headerPage"},{name:Ka.TAG_ARTICLES_LIST_TOP,required:!0,propName:"articlesListTop"},{name:Ka.TAG_NEWS_CAROUSEL,required:!1,propName:"newsCarousel"},{name:Ka.TAG_ARTICLES_LIST_BOTTOM,required:!0,propName:"articlesListBottom"},{name:Ka.TAG_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:Ka.TAG_META,required:!0,propName:"meta"},{name:Ka.TAG_PRELOAD,required:!0,propName:"preload"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:Ka.TAG_BRAND_PUBLISHING_ARTICLE_BOTTOM,required:!1,propName:"brandPublishingArticleBottom"},{name:nt.COMMON_TOOLBAR,required:!1,propName:"toolbar"}]},Xh=!0,b$={name:"traffic",component:dj,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:Xh,propName:"headerMini"},{name:k0.TRAFFIC_BREADCRUMB,required:Xh,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Xh,propName:"mostReadArticles"},{name:k0.TRAFFIC_HEADER_PAGE,required:Xh,propName:"headerPage"},{name:k0.TRAFFIC_JSON_LD_BREADCRUMB,required:Xh,propName:"jsonLdBreadcrumb"},{name:k0.TRAFFIC_META,required:Xh,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Xh,propName:"defaultPreload"}]},x$={name:"tvHome",component:fj,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:Sp.TV_HOME_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:Sp.TV_HOME_META,required:!0,propName:"meta"},{name:Sp.TV_HOME_TOP_BLOCK,required:!0,propName:"topBlock"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:!0,propName:"showsReplaysCarousel"},{name:nt.COMMON_TV_MOST_BLOCK,required:!0,propName:"mostBlock"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},A$={name:"tvLive",component:pj,expiration:60,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:Zc.TV_LIVE_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:Zc.TV_LIVE_META,required:!0,propName:"meta"},{name:Zc.TV_LIVE_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:Zc.TV_LIVE_TOP_BLOCK,required:!0,propName:"topBlock"},{name:Zc.TV_LIVE_TIMELINE,required:!0,propName:"timeline"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:!0,propName:"showsReplaysCarousel"},{name:nt.COMMON_TV_MOST_BLOCK,required:!0,propName:"mostBlock"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},E$={name:"tvMostRecent",component:hj,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:O0.TV_MOST_RECENT_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:O0.TV_MOST_RECENT_HEADER_PAGE,required:!0,propName:"headerPage"},{name:O0.TV_MOST_RECENT_VIDEOS_LIST,required:!0,propName:"videosList"},{name:O0.TV_MOST_RECENT_META,required:!0,propName:"meta"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},_$={name:"tvMostViewed",component:mj,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:j0.TV_MOST_VIEWED_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:j0.TV_MOST_VIEWED_HEADER_PAGE,required:!0,propName:"headerPage"},{name:j0.TV_MOST_VIEWED_VIDEOS_LIST,required:!0,propName:"videosList"},{name:j0.TV_MOST_VIEWED_META,required:!0,propName:"meta"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},w$={name:"tvShow",component:vj,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:B0.TV_SHOW_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:B0.TV_SHOW_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:B0.TV_SHOW_META,required:!0,propName:"meta"},{name:B0.TV_SHOW_MAIN_BLOCK,required:!0,propName:"mainBlock"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:!0,propName:"showsReplaysCarousel"},{name:nt.COMMON_TV_MOST_BLOCK,required:!0,propName:"mostBlock"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},S$={name:"tvShows",component:gj,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:P0.TV_SHOWS_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:P0.TV_SHOWS_META,required:!0,propName:"meta"},{name:P0.TV_SHOWS_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:P0.TV_SHOWS_PROGRAMS,required:!0,propName:"programs"}]},C$={name:"tvVideo",component:yj,expiration:300,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:Lo.TV_VIDEO_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:Lo.TV_VIDEO_META,required:!0,propName:"meta"},{name:Lo.TV_VIDEO_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:Lo.TV_VIDEO_PAGE_TITLE,required:!0,propName:"pageTitle"},{name:Lo.TV_VIDEO_TOP_BLOCK,required:!0,propName:"topBlock"},{name:Lo.TV_VIDEO_MOST_VIDEOS,required:!0,propName:"mostVideos"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:!0,propName:"showsReplaysCarousel"},{name:Lo.TV_VIDEO_BACKGROUND_IMAGE,required:!0,propName:"backgroundImg"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"},{name:Lo.TV_VIDEO_EXTRACTS_AND_REPLAYS,required:!0,propName:"extractsAndReplays"},{name:Lo.TV_VIDEO_JSON_LD_NEWS_ARTICLE,required:!1,propName:"jsonLdNewsArticle"}]},lm=!0,T$={name:"utiq",component:bj,expiration:3600,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:lm,propName:"headerMini"},{name:F0.UTIQ_BREADCRUMB,required:lm,propName:"breadcrumb"},{name:F0.UTIQ_HEADER_PAGE,required:lm,propName:"headerPage"},{name:F0.UTIQ_JSON_LD_BREADCRUMB,required:lm,propName:"jsonLdBreadcrumb"},{name:F0.UTIQ_META,required:lm,propName:"meta"},{name:nt.COMMON_PRELOAD,required:lm,propName:"defaultPreload"}]},e1=!0,N$={name:"weather",component:xj,expiration:3600*24,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:e1,propName:"headerMini"},{name:H0.WEATHER_BREADCRUMB,required:e1,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:e1,propName:"mostReadArticles"},{name:H0.WEATHER_HEADER_PAGE,required:e1,propName:"headerPage"},{name:H0.WEATHER_JSON_LD_BREADCRUMB,required:e1,propName:"jsonLdBreadcrumb"},{name:H0.WEATHER_META,required:e1,propName:"meta"},{name:nt.COMMON_PRELOAD,required:e1,propName:"defaultPreload"}]},av=!0,D$={name:"whyCreateAccount",component:Aj,expiration:3600*24*30,components:[...Jr,{name:nt.COMMON_HEADER_MINI,required:av,propName:"headerMini"},{name:Cp.WHY_CREATE_ACCOUNT_BREADCRUMB,required:av,propName:"breadcrumb"},{name:nt.COMMON_PRELOAD,required:av,propName:"defaultPreload"},{name:Cp.WHY_CREATE_ACCOUNT_JSON_LD_BREADCRUMB,required:av,propName:"jsonLdBreadcrumb"},{name:Cp.WHY_CREATE_ACCOUNT_META,required:av,propName:"meta"}]},R$=[RZ,OZ,IZ,jZ,MZ,LZ,kZ,BZ,PZ,FZ,HZ,UZ,zZ,qZ,VZ,GZ,KZ,WZ,QZ,YZ,ZZ,$Z,JZ,e$,XZ,t$,r$,n$,a$,i$,o$,s$,u$,l$,c$,d$,f$,p$,h$,m$,v$,g$,y$,b$,x$,A$,E$,_$,w$,S$,C$,T$,N$,D$];we.AIArticlesList=y6,we.Accordion=Pg,we.AdIframePage=cI,we.AnimalQuizPage=gI,we.ArchiveByDayPage=yI,we.ArchiveByYearPage=bI,we.ArchivePdfList=KR,we.ArticleMobileHeader=QR,we.ArticlePage=_I,we.ArticleSummary=UD,we.ArticlesBlockHeader=A3,we.ArticlesInRow=Wd,we.ArticlesInRowMap=EO,we.ArticlesListTop=DO,we.ArticlesWithMain=q2,we.AstroHomePage=wI,we.AstroHomepageContent=zD,we.AstroLinksNextTypes=qD,we.AstroPage=SI,we.BackgroundImage=R5,we.BlockedGameBlock=QD,we.BulletedListMap=$R,we.COMPONENT_CONFIGS=sZ,we.CardExtraLarge=XV,we.CardMostList=OO,we.CardWithSummaryList=IO,we.CardsList=jl,we.ChatbotButton=c9,we.CityByCityBlock=cO,we.ComponentNameAdIframe=Mg,we.ComponentNameAnimalQuiz=qc,we.ComponentNameArchives=ao,we.ComponentNameArticle=pu,we.ComponentNameAstro=ka,we.ComponentNameCommon=nt,we.ComponentNameContact=qu,we.ComponentNameContent=cr,we.ComponentNameDirect=Fd,we.ComponentNameElections=ar,we.ComponentNameElectionsAiArticles=Vc,we.ComponentNameError=U1,we.ComponentNameGame=Vn,we.ComponentNameHome=kr,we.ComponentNameJobs=wa,we.ComponentNameJournalist=lc,we.ComponentNameLa21e=Gc,we.ComponentNameLegalNotice=la,we.ComponentNameLive=hu,we.ComponentNameMobileApps=Kc,we.ComponentNameMostCommented=D0,we.ComponentNameMostRead=R0,we.ComponentNameMostShared=I0,we.ComponentNameMovies=El,we.ComponentNameNews=Wc,we.ComponentNameQuiz=Lg,we.ComponentNameRewind=M0,we.ComponentNameRubric=_l,we.ComponentNameSearch=L0,we.ComponentNameService=Qc,we.ComponentNameShoppingGuide=Yc,we.ComponentNameSitemap=wl,we.ComponentNameSlideshow=kg,we.ComponentNameSport=Sl,we.ComponentNameStatic=z1,we.ComponentNameStory=wp,we.ComponentNameTag=Ka,we.ComponentNameTraffic=k0,we.ComponentNameTvHome=Sp,we.ComponentNameTvLive=Zc,we.ComponentNameTvMostRecent=O0,we.ComponentNameTvMostViewed=j0,we.ComponentNameTvShow=B0,we.ComponentNameTvShows=P0,we.ComponentNameTvVideo=Lo,we.ComponentNameUtiq=F0,we.ComponentNameWeather=H0,we.ComponentNameWhyCreateAccount=Cp,we.ContactAddresses=JR,we.ContactDetails=XR,we.ContactForm=eO,we.ContactPage=CI,we.Content=tm,we.ContentCover=W5,we.ContentTemplate=F3,we.DigitekaSmartPlayer=m6,we.DirectPage=TI,we.DirectTabs=JW,we.ElectionsAIArticlesPage=NI,we.ElectionsDistribution=tO,we.ElectionsEmbedPage=DI,we.ElectionsHomePage=RI,we.ElectionsMapConstituencies=rO,we.ElectionsMapDepartments=nO,we.ElectionsMapEurope=aO,we.ElectionsMapTownsByDepartments=iO,we.ElectionsMultipleResults=oO,we.ElectionsPage=OI,we.ElectionsResults=nm,we.ElectionsResultsFiltered=sO,we.ElectionsSummary=uO,we.EntertainmentBlock=O5,we.EntertainmentCarousel=J5,we.ErrorPage=II,we.ExternalAdElement=x9,we.ExtraSmallArticlesBlock=dO,we.Faq=I5,we.FaqList=KD,we.FavoriteGamesBlock=XW,we.GameAd=A9,we.GameAppPage=jI,we.GameContact=WD,we.GameHomePage=MI,we.GameIframe=M5,we.GamePage=LI,we.GamePageHeader=Y5,we.GamesAccordion=k5,we.GamesCarousel=fO,we.GamesList=$5,we.HeaderPage=Xo,we.HomePage=kI,we.HomeTopBlock=pO,we.HomeVideosTopBlock=jO,we.HtmlComment=mu,we.HtmlTemplate=tv,we.IdalgoWidget=v6,we.ImagesGrid=YD,we.InfoBanner=_3,we.InfoLine=ZD,we.JobDetailsPage=BI,we.JobsPage=PI,we.JournalistPage=FI,we.JsonLdBreadcrumb=Oa,we.JsonLdClaimReview=E9,we.JsonLdFaq=g6,we.JsonLdLiveBlogPosting=_9,we.JsonLdNewsArticle=Bg,we.La21ePage=HI,we.LastArticlesBlock=w3,we.LatestContentsCarousel=YR,we.LegalNoticeCardsList=S3,we.LegalNoticeContent=$D,we.LegalNoticeDepartmentPage=UI,we.LegalNoticeHomePage=zI,we.LegalNoticePage=qI,we.LiveInProgressBlock=O2,we.LiveIndicator=B5,we.LivePage=VI,we.LivePost=bO,we.LivePostContent=JD,we.LivePostsContainer=a8,we.LivePostsThread=xO,we.LocalNews=hO,we.MainInformationBlock=yO,we.Meta=Nn,we.MobileAppsPage=GI,we.MonthsList=WR,we.MostCommentedPage=KI,we.MostReadArticles=X5,we.MostReadArticlesBlock=M3,we.MostReadPage=WI,we.MostSharedPage=QI,we.MoviesList=AO,we.MoviesNavigation=XD,we.MoviesPage=YI,we.MunicipalBlock=mO,we.NewsPage=ZI,we.PAGE_CONFIGS=R$,we.PageTemplate=Yr,we.PageType=cn,we.PartnerPage=JI,we.PartnersBlock=vO,we.Preload=q1,we.PromoBanner=I2,we.QuizList=_O,we.QuizPage=XI,we.REACTION_TYPES=jg,we.ReadAlsoBlock=ZR,we.RefreshButton=S9,we.RewindList=wO,we.RewindPage=ej,we.RubricsCarousels=Q5,we.ScriptGlobalsInit=w9,we.SearchBanner=FR,we.SearchPage=tj,we.Section=kp,we.ServicePage=rj,we.ShoppingGuidePage=nj,we.ShowCover=HR,we.ShowMainBlock=BO,we.ShowsReplaysCarousel=PO,we.SideBrandsArticles=L3,we.SitemapPage=aj,we.SitemapTagsList=SO,we.SlideshowPage=oj,we.SlideshowStories=CO,we.SlideshowStory=UR,we.SponsoredBlock=$W,we.SportPage=sj,we.SportSidebar=TO,we.StaticCardList=V2,we.StaticContent=zR,we.StaticPage=uj,we.TagCarousel=NO,we.TagPage=lj,we.TemplateType=P3,we.ThirdpartyScripts=y9,we.TrafficPage=dj,we.TvBlock=gO,we.TvExtractsAndReplaysBlock=e8,we.TvHomePage=fj,we.TvLivePage=pj,we.TvLiveTopBlock=qR,we.TvMostBlock=RO,we.TvMostRecentPage=hj,we.TvMostViewedPage=mj,we.TvShowPage=vj,we.TvShowsPage=gj,we.TvVideoPage=yj,we.TvVideoTopBlock=VR,we.UtiqPage=bj,we.WeatherPage=xj,we.WhyCreateAccountPage=Aj,we.YearsList=GR,we.displayContentDate=zP,we.draftToHTML=em,we.draftToReact=Kd,we.excludedRubricsForReactions=sI,we.formatDateWithSlash=d6,we.formatTimestampToYYYYMMDD=WP,we.fromGlobalId=N5,we.getDepartmentFromTags=$O,we.getDepartments=ZO,we.getEmptyReactionListItems=h6,we.getFormatedRelativeTime=l6,we.getIllustrationPhoto=Bp,we.getImageCaption=G2,we.getReactionCount=m9,we.getReactionListItems=v9,we.getStoryMedias=Fh,we.getTabItem=Q2,we.getThemeColorBySlug=W2,we.isNotNullOrUndefined=n8,we.mockDaysAgo=KP,we.mockHoursAgo=GP,we.mockMinutesAgo=VP,we.secondsToMinSec=Ig,we.toGlobalId=zV,we.transformArticlesForDirectPage=qO,we.transformArticlesForJournalistPage=XO,we.transformArticlesForQuizPage=uI,we.transformArticlesForTagPage=u8,we.transformContentsForLatestContentsCarousel=UO,we.transformContentsForLiveAndMostRead=zO,we.transformContentsForLocalNews=JO,we.transformContentsForMostRead=lI,we.transformContentsForMostReadPage=iI,we.transformContentsForTVExtractsOrReplays=LO,we.transformDateFormat=f6,we.transformLegalNoticesForLegalPage=r8,we.transformLivePostsForLivePage=tI,we.transformMoviesForMoviesPage=oI,we.transformPDFsForArchivePage=FO,Object.defineProperty(we,Symbol.toStringTag,{value:"Module"})}));