@20minutes/hela
Advanced tools
Comparing version 1.13.0 to 1.13.1
@@ -1,5 +0,5 @@ | ||
var W = Object.defineProperty; | ||
var F = (e, t, o) => t in e ? W(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o; | ||
var b = (e, t, o) => (F(e, typeof t != "symbol" ? t + "" : t, o), o); | ||
const O = () => { | ||
var R = Object.defineProperty; | ||
var O = (e, t, o) => t in e ? R(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o; | ||
var b = (e, t, o) => (O(e, typeof t != "symbol" ? t + "" : t, o), o); | ||
const W = () => { | ||
const e = document.getElementById("elections-form-search"), t = document.querySelector(".c-search-form__autocomplete"); | ||
@@ -31,3 +31,3 @@ if (!e || !t) | ||
}); | ||
}, j = () => { | ||
}, F = () => { | ||
const e = document.querySelector("header"), t = document.querySelector(".js-limit-scroll-close-article-btn"), o = document.querySelector(".c-close-article-btn"), n = document.querySelector(".c-header-mobile"), s = n instanceof HTMLElement ? n.offsetHeight : 0; | ||
@@ -78,4 +78,4 @@ if (e && t && o) { | ||
else { | ||
const p = Math.floor(f / 864e5), m = Math.floor(f % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), h = Math.floor(f % (1e3 * 60 * 60) / (1e3 * 60)), R = Math.floor(f % (1e3 * 60) / 1e3); | ||
n.innerHTML = p.toString(), s.innerHTML = m.toString(), l.innerHTML = h.toString(), r.innerHTML = R.toString(); | ||
const p = Math.floor(f / 864e5), m = Math.floor(f % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), h = Math.floor(f % (1e3 * 60 * 60) / (1e3 * 60)), j = Math.floor(f % (1e3 * 60) / 1e3); | ||
n.innerHTML = p.toString(), s.innerHTML = m.toString(), l.innerHTML = h.toString(), r.innerHTML = j.toString(); | ||
} | ||
@@ -87,2 +87,22 @@ }, 1e3); | ||
e.setAttribute("aria-expanded", "true"); | ||
const t = (n = e.parentNode) == null ? void 0 : n.querySelectorAll(".js-ellipsis-target"); | ||
t == null || t.forEach((s) => s.classList.remove("u-ellipsis")); | ||
const o = e.querySelector(".js-ellipsis-button__label"); | ||
o instanceof HTMLSpanElement && (o.innerHTML = "Voir moins"); | ||
}, V = (e) => { | ||
var n; | ||
const t = (n = e.parentNode) == null ? void 0 : n.querySelectorAll(".js-ellipsis-target"); | ||
t == null || t.forEach((s) => s.classList.add("u-ellipsis")), e.setAttribute("aria-expanded", "false"); | ||
const o = e.querySelector(".js-ellipsis-button__label"); | ||
o instanceof HTMLSpanElement && (o.innerHTML = "Voir plus"); | ||
}, Y = (e) => { | ||
const t = e.currentTarget; | ||
return e.preventDefault(), t instanceof HTMLButtonElement ? t.getAttribute("aria-expanded") === "true" ? V(t) : K(t) : null; | ||
}, G = (e = document.querySelector( | ||
".js-ellipsis-button" | ||
)) => { | ||
e && document.querySelectorAll(".js-ellipsis-button").forEach((o) => o.addEventListener("click", Y)); | ||
}, X = (e) => { | ||
var n; | ||
e.setAttribute("aria-expanded", "true"); | ||
const t = (n = e.parentNode) == null ? void 0 : n.querySelectorAll(".js-expand-target"); | ||
@@ -92,3 +112,3 @@ t == null || t.forEach((s) => s.setAttribute("aria-hidden", "false")); | ||
o instanceof HTMLSpanElement && (o.innerHTML = "Voir moins"); | ||
}, V = (e) => { | ||
}, U = (e) => { | ||
var n; | ||
@@ -99,10 +119,10 @@ const t = (n = e.parentNode) == null ? void 0 : n.querySelectorAll(".js-expand-target"); | ||
o instanceof HTMLSpanElement && (o.innerHTML = "Voir plus"); | ||
}, Y = (e) => { | ||
}, z = (e) => { | ||
const t = e.currentTarget; | ||
return e.preventDefault(), t instanceof HTMLButtonElement ? t.getAttribute("aria-expanded") === "true" ? V(t) : K(t) : null; | ||
}, G = (e = document.querySelector( | ||
return e.preventDefault(), t instanceof HTMLButtonElement ? t.getAttribute("aria-expanded") === "true" ? U(t) : X(t) : null; | ||
}, J = (e = document.querySelector( | ||
".js-expand-button" | ||
)) => { | ||
e && document.querySelectorAll(".js-expand-button").forEach((o) => o.addEventListener("click", Y)); | ||
}, X = () => { | ||
e && document.querySelectorAll(".js-expand-button").forEach((o) => o.addEventListener("click", z)); | ||
}, Q = () => { | ||
const e = document.querySelectorAll(".js-half-donut-result"); | ||
@@ -131,3 +151,3 @@ for (const t of Array.from(e)) { | ||
}; | ||
var U = [ | ||
var Z = [ | ||
`a[href]${a.inert}${a.negTabIndex}`, | ||
@@ -150,6 +170,6 @@ `area[href]${a.inert}${a.negTabIndex}`, | ||
]; | ||
function T(e) { | ||
function w(e) { | ||
(e.querySelector("[autofocus]") || e).focus(); | ||
} | ||
function z(e) { | ||
function ee(e) { | ||
const t = y(e, !0), o = t ? y(e, !1) || t : null; | ||
@@ -161,3 +181,3 @@ return [t, o]; | ||
return e; | ||
if (Q(e)) | ||
if (oe(e)) | ||
if (e.shadowRoot) { | ||
@@ -198,18 +218,18 @@ let o = $(e.shadowRoot, t); | ||
} | ||
const J = (e) => e.matches("details:not([open]) *") && !e.matches("details>summary:first-of-type") ? !0 : !(e.offsetWidth || e.offsetHeight || e.getClientRects().length), q = (e) => { | ||
const te = (e) => e.matches("details:not([open]) *") && !e.matches("details>summary:first-of-type") ? !0 : !(e.offsetWidth || e.offsetHeight || e.getClientRects().length), q = (e) => { | ||
var t; | ||
return (t = e.shadowRoot) != null && t.delegatesFocus ? !1 : e.matches(U.join(",")) && !J(e); | ||
return (t = e.shadowRoot) != null && t.delegatesFocus ? !1 : e.matches(Z.join(",")) && !te(e); | ||
}; | ||
function Q(e) { | ||
function oe(e) { | ||
return e.shadowRoot && e.getAttribute("tabindex") === "-1" ? !1 : !e.matches(":disabled,[hidden],[inert]"); | ||
} | ||
function w(e = document) { | ||
function T(e = document) { | ||
const t = e.activeElement; | ||
return t ? t.shadowRoot ? w(t.shadowRoot) || document.activeElement : t : null; | ||
return t ? t.shadowRoot ? T(t.shadowRoot) || document.activeElement : t : null; | ||
} | ||
function Z(e, t) { | ||
const [o, n] = z(e); | ||
function ne(e, t) { | ||
const [o, n] = ee(e); | ||
if (!o) | ||
return t.preventDefault(); | ||
const s = w(); | ||
const s = T(); | ||
t.shiftKey && s === o ? (n.focus(), t.preventDefault()) : !t.shiftKey && s === n && (o.focus(), t.preventDefault()); | ||
@@ -238,3 +258,3 @@ } | ||
var o; | ||
return this.shown ? this : (this.shown = !0, this.$el.removeAttribute("aria-hidden"), this.previouslyFocused = w(), ((o = this.previouslyFocused) == null ? void 0 : o.tagName) === "BODY" && (t != null && t.target) && (this.previouslyFocused = t.target), (t == null ? void 0 : t.type) === "focus" ? this.maintainFocus(t) : T(this.$el), document.body.addEventListener("focus", this.maintainFocus, !0), this.$el.addEventListener("keydown", this.bindKeypress, !0), this.fire("show", t), this); | ||
return this.shown ? this : (this.shown = !0, this.$el.removeAttribute("aria-hidden"), this.previouslyFocused = T(), ((o = this.previouslyFocused) == null ? void 0 : o.tagName) === "BODY" && (t != null && t.target) && (this.previouslyFocused = t.target), (t == null ? void 0 : t.type) === "focus" ? this.maintainFocus(t) : w(this.$el), document.body.addEventListener("focus", this.maintainFocus, !0), this.$el.addEventListener("keydown", this.bindKeypress, !0), this.fire("show", t), this); | ||
} | ||
@@ -294,3 +314,3 @@ /** | ||
} | ||
t.key === "Escape" && this.$el.getAttribute("role") !== "alertdialog" && !o && (t.preventDefault(), this.hide(t)), t.key === "Tab" && Z(this.$el, t); | ||
t.key === "Escape" && this.$el.getAttribute("role") !== "alertdialog" && !o && (t.preventDefault(), this.hide(t)), t.key === "Tab" && ne(this.$el, t); | ||
} | ||
@@ -304,3 +324,3 @@ /** | ||
maintainFocus(t) { | ||
t.target.closest('[aria-modal="true"], [data-a11y-dialog-ignore-focus-trap]') || T(this.$el); | ||
t.target.closest('[aria-modal="true"], [data-a11y-dialog-ignore-focus-trap]') || w(this.$el); | ||
} | ||
@@ -313,3 +333,3 @@ } | ||
typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", x) : x()); | ||
const ee = () => document.querySelectorAll(".js-modal").forEach((e) => { | ||
const se = () => document.querySelectorAll(".js-modal").forEach((e) => { | ||
if (!(e instanceof HTMLElement)) | ||
@@ -326,7 +346,7 @@ return; | ||
}); | ||
}), te = ({ navigatedList: e, nextBtn: t, prevBtn: o }) => { | ||
}), ie = ({ navigatedList: e, nextBtn: t, prevBtn: o }) => { | ||
var l, r, i, c, d, u, f, p; | ||
const n = e.scrollLeft > 0, s = e.scrollLeft + e.clientWidth < e.scrollWidth; | ||
n && s ? ((l = t.classList) == null || l.add("o-nav-button--visible"), (r = o.classList) == null || r.add("o-nav-button--visible")) : n ? ((i = t.classList) == null || i.remove("o-nav-button--visible"), (c = o.classList) == null || c.add("o-nav-button--visible")) : s ? ((d = t.classList) == null || d.add("o-nav-button--visible"), (u = o.classList) == null || u.remove("o-nav-button--visible")) : ((f = t.classList) == null || f.remove("o-nav-button--visible"), (p = o.classList) == null || p.remove("o-nav-button--visible")); | ||
}, oe = ({ | ||
}, re = ({ | ||
navigatedList: e, | ||
@@ -376,3 +396,3 @@ nextBtn: t, | ||
} | ||
}, ne = ({ | ||
}, le = ({ | ||
navigatedList: e, | ||
@@ -418,4 +438,4 @@ nextBtn: t, | ||
} | ||
}, se = ({ navigatedList: e, nextBtn: t, prevBtn: o }) => { | ||
te({ | ||
}, ce = ({ navigatedList: e, nextBtn: t, prevBtn: o }) => { | ||
ie({ | ||
navigatedList: e, | ||
@@ -425,3 +445,3 @@ nextBtn: t, | ||
}); | ||
}, ie = () => { | ||
}, ae = () => { | ||
const e = document.querySelectorAll(".js-navigation-container"); | ||
@@ -440,3 +460,3 @@ for (const t of Array.from(e)) { | ||
"click", | ||
oe.bind(!1, { | ||
re.bind(!1, { | ||
navigatedList: d, | ||
@@ -449,3 +469,3 @@ nextBtn: u, | ||
"click", | ||
ne.bind(!1, { | ||
le.bind(!1, { | ||
navigatedList: d, | ||
@@ -475,3 +495,3 @@ nextBtn: u, | ||
} | ||
}, re = () => { | ||
}, de = () => { | ||
const e = document.querySelectorAll(".js-navigation-container"); | ||
@@ -489,3 +509,3 @@ for (const t of Array.from(e)) | ||
"resize", | ||
se.bind(!1, { | ||
ce.bind(!1, { | ||
navigatedList: o, | ||
@@ -497,3 +517,3 @@ nextBtn: n, | ||
} | ||
}, le = () => { | ||
}, ue = () => { | ||
const e = document.querySelector(".js-limit-scroll-progress-bar"), t = document.querySelector(".c-progress__bar"); | ||
@@ -510,8 +530,8 @@ if (!t) | ||
t.style.width = `${l}%`, l >= 100 && (t.style.width = "100%"); | ||
}, ce = () => { | ||
document.querySelector(".c-progress") && window.addEventListener("scroll", le); | ||
}, fe = () => { | ||
document.querySelector(".c-progress") && window.addEventListener("scroll", ue); | ||
}; | ||
let g, v = 0; | ||
const ae = () => { | ||
g = null, document.body.getBoundingClientRect().top > v + 2 && (g = "up"), document.body.getBoundingClientRect().top < v - 2 && (g = "down"), v = document.body.getBoundingClientRect().top; | ||
let g, E = 0; | ||
const he = () => { | ||
g = null, document.body.getBoundingClientRect().top > E + 2 && (g = "up"), document.body.getBoundingClientRect().top < E - 2 && (g = "down"), E = document.body.getBoundingClientRect().top; | ||
const e = document.querySelector(".c-read-also-banner"); | ||
@@ -522,3 +542,3 @@ if (e) { | ||
} | ||
}, de = (e = document.querySelector( | ||
}, me = (e = document.querySelector( | ||
".c-read-also-banner" | ||
@@ -529,6 +549,6 @@ )) => { | ||
window.addEventListener("scroll", () => { | ||
clearTimeout(t), t = setTimeout(ae, 100); | ||
clearTimeout(t), t = setTimeout(he, 100); | ||
}); | ||
} | ||
}, E = "#page-content", S = "#text-tooltip", ue = ".tooltip-btn", D = "c-text-tooltip--show", fe = [ | ||
}, v = "#page-content", S = "#text-tooltip", pe = ".tooltip-btn", D = "c-text-tooltip--show", be = [ | ||
"#page-content .c-content p", | ||
@@ -545,6 +565,6 @@ "#page-content .c-content h2", | ||
"#page-content header h2" | ||
], C = (e, t) => e instanceof Element ? t.some((o) => e.matches(o)) : !1, he = (e, t) => { | ||
], C = (e, t) => e instanceof Element ? t.some((o) => e.matches(o)) : !1, ge = (e, t) => { | ||
const o = e.startContainer.nodeType === Node.ELEMENT_NODE ? e.startContainer : e.startContainer.parentElement, n = e.endContainer.nodeType === Node.ELEMENT_NODE ? e.endContainer : e.endContainer.parentElement; | ||
return !!o && C(o, t) || !!n && C(n, t); | ||
}, me = (e) => { | ||
}, ye = (e) => { | ||
var o; | ||
@@ -555,5 +575,5 @@ if (!e.focusNode) | ||
return t ? (t & 4) > 0 : e.anchorOffset < e.focusOffset; | ||
}, pe = (e, t, o) => { | ||
const n = document.querySelector(`${E} ${S}`), s = document.querySelector(`${E}`), l = document.querySelectorAll( | ||
`${E} ${S} ${ue}` | ||
}, Le = (e, t, o) => { | ||
const n = document.querySelector(`${v} ${S}`), s = document.querySelector(`${v}`), l = document.querySelectorAll( | ||
`${v} ${S} ${pe}` | ||
); | ||
@@ -567,3 +587,3 @@ if (!n || !s) { | ||
n.style.top = `${i.top - s.getBoundingClientRect().top - (n.offsetHeight + 10)}px`, i.width < n.offsetWidth ? n.style.left = `${i.left - s.getBoundingClientRect().left + i.width / 2 - n.offsetWidth / 2}px` : t ? n.style.left = `${i.left - s.getBoundingClientRect().left + i.width - n.offsetWidth}px` : n.style.left = `${i.left - s.getBoundingClientRect().left}px`, n.classList.add(D); | ||
}, I = () => { | ||
}, H = () => { | ||
const e = document.querySelector(`${S}`); | ||
@@ -574,3 +594,3 @@ e && e.classList.remove(D); | ||
if (e === "selectionchange") { | ||
I(); | ||
H(); | ||
return; | ||
@@ -582,8 +602,8 @@ } | ||
if (n.length) { | ||
const s = he(o, fe), l = me(t) || !1; | ||
s && pe(o, l, n); | ||
const s = ge(o, be), l = ye(t) || !1; | ||
s && Le(o, l, n); | ||
return; | ||
} | ||
I(); | ||
}, be = () => { | ||
H(); | ||
}, Ee = () => { | ||
if (!(window != null && window.getSelection)) { | ||
@@ -594,3 +614,3 @@ console.warn("Selection API isn't supported"); | ||
document.addEventListener("mouseup", L), document.addEventListener("selectionchange", L), document.addEventListener("touchend", L), document.addEventListener("touchcancel", L); | ||
}, ge = (e) => { | ||
}, ve = (e) => { | ||
const { target: t } = e; | ||
@@ -601,9 +621,9 @@ if (t instanceof Element) { | ||
} | ||
}, ye = (e = document.querySelector( | ||
}, Se = (e = document.querySelector( | ||
".c-search-form--button" | ||
)) => { | ||
e && e.addEventListener("click", (t) => { | ||
ge(t); | ||
ve(t); | ||
}); | ||
}, Le = ({ | ||
}, _e = ({ | ||
tabsContainerElement: e, | ||
@@ -624,3 +644,3 @@ event: t | ||
}), o.setAttribute("aria-selected", "true"), r && r.removeAttribute("aria-hidden"); | ||
}, H = (e) => e.code === "ArrowLeft" || e.keyCode === 39, M = (e) => e.code === "ArrowRight" || e.keyCode === 37, ve = (e = document.querySelectorAll( | ||
}, M = (e) => e.code === "ArrowLeft" || e.keyCode === 39, I = (e) => e.code === "ArrowRight" || e.keyCode === 37, Te = (e = document.querySelectorAll( | ||
".js-tabs" | ||
@@ -632,3 +652,3 @@ )) => { | ||
s.addEventListener("click", (l) => { | ||
Le({ tabsContainerElement: t, event: l }); | ||
_e({ tabsContainerElement: t, event: l }); | ||
}); | ||
@@ -640,7 +660,7 @@ }); | ||
n.addEventListener("keydown", (l) => { | ||
l instanceof KeyboardEvent && (H(l) || M(l)) && (o[s].setAttribute("tabindex", "-1"), H(l) ? (s += 1, s >= o.length && (s = 0)) : M(l) && (s -= 1, s < 0 && (s = o.length - 1)), o[s].setAttribute("tabindex", "0"), o[s].focus()); | ||
l instanceof KeyboardEvent && (M(l) || I(l)) && (o[s].setAttribute("tabindex", "-1"), M(l) ? (s += 1, s >= o.length && (s = 0)) : I(l) && (s -= 1, s < 0 && (s = o.length - 1)), o[s].setAttribute("tabindex", "0"), o[s].focus()); | ||
}); | ||
} | ||
}); | ||
}, _ = "c-social-bar-item__container--is-highlighted", Ee = (e) => { | ||
}, _ = "c-social-bar-item__container--is-highlighted", we = (e) => { | ||
const t = e.find( | ||
@@ -650,7 +670,7 @@ (o) => o.classList.contains(_) | ||
t == null || t.classList.remove(_); | ||
}, Se = () => { | ||
}, $e = () => { | ||
const e = document.querySelector(".c-toolbar"); | ||
if (e) { | ||
const t = window.location.origin + window.location.pathname, o = Array.from(e.querySelectorAll(".c-social-bar-item__container")); | ||
Ee(o); | ||
we(o); | ||
const n = o.find( | ||
@@ -664,7 +684,7 @@ (s) => { | ||
} | ||
}, we = () => { | ||
G(), ve(), N(), ce(), ee(), de(), ye(), P("olympicsGames", "countdown-olympics-games"), be(), j(), X(), O(), Se(), ie(), re(); | ||
}, qe = () => { | ||
J(), Te(), N(), G(), fe(), se(), me(), Se(), P("olympicsGames", "countdown-olympics-games"), Ee(), F(), Q(), W(), $e(), ae(), de(); | ||
}; | ||
export { | ||
we as initScripts | ||
qe as initScripts | ||
}; |
@@ -1,1 +0,1 @@ | ||
(function(m,h){typeof exports=="object"&&typeof module<"u"?h(exports):typeof define=="function"&&define.amd?define(["exports"],h):(m=typeof globalThis<"u"?globalThis:m||self,h(m.scripts={}))})(this,function(m){"use strict";var _e=Object.defineProperty;var we=(m,h,b)=>h in m?_e(m,h,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[h]=b;var E=(m,h,b)=>(we(m,typeof h!="symbol"?h+"":h,b),b);const h=()=>{const e=document.getElementById("elections-form-search"),t=document.querySelector(".c-search-form__autocomplete");if(!e||!t)return;const o=l=>{t.classList.remove("u-hidden");const r=t.querySelectorAll("li"),i=[];return r.forEach(c=>{const d=c.querySelector("a");d&&d.innerHTML.toLowerCase().includes(l.toLowerCase())&&i.push(c.innerHTML)}),i},n=l=>{t.innerHTML+=`<li>${l}</li>`},s=({target:l})=>{const r=l.value;if(t.classList.add("u-hidden"),r.length>=3){const i=o(r);t.innerHTML="",i.length===0&&t.classList.add("u-hidden"),i.forEach(c=>{n(c)})}};e.addEventListener("input",s),e.addEventListener("focusout",()=>{setTimeout(()=>t.classList.add("u-hidden"),300)}),e.addEventListener("focusin",()=>{t.childElementCount>0&&t.classList.remove("u-hidden")})},b=()=>{const e=document.querySelector("header"),t=document.querySelector(".js-limit-scroll-close-article-btn"),o=document.querySelector(".c-close-article-btn"),n=document.querySelector(".c-header-mobile"),s=n instanceof HTMLElement?n.offsetHeight:0;if(e&&t&&o){const l=new IntersectionObserver(()=>{const r=o.classList,i=r.contains("u-hidden"),c=e.getBoundingClientRect().bottom-s,d=t.getBoundingClientRect().bottom-s;i&&c<=0&&d>=0&&r.remove("u-hidden"),!i&&(c>=0||d<=0)&&r.add("u-hidden")},{root:document,rootMargin:`-${s}px 0px 0px 0px`});l.observe(e),l.observe(t)}},W=e=>{e.stopImmediatePropagation(),e.preventDefault();const t=e.currentTarget;if(t instanceof HTMLButtonElement){const o=t.parentElement,n=o==null?void 0:o.querySelector(`#${t.getAttribute("aria-controls")}`);t.getAttribute("aria-expanded")==="true"?(t.setAttribute("aria-expanded","false"),n==null||n.setAttribute("aria-hidden","true")):(t.setAttribute("aria-expanded","true"),n==null||n.setAttribute("aria-hidden","false"))}},F=(e=document.querySelector(".js-collapse__button"))=>{e&&document.querySelectorAll(".c-collapse__button").forEach(o=>{o.addEventListener("click",n=>{W(n)})})},B=(e,t)=>{const o=document.querySelector(`#${t}`);if(o){const n=o.querySelector(".js-countdown-days"),s=o.querySelector(".js-countdown-hours"),l=o.querySelector(".js-countdown-minutes"),r=o.querySelector(".js-countdown-seconds");if(!n||!s||!l||!r)return;window.counters={olympicsGames:"2024-07-26 20:00:00"};const i=window.counters[e],c=new Date(i).getTime(),d=setInterval(()=>{const u=new Date().getTime(),f=c-u;if(f<=0)clearInterval(d);else{const y=Math.floor(f/864e5),g=Math.floor(f%(1e3*60*60*24)/(1e3*60*60)),p=Math.floor(f%(1e3*60*60)/(1e3*60)),Se=Math.floor(f%(1e3*60)/1e3);n.innerHTML=y.toString(),s.innerHTML=g.toString(),l.innerHTML=p.toString(),r.innerHTML=Se.toString()}},1e3)}},N=e=>{var n;e.setAttribute("aria-expanded","true");const t=(n=e.parentNode)==null?void 0:n.querySelectorAll(".js-expand-target");t==null||t.forEach(s=>s.setAttribute("aria-hidden","false"));const o=e.querySelector(".js-expand-button__label");o instanceof HTMLSpanElement&&(o.innerHTML="Voir moins")},P=e=>{var n;const t=(n=e.parentNode)==null?void 0:n.querySelectorAll(".js-expand-target");t==null||t.forEach(s=>s.setAttribute("aria-hidden","true")),e.setAttribute("aria-expanded","false");const o=e.querySelector(".js-expand-button__label");o instanceof HTMLSpanElement&&(o.innerHTML="Voir plus")},K=e=>{const t=e.currentTarget;return e.preventDefault(),t instanceof HTMLButtonElement?t.getAttribute("aria-expanded")==="true"?P(t):N(t):null},V=(e=document.querySelector(".js-expand-button"))=>{e&&document.querySelectorAll(".js-expand-button").forEach(o=>o.addEventListener("click",K))},Y=()=>{const e=document.querySelectorAll(".js-half-donut-result");for(const t of Array.from(e)){const o=t.querySelector(".c-half-donut"),n=t.querySelector(".c-legend");if(!o||!n)return;n.querySelectorAll("[data-color]").forEach(s=>{const l=s.getAttribute("data-color"),r=o.querySelector(`.c-half-donut__zone--${l}`);r==null||r.addEventListener("mouseenter",()=>{s.classList.add("c-legend__item--is-hovered"),o.classList.add("c-half-donut--is-hovered"),n.classList.add("c-legend--is-hovered")}),r==null||r.addEventListener("mouseleave",()=>{s.classList.remove("c-legend__item--is-hovered"),o.classList.remove("c-half-donut--is-hovered"),n.classList.remove("c-legend--is-hovered")}),s.addEventListener("mouseenter",()=>{r==null||r.classList.add("c-half-donut__zone--is-hovered"),n.classList.add("c-legend--is-hovered"),o.classList.add("c-half-donut--is-hovered")}),s.addEventListener("mouseleave",()=>{r==null||r.classList.remove("c-half-donut__zone--is-hovered"),n.classList.remove("c-legend--is-hovered"),o.classList.remove("c-half-donut--is-hovered")})})}},a={inert:":not([inert]):not([inert] *)",negTabIndex:':not([tabindex^="-"])',disabled:":not(:disabled)"};var G=[`a[href]${a.inert}${a.negTabIndex}`,`area[href]${a.inert}${a.negTabIndex}`,`input:not([type="hidden"]):not([type="radio"])${a.inert}${a.negTabIndex}${a.disabled}`,`input[type="radio"]${a.inert}${a.negTabIndex}${a.disabled}`,`select${a.inert}${a.negTabIndex}${a.disabled}`,`textarea${a.inert}${a.negTabIndex}${a.disabled}`,`button${a.inert}${a.negTabIndex}${a.disabled}`,`details${a.inert} > summary:first-of-type${a.negTabIndex}`,`iframe${a.inert}${a.negTabIndex}`,`audio[controls]${a.inert}${a.negTabIndex}`,`video[controls]${a.inert}${a.negTabIndex}`,`[contenteditable]${a.inert}${a.negTabIndex}`,`[tabindex]${a.inert}${a.negTabIndex}`];function q(e){(e.querySelector("[autofocus]")||e).focus()}function X(e){const t=v(e,!0),o=t?v(e,!1)||t:null;return[t,o]}function v(e,t){if(t&&I(e))return e;if(z(e))if(e.shadowRoot){let o=x(e.shadowRoot,t);for(;o;){const n=v(o,t);if(n)return n;o=C(o,t)}}else if(e.localName==="slot"){const o=e.assignedElements({flatten:!0});t||o.reverse();for(const n of o){const s=v(n,t);if(s)return s}}else{let o=x(e,t);for(;o;){const n=v(o,t);if(n)return n;o=C(o,t)}}return!t&&I(e)?e:null}function x(e,t){return t?e.firstElementChild:e.lastElementChild}function C(e,t){return t?e.nextElementSibling:e.previousElementSibling}const U=e=>e.matches("details:not([open]) *")&&!e.matches("details>summary:first-of-type")?!0:!(e.offsetWidth||e.offsetHeight||e.getClientRects().length),I=e=>{var t;return(t=e.shadowRoot)!=null&&t.delegatesFocus?!1:e.matches(G.join(","))&&!U(e)};function z(e){return e.shadowRoot&&e.getAttribute("tabindex")==="-1"?!1:!e.matches(":disabled,[hidden],[inert]")}function _(e=document){const t=e.activeElement;return t?t.shadowRoot?_(t.shadowRoot)||document.activeElement:t:null}function J(e,t){const[o,n]=X(e);if(!o)return t.preventDefault();const s=_();t.shiftKey&&s===o?(n.focus(),t.preventDefault()):!t.shiftKey&&s===n&&(o.focus(),t.preventDefault())}class M{constructor(t){E(this,"$el");E(this,"id");E(this,"previouslyFocused");E(this,"shown");this.$el=t,this.id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0)),this.fire("destroy"),this}show(t){var o;return this.shown?this:(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=_(),((o=this.previouslyFocused)==null?void 0:o.tagName)==="BODY"&&(t!=null&&t.target)&&(this.previouslyFocused=t.target),(t==null?void 0:t.type)==="focus"?this.maintainFocus(t):q(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0),this.fire("show",t),this)}hide(t){var o,n;return this.shown?(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),(n=(o=this.previouslyFocused)==null?void 0:o.focus)==null||n.call(o),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0),this.fire("hide",t),this):this}on(t,o,n){return this.$el.addEventListener(t,o,n),this}off(t,o,n){return this.$el.removeEventListener(t,o,n),this}fire(t,o){this.$el.dispatchEvent(new CustomEvent(t,{detail:o,cancelable:!0}))}handleTriggerClicks(t){const o=t.target;o.closest(`[data-a11y-dialog-show="${this.id}"]`)&&this.show(t),(o.closest(`[data-a11y-dialog-hide="${this.id}"]`)||o.closest("[data-a11y-dialog-hide]")&&o.closest('[aria-modal="true"]')===this.$el)&&this.hide(t)}bindKeypress(t){var n;if(((n=document.activeElement)==null?void 0:n.closest('[aria-modal="true"]'))!==this.$el)return;let o=!1;try{o=!!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open')}catch{}t.key==="Escape"&&this.$el.getAttribute("role")!=="alertdialog"&&!o&&(t.preventDefault(),this.hide(t)),t.key==="Tab"&&J(this.$el,t)}maintainFocus(t){t.target.closest('[aria-modal="true"], [data-a11y-dialog-ignore-focus-trap]')||q(this.$el)}}function H(){for(const e of document.querySelectorAll("[data-a11y-dialog]"))new M(e)}typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",H):H());const Q=()=>document.querySelectorAll(".js-modal").forEach(e=>{if(!(e instanceof HTMLElement))return;const t=new M(e),o={x:0,y:0};t.on("show",()=>{o.x=window.scrollX,o.y=window.scrollY,document.body.classList.add("noscroll"),document.body.style.top=`-${o.y}px`}).on("hide",()=>{document.body.classList.remove("noscroll"),document.body.style.top="",(window.scrollY!==o.y||window.scrollX!==o.x)&&window.scroll(o.x,o.y)})}),Z=({navigatedList:e,nextBtn:t,prevBtn:o})=>{var l,r,i,c,d,u,f,y;const n=e.scrollLeft>0,s=e.scrollLeft+e.clientWidth<e.scrollWidth;n&&s?((l=t.classList)==null||l.add("o-nav-button--visible"),(r=o.classList)==null||r.add("o-nav-button--visible")):n?((i=t.classList)==null||i.remove("o-nav-button--visible"),(c=o.classList)==null||c.add("o-nav-button--visible")):s?((d=t.classList)==null||d.add("o-nav-button--visible"),(u=o.classList)==null||u.remove("o-nav-button--visible")):((f=t.classList)==null||f.remove("o-nav-button--visible"),(y=o.classList)==null||y.remove("o-nav-button--visible"))},ee=({navigatedList:e,nextBtn:t,prevBtn:o,sliderVariant:n})=>{if(e){const s=e.closest(".js-overview-bar-container"),l=s==null?void 0:s.querySelector(".c-stepper"),r=l==null?void 0:l.querySelectorAll(".c-stepper__item");if(r){const i=Array.from(r).findIndex(c=>c.classList.contains("c-stepper__item--loading"));if(i<0)r[0].classList.add("c-stepper__item--loading");else{r[i].classList.remove("c-stepper__item--loading"),r[i].classList.add("c-stepper__item--loaded");const c=r[i].querySelector(".c-stepper__loader");c&&c instanceof HTMLElement&&(c.style.transition="width 0s linear"),i+1<r.length&&r[i+1].classList.add("c-stepper__item--loading")}}if(e.scrollWidth-e.clientWidth>e.clientWidth){let i=e.scrollLeft;switch(n){case"three-columns-articles":i+=e.clientWidth+32;break;case"rubrics":i+=e.clientWidth-36;break;default:i+=Math.ceil(e.clientWidth*.6);break}e.scrollTo({left:i,behavior:"smooth"}),o.classList.add("o-nav-button--visible"),i+e.clientWidth>=e.scrollWidth&&t.classList.remove("o-nav-button--visible")}else{const i=e.scrollWidth-e.clientWidth;e.scrollTo({left:i,behavior:"smooth"}),t.classList.remove("o-nav-button--visible"),o.classList.add("o-nav-button--visible")}}},te=({navigatedList:e,nextBtn:t,prevBtn:o,sliderVariant:n,delay:s})=>{if(e){const l=e.closest(".js-overview-bar-container"),r=l==null?void 0:l.querySelector(".c-stepper"),i=r==null?void 0:r.querySelectorAll(".c-stepper__item");if(i){const c=Array.from(i).findIndex(d=>d.classList.contains("c-stepper__item--loading"));c<0?i[0].classList.add("c-stepper__item--loading"):(i[c].classList.remove("c-stepper__item--loading"),i[c].classList.remove("c-stepper__item--loaded"),c-1>0&&(i[c-1].classList.remove("c-stepper__item--loading"),i[c-1].classList.remove("c-stepper__item--loaded"),setTimeout(()=>{const d=i[c-1].querySelector(".c-stepper__loader");i[c-1].classList.add("c-stepper__item--loading"),d&&d instanceof HTMLElement&&(d.style.transition=`width ${s/1e3}s linear`)},0)))}if(e.clientWidth<e.scrollLeft){let c=e.scrollLeft;switch(n){case"three-columns-articles":c-=e.clientWidth+32;break;case"rubrics":c-=e.clientWidth-36;break;default:c-=Math.ceil(e.clientWidth*.6);break}e.scrollTo({left:c,behavior:"smooth"}),t.classList.add("o-nav-button--visible"),c===0&&o.classList.remove("o-nav-button--visible")}else e.scrollTo({left:0,behavior:"smooth"}),o.classList.remove("o-nav-button--visible"),e.clientWidth<e.scrollWidth&&t.classList.add("o-nav-button--visible")}},oe=({navigatedList:e,nextBtn:t,prevBtn:o})=>{Z({navigatedList:e,nextBtn:t,prevBtn:o})},ne=()=>{const e=document.querySelectorAll(".js-navigation-container");for(const t of Array.from(e)){const{sliderVariant:o}=t.dataset,{sliderAuto:n}=t.dataset,{sliderDelay:s}=t.dataset,l=s?parseInt(s,10):3e3,r=t.closest(".js-overview-bar-container"),i=r==null?void 0:r.querySelector(".c-stepper"),c=i==null?void 0:i.querySelectorAll(".c-stepper__item");if(t){const d=t.querySelector(".js-navigation-container__list"),u=t.querySelector(".o-nav-button--next-button"),f=t.querySelector(".o-nav-button--previous-button");if(d&&d.clientWidth<d.scrollWidth&&(u==null||u.classList.add("o-nav-button--visible")),d&&u&&f&&(u==null||u.addEventListener("click",ee.bind(!1,{navigatedList:d,nextBtn:u,prevBtn:f,sliderVariant:o})),f==null||f.addEventListener("click",te.bind(!1,{navigatedList:d,nextBtn:u,prevBtn:f,sliderVariant:o,delay:l}))),n==="true"&&u){const y=i?i.querySelector(".c-stepper__item--loading"):null;c&&(c.forEach(g=>{const p=g.querySelector(".c-stepper__loader");p&&p instanceof HTMLElement&&(p.style.transition=`width ${l/1e3}s linear`)}),y||c[0].classList.add("c-stepper__item--loading")),setInterval(()=>{u.classList.contains("o-nav-button--visible")?u.click():d&&f&&(d.scrollLeft=0,c&&(c.forEach(g=>{const p=g.querySelector(".c-stepper__loader");p&&p instanceof HTMLElement&&(p.style.transition="width 0s linear"),g.classList.remove("c-stepper__item--loading"),g.classList.remove("c-stepper__item--loaded"),setTimeout(()=>{p&&p instanceof HTMLElement&&(p.style.transition=`width ${l/1e3}s linear`)},0)}),setTimeout(()=>{c[0].classList.add("c-stepper__item--loading")},0)),f.click())},l)}}}},se=()=>{const e=document.querySelectorAll(".js-navigation-container");for(const t of Array.from(e))if(t){const o=t.querySelector(".js-navigation-container__list"),n=t.querySelector(".o-nav-button--next-button"),s=t.querySelector(".o-nav-button--previous-button");o&&n&&s&&window.addEventListener("resize",oe.bind(!1,{navigatedList:o,nextBtn:n,prevBtn:s}))}},ie=()=>{const e=document.querySelector(".js-limit-scroll-progress-bar"),t=document.querySelector(".c-progress__bar");if(!t)return;const{documentElement:o}=document;let n=o.scrollHeight-o.clientHeight;if(!n)return;const s=o.scrollTop;e&&(n=e.scrollHeight-o.clientHeight+(window.pageYOffset+e.getBoundingClientRect().top));const l=Math.round(s/n*100);t.style.width=`${l}%`,l>=100&&(t.style.width="100%")},re=()=>{document.querySelector(".c-progress")&&window.addEventListener("scroll",ie)};let L,w=0;const le=()=>{L=null,document.body.getBoundingClientRect().top>w+2&&(L="up"),document.body.getBoundingClientRect().top<w-2&&(L="down"),w=document.body.getBoundingClientRect().top;const e=document.querySelector(".c-read-also-banner");if(e){const t=e.dataset.bannerLimitTop||"0";L==="up"&&-document.body.getBoundingClientRect().top>=parseInt(t,10)&&(e.classList.remove("c-read-also-banner__scrolldirection--down"),e.style.paddingTop="0.75em",e.style.paddingBottom="0.75em",e.style.borderWidth="1px",e.classList.contains("c-read-also-banner__scrolldirection--up")||e.classList.add("c-read-also-banner__scrolldirection--up")),(L==="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.style.borderWidth="0",e.classList.contains("c-read-also-banner__scrolldirection--down")||e.classList.add("c-read-also-banner__scrolldirection--down"))}},ce=(e=document.querySelector(".c-read-also-banner"))=>{if(e){let t;window.addEventListener("scroll",()=>{clearTimeout(t),t=setTimeout(le,100)})}},T="#page-content",$="#text-tooltip",ae=".tooltip-btn",k="c-text-tooltip--show",de=["#page-content .c-content p","#page-content .c-content h2","#page-content .c-content h3","#page-content .c-content h4","#page-content .c-content h5","#page-content .c-content h6","#page-content .c-content li","#page-content .c-content span","#page-content header span","#page-content header h1","#page-content header h2"],D=(e,t)=>e instanceof Element?t.some(o=>e.matches(o)):!1,ue=(e,t)=>{const o=e.startContainer.nodeType===Node.ELEMENT_NODE?e.startContainer:e.startContainer.parentElement,n=e.endContainer.nodeType===Node.ELEMENT_NODE?e.endContainer:e.endContainer.parentElement;return!!o&&D(o,t)||!!n&&D(n,t)},fe=e=>{var o;if(!e.focusNode)return null;const t=(o=e.anchorNode)==null?void 0:o.compareDocumentPosition(e.focusNode);return t?(t&4)>0:e.anchorOffset<e.focusOffset},he=(e,t,o)=>{const n=document.querySelector(`${T} ${$}`),s=document.querySelector(`${T}`),l=document.querySelectorAll(`${T} ${$} ${ae}`);if(!n||!s){console.warn("Text tooltip : Tooltip or it's parent are not found in the DOM");return}Array.from(l).forEach(c=>c.setAttribute("data-selected-text",o));const r=e.getClientRects(),i=r[t?r.length-1:0];n.style.top=`${i.top-s.getBoundingClientRect().top-(n.offsetHeight+10)}px`,i.width<n.offsetWidth?n.style.left=`${i.left-s.getBoundingClientRect().left+i.width/2-n.offsetWidth/2}px`:t?n.style.left=`${i.left-s.getBoundingClientRect().left+i.width-n.offsetWidth}px`:n.style.left=`${i.left-s.getBoundingClientRect().left}px`,n.classList.add(k)},R=()=>{const e=document.querySelector(`${$}`);e&&e.classList.remove(k)},S=({type:e})=>{const t=window.getSelection();if(e==="selectionchange"){R();return}if(!t||!t.rangeCount)return;const o=t.getRangeAt(0),n=t.toString().trim();if(n.length){const s=ue(o,de),l=fe(t)||!1;s&&he(o,l,n);return}R()},me=()=>{if(!(window!=null&&window.getSelection)){console.warn("Selection API isn't supported");return}document.addEventListener("mouseup",S),document.addEventListener("selectionchange",S),document.addEventListener("touchend",S),document.addEventListener("touchcancel",S)},pe=e=>{const{target:t}=e;if(t instanceof Element){const o=t.closest(".c-search-form--button");o&&(e.preventDefault(),o.classList.remove("c-search-form--button"))}},be=(e=document.querySelector(".c-search-form--button"))=>{e&&e.addEventListener("click",t=>{pe(t)})},ge=({tabsContainerElement:e,event:t})=>{t.preventDefault();const o=t.target;if(!(o instanceof HTMLButtonElement))return;const n=e.querySelectorAll('[role="tab"]'),s=e.querySelectorAll('[role="tabpanel"]'),l=o.getAttribute("aria-controls"),r=Object.values(s).find(i=>i.id===l);n.forEach(i=>{i.setAttribute("aria-selected","false")}),s.forEach(i=>{i.setAttribute("aria-hidden","true")}),o.setAttribute("aria-selected","true"),r&&r.removeAttribute("aria-hidden")},j=e=>e.code==="ArrowLeft"||e.keyCode===39,O=e=>e.code==="ArrowRight"||e.keyCode===37,ye=(e=document.querySelectorAll(".js-tabs"))=>{e.length>0&&e.forEach(t=>{const o=t.querySelectorAll('[role="tab"]');o.forEach(s=>{s.addEventListener("click",l=>{ge({tabsContainerElement:t,event:l})})});const n=t.querySelector('[role="tablist"]');if(n&&o.length>0){let s=0;n.addEventListener("keydown",l=>{l instanceof KeyboardEvent&&(j(l)||O(l))&&(o[s].setAttribute("tabindex","-1"),j(l)?(s+=1,s>=o.length&&(s=0)):O(l)&&(s-=1,s<0&&(s=o.length-1)),o[s].setAttribute("tabindex","0"),o[s].focus())})}})},A="c-social-bar-item__container--is-highlighted",ve=e=>{const t=e.find(o=>o.classList.contains(A));t==null||t.classList.remove(A)},Le=()=>{const e=document.querySelector(".c-toolbar");if(e){const t=window.location.origin+window.location.pathname,o=Array.from(e.querySelectorAll(".c-social-bar-item__container"));ve(o);const n=o.find(s=>{var l;return((l=s.querySelector("a"))==null?void 0:l.getAttribute("href"))===t});n==null||n.classList.add(A)}},Ee=()=>{V(),ye(),F(),re(),Q(),ce(),be(),B("olympicsGames","countdown-olympics-games"),me(),b(),Y(),h(),Le(),ne(),se()};m.initScripts=Ee,Object.defineProperty(m,Symbol.toStringTag,{value:"Module"})}); | ||
(function(m,h){typeof exports=="object"&&typeof module<"u"?h(exports):typeof define=="function"&&define.amd?define(["exports"],h):(m=typeof globalThis<"u"?globalThis:m||self,h(m.scripts={}))})(this,function(m){"use strict";var Ae=Object.defineProperty;var qe=(m,h,b)=>h in m?Ae(m,h,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[h]=b;var v=(m,h,b)=>(qe(m,typeof h!="symbol"?h+"":h,b),b);const h=()=>{const e=document.getElementById("elections-form-search"),t=document.querySelector(".c-search-form__autocomplete");if(!e||!t)return;const o=l=>{t.classList.remove("u-hidden");const r=t.querySelectorAll("li"),i=[];return r.forEach(c=>{const d=c.querySelector("a");d&&d.innerHTML.toLowerCase().includes(l.toLowerCase())&&i.push(c.innerHTML)}),i},n=l=>{t.innerHTML+=`<li>${l}</li>`},s=({target:l})=>{const r=l.value;if(t.classList.add("u-hidden"),r.length>=3){const i=o(r);t.innerHTML="",i.length===0&&t.classList.add("u-hidden"),i.forEach(c=>{n(c)})}};e.addEventListener("input",s),e.addEventListener("focusout",()=>{setTimeout(()=>t.classList.add("u-hidden"),300)}),e.addEventListener("focusin",()=>{t.childElementCount>0&&t.classList.remove("u-hidden")})},b=()=>{const e=document.querySelector("header"),t=document.querySelector(".js-limit-scroll-close-article-btn"),o=document.querySelector(".c-close-article-btn"),n=document.querySelector(".c-header-mobile"),s=n instanceof HTMLElement?n.offsetHeight:0;if(e&&t&&o){const l=new IntersectionObserver(()=>{const r=o.classList,i=r.contains("u-hidden"),c=e.getBoundingClientRect().bottom-s,d=t.getBoundingClientRect().bottom-s;i&&c<=0&&d>=0&&r.remove("u-hidden"),!i&&(c>=0||d<=0)&&r.add("u-hidden")},{root:document,rootMargin:`-${s}px 0px 0px 0px`});l.observe(e),l.observe(t)}},W=e=>{e.stopImmediatePropagation(),e.preventDefault();const t=e.currentTarget;if(t instanceof HTMLButtonElement){const o=t.parentElement,n=o==null?void 0:o.querySelector(`#${t.getAttribute("aria-controls")}`);t.getAttribute("aria-expanded")==="true"?(t.setAttribute("aria-expanded","false"),n==null||n.setAttribute("aria-hidden","true")):(t.setAttribute("aria-expanded","true"),n==null||n.setAttribute("aria-hidden","false"))}},F=(e=document.querySelector(".js-collapse__button"))=>{e&&document.querySelectorAll(".c-collapse__button").forEach(o=>{o.addEventListener("click",n=>{W(n)})})},B=(e,t)=>{const o=document.querySelector(`#${t}`);if(o){const n=o.querySelector(".js-countdown-days"),s=o.querySelector(".js-countdown-hours"),l=o.querySelector(".js-countdown-minutes"),r=o.querySelector(".js-countdown-seconds");if(!n||!s||!l||!r)return;window.counters={olympicsGames:"2024-07-26 20:00:00"};const i=window.counters[e],c=new Date(i).getTime(),d=setInterval(()=>{const u=new Date().getTime(),f=c-u;if(f<=0)clearInterval(d);else{const y=Math.floor(f/864e5),g=Math.floor(f%(1e3*60*60*24)/(1e3*60*60)),p=Math.floor(f%(1e3*60*60)/(1e3*60)),$e=Math.floor(f%(1e3*60)/1e3);n.innerHTML=y.toString(),s.innerHTML=g.toString(),l.innerHTML=p.toString(),r.innerHTML=$e.toString()}},1e3)}},N=e=>{var n;e.setAttribute("aria-expanded","true");const t=(n=e.parentNode)==null?void 0:n.querySelectorAll(".js-ellipsis-target");t==null||t.forEach(s=>s.classList.remove("u-ellipsis"));const o=e.querySelector(".js-ellipsis-button__label");o instanceof HTMLSpanElement&&(o.innerHTML="Voir moins")},P=e=>{var n;const t=(n=e.parentNode)==null?void 0:n.querySelectorAll(".js-ellipsis-target");t==null||t.forEach(s=>s.classList.add("u-ellipsis")),e.setAttribute("aria-expanded","false");const o=e.querySelector(".js-ellipsis-button__label");o instanceof HTMLSpanElement&&(o.innerHTML="Voir plus")},K=e=>{const t=e.currentTarget;return e.preventDefault(),t instanceof HTMLButtonElement?t.getAttribute("aria-expanded")==="true"?P(t):N(t):null},V=(e=document.querySelector(".js-ellipsis-button"))=>{e&&document.querySelectorAll(".js-ellipsis-button").forEach(o=>o.addEventListener("click",K))},Y=e=>{var n;e.setAttribute("aria-expanded","true");const t=(n=e.parentNode)==null?void 0:n.querySelectorAll(".js-expand-target");t==null||t.forEach(s=>s.setAttribute("aria-hidden","false"));const o=e.querySelector(".js-expand-button__label");o instanceof HTMLSpanElement&&(o.innerHTML="Voir moins")},G=e=>{var n;const t=(n=e.parentNode)==null?void 0:n.querySelectorAll(".js-expand-target");t==null||t.forEach(s=>s.setAttribute("aria-hidden","true")),e.setAttribute("aria-expanded","false");const o=e.querySelector(".js-expand-button__label");o instanceof HTMLSpanElement&&(o.innerHTML="Voir plus")},X=e=>{const t=e.currentTarget;return e.preventDefault(),t instanceof HTMLButtonElement?t.getAttribute("aria-expanded")==="true"?G(t):Y(t):null},U=(e=document.querySelector(".js-expand-button"))=>{e&&document.querySelectorAll(".js-expand-button").forEach(o=>o.addEventListener("click",X))},z=()=>{const e=document.querySelectorAll(".js-half-donut-result");for(const t of Array.from(e)){const o=t.querySelector(".c-half-donut"),n=t.querySelector(".c-legend");if(!o||!n)return;n.querySelectorAll("[data-color]").forEach(s=>{const l=s.getAttribute("data-color"),r=o.querySelector(`.c-half-donut__zone--${l}`);r==null||r.addEventListener("mouseenter",()=>{s.classList.add("c-legend__item--is-hovered"),o.classList.add("c-half-donut--is-hovered"),n.classList.add("c-legend--is-hovered")}),r==null||r.addEventListener("mouseleave",()=>{s.classList.remove("c-legend__item--is-hovered"),o.classList.remove("c-half-donut--is-hovered"),n.classList.remove("c-legend--is-hovered")}),s.addEventListener("mouseenter",()=>{r==null||r.classList.add("c-half-donut__zone--is-hovered"),n.classList.add("c-legend--is-hovered"),o.classList.add("c-half-donut--is-hovered")}),s.addEventListener("mouseleave",()=>{r==null||r.classList.remove("c-half-donut__zone--is-hovered"),n.classList.remove("c-legend--is-hovered"),o.classList.remove("c-half-donut--is-hovered")})})}},a={inert:":not([inert]):not([inert] *)",negTabIndex:':not([tabindex^="-"])',disabled:":not(:disabled)"};var J=[`a[href]${a.inert}${a.negTabIndex}`,`area[href]${a.inert}${a.negTabIndex}`,`input:not([type="hidden"]):not([type="radio"])${a.inert}${a.negTabIndex}${a.disabled}`,`input[type="radio"]${a.inert}${a.negTabIndex}${a.disabled}`,`select${a.inert}${a.negTabIndex}${a.disabled}`,`textarea${a.inert}${a.negTabIndex}${a.disabled}`,`button${a.inert}${a.negTabIndex}${a.disabled}`,`details${a.inert} > summary:first-of-type${a.negTabIndex}`,`iframe${a.inert}${a.negTabIndex}`,`audio[controls]${a.inert}${a.negTabIndex}`,`video[controls]${a.inert}${a.negTabIndex}`,`[contenteditable]${a.inert}${a.negTabIndex}`,`[tabindex]${a.inert}${a.negTabIndex}`];function q(e){(e.querySelector("[autofocus]")||e).focus()}function Q(e){const t=L(e,!0),o=t?L(e,!1)||t:null;return[t,o]}function L(e,t){if(t&&M(e))return e;if(ee(e))if(e.shadowRoot){let o=x(e.shadowRoot,t);for(;o;){const n=L(o,t);if(n)return n;o=C(o,t)}}else if(e.localName==="slot"){const o=e.assignedElements({flatten:!0});t||o.reverse();for(const n of o){const s=L(n,t);if(s)return s}}else{let o=x(e,t);for(;o;){const n=L(o,t);if(n)return n;o=C(o,t)}}return!t&&M(e)?e:null}function x(e,t){return t?e.firstElementChild:e.lastElementChild}function C(e,t){return t?e.nextElementSibling:e.previousElementSibling}const Z=e=>e.matches("details:not([open]) *")&&!e.matches("details>summary:first-of-type")?!0:!(e.offsetWidth||e.offsetHeight||e.getClientRects().length),M=e=>{var t;return(t=e.shadowRoot)!=null&&t.delegatesFocus?!1:e.matches(J.join(","))&&!Z(e)};function ee(e){return e.shadowRoot&&e.getAttribute("tabindex")==="-1"?!1:!e.matches(":disabled,[hidden],[inert]")}function _(e=document){const t=e.activeElement;return t?t.shadowRoot?_(t.shadowRoot)||document.activeElement:t:null}function te(e,t){const[o,n]=Q(e);if(!o)return t.preventDefault();const s=_();t.shiftKey&&s===o?(n.focus(),t.preventDefault()):!t.shiftKey&&s===n&&(o.focus(),t.preventDefault())}class H{constructor(t){v(this,"$el");v(this,"id");v(this,"previouslyFocused");v(this,"shown");this.$el=t,this.id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0)),this.fire("destroy"),this}show(t){var o;return this.shown?this:(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=_(),((o=this.previouslyFocused)==null?void 0:o.tagName)==="BODY"&&(t!=null&&t.target)&&(this.previouslyFocused=t.target),(t==null?void 0:t.type)==="focus"?this.maintainFocus(t):q(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0),this.fire("show",t),this)}hide(t){var o,n;return this.shown?(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),(n=(o=this.previouslyFocused)==null?void 0:o.focus)==null||n.call(o),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0),this.fire("hide",t),this):this}on(t,o,n){return this.$el.addEventListener(t,o,n),this}off(t,o,n){return this.$el.removeEventListener(t,o,n),this}fire(t,o){this.$el.dispatchEvent(new CustomEvent(t,{detail:o,cancelable:!0}))}handleTriggerClicks(t){const o=t.target;o.closest(`[data-a11y-dialog-show="${this.id}"]`)&&this.show(t),(o.closest(`[data-a11y-dialog-hide="${this.id}"]`)||o.closest("[data-a11y-dialog-hide]")&&o.closest('[aria-modal="true"]')===this.$el)&&this.hide(t)}bindKeypress(t){var n;if(((n=document.activeElement)==null?void 0:n.closest('[aria-modal="true"]'))!==this.$el)return;let o=!1;try{o=!!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open')}catch{}t.key==="Escape"&&this.$el.getAttribute("role")!=="alertdialog"&&!o&&(t.preventDefault(),this.hide(t)),t.key==="Tab"&&te(this.$el,t)}maintainFocus(t){t.target.closest('[aria-modal="true"], [data-a11y-dialog-ignore-focus-trap]')||q(this.$el)}}function I(){for(const e of document.querySelectorAll("[data-a11y-dialog]"))new H(e)}typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",I):I());const oe=()=>document.querySelectorAll(".js-modal").forEach(e=>{if(!(e instanceof HTMLElement))return;const t=new H(e),o={x:0,y:0};t.on("show",()=>{o.x=window.scrollX,o.y=window.scrollY,document.body.classList.add("noscroll"),document.body.style.top=`-${o.y}px`}).on("hide",()=>{document.body.classList.remove("noscroll"),document.body.style.top="",(window.scrollY!==o.y||window.scrollX!==o.x)&&window.scroll(o.x,o.y)})}),ne=({navigatedList:e,nextBtn:t,prevBtn:o})=>{var l,r,i,c,d,u,f,y;const n=e.scrollLeft>0,s=e.scrollLeft+e.clientWidth<e.scrollWidth;n&&s?((l=t.classList)==null||l.add("o-nav-button--visible"),(r=o.classList)==null||r.add("o-nav-button--visible")):n?((i=t.classList)==null||i.remove("o-nav-button--visible"),(c=o.classList)==null||c.add("o-nav-button--visible")):s?((d=t.classList)==null||d.add("o-nav-button--visible"),(u=o.classList)==null||u.remove("o-nav-button--visible")):((f=t.classList)==null||f.remove("o-nav-button--visible"),(y=o.classList)==null||y.remove("o-nav-button--visible"))},se=({navigatedList:e,nextBtn:t,prevBtn:o,sliderVariant:n})=>{if(e){const s=e.closest(".js-overview-bar-container"),l=s==null?void 0:s.querySelector(".c-stepper"),r=l==null?void 0:l.querySelectorAll(".c-stepper__item");if(r){const i=Array.from(r).findIndex(c=>c.classList.contains("c-stepper__item--loading"));if(i<0)r[0].classList.add("c-stepper__item--loading");else{r[i].classList.remove("c-stepper__item--loading"),r[i].classList.add("c-stepper__item--loaded");const c=r[i].querySelector(".c-stepper__loader");c&&c instanceof HTMLElement&&(c.style.transition="width 0s linear"),i+1<r.length&&r[i+1].classList.add("c-stepper__item--loading")}}if(e.scrollWidth-e.clientWidth>e.clientWidth){let i=e.scrollLeft;switch(n){case"three-columns-articles":i+=e.clientWidth+32;break;case"rubrics":i+=e.clientWidth-36;break;default:i+=Math.ceil(e.clientWidth*.6);break}e.scrollTo({left:i,behavior:"smooth"}),o.classList.add("o-nav-button--visible"),i+e.clientWidth>=e.scrollWidth&&t.classList.remove("o-nav-button--visible")}else{const i=e.scrollWidth-e.clientWidth;e.scrollTo({left:i,behavior:"smooth"}),t.classList.remove("o-nav-button--visible"),o.classList.add("o-nav-button--visible")}}},ie=({navigatedList:e,nextBtn:t,prevBtn:o,sliderVariant:n,delay:s})=>{if(e){const l=e.closest(".js-overview-bar-container"),r=l==null?void 0:l.querySelector(".c-stepper"),i=r==null?void 0:r.querySelectorAll(".c-stepper__item");if(i){const c=Array.from(i).findIndex(d=>d.classList.contains("c-stepper__item--loading"));c<0?i[0].classList.add("c-stepper__item--loading"):(i[c].classList.remove("c-stepper__item--loading"),i[c].classList.remove("c-stepper__item--loaded"),c-1>0&&(i[c-1].classList.remove("c-stepper__item--loading"),i[c-1].classList.remove("c-stepper__item--loaded"),setTimeout(()=>{const d=i[c-1].querySelector(".c-stepper__loader");i[c-1].classList.add("c-stepper__item--loading"),d&&d instanceof HTMLElement&&(d.style.transition=`width ${s/1e3}s linear`)},0)))}if(e.clientWidth<e.scrollLeft){let c=e.scrollLeft;switch(n){case"three-columns-articles":c-=e.clientWidth+32;break;case"rubrics":c-=e.clientWidth-36;break;default:c-=Math.ceil(e.clientWidth*.6);break}e.scrollTo({left:c,behavior:"smooth"}),t.classList.add("o-nav-button--visible"),c===0&&o.classList.remove("o-nav-button--visible")}else e.scrollTo({left:0,behavior:"smooth"}),o.classList.remove("o-nav-button--visible"),e.clientWidth<e.scrollWidth&&t.classList.add("o-nav-button--visible")}},re=({navigatedList:e,nextBtn:t,prevBtn:o})=>{ne({navigatedList:e,nextBtn:t,prevBtn:o})},le=()=>{const e=document.querySelectorAll(".js-navigation-container");for(const t of Array.from(e)){const{sliderVariant:o}=t.dataset,{sliderAuto:n}=t.dataset,{sliderDelay:s}=t.dataset,l=s?parseInt(s,10):3e3,r=t.closest(".js-overview-bar-container"),i=r==null?void 0:r.querySelector(".c-stepper"),c=i==null?void 0:i.querySelectorAll(".c-stepper__item");if(t){const d=t.querySelector(".js-navigation-container__list"),u=t.querySelector(".o-nav-button--next-button"),f=t.querySelector(".o-nav-button--previous-button");if(d&&d.clientWidth<d.scrollWidth&&(u==null||u.classList.add("o-nav-button--visible")),d&&u&&f&&(u==null||u.addEventListener("click",se.bind(!1,{navigatedList:d,nextBtn:u,prevBtn:f,sliderVariant:o})),f==null||f.addEventListener("click",ie.bind(!1,{navigatedList:d,nextBtn:u,prevBtn:f,sliderVariant:o,delay:l}))),n==="true"&&u){const y=i?i.querySelector(".c-stepper__item--loading"):null;c&&(c.forEach(g=>{const p=g.querySelector(".c-stepper__loader");p&&p instanceof HTMLElement&&(p.style.transition=`width ${l/1e3}s linear`)}),y||c[0].classList.add("c-stepper__item--loading")),setInterval(()=>{u.classList.contains("o-nav-button--visible")?u.click():d&&f&&(d.scrollLeft=0,c&&(c.forEach(g=>{const p=g.querySelector(".c-stepper__loader");p&&p instanceof HTMLElement&&(p.style.transition="width 0s linear"),g.classList.remove("c-stepper__item--loading"),g.classList.remove("c-stepper__item--loaded"),setTimeout(()=>{p&&p instanceof HTMLElement&&(p.style.transition=`width ${l/1e3}s linear`)},0)}),setTimeout(()=>{c[0].classList.add("c-stepper__item--loading")},0)),f.click())},l)}}}},ce=()=>{const e=document.querySelectorAll(".js-navigation-container");for(const t of Array.from(e))if(t){const o=t.querySelector(".js-navigation-container__list"),n=t.querySelector(".o-nav-button--next-button"),s=t.querySelector(".o-nav-button--previous-button");o&&n&&s&&window.addEventListener("resize",re.bind(!1,{navigatedList:o,nextBtn:n,prevBtn:s}))}},ae=()=>{const e=document.querySelector(".js-limit-scroll-progress-bar"),t=document.querySelector(".c-progress__bar");if(!t)return;const{documentElement:o}=document;let n=o.scrollHeight-o.clientHeight;if(!n)return;const s=o.scrollTop;e&&(n=e.scrollHeight-o.clientHeight+(window.pageYOffset+e.getBoundingClientRect().top));const l=Math.round(s/n*100);t.style.width=`${l}%`,l>=100&&(t.style.width="100%")},de=()=>{document.querySelector(".c-progress")&&window.addEventListener("scroll",ae)};let E,T=0;const ue=()=>{E=null,document.body.getBoundingClientRect().top>T+2&&(E="up"),document.body.getBoundingClientRect().top<T-2&&(E="down"),T=document.body.getBoundingClientRect().top;const e=document.querySelector(".c-read-also-banner");if(e){const t=e.dataset.bannerLimitTop||"0";E==="up"&&-document.body.getBoundingClientRect().top>=parseInt(t,10)&&(e.classList.remove("c-read-also-banner__scrolldirection--down"),e.style.paddingTop="0.75em",e.style.paddingBottom="0.75em",e.style.borderWidth="1px",e.classList.contains("c-read-also-banner__scrolldirection--up")||e.classList.add("c-read-also-banner__scrolldirection--up")),(E==="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.style.borderWidth="0",e.classList.contains("c-read-also-banner__scrolldirection--down")||e.classList.add("c-read-also-banner__scrolldirection--down"))}},fe=(e=document.querySelector(".c-read-also-banner"))=>{if(e){let t;window.addEventListener("scroll",()=>{clearTimeout(t),t=setTimeout(ue,100)})}},w="#page-content",$="#text-tooltip",he=".tooltip-btn",k="c-text-tooltip--show",me=["#page-content .c-content p","#page-content .c-content h2","#page-content .c-content h3","#page-content .c-content h4","#page-content .c-content h5","#page-content .c-content h6","#page-content .c-content li","#page-content .c-content span","#page-content header span","#page-content header h1","#page-content header h2"],j=(e,t)=>e instanceof Element?t.some(o=>e.matches(o)):!1,pe=(e,t)=>{const o=e.startContainer.nodeType===Node.ELEMENT_NODE?e.startContainer:e.startContainer.parentElement,n=e.endContainer.nodeType===Node.ELEMENT_NODE?e.endContainer:e.endContainer.parentElement;return!!o&&j(o,t)||!!n&&j(n,t)},be=e=>{var o;if(!e.focusNode)return null;const t=(o=e.anchorNode)==null?void 0:o.compareDocumentPosition(e.focusNode);return t?(t&4)>0:e.anchorOffset<e.focusOffset},ge=(e,t,o)=>{const n=document.querySelector(`${w} ${$}`),s=document.querySelector(`${w}`),l=document.querySelectorAll(`${w} ${$} ${he}`);if(!n||!s){console.warn("Text tooltip : Tooltip or it's parent are not found in the DOM");return}Array.from(l).forEach(c=>c.setAttribute("data-selected-text",o));const r=e.getClientRects(),i=r[t?r.length-1:0];n.style.top=`${i.top-s.getBoundingClientRect().top-(n.offsetHeight+10)}px`,i.width<n.offsetWidth?n.style.left=`${i.left-s.getBoundingClientRect().left+i.width/2-n.offsetWidth/2}px`:t?n.style.left=`${i.left-s.getBoundingClientRect().left+i.width-n.offsetWidth}px`:n.style.left=`${i.left-s.getBoundingClientRect().left}px`,n.classList.add(k)},D=()=>{const e=document.querySelector(`${$}`);e&&e.classList.remove(k)},S=({type:e})=>{const t=window.getSelection();if(e==="selectionchange"){D();return}if(!t||!t.rangeCount)return;const o=t.getRangeAt(0),n=t.toString().trim();if(n.length){const s=pe(o,me),l=be(t)||!1;s&&ge(o,l,n);return}D()},ye=()=>{if(!(window!=null&&window.getSelection)){console.warn("Selection API isn't supported");return}document.addEventListener("mouseup",S),document.addEventListener("selectionchange",S),document.addEventListener("touchend",S),document.addEventListener("touchcancel",S)},Le=e=>{const{target:t}=e;if(t instanceof Element){const o=t.closest(".c-search-form--button");o&&(e.preventDefault(),o.classList.remove("c-search-form--button"))}},Ee=(e=document.querySelector(".c-search-form--button"))=>{e&&e.addEventListener("click",t=>{Le(t)})},ve=({tabsContainerElement:e,event:t})=>{t.preventDefault();const o=t.target;if(!(o instanceof HTMLButtonElement))return;const n=e.querySelectorAll('[role="tab"]'),s=e.querySelectorAll('[role="tabpanel"]'),l=o.getAttribute("aria-controls"),r=Object.values(s).find(i=>i.id===l);n.forEach(i=>{i.setAttribute("aria-selected","false")}),s.forEach(i=>{i.setAttribute("aria-hidden","true")}),o.setAttribute("aria-selected","true"),r&&r.removeAttribute("aria-hidden")},R=e=>e.code==="ArrowLeft"||e.keyCode===39,O=e=>e.code==="ArrowRight"||e.keyCode===37,Se=(e=document.querySelectorAll(".js-tabs"))=>{e.length>0&&e.forEach(t=>{const o=t.querySelectorAll('[role="tab"]');o.forEach(s=>{s.addEventListener("click",l=>{ve({tabsContainerElement:t,event:l})})});const n=t.querySelector('[role="tablist"]');if(n&&o.length>0){let s=0;n.addEventListener("keydown",l=>{l instanceof KeyboardEvent&&(R(l)||O(l))&&(o[s].setAttribute("tabindex","-1"),R(l)?(s+=1,s>=o.length&&(s=0)):O(l)&&(s-=1,s<0&&(s=o.length-1)),o[s].setAttribute("tabindex","0"),o[s].focus())})}})},A="c-social-bar-item__container--is-highlighted",_e=e=>{const t=e.find(o=>o.classList.contains(A));t==null||t.classList.remove(A)},Te=()=>{const e=document.querySelector(".c-toolbar");if(e){const t=window.location.origin+window.location.pathname,o=Array.from(e.querySelectorAll(".c-social-bar-item__container"));_e(o);const n=o.find(s=>{var l;return((l=s.querySelector("a"))==null?void 0:l.getAttribute("href"))===t});n==null||n.classList.add(A)}},we=()=>{U(),Se(),F(),V(),de(),oe(),fe(),Ee(),B("olympicsGames","countdown-olympics-games"),ye(),b(),z(),h(),Te(),le(),ce()};m.initScripts=we,Object.defineProperty(m,Symbol.toStringTag,{value:"Module"})}); |
@@ -6,4 +6,5 @@ import { default as React } from 'react'; | ||
children: React.ReactNode; | ||
className?: string; | ||
isHidden?: boolean; | ||
} | ||
export declare const TabPanel: React.FC<TabPanelProps>; |
@@ -6,2 +6,3 @@ export * from './CardContainer'; | ||
export * from './CardTitle'; | ||
export * from './CardVideo'; | ||
export * from './Templates'; |
@@ -11,2 +11,3 @@ import { default as React } from 'react'; | ||
}[]; | ||
fitContainer?: boolean; | ||
tabItemActive?: string; | ||
@@ -13,0 +14,0 @@ tabVariant?: TabType; |
@@ -5,4 +5,5 @@ export * from './Elections'; | ||
export * from './MostReadArticles'; | ||
export * from './MostWatchVideos'; | ||
export * from './OverviewBar'; | ||
export * from './ThreeColumnsArticles'; | ||
export * from './Toolbar'; |
{ | ||
"name": "@20minutes/hela", | ||
"version": "1.13.0", | ||
"version": "1.13.1", | ||
"repository": "git@github.com:20minutes/hela.git", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2313575
529
25356