@20minutes/tyr 0.1.113 → 0.1.114

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.
Files changed (32) hide show
  1. package/dist/css/articlePage-desktop-critical.css +1 -1
  2. package/dist/css/articlePage-desktop-no-critical.css +1 -1
  3. package/dist/css/articlePage-mobile-critical.css +1 -1
  4. package/dist/css/articlePage-mobile-no-critical.css +1 -1
  5. package/dist/css/errorPage-desktop-critical.css +1 -1
  6. package/dist/css/errorPage-desktop-no-critical.css +1 -1
  7. package/dist/css/errorPage-mobile-critical.css +1 -1
  8. package/dist/css/errorPage-mobile-no-critical.css +1 -1
  9. package/dist/css/global.css +1 -1
  10. package/dist/css/horoscopePage-desktop-critical.css +1 -1
  11. package/dist/css/horoscopePage-desktop-no-critical.css +1 -1
  12. package/dist/css/horoscopePage-mobile-critical.css +1 -1
  13. package/dist/css/horoscopePage-mobile-no-critical.css +1 -1
  14. package/dist/css/horoscopehomePage-desktop-critical.css +1 -1
  15. package/dist/css/horoscopehomePage-desktop-no-critical.css +1 -1
  16. package/dist/css/horoscopehomePage-mobile-critical.css +1 -1
  17. package/dist/css/horoscopehomePage-mobile-no-critical.css +1 -1
  18. package/dist/css/searchPage-desktop-critical.css +1 -1
  19. package/dist/css/searchPage-desktop-no-critical.css +1 -1
  20. package/dist/css/searchPage-mobile-critical.css +1 -1
  21. package/dist/css/searchPage-mobile-no-critical.css +1 -1
  22. package/dist/css/tagPage-desktop-critical.css +1 -1
  23. package/dist/css/tagPage-desktop-no-critical.css +1 -1
  24. package/dist/css/tagPage-mobile-critical.css +1 -1
  25. package/dist/css/tagPage-mobile-no-critical.css +1 -1
  26. package/dist/index.es.js +2720 -2711
  27. package/dist/index.umd.js +48 -48
  28. package/dist/js/ads.min.js +2 -2
  29. package/dist/js/awsRum.min.js +4 -4
  30. package/dist/js/main.min.js +2 -2
  31. package/dist/types/graphql.d.ts +239 -13
  32. package/package.json +9 -9
