PageSourceSearch

https://www.mer.gouv.fr/modules/custom/mer_orejime/js/orejime-dsfr/orejime-dsfr-fr.js

js mer.gouv.fr collected 2026-09-24 17:39:04 UTC 41,816 bytes, 1 lines download raw bytes

vendor: 5,317 bytes, line 1
1!function(){"use strict";let e,t;var n,o,r={},i={};function l(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,l),n.exports}l.rv=function(){return"1.6.5"},l.ruid="[email protected]";var s,a,c,u,d,_,p,f,h,m,v,g,y={},b=[],C=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,w=Array.isArray;function k(e,t){for(var n in t)e[n]=t[n];return e}function E(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function N(e,t,n,o,r){var i={type:e,props:t,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==r?++c:r,__i:-1,__u:0};return null==r&&null!=a.vnode&&a.vnode(i),i}function A(e){return e.children}function x(e,t){this.props=e,this.context=t}function P(e,t){if(null==t)return e.__?P(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?P(e):null}function j(e){(!e.__d&&(e.__d=!0)&&u.push(e)&&!T.__r++||d!=a.debounceRendering)&&((d=a.debounceRendering)||_)(T)}function T(){for(var e,t,n,o,r,i,l=1;u.length;)u.length>l&&u.sort(p),e=u.shift(),l=u.length,e.__d&&(t=void 0,n=void 0,o=(n=e.__v).__e,r=[],i=[],e.__P&&((t=k({},n)).__v=n.__v+1,a.vnode&&a.vnode(t),O(e.__P,t,n,e.__n,e.__P.namespaceURI,32&n.__u?[o]:null,r,null==o?P(n):o,!!(32&n.__u),i),t.__v=n.__v,t.__.__k[t.__i]=t,F(r,t,i),n.__e=n.__=null,t.__e!=o&&function e(t){var n,o;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(o=t.__k[n])&&null!=o.__e){t.__e=t.__c.base=o.__e;break}return e(t)}}(t)));T.__r=0}function M(e,t,n,o,r,i,l,s,c,u,d){var _,p,f,h,m,v,g,C=o&&o.__k||b,k=t.length;for(c=function(e,t,n,o,r){var i,l,s,c,u,d=n.length,_=d,p=0;for(e.__k=Array(r),i=0;i<r;i++)null!=(l=t[i])&&"boolean"!=typeof l&&"function"!=typeof l?(c=i+p,(l=e.__k[i]="string"==typeof l||"number"==typeof l||"bigint"==typeof l||l.constructor==String?N(null,l,null,null,null):w(l)?N(A,{children:l},null,null,null):null==l.constructor&&l.__b>0?N(l.type,l.props,l.key,l.ref?l.ref:null,l.__v):l).__=e,l.__b=e.__b+1,s=null,-1!=(u=l.__i=function(e,t,n,o){var r,i,l,s=e.key,a=e.type,c=t[n],u=null!=c&&0==(2&c.__u);if(null===c&&null==e.key||u&&s==c.key&&a==c.type)return n;if(o>+!!u){for(r=n-1,i=n+1;r>=0||i<t.length;)if(null!=(c=t[l=r>=0?r--:i++])&&0==(2&c.__u)&&s==c.key&&a==c.type)return l}return -1}(l,n,c,_))&&(_--,(s=n[u])&&(s.__u|=2)),null==s||null==s.__v?(-1==u&&(r>d?p--:r<d&&p++),"function"!=typeof l.type&&(l.__u|=4)):u!=c&&(u==c-1?p--:u==c+1?p++:(u>c?p--:p++,l.__u|=4))):e.__k[i]=null;if(_)for(i=0;i<d;i++)null!=(s=n[i])&&0==(2&s.__u)&&(s.__e==o&&(o=P(s)),function e(t,n,o){var r,i;if(a.unmount&&a.unmount(t),(r=t.ref)&&(r.current&&r.current!=t.__e||H(r,null,n)),null!=(r=t.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){a.__e(e,n)}r.base=r.__P=null}if(r=t.__k)for(i=0;i<r.length;i++)r[i]&&e(r[i],n,o||"function"!=typeof t.type);o||E(t.__e),t.__c=t.__=t.__e=void 0}(s,s));return o}(n,t,C,c,k),_=0;_<k;_++)null!=(f=n.__k[_])&&(p=-1==f.__i?y:C[f.__i]||y,f.__i=_,v=O(e,f,p,r,i,l,s,c,u,d),h=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&H(p.ref,null,f),d.push(f.ref,f.__c||h,f)),null==m&&null!=h&&(m=h),(g=!!(4&f.__u))||p.__k===f.__k?c=function e(t,n,o,r){var i,l;if("function"==typeof t.type){for(i=t.__k,l=0;i&&l<i.length;l++)i[l]&&(i[l].__=t,n=e(i[l],n,o,r));return n}t.__e!=n&&(r&&(n&&t.type&&!n.parentNode&&(n=P(t)),o.insertBefore(t.__e,n||null)),n=t.__e);do n=n&&n.nextSibling;while(null!=n&&8==n.nodeType);return n}(f,c,e,g):"function"==typeof f.type&&void 0!==v?c=v:h&&(c=h.nextSibling),f.__u&=-7);return n.__e=m,c}function S(e,t,n){"-"==t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||C.test(t)?n:n+"px"}function I(e,t,n,o,r){var i,l;e:if("style"==t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof o&&(e.style.cssText=o=""),o)for(t in o)n&&t in n||S(e.style,t,"");if(n)for(t in n)o&&n[t]==o[t]||S(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])i=t!=(t=t.replace(f,"$1")),t=(l=t.toLowerCase())in e||"onFocusOut"==t||"onFocusIn"==t?l.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?o?n.u=o.u:(n.u=h,e.addEventListener(t,i?v:m,i)):e.removeEventListener(t,i?v:m,i);else{if("http://www.w3.org/2000/svg"==r)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function L(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=h++;else if(t.t<n.u)return;return n(a.event?a.event(t):t)}}}function O(e,t,n,o,r,i,l,c,u,d){var _,p,f,h,m,v,g,b,C,N,j,T,S,L,O,F,H,D=t.type;if(null!=t.constructor)return null;128&n.__u&&(u=!!(32&n.__u),i=[c=t.__e=n.__e]),(_=a.__b)&&_(t);e:if("function"==typeof D)try{if(b=t.props,C="prototype"in D&&D.prototype.render,N=(_=D.contextType)&&o[_.__c],j=_?N?N.props.value:_.__:o,n.__c?g=(p=t.__c=n.__c).__=p.__E:(C?t.__c=p=new D(b,j):(t.__c=p=new x(b,j),p.constructor=D,p.render=$),N&&N.sub(p),p.props=b,p.state||(p.state={}),p.context=j,p.__n=o,f=p.__d=!0,p.__h=[],p._sb=[]),C&&null==p.__s&&(p.__s=p.state),C&&null!=D.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=k({}
vendor: 5,049 bytes, line 1
1,p.__s)),k(p.__s,D.getDerivedStateFromProps(b,p.__s))),h=p.props,m=p.state,p.__v=t,f)C&&null==D.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),C&&null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(C&&null==D.getDerivedStateFromProps&&b!==h&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(b,j),!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(b,p.__s,j)||t.__v==n.__v){for(t.__v!=n.__v&&(p.props=b,p.state=p.__s,p.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)}),T=0;T<p._sb.length;T++)p.__h.push(p._sb[T]);p._sb=[],p.__h.length&&l.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(b,p.__s,j),C&&null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(h,m,v)})}if(p.context=j,p.props=b,p.__P=e,p.__e=!1,S=a.__r,L=0,C){for(p.state=p.__s,p.__d=!1,S&&S(t),_=p.render(p.props,p.state,p.context),O=0;O<p._sb.length;O++)p.__h.push(p._sb[O]);p._sb=[]}else do p.__d=!1,S&&S(t),_=p.render(p.props,p.state,p.context),p.state=p.__s;while(p.__d&&++L<25);p.state=p.__s,null!=p.getChildContext&&(o=k(k({},o),p.getChildContext())),C&&!f&&null!=p.getSnapshotBeforeUpdate&&(v=p.getSnapshotBeforeUpdate(h,m)),F=_,null!=_&&_.type===A&&null==_.key&&(F=function e(t){return"object"!=typeof t||null==t||t.__b&&t.__b>0?t:w(t)?t.map(e):k({},t)}(_.props.children)),c=M(e,w(F)?F:[F],t,n,o,r,i,l,c,u,d),p.base=t.__e,t.__u&=-161,p.__h.length&&l.push(p),g&&(p.__E=p.__=null)}catch(e){if(t.__v=null,u||null!=i)if(e.then){for(t.__u|=u?160:128;c&&8==c.nodeType&&c.nextSibling;)c=c.nextSibling;i[i.indexOf(c)]=null,t.__e=c}else{for(H=i.length;H--;)E(i[H]);U(t)}else t.__e=n.__e,t.__k=n.__k,e.then||U(t);a.__e(e,t,n)}else null==i&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):c=t.__e=function(e,t,n,o,r,i,l,c,u){var d,_,p,f,h,m,v,g=n.props,b=t.props,C=t.type;if("svg"==C?r="http://www.w3.org/2000/svg":"math"==C?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),null!=i){for(d=0;d<i.length;d++)if((h=i[d])&&"setAttribute"in h==!!C&&(C?h.localName==C:3==h.nodeType)){e=h,i[d]=null;break}}if(null==e){if(null==C)return document.createTextNode(b);e=document.createElementNS(r,C,b.is&&b),c&&(a.__m&&a.__m(t,i),c=!1),i=null}if(null==C)g===b||c&&e.data==b||(e.data=b);else{if(i=i&&s.call(e.childNodes),g=n.props||y,!c&&null!=i)for(g={},d=0;d<e.attributes.length;d++)g[(h=e.attributes[d]).name]=h.value;for(d in g)if(h=g[d],"children"==d);else if("dangerouslySetInnerHTML"==d)p=h;else if(!(d in b)){if("value"==d&&"defaultValue"in b||"checked"==d&&"defaultChecked"in b)continue;I(e,d,null,h,r)}for(d in b)h=b[d],"children"==d?f=h:"dangerouslySetInnerHTML"==d?_=h:"value"==d?m=h:"checked"==d?v=h:c&&"function"!=typeof h||g[d]===h||I(e,d,h,g[d],r);if(_)c||p&&(_.__html==p.__html||_.__html==e.innerHTML)||(e.innerHTML=_.__html),t.__k=[];else if(p&&(e.innerHTML=""),M("template"==t.type?e.content:e,w(f)?f:[f],t,n,o,"foreignObject"==C?"http://www.w3.org/1999/xhtml":r,i,l,i?i[0]:n.__k&&P(n,0),c,u),null!=i)for(d=i.length;d--;)E(i[d]);c||(d="value","progress"==C&&null==m?e.removeAttribute("value"):null==m||m===e[d]&&("progress"!=C||m)&&("option"!=C||m==g[d])||I(e,d,m,g[d],r),d="checked",null!=v&&v!=e[d]&&I(e,d,v,g[d],r))}return e}(n.__e,t,n,o,r,i,l,u,d);return(_=a.diffed)&&_(t),128&t.__u?void 0:c}function U(e){e&&e.__c&&(e.__c.__e=!0),e&&e.__k&&e.__k.forEach(U)}function F(e,t,n){for(var o=0;o<n.length;o++)H(n[o],n[++o],n[++o]);a.__c&&a.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){a.__e(e,t.__v)}})}function H(e,t,n){try{if("function"==typeof e){var o="function"==typeof e.__u;o&&e.__u(),o&&null==t||(e.__u=e(t))}else e.current=t}catch(e){a.__e(e,n)}}function $(e,t,n){return this.constructor(e,n)}function D(e,t,n){var o,r,i,l;t==document&&(t=document.documentElement),a.__&&a.__(e,t),r=(o="function"==typeof n)?null:n&&n.__k||t.__k,i=[],l=[],O(t,e=(!o&&n||t).__k=function(e,t,n){var o,r,i,l={};for(i in t)"key"==i?o=t[i]:"ref"==i?r=t[i]:l[i]=t[i];if(arguments.length>2&&(l.children=arguments.length>3?s.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===l[i]&&(l[i]=e.defaultProps[i]);return N(e,l,o,r,null)}(A,null,[e]),r||y,y,t.namespaceURI,!o&&n?[n]:r?null:t.firstChild?s.call(t.childNodes):null,i,!o&&n?n:r?r.__e:t.firstChild,o,l),F(i,e,l)}s=b.slice,a={__e:function(e,t,n,o){for(var r,i,l;t=t.__;)if((r=t.__c)&&!r.__)try{if((i=r.constructor)&&null!=i.getDerivedStateFromError&&(r.setState(i.getDerivedStateFromError(e)),l=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,o||{}),l=r.__d),l)return r.__E=r}catch(t){e=t}throw e}},c=0,x.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=k({},this.state),"function"==typeof e&&(e=e(k({},n),this.props)),e&&k(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),j(this))},x.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),j(this))},x.prototype.render=A,u=[],_="function"==typeof Promise?Promise.prototype.then.bind(Prom
vendor: 5,057 bytes, line 1
1ise.resolve()):setTimeout,p=function(e,t){return e.__v.__b-t.__v.__b},T.__r=0,f=/(PointerCapture)$|Capture$/i,h=0,m=L(!1),v=L(!0),g=0;var B=0;function R(e,t,n,o,r,i){t||(t={});var l,s,c=t;if("ref"in c)for(s in c={},t)"ref"==s?l=t[s]:c[s]=t[s];var u={type:e,props:c,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--B,__i:-1,__u:0,__source:r,__self:i};if("function"==typeof e&&(l=e.defaultProps))for(s in l)void 0===c[s]&&(c[s]=l[s]);return a.vnode&&a.vnode(u),u}var q,W,z,K,V=0,G=[],J=a,Y=J.__b,X=J.__r,Q=J.diffed,Z=J.__c,ee=J.unmount,et=J.__;function en(e,t){J.__h&&J.__h(W,e,V||t),V=0;var n=W.__H||(W.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function eo(e){return V=1,function(e,t,n){var o=en(q++,2);if(o.t=e,!o.__c&&(o.__=[ep(void 0,t),function(e){var t=o.__N?o.__N[0]:o.__[0],n=o.t(t,e);t!==n&&(o.__N=[n,o.__[1]],o.__c.setState({}))}],o.__c=W,!W.__f)){var r=function(e,t,n){if(!o.__c.__H)return!0;var r=o.__c.__H.__.filter(function(e){return!!e.__c});if(r.every(function(e){return!e.__N}))return!i||i.call(this,e,t,n);var l=o.__c.props!==e;return r.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(l=!0)}}),i&&i.call(this,e,t,n)||l};W.__f=!0;var i=W.shouldComponentUpdate,l=W.componentWillUpdate;W.componentWillUpdate=function(e,t,n){if(this.__e){var o=i;i=void 0,r(e,t,n),i=o}l&&l.call(this,e,t,n)},W.shouldComponentUpdate=r}return o.__N||o.__}(ep,e)}function er(e,t){var n=en(q++,3);!J.__s&&e_(n.__H,t)&&(n.__=e,n.u=t,W.__H.__h.push(n))}function ei(e,t){var n=en(q++,4);!J.__s&&e_(n.__H,t)&&(n.__=e,n.u=t,W.__h.push(n))}function el(e){var t,n,o;return V=5,t=function(){return{current:e}},n=[],e_((o=en(q++,7)).__H,n)&&(o.__=t(),o.__H=n,o.__h=t),o.__}function es(e){var t=W.context[e.__c],n=en(q++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(W)),t.props.value):e.__}function ea(){for(var e;e=G.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(eu),e.__H.__h.forEach(ed),e.__H.__h=[]}catch(t){e.__H.__h=[],J.__e(t,e.__v)}}J.__b=function(e){W=null,Y&&Y(e)},J.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),et&&et(e,t)},J.__r=function(e){X&&X(e),q=0;var t=(W=e.__c).__H;t&&(z===W?(t.__h=[],W.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.forEach(eu),t.__h.forEach(ed),t.__h=[],q=0)),z=W},J.diffed=function(e){Q&&Q(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==G.push(t)&&K===J.requestAnimationFrame||((K=J.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(o),ec&&cancelAnimationFrame(t),setTimeout(e)},o=setTimeout(n,35);ec&&(t=requestAnimationFrame(n))})(ea)),t.__H.__.forEach(function(e){e.u&&(e.__H=e.u),e.u=void 0})),z=W=null},J.__c=function(e,t){t.some(function(e){try{e.__h.forEach(eu),e.__h=e.__h.filter(function(e){return!e.__||ed(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],J.__e(n,e.__v)}}),Z&&Z(e,t)},J.unmount=function(e){ee&&ee(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{eu(e)}catch(e){t=e}}),n.__H=void 0,t&&J.__e(t,n.__v))};var ec="function"==typeof requestAnimationFrame;function eu(e){var t=W,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),W=t}function ed(e){var t=W;e.__c=e.__(),W=t}function e_(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function ep(e,t){return"function"==typeof t?t(e):t}let ef=(e,t)=>!!e.length&&e.every(t),eh=(e,t)=>e.filter(e=>!t.includes(e)),em=e=>Object.fromEntries(e.map(({id:e})=>[e,!0])),ev=e=>Object.fromEntries(e.map(({id:e})=>[e,!1])),eg=(e,t)=>ef(e,({id:e})=>t?.[e]),ey=(e,t)=>ef(e,({id:e,isMandatory:n})=>n||!t?.[e]);var eb=function(e){function t(e){var n,o;return this.getChildContext||(n=new Set,(o={})[t.__c]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__e=!0,j(e)})},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}return t.__c="__cC"+g++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}({});let eC=(e,t,n)=>{let o=(Number(e.dataset.translation)||0)+t*n;Math.sign(o)===Math.sign(n)?(e.dataset.translation=o.toString(),e.style.transform=`translateY(${o}px)`):(delete e.dataset.translation,e.style.transform="")},ew=e=>(e.offsetParent instanceof HTMLElement?ew(e.offsetParent):0)+(parseInt(window.getComputedStyle(e).zIndex,10)||0),ek=()=>{let{config:e}=es(eb);return e},eE=()=>{let{translations:e}=ek();return e},eN=()=>{let{config:e}=es(eb);return e.theme},eA=()=>{let{manager:e}=es(eb),[t,n]=eo(0);return er(()=>{let o=()=>{n(t+1)};return e.on("update",o),()=>{e.off("update",o)}}),e},ex=()=>{let e=ek(),t=eA();return!e.forceModal&&!!t.isDirty()},eP=(e,t)=>"string"!=typeof e?[]:e.split(/\{(?!\{)([\w\d]+)\}(?!\})/gi).filter(e=>!!e).map(e=>e in t?t[e]:e);var ej=({needsUpdate:e,isHidden:t,purposeTitles:n,privacyPolicyUrl:o,onAccept:r,onDecline:i,onConfigure:l})=>{var s;let a=el(),c=eE();return er(()=>{let e=e=>{((e,t)=>
1{let n,o,r;if(t.contains(e)||ew(e)>ew(t))return eC(t,0);let i=(o=e.getBoundingClientRect(),r=(n=window.getComputedStyle(t).getPropertyValue("--orejime-collision-padding")).length?parseInt(n,10):16,{top:o.top+r,right:o.right+r,bottom:o.bottom+r,left:o.left+r}),l=t.getBoundingClientRect();if(!(l.left<i.right&&l.right>i.left))return eC(t,0);let s=l.top+l.height/2>window.innerHeight/2?1:-1,a=s>0?i.bottom-l.top:l.bottom-i.top;if(!(l.top<i.bottom&&l.bottom>i.top))return eC(t,a,s);let c=document.documentElement,u=s>0?Math.abs(c.scrollHeight-c.clientHeight-c.scrollTop):c.scrollTop;window.scrollBy({top:a*s}),a>u&&eC(t,a-u,s)})(e.target,s.current)};return document.addEventListener("focusin",e),()=>{document.removeEventListener("focusin",e)}},[s=a]),R("div",{className:"fr-consent-banner","aria-hidden":t,ref:a,children:[c.banner.title?R("h2",{className:"fr-h6",children:c.banner.title}):null,R("div",{className:"fr-consent-banner__content",children:[R("p",{className:"fr-text--sm",children:eP(c.banner.description,{purposes:R("strong",{children:n.join(", ")},"purposes"),privacyPolicy:R("a",{href:o,children:c.banner.privacyPolicyLabel},"privacyPolicyUrl")})}),e&&R("p",{className:"fr-text--sm",children:c.misc.updateNeeded})]}),R("ul",{className:"fr-consent-banner__buttons fr-btns-group fr-btns-group--right fr-btns-group--inline-sm",children:[R("li",{children:R("button",{className:"fr-btn",title:c.banner.acceptTitle,onClick:r,children:c.banner.accept})}),R("li",{children:R("button",{className:"fr-btn",title:c.banner.declineTitle,onClick:i,children:c.banner.decline})}),R("li",{children:R("button",{"aria-haspopup":"dialog",className:"fr-btn fr-btn--secondary",title:c.banner.configureTitle,onClick:l,children:c.banner.configure})})]})]})},eT=((eO={})[eO.declined=0]="declined",eO[eO.accepted=1]="accepted",eO[eO.partial=2]="partial",eO),eM=({id:e,title:t,description:n,link:o,isGlobal:r=!1,isMandatory:i=!1,isExempt:l=!1,consent:s,children:a,onChange:c})=>{let u=eE(),[d,_]=eo(!1),p=`orejime-purpose-${e}`,f=o?o.title&&o.title.length>0?o.title:t:null;return R("div",{className:r?"fr-consent-service fr-consent-manager__header":"fr-consent-service",children:R("fieldset",{className:"fr-fieldset fr-fieldset--inline",role:n?"group":null,"aria-labelledby":n?`${p}-legend ${p}-description`:null,children:[R("legend",{id:`${p}-legend`,className:"fr-consent-service__title",children:[t,i?R(A,{children:[" ",R("span",{title:u.purpose.mandatoryTitle,children:u.purpose.mandatory})]}):null,l?R(A,{children:[" ",R("span",{title:u.purpose.exemptTitle,children:u.purpose.exempt})]}):null]}),o?R("a",{className:"fr-link fr-mb-1w fr-text--sm",target:"_blank",title:`${u.purpose.privacyPolicy} - ${f} - ${u.purpose.newWindow}`,href:o.uri,children:`${u.purpose.privacyPolicy} - ${f}`}):null,R("div",{className:"fr-consent-service__radios fr-fieldset--inline",children:[R("div",{className:"fr-radio-group",children:[R("input",{type:"radio",id:`${p}-accept`,name:e,checked:s===eT.accepted,onChange:c.bind(null,!0)}),R("label",{className:"fr-label",htmlFor:`${p}-accept`,children:r?u.modal.acceptAll:u.purpose.accept})]}),R("div",{className:"fr-radio-group",children:[R("input",{type:"radio",id:`${p}-decline`,name:e,disabled:i,checked:s===eT.declined,onChange:c.bind(null,!1)}),R("label",{className:"fr-label",htmlFor:`${p}-decline`,children:r?u.modal.declineAll:u.purpose.decline})]})]}),n?R("p",{id:`${p}-description`,className:"fr-consent-service__desc",dangerouslySetInnerHTML:{__html:n}}):null,a?R(A,{children:[R("div",{className:"fr-consent-service__collapse",children:R("button",{className:"fr-consent-service__collapse-btn","aria-expanded":d,"aria-describedby":`${e}-legend`,"aria-controls":`${e}-collapse`,onClick:()=>{_(!d)},children:u.purpose.showMore})}),R("div",{id:`${e}-collapse`,className:d?"fr-consent-services fr-collapse fr-collapse--expanded":"fr-consent-services fr-collapse",style:{maxHeight:d?"none":0,"--collapse":0},children:a})]}):null]})})};function eS(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 eI(e){return function(e){if(Array.isArray(e))return eL(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return eL(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eL(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eL(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}var eO,eU,eF,eH,e$,eD,eB=(eU=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not
1([tabindex^="-"])'],eF=function(){var e,t;function n(e){var t=e.targetModal,o=e.triggers,r=void 0===o?[]:o,i=e.onShow,l=e.onClose,s=e.openTrigger,a=e.closeTrigger,c=e.openClass,u=e.disableScroll,d=e.disableFocus,_=e.awaitCloseAnimation,p=e.awaitOpenAnimation,f=e.debugMode;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,n),this.modal="string"==typeof t?document.getElementById(t):t,this.config={debugMode:void 0!==f&&f,disableScroll:void 0!==u&&u,openTrigger:void 0===s?"data-micromodal-trigger":s,closeTrigger:void 0===a?"data-micromodal-close":a,openClass:void 0===c?"is-open":c,onShow:void 0===i?function(){}:i,onClose:void 0===l?function(){}:l,awaitCloseAnimation:void 0!==_&&_,awaitOpenAnimation:void 0!==p&&p,disableFocus:void 0!==d&&d},r.length>0&&this.registerTriggers.apply(this,eI(r)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}return e=[{key:"registerTriggers",value:function(){for(var e=this,t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];n.filter(Boolean).forEach(function(t){t.addEventListener("click",function(t){return e.showModal(t)})})}},{key:"showModal",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation)?this.modal.addEventListener("animationend",function t(){e.modal.removeEventListener("animationend",t,!1),e.setFocusToFirstNode()},!1):this.setFocusToFirstNode(),this.config.onShow(this.modal,this.activeElement,t)}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var n=this.config.openClass;this.modal.addEventListener("animationend",function e(){t.classList.remove(n),t.removeEventListener("animationend",e,!1)},!1)}else t.classList.remove(this.config.openClass)}},{key:"closeModalByIdOrElement",value:function(e){this.modal="string"==typeof e?document.getElementById(e):e,this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(e){if(this.config.disableScroll){var t=document.querySelector("body");switch(e){case"enable":Object.assign(t.style,{overflow:""});break;case"disable":Object.assign(t.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(e){(e.target.hasAttribute(this.config.closeTrigger)||e.target.parentNode.hasAttribute(this.config.closeTrigger))&&(e.preventDefault(),e.stopPropagation(),this.closeModal(e))}},{key:"onKeydown",value:function(e){27===e.keyCode&&this.closeModal(e),9===e.keyCode&&this.retainFocus(e)}},{key:"getFocusableNodes",value:function(){return Array.apply(void 0,eI(this.modal.querySelectorAll(eU)))}},{key:"setFocusToFirstNode",value:function(){var e=this;if(!this.config.disableFocus){var t=this.getFocusableNodes();if(0!==t.length){var n=t.filter(function(t){return!t.hasAttribute(e.config.closeTrigger)});n.length>0&&n[0].focus(),0===n.length&&t[0].focus()}}}},{key:"retainFocus",value:function(e){var t=this.getFocusableNodes();if(0!==t.length)if(t=t.filter(function(e){return null!==e.offsetParent}),this.modal.contains(document.activeElement)){var n=t.indexOf(document.activeElement);e.shiftKey&&0===n&&(t[t.length-1].focus(),e.preventDefault()),!e.shiftKey&&t.length>0&&n===t.length-1&&(t[0].focus(),e.preventDefault())}else t[0].focus()}}],eS(n.prototype,e),t&&eS(n,t),n}(),eH=null,e$=function(e){if("string"==typeof id?!document.getElementById(e):!e)return console.warn("MicroModal: ❗Seems like you have missed %c'".concat(e,"'"),"background-color: #f8f9fa;color: #50596c;font-weight: bold;","ID somewhere in your code. Refer example below to resolve it."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<div class="modal" id="'.concat(e,'"></div>')),!1},eD=function(e,t){if(e.length<=0&&(console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<a href="#" data-micromodal-trigger="my-modal"></a>')),!t)return!0;for(var n in t)e$(n);return!0},{init:function(e){var t,n,o=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),r=eI(document.querySelectorAll("[".concat(o.openTrigger,"]"))),i=(t=o.openTrigger,n=[],r.forEach(function(e){var o=e.attributes[t].value;void 0===n[o]&&(n[o]=[]),n[o].push(e)}),n);if(!0!==o.debugMode||!1!==eD(r,i))for(var l in i){var s=i[l];o.targetModal=l,o.triggers=eI(s),eH=new eF(o)}},show:function(e,t){var n=t||{};n.targetModal=e,!0===n.debugMode&&!1===e$(e)||(eH&&eH.removeEventListeners(),(eH=new eF(n)).showModal())},close:function(e){e?eH.closeModalByIdOrElement(e):eH.closeModal()}});"undefined"!=typeof window&&(window.MicroModal=eB);var eR=({isAlert:e=!1,backdropConcealing:t=!0,label:n,labelId:o,className:r,portalClassName:i,overlayClassName:l,htmlClassName:s,handleScrollPosition:a=!0,onRequestClose:c,children:u})=>{let d=function(){var e=en(q++,11);if(!e.__){for(var t=W.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}(),[_,p]=eo(null);return ei(()=>{null===_&&p(window.pageYOffset)}),er(()=>{null!==_&&setTimeout(()=>{a&&window.scrollTo(window.pageXOffset,_),p(null)},0)}),er(()=>(s&&document.documentElement.classList.add(s),eB.show(d,{onClose:c}
1),()=>{eB.close(d),s&&document.documentElement.classList.remove(s)}),[]),R("div",{className:i,id:d,"aria-hidden":"true",children:R("div",{className:l,tabIndex:-1,"data-micromodal-close":!e||null,id:"orejime-overlay-modal",children:R("div",{id:"orejime-modal","data-fr-js-modal":"true","data-fr-concealing-backdrop":t,className:r,role:e?"alertdialog":"dialog","aria-modal":"true","aria-label":n,"aria-labelledby":o,children:u})})})},eq=({className:e})=>{let t=eE();return R("a",{className:e,title:`${t.misc.poweredBy} (${t.misc.newWindowTitle})`,href:"https://orejime.boscop.fr",target:"_blank",children:t.misc.poweredBy})};function eW(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}var ez=function e(t,n){function o(e,o,r){if("undefined"!=typeof document){"number"==typeof(r=eW({},n,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var l in r)r[l]&&(i+="; "+l,!0!==r[l]&&(i+="="+r[l].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+i}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],o={},r=0;r<n.length;r++){var i=n[r].split("="),l=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(o[s]=t.read(l,s),e===s)break}catch(e){}}return e?o[e]:o}},remove:function(e,t){o(e,"",eW({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,eW({},this.attributes,t))},withConverter:function(t){return e(eW({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});let eK=(e,t="/",n)=>{(n?[n]:(e=>{let t=e.split("."),n=t.slice(-2),o=t.slice(0,-2),r=[n];for(let e=0;e<o.length;e++)r.push(o.slice(e).concat(n));return r.map(e=>e.join("."))})(location.hostname)).forEach(n=>{ez.remove(e,{path:t,domain:n})})};class eV{#e;constructor(e={}){this.#e={name:"eu-consent",domain:void 0,duration:120,sameSite:"strict",parse:JSON.parse,stringify:JSON.stringify,...e}}read(){let{name:e,parse:t}=this.#e,n=ez.get(e);return n?t(n):{}}write(e){let{name:t,domain:n,duration:o,sameSite:r,stringify:i}=this.#e;((e,t="",n=0,o,r)=>{ez.set(e,t,{expires:n,domain:o,sameSite:r})})(t,i(e),o,n,r)}clear(){eK(this.#e.name)}}var eG=e=>{let t=document.cookie.split(";").reduce((e,t)=>{let[n]=t.split("=",2);return n?e.concat(n.trim()):e},[]);e.forEach(e=>{let n,o;e instanceof Array&&([e,n,o]=e),e instanceof RegExp||(e=RegExp(`^${e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}$`)),t.filter(t=>e.test(t)).forEach(e=>{eK(e,n,o)})})};class eJ{#t;constructor(e){this.#t=Object.fromEntries(e.map(e=>[e.id,e]))}apply(e){Object.entries(e).filter(([e,t])=>!t).map(([e])=>this.#t[e].cookies).filter(e=>e?.length).forEach(eG)}}class eY{#n;#o;#r;constructor(e,t){this.#n=t,this.#o=Object.fromEntries(e.map(({id:e,runsOnce:t})=>[e,!!t])),this.#r=Object.fromEntries(e.map(({id:e})=>[e,!1]))}apply(e){Object.entries(e).filter(([e,t])=>
vendor: 10,127 bytes, line 1
1!t||!this.#o[e]||!this.#r?.[e]).forEach(([e,t])=>{this.#n(e,t),this.#r[e]=!0})}}class eX{#i;constructor(){this.#i={}}on(e,t){e in this.#i||(this.#i[e]=[]),this.#i[e].push(t)}off(e,t){if(!(e in this.#i))return;let n=this.#i[e].findIndex(e=>e===t);n>=0&&this.#i[e].splice(n,1)}emit(e,...t){e in this.#i&&this.#i[e].forEach(e=>{e(...t)})}}let eQ=(e,t)=>Object.keys(e).reduce((n,o)=>({...n,[o]:t[o]??e[o]}),{});class eZ extends eX{#t;#l;#s;#a;#c;#u;constructor(e,t={}){super(),this.#a=e.filter(e=>!(({id:e,isExempt:t,isMandatory:n},o)=>!!t||(n?o?.[e]:e in o))(e,t)).map(({id:e})=>e),this.#s=Object.fromEntries(e.map(({id:e,isMandatory:t,default:n})=>[e,t||!!n])),this.#l=em(e.filter(({isMandatory:e})=>e)),this.#t=e,this.#u=eQ(this.#s,t),this.#c=Object.keys(t).length>0&&this.#a.length>0}clone(){return new eZ(this.#t,this.getAllConsents())}isDirty(){return this.#a.length>0}needsUpdate(){return this.#c}areAllPurposesMandatory(){return ef(this.#t,({isMandatory:e})=>e)}areAllPurposesEnabled(){return eg(this.#t,this.#u)}areAllPurposesDisabled(){return ey(this.#t,this.#u)}getConsent(e){return this.#u?.[e]}getAllConsents(){return{...this.#u}}acceptAll(){this.setConsents(em(this.#t))}declineAll(){this.setConsents(ev(this.#t))}setConsent(e,t){this.setConsents({[e]:t})}setConsents(e){this.#d(e),this.#_(eh(this.#a,Object.keys(e)))}clearConsents(){this.#d({...this.#s}),this.#_(eh(this.#t.map(({id:e})=>e),Object.keys(this.#l))),this.emit("clear")}#d(e){let t,n=eQ(e,this.#l),o=(t=this.#u,Object.entries(n).reduce((e,[n,o])=>o===t?.[n]?e:{...e,[n]:o},{}));this.#u={...this.#u,...n},this.emit("update",o,{...this.#u})}#_(e){this.#a=e,0===this.#a.length&&(this.#c=!1),this.emit("dirty",this.isDirty())}}var e0=(e,t)=>{t?document.querySelectorAll(`template[data-purpose="${e}"]:not([data-active])`).forEach(e=>{e.dataset.active="active",Array.from(e.content.cloneNode(!0).children).forEach(t=>{t.dataset.purpose=e.dataset.purpose,e.insertAdjacentElement("afterend",t)})}):document.querySelectorAll(`[data-purpose="${e}"]`).forEach(e=>{"TEMPLATE"===e.nodeName?delete e.dataset.active:e.remove()})},e1=({purposes:e,children:t,...n})=>{let o,[r,i,l,s]=[eg(e,(o=eA()).getAllConsents()),ey(e,o.getAllConsents()),()=>{o.setConsents(em(e))},()=>{o.setConsents(ev(e))}],{Purpose:a}=eN();return R(a,{...n,consent:r?eT.accepted:i?eT.declined:eT.partial,onChange:e=>e?l():s(),children:t})},e2=e=>{var t;let n,[o,r]=(t=e.id,[(n=eA()).getConsent(t),n.setConsent.bind(n,t)]),{Purpose:i}=eN();return R(i,{...e,consent:o?eT.accepted:eT.declined,onChange:r})};let e6=({purposes:e})=>{let{PurposeList:t}=eN();return R(t,{children:e.map(e=>"purposes"in e?R(e1,{...e,children:R(e6,{purposes:e.purposes})},e.id):R(e2,{...e},e.id))})};function e9({children:e,onCommit:t}){let{manager:n,...o}=es(eb),{current:r}=el(n.clone());return R(eb.Provider,{value:{...o,manager:r},children:e(()=>{n.setConsents(r.getAllConsents()),t()})})}var e3=()=>{let e=eA(),{GlobalConsent:t}=eN();return R(t,{isEnabled:e.areAllPurposesEnabled(),isDisabled:e.areAllPurposesDisabled(),acceptAll:()=>e.acceptAll(),declineAll:()=>e.declineAll()})},e5=({apiRef:e})=>{var t;let n=ek(),o=eA(),r=ex(),[i,l,s]=(()=>{let e=ek(),t=eA(),n=()=>e.forceModal&&t.isDirty(),[o,r]=eo(n());return[o,()=>{r(!0)},()=>{r(n())}]})(),{Banner:a,Modal:c,ModalBanner:u}=eN(),d=el(),_=n.forceBanner?u:a;return t=()=>({openModal:l}),V=6,ei(function(){if("function"==typeof e){var n=e(t());return function(){e(null),n&&"function"==typeof n&&n()}}if(e)return e.current=t(),function(){return e.current=null}},void 0),er(()=>{var e;r&&!i&&d.current&&(e=d.current.querySelector('a[href], button:not([disabled]):not([aria-hidden]), [tabindex]:not([tabindex^="-"])'))&&(()=>{try{return window.self===window.top}catch(e){return!0}})()&&e?.focus()},[r]),R("div",{className:"orejime-Main orejime-Env",children:[r?R("div",{ref:d,children:R(_,{isHidden:i,needsUpdate:o.needsUpdate(),purposeTitles:n.purposes.map(({title:e})=>e),privacyPolicyUrl:n.privacyPolicyUrl,logo:n.logo,onConfigure:l,onAccept:()=>{o.acceptAll(),s()},onDecline:()=>{o.declineAll(),s()}},"banner")}):null,i?R(e9,{onCommit:s,children:e=>R(c,{isForced:n.forceModal&&o.isDirty(),needsUpdate:o.needsUpdate(),privacyPolicyUrl:n.privacyPolicyUrl,onClose:()=>{r||e(),s()},onSave:e,children:[o.areAllPurposesMandatory()?null:R(e3,{}),R(e6,{purposes:n.purposes})]},"modal")}):null]})};let e8={privacyPolicyUrl:"",forceModal:!1,forceBanner:!1,translations:{},purposes:[]},e4=e=>e.flatMap(e=>"purposes"in e?e4(e.purposes):[e]);var e7=({purposeId:e,data:t,isEnabled:n})=>{let o=ek(),r=eA(),i=eE(),{ContextualNotice:l}=eN(),[s,a]=eo(!1);if(!n&&!s)return null;let c=e4(o.purposes).find(({id:t})=>t===e);return c?R("div",{className:"orejime-Env",children:n?R(l,{purpose:c,data:t,privacyPolicyUrl:o.privacyPolicyUrl,onAccept:()=>{r.setConsent(c.id,!0),a(!0)}}):s?R("div",{id:`orejime-ContextualNotice-placeholder--${c.id}`,className:"orejime-ContextualNotice-placeholder",title:eP(i.contextual.accepted,{purpose:c.title}).join(""),tabIndex:-1,ref:e=>{e?.focus()},onFocusOut:()=>{a(!1)},"data-testid":"orejime-contextual-notice-placeholder"}):null}):null};class te{#p;#f;#h;constructor(e,t){this.#p=e,this.#f=t,this.#h=new WeakMap}apply(e){Object.entries(e).forEach(([e,t])=>{document.querySelectorAll(`template[data-contextual][data-purpose="${e}"]`).forEach(e=>{this.#m(e,!t)})})}#m(e,t){D(R(eb.Provider,{value:{config:this.#p,manager:this.#f},children:R(e7,{purposeId:e.dataset.purpose,data:{...e.dataset},isEnabled:t})}),this.#v(e))}#v(e){if(!this.#h.has(e)){let t=document.createElement("div");t.style.display="contents",e.insertAdjacentElement("beforebegin",t),this.#h.set(e,t)}return this.#h.get(e)}}let tt=(...e)=>e.reduce((e,t)=>(Object.keys(t).forEach(n=>{let o=e[n],r=t[n];if(Array.isArray(o)&&Array.isArray(r))e[n]=o.concat(...r);else o&&"object"==typeof o&&r&&"object"==typeof r?e[n]=tt(o,r):e[n]=r}),e),{});n={Banner:ej,ContextualNotice:({purpose:e,data:t,onAccept:n})=>{let o=eE(),{titleLevel:r}=t,i=r?`h${r}`:"h4",l={purpose:e.title};return R("div",{class:"fr-consent-placeholder",children:[R(i,{class:"fr-h6 fr-mb-2v",children:eP(o.contextual.title,l)}),R("p",{class:"fr-mb-6v",children:eP(o.contextual.description,l)}),R("button",{class:"fr-btn",title:o.contextual.acceptTitle?eP(o.contextual.acceptTitle,l).join(""):null,onClick:n,children:eP(o.contextual.accept,l)})]})},GlobalConsent:({isEnabled:e,isDisabled:t,acceptAll:n,declineAll:o})=>R(eM,{isGlobal:!0,id:"orejime-global",title:eE().modal.globalPreferences,consent:e?eT.accepted:t?eT.declined:eT.partial,onChange:e=>e?n():o()}),Modal:({isForced:e,needsUpdate:t,privacyPolicyUrl:n,onClose:o,onSave:r,children:i})=>{let l=eE(),s=ex();return R(eR,{isAlert:e,onRequestClose:o,htmlClassName:"fr-no-scroll",overlayClassName:"fr-modal fr-modal--opened",className:"fr-container fr-container--fluid fr-container-md",labelId:"fr-consent-modal-title",children:R("div",{className:"fr-grid-row fr-grid-row--center",children:R("div",{className:"fr-col-12 fr-col-md-10 fr-col-lg-8",children:R("div",{className:"fr-modal__body",children:[R("div",{className:"fr-modal__header",children:e?null:R("button",{type:"button",className:"fr-btn fr-btn--close",title:l.modal.closeTitle,onClick:()=>{s||r(),o()},children:l.modal.close})}),R("div",{className:"fr-modal__content",children:[R("h2",{id:"fr-consent-modal-title",className:"fr-modal__title",children:l.modal.title}),R("div",{children:[e&&t?R("p",{children:R("strong",{children:l.misc.updateNeeded})}):null,R("p",{children:eP(l.modal.description,{privacyPolicy:R("a",{href:n,onClick:o,children:l.modal.privacyPolicyLabel},"privacyPolicyLink")})})]}),R("div",{className:"fr-consent-manager",children:[i,R("ul",{className:"fr-consent-manager__buttons fr-btns-group fr-btns-group--right fr-btns-group--inline-sm",children:R("li",{children:R("button",{className:"fr-btn",title:l.modal.saveTitle,onClick:r,children:l.modal.save})})})]}),R("p",{className:"fr-mt-8w fr-text--sm",style:{textAlign:"right"},children:R(eq,{})})]})]})})})})},ModalBanner:({...e})=>R(eR,{htmlClassName:"fr-no-scroll",portalClassName:"orejime-banner-portal",overlayClassName:"orejime-banner-overlay fr-modal fr-modal--opened",backdropConcealing:!1,className:"",label:eE().banner.title,isAlert:!0,children:R(ej,{...e})}),Purpose:eM,PurposeList:({children:e})=>R(A,{children:e})},o={banner:{title:null,description:"Nous collectons et traitons vos informations personnelles dans le but suivant : {purposes}.\nPour en savoir plus, merci de lire notre {privacyPolicy}.\n",privacyPolicyLabel:"politique de confidentialit\xe9",accept:"Accepter",acceptTitle:"Accepter tous les cookies",decline:"Refuser",declineTitle:"Refuser tous les cookies optionnels",configure:"Configurer",configureTitle:"Configurer les cookies"},modal:{title:"Les informations que nous collectons",description:"Ici, vous pouvez voir et personnaliser les informations que nous collectons sur vous.\nPour en savoir plus, merci de lire notre {privacyPolicy}.\n",privacyPolicyLabel:"politique de confidentialit\xe9",close:"Fermer",closeTitle:"Fermer les pr\xe9f\xe9rences",globalPreferences:"Pr\xe9f\xe9rences pour tous les services",acceptAll:"Tout accepter",declineAll:"Tout refuser",save:"Sauvegarder",saveTitle:"Sauvegarder ma configuration sur les informations collect\xe9es"},contextual:{title:'"{purpose}" est d\xe9sactiv\xe9',description:"Autorisez le d\xe9p\xf4t de cookies pour acc\xe8der \xe0 cette fonctionnalit\xe9.",privacyPolicyLabel:"politique de confidentialit\xe9",accept:"Autoriser",accepted:'"{purpose}" est maintenant autoris\xe9.'},purpose:{mandatory:"toujours requis",mandatoryTitle:"Cette application est toujours requise",exempt:"opt-out",exemptTitle:"Cette application est charg\xe9e par d\xe9faut (mais vous pouvez la d\xe9sactiver)",newWindow:"nouvelle fen\xeatre",privacyPolicy:"Site officiel (d\xe9tail des cookies)",showMore:"Voir plus de d\xe9tails",accept:"Accepter",decline:"Refuser",enabled:"activ\xe9",disabled:"d\xe9sactiv\xe9",partial:"partiel"},misc:{newWindowTitle:"nouvelle fen\xeatre",updateNeeded:"Des modifications ont eu lieu depuis votre derni\xe8re visite, merci de mettre \xe0 j
1our votre consentement.",poweredBy:"Propuls\xe9 par Orejime"}},e=e=>{let t=(e=>{var t,n,o,r,i,l,s;let a,c,u,d,_,p,f,h,m,v,g,y,b=tt(e8,e);if(!Object.keys(b.purposes).length)throw Error("Orejime config: you must define `purposes`");if(!b.privacyPolicyUrl.length)throw Error("Orejime config: you must define `privacyPolicyUrl`");let C=(t=e4(b.purposes),n={cookie:b.cookie},h=new eY(t,e0),m=new eJ(t),y=(g=new eZ(t,(v=new eV(n?.cookie)).read())).getAllConsents(),g.on("update",(e,t)=>{h.apply(e),m.apply(e),v.write(t)}),g.on("clear",()=>{v.clear()}),h.apply(y),m.apply(y),g),{openModal:w}=(o=b,r=C,d=((a=((i=o.orejimeElement)?"string"==typeof i?document.querySelector(i):i:l)||document.createElement("div")).classList.contains("orejime-Root")||a.classList.add("orejime-Root"),a.parentNode||document.body.insertBefore(a,document.body.firstChild),a),_={current:null},p=(s=()=>{D(R(eb.Provider,{value:{config:o,manager:r},children:R(e5,{apiRef:_})}),d)},u=!1,()=>(u||(c=s(),u=!0),c)),f=new te(o,r),r.on("update",e=>{f.apply(e)}),f.apply(r.getAllConsents()),r.on("dirty",e=>{e&&p()}),r.isDirty()&&p(),{openModal:()=>{p(),_.current.openModal()}});return{config:b,manager:C,prompt:w}})(tt({translations:o},{...e,theme:n}));return"undefined"!=typeof CustomEvent&&document.dispatchEvent(new CustomEvent("orejime.loaded",{detail:t})),t},t=async()=>{window.loadOrejime=e,void 0!==window.orejimeConfig&&void 0===window.orejime&&(window.orejime=e(window.orejimeConfig))},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",t):t()}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.