@@ -1,5 +1,5 @@
1
- (function(i,Ce){"use strict";var Fe=(e=>(e.MOBILE="mobile",e.DESKTOP="desktop",e))(Fe||{});const Ut=()=>{const e=document.querySelectorAll(".c-social-bar-item__sharebar-container"),t=n=>{const o=n.target;!o||o.closest(".c-social-bar-item__sharebar-container")||o.closest(".c-social-bar-item")||(e.forEach(a=>{a.classList.add("c-social-bar-item__sharebar-container--hidden")}),document.removeEventListener("click",t))};document.addEventListener("click",t)},Ht=e=>{e.stopImmediatePropagation(),e.preventDefault();const t=e.currentTarget,n=document.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?.removeAttribute("aria-hidden"))},It=(e=document.querySelector(".js-collapse__button"))=>{e&&document.querySelectorAll(".c-collapse__button").forEach(t=>{t.addEventListener("click",n=>{Ht(n)})})},kt=e=>{var t;const n=e.querySelector(".js-expandButton__label");e.setAttribute("aria-expanded","true"),n.innerHTML="Voir moins",(t=e.previousElementSibling)==null||t.setAttribute("aria-hidden","false")},Ot=e=>{var t;const n=e.querySelector(".js-expandButton__label");e.setAttribute("aria-expanded","false"),n.innerHTML="Voir plus",(t=e.previousElementSibling)==null||t.setAttribute("aria-hidden","true")},Pt=e=>{const t=e.currentTarget;return e.preventDefault(),t.getAttribute("aria-expanded")==="true"?Ot(t):kt(t)},Mt=(e=document.querySelector(".js-expandButton"))=>{e&&document.querySelectorAll(".js-expandButton").forEach(t=>t.addEventListener("click",Pt))};var Bt=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not([tabindex^="-"])'],Ft="Tab",jt="Escape";function R(e){this._show=this.show.bind(this),this._hide=this.hide.bind(this),this._maintainFocus=this._maintainFocus.bind(this),this._bindKeypress=this._bindKeypress.bind(this),this.$el=e,this.shown=!1,this._id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this._previouslyFocused=null,this._listeners={},this.create()}R.prototype.create=function(){this.$el.setAttribute("aria-hidden",!0),this.$el.setAttribute("aria-modal",!0),this.$el.setAttribute("tabindex",-1),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),this._openers=X('[data-a11y-dialog-show="'+this._id+'"]'),this._openers.forEach(function(t){t.addEventListener("click",this._show)}.bind(this));const e=this.$el;return this._closers=X("[data-a11y-dialog-hide]",this.$el).filter(function(t){return t.closest('[aria-modal="true"], [data-a11y-dialog]')===e}).concat(X('[data-a11y-dialog-hide="'+this._id+'"]')),this._closers.forEach(function(t){t.addEventListener("click",this._hide)}.bind(this)),this._fire("create"),this},R.prototype.show=function(e){return this.shown?this:(this._previouslyFocused=document.activeElement,this.$el.removeAttribute("aria-hidden"),this.shown=!0,je(this.$el),document.body.addEventListener("focus",this._maintainFocus,!0),document.addEventListener("keydown",this._bindKeypress),this._fire("show",e),this)},R.prototype.hide=function(e){return this.shown?(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),this._previouslyFocused&&this._previouslyFocused.focus&&this._previouslyFocused.focus(),document.body.removeEventListener("focus",this._maintainFocus,!0),document.removeEventListener("keydown",this._bindKeypress),this._fire("hide",e),this):this},R.prototype.destroy=function(){return this.hide(),this._openers.forEach(function(e){e.removeEventListener("click",this._show)}.bind(this)),this._closers.forEach(function(e){e.removeEventListener("click",this._hide)}.bind(this)),this._fire("destroy"),this._listeners={},this},R.prototype.on=function(e,t){return typeof this._listeners[e]>"u"&&(this._listeners[e]=[]),this._listeners[e].push(t),this},R.prototype.off=function(e,t){var n=(this._listeners[e]||[]).indexOf(t);return n>-1&&this._listeners[e].splice(n,1),this},R.prototype._fire=function(e,t){var n=this._listeners[e]||[],o=new CustomEvent(e,{detail:t});this.$el.dispatchEvent(o),n.forEach(function(a){a(this.$el,t)}.bind(this))},R.prototype._bindKeypress=function(e){const t=document.activeElement;t&&t.closest('[aria-modal="true"]')!==this.$el||(this.shown&&e.key===jt&&this.$el.getAttribute("role")!=="alertdialog"&&(e.preventDefault(),this.hide(e)),this.shown&&e.key===Ft&&Vt(this.$el,e))},R.prototype._maintainFocus=function(e){this.shown&&!e.target.closest('[aria-modal="true"]')&&!e.target.closest("[data-a11y-dialog-ignore-focus-trap]")&&je(this.$el)};function zt(e){return Array.prototype.slice.call(e)}function X(e,t){return zt((t||document).querySelectorAll(e))}function je(e){var t=e.querySelector("[autofocus]")||e;t.focus()}function qt(e){return X(Bt.join(","),e).filter(function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)})}function Vt(e,t){var n=qt(e),o=n.indexOf(document.activeElement);t.shiftKey&&o===0?(n[n.length-1].focus(),t.preventDefault()):!t.shiftKey&&o===n.length-1&&(n[0].focus(),t.preventDefault())}function ye(){X("[data-a11y-dialog]").forEach(function(e){new R(e)})}typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",ye):window.requestAnimationFrame?window.requestAnimationFrame(ye):window.setTimeout(ye,16));const Gt=(e=document.querySelector(".js-modal"))=>{e&&new R(e)},Yt=({navigatedList:e,nextBtn:t,prevBtn:n})=>{const o=e.scrollLeft>0,a=e.scrollLeft+e.clientWidth<e.scrollWidth;o&&a?(t.classList.add("o-nav-button--visible"),n.classList.add("o-nav-button--visible")):o?(t.classList.remove("o-nav-button--visible"),n.classList.add("o-nav-button--visible")):a?(t.classList.add("o-nav-button--visible"),n.classList.remove("o-nav-button--visible")):(t.classList.remove("o-nav-button--visible"),n.classList.remove("o-nav-button--visible"))},Kt=({navigatedList:e,nextBtn:t,prevBtn:n,sliderVariant:o})=>{if(e){const a=e.closest(".js-overview-bar-container"),r=a?.querySelector(".c-stepper"),l=r?.querySelectorAll(".c-stepper__item");if(l){const s=Array.from(l).findIndex(c=>c.classList.contains("c-stepper__item--loading"));if(s<0)l[0].classList.add("c-stepper__item--loading");else{l[s].classList.remove("c-stepper__item--loading"),l[s].classList.add("c-stepper__item--loaded");const c=l[s].querySelector(".c-stepper__loader");c&&c instanceof HTMLElement&&(c.style.transition="width 0s linear"),s+1<l.length&&l[s+1].classList.add("c-stepper__item--loading")}}if(e.scrollWidth-e.clientWidth>e.clientWidth){let s=e.scrollLeft;switch(o){case"partners":s+=e.clientWidth+32;break;case"rubrics":s+=e.clientWidth-36;break;case"overviewbar":s+=e.clientWidth-20;break;default:s+=Math.ceil(e.clientWidth*.6);break}e.scrollTo({left:s,behavior:"smooth"}),n.classList.add("o-nav-button--visible"),s+e.clientWidth>=e.scrollWidth&&t.classList.remove("o-nav-button--visible")}else{const s=e.scrollWidth-e.clientWidth;e.scrollTo({left:s,behavior:"smooth"}),t.classList.remove("o-nav-button--visible"),n.classList.add("o-nav-button--visible")}}},Xt=({navigatedList:e,nextBtn:t,prevBtn:n,sliderVariant:o,delay:a})=>{if(e){const r=e.closest(".js-overview-bar-container"),l=r?.querySelector(".c-stepper"),s=l?.querySelectorAll(".c-stepper__item");if(s){const c=Array.from(s).findIndex(u=>u.classList.contains("c-stepper__item--loading"));c<0?s[0].classList.add("c-stepper__item--loading"):(s[c].classList.remove("c-stepper__item--loading"),s[c].classList.remove("c-stepper__item--loaded"),c-1>0&&(s[c-1].classList.remove("c-stepper__item--loading"),s[c-1].classList.remove("c-stepper__item--loaded"),setTimeout(()=>{const u=s[c-1].querySelector(".c-stepper__loader");s[c-1].classList.add("c-stepper__item--loading"),u&&u instanceof HTMLElement&&(u.style.transition=`width ${a/1e3}s linear`)},0)))}if(e.clientWidth<e.scrollLeft){let c=e.scrollLeft;switch(o){case"partners":c-=e.clientWidth+32;break;case"rubrics":c-=e.clientWidth-36;break;case"overviewbar":c-=e.clientWidth-24;break;default:c-=Math.ceil(e.clientWidth*.6);break}e.scrollTo({left:c,behavior:"smooth"}),t.classList.add("o-nav-button--visible"),c===0&&n.classList.remove("o-nav-button--visible")}else e.scrollTo({left:0,behavior:"smooth"}),n.classList.remove("o-nav-button--visible"),e.clientWidth<e.scrollWidth&&t.classList.add("o-nav-button--visible")}},Wt=({navigatedList:e,nextBtn:t,prevBtn:n})=>{Yt({navigatedList:e,nextBtn:t,prevBtn:n})},Jt=()=>{const e=document.querySelectorAll(".js-navigation-container");for(const t of Array.from(e)){const{sliderVariant:n}=t.dataset,{sliderAuto:o}=t.dataset,{sliderDelay:a}=t.dataset,r=a?parseInt(a,10):3e3,l=t.closest(".js-overview-bar-container"),s=l?.querySelector(".c-stepper"),c=s?.querySelectorAll(".c-stepper__item");if(t){const u=t.querySelector(".js-navigation-container__list"),m=t.querySelector(".o-nav-button--next-button"),_=t.querySelector(".o-nav-button--previous-button");if(u&&u.clientWidth<u.scrollWidth&&m?.classList.add("o-nav-button--visible"),m?.addEventListener("click",Kt.bind(!1,{navigatedList:u,nextBtn:m,prevBtn:_,sliderVariant:n})),_?.addEventListener("click",Xt.bind(!1,{navigatedList:u,nextBtn:m,prevBtn:_,sliderVariant:n,delay:r})),o==="true"&&m){const E=s?s.querySelector(".c-stepper__item--loading"):null;c&&(c.forEach(b=>{const g=b.querySelector(".c-stepper__loader");g&&g instanceof HTMLElement&&(g.style.transition=`width ${r/1e3}s linear`)}),E||c[0].classList.add("c-stepper__item--loading")),setInterval(()=>{m.classList.contains("o-nav-button--visible")?m.click():u&&_&&(u.scrollLeft=0,c&&(c.forEach(b=>{const g=b.querySelector(".c-stepper__loader");g&&g instanceof HTMLElement&&(g.style.transition="width 0s linear"),b.classList.remove("c-stepper__item--loading"),b.classList.remove("c-stepper__item--loaded"),setTimeout(()=>{g&&g instanceof HTMLElement&&(g.style.transition=`width ${r/1e3}s linear`)},0)}),setTimeout(()=>{c[0].classList.add("c-stepper__item--loading")},0)),_.click())},r)}}}},Qt=()=>{const e=document.querySelectorAll(".js-navigation-container");for(const t of Array.from(e)){const{sliderVariant:n}=t.dataset;if(t){const o=t.querySelector(".js-navigation-container__list"),a=t.querySelector(".o-nav-button--next-button"),r=t.querySelector(".o-nav-button--previous-button");window.addEventListener("resize",Wt.bind(!1,{navigatedList:o,nextBtn:a,prevBtn:r,sliderVariant:n}))}}},Zt=()=>{const e=document.querySelectorAll(".js-header-link"),t=document.querySelector(".js-overlay");if(t)for(const n of e)n.addEventListener("mouseenter",()=>{const o=n.querySelector(".js-sub-menu");if(o){if(window.getComputedStyle(o).getPropertyValue("display")!=="none"){t.classList.remove("u-hidden");return}t.classList.add("u-hidden")}}),n.addEventListener("mouseleave",()=>{t.classList.add("u-hidden")})},$t=()=>{const e=document.querySelector(".js-limit-scroll-progress-bar"),t=document.querySelector(".c-progress__bar"),{documentElement:n}=document;if(!t)return;let o=n.scrollHeight-n.clientHeight;if(!o)return;const a=n.scrollTop;e&&(o=e.scrollHeight-n.clientHeight+(window.pageYOffset+e.getBoundingClientRect().top));const r=Math.round(a/o*100);t.style.width=`${r}%`,r>=100&&(t.style.width="100%")},en=()=>{document.querySelector(".c-progress")&&window.addEventListener("scroll",$t)};let W,Se=0;const tn=()=>{W=null,document.body.getBoundingClientRect().top>Se+2&&(W="up"),document.body.getBoundingClientRect().top<Se-2&&(W="down"),Se=document.body.getBoundingClientRect().top;const e=document.querySelector(".c-read-also-banner");if(e){const t=e.dataset.bannerLimitTop||"0";W==="up"&&-document.body.getBoundingClientRect().top>=parseInt(t,10)&&(e.classList.remove("c-read-also-banner__scrolldirection--down"),e.style.paddingTop="1.5em",e.style.paddingBottom="1.5em",e.classList.contains("c-read-also-banner__scrolldirection--up")||e.classList.add("c-read-also-banner__scrolldirection--up")),(W==="down"||-document.body.getBoundingClientRect().top<=parseInt(t,10))&&(e.classList.remove("c-read-also-banner__scrolldirection--up"),e.style.paddingTop="0",e.style.paddingBottom="0",e.classList.contains("c-read-also-banner__scrolldirection--down")||e.classList.add("c-read-also-banner__scrolldirection--down"))}},nn=(e=document.querySelector(".c-read-also-banner"))=>{if(e){let t;window.addEventListener("scroll",()=>{clearTimeout(t),t=setTimeout(tn,100)})}},on=e=>{var t;e.preventDefault();const n=e.currentTarget,o=(t=n.closest(".js-search-toggle"))==null?void 0:t.querySelector(".c-search-form");n.setAttribute("aria-hidden","true"),o?.setAttribute("aria-hidden","false")},an=(e=document.querySelector(".js-search-toggle"))=>{if(e){const t=e.querySelector(".c-header__search-button");t?.addEventListener("click",on)}},rn=({tabsContainerElement:e,event:t})=>{t.preventDefault();const n=t.target,o=e.querySelectorAll('[role="tab"]'),a=e.querySelectorAll('[role="tabpanel"]'),r=n.getAttribute("aria-controls"),l=Object.values(a).find(s=>s.id===r);o.forEach(s=>{s.setAttribute("aria-selected","false")}),a.forEach(s=>{s.setAttribute("aria-hidden","true")}),n.setAttribute("aria-selected","true"),l&&l.removeAttribute("aria-hidden")},ze=e=>e.code==="ArrowLeft"||e.keyCode===39,qe=e=>e.code==="ArrowRight"||e.keyCode===37,sn=(e=document.querySelector(".js-tabs"))=>{if(e){const t=e.querySelectorAll('[role="tab"]');t.forEach(o=>{o.addEventListener("click",a=>{rn({tabsContainerElement:e,event:a})})});const n=e.querySelector('[role="tablist"]');if(n&&t.length>0){let o=0;n.addEventListener("keydown",a=>{a instanceof KeyboardEvent&&(ze(a)||qe(a))&&(t[o].setAttribute("tabindex","-1"),ze(a)?(o+=1,o>=t.length&&(o=0)):qe(a)&&(o-=1,o<0&&(o=t.length-1)),t[o].setAttribute("tabindex","0"),t[o].focus())})}}},Ve=({currentTheme:e,switchDarkModeElement:t})=>{const n=e==="dark";t.setAttribute("aria-checked",String(n));const o=t.querySelector("span[aria-hidden]");o&&(o.setAttribute("aria-hidden",String(n)),o.innerHTML=n?"on":"off")},ln=(e=document.querySelector(".js-switch-dark-mode"))=>{const t=localStorage.getItem("theme")||"light";t&&e&&(document.documentElement.dataset.theme=t,Ve({currentTheme:t,switchDarkModeElement:e}))},cn=(e=document.querySelector(".js-switch-dark-mode"))=>{e&&e.addEventListener("click",()=>{const t=document.documentElement.dataset.theme,n=!t||t==="light"?"dark":"light";document.documentElement.dataset.theme=n,localStorage.setItem("theme",n),Ve({currentTheme:n,switchDarkModeElement:e})})},un=()=>{ln(),cn(),Mt(),sn(),It(),en(),an(),Gt(),nn(),Jt(),Qt(),window.layout===Fe.DESKTOP&&(Zt(),Ut())},Ge=e=>{const t=document.createElement("script");t.type="text/javascript",e.src&&(t.src=e.src,e.name&&(performance.mark(`20mn:${e.name}:Start`),t.onload=()=>{performance.mark(`20mn:${e.name}:End`)})),e.name&&performance.mark(`20mn:${e.name}:Enable`),e.async&&(t.async=e.async),e.text&&(t.innerHTML=e.text),document.body.appendChild(t)},Ye=async({url:e,options:t})=>{const n=t||{};return n.headers=n.headers||new Headers,n.headers.append("Content-Type","application/json"),fetch(e,n).then(o=>{if(o.ok)return o;throw new Error(`Fetch error: ${o.statusText}`)}).then(o=>o.json())};var q=(e=>(e.MOBILE="mobile",e.DESKTOP="desktop",e))(q||{});const J={asset:{font:{"Oswald-Bold":{value:"fonts/Oswald-Bold",family:"Oswald",weight:"700",style:"normal",extensions:["woff2","woff"]},"SourceSerifPro-Regular":{value:"fonts/SourceSerifPro-Regular",family:"Source Serif Pro",weight:"400",style:"normal",extensions:["woff2","woff"]},"SourceSerifPro-Italic":{value:"fonts/SourceSerifPro-Italic",family:"Source Serif Pro",weight:"400",style:"italic",extensions:["woff2","woff"]},"SourceSerifPro-Bold":{value:"fonts/SourceSerifPro-Bold",family:"Source Serif Pro",weight:"700",style:"normal",extensions:["woff2","woff"]}},icon:{"20mn-achat":{value:"svg/20mn-achat.svg"},"20mn-afp":{value:"svg/20mn-afp.svg"},"20mn-mag":{value:"svg/20mn-mag.svg"},"20mn-media":{value:"svg/20mn-media.svg"},"20mn-product":{value:"svg/20mn-product.svg"},"20mn-pub":{value:"svg/20mn-pub.svg"},apple:{value:"svg/apple.svg"},arrow:{value:"svg/arrow.svg"},"arrow-thin":{value:"svg/arrow-thin.svg"},bookmark:{value:"svg/bookmark.svg"},"bookmark-active":{value:"svg/bookmark-active.svg"},chevron:{value:"svg/chevron.svg"},clock:{value:"svg/clock.svg"},close:{value:"svg/close.svg"},clover:{value:"svg/clover.svg"},comment:{value:"svg/comment.svg"},connect:{value:"svg/connect.svg"},connected:{value:"svg/connected.svg"},dailymotion:{value:"svg/dailymotion.svg"},darkmode:{value:"svg/darkmode.svg"},diaporama:{value:"svg/diaporama.svg"},diode:{value:"svg/diode.svg"},"diode-leaning":{value:"svg/diode-leaning.svg"},"diode-rubric-entertainment":{value:"svg/diode-rubric-entertainment.svg"},"diode-rubric-planet":{value:"svg/diode-rubric-planet.svg"},"diode-rubric-sport":{value:"svg/diode-rubric-sport.svg"},error:{value:"svg/error.svg"},facebook:{value:"svg/facebook.svg"},flipboard:{value:"svg/flipboard.svg"},ghost:{value:"svg/ghost.svg"},googleplay:{value:"svg/googleplay.svg"},health:{value:"svg/health.svg"},heart:{value:"svg/heart.svg"},home:{value:"svg/home.svg"},horoscope:{value:"svg/horoscope.svg"},instagram:{value:"svg/instagram.svg"},jeux:{value:"svg/jeux.svg"},journal:{value:"svg/journal.svg"},local:{value:"svg/local.svg"},logo:{value:"svg/logo.svg"},menu:{value:"svg/menu.svg"},mood:{value:"svg/mood.svg"},newsletters:{value:"svg/newsletters.svg"},"not-found":{value:"svg/not-found.svg"},notification:{value:"svg/notification.svg"},podcast:{value:"svg/podcast.svg"},report:{value:"svg/report.svg"},search:{value:"svg/search.svg"},"server-error":{value:"svg/server-error.svg"},share:{value:"svg/share.svg"},"signin-facebook":{value:"svg/signin-facebook.svg"},"signin-google":{value:"svg/signin-google.svg"},snapchat:{value:"svg/snapchat.svg"},star:{value:"svg/star.svg"},tiktok:{value:"svg/tiktok.svg"},twitter:{value:"svg/twitter.svg"},valide:{value:"svg/valide.svg"},video:{value:"svg/video.svg"},view:{value:"svg/view.svg"},work:{value:"svg/work.svg"},youtube:{value:"svg/youtube.svg"},"horoscope-sign":{chinese:{"horoscope-belier":{value:"svg/chinese/horoscope-belier.svg"},"horoscope-buffle":{value:"svg/chinese/horoscope-buffle.svg"},"horoscope-cheval":{value:"svg/chinese/horoscope-cheval.svg"},"horoscope-chevre":{value:"svg/chinese/horoscope-chevre.svg"},"horoscope-chien":{value:"svg/chinese/horoscope-chien.svg"},"horoscope-cochon":{value:"svg/chinese/horoscope-cochon.svg"},"horoscope-coq":{value:"svg/chinese/horoscope-coq.svg"},"horoscope-dragon":{value:"svg/chinese/horoscope-dragon.svg"},"horoscope-lapin":{value:"svg/chinese/horoscope-lapin.svg"},"horoscope-lion":{value:"svg/chinese/horoscope-lion.svg"},"horoscope-poissons":{value:"svg/chinese/horoscope-poissons.svg"},"horoscope-serpent":{value:"svg/chinese/horoscope-serpent.svg"},"horoscope-singe":{value:"svg/chinese/horoscope-singe.svg"},"horoscope-taureau":{value:"svg/chinese/horoscope-taureau.svg"},"horoscope-tigre":{value:"svg/chinese/horoscope-tigre.svg"}},zodiac:{"horoscope-balance":{value:"svg/zodiac/horoscope-balance.svg"},"horoscope-cancer":{value:"svg/zodiac/horoscope-cancer.svg"},"horoscope-capricorne":{value:"svg/zodiac/horoscope-capricorne.svg"},"horoscope-gemeaux":{value:"svg/zodiac/horoscope-gemeaux.svg"},"horoscope-rat":{value:"svg/zodiac/horoscope-rat.svg"},"horoscope-sagittaire":{value:"svg/zodiac/horoscope-sagittaire.svg"},"horoscope-scorpion":{value:"svg/zodiac/horoscope-scorpion.svg"},"horoscope-verseau":{value:"svg/zodiac/horoscope-verseau.svg"},"horoscope-vierge":{value:"svg/zodiac/horoscope-vierge.svg"}}}}},breakpoint:{xs:{value:"0",description:"no minimum width value because we are in mobile-first"},sm:{value:"479",description:"minimum width value for a small devices (tablets)"},md:{value:"767",description:"minimum width value for a medium devices, (desktops)"},lg:{value:"1024",description:"minimum width value for a large devices (wide screen)"}},color:{primary:{ultramarine:{value:"#4742ff"},"ultramarine-light":{value:"#6b72fb"}},secondary:{orange:{value:"#fa9917"},yellow:{value:"#f2e500"},green:{value:"#6a9f4f"},purple:{value:"#ae6ba2"},red:{value:"#ff3333"},blue:{value:"#0000ff"},pink:{value:"#ef2a82"},sponsoring:{value:"#fff5f1"}},greyscale:{black:{value:"#000000"},white:{value:"#ffffff"},"grey-100":{value:"#f7f7f7"},"grey-200":{value:"#dddddd"},"grey-300":{value:"#898a8c"},"grey-400":{value:"#6a6a6a"},"grey-500":{value:"#484848"},"grey-600":{value:"#2f3134"},"grey-700":{value:"#181a1e"},"grey-800":{value:"#0f1116"}},status:{error:{value:"#ff3333"}},rubric:{default:{value:"#000000"},direct:{value:"#dc0e19"},sport:{value:"#3c9ba1"},entertainment:{value:"#92317e"},planet:{value:"#71a11b"},magazine:{value:"#008f8c"},production:{value:"#c5be00"},c2c:{value:"#f7562a"},tempo:{value:"#cc0f53"}}},"font-family":{base:{value:"Arial"},oswald:{value:"'Oswald', sans-serif"},"source-serif-pro":{value:"'Source Serif Pro', serif"}},"font-size":{"xxs-4":{value:"8px"},"xxs-3":{value:"11px"},"xxs-2":{value:"12px"},xxs:{value:"14px"},xs:{value:"16px"},s:{value:"18px"},m:{value:"20px"},l:{value:"22px"},xl:{value:"26px"},xxl:{value:"28px"},"xxl-2":{value:"38px"},"xxl-3":{value:"44px"},"xxl-4":{value:"48px"},"xxl-5":{value:"54px"}},"font-weight":{regular:{value:"400"},bold:{value:"700"}},"line-height":{base:{value:"1.2"},large:{value:"1.5"},"extra-large":{value:"1.75"}},radius:{0:{value:"0"},"xxs-2":{value:"2px"},xxs:{value:"4px"},xs:{value:"6px"},s:{value:"10px"},m:{value:"20px"},l:{value:"40px"},xl:{value:"50px"},xxl:{value:"100px"}},spacing:{0:{value:"0"},auto:{value:"auto"},"xxs-3":{value:"2px"},"xxs-2":{value:"4px"},xxs:{value:"8px"},xs:{value:"12px"},s:{value:"16px"},m:{value:"24px"},l:{value:"32px"},xl:{value:"40px"},xxl:{value:"64px"},"xxl-2":{value:"120px"}},typography:{heading:{"xxs-2":{description:"use for titles of CardMedium (ad), CardSmall, CardExtraSmall and CardOverview",fontSize:{value:"18px"}},xxs:{description:"use for titles of Tabs, ArticleSummary, footer categories, OverviewBar and RubricCards",fontSize:{value:"20px"}},xs:{description:"use for minified header title",fontSize:{value:"22px"}},s:{description:"use for title of HeaderBanner and CardMostRead and for article subtitle",fontSize:{value:"26px"}},m:{description:"use for title of CardExtraLarge (mobile), CardLarge (mobile), CardMedium, Newsletter, LiveCards and PartnerCards",fontSize:{value:"28px"}},l:{description:"use for pages title (mobile)",fontSize:{value:"38px"}},xl:{description:"use for title of CardLarge (desktop) and CardMostRead",fontSize:{value:"44px"}},xxl:{description:"use for CardExtraLarge title (desktop)",fontSize:{value:"48px"}},"xxl-2":{description:"use for pages title (desktop)",fontSize:{value:"54px"}}},text:{"xxs-3":{description:"use for CardFooter",fontSize:{value:"8px"}},"xxs-2":{description:"use for advanced SocialBar numbers and Checkbox label (mobile)",fontSize:{value:"11px"}},xxs:{description:"use for Label, simple SocialBar numbers, date info in Signature and CardHeader, Checkbox label (desktop), HoroscopeTiles label and footer download buttons label",fontSize:{value:"12px"}},xs:{description:'use for "See more" button, images caption, HoroscopeHomepageContent heading subtitle and Newsletter button label',fontSize:{value:"14px"}},s:{description:"use for InfoBanner, Newsletter description (mobile), footer content, Tag, HoroscopeHomepageContent link and buttons label",fontSize:{value:"16px"}},m:{description:"use for HeaderPage subtitle (mobile), CardExtraLarge summary (mobile), HoroscopeContent, Newsletter description (desktop), input placeholder label in ArticleHeader summary and article quote author name",fontSize:{value:"18px"},lineHeight:{value:"1.5"}},l:{description:"use for ArticleContent and ArticleSummary content",fontSize:{value:"20px"},lineHeight:{value:"1.5"}},xl:{description:"use for HeaderPage subtitle (desktop) and CardExtraLarge summary (desktop)",fontSize:{value:"22px"}},xxl:{description:"use for ArticleHeader lead and article quote",fontSize:{value:"26px"}}}}};[...Object.keys(J.color.primary),...Object.keys(J.color.secondary),...Object.keys(J.color.rubric)];const _n={bd:["border"],bg:["background-color"],color:["color"]},dn={align:["align-self"],basis:["flex-basis"],shrink:["flex-shrink"],grow:["flex-grow"]},mn={alignItems:["align-items"],alignContent:["align-content"],justifyContent:["justify-content"],gap:["gap"],gapX:["row-gap"],gapY:["col-gap"],inline:["inline"],direction:["direction"],wrap:["wrap"],flexGrow:["flex-grow"]},Ke={radius:["border-radius"]},vn={m:["margin"],mt:["margin-top"],mr:["margin-right"],ml:["margin-left"],mb:["margin-bottom"],mx:["margin-left","margin-right"],my:["margin-top","margin-bottom"]},Tn={p:["padding"],pt:["padding-top"],pr:["padding-right"],pl:["padding-left"],pb:["padding-bottom"],px:["padding-left","padding-right"],py:["padding-top","padding-bottom"]},Xe={...vn,...Tn},pn={...Xe,..._n,...Ke},gn={textAlign:["text-align"],weight:["font-weight"],italic:["font-style"],textDecoration:["text-decoration"],textTransform:["text-transform"],fontFamily:["font-family"]};Object.keys(J["font-family"]).filter(e=>!["base"].includes(e));const bn=Object.keys(J.color.rubric);function f(e){return i.forwardRef(e)}const fn=({src:e,formats:t})=>{if(t!==void 0&&t.length>0)return t.map(n=>`${e.replace(/%format/,n)} ${n.split("x")[0]}w`).join(", ")},hn=({src:e,format:t})=>e.replace(/%format/,t);function En(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var We={exports:{}};/*!
1
+ (function(i,Ce){"use strict";var Fe=(e=>(e.MOBILE="mobile",e.DESKTOP="desktop",e))(Fe||{});const xt=()=>{const e=document.querySelectorAll(".c-social-bar-item__sharebar-container"),t=n=>{const o=n.target;!o||o.closest(".c-social-bar-item__sharebar-container")||o.closest(".c-social-bar-item")||(e.forEach(a=>{a.classList.add("c-social-bar-item__sharebar-container--hidden")}),document.removeEventListener("click",t))};document.addEventListener("click",t)},Ht=e=>{e.stopImmediatePropagation(),e.preventDefault();const t=e.currentTarget,n=t.parentElement,o=n?.querySelector(`#${t.getAttribute("aria-controls")}`);t.getAttribute("aria-expanded")==="true"?(t.setAttribute("aria-expanded","false"),o?.setAttribute("aria-hidden","true")):(t.setAttribute("aria-expanded","true"),o?.setAttribute("aria-hidden","false"))},It=(e=document.querySelector(".js-collapse__button"))=>{e&&document.querySelectorAll(".c-collapse__button").forEach(t=>{t.addEventListener("click",n=>{Ht(n)})})},kt=e=>{var t;const n=e.querySelector(".js-expandButton__label");e.setAttribute("aria-expanded","true"),n.innerHTML="Voir moins",(t=e.previousElementSibling)==null||t.setAttribute("aria-hidden","false")},Ot=e=>{var t;const n=e.querySelector(".js-expandButton__label");e.setAttribute("aria-expanded","false"),n.innerHTML="Voir plus",(t=e.previousElementSibling)==null||t.setAttribute("aria-hidden","true")},Pt=e=>{const t=e.currentTarget;return e.preventDefault(),t.getAttribute("aria-expanded")==="true"?Ot(t):kt(t)},Mt=(e=document.querySelector(".js-expandButton"))=>{e&&document.querySelectorAll(".js-expandButton").forEach(t=>t.addEventListener("click",Pt))};var Bt=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not([tabindex^="-"])'],Ft="Tab",jt="Escape";function R(e){this._show=this.show.bind(this),this._hide=this.hide.bind(this),this._maintainFocus=this._maintainFocus.bind(this),this._bindKeypress=this._bindKeypress.bind(this),this.$el=e,this.shown=!1,this._id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this._previouslyFocused=null,this._listeners={},this.create()}R.prototype.create=function(){this.$el.setAttribute("aria-hidden",!0),this.$el.setAttribute("aria-modal",!0),this.$el.setAttribute("tabindex",-1),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),this._openers=X('[data-a11y-dialog-show="'+this._id+'"]'),this._openers.forEach(function(t){t.addEventListener("click",this._show)}.bind(this));const e=this.$el;return this._closers=X("[data-a11y-dialog-hide]",this.$el).filter(function(t){return t.closest('[aria-modal="true"], [data-a11y-dialog]')===e}).concat(X('[data-a11y-dialog-hide="'+this._id+'"]')),this._closers.forEach(function(t){t.addEventListener("click",this._hide)}.bind(this)),this._fire("create"),this},R.prototype.show=function(e){return this.shown?this:(this._previouslyFocused=document.activeElement,this.$el.removeAttribute("aria-hidden"),this.shown=!0,je(this.$el),document.body.addEventListener("focus",this._maintainFocus,!0),document.addEventListener("keydown",this._bindKeypress),this._fire("show",e),this)},R.prototype.hide=function(e){return this.shown?(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),this._previouslyFocused&&this._previouslyFocused.focus&&this._previouslyFocused.focus(),document.body.removeEventListener("focus",this._maintainFocus,!0),document.removeEventListener("keydown",this._bindKeypress),this._fire("hide",e),this):this},R.prototype.destroy=function(){return this.hide(),this._openers.forEach(function(e){e.removeEventListener("click",this._show)}.bind(this)),this._closers.forEach(function(e){e.removeEventListener("click",this._hide)}.bind(this)),this._fire("destroy"),this._listeners={},this},R.prototype.on=function(e,t){return typeof this._listeners[e]>"u"&&(this._listeners[e]=[]),this._listeners[e].push(t),this},R.prototype.off=function(e,t){var n=(this._listeners[e]||[]).indexOf(t);return n>-1&&this._listeners[e].splice(n,1),this},R.prototype._fire=function(e,t){var n=this._listeners[e]||[],o=new CustomEvent(e,{detail:t});this.$el.dispatchEvent(o),n.forEach(function(a){a(this.$el,t)}.bind(this))},R.prototype._bindKeypress=function(e){const t=document.activeElement;t&&t.closest('[aria-modal="true"]')!==this.$el||(this.shown&&e.key===jt&&this.$el.getAttribute("role")!=="alertdialog"&&(e.preventDefault(),this.hide(e)),this.shown&&e.key===Ft&&Vt(this.$el,e))},R.prototype._maintainFocus=function(e){this.shown&&!e.target.closest('[aria-modal="true"]')&&!e.target.closest("[data-a11y-dialog-ignore-focus-trap]")&&je(this.$el)};function zt(e){return Array.prototype.slice.call(e)}function X(e,t){return zt((t||document).querySelectorAll(e))}function je(e){var t=e.querySelector("[autofocus]")||e;t.focus()}function qt(e){return X(Bt.join(","),e).filter(function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)})}function Vt(e,t){var n=qt(e),o=n.indexOf(document.activeElement);t.shiftKey&&o===0?(n[n.length-1].focus(),t.preventDefault()):!t.shiftKey&&o===n.length-1&&(n[0].focus(),t.preventDefault())}function ye(){X("[data-a11y-dialog]").forEach(function(e){new R(e)})}typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",ye):window.requestAnimationFrame?window.requestAnimationFrame(ye):window.setTimeout(ye,16));const Gt=(e=document.querySelector(".js-modal"))=>{e&&new R(e)},Yt=({navigatedList:e,nextBtn:t,prevBtn:n})=>{const o=e.scrollLeft>0,a=e.scrollLeft+e.clientWidth<e.scrollWidth;o&&a?(t.classList.add("o-nav-button--visible"),n.classList.add("o-nav-button--visible")):o?(t.classList.remove("o-nav-button--visible"),n.classList.add("o-nav-button--visible")):a?(t.classList.add("o-nav-button--visible"),n.classList.remove("o-nav-button--visible")):(t.classList.remove("o-nav-button--visible"),n.classList.remove("o-nav-button--visible"))},Kt=({navigatedList:e,nextBtn:t,prevBtn:n,sliderVariant:o})=>{if(e){const a=e.closest(".js-overview-bar-container"),r=a?.querySelector(".c-stepper"),l=r?.querySelectorAll(".c-stepper__item");if(l){const s=Array.from(l).findIndex(c=>c.classList.contains("c-stepper__item--loading"));if(s<0)l[0].classList.add("c-stepper__item--loading");else{l[s].classList.remove("c-stepper__item--loading"),l[s].classList.add("c-stepper__item--loaded");const c=l[s].querySelector(".c-stepper__loader");c&&c instanceof HTMLElement&&(c.style.transition="width 0s linear"),s+1<l.length&&l[s+1].classList.add("c-stepper__item--loading")}}if(e.scrollWidth-e.clientWidth>e.clientWidth){let s=e.scrollLeft;switch(o){case"partners":s+=e.clientWidth+32;break;case"rubrics":s+=e.clientWidth-36;break;case"overviewbar":s+=e.clientWidth-20;break;default:s+=Math.ceil(e.clientWidth*.6);break}e.scrollTo({left:s,behavior:"smooth"}),n.classList.add("o-nav-button--visible"),s+e.clientWidth>=e.scrollWidth&&t.classList.remove("o-nav-button--visible")}else{const s=e.scrollWidth-e.clientWidth;e.scrollTo({left:s,behavior:"smooth"}),t.classList.remove("o-nav-button--visible"),n.classList.add("o-nav-button--visible")}}},Xt=({navigatedList:e,nextBtn:t,prevBtn:n,sliderVariant:o,delay:a})=>{if(e){const r=e.closest(".js-overview-bar-container"),l=r?.querySelector(".c-stepper"),s=l?.querySelectorAll(".c-stepper__item");if(s){const c=Array.from(s).findIndex(u=>u.classList.contains("c-stepper__item--loading"));c<0?s[0].classList.add("c-stepper__item--loading"):(s[c].classList.remove("c-stepper__item--loading"),s[c].classList.remove("c-stepper__item--loaded"),c-1>0&&(s[c-1].classList.remove("c-stepper__item--loading"),s[c-1].classList.remove("c-stepper__item--loaded"),setTimeout(()=>{const u=s[c-1].querySelector(".c-stepper__loader");s[c-1].classList.add("c-stepper__item--loading"),u&&u instanceof HTMLElement&&(u.style.transition=`width ${a/1e3}s linear`)},0)))}if(e.clientWidth<e.scrollLeft){let c=e.scrollLeft;switch(o){case"partners":c-=e.clientWidth+32;break;case"rubrics":c-=e.clientWidth-36;break;case"overviewbar":c-=e.clientWidth-24;break;default:c-=Math.ceil(e.clientWidth*.6);break}e.scrollTo({left:c,behavior:"smooth"}),t.classList.add("o-nav-button--visible"),c===0&&n.classList.remove("o-nav-button--visible")}else e.scrollTo({left:0,behavior:"smooth"}),n.classList.remove("o-nav-button--visible"),e.clientWidth<e.scrollWidth&&t.classList.add("o-nav-button--visible")}},Wt=({navigatedList:e,nextBtn:t,prevBtn:n})=>{Yt({navigatedList:e,nextBtn:t,prevBtn:n})},Jt=()=>{const e=document.querySelectorAll(".js-navigation-container");for(const t of Array.from(e)){const{sliderVariant:n}=t.dataset,{sliderAuto:o}=t.dataset,{sliderDelay:a}=t.dataset,r=a?parseInt(a,10):3e3,l=t.closest(".js-overview-bar-container"),s=l?.querySelector(".c-stepper"),c=s?.querySelectorAll(".c-stepper__item");if(t){const u=t.querySelector(".js-navigation-container__list"),m=t.querySelector(".o-nav-button--next-button"),_=t.querySelector(".o-nav-button--previous-button");if(u&&u.clientWidth<u.scrollWidth&&m?.classList.add("o-nav-button--visible"),m?.addEventListener("click",Kt.bind(!1,{navigatedList:u,nextBtn:m,prevBtn:_,sliderVariant:n})),_?.addEventListener("click",Xt.bind(!1,{navigatedList:u,nextBtn:m,prevBtn:_,sliderVariant:n,delay:r})),o==="true"&&m){const h=s?s.querySelector(".c-stepper__item--loading"):null;c&&(c.forEach(b=>{const p=b.querySelector(".c-stepper__loader");p&&p instanceof HTMLElement&&(p.style.transition=`width ${r/1e3}s linear`)}),h||c[0].classList.add("c-stepper__item--loading")),setInterval(()=>{m.classList.contains("o-nav-button--visible")?m.click():u&&_&&(u.scrollLeft=0,c&&(c.forEach(b=>{const p=b.querySelector(".c-stepper__loader");p&&p instanceof HTMLElement&&(p.style.transition="width 0s linear"),b.classList.remove("c-stepper__item--loading"),b.classList.remove("c-stepper__item--loaded"),setTimeout(()=>{p&&p instanceof HTMLElement&&(p.style.transition=`width ${r/1e3}s linear`)},0)}),setTimeout(()=>{c[0].classList.add("c-stepper__item--loading")},0)),_.click())},r)}}}},Qt=()=>{const e=document.querySelectorAll(".js-navigation-container");for(const t of Array.from(e)){const{sliderVariant:n}=t.dataset;if(t){const o=t.querySelector(".js-navigation-container__list"),a=t.querySelector(".o-nav-button--next-button"),r=t.querySelector(".o-nav-button--previous-button");window.addEventListener("resize",Wt.bind(!1,{navigatedList:o,nextBtn:a,prevBtn:r,sliderVariant:n}))}}},Zt=()=>{const e=document.querySelectorAll(".js-header-link"),t=document.querySelector(".js-overlay");if(t)for(const n of e)n.addEventListener("mouseenter",()=>{const o=n.querySelector(".js-sub-menu");if(o){if(window.getComputedStyle(o).getPropertyValue("display")!=="none"){t.classList.remove("u-hidden");return}t.classList.add("u-hidden")}}),n.addEventListener("mouseleave",()=>{t.classList.add("u-hidden")})},$t=()=>{const e=document.querySelector(".js-limit-scroll-progress-bar"),t=document.querySelector(".c-progress__bar"),{documentElement:n}=document;if(!t)return;let o=n.scrollHeight-n.clientHeight;if(!o)return;const a=n.scrollTop;e&&(o=e.scrollHeight-n.clientHeight+(window.pageYOffset+e.getBoundingClientRect().top));const r=Math.round(a/o*100);t.style.width=`${r}%`,r>=100&&(t.style.width="100%")},en=()=>{document.querySelector(".c-progress")&&window.addEventListener("scroll",$t)};let W,Se=0;const tn=()=>{W=null,document.body.getBoundingClientRect().top>Se+2&&(W="up"),document.body.getBoundingClientRect().top<Se-2&&(W="down"),Se=document.body.getBoundingClientRect().top;const e=document.querySelector(".c-read-also-banner");if(e){const t=e.dataset.bannerLimitTop||"0";W==="up"&&-document.body.getBoundingClientRect().top>=parseInt(t,10)&&(e.classList.remove("c-read-also-banner__scrolldirection--down"),e.style.paddingTop="1.5em",e.style.paddingBottom="1.5em",e.classList.contains("c-read-also-banner__scrolldirection--up")||e.classList.add("c-read-also-banner__scrolldirection--up")),(W==="down"||-document.body.getBoundingClientRect().top<=parseInt(t,10))&&(e.classList.remove("c-read-also-banner__scrolldirection--up"),e.style.paddingTop="0",e.style.paddingBottom="0",e.classList.contains("c-read-also-banner__scrolldirection--down")||e.classList.add("c-read-also-banner__scrolldirection--down"))}},nn=(e=document.querySelector(".c-read-also-banner"))=>{if(e){let t;window.addEventListener("scroll",()=>{clearTimeout(t),t=setTimeout(tn,100)})}},on=e=>{var t;e.preventDefault();const n=e.currentTarget,o=(t=n.closest(".js-search-toggle"))==null?void 0:t.querySelector(".c-search-form");n.setAttribute("aria-hidden","true"),o?.setAttribute("aria-hidden","false")},an=(e=document.querySelector(".js-search-toggle"))=>{if(e){const t=e.querySelector(".c-header__search-button");t?.addEventListener("click",on)}},rn=({tabsContainerElement:e,event:t})=>{t.preventDefault();const n=t.target,o=e.querySelectorAll('[role="tab"]'),a=e.querySelectorAll('[role="tabpanel"]'),r=n.getAttribute("aria-controls"),l=Object.values(a).find(s=>s.id===r);o.forEach(s=>{s.setAttribute("aria-selected","false")}),a.forEach(s=>{s.setAttribute("aria-hidden","true")}),n.setAttribute("aria-selected","true"),l&&l.removeAttribute("aria-hidden")},ze=e=>e.code==="ArrowLeft"||e.keyCode===39,qe=e=>e.code==="ArrowRight"||e.keyCode===37,sn=(e=document.querySelector(".js-tabs"))=>{if(e){const t=e.querySelectorAll('[role="tab"]');t.forEach(o=>{o.addEventListener("click",a=>{rn({tabsContainerElement:e,event:a})})});const n=e.querySelector('[role="tablist"]');if(n&&t.length>0){let o=0;n.addEventListener("keydown",a=>{a instanceof KeyboardEvent&&(ze(a)||qe(a))&&(t[o].setAttribute("tabindex","-1"),ze(a)?(o+=1,o>=t.length&&(o=0)):qe(a)&&(o-=1,o<0&&(o=t.length-1)),t[o].setAttribute("tabindex","0"),t[o].focus())})}}},Ve=({currentTheme:e,switchDarkModeElement:t})=>{const n=e==="dark";t.setAttribute("aria-checked",String(n));const o=t.querySelector("span[aria-hidden]");o&&(o.setAttribute("aria-hidden",String(n)),o.innerHTML=n?"on":"off")},ln=(e=document.querySelector(".js-switch-dark-mode"))=>{const t=localStorage.getItem("theme")||"light";t&&e&&(document.documentElement.dataset.theme=t,Ve({currentTheme:t,switchDarkModeElement:e}))},cn=(e=document.querySelector(".js-switch-dark-mode"))=>{e&&e.addEventListener("click",()=>{const t=document.documentElement.dataset.theme,n=!t||t==="light"?"dark":"light";document.documentElement.dataset.theme=n,localStorage.setItem("theme",n),Ve({currentTheme:n,switchDarkModeElement:e})})},un=()=>{ln(),cn(),Mt(),sn(),It(),en(),an(),Gt(),nn(),Jt(),Qt(),window.layout===Fe.DESKTOP&&(Zt(),xt())},Ge=e=>{const t=document.createElement("script");t.type="text/javascript",e.src&&(t.src=e.src,e.name&&(performance.mark(`20mn:${e.name}:Start`),t.onload=()=>{performance.mark(`20mn:${e.name}:End`)})),e.name&&performance.mark(`20mn:${e.name}:Enable`),e.async&&(t.async=e.async),e.text&&(t.innerHTML=e.text),document.body.appendChild(t)},Ye=async({url:e,options:t})=>{const n=t||{};return n.headers=n.headers||new Headers,n.headers.append("Content-Type","application/json"),fetch(e,n).then(o=>{if(o.ok)return o;throw new Error(`Fetch error: ${o.statusText}`)}).then(o=>o.json())};var q=(e=>(e.MOBILE="mobile",e.DESKTOP="desktop",e))(q||{});const J={asset:{font:{"Oswald-Bold":{value:"fonts/Oswald-Bold",family:"Oswald",weight:"700",style:"normal",extensions:["woff2","woff"]},"SourceSerifPro-Regular":{value:"fonts/SourceSerifPro-Regular",family:"Source Serif Pro",weight:"400",style:"normal",extensions:["woff2","woff"]},"SourceSerifPro-Italic":{value:"fonts/SourceSerifPro-Italic",family:"Source Serif Pro",weight:"400",style:"italic",extensions:["woff2","woff"]},"SourceSerifPro-Bold":{value:"fonts/SourceSerifPro-Bold",family:"Source Serif Pro",weight:"700",style:"normal",extensions:["woff2","woff"]},"SourceSerifPro-SemiBold":{value:"fonts/SourceSerifPro-SemiBold",family:"Source Serif Pro",weight:"600",style:"normal",extensions:["woff2","woff"]}},icon:{"20mn-achat":{value:"svg/20mn-achat.svg"},"20mn-afp":{value:"svg/20mn-afp.svg"},"20mn-mag":{value:"svg/20mn-mag.svg"},"20mn-media":{value:"svg/20mn-media.svg"},"20mn-product":{value:"svg/20mn-product.svg"},"20mn-pub":{value:"svg/20mn-pub.svg"},apple:{value:"svg/apple.svg"},arrow:{value:"svg/arrow.svg"},"arrow-thin":{value:"svg/arrow-thin.svg"},bookmark:{value:"svg/bookmark.svg"},"bookmark-active":{value:"svg/bookmark-active.svg"},chevron:{value:"svg/chevron.svg"},clock:{value:"svg/clock.svg"},close:{value:"svg/close.svg"},clover:{value:"svg/clover.svg"},comment:{value:"svg/comment.svg"},connect:{value:"svg/connect.svg"},connected:{value:"svg/connected.svg"},dailymotion:{value:"svg/dailymotion.svg"},darkmode:{value:"svg/darkmode.svg"},diaporama:{value:"svg/diaporama.svg"},diode:{value:"svg/diode.svg"},"diode-leaning":{value:"svg/diode-leaning.svg"},"diode-rubric-entertainment":{value:"svg/diode-rubric-entertainment.svg"},"diode-rubric-planet":{value:"svg/diode-rubric-planet.svg"},"diode-rubric-sport":{value:"svg/diode-rubric-sport.svg"},error:{value:"svg/error.svg"},facebook:{value:"svg/facebook.svg"},flipboard:{value:"svg/flipboard.svg"},ghost:{value:"svg/ghost.svg"},googleplay:{value:"svg/googleplay.svg"},health:{value:"svg/health.svg"},heart:{value:"svg/heart.svg"},home:{value:"svg/home.svg"},horoscope:{value:"svg/horoscope.svg"},instagram:{value:"svg/instagram.svg"},jeux:{value:"svg/jeux.svg"},journal:{value:"svg/journal.svg"},local:{value:"svg/local.svg"},logo:{value:"svg/logo.svg"},menu:{value:"svg/menu.svg"},mood:{value:"svg/mood.svg"},newsletters:{value:"svg/newsletters.svg"},"not-found":{value:"svg/not-found.svg"},notification:{value:"svg/notification.svg"},podcast:{value:"svg/podcast.svg"},report:{value:"svg/report.svg"},search:{value:"svg/search.svg"},"server-error":{value:"svg/server-error.svg"},share:{value:"svg/share.svg"},"signin-facebook":{value:"svg/signin-facebook.svg"},"signin-google":{value:"svg/signin-google.svg"},snapchat:{value:"svg/snapchat.svg"},star:{value:"svg/star.svg"},tiktok:{value:"svg/tiktok.svg"},twitter:{value:"svg/twitter.svg"},valide:{value:"svg/valide.svg"},video:{value:"svg/video.svg"},view:{value:"svg/view.svg"},work:{value:"svg/work.svg"},youtube:{value:"svg/youtube.svg"},"horoscope-sign":{chinese:{"horoscope-belier":{value:"svg/chinese/horoscope-belier.svg"},"horoscope-buffle":{value:"svg/chinese/horoscope-buffle.svg"},"horoscope-cheval":{value:"svg/chinese/horoscope-cheval.svg"},"horoscope-chevre":{value:"svg/chinese/horoscope-chevre.svg"},"horoscope-chien":{value:"svg/chinese/horoscope-chien.svg"},"horoscope-cochon":{value:"svg/chinese/horoscope-cochon.svg"},"horoscope-coq":{value:"svg/chinese/horoscope-coq.svg"},"horoscope-dragon":{value:"svg/chinese/horoscope-dragon.svg"},"horoscope-lapin":{value:"svg/chinese/horoscope-lapin.svg"},"horoscope-lion":{value:"svg/chinese/horoscope-lion.svg"},"horoscope-poissons":{value:"svg/chinese/horoscope-poissons.svg"},"horoscope-serpent":{value:"svg/chinese/horoscope-serpent.svg"},"horoscope-singe":{value:"svg/chinese/horoscope-singe.svg"},"horoscope-taureau":{value:"svg/chinese/horoscope-taureau.svg"},"horoscope-tigre":{value:"svg/chinese/horoscope-tigre.svg"}},zodiac:{"horoscope-balance":{value:"svg/zodiac/horoscope-balance.svg"},"horoscope-cancer":{value:"svg/zodiac/horoscope-cancer.svg"},"horoscope-capricorne":{value:"svg/zodiac/horoscope-capricorne.svg"},"horoscope-gemeaux":{value:"svg/zodiac/horoscope-gemeaux.svg"},"horoscope-rat":{value:"svg/zodiac/horoscope-rat.svg"},"horoscope-sagittaire":{value:"svg/zodiac/horoscope-sagittaire.svg"},"horoscope-scorpion":{value:"svg/zodiac/horoscope-scorpion.svg"},"horoscope-verseau":{value:"svg/zodiac/horoscope-verseau.svg"},"horoscope-vierge":{value:"svg/zodiac/horoscope-vierge.svg"}}}}},breakpoint:{xs:{value:"0",description:"no minimum width value because we are in mobile-first"},sm:{value:"479",description:"minimum width value for a small devices (tablets)"},md:{value:"767",description:"minimum width value for a medium devices, (desktops)"},lg:{value:"1024",description:"minimum width value for a large devices (wide screen)"}},color:{primary:{ultramarine:{value:"#4742ff"},"ultramarine-light":{value:"#6b72fb"}},secondary:{orange:{value:"#fa9917"},yellow:{value:"#f2e500"},green:{value:"#6a9f4f"},purple:{value:"#ae6ba2"},red:{value:"#ff3333"},blue:{value:"#0000ff"},pink:{value:"#ef2a82"},sponsoring:{value:"#fff5f1"}},greyscale:{black:{value:"#000000"},white:{value:"#ffffff"},"grey-100":{value:"#f7f7f7"},"grey-200":{value:"#dddddd"},"grey-300":{value:"#898a8c"},"grey-400":{value:"#6a6a6a"},"grey-500":{value:"#484848"},"grey-600":{value:"#2f3134"},"grey-700":{value:"#181a1e"},"grey-800":{value:"#0f1116"}},status:{error:{value:"#ff3333"}},rubric:{default:{value:"#000000"},direct:{value:"#dc0e19"},sport:{value:"#3c9ba1"},entertainment:{value:"#92317e"},planet:{value:"#71a11b"},magazine:{value:"#008f8c"},production:{value:"#c5be00"},c2c:{value:"#f7562a"},tempo:{value:"#cc0f53"}}},"font-family":{base:{value:"Arial"},oswald:{value:"'Oswald', sans-serif"},"source-serif-pro":{value:"'Source Serif Pro', serif"}},"font-size":{"xxs-4":{value:"8px"},"xxs-3":{value:"11px"},"xxs-2":{value:"12px"},xxs:{value:"14px"},xs:{value:"16px"},s:{value:"18px"},m:{value:"20px"},l:{value:"22px"},xl:{value:"26px"},xxl:{value:"28px"},"xxl-2":{value:"38px"},"xxl-3":{value:"44px"},"xxl-4":{value:"48px"},"xxl-5":{value:"54px"}},"font-weight":{regular:{value:"400"},"semi-bold":{value:"600"},bold:{value:"700"}},"line-height":{base:{value:"1.2"},large:{value:"1.5"},"extra-large":{value:"1.75"}},radius:{0:{value:"0"},"xxs-2":{value:"2px"},xxs:{value:"4px"},xs:{value:"6px"},s:{value:"10px"},m:{value:"20px"},l:{value:"40px"},xl:{value:"50px"},xxl:{value:"100px"}},spacing:{0:{value:"0"},auto:{value:"auto"},"xxs-3":{value:"2px"},"xxs-2":{value:"4px"},xxs:{value:"8px"},xs:{value:"12px"},s:{value:"16px"},m:{value:"24px"},l:{value:"32px"},xl:{value:"40px"},xxl:{value:"64px"},"xxl-2":{value:"120px"}},typography:{heading:{"xxs-2":{description:"use for titles of CardMedium (ad), CardSmall, CardExtraSmall and CardOverview",fontSize:{value:"18px"}},xxs:{description:"use for titles of Tabs, ArticleSummary, footer categories, OverviewBar and RubricCards",fontSize:{value:"20px"}},xs:{description:"use for minified header title",fontSize:{value:"22px"}},s:{description:"use for title of HeaderBanner and CardMostRead and for article subtitle",fontSize:{value:"26px"}},m:{description:"use for title of CardExtraLarge (mobile), CardLarge (mobile), CardMedium, Newsletter, LiveCards and PartnerCards",fontSize:{value:"28px"}},l:{description:"use for pages title (mobile)",fontSize:{value:"38px"}},xl:{description:"use for title of CardLarge (desktop) and CardMostRead",fontSize:{value:"44px"}},xxl:{description:"use for CardExtraLarge title (desktop)",fontSize:{value:"48px"}},"xxl-2":{description:"use for pages title (desktop)",fontSize:{value:"54px"}}},text:{"xxs-3":{description:"use for CardFooter",fontSize:{value:"8px"}},"xxs-2":{description:"use for advanced SocialBar numbers and Checkbox label (mobile)",fontSize:{value:"11px"}},xxs:{description:"use for Label, simple SocialBar numbers, date info in Signature and CardHeader, Checkbox label (desktop), HoroscopeTiles label and footer download buttons label",fontSize:{value:"12px"}},xs:{description:'use for "See more" button, images caption, HoroscopeHomepageContent heading subtitle and Newsletter button label',fontSize:{value:"14px"}},s:{description:"use for InfoBanner, Newsletter description (mobile), footer content, Tag, HoroscopeHomepageContent link and buttons label",fontSize:{value:"16px"}},m:{description:"use for HeaderPage subtitle (mobile), CardExtraLarge summary (mobile), HoroscopeContent, Newsletter description (desktop), input placeholder label in ArticleHeader summary and article quote author name",fontSize:{value:"18px"},lineHeight:{value:"1.5"}},l:{description:"use for ArticleContent and ArticleSummary content",fontSize:{value:"20px"},lineHeight:{value:"1.5"}},xl:{description:"use for HeaderPage subtitle (desktop) and CardExtraLarge summary (desktop)",fontSize:{value:"22px"}},xxl:{description:"use for ArticleHeader lead and article quote",fontSize:{value:"26px"}}}}};[...Object.keys(J.color.primary),...Object.keys(J.color.secondary),...Object.keys(J.color.rubric)];const _n={bd:["border"],bg:["background-color"],color:["color"]},dn={align:["align-self"],basis:["flex-basis"],shrink:["flex-shrink"],grow:["flex-grow"]},mn={alignItems:["align-items"],alignContent:["align-content"],justifyContent:["justify-content"],gap:["gap"],gapX:["row-gap"],gapY:["col-gap"],inline:["inline"],direction:["direction"],wrap:["wrap"],flexGrow:["flex-grow"]},Ke={radius:["border-radius"]},vn={m:["margin"],mt:["margin-top"],mr:["margin-right"],ml:["margin-left"],mb:["margin-bottom"],mx:["margin-left","margin-right"],my:["margin-top","margin-bottom"]},Tn={p:["padding"],pt:["padding-top"],pr:["padding-right"],pl:["padding-left"],pb:["padding-bottom"],px:["padding-left","padding-right"],py:["padding-top","padding-bottom"]},Xe={...vn,...Tn},gn={...Xe,..._n,...Ke},pn={textAlign:["text-align"],weight:["font-weight"],italic:["font-style"],textDecoration:["text-decoration"],textTransform:["text-transform"],fontFamily:["font-family"]};Object.keys(J["font-family"]).filter(e=>!["base"].includes(e));const bn=Object.keys(J.color.rubric);function f(e){return i.forwardRef(e)}const fn=({src:e,formats:t})=>{if(t!==void 0&&t.length>0)return t.map(n=>`${e.replace(/%format/,n)} ${n.split("x")[0]}w`).join(", ")},En=({src:e,format:t})=>e.replace(/%format/,t);function hn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var We={exports:{}};/*!
2
2
  Copyright (c) 2018 Jed Watson.
3
3
  Licensed under the MIT License (MIT), see
4
4
  http://jedwatson.github.io/classnames
5
- */(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o=[],a=0;a<arguments.length;a++){var r=arguments[a];if(r){var l=typeof r;if(l==="string"||l==="number")o.push(r);else if(Array.isArray(r)){if(r.length){var s=n.apply(null,r);s&&o.push(s)}}else if(l==="object"){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){o.push(r.toString());continue}for(var c in r)t.call(r,c)&&r[c]&&o.push(c)}}}return o.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(We);var Nn=We.exports;const d=En(Nn);var Je="/home/travis/build/20minutes/hela/src/components/atoms/Button/Button.tsx";const B=f(({as:e="button",variant:t="primary",children:n,iconProps:o,...a},r)=>i.createElement(T,{...a,as:e,ref:r,alignItems:"center",gap:"xxs",className:d("c-btn",{[`c-btn--${t}`]:t},a?.className),__self:void 0,__source:{fileName:Je,lineNumber:22,columnNumber:5}},o&&i.createElement(y,{...o,__self:void 0,__source:{fileName:Je,lineNumber:30,columnNumber:21}}),n));B.displayName="Button";var se="/home/travis/build/20minutes/hela/src/components/atoms/Divider/Divider.tsx";const An=f(({text:e,color:t="black",thickness:n="thin",...o},a)=>{const r=i.createElement(xe,{bg:t,align:"center",className:d("c-divider__line",{[`c-divider__line--${n}`]:n!=="thin"}),__self:void 0,__source:{fileName:se,lineNumber:15,columnNumber:7}});return i.createElement(T,{...o,ref:a,className:d("c-divider",{"c-divider--has-text":!!e},o?.className),__self:void 0,__source:{fileName:se,lineNumber:25,columnNumber:7}},e?i.createElement(i.Fragment,null,r,i.createElement(xe,{px:"xxs-2",className:"c-divider__text",__self:void 0,__source:{fileName:se,lineNumber:37,columnNumber:13}},i.createElement(h,{size:"xxs",color:t,textTransform:"uppercase",__self:void 0,__source:{fileName:se,lineNumber:38,columnNumber:15}},e)),r):r)});var le="/home/travis/build/20minutes/hela/src/components/atoms/Icon/Icon.tsx";const y=f(({name:e,size:t=28,withBorder:n=!1,isRounded:o=!1,rotation:a,...r},l)=>{const s=Array.isArray(t)?t?.[0]:t,c=Array.isArray(t)?t?.[1]:t;return i.createElement(p,{...r,ref:l,className:d("c-icon",{"c-icon--withBorder":n,"c-icon--isRounded":o,[`c-icon--${a}`]:a},r?.className),__self:void 0,__source:{fileName:le,lineNumber:22,columnNumber:7}},i.createElement("svg",{width:s,height:c,__self:void 0,__source:{fileName:le,lineNumber:35,columnNumber:9}},e==="circle"?i.createElement("circle",{__self:void 0,__source:{fileName:le,lineNumber:36,columnNumber:32}}):i.createElement("use",{xlinkHref:`#${e}`,__self:void 0,__source:{fileName:le,lineNumber:36,columnNumber:45}})))});var Qe="/home/travis/build/20minutes/hela/src/components/atoms/Img/Img.tsx";const Ze=({src:e="",defaultFormat:t,formats:n,alt:o="",sizes:a,lazyload:r={delayed:!1,distanceVisible:0},...l})=>{const s=t.split("x"),c=s[0],u=s[1];let m,_=`data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='${c}'%20height='${u}'%3E%3C/svg%3E`;e&&(_=hn({src:e,format:t}),m=fn({formats:n,src:e}));const E=Math.random().toString(36).slice(2),b={...l,id:E,width:c,height:u,sizes:a||void 0,alt:o,className:d("c-img",l?.className),"data-delayed":r.delayed,"data-distance-visible":r.distanceVisible};return r.delayed?i.createElement(p,{...b,as:"img","data-src":_,"data-srcset":m,__self:void 0,__source:{fileName:Qe,lineNumber:54,columnNumber:12}}):i.createElement(p,{...b,as:"img",src:_,srcSet:m,__self:void 0,__source:{fileName:Qe,lineNumber:57,columnNumber:10}})};var wn="/home/travis/build/20minutes/hela/src/components/atoms/InlineSeparator/InlineSeparator.tsx";const De=({size:e,...t})=>i.createElement(h,{as:"span",size:e||"s",...t,__self:void 0,__source:{fileName:wn,lineNumber:5,columnNumber:3}},"\u2022");var C="/home/travis/build/20minutes/hela/src/components/atoms/Input/Input.tsx";f(({id:e,className:t,color:n,required:o,label:a,icon:r,positionIcon:l="left",isIconButton:s=!1,iconButtonProps:c,variant:u,msg:m,..._},E)=>i.createElement(T,{direction:"column",ref:E,className:"c-input",__self:void 0,__source:{fileName:C,lineNumber:43,columnNumber:5}},a&&i.createElement("label",{htmlFor:e,className:"c-input__label",__self:void 0,__source:{fileName:C,lineNumber:45,columnNumber:9}},a,o&&i.createElement("abbr",{className:"c-input__label__abbr",title:"(ce champ est obligatoire)",__self:void 0,__source:{fileName:C,lineNumber:48,columnNumber:13}},"*")),i.createElement(T,{className:"c-input-container",__self:void 0,__source:{fileName:C,lineNumber:54,columnNumber:7}},r&&(s?i.createElement(B,{className:d("c-input-container__icon",`c-input-container__icon--${l}`),iconProps:{name:r,size:18},variant:"ghost",color:n||"black",...c,__self:void 0,__source:{fileName:C,lineNumber:57,columnNumber:13}}):i.createElement(y,{className:d("c-input-container__icon",`c-input-container__icon--${l}`),name:r,size:18,__self:void 0,__source:{fileName:C,lineNumber:71,columnNumber:13}})),i.createElement("input",{id:e,className:d("c-input-container__input",{[`c-input-container__input--has-icon--${l}`]:r,[`c-input-container__input--${u}`]:u},t),required:o,..._,__self:void 0,__source:{fileName:C,lineNumber:80,columnNumber:9}})),m&&m.length&&i.createElement(T,{wrap:"wrap",gapY:"s",gapX:"xxs-2",mt:"xxs-2",__self:void 0,__source:{fileName:C,lineNumber:95,columnNumber:9}},m.map(({iconProps:b,textProps:g,value:w},D)=>i.createElement(T,{key:D?.toString(),alignItems:"center",gap:"xxs",__self:void 0,__source:{fileName:C,lineNumber:97,columnNumber:13}},b&&i.createElement(y,{...b,__self:void 0,__source:{fileName:C,lineNumber:98,columnNumber:29}}),i.createElement(h,{dangerouslySetInnerHTML:{__html:w},role:"alert",...g,__self:void 0,__source:{fileName:C,lineNumber:99,columnNumber:15}}))))));var Le="/home/travis/build/20minutes/hela/src/components/atoms/Label/Label.tsx";const $e=({children:e,bg:t,color:n,hasDot:o=!1,isUppercase:a=!0,size:r,className:l,...s})=>i.createElement(T,{inline:!0,p:t?"xxs-2":void 0,bg:t,color:n,className:d("c-label",l),alignItems:"center",...s,__self:void 0,__source:{fileName:Le,lineNumber:23,columnNumber:3}},o&&i.createElement(De,{mr:"xxs-2",size:r||"xxs",__self:void 0,__source:{fileName:Le,lineNumber:32,columnNumber:16}}),i.createElement(h,{as:"span",size:r||"xxs",weight:"bold",textTransform:a?"uppercase":void 0,__self:void 0,__source:{fileName:Le,lineNumber:33,columnNumber:5}},e)),Rn=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),et=e=>{if(e.propValue!==void 0){if(typeof e.propValue!="boolean"){const t=Rn(typeof e.propValue=="number"?e.propValue.toString():e.propValue);return e.className?`${e.className}-${t}@${e.defaultModifier}`:`${t}@${e.defaultModifier}`}if(!e.className)throw new Error('It is necessary to define the argument "className" !');return`${e.className}@${e.defaultModifier}`}},v=e=>{if(e.propValue&&["boolean","string","number"].includes(typeof e.propValue)||!e.propValue){const t=et({className:e.className,defaultModifier:e.defaultModifier||"xs",propValue:e.propValue});return t?[t]:[]}return Object.entries(e.propValue).reduce((t,[n,o])=>{const a=et({className:e.className,defaultModifier:n,propValue:o});return a&&t.push(a),t},[])},ce=e=>typeof e.props=="object"?Object.keys(e.props).reduce((t,n)=>(e.systemPropNames.includes(n)||(t[n]=e.props[n]),t),{}):{},Cn=e=>d(...v({className:"bd",defaultModifier:"light",propValue:e.bd}),...v({className:"bg",defaultModifier:"light",propValue:e.bg}),...v({className:"color",defaultModifier:"light",propValue:e.color})),yn=e=>d(Object.entries(e).filter(([t])=>Object.keys(Xe).includes(t)).reduce((t,[n,o])=>(t.push(...v({className:n,propValue:o})),t),[])),Sn=e=>d(Object.entries(e).filter(([t])=>Object.keys(Ke).includes(t)).reduce((t,[n,o])=>(t.push(...v({className:n,propValue:o})),t),[])),Dn=({textAlign:e,weight:t,textTransform:n,textDecoration:o,italic:a,fontFamily:r})=>d(v({className:"text",propValue:e}),v({className:"font-weight",propValue:t}),{[`text-transform-${n}`]:!!n,[`text-decoration-${o}`]:!!o,"text-italic":!!a,[`font-${r}`]:!!r}),Ln=e=>d(yn(e),Cn(e),Sn(e)),xn=e=>d(...v({propValue:e.align,className:"self"})),tt=e=>d(...v({propValue:e.alignItems,className:"items"}),...v({propValue:e.alignContent,className:"content"}),...v({propValue:e.justifyContent,className:"justify"}),...v({propValue:e.gap,className:"gap"}),...v({propValue:e.gapX,className:"gap-x"}),...v({propValue:e.gapY,className:"gap-y"}),...v({propValue:e.flexGrow,className:"grow"})),Un=({inline:e=!1,direction:t,wrap:n,...o})=>d(...v({propValue:e,className:e?"inline-flex":"flex"}),...v({propValue:t,className:"direction"}),...v({propValue:n}),tt(o)),Hn=({basis:e,shrink:t,grow:n,...o})=>d(...v({propValue:e,className:"basis"}),...v({propValue:t,className:"shrink"}),...v({propValue:n,className:"grow"}),xn(o));var In="/home/travis/build/20minutes/hela/src/components/atoms/Layout/Box/Box.tsx";const p=f(({as:e="div",children:t,...n},o)=>i.createElement(e,{...ce({props:n,systemPropNames:Object.keys(pn)}),ref:o,className:d(Ln(n),n?.className),__self:void 0,__source:{fileName:In,lineNumber:12,columnNumber:3}},t));p.displayName="Box";const kn=({colsNumber:e,gap:t,gapX:n,gapY:o,children:a,...r})=>i.createElement(p,{...r,className:d("grid",...v({className:"grid-cols-number",propValue:e}),...v({className:"grid-gap",propValue:t}),...v({className:"grid-gap-row",propValue:n}),...v({className:"grid-gap-col",propValue:o}),d(tt(r),r?.className)),children:a});var On="/home/travis/build/20minutes/hela/src/components/atoms/Layout/Flex/Flex.tsx";const T=f(({as:e="div",children:t,...n},o)=>i.createElement(p,{...ce({props:n,systemPropNames:Object.keys(mn)}),as:e,ref:o,className:d(Un(n),n?.className),__self:void 0,__source:{fileName:On,lineNumber:13,columnNumber:3}},t));var Pn="/home/travis/build/20minutes/hela/src/components/atoms/Layout/Flex/FlexItem/FlexItem.tsx";const xe=f(({as:e="div",children:t,...n},o)=>i.createElement(p,{...ce({props:n,systemPropNames:Object.keys(dn)}),as:e,ref:o,className:d(Hn(n),n?.className),__self:void 0,__source:{fileName:Pn,lineNumber:14,columnNumber:5}},t));var Mn="/home/travis/build/20minutes/hela/src/components/atoms/Link/Link.tsx";f(({as:e="a",children:t,color:n,variant:o,...a},r)=>{if(o&&n)throw new Error("You can't use color and variant props together");return i.createElement(p,{...a,as:e,ref:r,color:o?void 0:n||"ultramarine",className:d("c-link",{[`c-btn c-btn--${o}`]:o&&!n},a?.className),__self:void 0,__source:{fileName:Mn,lineNumber:19,columnNumber:7}},t)});var Bn="/home/travis/build/20minutes/hela/src/components/atoms/Pipe/Pipe.tsx";function Fn(){return i.createElement("div",{className:"c-pipe",__self:this,__source:{fileName:Bn,lineNumber:4,columnNumber:10}})}var nt="/home/travis/build/20minutes/hela/src/components/atoms/ScrollProgressBar/ScrollProgressBar.tsx";f(({variant:e,progressColor:t="ultramarine"},n)=>i.createElement(p,{ref:n,bg:"grey-100",className:d("c-progress",{[`c-progress--${e}`]:e}),__self:void 0,__source:{fileName:nt,lineNumber:14,columnNumber:5}},i.createElement(p,{className:"c-progress__bar",bg:t,style:{width:"0%"},__self:void 0,__source:{fileName:nt,lineNumber:19,columnNumber:7}})));var V="/home/travis/build/20minutes/hela/src/components/atoms/Slider/Slider.tsx";const jn=e=>{switch(e){case"primary":return{light:"white",dark:"grey-700"};case"secondary":return{light:"grey-100",dark:"grey-700"};default:return}};f(({layout:e,children:t,itemsGap:n,buttonsBackground:o,colorVariant:a="default",sliderVariant:r="default",auto:l=!1,delay:s=3e3,...c},u)=>i.createElement(p,{...c,ref:u,className:d("c-slider js-navigation-container",c?.className),"data-slider-variant":r,"data-slider-auto":l,"data-slider-delay":s,__self:void 0,__source:{fileName:V,lineNumber:48,columnNumber:5}},i.createElement(p,{className:"c-slider__viewport js-navigation-container__list",__self:void 0,__source:{fileName:V,lineNumber:56,columnNumber:7}},i.createElement(T,{className:"c-slider__list",alignItems:"center",gap:n,__self:void 0,__source:{fileName:V,lineNumber:57,columnNumber:9}},t)),e===q.DESKTOP&&i.createElement(p,{className:"c-slider__buttons-container",__self:void 0,__source:{fileName:V,lineNumber:62,columnNumber:9}},Array.from(["previous","next"],m=>i.createElement(p,{key:m,bg:o&&jn(o),pr:o&&m==="previous"?"m":void 0,pl:o&&m==="next"?"m":void 0,className:d(`c-slider__button-container c-slider__button-container--${m} o-nav-button o-nav-button--${m}-button`,{"c-slider__button-container--has-background":o},{[`c-slider__button-container--${r}`]:r}),__self:void 0,__source:{fileName:V,lineNumber:64,columnNumber:13}},i.createElement(B,{variant:"round",color:a,iconProps:{name:"chevron",size:12,rotation:m==="previous"?"half":void 0},__self:void 0,__source:{fileName:V,lineNumber:77,columnNumber:15}}))))));var ue="/home/travis/build/20minutes/hela/src/components/atoms/Switch/Switch.tsx";const zn=f(({id:e,className:t,label:n,isChecked:o=!1},a)=>i.createElement("div",{className:"switch",__self:void 0,__source:{fileName:ue,lineNumber:14,columnNumber:5}},i.createElement("label",{htmlFor:e,className:"switch-label",__self:void 0,__source:{fileName:ue,lineNumber:15,columnNumber:7}},n),i.createElement("button",{type:"button",ref:a,id:e,className:d("switch-button",t),role:"switch","aria-checked":o,__self:void 0,__source:{fileName:ue,lineNumber:18,columnNumber:7}},i.createElement("span",{"aria-hidden":o,__self:void 0,__source:{fileName:ue,lineNumber:26,columnNumber:9}},o?"on":"off"))));zn.displayName="Switch";var qn="/home/travis/build/20minutes/hela/src/components/atoms/Tag/Tag.tsx";f(({as:e="a",id:t,link:n,variant:o="primary",children:a,...r},l)=>i.createElement(p,{...r,as:e,ref:l,href:n,className:d("c-tags",`c-tags--${o}`,r?.className),"data-id":t,__self:void 0,__source:{fileName:qn,lineNumber:15,columnNumber:5}},a));var Vn="/home/travis/build/20minutes/hela/src/components/atoms/Typography/Typography.tsx";const ot=f(({as:e="p",children:t,...n},o)=>t&&t.toString().length||n!=null&&n.dangerouslySetInnerHTML?i.createElement(p,{...ce({props:n,systemPropNames:Object.keys(gn)}),as:e,ref:o,className:d(Dn(n),n?.className),__self:void 0,__source:{fileName:Vn,lineNumber:15,columnNumber:7}},t):null);var Gn="/home/travis/build/20minutes/hela/src/components/atoms/Typography/Heading/Heading.tsx";const Ue=f(({as:e="h1",size:t,children:n,...o},a)=>i.createElement(ot,{...o,as:e,ref:a,className:d(v({className:"heading",propValue:t}),o?.className),__self:void 0,__source:{fileName:Gn,lineNumber:15,columnNumber:5}},n));var Yn="/home/travis/build/20minutes/hela/src/components/atoms/Typography/Text/Text.tsx";const h=f(({as:e="p",size:t,highlighted:n,children:o,...a},r)=>i.createElement(ot,{as:n?"span":e,bg:n?"sponsoring":a.bg,p:n?"xxs":a.p,...a,ref:r,className:d(v({className:"text",propValue:t}),{"text-highlighted":n},a?.className),__self:void 0,__source:{fileName:Yn,lineNumber:16,columnNumber:5}},o));var x="/home/travis/build/20minutes/hela/src/components/molecules/AlertInfoBanner/AlertInfoBanner.tsx";const Kn=({cover:e="https://placehold.jp/%format.png",description:t,title:n,link:o,closeButton:a,...r})=>i.createElement(T,{...r,className:d("c-info-banner","c-info-banner--alert",r?.className),alignItems:"center",justifyContent:"center",gap:"s",color:"white",bg:"red",p:"s",__self:void 0,__source:{fileName:x,lineNumber:22,columnNumber:3}},i.createElement(T,{className:"c-info-banner__container",gap:"s",alignItems:"start",__self:void 0,__source:{fileName:x,lineNumber:32,columnNumber:5}},e&&i.createElement(T,{as:"a",className:"c-info-banner__visual",...o||{},__self:void 0,__source:{fileName:x,lineNumber:34,columnNumber:9}},i.createElement(Ze,{src:e,defaultFormat:"130x82",formats:["130x82"],sizes:"8.125rem",alt:n,className:"c-info-banner__cover",__self:void 0,__source:{fileName:x,lineNumber:35,columnNumber:11}})),i.createElement(T,{className:"c-info-banner__content",direction:"column",justifyContent:{xs:"between"},__self:void 0,__source:{fileName:x,lineNumber:45,columnNumber:7}},i.createElement(h,{className:"c-info-banner__title",color:"red",bg:"white",px:"xxs-2",mb:"xxs-2",size:"s",weight:"bold",__self:void 0,__source:{fileName:x,lineNumber:50,columnNumber:9}},n),i.createElement(h,{as:o?"a":void 0,size:"s",color:"white",...o||{},__self:void 0,__source:{fileName:x,lineNumber:61,columnNumber:9}},t),a&&i.createElement(B,{...a,variant:"ghost",className:"c-info-banner__close",__self:void 0,__source:{fileName:x,lineNumber:65,columnNumber:11}},i.createElement(y,{name:"close",size:12,color:"white",__self:void 0,__source:{fileName:x,lineNumber:66,columnNumber:13}})))));var Xn="/home/travis/build/20minutes/hela/src/components/molecules/Card/CardContainer/CardContainer.tsx";const it=f(({as:e="a",link:t,children:n,className:o,...a},r)=>i.createElement(T,{...a,as:e,ref:r,href:t,justifyContent:a?.justifyContent||"between",className:d("c-card-container",o),__self:void 0,__source:{fileName:Xn,lineNumber:14,columnNumber:5}},n));var He="/home/travis/build/20minutes/hela/src/components/molecules/Card/CardFooter/CardFooter.tsx";const at=({text:e,secondaryText:t,bg:n,...o})=>i.createElement(T,{...o,justifyContent:"between",alignItems:"center",gap:"s",__self:void 0,__source:{fileName:He,lineNumber:14,columnNumber:3}},i.createElement(h,{as:"span",size:"xs",bg:n||void 0,p:n?"xxs":void 0,__self:void 0,__source:{fileName:He,lineNumber:15,columnNumber:5}},e),t&&i.createElement(h,{as:"span",size:"xxs-3",color:"grey-300",textTransform:"uppercase",__self:void 0,__source:{fileName:He,lineNumber:19,columnNumber:7}},t));var G="/home/travis/build/20minutes/hela/src/components/molecules/Card/CardHeader/CardHeader.tsx";const rt=({headline:e,liveTime:t,rightSubheader:n,size:o="xxs",...a})=>i.createElement(T,{...a,alignItems:"center",gap:"xxs-2",color:"grey-400",__self:void 0,__source:{fileName:G,lineNumber:14,columnNumber:3}},t&&i.createElement(i.Fragment,null,i.createElement(h,{as:"span",size:o,color:"direct",weight:"bold",__self:void 0,__source:{fileName:G,lineNumber:17,columnNumber:9}},t),i.createElement(De,{size:o,color:"direct",__self:void 0,__source:{fileName:G,lineNumber:20,columnNumber:9}})),i.createElement($e,{color:e.color,bg:e.bg,size:o,__self:void 0,__source:{fileName:G,lineNumber:23,columnNumber:5}},e.text),n&&i.createElement(i.Fragment,null,i.createElement(De,{size:o,__self:void 0,__source:{fileName:G,lineNumber:28,columnNumber:9}}),i.createElement(h,{as:"time",size:o,color:n.color,__self:void 0,__source:{fileName:G,lineNumber:29,columnNumber:9}},n.text)));var Q="/home/travis/build/20minutes/hela/src/components/molecules/Card/CardImage/CardImage.tsx";const Wn=e=>{switch(e){case"small":return 20;case"medium":return 28;default:return 40}},st=({cover:e,formats:t,defaultFormat:n,sizes:o,alt:a,caption:r,lazyload:l={delayed:!1,distanceVisible:0},...s})=>{const c=i.createElement(Ze,{...!r&&s,src:e,defaultFormat:n,formats:t,sizes:o,alt:a,lazyload:l,__self:void 0,__source:{fileName:Q,lineNumber:31,columnNumber:5}});return i.createElement(p,{...r&&s,className:d("c-card-img",s?.className),__self:void 0,__source:{fileName:Q,lineNumber:43,columnNumber:5}},r?i.createElement(i.Fragment,null,i.createElement(T,{color:"white",alignItems:"center",gap:r.size==="small"?"xxs-2":"xxs",className:d("c-card-img__caption",{[`c-card-img__caption--${r.size||"big"}`]:!0}),__self:void 0,__source:{fileName:Q,lineNumber:46,columnNumber:11}},i.createElement(y,{name:r.iconName,size:Wn(r.size||"big"),__self:void 0,__source:{fileName:Q,lineNumber:54,columnNumber:13}}),i.createElement(h,{size:r.size==="small"?"xxs-2":"xxs",weight:"bold",__self:void 0,__source:{fileName:Q,lineNumber:55,columnNumber:13}},r.text)),c):c)};var Ie="/home/travis/build/20minutes/hela/src/components/molecules/Card/CardTitle/CardTitle.tsx";const lt=({cartridge:e,hasEllipses:t=!0,as:n,size:o,fontFamily:a,weight:r,children:l,...s})=>i.createElement(p,{...s,pb:"xxs-3",className:d("c-card-title",{"c-card-title--has-ellipses":t},s?.className),__self:void 0,__source:{fileName:Ie,lineNumber:23,columnNumber:3}},e&&i.createElement($e,{bg:e==="exclusive"?"ultramarine":"red",color:"white",hasDot:e==="live"||!1,mr:"xxs",__self:void 0,__source:{fileName:Ie,lineNumber:33,columnNumber:7}},e==="exclusive"&&"exclusif"||e==="alert"&&"alerte info"||"live"),i.createElement(Ue,{as:n||"h1",size:o||"m",fontFamily:a||"oswald",weight:r||"bold",className:e?"c-card-title__cartridge-heading":void 0,__self:void 0,__source:{fileName:Ie,lineNumber:44,columnNumber:5}},l));var O="/home/travis/build/20minutes/hela/src/components/molecules/Card/Templates/CardExtraSmall/CardExtraSmall.tsx";const Jn=({link:e,title:t,cardHeaderProps:n,cardTitleProps:o,cardImageProps:a,cardFooterProps:r,layout:l,socialBarProps:s,contentGap:c,...u})=>i.createElement(it,{...u,p:u!=null&&u.bg?"s":void 0,as:"div",direction:"column",className:d("c-card-extra-small",u?.className),__self:void 0,__source:{fileName:O,lineNumber:35,columnNumber:3}},i.createElement(xe,{as:"a",href:e,__self:void 0,__source:{fileName:O,lineNumber:42,columnNumber:5}},i.createElement(rt,{...n,mb:"xxs-2",__self:void 0,__source:{fileName:O,lineNumber:43,columnNumber:7}}),i.createElement(T,{justifyContent:"between",gap:c||"m",__self:void 0,__source:{fileName:O,lineNumber:44,columnNumber:7}},i.createElement(lt,{as:"h4",size:"xxs",fontFamily:"source-serif-pro",...o,className:"c-card-extra-small__title",__self:void 0,__source:{fileName:O,lineNumber:45,columnNumber:9}},t),a&&i.createElement(st,{...a,defaultFormat:l===q.DESKTOP?"130x82":"260x164",formats:["260x164","130x82"],sizes:l===q.DESKTOP?"8.125rem":"16.25rem",alt:t,className:"c-card-extra-small__img",__self:void 0,__source:{fileName:O,lineNumber:55,columnNumber:11}})),r&&i.createElement(at,{...r,mt:"xs",__self:void 0,__source:{fileName:O,lineNumber:65,columnNumber:27}})),s&&i.createElement(dt,{...s,variant:"card",mt:"xs",__self:void 0,__source:{fileName:O,lineNumber:67,columnNumber:24}}));var P="/home/travis/build/20minutes/hela/src/components/molecules/Card/Templates/CardMedium/CardMedium.tsx";const Qn=({link:e,title:t,cardHeaderProps:n,cardTitleProps:o,cardImageProps:a,socialBarProps:r,cardFooterProps:l,bg:s,radius:c,...u})=>i.createElement(it,{...u,as:"div",direction:"column",bg:s,radius:s?c||"xxs":void 0,__self:void 0,__source:{fileName:P,lineNumber:30,columnNumber:3}},i.createElement(p,{as:"a",href:e,__self:void 0,__source:{fileName:P,lineNumber:37,columnNumber:5}},a&&i.createElement(st,{...a,formats:["480x308","346x222"],defaultFormat:"480x308",alt:t,mb:"xs",style:s?{borderRadius:"unset"}:void 0,__self:void 0,__source:{fileName:P,lineNumber:39,columnNumber:9}}),i.createElement(p,{px:s?"s":void 0,__self:void 0,__source:{fileName:P,lineNumber:48,columnNumber:7}},i.createElement(rt,{...n,mb:"xxs-2",__self:void 0,__source:{fileName:P,lineNumber:49,columnNumber:9}}),i.createElement(lt,{...o,as:"h3",size:"m",fontFamily:"oswald",__self:void 0,__source:{fileName:P,lineNumber:50,columnNumber:9}},t)),l&&i.createElement(at,{...l,mt:"m",p:s?"s":void 0,__self:void 0,__source:{fileName:P,lineNumber:54,columnNumber:27}})),r&&i.createElement(dt,{...r,variant:"card",mt:"m",__self:void 0,__source:{fileName:P,lineNumber:56,columnNumber:24}}));var Z="/home/travis/build/20minutes/hela/src/components/molecules/Collapse/Collapse.tsx";f(({title:e,index:t,isOpen:n,color:o,bg:a,iconProps:r,btnProps:l,children:s},c)=>i.createElement("div",{className:"c-collapse js-collapse",ref:c,__self:void 0,__source:{fileName:Z,lineNumber:18,columnNumber:5}},i.createElement(p,{...l,as:"button",type:"button",id:`c-collapse__button-${t}`,className:d("c-collapse__button js-collapse__button",l?.className),"aria-controls":`c-collapse__content-${t}`,"aria-expanded":n||"false",__self:void 0,__source:{fileName:Z,lineNumber:19,columnNumber:7}},i.createElement(Ue,{as:"h5",size:"xxs",color:o||"black",__self:void 0,__source:{fileName:Z,lineNumber:28,columnNumber:9}},e),i.createElement(y,{...r,name:"chevron",size:16,className:d("c-collapse__icon",r?.className),__self:void 0,__source:{fileName:Z,lineNumber:31,columnNumber:9}})),i.createElement(T,{direction:"column",p:"m",id:`c-collapse__content-${t}`,"aria-hidden":n?!n:"true","aria-labelledby":`c-collapse__button-${t}`,bg:a||void 0,className:"c-collapse__list",role:"tabpanel",__self:void 0,__source:{fileName:Z,lineNumber:38,columnNumber:7}},s)));var $="/home/travis/build/20minutes/hela/src/components/molecules/Horoscope/HoroscopeTopicCard/HoroscopeTopicCard.tsx";f(({icon:e,title:t,content:n,...o},a)=>i.createElement(p,{...o,ref:a,className:d("c-horoscope-topic-card",o?.className),__self:void 0,__source:{fileName:$,lineNumber:17,columnNumber:5}},i.createElement(T,{alignItems:"center",mb:"s",__self:void 0,__source:{fileName:$,lineNumber:18,columnNumber:7}},i.createElement(y,{className:"c-horoscope-topic-card__icon",name:e,size:21,__self:void 0,__source:{fileName:$,lineNumber:19,columnNumber:9}}),i.createElement(Ue,{as:"h3",size:"xs",__self:void 0,__source:{fileName:$,lineNumber:20,columnNumber:9}},t)),i.createElement(h,{size:"m",__self:void 0,__source:{fileName:$,lineNumber:24,columnNumber:7}},n)));var U={};Object.defineProperty(U,"__esModule",{value:!0}),U.StickyShareButtons=ut=U.InlineShareButtons=U.InlineReactionButtons=U.InlineFollowButtons=void 0;var A=Zn(i);function Zn(e){return e&&e.__esModule?e:{default:e}}function _e(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_e=function(t){return typeof t}:_e=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_e(e)}function de(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function me(e,t,n){return t&&ct(e.prototype,t),n&&ct(e,n),e}function ve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}function ke(e,t){return ke=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ke(e,t)}function Te(e){var t=to();return function(){var n=pe(e),o;if(t){var a=pe(this).constructor;o=Reflect.construct(n,arguments,a)}else o=n.apply(this,arguments);return $n(this,o)}}function $n(e,t){return t&&(_e(t)==="object"||typeof t=="function")?t:eo(e)}function eo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function to(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function pe(e){return pe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},pe(e)}var ge=function(e,t){var n=e.props.config||{enabled:!0};n=JSON.parse(JSON.stringify(n));var o=window.onShareThisLoaded,a=function c(){if(!c.complete){if(!n.id){var u="sharethis-"+Date.now();n.id=u}e.buttons.current&&(e.buttons.current.id=n.id,window.__sharethis__.load(t,n)),o&&o(),c.complete=!0}};if(window.onShareThisLoaded=a,document.getElementById("sharethis-js"))window.__sharethis__&&window.onShareThisLoaded();else{var r=document.createElement("script");r.setAttribute("id","sharethis-js");var l={property:n.property||"",product:t,source:"reactjs"},s=Object.keys(l).map(function(c){return c+"="+l[c]}).join("&");r.src="https://platform-api.sharethis.com/js/sharethis.js?"+s,r.async=!0,document.body.appendChild(r)}},no=function(e){ve(n,e);var t=Te(n);function n(o){var a;return de(this,n),a=t.call(this,o),a.buttons=A.default.createRef(),a}return me(n,[{key:"componentDidMount",value:function(){ge(this,"inline-follow-buttons")}},{key:"render",value:function(){return A.default.createElement("div",{ref:this.buttons})}}]),n}(A.default.Component);U.InlineFollowButtons=no;var oo=function(e){ve(n,e);var t=Te(n);function n(o){var a;return de(this,n),a=t.call(this,o),a.buttons=A.default.createRef(),a}return me(n,[{key:"componentDidMount",value:function(){ge(this,"inline-share-buttons")}},{key:"render",value:function(){return A.default.createElement("div",{ref:this.buttons})}}]),n}(A.default.Component),ut=U.InlineShareButtons=oo,io=function(e){ve(n,e);var t=Te(n);function n(o){var a;return de(this,n),a=t.call(this,o),a.buttons=A.default.createRef(),a}return me(n,[{key:"componentDidMount",value:function(){ge(this,"inline-reaction-buttons")}},{key:"render",value:function(){return A.default.createElement("div",{ref:this.buttons})}}]),n}(A.default.Component);U.InlineReactionButtons=io;var ao=function(e){ve(n,e);var t=Te(n);function n(o){var a;return de(this,n),a=t.call(this,o),a.buttons=A.default.createRef(),a}return me(n,[{key:"componentDidMount",value:function(){ge(this,"sticky-share-buttons")}},{key:"render",value:function(){return A.default.createElement("div",{ref:this.buttons})}}]),n}(A.default.Component);U.StickyShareButtons=ao;var _t="/home/travis/build/20minutes/hela/src/components/molecules/ShareBar/ShareBar.tsx";const ro=({networks:e=["sharethis"],...t})=>{const n={width:e.length?`${38*e.length+20}px`:"inherit"};return i.createElement(p,{p:"xxs-2",...t,className:"c-share-bar",style:n,radius:"m",__self:void 0,__source:{fileName:_t,lineNumber:44,columnNumber:5}},i.createElement(ut,{config:{alignment:"center",color:"social",enabled:!0,font_size:18,labels:null,language:"en",networks:e,padding:8,radius:15,show_total:!1,size:30},__self:void 0,__source:{fileName:_t,lineNumber:45,columnNumber:7}}))};var S="/home/travis/build/20minutes/hela/src/components/molecules/SmartBanner/SmartBanner.tsx";const so=({installButton:e,closeButton:t})=>i.createElement(T,{className:"c-smart-banner u-skin-darkBlue",alignItems:"center",gap:"xs",__self:void 0,__source:{fileName:S,lineNumber:11,columnNumber:3}},i.createElement(B,{...t,variant:"ghost",iconProps:{name:"close",size:10},color:"white",p:"0",__self:void 0,__source:{fileName:S,lineNumber:12,columnNumber:5}}),i.createElement(y,{name:"logo",size:35,bg:"white",color:"ultramarine",className:"c-smart-banner__logo",__self:void 0,__source:{fileName:S,lineNumber:22,columnNumber:5}}),i.createElement(p,{__self:void 0,__source:{fileName:S,lineNumber:23,columnNumber:5}},i.createElement(T,{__self:void 0,__source:{fileName:S,lineNumber:24,columnNumber:7}},i.createElement(h,{size:"xxs",weight:"bold",className:"c-smart-banner__title",mb:"xxs-2",__self:void 0,__source:{fileName:S,lineNumber:25,columnNumber:9}},"20\xA0Minutes"),i.createElement(T,{gap:"xxs-2",ml:"xxs-2",alignItems:"start",__self:void 0,__source:{fileName:S,lineNumber:28,columnNumber:9}},[0,1,2,3].map(n=>i.createElement(y,{name:"star",color:"white",size:11,key:n,__self:void 0,__source:{fileName:S,lineNumber:30,columnNumber:13}})))),i.createElement(h,{size:"xxs-2",__self:void 0,__source:{fileName:S,lineNumber:34,columnNumber:7}},"Retrouvez l\u2019actualit\xE9 sur notre application")),i.createElement(B,{...e,color:"ultramarine",bg:"white",className:"c-smart-banner__btn",__self:void 0,__source:{fileName:S,lineNumber:36,columnNumber:5}},"Installer")),lo=()=>{const e=document.querySelectorAll(".c-social-bar-item__sharebar-container"),t=n=>{const o=n.target;!o||o.closest(".c-social-bar-item__sharebar-container")||o.closest(".c-social-bar-item")||(e.forEach(a=>{a.classList.add("c-social-bar-item__sharebar-container--hidden")}),document.removeEventListener("click",t))};document.addEventListener("click",t)},co=({target:e,classToToggle:t})=>{const n=document.querySelector(e);n&&n.classList.toggle(t)};var F="/home/travis/build/20minutes/hela/src/components/molecules/SocialBar/SocialItem/SocialBarItem.tsx";const be=({iconName:e,variant:t,count:n,countColor:o,sharingNetworks:a,anchor:r,dataId:l,id:s,...c})=>{const u=i.createElement(i.Fragment,null,i.createElement(T,{as:"span",className:"c-social-bar-item__icon",alignItems:"center",justifyContent:"center",bg:t==="secondary"?"grey-100":void 0,id:s,__self:void 0,__source:{fileName:F,lineNumber:32,columnNumber:7}},i.createElement(y,{size:t==="secondary"?15:20,name:e,__self:void 0,__source:{fileName:F,lineNumber:40,columnNumber:9}})),(n||n===0)&&i.createElement(h,{as:"span",size:t==="secondary"?"xxs":"xxs-2",color:t==="secondary"?"black":"white",bg:t==="primary"?o||"ultramarine":void 0,className:`c-social-bar-item__count--${t}`,__self:void 0,__source:{fileName:F,lineNumber:44,columnNumber:9}},n===0?"0":n),a&&i.createElement("div",{className:"c-social-bar-item__sharebar-container c-social-bar-item__sharebar-container--hidden",__self:void 0,__source:{fileName:F,lineNumber:55,columnNumber:9}},i.createElement(ro,{networks:a,__self:void 0,__source:{fileName:F,lineNumber:56,columnNumber:11}})));return i.createElement(T,{...c,inline:!0,alignItems:"center",className:d("c-social-bar-item",c?.className),...a&&{onClick:()=>{lo(),co({target:".c-social-bar-item__sharebar-container",classToToggle:"c-social-bar-item__sharebar-container--hidden"})}},"data-id":l,__self:void 0,__source:{fileName:F,lineNumber:63,columnNumber:5}},r?i.createElement("a",{href:`#${r}`,__self:void 0,__source:{fileName:F,lineNumber:79,columnNumber:17}},u):u)};var j="/home/travis/build/20minutes/hela/src/components/molecules/SocialBar/SocialBar.tsx";const fe=e=>{switch(e){case"card":return"secondary";case"horizontal":case"vertical":default:return"primary"}},dt=({commentCount:e,shareCount:t,variant:n="horizontal",rubricColor:o,networks:a,saveContentId:r,onReport:l,commentAnchor:s,...c})=>{const u=i.createElement(i.Fragment,null,i.createElement(be,{iconName:"comment",variant:fe(n),count:e,countColor:o,anchor:s,...n==="horizontal"&&{id:"mbrs-social-comments-container"},__self:void 0,__source:{fileName:j,lineNumber:44,columnNumber:7}}),i.createElement(be,{iconName:"share",variant:fe(n),count:t,countColor:o,sharingNetworks:n==="vertical"?a:void 0,__self:void 0,__source:{fileName:j,lineNumber:54,columnNumber:7}})),m=i.createElement(be,{iconName:"bookmark",variant:fe(n),dataId:r,"data-delayed":!0,"data-distance-visible":0,"data-event-name":"mbrs-social-save-content",__self:void 0,__source:{fileName:j,lineNumber:65,columnNumber:5}});return i.createElement(T,{...c,alignItems:"center",gap:n==="card"?"xxs":"l",direction:n==="vertical"?"column":"row",className:d("c-social-bar",{[`c-social-bar--${n}`]:n!=="card"}),bg:n==="horizontal"?"white":void 0,justifyContent:n==="card"?"between":void 0,__self:void 0,__source:{fileName:j,lineNumber:76,columnNumber:5}},n==="card"?i.createElement(T,{gap:"xxs",__self:void 0,__source:{fileName:j,lineNumber:87,columnNumber:29}},u):u,n==="vertical"&&(!!l||!!r)&&i.createElement(i.Fragment,null,i.createElement(Fn,{__self:void 0,__source:{fileName:j,lineNumber:90,columnNumber:11}}),!!r&&m,!!l&&i.createElement(be,{variant:fe(n),iconName:"report",onClick:l,__self:void 0,__source:{fileName:j,lineNumber:93,columnNumber:13}})),n==="card"&&!!r&&m)},mt=new Intl.RelativeTimeFormat("fr",{numeric:"auto"}),uo=new Intl.DateTimeFormat("fr",{year:"numeric",month:"short",day:"numeric",timeZone:"Europe/Paris"}),_o=e=>{const t=new Date().getTime(),n=new Date(e).getTime(),o=(n-t)/6e4;let a=mt.format(Math.round(o),"minutes");return o<=-60&&(a=mt.format(Math.ceil(o/60),"hours"),o<=-60*24&&(a=uo.format(n))),a};var mo=Object.defineProperty,vo=Object.defineProperties,To=Object.getOwnPropertyDescriptors,vt=Object.getOwnPropertySymbols,po=Object.prototype.hasOwnProperty,go=Object.prototype.propertyIsEnumerable,Tt=(e,t,n)=>t in e?mo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ee=(e,t)=>{for(var n in t||(t={}))po.call(t,n)&&Tt(e,n,t[n]);if(vt)for(var n of vt(t))go.call(t,n)&&Tt(e,n,t[n]);return e},Oe=(e,t)=>vo(e,To(t));const pt=({articles:e,layout:t,seeMoreLink:n})=>{const o=r=>{var l;return r.rightSubheader&&new Date((l=r.rightSubheader)==null?void 0:l.text).getTime()?Oe(ee({},r),{rightSubheader:{text:_o(r.rightSubheader.text)}}):ee({},r)};let a=i.createElement(p,null,e.map(r=>i.createElement(p,{key:r.title,className:"js-card-wrap"},i.createElement(An,{color:"grey-200",my:"s"}),i.createElement(Jn,Oe(ee({},r),{cardHeaderProps:o(r.cardHeaderProps),mx:"s"})))));return t===q.DESKTOP&&(a=i.createElement(kn,{colsNumber:2,gap:"l"},e.map(r=>i.createElement(Qn,Oe(ee({key:r.title},r),{cardHeaderProps:o(r.cardHeaderProps)}))))),i.createElement(i.Fragment,null,a,n&&i.createElement(T,{justifyContent:"center",mt:"m"},i.createElement(B,ee({variant:"secondary",as:"button"},n))))};var bo=(e=>(e.agency="agency",e.auto="auto",e.baton="baton",e.home="home",e))(bo||{}),fo=(e=>(e.partially_true="partially_true",e.rather_false="rather_false",e.rather_true="rather_true",e.really_false="really_false",e.really_true="really_true",e))(fo||{}),ho=(e=>(e.TRUTH="TRUTH",e))(ho||{}),Eo=(e=>(e.TRUTH="TRUTH",e))(Eo||{}),No=(e=>(e.COMMENTS_COUNT="COMMENTS_COUNT",e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.FPE_EDITED_AT="FPE_EDITED_AT",e.LEGACY_ID="LEGACY_ID",e.PUBLICATION_STATE_CHANGED_AT="PUBLICATION_STATE_CHANGED_AT",e.PUBLIC_EDITED_AT="PUBLIC_EDITED_AT",e.PUBLISHED_AT="PUBLISHED_AT",e.RELEVANCE="RELEVANCE",e.SCHEDULED_AT="SCHEDULED_AT",e))(No||{}),Ao=(e=>(e.CONTENT_TEXT="CONTENT_TEXT",e.ENCLOSE_TEXT="ENCLOSE_TEXT",e.SHORT_TITLE="SHORT_TITLE",e.SUMMARY_TEXT="SUMMARY_TEXT",e.TITLE="TITLE",e))(Ao||{}),wo=(e=>(e.TRUTH="TRUTH",e))(wo||{}),Ro=(e=>(e.TRUTH="TRUTH",e))(Ro||{}),Co=(e=>(e.full_width="full_width",e.three_quarters="three_quarters",e.without_illustration="without_illustration",e))(Co||{}),yo=(e=>(e.TRUTH="TRUTH",e))(yo||{}),So=(e=>(e.TRUTH="TRUTH",e))(So||{}),Do=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Do||{}),Lo=(e=>(e.TRUTH="TRUTH",e))(Lo||{}),xo=(e=>(e.TRUTH="TRUTH",e))(xo||{}),Uo=(e=>(e.article="article",e.default="default",e.magazine="magazine",e))(Uo||{}),Ho=(e=>(e.TRUTH="TRUTH",e))(Ho||{}),Io=(e=>(e.TRUTH="TRUTH",e))(Io||{}),ko=(e=>(e.CREATED_AT="CREATED_AT",e))(ko||{}),Oo=(e=>(e.TRUTH="TRUTH",e))(Oo||{}),Po=(e=>(e.TRUTH="TRUTH",e))(Po||{}),Mo=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Mo||{}),Bo=(e=>(e.TRUTH="TRUTH",e))(Bo||{}),Fo=(e=>(e.TRUTH="TRUTH",e))(Fo||{}),jo=(e=>(e.draft="draft",e.published="published",e))(jo||{}),zo=(e=>(e.disable="disable",e.enable="enable",e.pending="pending",e.refused="refused",e))(zo||{}),qo=(e=>(e.TRUTH="TRUTH",e))(qo||{}),Vo=(e=>(e.TRUTH="TRUTH",e))(Vo||{}),Go=(e=>(e.LABEL="LABEL",e))(Go||{}),Yo=(e=>(e.LA_DEPECHE="LA_DEPECHE",e.MINUTES="MINUTES",e.MINUTES_COVERMEDIA="MINUTES_COVERMEDIA",e.MINUTES_ESJPRO="MINUTES_ESJPRO",e.MINUTES_LA_NOTIF="MINUTES_LA_NOTIF",e.MINUTES_LE_REWIND="MINUTES_LE_REWIND",e.MINUTES_MAG_CATALOGUE_NOPUB="MINUTES_MAG_CATALOGUE_NOPUB",e.MINUTES_MARKET_COM_CATALOGUE_NOPUB="MINUTES_MARKET_COM_CATALOGUE_NOPUB",e.MINUTES_OMF="MINUTES_OMF",e.MINUTES_PODCASTS="MINUTES_PODCASTS",e.MINUTES_PRODUCTION="MINUTES_PRODUCTION",e.MINUTES_PRODUCTION_PLAYLIST="MINUTES_PRODUCTION_PLAYLIST",e.MINUTES_SORTIES_CINEMA="MINUTES_SORTIES_CINEMA",e.MINUTES_TIKTOK="MINUTES_TIKTOK",e.OUEST_FRANCE="OUEST_FRANCE",e))(Yo||{}),Ko=(e=>(e.TRUTH="TRUTH",e))(Ko||{}),Xo=(e=>(e.TRUTH="TRUTH",e))(Xo||{}),Wo=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Wo||{}),Jo=(e=>(e.TRUTH="TRUTH",e))(Jo||{}),Qo=(e=>(e.TRUTH="TRUTH",e))(Qo||{}),Zo=(e=>(e.disable="disable",e.enable="enable",e.pending="pending",e.spam="spam",e))(Zo||{}),$o=(e=>(e.TRUTH="TRUTH",e))($o||{}),ei=(e=>(e.TRUTH="TRUTH",e))(ei||{}),ti=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.SLUG="SLUG",e))(ti||{}),ni=(e=>(e.TRUTH="TRUTH",e))(ni||{}),oi=(e=>(e.TRUTH="TRUTH",e))(oi||{}),ii=(e=>(e.auto_tagged="auto_tagged",e.breaking_news="breaking_news",e.content_link="content_link",e.exit_home="exit_home",e.most_shared="most_shared",e.on_home="on_home",e.pushed="pushed",e))(ii||{}),ai=(e=>(e.TRUTH="TRUTH",e))(ai||{}),ri=(e=>(e.TRUTH="TRUTH",e))(ri||{}),si=(e=>(e.CREATED_AT="CREATED_AT",e))(si||{}),li=(e=>(e.NAME="NAME",e))(li||{}),ci=(e=>(e.NAME="NAME",e))(ci||{}),ui=(e=>(e.FORCED="FORCED",e.HIDDEN="HIDDEN",e.POPULARITY="POPULARITY",e))(ui||{}),_i=(e=>(e.TRUTH="TRUTH",e))(_i||{}),di=(e=>(e.TRUTH="TRUTH",e))(di||{}),mi=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(mi||{}),vi=(e=>(e.TRUTH="TRUTH",e))(vi||{}),Ti=(e=>(e.TRUTH="TRUTH",e))(Ti||{}),pi=(e=>(e.Article="Article",e.Live="Live",e.Story="Story",e))(pi||{}),gi=(e=>(e.DENYLISTED="DENYLISTED",e.INDEXED="INDEXED",e.UNINDEXED="UNINDEXED",e))(gi||{}),bi=(e=>(e.ad="ad",e.failover="failover",e.feature="feature",e.monitoring="monitoring",e.tracking="tracking",e))(bi||{}),fi=(e=>(e.URL_DELETED="URL_DELETED",e.URL_UPDATED="URL_UPDATED",e))(fi||{}),hi=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.NAME="NAME",e))(hi||{}),Ei=(e=>(e.TRUTH="TRUTH",e))(Ei||{}),Ni=(e=>(e.TRUTH="TRUTH",e))(Ni||{}),Ai=(e=>(e.TRUTH="TRUTH",e))(Ai||{}),wi=(e=>(e.TRUTH="TRUTH",e))(wi||{}),Ri=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Ri||{}),Ci=(e=>(e.TRUTH="TRUTH",e))(Ci||{}),yi=(e=>(e.TRUTH="TRUTH",e))(yi||{}),Si=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Si||{}),Di=(e=>(e.TRUTH="TRUTH",e))(Di||{}),Li=(e=>(e.TRUTH="TRUTH",e))(Li||{}),xi=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(xi||{}),Ui=(e=>(e.TRUTH="TRUTH",e))(Ui||{}),Hi=(e=>(e.TRUTH="TRUTH",e))(Hi||{}),Ii=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Ii||{}),ki=(e=>(e.TRUTH="TRUTH",e))(ki||{}),Oi=(e=>(e.TRUTH="TRUTH",e))(Oi||{}),Pi=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Pi||{}),Mi=(e=>(e.TRUTH="TRUTH",e))(Mi||{}),Bi=(e=>(e.TRUTH="TRUTH",e))(Bi||{}),Fi=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Fi||{}),ji=(e=>(e.digiteka="digiteka",e))(ji||{}),zi=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(zi||{}),qi=(e=>(e.TRUTH="TRUTH",e))(qi||{}),Vi=(e=>(e.TRUTH="TRUTH",e))(Vi||{}),Gi=(e=>(e.CREATED_AT="CREATED_AT",e.DEPARTMENT_NUMBER="DEPARTMENT_NUMBER",e.SLUG="SLUG",e))(Gi||{}),Yi=(e=>(e.TRUTH="TRUTH",e))(Yi||{}),Ki=(e=>(e.TRUTH="TRUTH",e))(Ki||{}),Xi=(e=>(e.TRUTH="TRUTH",e))(Xi||{}),Wi=(e=>(e.TRUTH="TRUTH",e))(Wi||{}),Ji=(e=>(e.CREATED_AT="CREATED_AT",e.PUBLISHING_DATE="PUBLISHING_DATE",e))(Ji||{}),Qi=(e=>(e.TRUTH="TRUTH",e))(Qi||{}),Zi=(e=>(e.TRUTH="TRUTH",e))(Zi||{}),$i=(e=>(e.TRUTH="TRUTH",e))($i||{}),ea=(e=>(e.TRUTH="TRUTH",e))(ea||{}),ta=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(ta||{}),na=(e=>(e.TRUTH="TRUTH",e))(na||{}),oa=(e=>(e.TRUTH="TRUTH",e))(oa||{}),ia=(e=>(e.agency="agency",e.auto="auto",e.baton="baton",e.home="home",e))(ia||{}),aa=(e=>(e.TRUTH="TRUTH",e))(aa||{}),ra=(e=>(e.TRUTH="TRUTH",e))(ra||{}),sa=(e=>(e.photo="photo",e.podcast="podcast",e.video="video",e))(sa||{}),la=(e=>(e.COMMENTS_COUNT="COMMENTS_COUNT",e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.FPE_EDITED_AT="FPE_EDITED_AT",e.LEGACY_ID="LEGACY_ID",e.PUBLICATION_STATE_CHANGED_AT="PUBLICATION_STATE_CHANGED_AT",e.PUBLIC_EDITED_AT="PUBLIC_EDITED_AT",e.PUBLISHED_AT="PUBLISHED_AT",e.RELEVANCE="RELEVANCE",e.SCHEDULED_AT="SCHEDULED_AT",e))(la||{}),ca=(e=>(e.TRUTH="TRUTH",e))(ca||{}),ua=(e=>(e.TRUTH="TRUTH",e))(ua||{}),_a=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.PUBLISHED_AT="PUBLISHED_AT",e))(_a||{}),da=(e=>(e.TRUTH="TRUTH",e))(da||{}),ma=(e=>(e.TRUTH="TRUTH",e))(ma||{}),va=(e=>(e.draft="draft",e.published="published",e.scheduled="scheduled",e))(va||{}),Ta=(e=>(e.bold="bold",e.community="community",e.default="default",e.faq="faq",e.important="important",e.very_important="very_important",e))(Ta||{}),pa=(e=>(e.CONTENT_TEXT="CONTENT_TEXT",e.ENCLOSE_TEXT="ENCLOSE_TEXT",e.SUMMARY_TEXT="SUMMARY_TEXT",e.TITLE="TITLE",e))(pa||{}),ga=(e=>(e.TRUTH="TRUTH",e))(ga||{}),ba=(e=>(e.TRUTH="TRUTH",e))(ba||{}),fa=(e=>(e.closed="closed",e.open="open",e))(fa||{}),gt=(e=>(e.photo="photo",e.podcast="podcast",e.video="video",e))(gt||{}),ha=(e=>(e.TRUTH="TRUTH",e))(ha||{}),Ea=(e=>(e.TRUTH="TRUTH",e))(Ea||{}),Na=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.SORT="SORT",e))(Na||{}),Aa=(e=>(e.TRUTH="TRUTH",e))(Aa||{}),wa=(e=>(e.TRUTH="TRUTH",e))(wa||{}),Ra=(e=>(e.TRUTH="TRUTH",e))(Ra||{}),Ca=(e=>(e.TRUTH="TRUTH",e))(Ca||{}),ya=(e=>(e.CREATED_AT="CREATED_AT",e.TYPE="TYPE",e))(ya||{}),Sa=(e=>(e.TRUTH="TRUTH",e))(Sa||{}),Da=(e=>(e.TRUTH="TRUTH",e))(Da||{}),La=(e=>(e.TRUTH="TRUTH",e))(La||{}),xa=(e=>(e.TRUTH="TRUTH",e))(xa||{}),Ua=(e=>(e.TRUTH="TRUTH",e))(Ua||{}),Ha=(e=>(e.TRUTH="TRUTH",e))(Ha||{}),Ia=(e=>(e.CREATED_AT="CREATED_AT",e))(Ia||{}),ka=(e=>(e.TRUTH="TRUTH",e))(ka||{}),Oa=(e=>(e.TRUTH="TRUTH",e))(Oa||{}),Pa=(e=>(e.CREATED_AT="CREATED_AT",e.EXPECTATION_LEVEL="EXPECTATION_LEVEL",e.RELEASE_DATE="RELEASE_DATE",e.TITLE_FR="TITLE_FR",e))(Pa||{}),Ma=(e=>(e.SUMMARY_LONG="SUMMARY_LONG",e.SUMMARY_SHORT="SUMMARY_SHORT",e.TITLE="TITLE",e.TITLE_FR="TITLE_FR",e))(Ma||{}),Ba=(e=>(e.TRUTH="TRUTH",e))(Ba||{}),Fa=(e=>(e.TRUTH="TRUTH",e))(Fa||{}),ja=(e=>(e.in_theaters="in_theaters",e.last_releases="last_releases",e.soon="soon",e))(ja||{}),za=(e=>(e.TRUTH="TRUTH",e))(za||{}),qa=(e=>(e.TRUTH="TRUTH",e))(qa||{}),Va=(e=>(e.CREATED_AT="CREATED_AT",e.REVISION_DATETIME="REVISION_DATETIME",e))(Va||{}),Ga=(e=>(e.CONTENT_TEXT="CONTENT_TEXT",e.TITLE="TITLE",e))(Ga||{}),Ya=(e=>(e.TRUTH="TRUTH",e))(Ya||{}),Ka=(e=>(e.TRUTH="TRUTH",e))(Ka||{}),Xa=(e=>(e.canceled="canceled",e.usable="usable",e.withheld="withheld",e))(Xa||{}),Wa=(e=>(e.TRUTH="TRUTH",e))(Wa||{}),Ja=(e=>(e.TRUTH="TRUTH",e))(Ja||{}),Qa=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.SORT="SORT",e.TYPE="TYPE",e))(Qa||{}),Za=(e=>(e.TRUTH="TRUTH",e))(Za||{}),$a=(e=>(e.TRUTH="TRUTH",e))($a||{}),er=(e=>(e.ASC="ASC",e.DESC="DESC",e))(er||{}),tr=(e=>(e.TRUTH="TRUTH",e))(tr||{}),nr=(e=>(e.TRUTH="TRUTH",e))(nr||{}),or=(e=>(e.CREATED_AT="CREATED_AT",e))(or||{}),ir=(e=>(e.TRUTH="TRUTH",e))(ir||{}),ar=(e=>(e.TRUTH="TRUTH",e))(ar||{}),rr=(e=>(e.TRUTH="TRUTH",e))(rr||{}),sr=(e=>(e.TRUTH="TRUTH",e))(sr||{}),lr=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.PUBLICATION_DATE="PUBLICATION_DATE",e))(lr||{}),cr=(e=>(e.TRUTH="TRUTH",e))(cr||{}),ur=(e=>(e.TRUTH="TRUTH",e))(ur||{}),_r=(e=>(e.TRUTH="TRUTH",e))(_r||{}),dr=(e=>(e.TRUTH="TRUTH",e))(dr||{}),mr=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.RELEVANCE="RELEVANCE",e))(mr||{}),vr=(e=>(e.CAPTION="CAPTION",e))(vr||{}),Tr=(e=>(e.TRUTH="TRUTH",e))(Tr||{}),pr=(e=>(e.TRUTH="TRUTH",e))(pr||{}),gr=(e=>(e.AFP="AFP",e.SIPA_AP="SIPA_AP",e.SIPA_PRESS="SIPA_PRESS",e))(gr||{}),br=(e=>(e.ASC_CREATED="ASC_CREATED",e.ASC_DATE="ASC_DATE",e.DATE_CREATED="DATE_CREATED",e.PER_AGENCY="PER_AGENCY",e.RANDOM="RANDOM",e.RECEPTION_DATE="RECEPTION_DATE",e.RELEVANCE="RELEVANCE",e))(br||{}),fr=(e=>(e.TRUTH="TRUTH",e))(fr||{}),hr=(e=>(e.TRUTH="TRUTH",e))(hr||{}),Er=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Er||{}),Nr=(e=>(e.TRUTH="TRUTH",e))(Nr||{}),Ar=(e=>(e.TRUTH="TRUTH",e))(Ar||{}),wr=(e=>(e.TRUTH="TRUTH",e))(wr||{}),Rr=(e=>(e.TRUTH="TRUTH",e))(Rr||{}),Cr=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Cr||{}),yr=(e=>(e.TRUTH="TRUTH",e))(yr||{}),Sr=(e=>(e.TRUTH="TRUTH",e))(Sr||{}),Dr=(e=>(e.podinstall="podinstall",e))(Dr||{}),Lr=(e=>(e.ask_proofreading="ask_proofreading",e.cancel_proofreading="cancel_proofreading",e.need_correction="need_correction",e.proceed_proofreading="proceed_proofreading",e.validate="validate",e))(Lr||{}),xr=(e=>(e.correction_needed="correction_needed",e.reread="reread",e.submitted_proofreading="submitted_proofreading",e.under_proofreading="under_proofreading",e.unread="unread",e))(xr||{}),Ur=(e=>(e.delete="delete",e.froze="froze",e.publish="publish",e.schedule="schedule",e.unpublish="unpublish",e.unschedule="unschedule",e))(Ur||{}),Hr=(e=>(e.deleted="deleted",e.draft="draft",e.frozen="frozen",e.published="published",e.scheduled="scheduled",e.unpublished="unpublished",e))(Hr||{}),Ir=(e=>(e.TRUTH="TRUTH",e))(Ir||{}),kr=(e=>(e.TRUTH="TRUTH",e))(kr||{}),Or=(e=>(e.COMMENTS_COUNT="COMMENTS_COUNT",e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.FACEBOOK_COUNT="FACEBOOK_COUNT",e.FPE_EDITED_AT="FPE_EDITED_AT",e.PUBLICATION_STATE_CHANGED_AT="PUBLICATION_STATE_CHANGED_AT",e.PUBLIC_EDITED_AT="PUBLIC_EDITED_AT",e.PUBLISHED_AT="PUBLISHED_AT",e.RELEVANCE="RELEVANCE",e.SCHEDULED_AT="SCHEDULED_AT",e.TOTAL_CURRENT_VISITS="TOTAL_CURRENT_VISITS",e.TOTAL_VISIT_COUNT="TOTAL_VISIT_COUNT",e))(Or||{}),Pr=(e=>(e.ARTICLE_ID="ARTICLE_ID",e.CONTENT_TEXT="CONTENT_TEXT",e.ENCLOSE_TEXT="ENCLOSE_TEXT",e.LIVE_ID="LIVE_ID",e.SHORT_TITLE="SHORT_TITLE",e.STORY_ID="STORY_ID",e.SUMMARY_TEXT="SUMMARY_TEXT",e.TITLE="TITLE",e))(Pr||{}),Mr=(e=>(e.TRUTH="TRUTH",e))(Mr||{}),Br=(e=>(e.TRUTH="TRUTH",e))(Br||{}),Fr=(e=>(e.CREATED_AT="CREATED_AT",e.DATE="DATE",e.EDITED_AT="EDITED_AT",e.NAME="NAME",e.TYPE="TYPE",e))(Fr||{}),jr=(e=>(e.TRUTH="TRUTH",e))(jr||{}),zr=(e=>(e.TRUTH="TRUTH",e))(zr||{}),qr=(e=>(e.error="error",e.partial="partial",e.pending="pending",e.processing="processing",e.published="published",e.scheduled="scheduled",e))(qr||{}),Vr=(e=>(e.content="content",e.horoscope="horoscope",e.pdf="pdf",e))(Vr||{}),Gr=(e=>(e.android="android",e.app_mobile="app_mobile",e.ios="ios",e.kiosque_ios="kiosque_ios",e.mail="mail",e.messenger="messenger",e.web="web",e))(Gr||{}),Yr=(e=>(e.TRUTH="TRUTH",e))(Yr||{}),Kr=(e=>(e.TRUTH="TRUTH",e))(Kr||{}),Xr=(e=>(e.auto="auto",e.manual="manual",e))(Xr||{}),Wr=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.PUBLISHED_AT="PUBLISHED_AT",e.TITLE="TITLE",e))(Wr||{}),Jr=(e=>(e.error="error",e.partial="partial",e.processing="processing",e))(Jr||{}),Qr=(e=>(e.pending="pending",e.published="published",e.scheduled="scheduled",e))(Qr||{}),Zr=(e=>(e.error="error",e.partial="partial",e.planned="planned",e.processed="processed",e.processing="processing",e))(Zr||{}),$r=(e=>(e.angry="angry",e.heart="heart",e.interesting="interesting",e.laughing="laughing",e.sad="sad",e.shock="shock",e.solidary="solidary",e))($r||{}),es=(e=>(e.TRUTH="TRUTH",e))(es||{}),ts=(e=>(e.TRUTH="TRUTH",e))(ts||{}),ns=(e=>(e.CREATED_AT="CREATED_AT",e))(ns||{}),os=(e=>(e.GONE="GONE",e.PERMANENT="PERMANENT",e.TEMPORARY="TEMPORARY",e))(os||{}),is=(e=>(e.TRUTH="TRUTH",e))(is||{}),as=(e=>(e.TRUTH="TRUTH",e))(as||{}),rs=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.HTTP_STATUS="HTTP_STATUS",e))(rs||{}),ss=(e=>(e.TRUTH="TRUTH",e))(ss||{}),ls=(e=>(e.TRUTH="TRUTH",e))(ls||{}),cs=(e=>(e.NAME="NAME",e))(cs||{}),us=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(us||{}),_s=(e=>(e.mixed="mixed",e.negative="negative",e.neutral="neutral",e.positive="positive",e))(_s||{}),ds=(e=>(e.NAME="NAME",e))(ds||{}),ms=(e=>(e.TRUTH="TRUTH",e))(ms||{}),vs=(e=>(e.TRUTH="TRUTH",e))(vs||{}),Ts=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.SORT="SORT",e))(Ts||{}),ps=(e=>(e.TRUTH="TRUTH",e))(ps||{}),gs=(e=>(e.TRUTH="TRUTH",e))(gs||{}),bs=(e=>(e.custom="custom",e.full_name="full_name",e.initials="initials",e.initials_with_afp="initials_with_afp",e.interview_name="interview_name",e.mn_with_afp="mn_with_afp",e.mn_with_agencies="mn_with_agencies",e))(bs||{}),fs=(e=>(e.breaking_news="breaking_news",e.community="community",e.default="default",e.exclusive="exclusive",e.info_series="info_series",e.magazine="magazine",e))(fs||{}),hs=(e=>(e.COMPREHEND="COMPREHEND",e.DIGITEKA="DIGITEKA",e.DYNAMO="DYNAMO",e.ELASTIC="ELASTIC",e.OPENSEARCH="OPENSEARCH",e.PIXPALACE="PIXPALACE",e.STATIC="STATIC",e))(hs||{}),Es=(e=>(e.agency="agency",e.auto="auto",e.baton="baton",e.home="home",e))(Es||{}),Ns=(e=>(e.TRUTH="TRUTH",e))(Ns||{}),As=(e=>(e.TRUTH="TRUTH",e))(As||{}),ws=(e=>(e.COMMENTS_COUNT="COMMENTS_COUNT",e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.FPE_EDITED_AT="FPE_EDITED_AT",e.PUBLICATION_STATE_CHANGED_AT="PUBLICATION_STATE_CHANGED_AT",e.PUBLIC_EDITED_AT="PUBLIC_EDITED_AT",e.PUBLISHED_AT="PUBLISHED_AT",e.RELEVANCE="RELEVANCE",e.SCHEDULED_AT="SCHEDULED_AT",e))(ws||{}),Rs=(e=>(e.TRUTH="TRUTH",e))(Rs||{}),Cs=(e=>(e.TRUTH="TRUTH",e))(Cs||{}),ys=(e=>(e.PAGE_ORDER="PAGE_ORDER",e))(ys||{}),Ss=(e=>(e.TRUTH="TRUTH",e))(Ss||{}),Ds=(e=>(e.TRUTH="TRUTH",e))(Ds||{}),Ls=(e=>(e.CONTENT_TEXT="CONTENT_TEXT",e.SHORT_TITLE="SHORT_TITLE",e.TITLE="TITLE",e))(Ls||{}),xs=(e=>(e.TRUTH="TRUTH",e))(xs||{}),Us=(e=>(e.TRUTH="TRUTH",e))(Us||{}),Hs=(e=>(e.NAME="NAME",e))(Hs||{}),Is=(e=>(e.TRUTH="TRUTH",e))(Is||{}),ks=(e=>(e.TRUTH="TRUTH",e))(ks||{}),Os=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.KEEP_ORDER="KEEP_ORDER",e.LABEL="LABEL",e.LEGACY_ID="LEGACY_ID",e.PARENT_ID="PARENT_ID",e.POPULARITY="POPULARITY",e.RELEVANCE="RELEVANCE",e.SLUG="SLUG",e))(Os||{}),Ps=(e=>(e.LABEL="LABEL",e))(Ps||{}),Ms=(e=>(e.TRUTH="TRUTH",e))(Ms||{}),Bs=(e=>(e.TRUTH="TRUTH",e))(Bs||{}),Fs=(e=>(e.LABEL="LABEL",e.SECTION="SECTION",e.THEME="THEME",e))(Fs||{}),js=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.EMAIL="EMAIL",e.FIRSTNAME="FIRSTNAME",e.INITIALS="INITIALS",e.LASTNAME="LASTNAME",e.USERNAME="USERNAME",e))(js||{}),zs=(e=>(e.FIRSTNAME="FIRSTNAME",e.LASTNAME="LASTNAME",e.USERNAME="USERNAME",e))(zs||{}),qs=(e=>(e.TRUTH="TRUTH",e))(qs||{}),Vs=(e=>(e.TRUTH="TRUTH",e))(Vs||{}),Gs=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Gs||{}),Ys=(e=>(e.TRUTH="TRUTH",e))(Ys||{}),Ks=(e=>(e.TRUTH="TRUTH",e))(Ks||{}),Xs=(e=>(e.TRUTH="TRUTH",e))(Xs||{}),Ws=(e=>(e.TRUTH="TRUTH",e))(Ws||{}),Js=(e=>(e.BOOK_REVIEW_SUBSCRIBED_AT="BOOK_REVIEW_SUBSCRIBED_AT",e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.EMAIL="EMAIL",e.FIRSTNAME="FIRSTNAME",e.LASTNAME="LASTNAME",e.USERNAME="USERNAME",e))(Js||{}),Qs=(e=>(e.TRUTH="TRUTH",e))(Qs||{}),Zs=(e=>(e.TRUTH="TRUTH",e))(Zs||{}),$s=(e=>(e.TRUTH="TRUTH",e))($s||{}),el=(e=>(e.TRUTH="TRUTH",e))(el||{}),tl=(e=>(e.CREATED_AT="CREATED_AT",e))(tl||{}),nl=(e=>(e.LABEL="LABEL",e))(nl||{}),ol=(e=>(e.LAST="LAST",e.SEARCH="SEARCH",e.TOP="TOP",e))(ol||{}),il=(e=>(e.digiteka="digiteka",e))(il||{}),al=(e=>(e.delivering="delivering",e.rejected="rejected",e.validated="validated",e.waiting="waiting",e))(al||{}),rl=(e=>(e.bd="bd",e.classic="classic",e.detective_novel="detective_novel",e.erotic="erotic",e.fantastic="fantastic",e.fantasy="fantasy",e.historical_fiction="historical_fiction",e.horror="horror",e.literature="literature",e.road_book="road_book",e.romance="romance",e.sf="sf",e.thriller="thriller",e.young_adult="young_adult",e.youth="youth",e))(rl||{}),sl=(e=>(e.ain="ain",e.aisne="aisne",e.allier="allier",e.alpes_de_haute_provence="alpes_de_haute_provence",e.alpes_maritimes="alpes_maritimes",e.ardeche="ardeche",e.ardennes="ardennes",e.ariege="ariege",e.aube="aube",e.aude="aude",e.aveyron="aveyron",e.bas_rhin="bas_rhin",e.bouches_du_rhone="bouches_du_rhone",e.calvados="calvados",e.cantal="cantal",e.charente="charente",e.charente_maritime="charente_maritime",e.cher="cher",e.correze="correze",e.corse_du_sud="corse_du_sud",e.cote_d_or="cote_d_or",e.cotes_d_armor="cotes_d_armor",e.creuse="creuse",e.deux_sevres="deux_sevres",e.dordogne="dordogne",e.doubs="doubs",e.drome="drome",e.essonne="essonne",e.eure="eure",e.eure_et_loir="eure_et_loir",e.finistere="finistere",e.gard="gard",e.gers="gers",e.gironde="gironde",e.guadeloupe="guadeloupe",e.guyane="guyane",e.haut_rhin="haut_rhin",e.haute_corse="haute_corse",e.haute_garonne="haute_garonne",e.haute_loire="haute_loire",e.haute_marne="haute_marne",e.haute_saone="haute_saone",e.haute_savoie="haute_savoie",e.haute_vienne="haute_vienne",e.hautes_alpes="hautes_alpes",e.hautes_pyrenees="hautes_pyrenees",e.hauts_de_seine="hauts_de_seine",e.herault="herault",e.ille_et_vilaine="ille_et_vilaine",e.indre="indre",e.indre_et_loire="indre_et_loire",e.isere="isere",e.jura="jura",e.la_reunion="la_reunion",e.landes="landes",e.loir_et_cher="loir_et_cher",e.loire="loire",e.loire_atlantique="loire_atlantique",e.loiret="loiret",e.lot="lot",e.lot_et_garonne="lot_et_garonne",e.lozere="lozere",e.maine_et_loire="maine_et_loire",e.manche="manche",e.marne="marne",e.martinique="martinique",e.mayenne="mayenne",e.mayotte="mayotte",e.meurthe_et_moselle="meurthe_et_moselle",e.meuse="meuse",e.morbihan="morbihan",e.moselle="moselle",e.nievre="nievre",e.nord="nord",e.oise="oise",e.orne="orne",e.paris="paris",e.pas_de_calais="pas_de_calais",e.puy_de_dome="puy_de_dome",e.pyrenees_atlantiques="pyrenees_atlantiques",e.pyrenees_orientales="pyrenees_orientales",e.rhone="rhone",e.saone_et_loire="saone_et_loire",e.sarthe="sarthe",e.savoie="savoie",e.seine_et_marne="seine_et_marne",e.seine_maritime="seine_maritime",e.seine_st_denis="seine_st_denis",e.somme="somme",e.tarn="tarn",e.tarn_et_garonne="tarn_et_garonne",e.territoire_de_belfort="territoire_de_belfort",e.val_d_oise="val_d_oise",e.val_de_marne="val_de_marne",e.var="var",e.vaucluse="vaucluse",e.vendee="vendee",e.vienne="vienne",e.vosges="vosges",e.yonne="yonne",e.yvelines="yvelines",e))(sl||{}),ll=(e=>(e.authorized="authorized",e.unauthorized="unauthorized",e))(ll||{}),cl=(e=>(e.ain="ain",e.aisne="aisne",e.allier="allier",e.alpes_de_haute_provence="alpes_de_haute_provence",e.alpes_maritimes="alpes_maritimes",e.ardeche="ardeche",e.ardennes="ardennes",e.ariege="ariege",e.aube="aube",e.aude="aude",e.aveyron="aveyron",e.bas_rhin="bas_rhin",e.bouches_du_rhone="bouches_du_rhone",e.calvados="calvados",e.cantal="cantal",e.charente="charente",e.charente_maritime="charente_maritime",e.cher="cher",e.correze="correze",e.corse_du_sud="corse_du_sud",e.cote_d_or="cote_d_or",e.cotes_d_armor="cotes_d_armor",e.creuse="creuse",e.deux_sevres="deux_sevres",e.dordogne="dordogne",e.doubs="doubs",e.drome="drome",e.essonne="essonne",e.eure="eure",e.eure_et_loir="eure_et_loir",e.finistere="finistere",e.gard="gard",e.gers="gers",e.gironde="gironde",e.guadeloupe="guadeloupe",e.guyane="guyane",e.haut_rhin="haut_rhin",e.haute_corse="haute_corse",e.haute_garonne="haute_garonne",e.haute_loire="haute_loire",e.haute_marne="haute_marne",e.haute_saone="haute_saone",e.haute_savoie="haute_savoie",e.haute_vienne="haute_vienne",e.hautes_alpes="hautes_alpes",e.hautes_pyrenees="hautes_pyrenees",e.hauts_de_seine="hauts_de_seine",e.herault="herault",e.ille_et_vilaine="ille_et_vilaine",e.indre="indre",e.indre_et_loire="indre_et_loire",e.isere="isere",e.jura="jura",e.la_reunion="la_reunion",e.landes="landes",e.loir_et_cher="loir_et_cher",e.loire="loire",e.loire_atlantique="loire_atlantique",e.loiret="loiret",e.lot="lot",e.lot_et_garonne="lot_et_garonne",e.lozere="lozere",e.maine_et_loire="maine_et_loire",e.manche="manche",e.marne="marne",e.martinique="martinique",e.mayenne="mayenne",e.mayotte="mayotte",e.meurthe_et_moselle="meurthe_et_moselle",e.meuse="meuse",e.morbihan="morbihan",e.moselle="moselle",e.nievre="nievre",e.nord="nord",e.oise="oise",e.orne="orne",e.paris="paris",e.pas_de_calais="pas_de_calais",e.puy_de_dome="puy_de_dome",e.pyrenees_atlantiques="pyrenees_atlantiques",e.pyrenees_orientales="pyrenees_orientales",e.rhone="rhone",e.saone_et_loire="saone_et_loire",e.sarthe="sarthe",e.savoie="savoie",e.seine_et_marne="seine_et_marne",e.seine_maritime="seine_maritime",e.seine_st_denis="seine_st_denis",e.somme="somme",e.tarn="tarn",e.tarn_et_garonne="tarn_et_garonne",e.territoire_de_belfort="territoire_de_belfort",e.val_d_oise="val_d_oise",e.val_de_marne="val_de_marne",e.var="var",e.vaucluse="vaucluse",e.vendee="vendee",e.vienne="vienne",e.vosges="vosges",e.yonne="yonne",e.yvelines="yvelines",e))(cl||{}),ul=(e=>(e.quotidien="quotidien",e.special="special",e.supplement="supplement",e))(ul||{}),_l=(e=>(e.female="female",e.male="male",e.other="other",e))(_l||{}),dl=(e=>(e.journalist="journalist",e.spellingchecker="spellingchecker",e))(dl||{}),ml=(e=>(e.chinese="chinese",e.zodiac="zodiac",e))(ml||{}),vl=(e=>(e.dl="dl",e.dl_ins="dl_ins",e.dl_nom="dl_nom",e.dl_suc="dl_suc",e.rm="rm",e.vi="vi",e.vj="vj",e.vj_al="vj_al",e.vj_as="vj_as",e.vs_ac="vs_ac",e.vs_add="vs_add",e.vs_adm="vs_adm",e.vs_ag="vs_ag",e.vs_bil="vs_bil",e.vs_cac="vs_cac",e.vs_cap="vs_cap",e.vs_ces="vs_ces",e.vs_cli="vs_cli",e.vs_co="vs_co",e.vs_dc="vs_dc",e.vs_den="vs_den",e.vs_dg="vs_dg",e.vs_dis="vs_dis",e.vs_dur="vs_dur",e.vs_flg="vs_flg",e.vs_fu="vs_fu",e.vs_ger="vs_ger",e.vs_lg="vs_lg",e.vs_nd="vs_nd",e.vs_obj="vs_obj",e.vs_rec="vs_rec",e.vs_trf="vs_trf",e.vs_tss="vs_tss",e.vs_tup="vs_tup",e))(vl||{}),Tl=(e=>(e.bordeaux="bordeaux",e.lille="lille",e.lyon="lyon",e.marseille="marseille",e.montpellier="montpellier",e.nantes="nantes",e.nice="nice",e.paris="paris",e.rennes="rennes",e.strasbourg="strasbourg",e.toulouse="toulouse",e))(Tl||{}),pl=(e=>(e.cast="cast",e.crew="crew",e))(pl||{}),gl=(e=>(e.photo="photo",e.poster="poster",e.video="video",e))(gl||{}),bl=(e=>(e.nl_13h="nl_13h",e.nl_18h="nl_18h",e.nl_alert="nl_alert",e.nl_bonplan="nl_bonplan",e.nl_buzz="nl_buzz",e.nl_economie="nl_economie",e.nl_elections="nl_elections",e.nl_fakeoff="nl_fakeoff",e.nl_games="nl_games",e.nl_hightech="nl_hightech",e.nl_horoscope="nl_horoscope",e.nl_inclusive="nl_inclusive",e.nl_locales="nl_locales",e.nl_maison="nl_maison",e.nl_matinale="nl_matinale",e.nl_pdf="nl_pdf",e.nl_pdf_locales="nl_pdf_locales",e.nl_pop="nl_pop",e.nl_serieux="nl_serieux",e.nl_solutions="nl_solutions",e.nl_sport="nl_sport",e))(bl||{}),fl=(e=>(e.community="community",e.default="default",e.economy="economy",e.entertainment="entertainment",e.highlight="highlight",e.hightech="hightech",e.media="media",e.partner="partner",e.planet="planet",e.sport="sport",e.weird="weird",e))(fl||{}),hl=(e=>(e.evenementielle="evenementielle",e.generaliste="generaliste",e.thematique="thematique",e))(hl||{}),El=(e=>(e.vingtminutes_app_android_commentaires_apple="vingtminutes_app_android_commentaires_apple",e.vingtminutes_app_android_commentaires_facebook="vingtminutes_app_android_commentaires_facebook",e.vingtminutes_app_android_commentaires_google="vingtminutes_app_android_commentaires_google",e.vingtminutes_app_android_commentaires_organique="vingtminutes_app_android_commentaires_organique",e.vingtminutes_app_android_commentaires_passmedia="vingtminutes_app_android_commentaires_passmedia",e.vingtminutes_app_android_membre_apple="vingtminutes_app_android_membre_apple",e.vingtminutes_app_android_membre_facebook="vingtminutes_app_android_membre_facebook",e.vingtminutes_app_android_membre_google="vingtminutes_app_android_membre_google",e.vingtminutes_app_android_membre_organique="vingtminutes_app_android_membre_organique",e.vingtminutes_app_android_membre_passmedia="vingtminutes_app_android_membre_passmedia",e.vingtminutes_app_ios_commentaires_apple="vingtminutes_app_ios_commentaires_apple",e.vingtminutes_app_ios_commentaires_facebook="vingtminutes_app_ios_commentaires_facebook",e.vingtminutes_app_ios_commentaires_google="vingtminutes_app_ios_commentaires_google",e.vingtminutes_app_ios_commentaires_organique="vingtminutes_app_ios_commentaires_organique",e.vingtminutes_app_ios_commentaires_passmedia="vingtminutes_app_ios_commentaires_passmedia",e.vingtminutes_app_ios_membre_apple="vingtminutes_app_ios_membre_apple",e.vingtminutes_app_ios_membre_facebook="vingtminutes_app_ios_membre_facebook",e.vingtminutes_app_ios_membre_google="vingtminutes_app_ios_membre_google",e.vingtminutes_app_ios_membre_organique="vingtminutes_app_ios_membre_organique",e.vingtminutes_app_ios_membre_passmedia="vingtminutes_app_ios_membre_passmedia",e.vingtminutes_web_abonner_journaliste_apple="vingtminutes_web_abonner_journaliste_apple",e.vingtminutes_web_abonner_journaliste_facebook="vingtminutes_web_abonner_journaliste_facebook",e.vingtminutes_web_abonner_journaliste_google="vingtminutes_web_abonner_journaliste_google",e.vingtminutes_web_abonner_journaliste_organique="vingtminutes_web_abonner_journaliste_organique",e.vingtminutes_web_abonner_journaliste_passmedia="vingtminutes_web_abonner_journaliste_passmedia",e.vingtminutes_web_abonner_tag_apple="vingtminutes_web_abonner_tag_apple",e.vingtminutes_web_abonner_tag_facebook="vingtminutes_web_abonner_tag_facebook",e.vingtminutes_web_abonner_tag_google="vingtminutes_web_abonner_tag_google",e.vingtminutes_web_abonner_tag_organique="vingtminutes_web_abonner_tag_organique",e.vingtminutes_web_abonner_tag_passmedia="vingtminutes_web_abonner_tag_passmedia",e.vingtminutes_web_adl_performance="vingtminutes_web_adl_performance",e.vingtminutes_web_base_and_co="vingtminutes_web_base_and_co",e.vingtminutes_web_captain_traffic="vingtminutes_web_captain_traffic",e.vingtminutes_web_commentaires_apple="vingtminutes_web_commentaires_apple",e.vingtminutes_web_commentaires_facebook="vingtminutes_web_commentaires_facebook",e.vingtminutes_web_commentaires_google="vingtminutes_web_commentaires_google",e.vingtminutes_web_commentaires_organique="vingtminutes_web_commentaires_organique",e.vingtminutes_web_commentaires_passmedia="vingtminutes_web_commentaires_passmedia",e.vingtminutes_web_communaute_livres_apple="vingtminutes_web_communaute_livres_apple",e.vingtminutes_web_communaute_livres_facebook="vingtminutes_web_communaute_livres_facebook",e.vingtminutes_web_communaute_livres_google="vingtminutes_web_communaute_livres_google",e.vingtminutes_web_communaute_livres_organique="vingtminutes_web_communaute_livres_organique",e.vingtminutes_web_communaute_livres_passmedia="vingtminutes_web_communaute_livres_passmedia",e.vingtminutes_web_cookies_banner_apple="vingtminutes_web_cookies_banner_apple",e.vingtminutes_web_cookies_banner_facebook="vingtminutes_web_cookies_banner_facebook",e.vingtminutes_web_cookies_banner_google="vingtminutes_web_cookies_banner_google",e.vingtminutes_web_cookies_banner_organique="vingtminutes_web_cookies_banner_organique",e.vingtminutes_web_cookies_banner_passmedia="vingtminutes_web_cookies_banner_passmedia",e.vingtminutes_web_correcteur_apple="vingtminutes_web_correcteur_apple",e.vingtminutes_web_correcteur_facebook="vingtminutes_web_correcteur_facebook",e.vingtminutes_web_correcteur_google="vingtminutes_web_correcteur_google",e.vingtminutes_web_correcteur_organique="vingtminutes_web_correcteur_organique",e.vingtminutes_web_correcteur_passmedia="vingtminutes_web_correcteur_passmedia",e.vingtminutes_web_dark_mode_apple="vingtminutes_web_dark_mode_apple",e.vingtminutes_web_dark_mode_facebook="vingtminutes_web_dark_mode_facebook",e.vingtminutes_web_dark_mode_google="vingtminutes_web_dark_mode_google",e.vingtminutes_web_dark_mode_organique="vingtminutes_web_dark_mode_organique",e.vingtminutes_web_dark_mode_passmedia="vingtminutes_web_dark_mode_passmedia",e.vingtminutes_web_datawork="vingtminutes_web_datawork",e.vingtminutes_web_debat_apple="vingtminutes_web_debat_apple",e.vingtminutes_web_debat_facebook="vingtminutes_web_debat_facebook",e.vingtminutes_web_debat_google="vingtminutes_web_debat_google",e.vingtminutes_web_debat_organique="vingtminutes_web_debat_organique",e.vingtminutes_web_debat_passmedia="vingtminutes_web_debat_passmedia",e.vingtminutes_web_embed_newsletters="vingtminutes_web_embed_newsletters",e.vingtminutes_web_google_one_tap="vingtminutes_web_google_one_tap",e.vingtminutes_web_horoscope_apple="vingtminutes_web_horoscope_apple",e.vingtminutes_web_horoscope_facebook="vingtminutes_web_horoscope_facebook",e.vingtminutes_web_horoscope_google="vingtminutes_web_horoscope_google",e.vingtminutes_web_horoscope_organique="vingtminutes_web_horoscope_organique",e.vingtminutes_web_horoscope_passmedia="vingtminutes_web_horoscope_passmedia",e.vingtminutes_web_ividence="vingtminutes_web_ividence",e.vingtminutes_web_jeux_concours_apple="vingtminutes_web_jeux_concours_apple",e.vingtminutes_web_jeux_concours_facebook="vingtminutes_web_jeux_concours_facebook",e.vingtminutes_web_jeux_concours_google="vingtminutes_web_jeux_concours_google",e.vingtminutes_web_jeux_concours_organique="vingtminutes_web_jeux_concours_organique",e.vingtminutes_web_jeux_concours_passmedia="vingtminutes_web_jeux_concours_passmedia",e.vingtminutes_web_loginwall_apple="vingtminutes_web_loginwall_apple",e.vingtminutes_web_loginwall_facebook="vingtminutes_web_loginwall_facebook",e.vingtminutes_web_loginwall_google="vingtminutes_web_loginwall_google",e.vingtminutes_web_loginwall_organique="vingtminutes_web_loginwall_organique",e.vingtminutes_web_loginwall_passmedia="vingtminutes_web_loginwall_passmedia",e.vingtminutes_web_membre_apple="vingtminutes_web_membre_apple",e.vingtminutes_web_membre_facebook="vingtminutes_web_membre_facebook",e.vingtminutes_web_membre_google="vingtminutes_web_membre_google",e.vingtminutes_web_membre_organique="vingtminutes_web_membre_organique",e.vingtminutes_web_membre_passmedia="vingtminutes_web_membre_passmedia",e.vingtminutes_web_old_newsletters="vingtminutes_web_old_newsletters",e.vingtminutes_web_openask="vingtminutes_web_openask",e.vingtminutes_web_page_newsletters_apple="vingtminutes_web_page_newsletters_apple",e.vingtminutes_web_page_newsletters_facebook="vingtminutes_web_page_newsletters_facebook",e.vingtminutes_web_page_newsletters_google="vingtminutes_web_page_newsletters_google",e.vingtminutes_web_page_newsletters_organique="vingtminutes_web_page_newsletters_organique",e.vingtminutes_web_page_newsletters_passmedia="vingtminutes_web_page_newsletters_passmedia",e.vingtminutes_web_sauvegarder_article_apple="vingtminutes_web_sauvegarder_article_apple",e.vingtminutes_web_sauvegarder_article_facebook="vingtminutes_web_sauvegarder_article_facebook",e.vingtminutes_web_sauvegarder_article_google="vingtminutes_web_sauvegarder_article_google",e.vingtminutes_web_sauvegarder_article_organique="vingtminutes_web_sauvegarder_article_organique",e.vingtminutes_web_sauvegarder_article_passmedia="vingtminutes_web_sauvegarder_article_passmedia",e.vingtminutes_web_scorecast_apple="vingtminutes_web_scorecast_apple",e.vingtminutes_web_scorecast_facebook="vingtminutes_web_scorecast_facebook",e.vingtminutes_web_scorecast_google="vingtminutes_web_scorecast_google",e.vingtminutes_web_scorecast_organique="vingtminutes_web_scorecast_organique",e.vingtminutes_web_scorecast_passmedia="vingtminutes_web_scorecast_passmedia",e.vingtminutes_web_video_auto_play_apple="vingtminutes_web_video_auto_play_apple",e.vingtminutes_web_video_auto_play_facebook="vingtminutes_web_video_auto_play_facebook",e.vingtminutes_web_video_auto_play_google="vingtminutes_web_video_auto_play_google",e.vingtminutes_web_video_auto_play_organique="vingtminutes_web_video_auto_play_organique",e.vingtminutes_web_video_auto_play_passmedia="vingtminutes_web_video_auto_play_passmedia",e.vingtminutes_web_widget_newsletters="vingtminutes_web_widget_newsletters",e))(El||{}),Nl=(e=>(e.custom="custom",e.full_name="full_name",e.initials="initials",e.initials_with_afp="initials_with_afp",e.interview_name="interview_name",e.mn_with_afp="mn_with_afp",e.mn_with_agencies="mn_with_agencies",e))(Nl||{}),Al=(e=>(e.magazine="magazine",e.production="production",e.publicommunique="publicommunique",e))(Al||{}),wl=(e=>(e.actu_culture="actu_culture",e.actu_generale="actu_generale",e.audio="audio",e.bordeaux="bordeaux",e.chaud="chaud",e.culture="culture",e.diff_info="diff_info",e.edition="edition",e.lille="lille",e.lyon="lyon",e.magazine="magazine",e.marseille="marseille",e.montpellier="montpellier",e.nantes="nantes",e.nice="nice",e.paris="paris",e.photo="photo",e.redchefs="redchefs",e.rennes="rennes",e.sports="sports",e.strasbourg="strasbourg",e.toulouse="toulouse",e.video="video",e))(wl||{}),Rl=(e=>(e.custom="custom",e.full_name="full_name",e.initials="initials",e.initials_with_afp="initials_with_afp",e.interview_name="interview_name",e.mn_with_afp="mn_with_afp",e.mn_with_agencies="mn_with_agencies",e))(Rl||{}),Cl=(e=>(e.diapo="diapo",e.newsletter="newsletter",e.story="story",e))(Cl||{}),yl=(e=>(e.app="app",e.desktop="desktop",e.mobile="mobile",e))(yl||{}),Sl=(e=>(e.archived="archived",e.banned="banned",e.confirmed="confirmed",e.unconfirmed="unconfirmed",e.unknown="unknown",e))(Sl||{});const Dl=e=>{const t=n=>`${n}`.padStart(2,"0");return`${t(Math.floor(e/60))}:${t(e-Math.floor(e/60)*60)}`},Ll=e=>typeof window>"u"&&typeof Buffer<"u"?Buffer.from(e,"base64").toString("utf-8"):decodeURIComponent(escape(window?.atob(e))),xl=e=>{const t=Ll(e).split(":");return t.length===2?t[1]:""},Ul=({medias:e,imgEndpoint:t})=>{let n="";return e?.forEach(o=>{var a,r,l,s,c,u;if(o?.illustration===!0&&o?.type==="photo"&&(r=(a=o?.photo)==null?void 0:a.node)!=null&&r.id){const m=(s=(l=o.photo)==null?void 0:l.node)!=null&&s.slug?`%format_${(u=(c=o.photo)==null?void 0:c.node)==null?void 0:u.slug}`:"%format";n=`${t}/${xl(o.photo.node.id)}/${m}`}}),n},Hl=({medias:e,iconSize:t})=>{let n;return e?.forEach(o=>{var a,r;if(o?.type==="podcast"&&(n={caption:{iconName:"podcast",size:t}}),o?.type==="video"){const l=(a=o?.video)!=null&&a.duration?Number((r=o?.video)==null?void 0:r.duration):null;n={caption:{iconName:"video",size:t,text:l?Dl(l):""}}}}),n},Il=(e,t=!0)=>e&&bn.includes(e)?`${e}`:t?"default":void 0;var kl=Object.defineProperty,bt=Object.getOwnPropertySymbols,Ol=Object.prototype.hasOwnProperty,Pl=Object.prototype.propertyIsEnumerable,ft=(e,t,n)=>t in e?kl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ml=(e,t)=>{for(var n in t||(t={}))Ol.call(t,n)&&ft(e,n,t[n]);if(bt)for(var n of bt(t))Pl.call(t,n)&&ft(e,n,t[n]);return e};const Bl=({layout:e,pageEndpoint:t,imgEndpoint:n,data:o})=>{var a,r,l,s,c,u;return(u=((c=(s=(l=(r=(a=o?.brand)==null?void 0:a.node)==null?void 0:r.tag)==null?void 0:l.node)==null?void 0:s.publishableContents)==null?void 0:c.edges)||[])==null?void 0:u.reduce((m,_)=>{var E,b,g,w,D,M,z,L,H,I,te,ne,oe,ie,ae,re,k,Re,N;if(!((E=_?.node)!=null&&E.title)||!((b=_?.node)!=null&&b.label)||!((g=_?.node)!=null&&g.url)||!((w=_?.node)!=null&&w.medias)&&!((M=(D=_?.node)==null?void 0:D.photo)!=null&&M.node))return m;let K=(z=_.node.medias)!=null?z:[];return((L=_?.node)==null?void 0:L.editorial_model)==="Story"&&(I=(H=_?.node)==null?void 0:H.photo)!=null&&I.node&&(K=[{type:gt.photo,illustration:!0,photo:_.node.photo,legend:(te=_.node.photo.node)==null?void 0:te.caption}]),m.push({link:new URL(_.node.url,t).href,title:_.node.short_title||_.node.title,cardImageProps:Ml({cover:Ul({medias:K,imgEndpoint:n})},Hl({medias:K,iconSize:e===q.MOBILE?"small":"medium"})),cardHeaderProps:{headline:{text:_.node.label,color:Il((ie=(oe=(ne=_?.node)==null?void 0:ne.rubric)==null?void 0:oe.node)==null?void 0:ie.theme)},rightSubheader:{text:_.node.published_at||""}},cardTitleProps:{cartridge:((ae=_?.node)==null?void 0:ae.editorial_model)==="Live"?"live":void 0},socialBarProps:{commentCount:(re=_.node.comments_count)!=null?re:0,shareCount:(k=_.node.facebook_count)!=null?k:0,saveContentId:(N=(Re=_.node)==null?void 0:Re.legacy_id)==null?void 0:N.toString()}}),m},[])};var Fl=Object.defineProperty,jl=Object.defineProperties,zl=Object.getOwnPropertyDescriptors,he=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable,Nt=(e,t,n)=>t in e?Fl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ee=(e,t)=>{for(var n in t||(t={}))ht.call(t,n)&&Nt(e,n,t[n]);if(he)for(var n of he(t))Et.call(t,n)&&Nt(e,n,t[n]);return e},Ne=(e,t)=>jl(e,zl(t)),ql=(e,t)=>{var n={};for(var o in e)ht.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&he)for(var o of he(e))t.indexOf(o)<0&&Et.call(e,o)&&(n[o]=e[o]);return n};const Vl=e=>{var t=e,{isSSR:n=!0}=t,o=ql(t,["isSSR"]);const{layout:a,articles:r,variablesForQuery:l,seeMoreLink:s}=o,[c,u]=i.useState(l),[m,_]=i.useState(r),[E,b]=i.useState(!1),g=()=>{b(!0),u(w=>Ne(Ee({},w),{offset:c.offset+c.limit}))};return i.useEffect(()=>{var w;if(JSON.stringify(l)!==JSON.stringify(c)&&c.hasNextPage){const{apiHost:D}=document.body.dataset,M=new Headers;(w=window.envVariables)!=null&&w.apiAuthKey&&M.append("auth-key",window.envVariables.apiAuthKey);const z=[{url:`${D}/?id=getTagArticles&variables=${encodeURIComponent(JSON.stringify(c))}`,options:{headers:M}}];Ye(...z).then(L=>{const H=Bl({layout:a,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,data:L?.data});H.length>0&&_(I=>[...I,...H]),H.length<c.limit&&u(I=>Ne(Ee({},I),{hasNextPage:!1})),b(!1)}).catch(L=>{console.error("20mn> Error while loading articles:",L)})}},[c]),n?i.createElement(i.Fragment,null,i.createElement(pt,{layout:a,articles:m,seeMoreLink:c.hasNextPage?Ne(Ee({},s),{disabled:E,onClick:g}):void 0}),i.createElement("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({articleListBottomContainer:o})} };`}})):i.createElement(pt,{layout:a,articles:m,seeMoreLink:c.hasNextPage?Ne(Ee({},s),{disabled:E,onClick:g}):void 0})},Gl=e=>document.cookie.indexOf(e)!==-1,Yl=e=>{const t=document.cookie.split(";").filter(n=>n.indexOf(e)!==-1)[0];return t?t.split("=")[1]:"{}"},Kl=e=>{const t=[`${e.name}=`,"expires=Thu, 1 Jan 1970 00:00:01 UTC","path=/"];e.domain&&t.push(`domain=${e.domain}`),document.cookie=t.join("; ")},Pe=function(e){const t=localStorage.getItem(e);return t?JSON.parse(t):void 0},Xl=e=>{let t=e;const n="\xE3\xE0\xE1\xE4\xE2\u1EBD\xE8\xE9\xEB\xEA\xEC\xED\xEF\xEE\xF5\xF2\xF3\xF6\xF4\xF9\xFA\xFC\xFB\xF1\xE7\xB7/_,:;",o="aaaaaeeeeeiiiiooooouuuunc------";for(let a=0;a<n.length;a+=1)t=t.replace(new RegExp(n.charAt(a),"g"),o.charAt(a));return t},Wl=e=>{let t=e.toLowerCase().replace(/[\s-]+/g,"_");return t=Xl(t),t.replace(/[^\w-]+/g,"")},Me=new Date;new Date().setMinutes(Me.getMinutes()-19),new Date().setHours(Me.getHours()-6),new Date().setDate(Me.getDate()-3);var Jl=Object.defineProperty,Ql=Object.defineProperties,Zl=Object.getOwnPropertyDescriptors,At=Object.getOwnPropertySymbols,$l=Object.prototype.hasOwnProperty,ec=Object.prototype.propertyIsEnumerable,wt=(e,t,n)=>t in e?Jl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tc=(e,t)=>{for(var n in t||(t={}))$l.call(t,n)&&wt(e,n,t[n]);if(At)for(var n of At(t))ec.call(t,n)&&wt(e,n,t[n]);return e},nc=(e,t)=>Ql(e,Zl(t));const Be={appBanner:{containerId:"c-app-banner",storageName:"20mnAppBanner"},breakingNews:{storageName:"20mnBreakingNews"},storageDelay:18e4},oc=()=>{var e;const[t,n]=i.useState(Pe(Be.breakingNews.storageName));i.useEffect(()=>{t&&localStorage.setItem(Be.breakingNews.storageName,JSON.stringify(t))},[t]),i.useEffect(()=>{var a;if(t&&!t.opened||t!=null&&t.opened&&t!=null&&t.time&&t.time+Be.storageDelay>new Date().getTime())return;const{apiHost:r,imgHost:l}=document.body.dataset,s=new Headers;(a=window.envVariables)!=null&&a.apiAuthKey&&s.append("auth-key",window.envVariables.apiAuthKey);const c=[{url:`${r}/?id=getBreakingNews&variables=%7B%22brandId%22%3A%22QnJhbmQ6MjBtaW51dGVz%22%7D`,options:{headers:s}}];Ye(...c).then(u=>{var m,_,E,b,g,w,D,M,z,L,H,I,te,ne,oe,ie,ae,re;const k=(w=(g=(b=(E=(_=(m=u?.data)==null?void 0:m.brand)==null?void 0:_.node)==null?void 0:E.home)==null?void 0:b.node)==null?void 0:g.homeBreakingNews)==null?void 0:w.node,Re=(M=(D=k?.content)==null?void 0:D.editorial_model)==null?void 0:M.toLowerCase(),N=(L=(z=k?.content)==null?void 0:z[Re])==null?void 0:L.node;if(!(N!=null&&N.title)||!(N!=null&&N.url_current))throw new Error("No data found...");let K;if(k!=null&&k.with_photo&&(ne=(te=(I=(H=N?.medias)==null?void 0:H[0])==null?void 0:I.photo)==null?void 0:te.node)!=null&&ne.id){const Lc=atob(N.medias[0].photo.node.id).replace("Photo:","");K=`${l}/${Lc}/147x96_${(re=(ae=(ie=(oe=N?.medias)==null?void 0:oe.photo)==null?void 0:ie.node)==null?void 0:ae.slug)!=null?re:"media"}`}n({opened:!0,time:new Date().getTime(),data:{description:N.title,url:N.url_current,imageUrl:K}})}).catch(u=>{console.error("20mn> Error while loading the breaking news:",u)})},[]);const o=()=>{n(a=>nc(tc({},a||{}),{opened:!1}))};return t!=null&&t.opened&&t!=null&&t.data?i.createElement(Kn,{title:"ALERTE INFO",description:t.data.description,cover:t.data.imageUrl,link:(e=t?.data)!=null&&e.url?{href:t.data.url}:void 0,closeButton:{onClick:o}}):null},Rt=({element:e,name:t,type:n,chapter1:o="",chapter3:a="",chapter2:r=""})=>{if(!window.ATTag)return;const l={elem:e,name:Wl(t),type:n,chapter1:o,chapter2:r,chapter3:a};Object.keys(l).forEach(s=>{l[s]===""&&delete l[s]}),window.ATTag.click.send(l)},Ae={appBanner:{storageName:"20mnAppBanner"},breakingNews:{containerId:"c-alert-info",storageName:"20mnBreakingNews"},storageDelay:864e5},ic=()=>{const{storageName:e}=Ae.appBanner,[t,n]=i.useState(Pe(e)),o=i.useRef(null),a=i.useRef(null),r=i.useMemo(()=>{var l,s;return!!(!(((l=document.getElementById(Ae.breakingNews.containerId))==null?void 0:l.children.length)!==0||(s=Pe(Ae.breakingNews.storageName))!=null&&s.opened)&&(!t||t!=null&&t.opened||t!=null&&t.time&&t.time+Ae.storageDelay<Date.now()))},[t]);return i.useEffect(()=>{r&&n({opened:!0})},[r]),i.useEffect(()=>{t&&localStorage.setItem(e,JSON.stringify(t))},[t]),r?i.createElement(so,{closeButton:{ref:o,onClick:()=>{o.current&&Rt({element:o.current,name:"close-app-banner",type:"action"}),n({opened:!1,time:new Date().getTime()})}},installButton:{ref:a,onClick:()=>{a.current&&Rt({element:a.current,name:"open-store-app-banner",type:"action"}),n({opened:!1,time:new Date().getTime()});const l=navigator?.userAgent||navigator?.platform||"unknown";window.location.href=/iPhone|iPad|iPod/i.test(l)?"https://apps.apple.com/fr/app/20-minutes-news-en-continu/id308834491":"https://play.google.com/store/apps/details?id=com.backelite.vingtminutes&hl=fr"}}}):null};var ac=Object.defineProperty,Ct=Object.getOwnPropertySymbols,rc=Object.prototype.hasOwnProperty,sc=Object.prototype.propertyIsEnumerable,yt=(e,t,n)=>t in e?ac(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,lc=(e,t)=>{for(var n in t||(t={}))rc.call(t,n)&&yt(e,n,t[n]);if(Ct)for(var n of Ct(t))sc.call(t,n)&&yt(e,n,t[n]);return e};const cc=()=>{const e=document.getElementById("c-alert-info");if(e){const t=Ce.createRoot(e);t&&t.render(i.createElement(oc,null))}},uc=()=>{const e=document.getElementById("c-app-banner");if(e){const t=Ce.createRoot(e);t&&t.render(i.createElement(ic,null))}},_c=()=>{var e;const t=document.getElementById("article-list-bottom-container"),n=(e=window?.__staticHydrationData)==null?void 0:e.articleListBottomContainer;t&&n&&Ce.hydrateRoot(t,i.createElement(Vl,lc({isSSR:!1},n)))},dc=()=>{document.querySelector('iframe[src*="www.ultimedia.com"], iframe[data-src*="www.ultimedia.com"]')&&Ge({async:!0,src:"https://www.ultimedia.com/js/common/visible_player.js",name:"digiteka_default_player"})},mc=()=>{dc()},vc=()=>{if(Gl("20min_fp")){const e=Yl("20min_fp");fetch(`https://securepubads.g.doubleclick.net/user_data_deletion?ppid=${e}&iu=49926454`,{referrerPolicy:"strict-origin-when-cross-origin"}).then(t=>{t.ok&&alert("La demande de suppression a bien \xE9t\xE9 prise en compte")}),Kl({name:"20min_fp"})}},Tc=()=>{const e=document.getElementById("delete-fingerprint");e&&e.addEventListener("click",vc)},pc=()=>{var e;!document.querySelector(".gcse-search")||!((e=window.envVariables)!=null&&e.googleSearchCode)||Ge({name:"google_search",async:!0,src:`https://cse.google.com/cse.js?cx=${window.envVariables.googleSearchCode}`})},gc=()=>{pc()};let Y;const we=e=>{Y&&(Y.style.transform=`translateY(${e==="show"?"0":"-100%"})`,Y.style.transition="transform .4s ease")},bc=e=>{const t=e[0];Y&&(t.isIntersecting?we("hidden"):we("show"))},fc=()=>{if(Y=document.querySelector(".c-header-mini"),Y){const e=document.documentElement.scrollTop,t=document.querySelector(".c-header");t&&(e>t.offsetHeight?we("show"):we("hidden"),new IntersectionObserver(bc,{threshold:[0],rootMargin:"0px 0px -100%"}).observe(t))}};var hc=(e=>(e[e.article=0]="article",e[e.divers=1]="divers",e[e.tag=2]="tag",e[e.horoscope=3]="horoscope",e))(hc||{}),Ec=(e=>(e.UNKNOWN="Non connu",e.SLIDESHOW_COVER="Slideshow cover",e.SLIDESHOW_COVER_LISTING_PAGE="Slideshow listing page",e.SLIDESHOW_PAGE="Slideshow page",e.ARTICLE="article",e.MISC="divers",e.HOME="home",e.LIVE="live",e.SECTION="section",e.TAG="tag",e.HOROSCOPE="horoscope",e))(Ec||{}),Nc=(e=>(e.MISC="divers",e.HOME="home",e.LOCAL="local",e.PLANET="plan\xE8te",e))(Nc||{}),Ac=(e=>(e.PAGETYPE="pageType",e.TAGS="tags",e))(Ac||{});const wc="adDefined",Rc=e=>{console.log(`20minLazyCall: element with id %c${e} has been lazy loaded`,"color: #0777;font-weight:bold;")};let St,Dt;const Lt=e=>{var t;const n=(t=e.dataset)==null?void 0:t.distanceVisible;n==="700"?St.observe(e):n==="0"&&Dt.observe(e)},xt=(e,t)=>{e.forEach(n=>{var o;if(n.isIntersecting){const a=n.target,r=((o=a.dataset)==null?void 0:o.eventName)||a.id;r&&(a.dispatchEvent(new Event(r)),Rc(r),a.dataset.lazyLoaded="true",t.unobserve(a))}})},Cc=()=>{document.addEventListener(wc,e=>{const t=e,{elem:n}=t.detail[0];n.getAttribute("data-delayed")==="true"&&Lt(n)})},yc=()=>{document.querySelectorAll('[data-delayed="true"]:not([data-dfp-name])').forEach(e=>{Lt(e)})},Sc=()=>{St=new IntersectionObserver(xt,{rootMargin:"700px",threshold:0}),Dt=new IntersectionObserver(xt,{rootMargin:"0px",threshold:0}),Cc(),yc()},Dc=()=>{const e=document.querySelectorAll('img[data-delayed="true"]');Array.prototype.forEach.call(e,t=>{t.addEventListener(t.getAttribute("id"),function n(){t.setAttribute("src",t.getAttribute("data-src")),t.setAttribute("srcset",t.getAttribute("data-srcset")),t.removeAttribute("data-delayed"),t.removeAttribute("data-distance-visible"),t.removeAttribute("data-src"),t.removeAttribute("data-srcset"),t.removeEventListener(t.getAttribute("id"),n)})})};(()=>{un(),Tc(),Sc(),Dc(),gc(),mc(),cc(),uc(),fc(),_c()})()})(React,ReactDOMClient);
5
+ */(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o=[],a=0;a<arguments.length;a++){var r=arguments[a];if(r){var l=typeof r;if(l==="string"||l==="number")o.push(r);else if(Array.isArray(r)){if(r.length){var s=n.apply(null,r);s&&o.push(s)}}else if(l==="object"){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){o.push(r.toString());continue}for(var c in r)t.call(r,c)&&r[c]&&o.push(c)}}}return o.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(We);var Nn=We.exports;const d=hn(Nn);var Je="/home/travis/build/20minutes/hela/src/components/atoms/Button/Button.tsx";const B=f(({as:e="button",variant:t="primary",children:n,iconProps:o,...a},r)=>i.createElement(T,{...a,as:e,ref:r,alignItems:"center",gap:"xxs",className:d("c-btn",{[`c-btn--${t}`]:t},a?.className),__self:void 0,__source:{fileName:Je,lineNumber:22,columnNumber:5}},o&&i.createElement(y,{...o,__self:void 0,__source:{fileName:Je,lineNumber:30,columnNumber:21}}),n));B.displayName="Button";var se="/home/travis/build/20minutes/hela/src/components/atoms/Divider/Divider.tsx";const An=f(({text:e,color:t="black",thickness:n="thin",...o},a)=>{const r=i.createElement(Ue,{bg:t,align:"center",className:d("c-divider__line",{[`c-divider__line--${n}`]:n!=="thin"}),__self:void 0,__source:{fileName:se,lineNumber:15,columnNumber:7}});return i.createElement(T,{...o,ref:a,className:d("c-divider",{"c-divider--has-text":!!e},o?.className),__self:void 0,__source:{fileName:se,lineNumber:25,columnNumber:7}},e?i.createElement(i.Fragment,null,r,i.createElement(Ue,{px:"xxs-2",className:"c-divider__text",__self:void 0,__source:{fileName:se,lineNumber:37,columnNumber:13}},i.createElement(E,{size:"xxs",color:t,textTransform:"uppercase",__self:void 0,__source:{fileName:se,lineNumber:38,columnNumber:15}},e)),r):r)});var le="/home/travis/build/20minutes/hela/src/components/atoms/Icon/Icon.tsx";const y=f(({name:e,size:t=28,withBorder:n=!1,isRounded:o=!1,rotation:a,...r},l)=>{const s=Array.isArray(t)?t?.[0]:t,c=Array.isArray(t)?t?.[1]:t;return i.createElement(g,{...r,ref:l,className:d("c-icon",{"c-icon--withBorder":n,"c-icon--isRounded":o,[`c-icon--${a}`]:a},r?.className),__self:void 0,__source:{fileName:le,lineNumber:22,columnNumber:7}},i.createElement("svg",{width:s,height:c,__self:void 0,__source:{fileName:le,lineNumber:35,columnNumber:9}},e==="circle"?i.createElement("circle",{__self:void 0,__source:{fileName:le,lineNumber:36,columnNumber:32}}):i.createElement("use",{xlinkHref:`#${e}`,__self:void 0,__source:{fileName:le,lineNumber:36,columnNumber:45}})))});var Qe="/home/travis/build/20minutes/hela/src/components/atoms/Img/Img.tsx";const Ze=({src:e="",defaultFormat:t,formats:n,alt:o="",sizes:a,lazyload:r={delayed:!1,distanceVisible:0},...l})=>{const s=t.split("x"),c=s[0],u=s[1];let m,_=`data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='${c}'%20height='${u}'%3E%3C/svg%3E`;e&&(_=En({src:e,format:t}),m=fn({formats:n,src:e}));const h=Math.random().toString(36).slice(2),b={...l,id:h,width:c,height:u,sizes:a||void 0,alt:o,className:d("c-img",l?.className),"data-delayed":r.delayed,"data-distance-visible":r.distanceVisible};return r.delayed?i.createElement(g,{...b,as:"img","data-src":_,"data-srcset":m,__self:void 0,__source:{fileName:Qe,lineNumber:54,columnNumber:12}}):i.createElement(g,{...b,as:"img",src:_,srcSet:m,__self:void 0,__source:{fileName:Qe,lineNumber:57,columnNumber:10}})};var wn="/home/travis/build/20minutes/hela/src/components/atoms/InlineSeparator/InlineSeparator.tsx";const De=({size:e,...t})=>i.createElement(E,{as:"span",size:e||"s",...t,__self:void 0,__source:{fileName:wn,lineNumber:5,columnNumber:3}},"\u2022");var C="/home/travis/build/20minutes/hela/src/components/atoms/Input/Input.tsx";f(({id:e,className:t,color:n,required:o,label:a,icon:r,positionIcon:l="left",isIconButton:s=!1,iconButtonProps:c,variant:u,msg:m,..._},h)=>i.createElement(T,{direction:"column",ref:h,className:"c-input",__self:void 0,__source:{fileName:C,lineNumber:43,columnNumber:5}},a&&i.createElement("label",{htmlFor:e,className:"c-input__label",__self:void 0,__source:{fileName:C,lineNumber:45,columnNumber:9}},a,o&&i.createElement("abbr",{className:"c-input__label__abbr",title:"(ce champ est obligatoire)",__self:void 0,__source:{fileName:C,lineNumber:48,columnNumber:13}},"*")),i.createElement(T,{className:"c-input-container",__self:void 0,__source:{fileName:C,lineNumber:54,columnNumber:7}},r&&(s?i.createElement(B,{className:d("c-input-container__icon",`c-input-container__icon--${l}`),iconProps:{name:r,size:18},variant:"ghost",color:n||"black",...c,__self:void 0,__source:{fileName:C,lineNumber:57,columnNumber:13}}):i.createElement(y,{className:d("c-input-container__icon",`c-input-container__icon--${l}`),name:r,size:18,__self:void 0,__source:{fileName:C,lineNumber:71,columnNumber:13}})),i.createElement("input",{id:e,className:d("c-input-container__input",{[`c-input-container__input--has-icon--${l}`]:r,[`c-input-container__input--${u}`]:u},t),required:o,..._,__self:void 0,__source:{fileName:C,lineNumber:80,columnNumber:9}})),m&&m.length&&i.createElement(T,{wrap:"wrap",gapY:"s",gapX:"xxs-2",mt:"xxs-2",__self:void 0,__source:{fileName:C,lineNumber:95,columnNumber:9}},m.map(({iconProps:b,textProps:p,value:w},D)=>i.createElement(T,{key:D?.toString(),alignItems:"center",gap:"xxs",__self:void 0,__source:{fileName:C,lineNumber:97,columnNumber:13}},b&&i.createElement(y,{...b,__self:void 0,__source:{fileName:C,lineNumber:98,columnNumber:29}}),i.createElement(E,{dangerouslySetInnerHTML:{__html:w},role:"alert",...p,__self:void 0,__source:{fileName:C,lineNumber:99,columnNumber:15}}))))));var Le="/home/travis/build/20minutes/hela/src/components/atoms/Label/Label.tsx";const $e=({children:e,bg:t,color:n,hasDot:o=!1,isUppercase:a=!0,size:r,className:l,...s})=>i.createElement(T,{inline:!0,p:t?"xxs-2":void 0,bg:t,color:n,className:d("c-label",l),alignItems:"center",...s,__self:void 0,__source:{fileName:Le,lineNumber:23,columnNumber:3}},o&&i.createElement(De,{mr:"xxs-2",size:r||"xxs",__self:void 0,__source:{fileName:Le,lineNumber:32,columnNumber:16}}),i.createElement(E,{as:"span",size:r||"xxs",weight:"bold",textTransform:a?"uppercase":void 0,__self:void 0,__source:{fileName:Le,lineNumber:33,columnNumber:5}},e)),Rn=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),et=e=>{if(e.propValue!==void 0){if(typeof e.propValue!="boolean"){const t=Rn(typeof e.propValue=="number"?e.propValue.toString():e.propValue);return e.className?`${e.className}-${t}@${e.defaultModifier}`:`${t}@${e.defaultModifier}`}if(!e.className)throw new Error('It is necessary to define the argument "className" !');return`${e.className}@${e.defaultModifier}`}},v=e=>{if(e.propValue&&["boolean","string","number"].includes(typeof e.propValue)||!e.propValue){const t=et({className:e.className,defaultModifier:e.defaultModifier||"xs",propValue:e.propValue});return t?[t]:[]}return Object.entries(e.propValue).reduce((t,[n,o])=>{const a=et({className:e.className,defaultModifier:n,propValue:o});return a&&t.push(a),t},[])},ce=e=>typeof e.props=="object"?Object.keys(e.props).reduce((t,n)=>(e.systemPropNames.includes(n)||(t[n]=e.props[n]),t),{}):{},Cn=e=>d(...v({className:"bd",defaultModifier:"light",propValue:e.bd}),...v({className:"bg",defaultModifier:"light",propValue:e.bg}),...v({className:"color",defaultModifier:"light",propValue:e.color})),yn=e=>d(Object.entries(e).filter(([t])=>Object.keys(Xe).includes(t)).reduce((t,[n,o])=>(t.push(...v({className:n,propValue:o})),t),[])),Sn=e=>d(Object.entries(e).filter(([t])=>Object.keys(Ke).includes(t)).reduce((t,[n,o])=>(t.push(...v({className:n,propValue:o})),t),[])),Dn=({textAlign:e,weight:t,textTransform:n,textDecoration:o,italic:a,fontFamily:r})=>d(v({className:"text",propValue:e}),v({className:"font-weight",propValue:t}),{[`text-transform-${n}`]:!!n,[`text-decoration-${o}`]:!!o,"text-italic":!!a,[`font-${r}`]:!!r}),Ln=e=>d(yn(e),Cn(e),Sn(e)),Un=e=>d(...v({propValue:e.align,className:"self"})),tt=e=>d(...v({propValue:e.alignItems,className:"items"}),...v({propValue:e.alignContent,className:"content"}),...v({propValue:e.justifyContent,className:"justify"}),...v({propValue:e.gap,className:"gap"}),...v({propValue:e.gapX,className:"gap-x"}),...v({propValue:e.gapY,className:"gap-y"}),...v({propValue:e.flexGrow,className:"grow"})),xn=({inline:e=!1,direction:t,wrap:n,...o})=>d(...v({propValue:e,className:e?"inline-flex":"flex"}),...v({propValue:t,className:"direction"}),...v({propValue:n}),tt(o)),Hn=({basis:e,shrink:t,grow:n,...o})=>d(...v({propValue:e,className:"basis"}),...v({propValue:t,className:"shrink"}),...v({propValue:n,className:"grow"}),Un(o));var In="/home/travis/build/20minutes/hela/src/components/atoms/Layout/Box/Box.tsx";const g=f(({as:e="div",children:t,...n},o)=>i.createElement(e,{...ce({props:n,systemPropNames:Object.keys(gn)}),ref:o,className:d(Ln(n),n?.className),__self:void 0,__source:{fileName:In,lineNumber:12,columnNumber:3}},t));g.displayName="Box";const kn=({colsNumber:e,gap:t,gapX:n,gapY:o,children:a,...r})=>i.createElement(g,{...r,className:d("grid",...v({className:"grid-cols-number",propValue:e}),...v({className:"grid-gap",propValue:t}),...v({className:"grid-gap-row",propValue:n}),...v({className:"grid-gap-col",propValue:o}),d(tt(r),r?.className)),children:a});var On="/home/travis/build/20minutes/hela/src/components/atoms/Layout/Flex/Flex.tsx";const T=f(({as:e="div",children:t,...n},o)=>i.createElement(g,{...ce({props:n,systemPropNames:Object.keys(mn)}),as:e,ref:o,className:d(xn(n),n?.className),__self:void 0,__source:{fileName:On,lineNumber:13,columnNumber:3}},t));var Pn="/home/travis/build/20minutes/hela/src/components/atoms/Layout/Flex/FlexItem/FlexItem.tsx";const Ue=f(({as:e="div",children:t,...n},o)=>i.createElement(g,{...ce({props:n,systemPropNames:Object.keys(dn)}),as:e,ref:o,className:d(Hn(n),n?.className),__self:void 0,__source:{fileName:Pn,lineNumber:14,columnNumber:5}},t));var Mn="/home/travis/build/20minutes/hela/src/components/atoms/Link/Link.tsx";f(({as:e="a",children:t,color:n,variant:o,...a},r)=>{if(o&&n)throw new Error("You can't use color and variant props together");return i.createElement(g,{...a,as:e,ref:r,color:o?void 0:n||"ultramarine",className:d("c-link",{[`c-btn c-btn--${o}`]:o&&!n},a?.className),__self:void 0,__source:{fileName:Mn,lineNumber:19,columnNumber:7}},t)});var Bn="/home/travis/build/20minutes/hela/src/components/atoms/Pipe/Pipe.tsx";function Fn(){return i.createElement("div",{className:"c-pipe",__self:this,__source:{fileName:Bn,lineNumber:4,columnNumber:10}})}var nt="/home/travis/build/20minutes/hela/src/components/atoms/ScrollProgressBar/ScrollProgressBar.tsx";f(({variant:e,progressColor:t="ultramarine"},n)=>i.createElement(g,{ref:n,bg:"grey-100",className:d("c-progress",{[`c-progress--${e}`]:e}),__self:void 0,__source:{fileName:nt,lineNumber:14,columnNumber:5}},i.createElement(g,{className:"c-progress__bar",bg:t,style:{width:"0%"},__self:void 0,__source:{fileName:nt,lineNumber:19,columnNumber:7}})));var V="/home/travis/build/20minutes/hela/src/components/atoms/Slider/Slider.tsx";const jn=e=>{switch(e){case"primary":return{light:"white",dark:"grey-700"};case"secondary":return{light:"grey-100",dark:"grey-700"};default:return}};f(({layout:e,children:t,itemsGap:n,buttonsBackground:o,colorVariant:a="default",sliderVariant:r="default",auto:l=!1,delay:s=3e3,...c},u)=>i.createElement(g,{...c,ref:u,className:d("c-slider js-navigation-container",c?.className),"data-slider-variant":r,"data-slider-auto":l,"data-slider-delay":s,__self:void 0,__source:{fileName:V,lineNumber:48,columnNumber:5}},i.createElement(g,{className:"c-slider__viewport js-navigation-container__list",__self:void 0,__source:{fileName:V,lineNumber:56,columnNumber:7}},i.createElement(T,{className:"c-slider__list",alignItems:"center",gap:n,__self:void 0,__source:{fileName:V,lineNumber:57,columnNumber:9}},t)),e===q.DESKTOP&&i.createElement(g,{className:"c-slider__buttons-container",__self:void 0,__source:{fileName:V,lineNumber:62,columnNumber:9}},Array.from(["previous","next"],m=>i.createElement(g,{key:m,bg:o&&jn(o),pr:o&&m==="previous"?"m":void 0,pl:o&&m==="next"?"m":void 0,className:d(`c-slider__button-container c-slider__button-container--${m} o-nav-button o-nav-button--${m}-button`,{"c-slider__button-container--has-background":o},{[`c-slider__button-container--${r}`]:r}),__self:void 0,__source:{fileName:V,lineNumber:64,columnNumber:13}},i.createElement(B,{variant:"round",color:a,iconProps:{name:"chevron",size:12,rotation:m==="previous"?"half":void 0},__self:void 0,__source:{fileName:V,lineNumber:77,columnNumber:15}}))))));var ue="/home/travis/build/20minutes/hela/src/components/atoms/Switch/Switch.tsx";const zn=f(({id:e,className:t,label:n,isChecked:o=!1},a)=>i.createElement("div",{className:"switch",__self:void 0,__source:{fileName:ue,lineNumber:14,columnNumber:5}},i.createElement("label",{htmlFor:e,className:"switch-label",__self:void 0,__source:{fileName:ue,lineNumber:15,columnNumber:7}},n),i.createElement("button",{type:"button",ref:a,id:e,className:d("switch-button",t),role:"switch","aria-checked":o,__self:void 0,__source:{fileName:ue,lineNumber:18,columnNumber:7}},i.createElement("span",{"aria-hidden":o,__self:void 0,__source:{fileName:ue,lineNumber:26,columnNumber:9}},o?"on":"off"))));zn.displayName="Switch";var qn="/home/travis/build/20minutes/hela/src/components/atoms/Tag/Tag.tsx";f(({as:e="a",id:t,link:n,variant:o="primary",children:a,...r},l)=>i.createElement(g,{...r,as:e,ref:l,href:n,className:d("c-tags",`c-tags--${o}`,r?.className),"data-id":t,__self:void 0,__source:{fileName:qn,lineNumber:15,columnNumber:5}},a));var Vn="/home/travis/build/20minutes/hela/src/components/atoms/Typography/Typography.tsx";const ot=f(({as:e="p",children:t,...n},o)=>t&&t.toString().length||n!=null&&n.dangerouslySetInnerHTML?i.createElement(g,{...ce({props:n,systemPropNames:Object.keys(pn)}),as:e,ref:o,className:d(Dn(n),n?.className),__self:void 0,__source:{fileName:Vn,lineNumber:15,columnNumber:7}},t):null);var Gn="/home/travis/build/20minutes/hela/src/components/atoms/Typography/Heading/Heading.tsx";const xe=f(({as:e="h1",size:t,children:n,...o},a)=>i.createElement(ot,{...o,as:e,ref:a,className:d(v({className:"heading",propValue:t}),o?.className),__self:void 0,__source:{fileName:Gn,lineNumber:15,columnNumber:5}},n));var Yn="/home/travis/build/20minutes/hela/src/components/atoms/Typography/Text/Text.tsx";const E=f(({as:e="p",size:t,highlighted:n,children:o,...a},r)=>i.createElement(ot,{as:n?"span":e,bg:n?"sponsoring":a.bg,p:n?"xxs":a.p,...a,ref:r,className:d(v({className:"text",propValue:t}),{"text-highlighted":n},a?.className),__self:void 0,__source:{fileName:Yn,lineNumber:16,columnNumber:5}},o));var U="/home/travis/build/20minutes/hela/src/components/molecules/AlertInfoBanner/AlertInfoBanner.tsx";const Kn=({cover:e="https://placehold.jp/%format.png",description:t,title:n,link:o,closeButton:a,...r})=>i.createElement(T,{...r,className:d("c-info-banner","c-info-banner--alert",r?.className),alignItems:"center",justifyContent:"center",gap:"s",color:"white",bg:"red",p:"s",__self:void 0,__source:{fileName:U,lineNumber:22,columnNumber:3}},i.createElement(T,{className:"c-info-banner__container",gap:"s",alignItems:"start",__self:void 0,__source:{fileName:U,lineNumber:32,columnNumber:5}},e&&i.createElement(T,{as:"a",className:"c-info-banner__visual",...o||{},__self:void 0,__source:{fileName:U,lineNumber:34,columnNumber:9}},i.createElement(Ze,{src:e,defaultFormat:"130x82",formats:["130x82"],sizes:"8.125rem",alt:n,className:"c-info-banner__cover",__self:void 0,__source:{fileName:U,lineNumber:35,columnNumber:11}})),i.createElement(T,{className:"c-info-banner__content",direction:"column",justifyContent:{xs:"between"},__self:void 0,__source:{fileName:U,lineNumber:45,columnNumber:7}},i.createElement(E,{className:"c-info-banner__title",color:"red",bg:"white",px:"xxs-2",mb:"xxs-2",size:"s",weight:"bold",__self:void 0,__source:{fileName:U,lineNumber:50,columnNumber:9}},n),i.createElement(E,{as:o?"a":void 0,size:"s",color:"white",...o||{},__self:void 0,__source:{fileName:U,lineNumber:61,columnNumber:9}},t),a&&i.createElement(B,{...a,variant:"ghost",className:"c-info-banner__close",__self:void 0,__source:{fileName:U,lineNumber:65,columnNumber:11}},i.createElement(y,{name:"close",size:12,color:"white",__self:void 0,__source:{fileName:U,lineNumber:66,columnNumber:13}})))));var Xn="/home/travis/build/20minutes/hela/src/components/molecules/Card/CardContainer/CardContainer.tsx";const it=f(({as:e="a",link:t,children:n,className:o,...a},r)=>i.createElement(T,{...a,as:e,ref:r,href:t,justifyContent:a?.justifyContent||"between",className:d("c-card-container",o),__self:void 0,__source:{fileName:Xn,lineNumber:14,columnNumber:5}},n));var He="/home/travis/build/20minutes/hela/src/components/molecules/Card/CardFooter/CardFooter.tsx";const at=({text:e,secondaryText:t,bg:n,...o})=>i.createElement(T,{...o,justifyContent:"between",alignItems:"center",gap:"s",__self:void 0,__source:{fileName:He,lineNumber:14,columnNumber:3}},i.createElement(E,{as:"span",size:"xs",bg:n||void 0,p:n?"xxs":void 0,__self:void 0,__source:{fileName:He,lineNumber:15,columnNumber:5}},e),t&&i.createElement(E,{as:"span",size:"xxs-3",color:"grey-300",textTransform:"uppercase",__self:void 0,__source:{fileName:He,lineNumber:19,columnNumber:7}},t));var G="/home/travis/build/20minutes/hela/src/components/molecules/Card/CardHeader/CardHeader.tsx";const rt=({headline:e,liveTime:t,rightSubheader:n,size:o="xxs",...a})=>i.createElement(T,{...a,alignItems:"center",gap:"xxs-2",color:"grey-400",__self:void 0,__source:{fileName:G,lineNumber:14,columnNumber:3}},t&&i.createElement(i.Fragment,null,i.createElement(E,{as:"span",size:o,color:"direct",weight:"bold",__self:void 0,__source:{fileName:G,lineNumber:17,columnNumber:9}},t),i.createElement(De,{size:o,color:"direct",__self:void 0,__source:{fileName:G,lineNumber:20,columnNumber:9}})),i.createElement($e,{color:e.color,bg:e.bg,size:o,__self:void 0,__source:{fileName:G,lineNumber:23,columnNumber:5}},e.text),n&&i.createElement(i.Fragment,null,i.createElement(De,{size:o,__self:void 0,__source:{fileName:G,lineNumber:28,columnNumber:9}}),i.createElement(E,{as:"time",size:o,color:n.color,__self:void 0,__source:{fileName:G,lineNumber:29,columnNumber:9}},n.text)));var Q="/home/travis/build/20minutes/hela/src/components/molecules/Card/CardImage/CardImage.tsx";const Wn=e=>{switch(e){case"small":return 20;case"medium":return 28;default:return 40}},st=({cover:e,formats:t,defaultFormat:n,sizes:o,alt:a,caption:r,lazyload:l={delayed:!1,distanceVisible:0},...s})=>{const c=i.createElement(Ze,{...!r&&s,src:e,defaultFormat:n,formats:t,sizes:o,alt:a,lazyload:l,__self:void 0,__source:{fileName:Q,lineNumber:31,columnNumber:5}});return i.createElement(g,{...r&&s,className:d("c-card-img",s?.className),__self:void 0,__source:{fileName:Q,lineNumber:43,columnNumber:5}},r?i.createElement(i.Fragment,null,i.createElement(T,{color:"white",alignItems:"center",gap:r.size==="small"?"xxs-2":"xxs",className:d("c-card-img__caption",{[`c-card-img__caption--${r.size||"big"}`]:!0}),__self:void 0,__source:{fileName:Q,lineNumber:46,columnNumber:11}},i.createElement(y,{name:r.iconName,size:Wn(r.size||"big"),__self:void 0,__source:{fileName:Q,lineNumber:54,columnNumber:13}}),i.createElement(E,{size:r.size==="small"?"xxs-2":"xxs",weight:"bold",__self:void 0,__source:{fileName:Q,lineNumber:55,columnNumber:13}},r.text)),c):c)};var Ie="/home/travis/build/20minutes/hela/src/components/molecules/Card/CardTitle/CardTitle.tsx";const lt=({cartridge:e,hasEllipses:t=!0,as:n,size:o,fontFamily:a,weight:r,children:l,...s})=>i.createElement(g,{...s,pb:"xxs-3",className:d("c-card-title",{"c-card-title--has-ellipses":t},s?.className),__self:void 0,__source:{fileName:Ie,lineNumber:23,columnNumber:3}},e&&i.createElement($e,{bg:e==="exclusive"?"ultramarine":"red",color:"white",hasDot:e==="live"||!1,mr:"xxs",__self:void 0,__source:{fileName:Ie,lineNumber:33,columnNumber:7}},e==="exclusive"&&"exclusif"||e==="alert"&&"alerte info"||"live"),i.createElement(xe,{as:n||"h1",size:o||"m",fontFamily:a||"oswald",weight:r||"bold",className:e?"c-card-title__cartridge-heading":void 0,__self:void 0,__source:{fileName:Ie,lineNumber:44,columnNumber:5}},l));var O="/home/travis/build/20minutes/hela/src/components/molecules/Card/Templates/CardExtraSmall/CardExtraSmall.tsx";const Jn=({link:e,title:t,cardHeaderProps:n,cardTitleProps:o,cardImageProps:a,cardFooterProps:r,layout:l,socialBarProps:s,contentGap:c,...u})=>i.createElement(it,{...u,p:u!=null&&u.bg?"s":void 0,as:"div",direction:"column",className:d("c-card-extra-small",u?.className),__self:void 0,__source:{fileName:O,lineNumber:35,columnNumber:3}},i.createElement(Ue,{as:"a",href:e,__self:void 0,__source:{fileName:O,lineNumber:42,columnNumber:5}},i.createElement(rt,{...n,mb:"xxs-2",__self:void 0,__source:{fileName:O,lineNumber:43,columnNumber:7}}),i.createElement(T,{justifyContent:"between",gap:c||"m",__self:void 0,__source:{fileName:O,lineNumber:44,columnNumber:7}},i.createElement(lt,{as:"h4",fontFamily:"source-serif-pro",weight:"semi-bold",...o,size:o?.size||"xxs",className:"c-card-extra-small__title",__self:void 0,__source:{fileName:O,lineNumber:45,columnNumber:9}},t),a&&i.createElement(st,{...a,defaultFormat:l===q.DESKTOP?"130x82":"260x164",formats:["260x164","130x82"],sizes:l===q.DESKTOP?"8.125rem":"16.25rem",alt:t,className:"c-card-extra-small__img",__self:void 0,__source:{fileName:O,lineNumber:56,columnNumber:11}})),r&&i.createElement(at,{...r,mt:"xs",__self:void 0,__source:{fileName:O,lineNumber:66,columnNumber:27}})),s&&i.createElement(dt,{...s,variant:"card",mt:"xs",__self:void 0,__source:{fileName:O,lineNumber:68,columnNumber:24}}));var P="/home/travis/build/20minutes/hela/src/components/molecules/Card/Templates/CardMedium/CardMedium.tsx";const Qn=({link:e,title:t,cardHeaderProps:n,cardTitleProps:o,cardImageProps:a,socialBarProps:r,cardFooterProps:l,bg:s,radius:c,...u})=>i.createElement(it,{...u,as:"div",direction:"column",bg:s,radius:s?c||"xxs":void 0,__self:void 0,__source:{fileName:P,lineNumber:30,columnNumber:3}},i.createElement(g,{as:"a",href:e,__self:void 0,__source:{fileName:P,lineNumber:37,columnNumber:5}},a&&i.createElement(st,{...a,formats:["480x308","346x222"],defaultFormat:"480x308",alt:t,mb:"xs",style:s?{borderRadius:"unset"}:void 0,__self:void 0,__source:{fileName:P,lineNumber:39,columnNumber:9}}),i.createElement(g,{px:s?"s":void 0,__self:void 0,__source:{fileName:P,lineNumber:48,columnNumber:7}},i.createElement(rt,{...n,mb:"xxs-2",__self:void 0,__source:{fileName:P,lineNumber:49,columnNumber:9}}),i.createElement(lt,{...o,as:"h3",size:"m",fontFamily:"oswald",__self:void 0,__source:{fileName:P,lineNumber:50,columnNumber:9}},t)),l&&i.createElement(at,{...l,mt:"m",p:s?"s":void 0,__self:void 0,__source:{fileName:P,lineNumber:54,columnNumber:27}})),r&&i.createElement(dt,{...r,variant:"card",mt:"m",__self:void 0,__source:{fileName:P,lineNumber:56,columnNumber:24}}));var Z="/home/travis/build/20minutes/hela/src/components/molecules/Collapse/Collapse.tsx";f(({title:e,index:t,isOpen:n,color:o,bg:a,iconProps:r,btnProps:l,children:s},c)=>i.createElement("div",{className:"c-collapse js-collapse",ref:c,__self:void 0,__source:{fileName:Z,lineNumber:18,columnNumber:5}},i.createElement(g,{...l,as:"button",type:"button",id:`c-collapse__button-${t}`,className:d("c-collapse__button js-collapse__button",l?.className),"aria-controls":`c-collapse__content-${t}`,"aria-expanded":n||"false",__self:void 0,__source:{fileName:Z,lineNumber:19,columnNumber:7}},i.createElement(xe,{as:"h5",size:"xxs",color:o||"black",__self:void 0,__source:{fileName:Z,lineNumber:28,columnNumber:9}},e),i.createElement(y,{...r,name:"chevron",size:16,className:d("c-collapse__icon",r?.className),__self:void 0,__source:{fileName:Z,lineNumber:31,columnNumber:9}})),i.createElement(T,{direction:"column",p:"m",id:`c-collapse__content-${t}`,"aria-hidden":n?!n:"true","aria-labelledby":`c-collapse__button-${t}`,bg:a||void 0,className:"c-collapse__list",role:"tabpanel",__self:void 0,__source:{fileName:Z,lineNumber:38,columnNumber:7}},s)));var $="/home/travis/build/20minutes/hela/src/components/molecules/Horoscope/HoroscopeTopicCard/HoroscopeTopicCard.tsx";f(({icon:e,title:t,content:n,...o},a)=>i.createElement(g,{...o,ref:a,className:d("c-horoscope-topic-card",o?.className),__self:void 0,__source:{fileName:$,lineNumber:17,columnNumber:5}},i.createElement(T,{alignItems:"center",mb:"s",__self:void 0,__source:{fileName:$,lineNumber:18,columnNumber:7}},i.createElement(y,{className:"c-horoscope-topic-card__icon",name:e,size:21,__self:void 0,__source:{fileName:$,lineNumber:19,columnNumber:9}}),i.createElement(xe,{as:"h3",size:"xs",__self:void 0,__source:{fileName:$,lineNumber:20,columnNumber:9}},t)),i.createElement(E,{size:"m",__self:void 0,__source:{fileName:$,lineNumber:24,columnNumber:7}},n)));var x={};Object.defineProperty(x,"__esModule",{value:!0}),x.StickyShareButtons=ut=x.InlineShareButtons=x.InlineReactionButtons=x.InlineFollowButtons=void 0;var A=Zn(i);function Zn(e){return e&&e.__esModule?e:{default:e}}function _e(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_e=function(t){return typeof t}:_e=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_e(e)}function de(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function me(e,t,n){return t&&ct(e.prototype,t),n&&ct(e,n),e}function ve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}function ke(e,t){return ke=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ke(e,t)}function Te(e){var t=to();return function(){var n=ge(e),o;if(t){var a=ge(this).constructor;o=Reflect.construct(n,arguments,a)}else o=n.apply(this,arguments);return $n(this,o)}}function $n(e,t){return t&&(_e(t)==="object"||typeof t=="function")?t:eo(e)}function eo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function to(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function ge(e){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},ge(e)}var pe=function(e,t){var n=e.props.config||{enabled:!0};n=JSON.parse(JSON.stringify(n));var o=window.onShareThisLoaded,a=function c(){if(!c.complete){if(!n.id){var u="sharethis-"+Date.now();n.id=u}e.buttons.current&&(e.buttons.current.id=n.id,window.__sharethis__.load(t,n)),o&&o(),c.complete=!0}};if(window.onShareThisLoaded=a,document.getElementById("sharethis-js"))window.__sharethis__&&window.onShareThisLoaded();else{var r=document.createElement("script");r.setAttribute("id","sharethis-js");var l={property:n.property||"",product:t,source:"reactjs"},s=Object.keys(l).map(function(c){return c+"="+l[c]}).join("&");r.src="https://platform-api.sharethis.com/js/sharethis.js?"+s,r.async=!0,document.body.appendChild(r)}},no=function(e){ve(n,e);var t=Te(n);function n(o){var a;return de(this,n),a=t.call(this,o),a.buttons=A.default.createRef(),a}return me(n,[{key:"componentDidMount",value:function(){pe(this,"inline-follow-buttons")}},{key:"render",value:function(){return A.default.createElement("div",{ref:this.buttons})}}]),n}(A.default.Component);x.InlineFollowButtons=no;var oo=function(e){ve(n,e);var t=Te(n);function n(o){var a;return de(this,n),a=t.call(this,o),a.buttons=A.default.createRef(),a}return me(n,[{key:"componentDidMount",value:function(){pe(this,"inline-share-buttons")}},{key:"render",value:function(){return A.default.createElement("div",{ref:this.buttons})}}]),n}(A.default.Component),ut=x.InlineShareButtons=oo,io=function(e){ve(n,e);var t=Te(n);function n(o){var a;return de(this,n),a=t.call(this,o),a.buttons=A.default.createRef(),a}return me(n,[{key:"componentDidMount",value:function(){pe(this,"inline-reaction-buttons")}},{key:"render",value:function(){return A.default.createElement("div",{ref:this.buttons})}}]),n}(A.default.Component);x.InlineReactionButtons=io;var ao=function(e){ve(n,e);var t=Te(n);function n(o){var a;return de(this,n),a=t.call(this,o),a.buttons=A.default.createRef(),a}return me(n,[{key:"componentDidMount",value:function(){pe(this,"sticky-share-buttons")}},{key:"render",value:function(){return A.default.createElement("div",{ref:this.buttons})}}]),n}(A.default.Component);x.StickyShareButtons=ao;var _t="/home/travis/build/20minutes/hela/src/components/molecules/ShareBar/ShareBar.tsx";const ro=({networks:e=["sharethis"],...t})=>{const n={width:e.length?`${38*e.length+20}px`:"inherit"};return i.createElement(g,{p:"xxs-2",...t,className:"c-share-bar",style:n,radius:"m",__self:void 0,__source:{fileName:_t,lineNumber:44,columnNumber:5}},i.createElement(ut,{config:{alignment:"center",color:"social",enabled:!0,font_size:18,labels:null,language:"en",networks:e,padding:8,radius:15,show_total:!1,size:30},__self:void 0,__source:{fileName:_t,lineNumber:45,columnNumber:7}}))};var S="/home/travis/build/20minutes/hela/src/components/molecules/SmartBanner/SmartBanner.tsx";const so=({installButton:e,closeButton:t})=>i.createElement(T,{className:"c-smart-banner u-skin-darkBlue",alignItems:"center",gap:"xs",__self:void 0,__source:{fileName:S,lineNumber:11,columnNumber:3}},i.createElement(B,{...t,variant:"ghost",iconProps:{name:"close",size:10},color:"white",p:"0",__self:void 0,__source:{fileName:S,lineNumber:12,columnNumber:5}}),i.createElement(y,{name:"logo",size:35,bg:"white",color:"ultramarine",className:"c-smart-banner__logo",__self:void 0,__source:{fileName:S,lineNumber:22,columnNumber:5}}),i.createElement(g,{__self:void 0,__source:{fileName:S,lineNumber:23,columnNumber:5}},i.createElement(T,{__self:void 0,__source:{fileName:S,lineNumber:24,columnNumber:7}},i.createElement(E,{size:"xxs",weight:"bold",className:"c-smart-banner__title",mb:"xxs-2",__self:void 0,__source:{fileName:S,lineNumber:25,columnNumber:9}},"20\xA0Minutes"),i.createElement(T,{gap:"xxs-2",ml:"xxs-2",alignItems:"start",__self:void 0,__source:{fileName:S,lineNumber:28,columnNumber:9}},[0,1,2,3].map(n=>i.createElement(y,{name:"star",color:"white",size:11,key:n,__self:void 0,__source:{fileName:S,lineNumber:30,columnNumber:13}})))),i.createElement(E,{size:"xxs-2",__self:void 0,__source:{fileName:S,lineNumber:34,columnNumber:7}},"Retrouvez l\u2019actualit\xE9 sur notre application")),i.createElement(B,{...e,color:"ultramarine",bg:"white",className:"c-smart-banner__btn",__self:void 0,__source:{fileName:S,lineNumber:36,columnNumber:5}},"Installer")),lo=()=>{const e=document.querySelectorAll(".c-social-bar-item__sharebar-container"),t=n=>{const o=n.target;!o||o.closest(".c-social-bar-item__sharebar-container")||o.closest(".c-social-bar-item")||(e.forEach(a=>{a.classList.add("c-social-bar-item__sharebar-container--hidden")}),document.removeEventListener("click",t))};document.addEventListener("click",t)},co=({target:e,classToToggle:t})=>{const n=document.querySelector(e);n&&n.classList.toggle(t)};var F="/home/travis/build/20minutes/hela/src/components/molecules/SocialBar/SocialItem/SocialBarItem.tsx";const be=({iconName:e,variant:t,count:n,countColor:o,sharingNetworks:a,anchor:r,dataId:l,id:s,...c})=>{const u=i.createElement(i.Fragment,null,i.createElement(T,{as:"span",className:"c-social-bar-item__icon",alignItems:"center",justifyContent:"center",bg:t==="secondary"?"grey-100":void 0,id:s,__self:void 0,__source:{fileName:F,lineNumber:32,columnNumber:7}},i.createElement(y,{size:t==="secondary"?15:20,name:e,__self:void 0,__source:{fileName:F,lineNumber:40,columnNumber:9}})),(n||n===0)&&i.createElement(E,{as:"span",size:t==="secondary"?"xxs":"xxs-2",color:t==="secondary"?"black":"white",bg:t==="primary"?o||"ultramarine":void 0,className:`c-social-bar-item__count--${t}`,__self:void 0,__source:{fileName:F,lineNumber:44,columnNumber:9}},n===0?"0":n),a&&i.createElement("div",{className:"c-social-bar-item__sharebar-container c-social-bar-item__sharebar-container--hidden",__self:void 0,__source:{fileName:F,lineNumber:55,columnNumber:9}},i.createElement(ro,{networks:a,__self:void 0,__source:{fileName:F,lineNumber:56,columnNumber:11}})));return i.createElement(T,{...c,inline:!0,alignItems:"center",className:d("c-social-bar-item",c?.className),...a&&{onClick:()=>{lo(),co({target:".c-social-bar-item__sharebar-container",classToToggle:"c-social-bar-item__sharebar-container--hidden"})}},"data-id":l,__self:void 0,__source:{fileName:F,lineNumber:63,columnNumber:5}},r?i.createElement("a",{href:`#${r}`,__self:void 0,__source:{fileName:F,lineNumber:79,columnNumber:17}},u):u)};var j="/home/travis/build/20minutes/hela/src/components/molecules/SocialBar/SocialBar.tsx";const fe=e=>{switch(e){case"card":return"secondary";case"horizontal":case"vertical":default:return"primary"}},dt=({commentCount:e,shareCount:t,variant:n="horizontal",rubricColor:o,networks:a,saveContentId:r,onReport:l,commentAnchor:s,...c})=>{const u=i.createElement(i.Fragment,null,i.createElement(be,{iconName:"comment",variant:fe(n),count:e,countColor:o,anchor:s,...n==="horizontal"&&{id:"mbrs-social-comments-container"},__self:void 0,__source:{fileName:j,lineNumber:44,columnNumber:7}}),i.createElement(be,{iconName:"share",variant:fe(n),count:t,countColor:o,sharingNetworks:n==="vertical"?a:void 0,__self:void 0,__source:{fileName:j,lineNumber:54,columnNumber:7}})),m=i.createElement(be,{iconName:"bookmark",variant:fe(n),dataId:r,"data-delayed":!0,"data-distance-visible":0,"data-event-name":"mbrs-social-save-content",__self:void 0,__source:{fileName:j,lineNumber:65,columnNumber:5}});return i.createElement(T,{...c,alignItems:"center",gap:n==="card"?"xxs":"l",direction:n==="vertical"?"column":"row",className:d("c-social-bar",{[`c-social-bar--${n}`]:n!=="card"}),bg:n==="horizontal"?"white":void 0,justifyContent:n==="card"?"between":void 0,__self:void 0,__source:{fileName:j,lineNumber:76,columnNumber:5}},n==="card"?i.createElement(T,{gap:"xxs",__self:void 0,__source:{fileName:j,lineNumber:87,columnNumber:29}},u):u,n==="vertical"&&(!!l||!!r)&&i.createElement(i.Fragment,null,i.createElement(Fn,{__self:void 0,__source:{fileName:j,lineNumber:90,columnNumber:11}}),!!r&&m,!!l&&i.createElement(be,{variant:fe(n),iconName:"report",onClick:l,__self:void 0,__source:{fileName:j,lineNumber:93,columnNumber:13}})),n==="card"&&!!r&&m)},mt=new Intl.RelativeTimeFormat("fr",{numeric:"auto"}),uo=new Intl.DateTimeFormat("fr",{year:"numeric",month:"short",day:"numeric",timeZone:"Europe/Paris"}),_o=e=>{const t=new Date().getTime(),n=new Date(e).getTime(),o=(n-t)/6e4;let a=mt.format(Math.round(o),"minutes");return o<=-60&&(a=mt.format(Math.ceil(o/60),"hours"),o<=-60*24&&(a=uo.format(n))),a};var mo=Object.defineProperty,vo=Object.defineProperties,To=Object.getOwnPropertyDescriptors,vt=Object.getOwnPropertySymbols,go=Object.prototype.hasOwnProperty,po=Object.prototype.propertyIsEnumerable,Tt=(e,t,n)=>t in e?mo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ee=(e,t)=>{for(var n in t||(t={}))go.call(t,n)&&Tt(e,n,t[n]);if(vt)for(var n of vt(t))po.call(t,n)&&Tt(e,n,t[n]);return e},Oe=(e,t)=>vo(e,To(t));const gt=({articles:e,layout:t,seeMoreLink:n})=>{const o=r=>{var l;return r.rightSubheader&&new Date((l=r.rightSubheader)==null?void 0:l.text).getTime()?Oe(ee({},r),{rightSubheader:{text:_o(r.rightSubheader.text)}}):ee({},r)};let a=i.createElement(g,null,e.map(r=>i.createElement(g,{key:r.title,className:"js-card-wrap"},i.createElement(An,{color:"grey-200",my:"s"}),i.createElement(Jn,Oe(ee({},r),{cardHeaderProps:o(r.cardHeaderProps),mx:"s"})))));return t===q.DESKTOP&&(a=i.createElement(kn,{colsNumber:2,gap:"l"},e.map(r=>i.createElement(Qn,Oe(ee({key:r.title},r),{cardHeaderProps:o(r.cardHeaderProps)}))))),i.createElement(i.Fragment,null,a,n&&i.createElement(T,{justifyContent:"center",mt:"m"},i.createElement(B,ee({variant:"secondary",as:"button"},n))))};var bo=(e=>(e.agency="agency",e.auto="auto",e.baton="baton",e.home="home",e))(bo||{}),fo=(e=>(e.partially_true="partially_true",e.rather_false="rather_false",e.rather_true="rather_true",e.really_false="really_false",e.really_true="really_true",e))(fo||{}),Eo=(e=>(e.TRUTH="TRUTH",e))(Eo||{}),ho=(e=>(e.TRUTH="TRUTH",e))(ho||{}),No=(e=>(e.COMMENTS_COUNT="COMMENTS_COUNT",e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.FPE_EDITED_AT="FPE_EDITED_AT",e.LEGACY_ID="LEGACY_ID",e.PUBLICATION_STATE_CHANGED_AT="PUBLICATION_STATE_CHANGED_AT",e.PUBLIC_EDITED_AT="PUBLIC_EDITED_AT",e.PUBLISHED_AT="PUBLISHED_AT",e.RELEVANCE="RELEVANCE",e.SCHEDULED_AT="SCHEDULED_AT",e))(No||{}),Ao=(e=>(e.CONTENT_TEXT="CONTENT_TEXT",e.ENCLOSE_TEXT="ENCLOSE_TEXT",e.SHORT_TITLE="SHORT_TITLE",e.SUMMARY_TEXT="SUMMARY_TEXT",e.TITLE="TITLE",e))(Ao||{}),wo=(e=>(e.TRUTH="TRUTH",e))(wo||{}),Ro=(e=>(e.TRUTH="TRUTH",e))(Ro||{}),Co=(e=>(e.full_width="full_width",e.three_quarters="three_quarters",e.without_illustration="without_illustration",e))(Co||{}),yo=(e=>(e.TRUTH="TRUTH",e))(yo||{}),So=(e=>(e.TRUTH="TRUTH",e))(So||{}),Do=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Do||{}),Lo=(e=>(e.TRUTH="TRUTH",e))(Lo||{}),Uo=(e=>(e.TRUTH="TRUTH",e))(Uo||{}),xo=(e=>(e.article="article",e.default="default",e.magazine="magazine",e))(xo||{}),Ho=(e=>(e.TRUTH="TRUTH",e))(Ho||{}),Io=(e=>(e.TRUTH="TRUTH",e))(Io||{}),ko=(e=>(e.CREATED_AT="CREATED_AT",e))(ko||{}),Oo=(e=>(e.TRUTH="TRUTH",e))(Oo||{}),Po=(e=>(e.TRUTH="TRUTH",e))(Po||{}),Mo=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Mo||{}),Bo=(e=>(e.TRUTH="TRUTH",e))(Bo||{}),Fo=(e=>(e.TRUTH="TRUTH",e))(Fo||{}),jo=(e=>(e.draft="draft",e.published="published",e))(jo||{}),zo=(e=>(e.disable="disable",e.enable="enable",e.pending="pending",e.refused="refused",e))(zo||{}),qo=(e=>(e.TRUTH="TRUTH",e))(qo||{}),Vo=(e=>(e.TRUTH="TRUTH",e))(Vo||{}),Go=(e=>(e.LABEL="LABEL",e))(Go||{}),Yo=(e=>(e.LA_DEPECHE="LA_DEPECHE",e.MINUTES="MINUTES",e.MINUTES_COVERMEDIA="MINUTES_COVERMEDIA",e.MINUTES_ESJPRO="MINUTES_ESJPRO",e.MINUTES_LA_NOTIF="MINUTES_LA_NOTIF",e.MINUTES_LE_REWIND="MINUTES_LE_REWIND",e.MINUTES_MAG_CATALOGUE_NOPUB="MINUTES_MAG_CATALOGUE_NOPUB",e.MINUTES_MARKET_COM_CATALOGUE_NOPUB="MINUTES_MARKET_COM_CATALOGUE_NOPUB",e.MINUTES_OMF="MINUTES_OMF",e.MINUTES_PODCASTS="MINUTES_PODCASTS",e.MINUTES_PRODUCTION="MINUTES_PRODUCTION",e.MINUTES_PRODUCTION_PLAYLIST="MINUTES_PRODUCTION_PLAYLIST",e.MINUTES_SORTIES_CINEMA="MINUTES_SORTIES_CINEMA",e.MINUTES_TIKTOK="MINUTES_TIKTOK",e.OUEST_FRANCE="OUEST_FRANCE",e))(Yo||{}),Ko=(e=>(e.TRUTH="TRUTH",e))(Ko||{}),Xo=(e=>(e.TRUTH="TRUTH",e))(Xo||{}),Wo=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Wo||{}),Jo=(e=>(e.TRUTH="TRUTH",e))(Jo||{}),Qo=(e=>(e.TRUTH="TRUTH",e))(Qo||{}),Zo=(e=>(e.disable="disable",e.enable="enable",e.pending="pending",e.spam="spam",e))(Zo||{}),$o=(e=>(e.TRUTH="TRUTH",e))($o||{}),ei=(e=>(e.TRUTH="TRUTH",e))(ei||{}),ti=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.SLUG="SLUG",e))(ti||{}),ni=(e=>(e.TRUTH="TRUTH",e))(ni||{}),oi=(e=>(e.TRUTH="TRUTH",e))(oi||{}),ii=(e=>(e.auto_tagged="auto_tagged",e.breaking_news="breaking_news",e.content_link="content_link",e.exit_home="exit_home",e.most_shared="most_shared",e.on_home="on_home",e.pushed="pushed",e))(ii||{}),ai=(e=>(e.TRUTH="TRUTH",e))(ai||{}),ri=(e=>(e.TRUTH="TRUTH",e))(ri||{}),si=(e=>(e.CREATED_AT="CREATED_AT",e))(si||{}),li=(e=>(e.NAME="NAME",e))(li||{}),ci=(e=>(e.NAME="NAME",e))(ci||{}),ui=(e=>(e.FORCED="FORCED",e.HIDDEN="HIDDEN",e.POPULARITY="POPULARITY",e))(ui||{}),_i=(e=>(e.TRUTH="TRUTH",e))(_i||{}),di=(e=>(e.TRUTH="TRUTH",e))(di||{}),mi=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(mi||{}),vi=(e=>(e.TRUTH="TRUTH",e))(vi||{}),Ti=(e=>(e.TRUTH="TRUTH",e))(Ti||{}),gi=(e=>(e.Article="Article",e.Live="Live",e.Story="Story",e))(gi||{}),pi=(e=>(e.DENYLISTED="DENYLISTED",e.INDEXED="INDEXED",e.UNINDEXED="UNINDEXED",e))(pi||{}),bi=(e=>(e.ad="ad",e.failover="failover",e.feature="feature",e.monitoring="monitoring",e.tracking="tracking",e))(bi||{}),fi=(e=>(e.URL_DELETED="URL_DELETED",e.URL_UPDATED="URL_UPDATED",e))(fi||{}),Ei=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.NAME="NAME",e))(Ei||{}),hi=(e=>(e.TRUTH="TRUTH",e))(hi||{}),Ni=(e=>(e.TRUTH="TRUTH",e))(Ni||{}),Ai=(e=>(e.TRUTH="TRUTH",e))(Ai||{}),wi=(e=>(e.TRUTH="TRUTH",e))(wi||{}),Ri=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Ri||{}),Ci=(e=>(e.TRUTH="TRUTH",e))(Ci||{}),yi=(e=>(e.TRUTH="TRUTH",e))(yi||{}),Si=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Si||{}),Di=(e=>(e.TRUTH="TRUTH",e))(Di||{}),Li=(e=>(e.TRUTH="TRUTH",e))(Li||{}),Ui=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Ui||{}),xi=(e=>(e.TRUTH="TRUTH",e))(xi||{}),Hi=(e=>(e.TRUTH="TRUTH",e))(Hi||{}),Ii=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Ii||{}),ki=(e=>(e.TRUTH="TRUTH",e))(ki||{}),Oi=(e=>(e.TRUTH="TRUTH",e))(Oi||{}),Pi=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Pi||{}),Mi=(e=>(e.TRUTH="TRUTH",e))(Mi||{}),Bi=(e=>(e.TRUTH="TRUTH",e))(Bi||{}),Fi=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Fi||{}),ji=(e=>(e.digiteka="digiteka",e))(ji||{}),zi=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(zi||{}),qi=(e=>(e.TRUTH="TRUTH",e))(qi||{}),Vi=(e=>(e.TRUTH="TRUTH",e))(Vi||{}),Gi=(e=>(e.CREATED_AT="CREATED_AT",e.DEPARTMENT_NUMBER="DEPARTMENT_NUMBER",e.SLUG="SLUG",e))(Gi||{}),Yi=(e=>(e.TRUTH="TRUTH",e))(Yi||{}),Ki=(e=>(e.TRUTH="TRUTH",e))(Ki||{}),Xi=(e=>(e.TRUTH="TRUTH",e))(Xi||{}),Wi=(e=>(e.TRUTH="TRUTH",e))(Wi||{}),Ji=(e=>(e.CREATED_AT="CREATED_AT",e.PUBLISHING_DATE="PUBLISHING_DATE",e))(Ji||{}),Qi=(e=>(e.TRUTH="TRUTH",e))(Qi||{}),Zi=(e=>(e.TRUTH="TRUTH",e))(Zi||{}),$i=(e=>(e.TRUTH="TRUTH",e))($i||{}),ea=(e=>(e.TRUTH="TRUTH",e))(ea||{}),ta=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(ta||{}),na=(e=>(e.TRUTH="TRUTH",e))(na||{}),oa=(e=>(e.TRUTH="TRUTH",e))(oa||{}),ia=(e=>(e.agency="agency",e.auto="auto",e.baton="baton",e.home="home",e))(ia||{}),aa=(e=>(e.TRUTH="TRUTH",e))(aa||{}),ra=(e=>(e.TRUTH="TRUTH",e))(ra||{}),sa=(e=>(e.photo="photo",e.podcast="podcast",e.video="video",e))(sa||{}),la=(e=>(e.COMMENTS_COUNT="COMMENTS_COUNT",e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.FPE_EDITED_AT="FPE_EDITED_AT",e.LEGACY_ID="LEGACY_ID",e.PUBLICATION_STATE_CHANGED_AT="PUBLICATION_STATE_CHANGED_AT",e.PUBLIC_EDITED_AT="PUBLIC_EDITED_AT",e.PUBLISHED_AT="PUBLISHED_AT",e.RELEVANCE="RELEVANCE",e.SCHEDULED_AT="SCHEDULED_AT",e))(la||{}),ca=(e=>(e.TRUTH="TRUTH",e))(ca||{}),ua=(e=>(e.TRUTH="TRUTH",e))(ua||{}),_a=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.PUBLISHED_AT="PUBLISHED_AT",e.SCHEDULED_AT="SCHEDULED_AT",e))(_a||{}),da=(e=>(e.TRUTH="TRUTH",e))(da||{}),ma=(e=>(e.TRUTH="TRUTH",e))(ma||{}),va=(e=>(e.draft="draft",e.published="published",e.scheduled="scheduled",e))(va||{}),Ta=(e=>(e.bold="bold",e.community="community",e.default="default",e.faq="faq",e.important="important",e.very_important="very_important",e))(Ta||{}),ga=(e=>(e.CONTENT_TEXT="CONTENT_TEXT",e.ENCLOSE_TEXT="ENCLOSE_TEXT",e.SUMMARY_TEXT="SUMMARY_TEXT",e.TITLE="TITLE",e))(ga||{}),pa=(e=>(e.TRUTH="TRUTH",e))(pa||{}),ba=(e=>(e.TRUTH="TRUTH",e))(ba||{}),fa=(e=>(e.closed="closed",e.open="open",e))(fa||{}),pt=(e=>(e.photo="photo",e.podcast="podcast",e.video="video",e))(pt||{}),Ea=(e=>(e.TRUTH="TRUTH",e))(Ea||{}),ha=(e=>(e.TRUTH="TRUTH",e))(ha||{}),Na=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.SORT="SORT",e))(Na||{}),Aa=(e=>(e.TRUTH="TRUTH",e))(Aa||{}),wa=(e=>(e.TRUTH="TRUTH",e))(wa||{}),Ra=(e=>(e.TRUTH="TRUTH",e))(Ra||{}),Ca=(e=>(e.TRUTH="TRUTH",e))(Ca||{}),ya=(e=>(e.CREATED_AT="CREATED_AT",e.TYPE="TYPE",e))(ya||{}),Sa=(e=>(e.TRUTH="TRUTH",e))(Sa||{}),Da=(e=>(e.TRUTH="TRUTH",e))(Da||{}),La=(e=>(e.TRUTH="TRUTH",e))(La||{}),Ua=(e=>(e.TRUTH="TRUTH",e))(Ua||{}),xa=(e=>(e.TRUTH="TRUTH",e))(xa||{}),Ha=(e=>(e.TRUTH="TRUTH",e))(Ha||{}),Ia=(e=>(e.CREATED_AT="CREATED_AT",e))(Ia||{}),ka=(e=>(e.TRUTH="TRUTH",e))(ka||{}),Oa=(e=>(e.TRUTH="TRUTH",e))(Oa||{}),Pa=(e=>(e.CREATED_AT="CREATED_AT",e.EXPECTATION_LEVEL="EXPECTATION_LEVEL",e.RELEASE_DATE="RELEASE_DATE",e.TITLE_FR="TITLE_FR",e))(Pa||{}),Ma=(e=>(e.SUMMARY_LONG="SUMMARY_LONG",e.SUMMARY_SHORT="SUMMARY_SHORT",e.TITLE="TITLE",e.TITLE_FR="TITLE_FR",e))(Ma||{}),Ba=(e=>(e.TRUTH="TRUTH",e))(Ba||{}),Fa=(e=>(e.TRUTH="TRUTH",e))(Fa||{}),ja=(e=>(e.in_theaters="in_theaters",e.last_releases="last_releases",e.soon="soon",e))(ja||{}),za=(e=>(e.TRUTH="TRUTH",e))(za||{}),qa=(e=>(e.TRUTH="TRUTH",e))(qa||{}),Va=(e=>(e.CREATED_AT="CREATED_AT",e.REVISION_DATETIME="REVISION_DATETIME",e))(Va||{}),Ga=(e=>(e.CONTENT_TEXT="CONTENT_TEXT",e.TITLE="TITLE",e))(Ga||{}),Ya=(e=>(e.TRUTH="TRUTH",e))(Ya||{}),Ka=(e=>(e.TRUTH="TRUTH",e))(Ka||{}),Xa=(e=>(e.canceled="canceled",e.usable="usable",e.withheld="withheld",e))(Xa||{}),Wa=(e=>(e.TRUTH="TRUTH",e))(Wa||{}),Ja=(e=>(e.TRUTH="TRUTH",e))(Ja||{}),Qa=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.SORT="SORT",e.TYPE="TYPE",e))(Qa||{}),Za=(e=>(e.TRUTH="TRUTH",e))(Za||{}),$a=(e=>(e.TRUTH="TRUTH",e))($a||{}),er=(e=>(e.ASC="ASC",e.DESC="DESC",e))(er||{}),tr=(e=>(e.TRUTH="TRUTH",e))(tr||{}),nr=(e=>(e.TRUTH="TRUTH",e))(nr||{}),or=(e=>(e.CREATED_AT="CREATED_AT",e))(or||{}),ir=(e=>(e.TRUTH="TRUTH",e))(ir||{}),ar=(e=>(e.TRUTH="TRUTH",e))(ar||{}),rr=(e=>(e.TRUTH="TRUTH",e))(rr||{}),sr=(e=>(e.TRUTH="TRUTH",e))(sr||{}),lr=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.PUBLICATION_DATE="PUBLICATION_DATE",e))(lr||{}),cr=(e=>(e.TRUTH="TRUTH",e))(cr||{}),ur=(e=>(e.TRUTH="TRUTH",e))(ur||{}),_r=(e=>(e.TRUTH="TRUTH",e))(_r||{}),dr=(e=>(e.TRUTH="TRUTH",e))(dr||{}),mr=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.RELEVANCE="RELEVANCE",e))(mr||{}),vr=(e=>(e.CAPTION="CAPTION",e))(vr||{}),Tr=(e=>(e.TRUTH="TRUTH",e))(Tr||{}),gr=(e=>(e.TRUTH="TRUTH",e))(gr||{}),pr=(e=>(e.AFP="AFP",e.SIPA_AP="SIPA_AP",e.SIPA_PRESS="SIPA_PRESS",e))(pr||{}),br=(e=>(e.ASC_CREATED="ASC_CREATED",e.ASC_DATE="ASC_DATE",e.DATE_CREATED="DATE_CREATED",e.PER_AGENCY="PER_AGENCY",e.RANDOM="RANDOM",e.RECEPTION_DATE="RECEPTION_DATE",e.RELEVANCE="RELEVANCE",e))(br||{}),fr=(e=>(e.TRUTH="TRUTH",e))(fr||{}),Er=(e=>(e.TRUTH="TRUTH",e))(Er||{}),hr=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(hr||{}),Nr=(e=>(e.TRUTH="TRUTH",e))(Nr||{}),Ar=(e=>(e.TRUTH="TRUTH",e))(Ar||{}),wr=(e=>(e.TRUTH="TRUTH",e))(wr||{}),Rr=(e=>(e.TRUTH="TRUTH",e))(Rr||{}),Cr=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Cr||{}),yr=(e=>(e.TRUTH="TRUTH",e))(yr||{}),Sr=(e=>(e.TRUTH="TRUTH",e))(Sr||{}),Dr=(e=>(e.podinstall="podinstall",e))(Dr||{}),Lr=(e=>(e.ask_proofreading="ask_proofreading",e.cancel_proofreading="cancel_proofreading",e.need_correction="need_correction",e.proceed_proofreading="proceed_proofreading",e.validate="validate",e))(Lr||{}),Ur=(e=>(e.correction_needed="correction_needed",e.reread="reread",e.submitted_proofreading="submitted_proofreading",e.under_proofreading="under_proofreading",e.unread="unread",e))(Ur||{}),xr=(e=>(e.delete="delete",e.froze="froze",e.publish="publish",e.schedule="schedule",e.unpublish="unpublish",e.unschedule="unschedule",e))(xr||{}),Hr=(e=>(e.deleted="deleted",e.draft="draft",e.frozen="frozen",e.published="published",e.scheduled="scheduled",e.unpublished="unpublished",e))(Hr||{}),Ir=(e=>(e.TRUTH="TRUTH",e))(Ir||{}),kr=(e=>(e.TRUTH="TRUTH",e))(kr||{}),Or=(e=>(e.COMMENTS_COUNT="COMMENTS_COUNT",e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.FACEBOOK_COUNT="FACEBOOK_COUNT",e.FPE_EDITED_AT="FPE_EDITED_AT",e.PUBLICATION_STATE_CHANGED_AT="PUBLICATION_STATE_CHANGED_AT",e.PUBLIC_EDITED_AT="PUBLIC_EDITED_AT",e.PUBLISHED_AT="PUBLISHED_AT",e.RELEVANCE="RELEVANCE",e.SCHEDULED_AT="SCHEDULED_AT",e.TOTAL_CURRENT_VISITS="TOTAL_CURRENT_VISITS",e.TOTAL_VISIT_COUNT="TOTAL_VISIT_COUNT",e))(Or||{}),Pr=(e=>(e.ARTICLE_ID="ARTICLE_ID",e.CONTENT_TEXT="CONTENT_TEXT",e.ENCLOSE_TEXT="ENCLOSE_TEXT",e.LIVE_ID="LIVE_ID",e.SHORT_TITLE="SHORT_TITLE",e.STORY_ID="STORY_ID",e.SUMMARY_TEXT="SUMMARY_TEXT",e.TITLE="TITLE",e))(Pr||{}),Mr=(e=>(e.TRUTH="TRUTH",e))(Mr||{}),Br=(e=>(e.TRUTH="TRUTH",e))(Br||{}),Fr=(e=>(e.CREATED_AT="CREATED_AT",e.DATE="DATE",e.EDITED_AT="EDITED_AT",e.NAME="NAME",e.TYPE="TYPE",e))(Fr||{}),jr=(e=>(e.TRUTH="TRUTH",e))(jr||{}),zr=(e=>(e.TRUTH="TRUTH",e))(zr||{}),qr=(e=>(e.error="error",e.partial="partial",e.pending="pending",e.processing="processing",e.published="published",e.scheduled="scheduled",e))(qr||{}),Vr=(e=>(e.content="content",e.horoscope="horoscope",e.pdf="pdf",e))(Vr||{}),Gr=(e=>(e.android="android",e.app_mobile="app_mobile",e.ios="ios",e.kiosque_ios="kiosque_ios",e.mail="mail",e.messenger="messenger",e.web="web",e))(Gr||{}),Yr=(e=>(e.TRUTH="TRUTH",e))(Yr||{}),Kr=(e=>(e.TRUTH="TRUTH",e))(Kr||{}),Xr=(e=>(e.auto="auto",e.manual="manual",e))(Xr||{}),Wr=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.PUBLISHED_AT="PUBLISHED_AT",e.TITLE="TITLE",e))(Wr||{}),Jr=(e=>(e.error="error",e.partial="partial",e.processing="processing",e))(Jr||{}),Qr=(e=>(e.pending="pending",e.published="published",e.scheduled="scheduled",e))(Qr||{}),Zr=(e=>(e.error="error",e.partial="partial",e.planned="planned",e.processed="processed",e.processing="processing",e))(Zr||{}),$r=(e=>(e.angry="angry",e.heart="heart",e.interesting="interesting",e.laughing="laughing",e.sad="sad",e.shock="shock",e.solidary="solidary",e))($r||{}),es=(e=>(e.TRUTH="TRUTH",e))(es||{}),ts=(e=>(e.TRUTH="TRUTH",e))(ts||{}),ns=(e=>(e.CREATED_AT="CREATED_AT",e))(ns||{}),os=(e=>(e.GONE="GONE",e.PERMANENT="PERMANENT",e.TEMPORARY="TEMPORARY",e))(os||{}),is=(e=>(e.TRUTH="TRUTH",e))(is||{}),as=(e=>(e.TRUTH="TRUTH",e))(as||{}),rs=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.HTTP_STATUS="HTTP_STATUS",e))(rs||{}),ss=(e=>(e.TRUTH="TRUTH",e))(ss||{}),ls=(e=>(e.TRUTH="TRUTH",e))(ls||{}),cs=(e=>(e.NAME="NAME",e))(cs||{}),us=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(us||{}),_s=(e=>(e.mixed="mixed",e.negative="negative",e.neutral="neutral",e.positive="positive",e))(_s||{}),ds=(e=>(e.NAME="NAME",e))(ds||{}),ms=(e=>(e.TRUTH="TRUTH",e))(ms||{}),vs=(e=>(e.TRUTH="TRUTH",e))(vs||{}),Ts=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.SORT="SORT",e))(Ts||{}),gs=(e=>(e.TRUTH="TRUTH",e))(gs||{}),ps=(e=>(e.TRUTH="TRUTH",e))(ps||{}),bs=(e=>(e.custom="custom",e.full_name="full_name",e.initials="initials",e.initials_with_afp="initials_with_afp",e.interview_name="interview_name",e.mn_with_afp="mn_with_afp",e.mn_with_agencies="mn_with_agencies",e))(bs||{}),fs=(e=>(e.breaking_news="breaking_news",e.community="community",e.default="default",e.exclusive="exclusive",e.info_series="info_series",e.magazine="magazine",e))(fs||{}),Es=(e=>(e.COMPREHEND="COMPREHEND",e.DIGITEKA="DIGITEKA",e.DYNAMO="DYNAMO",e.ELASTIC="ELASTIC",e.OPENSEARCH="OPENSEARCH",e.PIXPALACE="PIXPALACE",e.STATIC="STATIC",e))(Es||{}),hs=(e=>(e.agency="agency",e.auto="auto",e.baton="baton",e.home="home",e))(hs||{}),Ns=(e=>(e.TRUTH="TRUTH",e))(Ns||{}),As=(e=>(e.TRUTH="TRUTH",e))(As||{}),ws=(e=>(e.COMMENTS_COUNT="COMMENTS_COUNT",e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.FPE_EDITED_AT="FPE_EDITED_AT",e.PUBLICATION_STATE_CHANGED_AT="PUBLICATION_STATE_CHANGED_AT",e.PUBLIC_EDITED_AT="PUBLIC_EDITED_AT",e.PUBLISHED_AT="PUBLISHED_AT",e.RELEVANCE="RELEVANCE",e.SCHEDULED_AT="SCHEDULED_AT",e))(ws||{}),Rs=(e=>(e.TRUTH="TRUTH",e))(Rs||{}),Cs=(e=>(e.TRUTH="TRUTH",e))(Cs||{}),ys=(e=>(e.PAGE_ORDER="PAGE_ORDER",e))(ys||{}),Ss=(e=>(e.TRUTH="TRUTH",e))(Ss||{}),Ds=(e=>(e.TRUTH="TRUTH",e))(Ds||{}),Ls=(e=>(e.CONTENT_TEXT="CONTENT_TEXT",e.SHORT_TITLE="SHORT_TITLE",e.TITLE="TITLE",e))(Ls||{}),Us=(e=>(e.TRUTH="TRUTH",e))(Us||{}),xs=(e=>(e.TRUTH="TRUTH",e))(xs||{}),Hs=(e=>(e.NAME="NAME",e))(Hs||{}),Is=(e=>(e.TRUTH="TRUTH",e))(Is||{}),ks=(e=>(e.TRUTH="TRUTH",e))(ks||{}),Os=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.KEEP_ORDER="KEEP_ORDER",e.LABEL="LABEL",e.LEGACY_ID="LEGACY_ID",e.PARENT_ID="PARENT_ID",e.POPULARITY="POPULARITY",e.RELEVANCE="RELEVANCE",e.SLUG="SLUG",e))(Os||{}),Ps=(e=>(e.LABEL="LABEL",e))(Ps||{}),Ms=(e=>(e.TRUTH="TRUTH",e))(Ms||{}),Bs=(e=>(e.TRUTH="TRUTH",e))(Bs||{}),Fs=(e=>(e.LABEL="LABEL",e.SECTION="SECTION",e.THEME="THEME",e))(Fs||{}),js=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.EMAIL="EMAIL",e.FIRSTNAME="FIRSTNAME",e.INITIALS="INITIALS",e.LASTNAME="LASTNAME",e.USERNAME="USERNAME",e))(js||{}),zs=(e=>(e.FIRSTNAME="FIRSTNAME",e.LASTNAME="LASTNAME",e.USERNAME="USERNAME",e))(zs||{}),qs=(e=>(e.TRUTH="TRUTH",e))(qs||{}),Vs=(e=>(e.TRUTH="TRUTH",e))(Vs||{}),Gs=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(Gs||{}),Ys=(e=>(e.TRUTH="TRUTH",e))(Ys||{}),Ks=(e=>(e.TRUTH="TRUTH",e))(Ks||{}),Xs=(e=>(e.TRUTH="TRUTH",e))(Xs||{}),Ws=(e=>(e.TRUTH="TRUTH",e))(Ws||{}),Js=(e=>(e.BOOK_REVIEW_SUBSCRIBED_AT="BOOK_REVIEW_SUBSCRIBED_AT",e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e.EMAIL="EMAIL",e.FIRSTNAME="FIRSTNAME",e.LASTNAME="LASTNAME",e.USERNAME="USERNAME",e))(Js||{}),Qs=(e=>(e.TRUTH="TRUTH",e))(Qs||{}),Zs=(e=>(e.TRUTH="TRUTH",e))(Zs||{}),$s=(e=>(e.TRUTH="TRUTH",e))($s||{}),el=(e=>(e.TRUTH="TRUTH",e))(el||{}),tl=(e=>(e.CREATED_AT="CREATED_AT",e))(tl||{}),nl=(e=>(e.LABEL="LABEL",e))(nl||{}),ol=(e=>(e.TRUTH="TRUTH",e))(ol||{}),il=(e=>(e.TRUTH="TRUTH",e))(il||{}),al=(e=>(e.CREATED_AT="CREATED_AT",e.EDITED_AT="EDITED_AT",e))(al||{}),rl=(e=>(e.LAST="LAST",e.SEARCH="SEARCH",e.TOP="TOP",e))(rl||{}),sl=(e=>(e.TRUTH="TRUTH",e))(sl||{}),ll=(e=>(e.TRUTH="TRUTH",e))(ll||{}),cl=(e=>(e.digiteka="digiteka",e))(cl||{}),ul=(e=>(e.delivering="delivering",e.rejected="rejected",e.validated="validated",e.waiting="waiting",e))(ul||{}),_l=(e=>(e.bd="bd",e.classic="classic",e.detective_novel="detective_novel",e.erotic="erotic",e.fantastic="fantastic",e.fantasy="fantasy",e.historical_fiction="historical_fiction",e.horror="horror",e.literature="literature",e.road_book="road_book",e.romance="romance",e.sf="sf",e.thriller="thriller",e.young_adult="young_adult",e.youth="youth",e))(_l||{}),dl=(e=>(e.ain="ain",e.aisne="aisne",e.allier="allier",e.alpes_de_haute_provence="alpes_de_haute_provence",e.alpes_maritimes="alpes_maritimes",e.ardeche="ardeche",e.ardennes="ardennes",e.ariege="ariege",e.aube="aube",e.aude="aude",e.aveyron="aveyron",e.bas_rhin="bas_rhin",e.bouches_du_rhone="bouches_du_rhone",e.calvados="calvados",e.cantal="cantal",e.charente="charente",e.charente_maritime="charente_maritime",e.cher="cher",e.correze="correze",e.corse_du_sud="corse_du_sud",e.cote_d_or="cote_d_or",e.cotes_d_armor="cotes_d_armor",e.creuse="creuse",e.deux_sevres="deux_sevres",e.dordogne="dordogne",e.doubs="doubs",e.drome="drome",e.essonne="essonne",e.eure="eure",e.eure_et_loir="eure_et_loir",e.finistere="finistere",e.gard="gard",e.gers="gers",e.gironde="gironde",e.guadeloupe="guadeloupe",e.guyane="guyane",e.haut_rhin="haut_rhin",e.haute_corse="haute_corse",e.haute_garonne="haute_garonne",e.haute_loire="haute_loire",e.haute_marne="haute_marne",e.haute_saone="haute_saone",e.haute_savoie="haute_savoie",e.haute_vienne="haute_vienne",e.hautes_alpes="hautes_alpes",e.hautes_pyrenees="hautes_pyrenees",e.hauts_de_seine="hauts_de_seine",e.herault="herault",e.ille_et_vilaine="ille_et_vilaine",e.indre="indre",e.indre_et_loire="indre_et_loire",e.isere="isere",e.jura="jura",e.la_reunion="la_reunion",e.landes="landes",e.loir_et_cher="loir_et_cher",e.loire="loire",e.loire_atlantique="loire_atlantique",e.loiret="loiret",e.lot="lot",e.lot_et_garonne="lot_et_garonne",e.lozere="lozere",e.maine_et_loire="maine_et_loire",e.manche="manche",e.marne="marne",e.martinique="martinique",e.mayenne="mayenne",e.mayotte="mayotte",e.meurthe_et_moselle="meurthe_et_moselle",e.meuse="meuse",e.morbihan="morbihan",e.moselle="moselle",e.nievre="nievre",e.nord="nord",e.oise="oise",e.orne="orne",e.paris="paris",e.pas_de_calais="pas_de_calais",e.puy_de_dome="puy_de_dome",e.pyrenees_atlantiques="pyrenees_atlantiques",e.pyrenees_orientales="pyrenees_orientales",e.rhone="rhone",e.saone_et_loire="saone_et_loire",e.sarthe="sarthe",e.savoie="savoie",e.seine_et_marne="seine_et_marne",e.seine_maritime="seine_maritime",e.seine_st_denis="seine_st_denis",e.somme="somme",e.tarn="tarn",e.tarn_et_garonne="tarn_et_garonne",e.territoire_de_belfort="territoire_de_belfort",e.val_d_oise="val_d_oise",e.val_de_marne="val_de_marne",e.var="var",e.vaucluse="vaucluse",e.vendee="vendee",e.vienne="vienne",e.vosges="vosges",e.yonne="yonne",e.yvelines="yvelines",e))(dl||{}),ml=(e=>(e.authorized="authorized",e.unauthorized="unauthorized",e))(ml||{}),vl=(e=>(e.ain="ain",e.aisne="aisne",e.allier="allier",e.alpes_de_haute_provence="alpes_de_haute_provence",e.alpes_maritimes="alpes_maritimes",e.ardeche="ardeche",e.ardennes="ardennes",e.ariege="ariege",e.aube="aube",e.aude="aude",e.aveyron="aveyron",e.bas_rhin="bas_rhin",e.bouches_du_rhone="bouches_du_rhone",e.calvados="calvados",e.cantal="cantal",e.charente="charente",e.charente_maritime="charente_maritime",e.cher="cher",e.correze="correze",e.corse_du_sud="corse_du_sud",e.cote_d_or="cote_d_or",e.cotes_d_armor="cotes_d_armor",e.creuse="creuse",e.deux_sevres="deux_sevres",e.dordogne="dordogne",e.doubs="doubs",e.drome="drome",e.essonne="essonne",e.eure="eure",e.eure_et_loir="eure_et_loir",e.finistere="finistere",e.gard="gard",e.gers="gers",e.gironde="gironde",e.guadeloupe="guadeloupe",e.guyane="guyane",e.haut_rhin="haut_rhin",e.haute_corse="haute_corse",e.haute_garonne="haute_garonne",e.haute_loire="haute_loire",e.haute_marne="haute_marne",e.haute_saone="haute_saone",e.haute_savoie="haute_savoie",e.haute_vienne="haute_vienne",e.hautes_alpes="hautes_alpes",e.hautes_pyrenees="hautes_pyrenees",e.hauts_de_seine="hauts_de_seine",e.herault="herault",e.ille_et_vilaine="ille_et_vilaine",e.indre="indre",e.indre_et_loire="indre_et_loire",e.isere="isere",e.jura="jura",e.la_reunion="la_reunion",e.landes="landes",e.loir_et_cher="loir_et_cher",e.loire="loire",e.loire_atlantique="loire_atlantique",e.loiret="loiret",e.lot="lot",e.lot_et_garonne="lot_et_garonne",e.lozere="lozere",e.maine_et_loire="maine_et_loire",e.manche="manche",e.marne="marne",e.martinique="martinique",e.mayenne="mayenne",e.mayotte="mayotte",e.meurthe_et_moselle="meurthe_et_moselle",e.meuse="meuse",e.morbihan="morbihan",e.moselle="moselle",e.nievre="nievre",e.nord="nord",e.oise="oise",e.orne="orne",e.paris="paris",e.pas_de_calais="pas_de_calais",e.puy_de_dome="puy_de_dome",e.pyrenees_atlantiques="pyrenees_atlantiques",e.pyrenees_orientales="pyrenees_orientales",e.rhone="rhone",e.saone_et_loire="saone_et_loire",e.sarthe="sarthe",e.savoie="savoie",e.seine_et_marne="seine_et_marne",e.seine_maritime="seine_maritime",e.seine_st_denis="seine_st_denis",e.somme="somme",e.tarn="tarn",e.tarn_et_garonne="tarn_et_garonne",e.territoire_de_belfort="territoire_de_belfort",e.val_d_oise="val_d_oise",e.val_de_marne="val_de_marne",e.var="var",e.vaucluse="vaucluse",e.vendee="vendee",e.vienne="vienne",e.vosges="vosges",e.yonne="yonne",e.yvelines="yvelines",e))(vl||{}),Tl=(e=>(e.quotidien="quotidien",e.special="special",e.supplement="supplement",e))(Tl||{}),gl=(e=>(e.female="female",e.male="male",e.other="other",e))(gl||{}),pl=(e=>(e.journalist="journalist",e.spellingchecker="spellingchecker",e))(pl||{}),bl=(e=>(e.chinese="chinese",e.zodiac="zodiac",e))(bl||{}),fl=(e=>(e.dl="dl",e.dl_ins="dl_ins",e.dl_nom="dl_nom",e.dl_suc="dl_suc",e.rm="rm",e.vi="vi",e.vj="vj",e.vj_al="vj_al",e.vj_as="vj_as",e.vs_ac="vs_ac",e.vs_add="vs_add",e.vs_adm="vs_adm",e.vs_ag="vs_ag",e.vs_bil="vs_bil",e.vs_cac="vs_cac",e.vs_cap="vs_cap",e.vs_ces="vs_ces",e.vs_cli="vs_cli",e.vs_co="vs_co",e.vs_dc="vs_dc",e.vs_den="vs_den",e.vs_dg="vs_dg",e.vs_dis="vs_dis",e.vs_dur="vs_dur",e.vs_flg="vs_flg",e.vs_fu="vs_fu",e.vs_ger="vs_ger",e.vs_lg="vs_lg",e.vs_nd="vs_nd",e.vs_obj="vs_obj",e.vs_rec="vs_rec",e.vs_trf="vs_trf",e.vs_tss="vs_tss",e.vs_tup="vs_tup",e))(fl||{}),El=(e=>(e.bordeaux="bordeaux",e.lille="lille",e.lyon="lyon",e.marseille="marseille",e.montpellier="montpellier",e.nantes="nantes",e.nice="nice",e.paris="paris",e.rennes="rennes",e.strasbourg="strasbourg",e.toulouse="toulouse",e))(El||{}),hl=(e=>(e.cast="cast",e.crew="crew",e))(hl||{}),Nl=(e=>(e.photo="photo",e.poster="poster",e.video="video",e))(Nl||{}),Al=(e=>(e.nl_13h="nl_13h",e.nl_18h="nl_18h",e.nl_alert="nl_alert",e.nl_bonplan="nl_bonplan",e.nl_buzz="nl_buzz",e.nl_economie="nl_economie",e.nl_elections="nl_elections",e.nl_fakeoff="nl_fakeoff",e.nl_games="nl_games",e.nl_hightech="nl_hightech",e.nl_horoscope="nl_horoscope",e.nl_inclusive="nl_inclusive",e.nl_locales="nl_locales",e.nl_maison="nl_maison",e.nl_matinale="nl_matinale",e.nl_pdf="nl_pdf",e.nl_pdf_locales="nl_pdf_locales",e.nl_pop="nl_pop",e.nl_serieux="nl_serieux",e.nl_solutions="nl_solutions",e.nl_sport="nl_sport",e))(Al||{}),wl=(e=>(e.community="community",e.default="default",e.economy="economy",e.entertainment="entertainment",e.highlight="highlight",e.hightech="hightech",e.media="media",e.partner="partner",e.planet="planet",e.sport="sport",e.weird="weird",e))(wl||{}),Rl=(e=>(e.evenementielle="evenementielle",e.generaliste="generaliste",e.thematique="thematique",e))(Rl||{}),Cl=(e=>(e.vingtminutes_app_android_commentaires_apple="vingtminutes_app_android_commentaires_apple",e.vingtminutes_app_android_commentaires_facebook="vingtminutes_app_android_commentaires_facebook",e.vingtminutes_app_android_commentaires_google="vingtminutes_app_android_commentaires_google",e.vingtminutes_app_android_commentaires_organique="vingtminutes_app_android_commentaires_organique",e.vingtminutes_app_android_commentaires_passmedia="vingtminutes_app_android_commentaires_passmedia",e.vingtminutes_app_android_membre_apple="vingtminutes_app_android_membre_apple",e.vingtminutes_app_android_membre_facebook="vingtminutes_app_android_membre_facebook",e.vingtminutes_app_android_membre_google="vingtminutes_app_android_membre_google",e.vingtminutes_app_android_membre_organique="vingtminutes_app_android_membre_organique",e.vingtminutes_app_android_membre_passmedia="vingtminutes_app_android_membre_passmedia",e.vingtminutes_app_ios_commentaires_apple="vingtminutes_app_ios_commentaires_apple",e.vingtminutes_app_ios_commentaires_facebook="vingtminutes_app_ios_commentaires_facebook",e.vingtminutes_app_ios_commentaires_google="vingtminutes_app_ios_commentaires_google",e.vingtminutes_app_ios_commentaires_organique="vingtminutes_app_ios_commentaires_organique",e.vingtminutes_app_ios_commentaires_passmedia="vingtminutes_app_ios_commentaires_passmedia",e.vingtminutes_app_ios_membre_apple="vingtminutes_app_ios_membre_apple",e.vingtminutes_app_ios_membre_facebook="vingtminutes_app_ios_membre_facebook",e.vingtminutes_app_ios_membre_google="vingtminutes_app_ios_membre_google",e.vingtminutes_app_ios_membre_organique="vingtminutes_app_ios_membre_organique",e.vingtminutes_app_ios_membre_passmedia="vingtminutes_app_ios_membre_passmedia",e.vingtminutes_web_abonner_journaliste_apple="vingtminutes_web_abonner_journaliste_apple",e.vingtminutes_web_abonner_journaliste_facebook="vingtminutes_web_abonner_journaliste_facebook",e.vingtminutes_web_abonner_journaliste_google="vingtminutes_web_abonner_journaliste_google",e.vingtminutes_web_abonner_journaliste_organique="vingtminutes_web_abonner_journaliste_organique",e.vingtminutes_web_abonner_journaliste_passmedia="vingtminutes_web_abonner_journaliste_passmedia",e.vingtminutes_web_abonner_tag_apple="vingtminutes_web_abonner_tag_apple",e.vingtminutes_web_abonner_tag_facebook="vingtminutes_web_abonner_tag_facebook",e.vingtminutes_web_abonner_tag_google="vingtminutes_web_abonner_tag_google",e.vingtminutes_web_abonner_tag_organique="vingtminutes_web_abonner_tag_organique",e.vingtminutes_web_abonner_tag_passmedia="vingtminutes_web_abonner_tag_passmedia",e.vingtminutes_web_adl_performance="vingtminutes_web_adl_performance",e.vingtminutes_web_base_and_co="vingtminutes_web_base_and_co",e.vingtminutes_web_captain_traffic="vingtminutes_web_captain_traffic",e.vingtminutes_web_commentaires_apple="vingtminutes_web_commentaires_apple",e.vingtminutes_web_commentaires_facebook="vingtminutes_web_commentaires_facebook",e.vingtminutes_web_commentaires_google="vingtminutes_web_commentaires_google",e.vingtminutes_web_commentaires_organique="vingtminutes_web_commentaires_organique",e.vingtminutes_web_commentaires_passmedia="vingtminutes_web_commentaires_passmedia",e.vingtminutes_web_communaute_livres_apple="vingtminutes_web_communaute_livres_apple",e.vingtminutes_web_communaute_livres_facebook="vingtminutes_web_communaute_livres_facebook",e.vingtminutes_web_communaute_livres_google="vingtminutes_web_communaute_livres_google",e.vingtminutes_web_communaute_livres_organique="vingtminutes_web_communaute_livres_organique",e.vingtminutes_web_communaute_livres_passmedia="vingtminutes_web_communaute_livres_passmedia",e.vingtminutes_web_cookies_banner_apple="vingtminutes_web_cookies_banner_apple",e.vingtminutes_web_cookies_banner_facebook="vingtminutes_web_cookies_banner_facebook",e.vingtminutes_web_cookies_banner_google="vingtminutes_web_cookies_banner_google",e.vingtminutes_web_cookies_banner_organique="vingtminutes_web_cookies_banner_organique",e.vingtminutes_web_cookies_banner_passmedia="vingtminutes_web_cookies_banner_passmedia",e.vingtminutes_web_correcteur_apple="vingtminutes_web_correcteur_apple",e.vingtminutes_web_correcteur_facebook="vingtminutes_web_correcteur_facebook",e.vingtminutes_web_correcteur_google="vingtminutes_web_correcteur_google",e.vingtminutes_web_correcteur_organique="vingtminutes_web_correcteur_organique",e.vingtminutes_web_correcteur_passmedia="vingtminutes_web_correcteur_passmedia",e.vingtminutes_web_dark_mode_apple="vingtminutes_web_dark_mode_apple",e.vingtminutes_web_dark_mode_facebook="vingtminutes_web_dark_mode_facebook",e.vingtminutes_web_dark_mode_google="vingtminutes_web_dark_mode_google",e.vingtminutes_web_dark_mode_organique="vingtminutes_web_dark_mode_organique",e.vingtminutes_web_dark_mode_passmedia="vingtminutes_web_dark_mode_passmedia",e.vingtminutes_web_datawork="vingtminutes_web_datawork",e.vingtminutes_web_debat_apple="vingtminutes_web_debat_apple",e.vingtminutes_web_debat_facebook="vingtminutes_web_debat_facebook",e.vingtminutes_web_debat_google="vingtminutes_web_debat_google",e.vingtminutes_web_debat_organique="vingtminutes_web_debat_organique",e.vingtminutes_web_debat_passmedia="vingtminutes_web_debat_passmedia",e.vingtminutes_web_embed_newsletters="vingtminutes_web_embed_newsletters",e.vingtminutes_web_google_one_tap="vingtminutes_web_google_one_tap",e.vingtminutes_web_horoscope_apple="vingtminutes_web_horoscope_apple",e.vingtminutes_web_horoscope_facebook="vingtminutes_web_horoscope_facebook",e.vingtminutes_web_horoscope_google="vingtminutes_web_horoscope_google",e.vingtminutes_web_horoscope_organique="vingtminutes_web_horoscope_organique",e.vingtminutes_web_horoscope_passmedia="vingtminutes_web_horoscope_passmedia",e.vingtminutes_web_ividence="vingtminutes_web_ividence",e.vingtminutes_web_jeux_concours_apple="vingtminutes_web_jeux_concours_apple",e.vingtminutes_web_jeux_concours_facebook="vingtminutes_web_jeux_concours_facebook",e.vingtminutes_web_jeux_concours_google="vingtminutes_web_jeux_concours_google",e.vingtminutes_web_jeux_concours_organique="vingtminutes_web_jeux_concours_organique",e.vingtminutes_web_jeux_concours_passmedia="vingtminutes_web_jeux_concours_passmedia",e.vingtminutes_web_loginwall_apple="vingtminutes_web_loginwall_apple",e.vingtminutes_web_loginwall_facebook="vingtminutes_web_loginwall_facebook",e.vingtminutes_web_loginwall_google="vingtminutes_web_loginwall_google",e.vingtminutes_web_loginwall_organique="vingtminutes_web_loginwall_organique",e.vingtminutes_web_loginwall_passmedia="vingtminutes_web_loginwall_passmedia",e.vingtminutes_web_membre_apple="vingtminutes_web_membre_apple",e.vingtminutes_web_membre_facebook="vingtminutes_web_membre_facebook",e.vingtminutes_web_membre_google="vingtminutes_web_membre_google",e.vingtminutes_web_membre_organique="vingtminutes_web_membre_organique",e.vingtminutes_web_membre_passmedia="vingtminutes_web_membre_passmedia",e.vingtminutes_web_old_newsletters="vingtminutes_web_old_newsletters",e.vingtminutes_web_openask="vingtminutes_web_openask",e.vingtminutes_web_page_newsletters_apple="vingtminutes_web_page_newsletters_apple",e.vingtminutes_web_page_newsletters_facebook="vingtminutes_web_page_newsletters_facebook",e.vingtminutes_web_page_newsletters_google="vingtminutes_web_page_newsletters_google",e.vingtminutes_web_page_newsletters_organique="vingtminutes_web_page_newsletters_organique",e.vingtminutes_web_page_newsletters_passmedia="vingtminutes_web_page_newsletters_passmedia",e.vingtminutes_web_sauvegarder_article_apple="vingtminutes_web_sauvegarder_article_apple",e.vingtminutes_web_sauvegarder_article_facebook="vingtminutes_web_sauvegarder_article_facebook",e.vingtminutes_web_sauvegarder_article_google="vingtminutes_web_sauvegarder_article_google",e.vingtminutes_web_sauvegarder_article_organique="vingtminutes_web_sauvegarder_article_organique",e.vingtminutes_web_sauvegarder_article_passmedia="vingtminutes_web_sauvegarder_article_passmedia",e.vingtminutes_web_scorecast_apple="vingtminutes_web_scorecast_apple",e.vingtminutes_web_scorecast_facebook="vingtminutes_web_scorecast_facebook",e.vingtminutes_web_scorecast_google="vingtminutes_web_scorecast_google",e.vingtminutes_web_scorecast_organique="vingtminutes_web_scorecast_organique",e.vingtminutes_web_scorecast_passmedia="vingtminutes_web_scorecast_passmedia",e.vingtminutes_web_video_auto_play_apple="vingtminutes_web_video_auto_play_apple",e.vingtminutes_web_video_auto_play_facebook="vingtminutes_web_video_auto_play_facebook",e.vingtminutes_web_video_auto_play_google="vingtminutes_web_video_auto_play_google",e.vingtminutes_web_video_auto_play_organique="vingtminutes_web_video_auto_play_organique",e.vingtminutes_web_video_auto_play_passmedia="vingtminutes_web_video_auto_play_passmedia",e.vingtminutes_web_widget_newsletters="vingtminutes_web_widget_newsletters",e))(Cl||{}),yl=(e=>(e.custom="custom",e.full_name="full_name",e.initials="initials",e.initials_with_afp="initials_with_afp",e.interview_name="interview_name",e.mn_with_afp="mn_with_afp",e.mn_with_agencies="mn_with_agencies",e))(yl||{}),Sl=(e=>(e.magazine="magazine",e.production="production",e.publicommunique="publicommunique",e))(Sl||{}),Dl=(e=>(e.actu_culture="actu_culture",e.actu_generale="actu_generale",e.audio="audio",e.bordeaux="bordeaux",e.chaud="chaud",e.culture="culture",e.diff_info="diff_info",e.edition="edition",e.lille="lille",e.lyon="lyon",e.magazine="magazine",e.marseille="marseille",e.montpellier="montpellier",e.nantes="nantes",e.nice="nice",e.paris="paris",e.photo="photo",e.redchefs="redchefs",e.rennes="rennes",e.sports="sports",e.strasbourg="strasbourg",e.toulouse="toulouse",e.video="video",e))(Dl||{}),Ll=(e=>(e.custom="custom",e.full_name="full_name",e.initials="initials",e.initials_with_afp="initials_with_afp",e.interview_name="interview_name",e.mn_with_afp="mn_with_afp",e.mn_with_agencies="mn_with_agencies",e))(Ll||{}),Ul=(e=>(e.diapo="diapo",e.newsletter="newsletter",e.story="story",e))(Ul||{}),xl=(e=>(e.app="app",e.desktop="desktop",e.mobile="mobile",e))(xl||{}),Hl=(e=>(e.archived="archived",e.banned="banned",e.confirmed="confirmed",e.unconfirmed="unconfirmed",e.unknown="unknown",e))(Hl||{});const Il=e=>{const t=n=>`${n}`.padStart(2,"0");return`${t(Math.floor(e/60))}:${t(e-Math.floor(e/60)*60)}`},kl=e=>typeof window>"u"&&typeof Buffer<"u"?Buffer.from(e,"base64").toString("utf-8"):decodeURIComponent(escape(window?.atob(e))),Ol=e=>{const t=kl(e).split(":");return t.length===2?t[1]:""},Pl=({medias:e,imgEndpoint:t})=>{let n="";return e?.forEach(o=>{var a,r,l,s,c,u;if(o?.illustration===!0&&o?.type==="photo"&&(r=(a=o?.photo)==null?void 0:a.node)!=null&&r.id){const m=(s=(l=o.photo)==null?void 0:l.node)!=null&&s.slug?`%format_${(u=(c=o.photo)==null?void 0:c.node)==null?void 0:u.slug}`:"%format";n=`${t}/${Ol(o.photo.node.id)}/${m}`}}),n},Ml=({medias:e,iconSize:t})=>{let n;return e?.forEach(o=>{var a,r;if(o?.type==="podcast"&&(n={caption:{iconName:"podcast",size:t}}),o?.type==="video"){const l=(a=o?.video)!=null&&a.duration?Number((r=o?.video)==null?void 0:r.duration):null;n={caption:{iconName:"video",size:t,text:l?Il(l):""}}}}),n},Bl=(e,t=!0)=>e&&bn.includes(e)?`${e}`:t?"default":void 0;var Fl=Object.defineProperty,bt=Object.getOwnPropertySymbols,jl=Object.prototype.hasOwnProperty,zl=Object.prototype.propertyIsEnumerable,ft=(e,t,n)=>t in e?Fl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ql=(e,t)=>{for(var n in t||(t={}))jl.call(t,n)&&ft(e,n,t[n]);if(bt)for(var n of bt(t))zl.call(t,n)&&ft(e,n,t[n]);return e};const Vl=({layout:e,pageEndpoint:t,imgEndpoint:n,data:o})=>{var a,r,l,s,c,u;return(u=((c=(s=(l=(r=(a=o?.brand)==null?void 0:a.node)==null?void 0:r.tag)==null?void 0:l.node)==null?void 0:s.publishableContents)==null?void 0:c.edges)||[])==null?void 0:u.reduce((m,_)=>{var h,b,p,w,D,M,z,L,H,I,te,ne,oe,ie,ae,re,k,Re,N;if(!((h=_?.node)!=null&&h.title)||!((b=_?.node)!=null&&b.label)||!((p=_?.node)!=null&&p.url)||!((w=_?.node)!=null&&w.medias)&&!((M=(D=_?.node)==null?void 0:D.photo)!=null&&M.node))return m;let K=(z=_.node.medias)!=null?z:[];return((L=_?.node)==null?void 0:L.editorial_model)==="Story"&&(I=(H=_?.node)==null?void 0:H.photo)!=null&&I.node&&(K=[{type:pt.photo,illustration:!0,photo:_.node.photo,legend:(te=_.node.photo.node)==null?void 0:te.caption}]),m.push({link:new URL(_.node.url,t).href,title:_.node.short_title||_.node.title,cardImageProps:ql({cover:Pl({medias:K,imgEndpoint:n})},Ml({medias:K,iconSize:e===q.MOBILE?"small":"medium"})),cardHeaderProps:{headline:{text:_.node.label,color:Bl((ie=(oe=(ne=_?.node)==null?void 0:ne.rubric)==null?void 0:oe.node)==null?void 0:ie.theme)},rightSubheader:{text:_.node.published_at||""}},cardTitleProps:{cartridge:((ae=_?.node)==null?void 0:ae.editorial_model)==="Live"?"live":void 0},socialBarProps:{commentCount:(re=_.node.comments_count)!=null?re:0,shareCount:(k=_.node.facebook_count)!=null?k:0,saveContentId:(N=(Re=_.node)==null?void 0:Re.legacy_id)==null?void 0:N.toString()}}),m},[])};var Gl=Object.defineProperty,Yl=Object.defineProperties,Kl=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,Et=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,Nt=(e,t,n)=>t in e?Gl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,he=(e,t)=>{for(var n in t||(t={}))Et.call(t,n)&&Nt(e,n,t[n]);if(Ee)for(var n of Ee(t))ht.call(t,n)&&Nt(e,n,t[n]);return e},Ne=(e,t)=>Yl(e,Kl(t)),Xl=(e,t)=>{var n={};for(var o in e)Et.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&Ee)for(var o of Ee(e))t.indexOf(o)<0&&ht.call(e,o)&&(n[o]=e[o]);return n};const Wl=e=>{var t=e,{isSSR:n=!0}=t,o=Xl(t,["isSSR"]);const{layout:a,articles:r,variablesForQuery:l,seeMoreLink:s}=o,[c,u]=i.useState(l),[m,_]=i.useState(r),[h,b]=i.useState(!1),p=()=>{b(!0),u(w=>Ne(he({},w),{offset:c.offset+c.limit}))};return i.useEffect(()=>{var w;if(JSON.stringify(l)!==JSON.stringify(c)&&c.hasNextPage){const{apiHost:D}=document.body.dataset,M=new Headers;(w=window.envVariables)!=null&&w.apiAuthKey&&M.append("auth-key",window.envVariables.apiAuthKey);const z=[{url:`${D}/?id=getTagArticles&variables=${encodeURIComponent(JSON.stringify(c))}`,options:{headers:M}}];Ye(...z).then(L=>{const H=Vl({layout:a,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,data:L?.data});H.length>0&&_(I=>[...I,...H]),H.length<c.limit&&u(I=>Ne(he({},I),{hasNextPage:!1})),b(!1)}).catch(L=>{console.error("20mn> Error while loading articles:",L)})}},[c]),n?i.createElement(i.Fragment,null,i.createElement(gt,{layout:a,articles:m,seeMoreLink:c.hasNextPage?Ne(he({},s),{disabled:h,onClick:p}):void 0}),i.createElement("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({articleListBottomContainer:o})} };`}})):i.createElement(gt,{layout:a,articles:m,seeMoreLink:c.hasNextPage?Ne(he({},s),{disabled:h,onClick:p}):void 0})},Jl=e=>document.cookie.indexOf(e)!==-1,Ql=e=>{const t=document.cookie.split(";").filter(n=>n.indexOf(e)!==-1)[0];return t?t.split("=")[1]:"{}"},Zl=e=>{const t=[`${e.name}=`,"expires=Thu, 1 Jan 1970 00:00:01 UTC","path=/"];e.domain&&t.push(`domain=${e.domain}`),document.cookie=t.join("; ")},Pe=function(e){const t=localStorage.getItem(e);return t?JSON.parse(t):void 0},$l=e=>{let t=e;const n="\xE3\xE0\xE1\xE4\xE2\u1EBD\xE8\xE9\xEB\xEA\xEC\xED\xEF\xEE\xF5\xF2\xF3\xF6\xF4\xF9\xFA\xFC\xFB\xF1\xE7\xB7/_,:;",o="aaaaaeeeeeiiiiooooouuuunc------";for(let a=0;a<n.length;a+=1)t=t.replace(new RegExp(n.charAt(a),"g"),o.charAt(a));return t},ec=e=>{let t=e.toLowerCase().replace(/[\s-]+/g,"_");return t=$l(t),t.replace(/[^\w-]+/g,"")},Me=new Date;new Date().setMinutes(Me.getMinutes()-19),new Date().setHours(Me.getHours()-6),new Date().setDate(Me.getDate()-3);var tc=Object.defineProperty,nc=Object.defineProperties,oc=Object.getOwnPropertyDescriptors,At=Object.getOwnPropertySymbols,ic=Object.prototype.hasOwnProperty,ac=Object.prototype.propertyIsEnumerable,wt=(e,t,n)=>t in e?tc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rc=(e,t)=>{for(var n in t||(t={}))ic.call(t,n)&&wt(e,n,t[n]);if(At)for(var n of At(t))ac.call(t,n)&&wt(e,n,t[n]);return e},sc=(e,t)=>nc(e,oc(t));const Be={appBanner:{containerId:"c-app-banner",storageName:"20mnAppBanner"},breakingNews:{storageName:"20mnBreakingNews"},storageDelay:18e4},lc=()=>{var e;const[t,n]=i.useState(Pe(Be.breakingNews.storageName));i.useEffect(()=>{t&&localStorage.setItem(Be.breakingNews.storageName,JSON.stringify(t))},[t]),i.useEffect(()=>{var a;if(t&&!t.opened||t!=null&&t.opened&&t!=null&&t.time&&t.time+Be.storageDelay>new Date().getTime())return;const{apiHost:r,imgHost:l}=document.body.dataset,s=new Headers;(a=window.envVariables)!=null&&a.apiAuthKey&&s.append("auth-key",window.envVariables.apiAuthKey);const c=[{url:`${r}/?id=getBreakingNews&variables=%7B%22brandId%22%3A%22QnJhbmQ6MjBtaW51dGVz%22%7D`,options:{headers:s}}];Ye(...c).then(u=>{var m,_,h,b,p,w,D,M,z,L,H,I,te,ne,oe,ie,ae,re;const k=(w=(p=(b=(h=(_=(m=u?.data)==null?void 0:m.brand)==null?void 0:_.node)==null?void 0:h.home)==null?void 0:b.node)==null?void 0:p.homeBreakingNews)==null?void 0:w.node,Re=(M=(D=k?.content)==null?void 0:D.editorial_model)==null?void 0:M.toLowerCase(),N=(L=(z=k?.content)==null?void 0:z[Re])==null?void 0:L.node;if(!(N!=null&&N.title)||!(N!=null&&N.url_current))throw new Error("No data found...");let K;if(k!=null&&k.with_photo&&(ne=(te=(I=(H=N?.medias)==null?void 0:H[0])==null?void 0:I.photo)==null?void 0:te.node)!=null&&ne.id){const kc=atob(N.medias[0].photo.node.id).replace("Photo:","");K=`${l}/${kc}/147x96_${(re=(ae=(ie=(oe=N?.medias)==null?void 0:oe.photo)==null?void 0:ie.node)==null?void 0:ae.slug)!=null?re:"media"}`}n({opened:!0,time:new Date().getTime(),data:{description:N.title,url:N.url_current,imageUrl:K}})}).catch(u=>{console.error("20mn> Error while loading the breaking news:",u)})},[]);const o=()=>{n(a=>sc(rc({},a||{}),{opened:!1}))};return t!=null&&t.opened&&t!=null&&t.data?i.createElement(Kn,{title:"ALERTE INFO",description:t.data.description,cover:t.data.imageUrl,link:(e=t?.data)!=null&&e.url?{href:t.data.url}:void 0,closeButton:{onClick:o}}):null},Rt=({element:e,name:t,type:n,chapter1:o="",chapter3:a="",chapter2:r=""})=>{if(!window.ATTag)return;const l={elem:e,name:ec(t),type:n,chapter1:o,chapter2:r,chapter3:a};Object.keys(l).forEach(s=>{l[s]===""&&delete l[s]}),window.ATTag.click.send(l)},Ae={appBanner:{storageName:"20mnAppBanner"},breakingNews:{containerId:"c-alert-info",storageName:"20mnBreakingNews"},storageDelay:864e5},cc=()=>{const{storageName:e}=Ae.appBanner,[t,n]=i.useState(Pe(e)),o=i.useRef(null),a=i.useRef(null),r=i.useMemo(()=>{var l,s;return!!(!(((l=document.getElementById(Ae.breakingNews.containerId))==null?void 0:l.children.length)!==0||(s=Pe(Ae.breakingNews.storageName))!=null&&s.opened)&&(!t||t!=null&&t.opened||t!=null&&t.time&&t.time+Ae.storageDelay<Date.now()))},[t]);return i.useEffect(()=>{r&&n({opened:!0})},[r]),i.useEffect(()=>{t&&localStorage.setItem(e,JSON.stringify(t))},[t]),r?i.createElement(so,{closeButton:{ref:o,onClick:()=>{o.current&&Rt({element:o.current,name:"close-app-banner",type:"action"}),n({opened:!1,time:new Date().getTime()})}},installButton:{ref:a,onClick:()=>{a.current&&Rt({element:a.current,name:"open-store-app-banner",type:"action"}),n({opened:!1,time:new Date().getTime()});const l=navigator?.userAgent||navigator?.platform||"unknown";window.location.href=/iPhone|iPad|iPod/i.test(l)?"https://apps.apple.com/fr/app/20-minutes-news-en-continu/id308834491":"https://play.google.com/store/apps/details?id=com.backelite.vingtminutes&hl=fr"}}}):null};var uc=Object.defineProperty,Ct=Object.getOwnPropertySymbols,_c=Object.prototype.hasOwnProperty,dc=Object.prototype.propertyIsEnumerable,yt=(e,t,n)=>t in e?uc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mc=(e,t)=>{for(var n in t||(t={}))_c.call(t,n)&&yt(e,n,t[n]);if(Ct)for(var n of Ct(t))dc.call(t,n)&&yt(e,n,t[n]);return e};const vc=()=>{const e=document.getElementById("c-alert-info");if(e){const t=Ce.createRoot(e);t&&t.render(i.createElement(lc,null))}},Tc=()=>{const e=document.getElementById("c-app-banner");if(e){const t=Ce.createRoot(e);t&&t.render(i.createElement(cc,null))}},gc=()=>{var e;const t=document.getElementById("article-list-bottom-container"),n=(e=window?.__staticHydrationData)==null?void 0:e.articleListBottomContainer;t&&n&&Ce.hydrateRoot(t,i.createElement(Wl,mc({isSSR:!1},n)))},pc=()=>{document.querySelector('iframe[src*="www.ultimedia.com"], iframe[data-src*="www.ultimedia.com"]')&&Ge({async:!0,src:"https://www.ultimedia.com/js/common/visible_player.js",name:"digiteka_default_player"})},bc=()=>{pc()},fc=()=>{if(Jl("20min_fp")){const e=Ql("20min_fp");fetch(`https://securepubads.g.doubleclick.net/user_data_deletion?ppid=${e}&iu=49926454`,{referrerPolicy:"strict-origin-when-cross-origin"}).then(t=>{t.ok&&alert("La demande de suppression a bien \xE9t\xE9 prise en compte")}),Zl({name:"20min_fp"})}},Ec=()=>{const e=document.getElementById("delete-fingerprint");e&&e.addEventListener("click",fc)},hc=()=>{var e;!document.querySelector(".gcse-search")||!((e=window.envVariables)!=null&&e.googleSearchCode)||Ge({name:"google_search",async:!0,src:`https://cse.google.com/cse.js?cx=${window.envVariables.googleSearchCode}`})},Nc=()=>{hc()};let Y;const we=e=>{Y&&(Y.style.transform=`translateY(${e==="show"?"0":"-100%"})`,Y.style.transition="transform .4s ease")},Ac=e=>{const t=e[0];Y&&(t.isIntersecting?we("hidden"):we("show"))},wc=()=>{if(Y=document.querySelector(".c-header-mini"),Y){const e=document.documentElement.scrollTop,t=document.querySelector(".c-header");t&&(e>t.offsetHeight?we("show"):we("hidden"),new IntersectionObserver(Ac,{threshold:[0],rootMargin:"0px 0px -100%"}).observe(t))}};var Rc=(e=>(e[e.article=0]="article",e[e.divers=1]="divers",e[e.tag=2]="tag",e[e.horoscope=3]="horoscope",e))(Rc||{}),Cc=(e=>(e.UNKNOWN="Non connu",e.SLIDESHOW_COVER="Slideshow cover",e.SLIDESHOW_COVER_LISTING_PAGE="Slideshow listing page",e.SLIDESHOW_PAGE="Slideshow page",e.ARTICLE="article",e.MISC="divers",e.HOME="home",e.LIVE="live",e.SECTION="section",e.TAG="tag",e.HOROSCOPE="horoscope",e))(Cc||{}),yc=(e=>(e.MISC="divers",e.HOME="home",e.LOCAL="local",e.PLANET="plan\xE8te",e))(yc||{}),Sc=(e=>(e.PAGETYPE="pageType",e.TAGS="tags",e))(Sc||{});const Dc="adDefined",Lc=e=>{console.log(`20minLazyCall: element with id %c${e} has been lazy loaded`,"color: #0777;font-weight:bold;")};let St,Dt;const Lt=e=>{var t;const n=(t=e.dataset)==null?void 0:t.distanceVisible;n==="700"?St.observe(e):n==="0"&&Dt.observe(e)},Ut=(e,t)=>{e.forEach(n=>{var o;if(n.isIntersecting){const a=n.target,r=((o=a.dataset)==null?void 0:o.eventName)||a.id;r&&(a.dispatchEvent(new Event(r)),Lc(r),a.dataset.lazyLoaded="true",t.unobserve(a))}})},Uc=()=>{document.addEventListener(Dc,e=>{const t=e,{elem:n}=t.detail[0];n.getAttribute("data-delayed")==="true"&&Lt(n)})},xc=()=>{document.querySelectorAll('[data-delayed="true"]:not([data-dfp-name])').forEach(e=>{Lt(e)})},Hc=()=>{St=new IntersectionObserver(Ut,{rootMargin:"700px",threshold:0}),Dt=new IntersectionObserver(Ut,{rootMargin:"0px",threshold:0}),Uc(),xc()},Ic=()=>{const e=document.querySelectorAll('img[data-delayed="true"]');Array.prototype.forEach.call(e,t=>{t.addEventListener(t.getAttribute("id"),function n(){t.setAttribute("src",t.getAttribute("data-src")),t.setAttribute("srcset",t.getAttribute("data-srcset")),t.removeAttribute("data-delayed"),t.removeAttribute("data-distance-visible"),t.removeAttribute("data-src"),t.removeAttribute("data-srcset"),t.removeEventListener(t.getAttribute("id"),n)})})};(()=>{un(),Ec(),Hc(),Ic(),Nc(),bc(),vc(),Tc(),wc(),gc()})()})(React,ReactDOMClient);