Socket
Socket
Sign inDemoInstall

@gouvfr/dsfr

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gouvfr/dsfr - npm Package Compare versions

Comparing version 1.0.0-rc1 to 1.0.0-rc1.0

2

dist/js/accordions.module.js

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ const namespace = 'dsfr';

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
const o=window.dsfr||{core:{}};window.dsfr=o;const r=o.core.ns("accordions-group"),s=o.core.ns("accordion");class c extends o.core.DisclosuresGroup{static get selector(){return r}}o.AccordionsGroup=c,o.Collapse.register(s,c);
//# sourceMappingURL=accordions.module.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ (function () {

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
!function(){"use strict";var o=window.dsfr||{core:{}};window.dsfr=o;var r=o.core.ns("accordions-group"),e=o.core.ns("accordion"),t=function(o){function e(){o.apply(this,arguments)}o&&(e.__proto__=o),e.prototype=Object.create(o&&o.prototype),e.prototype.constructor=e;var t={selector:{configurable:!0}};return t.selector.get=function(){return r},Object.defineProperties(e,t),e}(o.core.DisclosuresGroup);o.AccordionsGroup=t,o.Collapse.register(e,t)}();
//# sourceMappingURL=accordions.nomodule.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ const namespace = 'dsfr';

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
const e=window.dsfr||{core:{}};window.dsfr=e;const s=`${e.core.ns.selector("breadcrumb")} ${e.core.ns.selector("collapse")}`;class t extends e.core.Instance{constructor(s){super(s),this.collapse=e.core.Instance.getInstances(s,e.Collapse)[0],this.links=[...this.element.querySelectorAll("a[href]")],this.count=0,this.links.length&&(this.listen(e.core.Disclosure.DISCLOSE_EVENT,this.focus.bind(this)),this.resizing=this.resize.bind(this),window.addEventListener("resize",this.resizing))}focus(){this.links[0].focus(),e.core.engine.renderer.next((()=>{this.verify()}))}verify(){this.count++,this.count>100||document.activeElement!==this.links[0]&&this.focus()}resize(){window.matchMedia("(min-width: 48em)").matches?this.collapse.buttons[0]===document.activeElement&&this.links.focus():this.links.indexOf(document.activeElement)>-1&&this.collapse.focus()}}new e.core.Initializer(s,[()=>{const e=[],i=document.querySelectorAll(s);for(let s=0;s<i.length;s++)e.push(new t(i[s]))}]);
//# sourceMappingURL=breadcrumb.module.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ (function () {

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
!function(){"use strict";var e=window.dsfr||{core:{}};window.dsfr=e;var t=e.core.ns.selector("breadcrumb")+" "+e.core.ns.selector("collapse"),i=function(t){function i(i){t.call(this,i),this.collapse=e.core.Instance.getInstances(i,e.Collapse)[0],this.links=[].concat(this.element.querySelectorAll("a[href]")),this.count=0,this.links.length&&(this.listen(e.core.Disclosure.DISCLOSE_EVENT,this.focus.bind(this)),this.resizing=this.resize.bind(this),window.addEventListener("resize",this.resizing))}return t&&(i.__proto__=t),i.prototype=Object.create(t&&t.prototype),i.prototype.constructor=i,i.prototype.focus=function(){var t=this;this.links[0].focus(),e.core.engine.renderer.next((function(){t.verify()}))},i.prototype.verify=function(){this.count++,this.count>100||document.activeElement!==this.links[0]&&this.focus()},i.prototype.resize=function(){window.matchMedia("(min-width: 48em)").matches?this.collapse.buttons[0]===document.activeElement&&this.links.focus():this.links.indexOf(document.activeElement)>-1&&this.collapse.focus()},i}(e.core.Instance);new e.core.Initializer(t,[function(){for(var e=[],n=document.querySelectorAll(t),s=0;s<n.length;s++)e.push(new i(n[s]))}])}();
//# sourceMappingURL=breadcrumb.nomodule.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ const namespace = 'dsfr';

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
const e=window.dsfr||{core:{}};window.dsfr=e;const o=e.core.ns.selector("btn"),n=e.core.ns.selector("btns-group"),r=e.core.ns.selector("btns-group--equisized");new e.core.Initializer(n,[()=>{const n=document.querySelectorAll(r),s=[];for(let r=0;r<n.length;r++)s.push(new e.Equisized(o,n[r]))}]);
//# sourceMappingURL=buttons.module.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ (function () {

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
!function(){"use strict";var e=window.dsfr||{core:{}};window.dsfr=e;var r=e.core.ns.selector("btn"),n=e.core.ns.selector("btns-group"),o=e.core.ns.selector("btns-group--equisized");new e.core.Initializer(n,[function(){for(var n=document.querySelectorAll(o),s=[],t=0;t<n.length;t++)s.push(new e.Equisized(r,n[t]))}])}();
//# sourceMappingURL=buttons.nomodule.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ const prefix = 'fr';

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
const t=window.dsfr||{core:{}};window.dsfr=t;const e=t=>`fr-${t}`;e.selector=(t,s)=>(void 0===s&&(s="."),`${s}${e(t)}`),(e.attr=(t,s,i)=>`data-${e(t)}`).selector=(t,s)=>{let i=e.attr(t);return void 0!==s&&(i+=`="${s}"`),`[${i}]`},e.event=t=>`dsfr.${t}`;const s=(t,e,s)=>{"."===e.charAt(0)&&(e=e.substr(1));const i=t.className.split(" "),n=i.indexOf(e);!0===s?n>-1&&i.splice(n,1):-1===n&&i.push(e),t.className=i.join(" ")},i=(t,e)=>s(t,e),n=(t,e)=>s(t,e,!0);class r{constructor(){this.closures=[],this.nexts=[],this.rendering=this.render.bind(this),this.render()}add(t){this.closures.push(t);return()=>{const e=this.closures.indexOf(t);-1!==e&&this.closures.splice(e,1)}}next(t,e){e=void 0===e?0:e-1,void 0===this.nexts[e]&&(this.nexts[e]=[]),this.nexts[e].push(t)}render(){window.requestAnimationFrame(this.rendering);for(const t of this.closures)t.call();const t=this.nexts.shift();if(t)for(const e of t)e.call()}}const o=new class{constructor(){this.renderer=new r}register(t,e){}start(){}stop(){}};class h{constructor(t,e){this.selector=t,this.builders=e,this.instances=[],"loading"!==document.readyState?window.requestAnimationFrame(this.start.bind(this)):document.addEventListener("DOMContentLoaded",this.start.bind(this))}start(){if(!(this.instances.length>0)&&document.querySelectorAll(this.selector).length>0)for(let t=0;t<this.builders.length;t++)this.instances.push(this.builders[t]())}}const c={},l={};let a=0;const d=t=>{for(const e in l)if(l[e]===t)return e;a++;const e=a;return l[e]=t,e};class u{constructor(t,e,s){const i=d(t);c[i]||(c[i]=[]),c[i].push(this),this.element=t,this.id=t.id,this._isRendering=!1,this._isResizing=!1,this.listeners={},this.isResizing=e,this.isRendering=s}dispatch(t,e){const s=new CustomEvent(t,e);this.element.dispatchEvent(s)}listen(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].indexOf(e)>-1||(this.listeners[t].push(e),this.element.addEventListener(t,e))}unlisten(t,e){if(t)if(e){if(!this.listeners[t])return;const s=this.listeners[t].indexOf(e);s>-1&&this.listeners[t].splice(s,1),this.element.removeEventListener(e)}else{if(!this.listeners[t])return;for(const e of this.listeners[t])this.element.removeEventListener(e);this.listeners[t].length=0}else for(const t in this.listeners)this.unlisten(t)}get isRendering(){return this._isRendering}set isRendering(t){this._isRendering!==t&&(this._isRendering=t)}render(){}get isResizing(){return this._isResizing}set isResizing(t){this._isResizing!==t&&(this._isResizing=t)}resize(){}destroy(){}static getInstances(t,e){const s=d(t);return c[s]?e?c[s].filter((t=>t instanceof e)):c[s]:null}}const p=e.attr("group"),g=[];class m{constructor(t,e){this.id=t,this.element=e,this.members=[],this._index=-1,this._current=null,g.push(this)}static getGroupById(t){for(const e of g)if(e.constructor===this&&e.id===t)return e;return new this(t)}static getGroupByElement(t){for(const e of g)if(e.element===t)return e;return new this(!1,t)}static groupById(t,e){const s=t.element.getAttribute(p);if(null===s)return;e.getGroupById(s).add(t)}static groupByParent(t,e,s){if(void 0===s&&(s=e.selector),""===s)return;let i=t.element.parentElement;for(;i;){if(i.classList.contains(t.constructor.selector))return;if(i.classList.contains(s)){return void e.getGroupByElement(i).add(t)}i=i.parentElement}}static get selector(){return""}add(t){if(-1===this.members.indexOf(t))switch(this.members.push(t),t.setGroup(this),!0){case null!==this.current:case!t.disclosed&&!t.primal:t.disclosed=!1;break;default:this._current=t,this._index=this.members.indexOf(t),t.disclosed=!0}}get length(){return this.members.length}get index(){return this._index}set index(t){t<-1||t>=this.length||this._index===t||(null!==this.current&&this.current.conceal(!0,!0),this._index=t,this._current=this._index>-1?this.members[this._index]:null,null!==this.current&&this.current.disclose(!0),this.apply())}get current(){return this._current}set current(t){this.index=this.members.indexOf(t)}get hasFocus(){return void 0===this.current?null:this.current.hasFocus}apply(){}}class f{constructor(t,e){this.element=t,this.disclosure=e,this.hasAttribute=this.element.hasAttribute(this.disclosure.attributeName),this.element.addEventListener("click",this.click.bind(this)),this.observer=new MutationObserver(this.mutate.bind(this)),this.observe()}observe(){this.observer.observe(this.element,{attributes:!0})}click(t){this.disclosure.change(this.hasAttribute)}mutate(t){t.forEach((t=>{"attributes"===t.type&&t.attributeName===this.disclosure.attributeName&&this.disclosure.change(this.disclosed)}))}apply(t){this.hasAttribute&&(this.observer&&this.observer.disconnect(),this.element.setAttribute(this.disclosure.attributeName,t),this.observer&&this.observe())}get disclosed(){return"true"===this.element.getAttribute(this.disclosure.attributeName)}get hasFocus(){return this.element===document.activeElement}}const b=e.event("DISCLOSE"),y=e.event("CONCEAL"),v=[];class x extends u{constructor(t){super(t),this.buttons=[],this._selector=this.constructor.selector,this.modifier=this._selector+"--"+this.type.id,this.attributeName=this.type.ariaState?"aria-"+this.type.id:e.attr(this.type.id),this.pristine=!0;const s=document.querySelectorAll(this.type.ariaControls?`[aria-controls="${this.id}"]`:e.attr.selector("controls",this.id));if(s.length>0)for(let t=0;t<s.length;t++)this.addButton(s[t]);this.disclosed=!0===this.primal,this.gather()}gather(){this.group||(m.groupById(this,this.GroupConstructor),m.groupByParent(this,this.GroupConstructor))}static build(t){const e=Array.prototype.slice.call(t.querySelectorAll(`.${this.selector}`));for(const t of e)v.push(new this(t))}get type(){return this.constructor.type}static get type(){return null}static get selector(){return""}addButton(t){const e=this.buttonFactory(t);e.hasAttribute&&(void 0===this.primal?this.primal=e.disclosed:e.apply(this.primal)),this.buttons.push(e)}get GroupConstructor(){return m}buttonFactory(t){return new f(t,this)}disclose(t){return!this.disclosed&&(this.pristine=!1,this.disclosed=!0,t||void 0===this.group||(this.group.current=this),!0)}conceal(t,e){if(!this.disclosed)return!1;this.pristine=!1,this.disclosed=!1,e||this.focus(),t||void 0===this.group||(this.group.current=null);for(const t of v)t!==this&&this.element.contains(t.element)&&t.reset();return!0}get disclosed(){return this._disclosed}set disclosed(t){if(this._disclosed!==t){this.dispatch(t?b:y,this.type),this._disclosed=t,t?i(this.element,this.modifier):n(this.element,this.modifier);for(let e=0;e<this.buttons.length;e++)this.buttons[e].apply(t)}}reset(){}change(t){if(this.constructor.type.canConceal)switch(!0){case!t:case this.disclosed:this.conceal();break;default:this.disclose()}else this.disclose()}setGroup(t){this.group=t}get buttonHasFocus(){return!!this.buttons.some((t=>t.hasFocus))}get hasFocus(){return this.element===document.activeElement||(this.element.querySelectorAll(":focus").length>0||this.buttonHasFocus)}focus(){for(let t=0;t<this.buttons.length;t++){const e=this.buttons[t];if(e.hasAttribute)return void e.element.focus()}}}x.DISCLOSE_EVENT=b,x.CONCEAL_EVENT=y;const E={expand:{id:"expanded",ariaState:!0,ariaControls:!0,canConceal:!0},select:{id:"selected",ariaState:!0,ariaControls:!0,canConceal:!1},opened:{id:"opened",ariaState:!1,ariaControls:!0,canConceal:!0}};class w{constructor(t){this.element=t,this.collections={}}_add(t,e){void 0===this.collections[t]&&(this.collections[t]=new _(t,this.element)),this.collections[t].add(e)}down(t,e,s,i){this._add("down",new A(t,e,s,i))}up(t,e,s,i){this._add("up",new A(t,e,s,i))}dispose(){for(const t of this.collections)t.dispose();this.types=null}}class _{constructor(t,e){this.type=t,this.element=e,this.actions=[],this.binding=this.handle.bind(this),this.element.addEventListener("key"+t,this.binding)}add(t){this.actions.push(t)}handle(t){for(const e of this.actions)e.handle(t)}dispose(){this.element.removeEventListener("key"+this.type,this.binding),this.actions=null}}class A{constructor(t,e,s,i){this.key=t,this.closure=e,this.preventDefault=!0===s,this.stopPropagation=!0===i}handle(t){t.keyCode===this.key&&(this.closure(t),this.preventDefault&&t.preventDefault(),this.stopPropagation&&t.stopPropagation())}}w.TAB=9,w.ESCAPE=27,w.END=35,w.HOME=36,w.LEFT=37,w.UP=38,w.RIGHT=39,w.DOWN=40;const C=e("collapse"),L=[],q={};class S extends x{constructor(t){super(t),L.push(this),this.requesting=this.request.bind(this),t.addEventListener("transitionend",this.transitionend.bind(this)),this.disclosed&&this.unbound()}gatherByAscendants(){if(!this.group)for(const t in q){let e=this.element.parentElement;for(;e;){if(e.classList.contains(t))return void("string"==typeof q[t]?m.groupByParent(this,m,q[t]):m.groupByParent(this,q[t]));e=e.parentElement}}}gather(){this.gatherByAscendants(),super.gather()}static get type(){return E.expand}static get selector(){return C}static register(t,e){q[t]=e;for(const t of L)t.gatherByAscendants()}transitionend(t){this.disclosed||(this.element.style.maxHeight="")}unbound(){this.element.style.maxHeight="none"}disclose(t){this.disclosed||(this.unbound(),this.adjust(),this.requested=()=>{super.disclose(t)},window.requestAnimationFrame(this.requesting))}conceal(t,e){this.disclosed&&(this.adjust(),this.requested=()=>{super.conceal(t,e)},window.requestAnimationFrame(this.requesting))}request(){this.requested&&this.requested(),this.requested=null}adjust(){this.element.style.setProperty("--collapser","none");const t=this.element.offsetHeight;this.element.style.setProperty("--collapse",-t+"px"),this.element.style.setProperty("--collapser","")}reset(){this.pristine||(this.disclosed=!1)}}t.core.ns=e,t.core.addClass=i,t.core.removeClass=n,t.core.engine=o,t.core.Instance=u,t.core.Initializer=h,t.core.Disclosure=x,t.core.DisclosureButton=f,t.core.DisclosuresGroup=m,t.core.DISCLOSURE_TYPES=E,t.KeyListener=w,t.Collapse=S,t.Equisized=class{constructor(t,e){this.selector=t,this.group=e,this.elements=this.group.querySelectorAll(this.selector),this.maxWidth=0,this.changing=this.change.bind(this),window.addEventListener("resize",this.changing),window.addEventListener("load",this.changing)}change(){this.reset();for(let t=0;t<this.elements.length;t++){const e=this._getWidth(this.elements[t]);e>this.maxWidth&&(this.maxWidth=e)}this.apply()}apply(){for(let t=0;t<this.elements.length;t++)this.elements[t].style.width=this.maxWidth+1+"px"}reset(){for(let t=0;t<this.elements.length;t++)this.elements[t].style.width="auto";this.maxWidth=0}_getWidth(t){let e=t.offsetWidth;const s=getComputedStyle(t);return e+=parseInt(s.marginLeft)+parseInt(s.marginRight),e}};new h(`.${C}`,[()=>{S.build(document)}]);
//# sourceMappingURL=core.module.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ (function () {

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
!function(){"use strict";var t=window.dsfr||{core:{}};window.dsfr=t;var e=function(t){return"fr-"+t};e.selector=function(t,i){return void 0===i&&(i="."),""+i+e(t)},(e.attr=function(t,i,s){return"data-"+e(t)}).selector=function(t,i){var s=e.attr(t);return void 0!==i&&(s+='="'+i+'"'),"["+s+"]"},e.event=function(t){return"dsfr."+t};var i=function(t,e,i){"."===e.charAt(0)&&(e=e.substr(1));var s=t.className.split(" "),n=s.indexOf(e);!0===i?n>-1&&s.splice(n,1):-1===n&&s.push(e),t.className=s.join(" ")},s=function(t,e){return i(t,e)},n=function(t,e){return i(t,e,!0)},r=function(){this.closures=[],this.nexts=[],this.rendering=this.render.bind(this),this.render()};r.prototype.add=function(t){var e=this;this.closures.push(t);return function(){var i=e.closures.indexOf(t);-1!==i&&e.closures.splice(i,1)}},r.prototype.next=function(t,e){e=void 0===e?0:e-1,void 0===this.nexts[e]&&(this.nexts[e]=[]),this.nexts[e].push(t)},r.prototype.render=function(){window.requestAnimationFrame(this.rendering);for(var t=0,e=this.closures;t<e.length;t+=1){e[t].call()}var i=this.nexts.shift();if(i)for(var s=0,n=i;s<n.length;s+=1){n[s].call()}};var o=function(){this.renderer=new r};o.prototype.register=function(t,e){},o.prototype.start=function(){},o.prototype.stop=function(){};var c=new o,u=function(t,e){this.selector=t,this.builders=e,this.instances=[],"loading"!==document.readyState?window.requestAnimationFrame(this.start.bind(this)):document.addEventListener("DOMContentLoaded",this.start.bind(this))};u.prototype.start=function(){if(!(this.instances.length>0)&&document.querySelectorAll(this.selector).length>0)for(var t=0;t<this.builders.length;t++)this.instances.push(this.builders[t]())};var h={},l={},a=0,d=function(t){for(var e in l)if(l[e]===t)return e;var i=++a;return l[i]=t,i},p=function(t,e,i){var s=d(t);h[s]||(h[s]=[]),h[s].push(this),this.element=t,this.id=t.id,this._isRendering=!1,this._isResizing=!1,this.listeners={},this.isResizing=e,this.isRendering=i},f={isRendering:{configurable:!0},isResizing:{configurable:!0}};p.prototype.dispatch=function(t,e){var i=new CustomEvent(t,e);this.element.dispatchEvent(i)},p.prototype.listen=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].indexOf(e)>-1||(this.listeners[t].push(e),this.element.addEventListener(t,e))},p.prototype.unlisten=function(t,e){if(t)if(e){if(!this.listeners[t])return;var i=this.listeners[t].indexOf(e);i>-1&&this.listeners[t].splice(i,1),this.element.removeEventListener(e)}else{if(!this.listeners[t])return;for(var s=0,n=this.listeners[t];s<n.length;s+=1){var r=n[s];this.element.removeEventListener(r)}this.listeners[t].length=0}else for(var o in this.listeners)this.unlisten(o)},f.isRendering.get=function(){return this._isRendering},f.isRendering.set=function(t){this._isRendering!==t&&(this._isRendering=t)},p.prototype.render=function(){},f.isResizing.get=function(){return this._isResizing},f.isResizing.set=function(t){this._isResizing!==t&&(this._isResizing=t)},p.prototype.resize=function(){},p.prototype.destroy=function(){},p.getInstances=function(t,e){var i=d(t);return h[i]?e?h[i].filter((function(t){return t instanceof e})):h[i]:null},Object.defineProperties(p.prototype,f);var g=e.attr("group"),y=[],m=function(t,e){this.id=t,this.element=e,this.members=[],this._index=-1,this._current=null,y.push(this)},v={length:{configurable:!0},index:{configurable:!0},current:{configurable:!0},hasFocus:{configurable:!0}},b={selector:{configurable:!0}};m.getGroupById=function(t){for(var e=0,i=y;e<i.length;e+=1){var s=i[e];if(s.constructor===this&&s.id===t)return s}return new this(t)},m.getGroupByElement=function(t){for(var e=0,i=y;e<i.length;e+=1){var s=i[e];if(s.element===t)return s}return new this(!1,t)},m.groupById=function(t,e){var i=t.element.getAttribute(g);null!==i&&e.getGroupById(i).add(t)},m.groupByParent=function(t,e,i){if(void 0===i&&(i=e.selector),""!==i)for(var s=t.element.parentElement;s;){if(s.classList.contains(t.constructor.selector))return;if(s.classList.contains(i))return void e.getGroupByElement(s).add(t);s=s.parentElement}},b.selector.get=function(){return""},m.prototype.add=function(t){if(-1===this.members.indexOf(t))switch(this.members.push(t),t.setGroup(this),!0){case null!==this.current:case!t.disclosed&&!t.primal:t.disclosed=!1;break;default:this._current=t,this._index=this.members.indexOf(t),t.disclosed=!0}},v.length.get=function(){return this.members.length},v.index.get=function(){return this._index},v.index.set=function(t){t<-1||t>=this.length||this._index===t||(null!==this.current&&this.current.conceal(!0,!0),this._index=t,this._current=this._index>-1?this.members[this._index]:null,null!==this.current&&this.current.disclose(!0),this.apply())},v.current.get=function(){return this._current},v.current.set=function(t){this.index=this.members.indexOf(t)},v.hasFocus.get=function(){return void 0===this.current?null:this.current.hasFocus},m.prototype.apply=function(){},Object.defineProperties(m.prototype,v),Object.defineProperties(m,b);var _=function(t,e){this.element=t,this.disclosure=e,this.hasAttribute=this.element.hasAttribute(this.disclosure.attributeName),this.element.addEventListener("click",this.click.bind(this)),this.observer=new MutationObserver(this.mutate.bind(this)),this.observe()},E={disclosed:{configurable:!0},hasFocus:{configurable:!0}};_.prototype.observe=function(){this.observer.observe(this.element,{attributes:!0})},_.prototype.click=function(t){this.disclosure.change(this.hasAttribute)},_.prototype.mutate=function(t){var e=this;t.forEach((function(t){"attributes"===t.type&&t.attributeName===e.disclosure.attributeName&&e.disclosure.change(e.disclosed)}))},_.prototype.apply=function(t){this.hasAttribute&&(this.observer&&this.observer.disconnect(),this.element.setAttribute(this.disclosure.attributeName,t),this.observer&&this.observe())},E.disclosed.get=function(){return"true"===this.element.getAttribute(this.disclosure.attributeName)},E.hasFocus.get=function(){return this.element===document.activeElement},Object.defineProperties(_.prototype,E);var x=e.event("DISCLOSE"),w=e.event("CONCEAL"),A=[],C=function(t){function i(i){t.call(this,i),this.buttons=[],this._selector=this.constructor.selector,this.modifier=this._selector+"--"+this.type.id,this.attributeName=this.type.ariaState?"aria-"+this.type.id:e.attr(this.type.id),this.pristine=!0;var s=document.querySelectorAll(this.type.ariaControls?'[aria-controls="'+this.id+'"]':e.attr.selector("controls",this.id));if(s.length>0)for(var n=0;n<s.length;n++)this.addButton(s[n]);this.disclosed=!0===this.primal,this.gather()}t&&(i.__proto__=t),i.prototype=Object.create(t&&t.prototype),i.prototype.constructor=i;var r={type:{configurable:!0},GroupConstructor:{configurable:!0},disclosed:{configurable:!0},buttonHasFocus:{configurable:!0},hasFocus:{configurable:!0}},o={type:{configurable:!0},selector:{configurable:!0}};return i.prototype.gather=function(){this.group||(m.groupById(this,this.GroupConstructor),m.groupByParent(this,this.GroupConstructor))},i.build=function(t){for(var e=0,i=Array.prototype.slice.call(t.querySelectorAll("."+this.selector));e<i.length;e+=1){var s=i[e];A.push(new this(s))}},r.type.get=function(){return this.constructor.type},o.type.get=function(){return null},o.selector.get=function(){return""},i.prototype.addButton=function(t){var e=this.buttonFactory(t);e.hasAttribute&&(void 0===this.primal?this.primal=e.disclosed:e.apply(this.primal)),this.buttons.push(e)},r.GroupConstructor.get=function(){return m},i.prototype.buttonFactory=function(t){return new _(t,this)},i.prototype.disclose=function(t){return!this.disclosed&&(this.pristine=!1,this.disclosed=!0,t||void 0===this.group||(this.group.current=this),!0)},i.prototype.conceal=function(t,e){if(!this.disclosed)return!1;this.pristine=!1,this.disclosed=!1,e||this.focus(),t||void 0===this.group||(this.group.current=null);for(var i=0,s=A;i<s.length;i+=1){var n=s[i];n!==this&&this.element.contains(n.element)&&n.reset()}return!0},r.disclosed.get=function(){return this._disclosed},r.disclosed.set=function(t){if(this._disclosed!==t){this.dispatch(t?x:w,this.type),this._disclosed=t,t?s(this.element,this.modifier):n(this.element,this.modifier);for(var e=0;e<this.buttons.length;e++)this.buttons[e].apply(t)}},i.prototype.reset=function(){},i.prototype.change=function(t){if(this.constructor.type.canConceal)switch(!0){case!t:case this.disclosed:this.conceal();break;default:this.disclose()}else this.disclose()},i.prototype.setGroup=function(t){this.group=t},r.buttonHasFocus.get=function(){return!!this.buttons.some((function(t){return t.hasFocus}))},r.hasFocus.get=function(){return this.element===document.activeElement||(this.element.querySelectorAll(":focus").length>0||this.buttonHasFocus)},i.prototype.focus=function(){for(var t=0;t<this.buttons.length;t++){var e=this.buttons[t];if(e.hasAttribute)return void e.element.focus()}},Object.defineProperties(i.prototype,r),Object.defineProperties(i,o),i}(p);C.DISCLOSE_EVENT=x,C.CONCEAL_EVENT=w;var O={expand:{id:"expanded",ariaState:!0,ariaControls:!0,canConceal:!0},select:{id:"selected",ariaState:!0,ariaControls:!0,canConceal:!1},opened:{id:"opened",ariaState:!1,ariaControls:!0,canConceal:!0}},L=function(t){this.element=t,this.collections={}};L.prototype._add=function(t,e){void 0===this.collections[t]&&(this.collections[t]=new q(t,this.element)),this.collections[t].add(e)},L.prototype.down=function(t,e,i,s){this._add("down",new P(t,e,i,s))},L.prototype.up=function(t,e,i,s){this._add("up",new P(t,e,i,s))},L.prototype.dispose=function(){for(var t=0,e=this.collections;t<e.length;t+=1){e[t].dispose()}this.types=null};var q=function(t,e){this.type=t,this.element=e,this.actions=[],this.binding=this.handle.bind(this),this.element.addEventListener("key"+t,this.binding)};q.prototype.add=function(t){this.actions.push(t)},q.prototype.handle=function(t){for(var e=0,i=this.actions;e<i.length;e+=1){i[e].handle(t)}},q.prototype.dispose=function(){this.element.removeEventListener("key"+this.type,this.binding),this.actions=null};var P=function(t,e,i,s){this.key=t,this.closure=e,this.preventDefault=!0===i,this.stopPropagation=!0===s};P.prototype.handle=function(t){t.keyCode===this.key&&(this.closure(t),this.preventDefault&&t.preventDefault(),this.stopPropagation&&t.stopPropagation())},L.TAB=9,L.ESCAPE=27,L.END=35,L.HOME=36,L.LEFT=37,L.UP=38,L.RIGHT=39,L.DOWN=40;var R=e("collapse"),S=[],F={},B=function(t){function e(e){t.call(this,e),S.push(this),this.requesting=this.request.bind(this),e.addEventListener("transitionend",this.transitionend.bind(this)),this.disclosed&&this.unbound()}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var i={type:{configurable:!0},selector:{configurable:!0}};return e.prototype.gatherByAscendants=function(){if(!this.group)for(var t in F)for(var e=this.element.parentElement;e;){if(e.classList.contains(t))return void("string"==typeof F[t]?m.groupByParent(this,m,F[t]):m.groupByParent(this,F[t]));e=e.parentElement}},e.prototype.gather=function(){this.gatherByAscendants(),t.prototype.gather.call(this)},i.type.get=function(){return O.expand},i.selector.get=function(){return R},e.register=function(t,e){F[t]=e;for(var i=0,s=S;i<s.length;i+=1){s[i].gatherByAscendants()}},e.prototype.transitionend=function(t){this.disclosed||(this.element.style.maxHeight="")},e.prototype.unbound=function(){this.element.style.maxHeight="none"},e.prototype.disclose=function(e){var i=this;this.disclosed||(this.unbound(),this.adjust(),this.requested=function(){t.prototype.disclose.call(i,e)},window.requestAnimationFrame(this.requesting))},e.prototype.conceal=function(e,i){var s=this;this.disclosed&&(this.adjust(),this.requested=function(){t.prototype.conceal.call(s,e,i)},window.requestAnimationFrame(this.requesting))},e.prototype.request=function(){this.requested&&this.requested(),this.requested=null},e.prototype.adjust=function(){this.element.style.setProperty("--collapser","none");var t=this.element.offsetHeight;this.element.style.setProperty("--collapse",-t+"px"),this.element.style.setProperty("--collapser","")},e.prototype.reset=function(){this.pristine||(this.disclosed=!1)},Object.defineProperties(e,i),e}(C),N=function(t,e){this.selector=t,this.group=e,this.elements=this.group.querySelectorAll(this.selector),this.maxWidth=0,this.changing=this.change.bind(this),window.addEventListener("resize",this.changing),window.addEventListener("load",this.changing)};N.prototype.change=function(){this.reset();for(var t=0;t<this.elements.length;t++){var e=this._getWidth(this.elements[t]);e>this.maxWidth&&(this.maxWidth=e)}this.apply()},N.prototype.apply=function(){for(var t=0;t<this.elements.length;t++)this.elements[t].style.width=this.maxWidth+1+"px"},N.prototype.reset=function(){for(var t=0;t<this.elements.length;t++)this.elements[t].style.width="auto";this.maxWidth=0},N.prototype._getWidth=function(t){var e=t.offsetWidth,i=getComputedStyle(t);return e+=parseInt(i.marginLeft)+parseInt(i.marginRight)},t.core.ns=e,t.core.addClass=s,t.core.removeClass=n,t.core.engine=c,t.core.Instance=p,t.core.Initializer=u,t.core.Disclosure=C,t.core.DisclosureButton=_,t.core.DisclosuresGroup=m,t.core.DISCLOSURE_TYPES=O,t.KeyListener=L,t.Collapse=B,t.Equisized=N;new u("."+R,[function(){B.build(document)}])}();
//# sourceMappingURL=core.nomodule.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ const prefix = 'fr';

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
const t=window.dsfr||{core:{}};window.dsfr=t;const e=t=>`fr-${t}`;e.selector=(t,s)=>(void 0===s&&(s="."),`${s}${e(t)}`),(e.attr=(t,s,i)=>`data-${e(t)}`).selector=(t,s)=>{let i=e.attr(t);return void 0!==s&&(i+=`="${s}"`),`[${i}]`},e.event=t=>`dsfr.${t}`;const s=(t,e,s)=>{"."===e.charAt(0)&&(e=e.substr(1));const i=t.className.split(" "),n=i.indexOf(e);!0===s?n>-1&&i.splice(n,1):-1===n&&i.push(e),t.className=i.join(" ")},i=(t,e)=>s(t,e),n=(t,e)=>s(t,e,!0);class r{constructor(){this.closures=[],this.nexts=[],this.rendering=this.render.bind(this),this.render()}add(t){this.closures.push(t);return()=>{const e=this.closures.indexOf(t);-1!==e&&this.closures.splice(e,1)}}next(t,e){e=void 0===e?0:e-1,void 0===this.nexts[e]&&(this.nexts[e]=[]),this.nexts[e].push(t)}render(){window.requestAnimationFrame(this.rendering);for(const t of this.closures)t.call();const t=this.nexts.shift();if(t)for(const e of t)e.call()}}const o=new class{constructor(){this.renderer=new r}register(t,e){}start(){}stop(){}};class h{constructor(t,e){this.selector=t,this.builders=e,this.instances=[],"loading"!==document.readyState?window.requestAnimationFrame(this.start.bind(this)):document.addEventListener("DOMContentLoaded",this.start.bind(this))}start(){if(!(this.instances.length>0)&&document.querySelectorAll(this.selector).length>0)for(let t=0;t<this.builders.length;t++)this.instances.push(this.builders[t]())}}const l={},c={};let a=0;const d=t=>{for(const e in c)if(c[e]===t)return e;a++;const e=a;return c[e]=t,e};class u{constructor(t,e,s){const i=d(t);l[i]||(l[i]=[]),l[i].push(this),this.element=t,this.id=t.id,this._isRendering=!1,this._isResizing=!1,this.listeners={},this.isResizing=e,this.isRendering=s}dispatch(t,e){const s=new CustomEvent(t,e);this.element.dispatchEvent(s)}listen(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].indexOf(e)>-1||(this.listeners[t].push(e),this.element.addEventListener(t,e))}unlisten(t,e){if(t)if(e){if(!this.listeners[t])return;const s=this.listeners[t].indexOf(e);s>-1&&this.listeners[t].splice(s,1),this.element.removeEventListener(e)}else{if(!this.listeners[t])return;for(const e of this.listeners[t])this.element.removeEventListener(e);this.listeners[t].length=0}else for(const t in this.listeners)this.unlisten(t)}get isRendering(){return this._isRendering}set isRendering(t){this._isRendering!==t&&(this._isRendering=t)}render(){}get isResizing(){return this._isResizing}set isResizing(t){this._isResizing!==t&&(this._isResizing=t)}resize(){}destroy(){}static getInstances(t,e){const s=d(t);return l[s]?e?l[s].filter((t=>t instanceof e)):l[s]:null}}const m=e.attr("group"),p=[];class g{constructor(t,e){this.id=t,this.element=e,this.members=[],this._index=-1,this._current=null,p.push(this)}static getGroupById(t){for(const e of p)if(e.constructor===this&&e.id===t)return e;return new this(t)}static getGroupByElement(t){for(const e of p)if(e.element===t)return e;return new this(!1,t)}static groupById(t,e){const s=t.element.getAttribute(m);if(null===s)return;e.getGroupById(s).add(t)}static groupByParent(t,e,s){if(void 0===s&&(s=e.selector),""===s)return;let i=t.element.parentElement;for(;i;){if(i.classList.contains(t.constructor.selector))return;if(i.classList.contains(s)){return void e.getGroupByElement(i).add(t)}i=i.parentElement}}static get selector(){return""}add(t){if(-1===this.members.indexOf(t))switch(this.members.push(t),t.setGroup(this),!0){case null!==this.current:case!t.disclosed&&!t.primal:t.disclosed=!1;break;default:this._current=t,this._index=this.members.indexOf(t),t.disclosed=!0}}get length(){return this.members.length}get index(){return this._index}set index(t){t<-1||t>=this.length||this._index===t||(null!==this.current&&this.current.conceal(!0,!0),this._index=t,this._current=this._index>-1?this.members[this._index]:null,null!==this.current&&this.current.disclose(!0),this.apply())}get current(){return this._current}set current(t){this.index=this.members.indexOf(t)}get hasFocus(){return void 0===this.current?null:this.current.hasFocus}apply(){}}class b{constructor(t,e){this.element=t,this.disclosure=e,this.hasAttribute=this.element.hasAttribute(this.disclosure.attributeName),this.element.addEventListener("click",this.click.bind(this)),this.observer=new MutationObserver(this.mutate.bind(this)),this.observe()}observe(){this.observer.observe(this.element,{attributes:!0})}click(t){this.disclosure.change(this.hasAttribute)}mutate(t){t.forEach((t=>{"attributes"===t.type&&t.attributeName===this.disclosure.attributeName&&this.disclosure.change(this.disclosed)}))}apply(t){this.hasAttribute&&(this.observer&&this.observer.disconnect(),this.element.setAttribute(this.disclosure.attributeName,t),this.observer&&this.observe())}get disclosed(){return"true"===this.element.getAttribute(this.disclosure.attributeName)}get hasFocus(){return this.element===document.activeElement}}const f=e.event("DISCLOSE"),y=e.event("CONCEAL"),v=[];class w extends u{constructor(t){super(t),this.buttons=[],this._selector=this.constructor.selector,this.modifier=this._selector+"--"+this.type.id,this.attributeName=this.type.ariaState?"aria-"+this.type.id:e.attr(this.type.id),this.pristine=!0;const s=document.querySelectorAll(this.type.ariaControls?`[aria-controls="${this.id}"]`:e.attr.selector("controls",this.id));if(s.length>0)for(let t=0;t<s.length;t++)this.addButton(s[t]);this.disclosed=!0===this.primal,this.gather()}gather(){this.group||(g.groupById(this,this.GroupConstructor),g.groupByParent(this,this.GroupConstructor))}static build(t){const e=Array.prototype.slice.call(t.querySelectorAll(`.${this.selector}`));for(const t of e)v.push(new this(t))}get type(){return this.constructor.type}static get type(){return null}static get selector(){return""}addButton(t){const e=this.buttonFactory(t);e.hasAttribute&&(void 0===this.primal?this.primal=e.disclosed:e.apply(this.primal)),this.buttons.push(e)}get GroupConstructor(){return g}buttonFactory(t){return new b(t,this)}disclose(t){return!this.disclosed&&(this.pristine=!1,this.disclosed=!0,t||void 0===this.group||(this.group.current=this),!0)}conceal(t,e){if(!this.disclosed)return!1;this.pristine=!1,this.disclosed=!1,e||this.focus(),t||void 0===this.group||(this.group.current=null);for(const t of v)t!==this&&this.element.contains(t.element)&&t.reset();return!0}get disclosed(){return this._disclosed}set disclosed(t){if(this._disclosed!==t){this.dispatch(t?f:y,this.type),this._disclosed=t,t?i(this.element,this.modifier):n(this.element,this.modifier);for(let e=0;e<this.buttons.length;e++)this.buttons[e].apply(t)}}reset(){}change(t){if(this.constructor.type.canConceal)switch(!0){case!t:case this.disclosed:this.conceal();break;default:this.disclose()}else this.disclose()}setGroup(t){this.group=t}get buttonHasFocus(){return!!this.buttons.some((t=>t.hasFocus))}get hasFocus(){return this.element===document.activeElement||(this.element.querySelectorAll(":focus").length>0||this.buttonHasFocus)}focus(){for(let t=0;t<this.buttons.length;t++){const e=this.buttons[t];if(e.hasAttribute)return void e.element.focus()}}}w.DISCLOSE_EVENT=f,w.CONCEAL_EVENT=y;const E={expand:{id:"expanded",ariaState:!0,ariaControls:!0,canConceal:!0},select:{id:"selected",ariaState:!0,ariaControls:!0,canConceal:!1},opened:{id:"opened",ariaState:!1,ariaControls:!0,canConceal:!0}};class x{constructor(t){this.element=t,this.collections={}}_add(t,e){void 0===this.collections[t]&&(this.collections[t]=new L(t,this.element)),this.collections[t].add(e)}down(t,e,s,i){this._add("down",new S(t,e,s,i))}up(t,e,s,i){this._add("up",new S(t,e,s,i))}dispose(){for(const t of this.collections)t.dispose();this.types=null}}class L{constructor(t,e){this.type=t,this.element=e,this.actions=[],this.binding=this.handle.bind(this),this.element.addEventListener("key"+t,this.binding)}add(t){this.actions.push(t)}handle(t){for(const e of this.actions)e.handle(t)}dispose(){this.element.removeEventListener("key"+this.type,this.binding),this.actions=null}}class S{constructor(t,e,s,i){this.key=t,this.closure=e,this.preventDefault=!0===s,this.stopPropagation=!0===i}handle(t){t.keyCode===this.key&&(this.closure(t),this.preventDefault&&t.preventDefault(),this.stopPropagation&&t.stopPropagation())}}x.TAB=9,x.ESCAPE=27,x.END=35,x.HOME=36,x.LEFT=37,x.UP=38,x.RIGHT=39,x.DOWN=40;const A=e("collapse"),C=[],_={};class k extends w{constructor(t){super(t),C.push(this),this.requesting=this.request.bind(this),t.addEventListener("transitionend",this.transitionend.bind(this)),this.disclosed&&this.unbound()}gatherByAscendants(){if(!this.group)for(const t in _){let e=this.element.parentElement;for(;e;){if(e.classList.contains(t))return void("string"==typeof _[t]?g.groupByParent(this,g,_[t]):g.groupByParent(this,_[t]));e=e.parentElement}}}gather(){this.gatherByAscendants(),super.gather()}static get type(){return E.expand}static get selector(){return A}static register(t,e){_[t]=e;for(const t of C)t.gatherByAscendants()}transitionend(t){this.disclosed||(this.element.style.maxHeight="")}unbound(){this.element.style.maxHeight="none"}disclose(t){this.disclosed||(this.unbound(),this.adjust(),this.requested=()=>{super.disclose(t)},window.requestAnimationFrame(this.requesting))}conceal(t,e){this.disclosed&&(this.adjust(),this.requested=()=>{super.conceal(t,e)},window.requestAnimationFrame(this.requesting))}request(){this.requested&&this.requested(),this.requested=null}adjust(){this.element.style.setProperty("--collapser","none");const t=this.element.offsetHeight;this.element.style.setProperty("--collapse",-t+"px"),this.element.style.setProperty("--collapser","")}reset(){this.pristine||(this.disclosed=!1)}}t.core.ns=e,t.core.addClass=i,t.core.removeClass=n,t.core.engine=o,t.core.Instance=u,t.core.Initializer=h,t.core.Disclosure=w,t.core.DisclosureButton=b,t.core.DisclosuresGroup=g,t.core.DISCLOSURE_TYPES=E,t.KeyListener=x,t.Collapse=k,t.Equisized=class{constructor(t,e){this.selector=t,this.group=e,this.elements=this.group.querySelectorAll(this.selector),this.maxWidth=0,this.changing=this.change.bind(this),window.addEventListener("resize",this.changing),window.addEventListener("load",this.changing)}change(){this.reset();for(let t=0;t<this.elements.length;t++){const e=this._getWidth(this.elements[t]);e>this.maxWidth&&(this.maxWidth=e)}this.apply()}apply(){for(let t=0;t<this.elements.length;t++)this.elements[t].style.width=this.maxWidth+1+"px"}reset(){for(let t=0;t<this.elements.length;t++)this.elements[t].style.width="auto";this.maxWidth=0}_getWidth(t){let e=t.offsetWidth;const s=getComputedStyle(t);return e+=parseInt(s.marginLeft)+parseInt(s.marginRight),e}};new h(`.${A}`,[()=>{k.build(document)}]);const q=t.core.ns("accordions-group"),I=t.core.ns("accordion");class z extends t.core.DisclosuresGroup{static get selector(){return q}}t.AccordionsGroup=z,t.Collapse.register(I,z);const D=`${t.core.ns.selector("breadcrumb")} ${t.core.ns.selector("collapse")}`;class H extends t.core.Instance{constructor(e){super(e),this.collapse=t.core.Instance.getInstances(e,t.Collapse)[0],this.links=[...this.element.querySelectorAll("a[href]")],this.count=0,this.links.length&&(this.listen(t.core.Disclosure.DISCLOSE_EVENT,this.focus.bind(this)),this.resizing=this.resize.bind(this),window.addEventListener("resize",this.resizing))}focus(){this.links[0].focus(),t.core.engine.renderer.next((()=>{this.verify()}))}verify(){this.count++,this.count>100||document.activeElement!==this.links[0]&&this.focus()}resize(){window.matchMedia("(min-width: 48em)").matches?this.collapse.buttons[0]===document.activeElement&&this.links.focus():this.links.indexOf(document.activeElement)>-1&&this.collapse.focus()}}new t.core.Initializer(D,[()=>{const t=[],e=document.querySelectorAll(D);for(let s=0;s<e.length;s++)t.push(new H(e[s]))}]);const P=t.core.ns.selector("btn"),O=t.core.ns.selector("btns-group"),T=t.core.ns.selector("btns-group--equisized");new t.core.Initializer(O,[()=>{const e=document.querySelectorAll(T),s=[];for(let i=0;i<e.length;i++)s.push(new t.Equisized(P,e[i]))}]);const B=t.core.ns.selector("modal"),N=t.core.ns("modal"),G=t.core.ns("no-scroll"),R=t.core.ns("scroll-shadow"),$=t.core.ns.selector("modal__body"),F=['[tabindex="0"]',"a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false" i])',"details>summary:first-of-type","details"].join(),W=['[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'].join(),M=(t,e)=>{if("hidden"===window.getComputedStyle(t).visibility)return!1;for(void 0===e&&(e=t);e.contains(t);){if("none"===window.getComputedStyle(t).display)return!1;t=t.parentElement}return!0};class K{constructor(t,e){this.element=null,this.activeElement=null,this.onTrap=t,this.onUntrap=e,this.waiting=this.wait.bind(this),this.handling=this.handle.bind(this),this.current=null}get trapped(){return null!==this.element}trap(t){this.trapped&&this.untrap(),this.element=t,this.isTrapping=!0,this.wait(),this.onTrap&&this.onTrap()}wait(){M(this.element)?this.trapping():t.core.engine.renderer.next(this.waiting)}trapping(){if(!this.isTrapping)return;this.isTrapping=!1;const t=this.focusables;t.length&&t[0].focus(),this.element.setAttribute("aria-modal",!0),this.element.addEventListener("keydown",this.handling),this.stunneds=[]}stun(t){for(const e of t.children)e!==this.element&&(e.contains(this.element)?this.stun(e):this.stunneds.push(new V(e)))}handle(t){if(9!==t.keyCode)return;const e=this.focusables;if(0===e.length)return;const s=e[0],i=e[e.length-1],n=e.indexOf(document.activeElement);t.shiftKey?!this.element.contains(document.activeElement)||n<1?(t.preventDefault(),i.focus()):(document.activeElement.tabIndex>0||e[n-1].tabIndex>0)&&(t.preventDefault(),e[n-1].focus()):this.element.contains(document.activeElement)&&n!==e.length-1&&-1!==n?document.activeElement.tabIndex>0&&(t.preventDefault(),e[n+1].focus()):(t.preventDefault(),s.focus())}get focusables(){let t=[...this.element.querySelectorAll(F)];const e=[...document.documentElement.querySelectorAll('input[type="radio"]')];if(e.length){const s={};for(const t of e){const e=t.getAttribute("name");void 0===s[e]&&(s[e]=new U(e)),s[e].push(t)}t=t.filter((t=>{if("input"!==t.tagName.toLowerCase()||"radio"!==t.getAttribute("type").toLowerCase())return!0;const e=t.getAttribute("name");return s[e].keep(t)}))}const s=[...this.element.querySelectorAll(W)];s.sort(((t,e)=>t.tabIndex-e.tabIndex));const i=t.filter((t=>-1===s.indexOf(t)));return s.concat(i).filter((t=>"-1"!==t.tabIndex&&M(t,this.element)))}untrap(){this.trapped&&(this.isTrapping=!1,this.element.removeAttribute("aria-modal"),this.element.removeEventListener("keydown",this.handling),this.element=null,this.onUntrap&&this.onUntrap())}}class V{constructor(t){this.element=t,this.hidden=t.getAttribute("aria-hidden"),this.inert=t.getAttribute("inert"),this.element.setAttribute("aria-hidden",!0),this.element.setAttribute("inert","")}unstun(){null===this.hidden?this.element.removeAttribute("aria-hidden"):this.element.setAttribute("aria-hidden",this.hidden),null===this.inert?this.element.removeAttribute("inert"):this.element.setAttribute("inert",this.inert)}}class U{constructor(t){this.name=t,this.buttons=[]}push(t){this.buttons.push(t),(t===document.activeElement||t.checked||void 0===this.selected)&&(this.selected=t)}keep(t){return this.selected===t}}class j extends t.core.DisclosuresGroup{constructor(){super(),this.trap=new K}apply(t,e){super.apply(t,e),null===this.current?this.trap.untrap():this.trap.trap(this.current.element)}}const Y=new j;class J extends t.core.Disclosure{constructor(t){super(t),this.body=this.element.querySelector($),this.scrollDistance=0,this.scrolling=this.resize.bind(this,!1),this.resizing=this.resize.bind(this,!0),this.init(),this.resize(!0)}init(){this.element.addEventListener("click",this.click.bind(this)),this.keyListener=new t.KeyListener(this.element),this.keyListener.down(t.KeyListener.ESCAPE,this.conceal.bind(this),!0,!0),this.body&&(this.body.addEventListener("scroll",this.scrolling),window.addEventListener("resize",this.resizing))}click(t){this.body&&this.body!==t.target&&!this.body.contains(t.target)&&this.conceal()}gather(){Y.add(this)}disclose(t){return!!super.disclose(t)&&(this.resize(!0),this.handleScroll(!1),!0)}conceal(t,e){return!!super.conceal(t,e)&&(this.handleScroll(!0),!0)}handleScroll(e){e?(t.core.removeClass(document.documentElement,G),document.body.style.top="",window.scroll(0,this.scrollDistance)):(document.documentElement.classList.contains(G)||(this.scrollDistance=window.scrollY),document.body.style.top=-1*this.scrollDistance+"px",t.core.addClass(document.documentElement,G))}resize(e,s){this.body&&(this.body.scrollHeight>this.body.clientHeight?this.body.offsetHeight+this.body.scrollTop>=this.body.scrollHeight?t.core.removeClass(this.body,R):t.core.addClass(this.body,R):t.core.removeClass(this.body,R),e&&(this.body.style.maxHeight=window.innerHeight-32+"px",t.core.engine.renderer.next((()=>{this.body.style.maxHeight=window.innerHeight-32+"px"}))))}static get type(){return t.core.DISCLOSURE_TYPES.opened}static get selector(){return N}get GroupConstructor(){return j}}t.Modal=J,t.ModalsGroup=j,t.FocusTrap=K;new t.core.Initializer(B,[()=>{J.build(document)}]);const Q=t.core.ns("nav"),X=t.core.ns("nav__list"),Z=t.core.ns("nav__item"),tt=t.core.ns("nav__item--align-right"),et=t.core.ns("menu");class st extends t.core.DisclosuresGroup{constructor(t,e){super(t,e),this.menus=[],this.navList=e.querySelector(`.${X}`),document.addEventListener("focusout",this.focusOut.bind(this)),window.addEventListener("resize",this.resize.bind(this)),window.addEventListener("orientationchange",this.resize.bind(this)),this.resize()}static get selector(){return Q}add(t){super.add(t),t.element.classList.contains(et)&&this.menus.push(new it(t,this.navList.getBoundingClientRect().right))}focusOut(t){requestAnimationFrame((()=>{null===this.current||this.current.hasFocus||(this.index=-1)}))}get index(){return super.index}set index(t){-1===t&&null!==this.current&&this.current.hasFocus&&this.current.focus(),super.index=t}resize(){const t=this.navList.getBoundingClientRect().right;for(const e of this.menus)e.place(t)}}class it{constructor(t,e){this.initialize(t),this.place(e)}initialize(t){this.element=t.element;for(const e of t.buttons)if(e.hasAttribute){this.button=e.element;break}let e=this.element.parentElement;for(;e;){if(e.classList.contains(Z)){this.item=e;break}e=e.parentElement}}place(e){const s=getComputedStyle(this.element),i=parseFloat(s.width);this.button.getBoundingClientRect().left+i>e?t.core.addClass(this.item,tt):t.core.removeClass(this.item,tt)}}t.Navigation=st,t.Collapse.register(Q,st);const nt=t.core.ns.attr("theme"),rt=t.core.ns.attr("transition");class ot{constructor(){this.init()}init(){if(this.root=document.documentElement,this.scheme=localStorage.getItem("scheme")?localStorage.getItem("scheme"):null,null===this.scheme){const t=this.root.getAttribute(nt);"dark"===t||"light"===t?this.scheme=t:window.matchMedia("(prefers-color-scheme: dark)").matches?(this.scheme="dark",localStorage.setItem("scheme","dark")):this.scheme="light"}"dark"===this.scheme?this.root.hasAttribute(rt)?(this.root.removeAttribute(rt),this.root.setAttribute(nt,"dark"),setTimeout((()=>{this.root.setAttribute(rt,"")}),300)):this.root.setAttribute(nt,"dark"):this.root.setAttribute(nt,"light"),this.observer=new MutationObserver(this.mutate.bind(this)),this.observer.observe(this.root,{attributes:!0})}mutate(t){t.forEach((t=>{if("attributes"===t.type&&t.attributeName===nt){const t=this.root.getAttribute(nt);"dark"===t?localStorage.setItem("scheme","dark"):"light"===t&&localStorage.setItem("scheme","light")}}))}}t.Scheme=ot;const ht=`input[name="${t.core.ns.selector("radios-theme","")}"]`,lt=t.core.ns.selector("switch-theme","#"),ct=t.core.ns.attr("theme");class at{constructor(){this.attributeName=ct,this.theme=null,this.radios=document.querySelectorAll(ht);for(var t=0;t<this.radios.length;t++)this.radios[t].addEventListener("change",this.change.bind(this));this.observer=new MutationObserver(this.mutate.bind(this)),this.observe(),this.apply()}observe(){this.observer.observe(document.documentElement,{attributes:!0})}mutate(t){t.forEach((t=>{"attributes"===t.type&&t.attributeName===this.attributeName&&this.apply()}))}apply(){const t=document.documentElement.getAttribute(this.attributeName);this.isApplying=!0;for(var e=0;e<this.radios.length;e++)this.radios[e].checked=this.radios[e].value===t;this.isApplying=!1}change(){this.isApplying||(this.observer&&this.observer.disconnect(),this.theme=document.querySelector(ht+":checked"),this.theme?document.documentElement.setAttribute(this.attributeName,this.theme.value):document.documentElement.removeAttribute(this.attributeName),this.observer&&this.observe())}}new t.core.Initializer(`:root[${nt}]`,[()=>{new ot}]),new t.core.Initializer(`${lt}`,[()=>{new at}]);const dt=t.core.ns("sidemenu"),ut=t.core.ns("sidemenu__list");t.Collapse.register(dt,ut);const mt=t.core.ns.selector("table"),pt=`${t.core.ns.selector("table")}:not(${t.core.ns.selector("table--no-scroll")})`,gt=t.core.ns("table--shadow"),bt=t.core.ns("table--shadow-left"),ft=t.core.ns("table--shadow-right"),yt=t.core.ns("table__wrapper"),vt=t.core.ns("table--caption-bottom");class wt{constructor(t){this.init(t)}init(t){this.table=t,this.tableElem=this.table.querySelector("table"),this.tableContent=this.tableElem.querySelector("tbody"),this.isScrollable=this.tableContent.offsetWidth>this.tableElem.offsetWidth,this.caption=this.tableElem.querySelector("caption"),this.captionHeight=0,this.wrap();const e=this.change.bind(this);this.tableElem.addEventListener("scroll",e),this.change()}change(){const t=this.tableContent.offsetWidth>this.tableElem.offsetWidth;let e=this.tableElem.offsetWidth>this.table.offsetWidth;t||e?(this.scroll(),this.handleCaption()):t!==this.isScrollable&&this.delete(),this.isScrollable=t,e=!1}delete(){t.core.removeClass(this.table,ft),t.core.removeClass(this.table,bt),t.core.removeClass(this.table,gt),this.caption&&(this.tableElem.style.marginTop="",this.caption.style.top="",this.tableElem.style.marginBottom="",this.caption.style.bottom="")}scroll(){t.core.addClass(this.table,gt),this.setShadowPosition()}wrap(){const t=document.createElement("div");t.className=yt,this.table.insertBefore(t,this.tableElem),t.appendChild(this.tableElem),this.tableInnerWrapper=t}setShadowPosition(){const t=this.getScrollPosition("left"),e=this.getScrollPosition("right");"rtl"===document.documentElement.getAttribute("dir")?(this.setShadowVisibility("right",t),this.setShadowVisibility("left",e)):(this.setShadowVisibility("left",t),this.setShadowVisibility("right",e))}getScrollPosition(t){let e=1;switch("rtl"===document.documentElement.getAttribute("dir")&&(e=-1),t){case"left":return this.tableElem.scrollLeft*e;case"right":return this.tableContent.offsetWidth-this.tableElem.offsetWidth-this.tableElem.scrollLeft*e;default:return!1}}handleCaption(){if(this.caption){const t=getComputedStyle(this.caption),e=this.caption.offsetHeight+parseInt(t.marginTop)+parseInt(t.marginBottom);this.captionHeight=e,this.table.classList.contains(vt)?(this.tableElem.style.marginBottom=this.captionHeight+"px",this.caption.style.bottom=-this.captionHeight+"px"):(this.tableElem.style.marginTop=this.captionHeight+"px",this.caption.style.top=-this.captionHeight+"px")}}setShadowVisibility(e,s){s<=1?"left"===e?t.core.removeClass(this.table,bt):"right"===e&&t.core.removeClass(this.table,ft):"left"===e?t.core.addClass(this.table,bt):"right"===e&&t.core.addClass(this.table,ft)}}t.Table=wt;const Et=[],xt=()=>{for(let t=0;t<Et.length;t++)Et[t].change()};new t.core.Initializer(mt,[()=>{const t=document.querySelectorAll(pt);for(let e=0;e<t.length;e++)Et.push(new wt(t[e]));window.addEventListener("resize",xt),window.addEventListener("orientationchange",xt),xt()}]);class Lt extends t.core.DisclosureButton{apply(t){super.apply(t),this.hasAttribute&&this.element.setAttribute("tabindex",t?"0":"-1")}}const St=t.core.ns.selector("tabs"),At=t.core.ns("tabs"),Ct=t.core.ns("tabs__tab"),_t=t.core.ns("tabs__panel"),kt=t.core.ns("tabs__list");class qt extends t.core.DisclosuresGroup{constructor(e,s){super(e,s),this.list=s.querySelector(`.${kt}`),s.addEventListener("transitionend",this.transitionend.bind(this)),this.init(),t.core.engine.renderer.add(this.render.bind(this))}static get selector(){return At}transitionend(t){this.element.style.transition="none"}init(){this.keyListener=new t.KeyListener(this.element),this.keyListener.down(t.KeyListener.RIGHT,this.arrowRightPress.bind(this),!0,!0),this.keyListener.down(t.KeyListener.LEFT,this.arrowLeftPress.bind(this),!0,!0),this.keyListener.down(t.KeyListener.HOME,this.homePress.bind(this),!0,!0),this.keyListener.down(t.KeyListener.END,this.endPress.bind(this),!0,!0)}arrowRightPress(){document.activeElement.classList.contains(Ct)&&(this.index<this.length-1?this.index++:this.index=0,this.focus())}arrowLeftPress(){document.activeElement.classList.contains(Ct)&&(this.index>0?this.index--:this.index=this.length-1,this.focus())}homePress(){document.activeElement.classList.contains(Ct)&&(this.index=0,this.focus())}endPress(){document.activeElement.classList.contains(Ct)&&(this.index=this.length-1,this.focus())}focus(){this.current&&this.current.focus()}apply(){for(let t=0;t<this._index;t++)this.members[t].translate(-1);this.current.element.style.transform="";for(let t=this._index+1;t<this.length;t++)this.members[t].translate(1);this.element.style.transition=""}add(t){if(super.add(t),1===this.length||t.disclosed)this.current=t;else{const e=this.members.indexOf(t);this._index>-1&&this._index!==e&&t.translate(e<this._index?-1:1,!0)}}render(){if(null===this.current)return;const t=Math.round(this.current.element.offsetHeight);this.panelHeight!==t&&(this.panelHeight=t,this.element.style.height=this.panelHeight+this.list.offsetHeight+"px")}}class It extends t.core.Disclosure{static get type(){return t.core.DISCLOSURE_TYPES.select}static get selector(){return _t}get GroupConstructor(){return qt}buttonFactory(t){return new Lt(t,this)}translate(t,e){e&&(this.element.style.transition="none"),this.element.style.transform=`translate(${100*t}%)`,e&&(this.element.style.transition="")}reset(){this.group.index=0}}t.Tab=It,t.TabButton=Lt,t.TabsGroup=qt;new t.core.Initializer(St,[()=>{It.build(document)}]);const zt=t.core.ns.selector("header"),Dt=t.core.ns.selector("header__search"),Ht=t.core.ns.selector("header__menu"),Pt=t.core.ns.selector("header__tools-links"),Ot=t.core.ns.selector("header__menu-links"),Tt=`${Pt} ${t.core.ns.selector("links-group")}`;class Bt{constructor(t){this.header=t||document.querySelector(zt),this.modals=[],this.init()}getModal(e){const s=this.header.querySelector(e);if(!s)return;const i=t.core.Instance.getInstances(s,t.Modal);i&&i.length&&this.modals.push(i[0])}init(){this.getModal(Dt),this.getModal(Ht),this.linksGroup=this.header.querySelector(Tt),this.toolsLinks=this.header.querySelector(Pt),this.menuLinks=this.header.querySelector(Ot),this.changing=this.change.bind(this),window.addEventListener("resize",this.changing),this.change()}change(){if(this.isLarge=window.matchMedia("(min-width: 62em)").matches,this.isLarge)for(let t=0;t<this.modals.length;t++)this.modals[t].conceal(),this.modals[t].element.removeAttribute("role");else for(let t=0;t<this.modals.length;t++)this.modals[t].element.setAttribute("role","dialog");null!==this.linksGroup&&(this.isLarge?this.toolsLinks.appendChild(this.linksGroup):this.menuLinks.appendChild(this.linksGroup))}}t.Header=Bt;new t.core.Initializer(zt,[()=>{const t=Array.prototype.slice.call(document.querySelectorAll(zt)),e=[];for(const s of t)e.push(new Bt(s))}]);
//# sourceMappingURL=dsfr.module.min.js.map

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
!function(){"use strict";var t=window.dsfr||{core:{}};window.dsfr=t;var e=function(t){return"fr-"+t};e.selector=function(t,i){return void 0===i&&(i="."),""+i+e(t)},(e.attr=function(t,i,n){return"data-"+e(t)}).selector=function(t,i){var n=e.attr(t);return void 0!==i&&(n+='="'+i+'"'),"["+n+"]"},e.event=function(t){return"dsfr."+t};var i=function(t,e,i){"."===e.charAt(0)&&(e=e.substr(1));var n=t.className.split(" "),s=n.indexOf(e);!0===i?s>-1&&n.splice(s,1):-1===s&&n.push(e),t.className=n.join(" ")},n=function(t,e){return i(t,e)},s=function(t,e){return i(t,e,!0)},o=function(){this.closures=[],this.nexts=[],this.rendering=this.render.bind(this),this.render()};o.prototype.add=function(t){var e=this;this.closures.push(t);return function(){var i=e.closures.indexOf(t);-1!==i&&e.closures.splice(i,1)}},o.prototype.next=function(t,e){e=void 0===e?0:e-1,void 0===this.nexts[e]&&(this.nexts[e]=[]),this.nexts[e].push(t)},o.prototype.render=function(){window.requestAnimationFrame(this.rendering);for(var t=0,e=this.closures;t<e.length;t+=1){e[t].call()}var i=this.nexts.shift();if(i)for(var n=0,s=i;n<s.length;n+=1){s[n].call()}};var r=function(){this.renderer=new o};r.prototype.register=function(t,e){},r.prototype.start=function(){},r.prototype.stop=function(){};var c=new r,h=function(t,e){this.selector=t,this.builders=e,this.instances=[],"loading"!==document.readyState?window.requestAnimationFrame(this.start.bind(this)):document.addEventListener("DOMContentLoaded",this.start.bind(this))};h.prototype.start=function(){if(!(this.instances.length>0)&&document.querySelectorAll(this.selector).length>0)for(var t=0;t<this.builders.length;t++)this.instances.push(this.builders[t]())};var a={},l={},u=0,d=function(t){for(var e in l)if(l[e]===t)return e;var i=++u;return l[i]=t,i},p=function(t,e,i){var n=d(t);a[n]||(a[n]=[]),a[n].push(this),this.element=t,this.id=t.id,this._isRendering=!1,this._isResizing=!1,this.listeners={},this.isResizing=e,this.isRendering=i},f={isRendering:{configurable:!0},isResizing:{configurable:!0}};p.prototype.dispatch=function(t,e){var i=new CustomEvent(t,e);this.element.dispatchEvent(i)},p.prototype.listen=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].indexOf(e)>-1||(this.listeners[t].push(e),this.element.addEventListener(t,e))},p.prototype.unlisten=function(t,e){if(t)if(e){if(!this.listeners[t])return;var i=this.listeners[t].indexOf(e);i>-1&&this.listeners[t].splice(i,1),this.element.removeEventListener(e)}else{if(!this.listeners[t])return;for(var n=0,s=this.listeners[t];n<s.length;n+=1){var o=s[n];this.element.removeEventListener(o)}this.listeners[t].length=0}else for(var r in this.listeners)this.unlisten(r)},f.isRendering.get=function(){return this._isRendering},f.isRendering.set=function(t){this._isRendering!==t&&(this._isRendering=t)},p.prototype.render=function(){},f.isResizing.get=function(){return this._isResizing},f.isResizing.set=function(t){this._isResizing!==t&&(this._isResizing=t)},p.prototype.resize=function(){},p.prototype.destroy=function(){},p.getInstances=function(t,e){var i=d(t);return a[i]?e?a[i].filter((function(t){return t instanceof e})):a[i]:null},Object.defineProperties(p.prototype,f);var m=e.attr("group"),y=[],b=function(t,e){this.id=t,this.element=e,this.members=[],this._index=-1,this._current=null,y.push(this)},g={length:{configurable:!0},index:{configurable:!0},current:{configurable:!0},hasFocus:{configurable:!0}},v={selector:{configurable:!0}};b.getGroupById=function(t){for(var e=0,i=y;e<i.length;e+=1){var n=i[e];if(n.constructor===this&&n.id===t)return n}return new this(t)},b.getGroupByElement=function(t){for(var e=0,i=y;e<i.length;e+=1){var n=i[e];if(n.element===t)return n}return new this(!1,t)},b.groupById=function(t,e){var i=t.element.getAttribute(m);null!==i&&e.getGroupById(i).add(t)},b.groupByParent=function(t,e,i){if(void 0===i&&(i=e.selector),""!==i)for(var n=t.element.parentElement;n;){if(n.classList.contains(t.constructor.selector))return;if(n.classList.contains(i))return void e.getGroupByElement(n).add(t);n=n.parentElement}},v.selector.get=function(){return""},b.prototype.add=function(t){if(-1===this.members.indexOf(t))switch(this.members.push(t),t.setGroup(this),!0){case null!==this.current:case!t.disclosed&&!t.primal:t.disclosed=!1;break;default:this._current=t,this._index=this.members.indexOf(t),t.disclosed=!0}},g.length.get=function(){return this.members.length},g.index.get=function(){return this._index},g.index.set=function(t){t<-1||t>=this.length||this._index===t||(null!==this.current&&this.current.conceal(!0,!0),this._index=t,this._current=this._index>-1?this.members[this._index]:null,null!==this.current&&this.current.disclose(!0),this.apply())},g.current.get=function(){return this._current},g.current.set=function(t){this.index=this.members.indexOf(t)},g.hasFocus.get=function(){return void 0===this.current?null:this.current.hasFocus},b.prototype.apply=function(){},Object.defineProperties(b.prototype,g),Object.defineProperties(b,v);var w=function(t,e){this.element=t,this.disclosure=e,this.hasAttribute=this.element.hasAttribute(this.disclosure.attributeName),this.element.addEventListener("click",this.click.bind(this)),this.observer=new MutationObserver(this.mutate.bind(this)),this.observe()},E={disclosed:{configurable:!0},hasFocus:{configurable:!0}};w.prototype.observe=function(){this.observer.observe(this.element,{attributes:!0})},w.prototype.click=function(t){this.disclosure.change(this.hasAttribute)},w.prototype.mutate=function(t){var e=this;t.forEach((function(t){"attributes"===t.type&&t.attributeName===e.disclosure.attributeName&&e.disclosure.change(e.disclosed)}))},w.prototype.apply=function(t){this.hasAttribute&&(this.observer&&this.observer.disconnect(),this.element.setAttribute(this.disclosure.attributeName,t),this.observer&&this.observe())},E.disclosed.get=function(){return"true"===this.element.getAttribute(this.disclosure.attributeName)},E.hasFocus.get=function(){return this.element===document.activeElement},Object.defineProperties(w.prototype,E);var _=e.event("DISCLOSE"),x=e.event("CONCEAL"),L=[],S=function(t){function i(i){t.call(this,i),this.buttons=[],this._selector=this.constructor.selector,this.modifier=this._selector+"--"+this.type.id,this.attributeName=this.type.ariaState?"aria-"+this.type.id:e.attr(this.type.id),this.pristine=!0;var n=document.querySelectorAll(this.type.ariaControls?'[aria-controls="'+this.id+'"]':e.attr.selector("controls",this.id));if(n.length>0)for(var s=0;s<n.length;s++)this.addButton(n[s]);this.disclosed=!0===this.primal,this.gather()}t&&(i.__proto__=t),i.prototype=Object.create(t&&t.prototype),i.prototype.constructor=i;var o={type:{configurable:!0},GroupConstructor:{configurable:!0},disclosed:{configurable:!0},buttonHasFocus:{configurable:!0},hasFocus:{configurable:!0}},r={type:{configurable:!0},selector:{configurable:!0}};return i.prototype.gather=function(){this.group||(b.groupById(this,this.GroupConstructor),b.groupByParent(this,this.GroupConstructor))},i.build=function(t){for(var e=0,i=Array.prototype.slice.call(t.querySelectorAll("."+this.selector));e<i.length;e+=1){var n=i[e];L.push(new this(n))}},o.type.get=function(){return this.constructor.type},r.type.get=function(){return null},r.selector.get=function(){return""},i.prototype.addButton=function(t){var e=this.buttonFactory(t);e.hasAttribute&&(void 0===this.primal?this.primal=e.disclosed:e.apply(this.primal)),this.buttons.push(e)},o.GroupConstructor.get=function(){return b},i.prototype.buttonFactory=function(t){return new w(t,this)},i.prototype.disclose=function(t){return!this.disclosed&&(this.pristine=!1,this.disclosed=!0,t||void 0===this.group||(this.group.current=this),!0)},i.prototype.conceal=function(t,e){if(!this.disclosed)return!1;this.pristine=!1,this.disclosed=!1,e||this.focus(),t||void 0===this.group||(this.group.current=null);for(var i=0,n=L;i<n.length;i+=1){var s=n[i];s!==this&&this.element.contains(s.element)&&s.reset()}return!0},o.disclosed.get=function(){return this._disclosed},o.disclosed.set=function(t){if(this._disclosed!==t){this.dispatch(t?_:x,this.type),this._disclosed=t,t?n(this.element,this.modifier):s(this.element,this.modifier);for(var e=0;e<this.buttons.length;e++)this.buttons[e].apply(t)}},i.prototype.reset=function(){},i.prototype.change=function(t){if(this.constructor.type.canConceal)switch(!0){case!t:case this.disclosed:this.conceal();break;default:this.disclose()}else this.disclose()},i.prototype.setGroup=function(t){this.group=t},o.buttonHasFocus.get=function(){return!!this.buttons.some((function(t){return t.hasFocus}))},o.hasFocus.get=function(){return this.element===document.activeElement||(this.element.querySelectorAll(":focus").length>0||this.buttonHasFocus)},i.prototype.focus=function(){for(var t=0;t<this.buttons.length;t++){var e=this.buttons[t];if(e.hasAttribute)return void e.element.focus()}},Object.defineProperties(i.prototype,o),Object.defineProperties(i,r),i}(p);S.DISCLOSE_EVENT=_,S.CONCEAL_EVENT=x;var A={expand:{id:"expanded",ariaState:!0,ariaControls:!0,canConceal:!0},select:{id:"selected",ariaState:!0,ariaControls:!0,canConceal:!1},opened:{id:"opened",ariaState:!1,ariaControls:!0,canConceal:!0}},C=function(t){this.element=t,this.collections={}};C.prototype._add=function(t,e){void 0===this.collections[t]&&(this.collections[t]=new k(t,this.element)),this.collections[t].add(e)},C.prototype.down=function(t,e,i,n){this._add("down",new O(t,e,i,n))},C.prototype.up=function(t,e,i,n){this._add("up",new O(t,e,i,n))},C.prototype.dispose=function(){for(var t=0,e=this.collections;t<e.length;t+=1){e[t].dispose()}this.types=null};var k=function(t,e){this.type=t,this.element=e,this.actions=[],this.binding=this.handle.bind(this),this.element.addEventListener("key"+t,this.binding)};k.prototype.add=function(t){this.actions.push(t)},k.prototype.handle=function(t){for(var e=0,i=this.actions;e<i.length;e+=1){i[e].handle(t)}},k.prototype.dispose=function(){this.element.removeEventListener("key"+this.type,this.binding),this.actions=null};var O=function(t,e,i,n){this.key=t,this.closure=e,this.preventDefault=!0===i,this.stopPropagation=!0===n};O.prototype.handle=function(t){t.keyCode===this.key&&(this.closure(t),this.preventDefault&&t.preventDefault(),this.stopPropagation&&t.stopPropagation())},C.TAB=9,C.ESCAPE=27,C.END=35,C.HOME=36,C.LEFT=37,C.UP=38,C.RIGHT=39,C.DOWN=40;var P=e("collapse"),q=[],z={},I=function(t){function e(e){t.call(this,e),q.push(this),this.requesting=this.request.bind(this),e.addEventListener("transitionend",this.transitionend.bind(this)),this.disclosed&&this.unbound()}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var i={type:{configurable:!0},selector:{configurable:!0}};return e.prototype.gatherByAscendants=function(){if(!this.group)for(var t in z)for(var e=this.element.parentElement;e;){if(e.classList.contains(t))return void("string"==typeof z[t]?b.groupByParent(this,b,z[t]):b.groupByParent(this,z[t]));e=e.parentElement}},e.prototype.gather=function(){this.gatherByAscendants(),t.prototype.gather.call(this)},i.type.get=function(){return A.expand},i.selector.get=function(){return P},e.register=function(t,e){z[t]=e;for(var i=0,n=q;i<n.length;i+=1){n[i].gatherByAscendants()}},e.prototype.transitionend=function(t){this.disclosed||(this.element.style.maxHeight="")},e.prototype.unbound=function(){this.element.style.maxHeight="none"},e.prototype.disclose=function(e){var i=this;this.disclosed||(this.unbound(),this.adjust(),this.requested=function(){t.prototype.disclose.call(i,e)},window.requestAnimationFrame(this.requesting))},e.prototype.conceal=function(e,i){var n=this;this.disclosed&&(this.adjust(),this.requested=function(){t.prototype.conceal.call(n,e,i)},window.requestAnimationFrame(this.requesting))},e.prototype.request=function(){this.requested&&this.requested(),this.requested=null},e.prototype.adjust=function(){this.element.style.setProperty("--collapser","none");var t=this.element.offsetHeight;this.element.style.setProperty("--collapse",-t+"px"),this.element.style.setProperty("--collapser","")},e.prototype.reset=function(){this.pristine||(this.disclosed=!1)},Object.defineProperties(e,i),e}(S),j=function(t,e){this.selector=t,this.group=e,this.elements=this.group.querySelectorAll(this.selector),this.maxWidth=0,this.changing=this.change.bind(this),window.addEventListener("resize",this.changing),window.addEventListener("load",this.changing)};j.prototype.change=function(){this.reset();for(var t=0;t<this.elements.length;t++){var e=this._getWidth(this.elements[t]);e>this.maxWidth&&(this.maxWidth=e)}this.apply()},j.prototype.apply=function(){for(var t=0;t<this.elements.length;t++)this.elements[t].style.width=this.maxWidth+1+"px"},j.prototype.reset=function(){for(var t=0;t<this.elements.length;t++)this.elements[t].style.width="auto";this.maxWidth=0},j.prototype._getWidth=function(t){var e=t.offsetWidth,i=getComputedStyle(t);return e+=parseInt(i.marginLeft)+parseInt(i.marginRight)},t.core.ns=e,t.core.addClass=n,t.core.removeClass=s,t.core.engine=c,t.core.Instance=p,t.core.Initializer=h,t.core.Disclosure=S,t.core.DisclosureButton=w,t.core.DisclosuresGroup=b,t.core.DISCLOSURE_TYPES=A,t.KeyListener=C,t.Collapse=I,t.Equisized=j;new h("."+P,[function(){I.build(document)}]);var D=t.core.ns("accordions-group"),H=t.core.ns("accordion"),G=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var i={selector:{configurable:!0}};return i.selector.get=function(){return D},Object.defineProperties(e,i),e}(t.core.DisclosuresGroup);t.AccordionsGroup=G,t.Collapse.register(H,G);var T=t.core.ns.selector("breadcrumb")+" "+t.core.ns.selector("collapse"),R=function(e){function i(i){e.call(this,i),this.collapse=t.core.Instance.getInstances(i,t.Collapse)[0],this.links=[].concat(this.element.querySelectorAll("a[href]")),this.count=0,this.links.length&&(this.listen(t.core.Disclosure.DISCLOSE_EVENT,this.focus.bind(this)),this.resizing=this.resize.bind(this),window.addEventListener("resize",this.resizing))}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.focus=function(){var e=this;this.links[0].focus(),t.core.engine.renderer.next((function(){e.verify()}))},i.prototype.verify=function(){this.count++,this.count>100||document.activeElement!==this.links[0]&&this.focus()},i.prototype.resize=function(){window.matchMedia("(min-width: 48em)").matches?this.collapse.buttons[0]===document.activeElement&&this.links.focus():this.links.indexOf(document.activeElement)>-1&&this.collapse.focus()},i}(t.core.Instance);new t.core.Initializer(T,[function(){for(var t=[],e=document.querySelectorAll(T),i=0;i<e.length;i++)t.push(new R(e[i]))}]);var B=t.core.ns.selector("btn"),N=t.core.ns.selector("btns-group"),F=t.core.ns.selector("btns-group--equisized");new t.core.Initializer(N,[function(){for(var e=document.querySelectorAll(F),i=[],n=0;n<e.length;n++)i.push(new t.Equisized(B,e[n]))}]);var W=t.core.ns.selector("modal"),M=t.core.ns("modal"),K=t.core.ns("no-scroll"),V=t.core.ns("scroll-shadow"),U=t.core.ns.selector("modal__body"),Y=['[tabindex="0"]',"a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false" i])',"details>summary:first-of-type","details"].join(),J=['[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'].join(),Q=function(t,e){if("hidden"===window.getComputedStyle(t).visibility)return!1;for(void 0===e&&(e=t);e.contains(t);){if("none"===window.getComputedStyle(t).display)return!1;t=t.parentElement}return!0},X=function(t,e){this.element=null,this.activeElement=null,this.onTrap=t,this.onUntrap=e,this.waiting=this.wait.bind(this),this.handling=this.handle.bind(this),this.current=null},Z={trapped:{configurable:!0},focusables:{configurable:!0}};Z.trapped.get=function(){return null!==this.element},X.prototype.trap=function(t){this.trapped&&this.untrap(),this.element=t,this.isTrapping=!0,this.wait(),this.onTrap&&this.onTrap()},X.prototype.wait=function(){Q(this.element)?this.trapping():t.core.engine.renderer.next(this.waiting)},X.prototype.trapping=function(){if(this.isTrapping){this.isTrapping=!1;var t=this.focusables;t.length&&t[0].focus(),this.element.setAttribute("aria-modal",!0),this.element.addEventListener("keydown",this.handling),this.stunneds=[]}},X.prototype.stun=function(t){for(var e=0,i=t.children;e<i.length;e+=1){var n=i[e];n!==this.element&&(n.contains(this.element)?this.stun(n):this.stunneds.push(new $(n)))}},X.prototype.handle=function(t){if(9===t.keyCode){var e=this.focusables;if(0!==e.length){var i=e[0],n=e[e.length-1],s=e.indexOf(document.activeElement);t.shiftKey?!this.element.contains(document.activeElement)||s<1?(t.preventDefault(),n.focus()):(document.activeElement.tabIndex>0||e[s-1].tabIndex>0)&&(t.preventDefault(),e[s-1].focus()):this.element.contains(document.activeElement)&&s!==e.length-1&&-1!==s?document.activeElement.tabIndex>0&&(t.preventDefault(),e[s+1].focus()):(t.preventDefault(),i.focus())}}},Z.focusables.get=function(){var t=this,e=[].concat(this.element.querySelectorAll(Y)),i=[].concat(document.documentElement.querySelectorAll('input[type="radio"]'));if(i.length){for(var n={},s=0,o=i;s<o.length;s+=1){var r=o[s],c=r.getAttribute("name");void 0===n[c]&&(n[c]=new tt(c)),n[c].push(r)}e=e.filter((function(t){if("input"!==t.tagName.toLowerCase()||"radio"!==t.getAttribute("type").toLowerCase())return!0;var e=t.getAttribute("name");return n[e].keep(t)}))}var h=[].concat(this.element.querySelectorAll(J));h.sort((function(t,e){return t.tabIndex-e.tabIndex}));var a=e.filter((function(t){return-1===h.indexOf(t)}));return h.concat(a).filter((function(e){return"-1"!==e.tabIndex&&Q(e,t.element)}))},X.prototype.untrap=function(){this.trapped&&(this.isTrapping=!1,this.element.removeAttribute("aria-modal"),this.element.removeEventListener("keydown",this.handling),this.element=null,this.onUntrap&&this.onUntrap())},Object.defineProperties(X.prototype,Z);var $=function(t){this.element=t,this.hidden=t.getAttribute("aria-hidden"),this.inert=t.getAttribute("inert"),this.element.setAttribute("aria-hidden",!0),this.element.setAttribute("inert","")};$.prototype.unstun=function(){null===this.hidden?this.element.removeAttribute("aria-hidden"):this.element.setAttribute("aria-hidden",this.hidden),null===this.inert?this.element.removeAttribute("inert"):this.element.setAttribute("inert",this.inert)};var tt=function(t){this.name=t,this.buttons=[]};tt.prototype.push=function(t){this.buttons.push(t),(t===document.activeElement||t.checked||void 0===this.selected)&&(this.selected=t)},tt.prototype.keep=function(t){return this.selected===t};var et=function(t){function e(){t.call(this),this.trap=new X}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.apply=function(e,i){t.prototype.apply.call(this,e,i),null===this.current?this.trap.untrap():this.trap.trap(this.current.element)},e}(t.core.DisclosuresGroup),it=new et,nt=function(e){function i(t){e.call(this,t),this.body=this.element.querySelector(U),this.scrollDistance=0,this.scrolling=this.resize.bind(this,!1),this.resizing=this.resize.bind(this,!0),this.init(),this.resize(!0)}e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i;var n={GroupConstructor:{configurable:!0}},s={type:{configurable:!0},selector:{configurable:!0}};return i.prototype.init=function(){this.element.addEventListener("click",this.click.bind(this)),this.keyListener=new t.KeyListener(this.element),this.keyListener.down(t.KeyListener.ESCAPE,this.conceal.bind(this),!0,!0),this.body&&(this.body.addEventListener("scroll",this.scrolling),window.addEventListener("resize",this.resizing))},i.prototype.click=function(t){this.body&&this.body!==t.target&&!this.body.contains(t.target)&&this.conceal()},i.prototype.gather=function(){it.add(this)},i.prototype.disclose=function(t){return!!e.prototype.disclose.call(this,t)&&(this.resize(!0),this.handleScroll(!1),!0)},i.prototype.conceal=function(t,i){return!!e.prototype.conceal.call(this,t,i)&&(this.handleScroll(!0),!0)},i.prototype.handleScroll=function(e){e?(t.core.removeClass(document.documentElement,K),document.body.style.top="",window.scroll(0,this.scrollDistance)):(document.documentElement.classList.contains(K)||(this.scrollDistance=window.scrollY),document.body.style.top=-1*this.scrollDistance+"px",t.core.addClass(document.documentElement,K))},i.prototype.resize=function(e,i){var n=this;this.body&&(this.body.scrollHeight>this.body.clientHeight?this.body.offsetHeight+this.body.scrollTop>=this.body.scrollHeight?t.core.removeClass(this.body,V):t.core.addClass(this.body,V):t.core.removeClass(this.body,V),e&&(this.body.style.maxHeight=window.innerHeight-32+"px",t.core.engine.renderer.next((function(){n.body.style.maxHeight=window.innerHeight-32+"px"}))))},s.type.get=function(){return t.core.DISCLOSURE_TYPES.opened},s.selector.get=function(){return M},n.GroupConstructor.get=function(){return et},Object.defineProperties(i.prototype,n),Object.defineProperties(i,s),i}(t.core.Disclosure);t.Modal=nt,t.ModalsGroup=et,t.FocusTrap=X;new t.core.Initializer(W,[function(){nt.build(document)}]);var st=t.core.ns("nav"),ot=t.core.ns("nav__list"),rt=t.core.ns("nav__item"),ct=t.core.ns("nav__item--align-right"),ht=t.core.ns("menu"),at=function(t){function e(e,i){t.call(this,e,i),this.menus=[],this.navList=i.querySelector("."+ot),document.addEventListener("focusout",this.focusOut.bind(this)),window.addEventListener("resize",this.resize.bind(this)),window.addEventListener("orientationchange",this.resize.bind(this)),this.resize()}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var i={index:{configurable:!0}},n={selector:{configurable:!0}};return n.selector.get=function(){return st},e.prototype.add=function(e){t.prototype.add.call(this,e),e.element.classList.contains(ht)&&this.menus.push(new lt(e,this.navList.getBoundingClientRect().right))},e.prototype.focusOut=function(t){var e=this;requestAnimationFrame((function(){null===e.current||e.current.hasFocus||(e.index=-1)}))},i.index.get=function(){return t.prototype.index},i.index.set=function(e){-1===e&&null!==this.current&&this.current.hasFocus&&this.current.focus(),t.prototype.index=e},e.prototype.resize=function(){for(var t=this.navList.getBoundingClientRect().right,e=0,i=this.menus;e<i.length;e+=1){i[e].place(t)}},Object.defineProperties(e.prototype,i),Object.defineProperties(e,n),e}(t.core.DisclosuresGroup),lt=function(t,e){this.initialize(t),this.place(e)};lt.prototype.initialize=function(t){this.element=t.element;for(var e=0,i=t.buttons;e<i.length;e+=1){var n=i[e];if(n.hasAttribute){this.button=n.element;break}}for(var s=this.element.parentElement;s;){if(s.classList.contains(rt)){this.item=s;break}s=s.parentElement}},lt.prototype.place=function(e){var i=getComputedStyle(this.element),n=parseFloat(i.width);this.button.getBoundingClientRect().left+n>e?t.core.addClass(this.item,ct):t.core.removeClass(this.item,ct)},t.Navigation=at,t.Collapse.register(st,at);var ut=t.core.ns.attr("theme"),dt=t.core.ns.attr("transition"),pt=function(){this.init()};pt.prototype.init=function(){var t=this;if(this.root=document.documentElement,this.scheme=localStorage.getItem("scheme")?localStorage.getItem("scheme"):null,null===this.scheme){var e=this.root.getAttribute(ut);"dark"===e||"light"===e?this.scheme=e:window.matchMedia("(prefers-color-scheme: dark)").matches?(this.scheme="dark",localStorage.setItem("scheme","dark")):this.scheme="light"}"dark"===this.scheme?this.root.hasAttribute(dt)?(this.root.removeAttribute(dt),this.root.setAttribute(ut,"dark"),setTimeout((function(){t.root.setAttribute(dt,"")}),300)):this.root.setAttribute(ut,"dark"):this.root.setAttribute(ut,"light"),this.observer=new MutationObserver(this.mutate.bind(this)),this.observer.observe(this.root,{attributes:!0})},pt.prototype.mutate=function(t){var e=this;t.forEach((function(t){if("attributes"===t.type&&t.attributeName===ut){var i=e.root.getAttribute(ut);"dark"===i?localStorage.setItem("scheme","dark"):"light"===i&&localStorage.setItem("scheme","light")}}))},t.Scheme=pt;var ft='input[name="'+t.core.ns.selector("radios-theme","")+'"]',mt=t.core.ns.selector("switch-theme","#"),yt=t.core.ns.attr("theme"),bt=function(){this.attributeName=yt,this.theme=null,this.radios=document.querySelectorAll(ft);for(var t=0;t<this.radios.length;t++)this.radios[t].addEventListener("change",this.change.bind(this));this.observer=new MutationObserver(this.mutate.bind(this)),this.observe(),this.apply()};bt.prototype.observe=function(){this.observer.observe(document.documentElement,{attributes:!0})},bt.prototype.mutate=function(t){var e=this;t.forEach((function(t){"attributes"===t.type&&t.attributeName===e.attributeName&&e.apply()}))},bt.prototype.apply=function(){var t=document.documentElement.getAttribute(this.attributeName);this.isApplying=!0;for(var e=0;e<this.radios.length;e++)this.radios[e].checked=this.radios[e].value===t;this.isApplying=!1},bt.prototype.change=function(){this.isApplying||(this.observer&&this.observer.disconnect(),this.theme=document.querySelector(ft+":checked"),this.theme?document.documentElement.setAttribute(this.attributeName,this.theme.value):document.documentElement.removeAttribute(this.attributeName),this.observer&&this.observe())};new t.core.Initializer(":root["+ut+"]",[function(){new pt}]),new t.core.Initializer(""+mt,[function(){new bt}]);var gt=t.core.ns("sidemenu"),vt=t.core.ns("sidemenu__list");t.Collapse.register(gt,vt);var wt=t.core.ns.selector("table"),Et=t.core.ns.selector("table")+":not("+t.core.ns.selector("table--no-scroll")+")",_t="left",xt="right",Lt=t.core.ns("table--shadow"),St=t.core.ns("table--shadow-left"),At=t.core.ns("table--shadow-right"),Ct=t.core.ns("table__wrapper"),kt=t.core.ns("table--caption-bottom"),Ot=function(t){this.init(t)};Ot.prototype.init=function(t){this.table=t,this.tableElem=this.table.querySelector("table"),this.tableContent=this.tableElem.querySelector("tbody"),this.isScrollable=this.tableContent.offsetWidth>this.tableElem.offsetWidth,this.caption=this.tableElem.querySelector("caption"),this.captionHeight=0,this.wrap();var e=this.change.bind(this);this.tableElem.addEventListener("scroll",e),this.change()},Ot.prototype.change=function(){var t=this.tableContent.offsetWidth>this.tableElem.offsetWidth,e=this.tableElem.offsetWidth>this.table.offsetWidth;t||e?(this.scroll(),this.handleCaption()):t!==this.isScrollable&&this.delete(),this.isScrollable=t,e=!1},Ot.prototype.delete=function(){t.core.removeClass(this.table,At),t.core.removeClass(this.table,St),t.core.removeClass(this.table,Lt),this.caption&&(this.tableElem.style.marginTop="",this.caption.style.top="",this.tableElem.style.marginBottom="",this.caption.style.bottom="")},Ot.prototype.scroll=function(){t.core.addClass(this.table,Lt),this.setShadowPosition()},Ot.prototype.wrap=function(){var t=document.createElement("div");t.className=Ct,this.table.insertBefore(t,this.tableElem),t.appendChild(this.tableElem),this.tableInnerWrapper=t},Ot.prototype.setShadowPosition=function(){var t=this.getScrollPosition(_t),e=this.getScrollPosition(xt);"rtl"===document.documentElement.getAttribute("dir")?(this.setShadowVisibility(xt,t),this.setShadowVisibility(_t,e)):(this.setShadowVisibility(_t,t),this.setShadowVisibility(xt,e))},Ot.prototype.getScrollPosition=function(t){var e=1;switch("rtl"===document.documentElement.getAttribute("dir")&&(e=-1),t){case _t:return this.tableElem.scrollLeft*e;case xt:return this.tableContent.offsetWidth-this.tableElem.offsetWidth-this.tableElem.scrollLeft*e;default:return!1}},Ot.prototype.handleCaption=function(){if(this.caption){var t=getComputedStyle(this.caption),e=this.caption.offsetHeight+parseInt(t.marginTop)+parseInt(t.marginBottom);this.captionHeight=e,this.table.classList.contains(kt)?(this.tableElem.style.marginBottom=this.captionHeight+"px",this.caption.style.bottom=-this.captionHeight+"px"):(this.tableElem.style.marginTop=this.captionHeight+"px",this.caption.style.top=-this.captionHeight+"px")}},Ot.prototype.setShadowVisibility=function(e,i){i<=1?e===_t?t.core.removeClass(this.table,St):e===xt&&t.core.removeClass(this.table,At):e===_t?t.core.addClass(this.table,St):e===xt&&t.core.addClass(this.table,At)},t.Table=Ot;var Pt=[],qt=function(){for(var t=0;t<Pt.length;t++)Pt[t].change()};new t.core.Initializer(wt,[function(){for(var t=document.querySelectorAll(Et),e=0;e<t.length;e++)Pt.push(new Ot(t[e]));window.addEventListener("resize",qt),window.addEventListener("orientationchange",qt),qt()}]);var zt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.apply=function(e){t.prototype.apply.call(this,e),this.hasAttribute&&this.element.setAttribute("tabindex",e?"0":"-1")},e}(t.core.DisclosureButton),It=t.core.ns.selector("tabs"),jt=t.core.ns("tabs"),Dt=t.core.ns("tabs__tab"),Ht=t.core.ns("tabs__panel"),Gt=t.core.ns("tabs__list"),Tt=function(e){function i(i,n){e.call(this,i,n),this.list=n.querySelector("."+Gt),n.addEventListener("transitionend",this.transitionend.bind(this)),this.init(),t.core.engine.renderer.add(this.render.bind(this))}e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i;var n={selector:{configurable:!0}};return n.selector.get=function(){return jt},i.prototype.transitionend=function(t){this.element.style.transition="none"},i.prototype.init=function(){this.keyListener=new t.KeyListener(this.element),this.keyListener.down(t.KeyListener.RIGHT,this.arrowRightPress.bind(this),!0,!0),this.keyListener.down(t.KeyListener.LEFT,this.arrowLeftPress.bind(this),!0,!0),this.keyListener.down(t.KeyListener.HOME,this.homePress.bind(this),!0,!0),this.keyListener.down(t.KeyListener.END,this.endPress.bind(this),!0,!0)},i.prototype.arrowRightPress=function(){document.activeElement.classList.contains(Dt)&&(this.index<this.length-1?this.index++:this.index=0,this.focus())},i.prototype.arrowLeftPress=function(){document.activeElement.classList.contains(Dt)&&(this.index>0?this.index--:this.index=this.length-1,this.focus())},i.prototype.homePress=function(){document.activeElement.classList.contains(Dt)&&(this.index=0,this.focus())},i.prototype.endPress=function(){document.activeElement.classList.contains(Dt)&&(this.index=this.length-1,this.focus())},i.prototype.focus=function(){this.current&&this.current.focus()},i.prototype.apply=function(){for(var t=0;t<this._index;t++)this.members[t].translate(-1);this.current.element.style.transform="";for(var e=this._index+1;e<this.length;e++)this.members[e].translate(1);this.element.style.transition=""},i.prototype.add=function(t){if(e.prototype.add.call(this,t),1===this.length||t.disclosed)this.current=t;else{var i=this.members.indexOf(t);this._index>-1&&this._index!==i&&t.translate(i<this._index?-1:1,!0)}},i.prototype.render=function(){if(null!==this.current){var t=Math.round(this.current.element.offsetHeight);this.panelHeight!==t&&(this.panelHeight=t,this.element.style.height=this.panelHeight+this.list.offsetHeight+"px")}},Object.defineProperties(i,n),i}(t.core.DisclosuresGroup),Rt=function(e){function i(){e.apply(this,arguments)}e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i;var n={GroupConstructor:{configurable:!0}},s={type:{configurable:!0},selector:{configurable:!0}};return s.type.get=function(){return t.core.DISCLOSURE_TYPES.select},s.selector.get=function(){return Ht},n.GroupConstructor.get=function(){return Tt},i.prototype.buttonFactory=function(t){return new zt(t,this)},i.prototype.translate=function(t,e){e&&(this.element.style.transition="none"),this.element.style.transform="translate("+100*t+"%)",e&&(this.element.style.transition="")},i.prototype.reset=function(){this.group.index=0},Object.defineProperties(i.prototype,n),Object.defineProperties(i,s),i}(t.core.Disclosure);t.Tab=Rt,t.TabButton=zt,t.TabsGroup=Tt;new t.core.Initializer(It,[function(){Rt.build(document)}]);var Bt=t.core.ns.selector("header"),Nt=t.core.ns.selector("header__search"),Ft=t.core.ns.selector("header__menu"),Wt=t.core.ns.selector("header__tools-links"),Mt=t.core.ns.selector("header__menu-links"),Kt=Wt+" "+t.core.ns.selector("links-group"),Vt=function(t){this.header=t||document.querySelector(Bt),this.modals=[],this.init()};Vt.prototype.getModal=function(e){var i=this.header.querySelector(e);if(i){var n=t.core.Instance.getInstances(i,t.Modal);n&&n.length&&this.modals.push(n[0])}},Vt.prototype.init=function(){this.getModal(Nt),this.getModal(Ft),this.linksGroup=this.header.querySelector(Kt),this.toolsLinks=this.header.querySelector(Wt),this.menuLinks=this.header.querySelector(Mt),this.changing=this.change.bind(this),window.addEventListener("resize",this.changing),this.change()},Vt.prototype.change=function(){if(this.isLarge=window.matchMedia("(min-width: 62em)").matches,this.isLarge)for(var t=0;t<this.modals.length;t++)this.modals[t].conceal(),this.modals[t].element.removeAttribute("role");else for(var e=0;e<this.modals.length;e++)this.modals[e].element.setAttribute("role","dialog");null!==this.linksGroup&&(this.isLarge?this.toolsLinks.appendChild(this.linksGroup):this.menuLinks.appendChild(this.linksGroup))},t.Header=Vt;new t.core.Initializer(Bt,[function(){for(var t=[],e=0,i=Array.prototype.slice.call(document.querySelectorAll(Bt));e<i.length;e+=1){var n=i[e];t.push(new Vt(n))}}])}();
//# sourceMappingURL=dsfr.nomodule.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ const namespace = 'dsfr';

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
const e=window.dsfr||{core:{}};window.dsfr=e;const s=e.core.ns.selector("header"),t=e.core.ns.selector("header__search"),i=e.core.ns.selector("header__menu"),o=e.core.ns.selector("header__tools-links"),r=e.core.ns.selector("header__menu-links"),n=`${o} ${e.core.ns.selector("links-group")}`;class h{constructor(e){this.header=e||document.querySelector(s),this.modals=[],this.init()}getModal(s){const t=this.header.querySelector(s);if(!t)return;const i=e.core.Instance.getInstances(t,e.Modal);i&&i.length&&this.modals.push(i[0])}init(){this.getModal(t),this.getModal(i),this.linksGroup=this.header.querySelector(n),this.toolsLinks=this.header.querySelector(o),this.menuLinks=this.header.querySelector(r),this.changing=this.change.bind(this),window.addEventListener("resize",this.changing),this.change()}change(){if(this.isLarge=window.matchMedia("(min-width: 62em)").matches,this.isLarge)for(let e=0;e<this.modals.length;e++)this.modals[e].conceal(),this.modals[e].element.removeAttribute("role");else for(let e=0;e<this.modals.length;e++)this.modals[e].element.setAttribute("role","dialog");null!==this.linksGroup&&(this.isLarge?this.toolsLinks.appendChild(this.linksGroup):this.menuLinks.appendChild(this.linksGroup))}}e.Header=h;new e.core.Initializer(s,[()=>{const e=Array.prototype.slice.call(document.querySelectorAll(s)),t=[];for(const s of e)t.push(new h(s))}]);
//# sourceMappingURL=header.module.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ (function () {

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
!function(){"use strict";var e=window.dsfr||{core:{}};window.dsfr=e;var t=e.core.ns.selector("header"),s=e.core.ns.selector("header__search"),i=e.core.ns.selector("header__menu"),r=e.core.ns.selector("header__tools-links"),o=e.core.ns.selector("header__menu-links"),n=r+" "+e.core.ns.selector("links-group"),h=function(e){this.header=e||document.querySelector(t),this.modals=[],this.init()};h.prototype.getModal=function(t){var s=this.header.querySelector(t);if(s){var i=e.core.Instance.getInstances(s,e.Modal);i&&i.length&&this.modals.push(i[0])}},h.prototype.init=function(){this.getModal(s),this.getModal(i),this.linksGroup=this.header.querySelector(n),this.toolsLinks=this.header.querySelector(r),this.menuLinks=this.header.querySelector(o),this.changing=this.change.bind(this),window.addEventListener("resize",this.changing),this.change()},h.prototype.change=function(){if(this.isLarge=window.matchMedia("(min-width: 62em)").matches,this.isLarge)for(var e=0;e<this.modals.length;e++)this.modals[e].conceal(),this.modals[e].element.removeAttribute("role");else for(var t=0;t<this.modals.length;t++)this.modals[t].element.setAttribute("role","dialog");null!==this.linksGroup&&(this.isLarge?this.toolsLinks.appendChild(this.linksGroup):this.menuLinks.appendChild(this.linksGroup))},e.Header=h;new e.core.Initializer(t,[function(){for(var e=[],s=0,i=Array.prototype.slice.call(document.querySelectorAll(t));s<i.length;s+=1){var r=i[s];e.push(new h(r))}}])}();
//# sourceMappingURL=header.nomodule.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ const namespace = 'dsfr';

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
const t=window.dsfr||{core:{}};window.dsfr=t;const e=t.core.ns.selector("modal"),i=t.core.ns("modal"),n=t.core.ns("no-scroll"),s=t.core.ns("scroll-shadow"),r=t.core.ns.selector("modal__body"),o=['[tabindex="0"]',"a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false" i])',"details>summary:first-of-type","details"].join(),l=['[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'].join(),d=(t,e)=>{if("hidden"===window.getComputedStyle(t).visibility)return!1;for(void 0===e&&(e=t);e.contains(t);){if("none"===window.getComputedStyle(t).display)return!1;t=t.parentElement}return!0};class h{constructor(t,e){this.element=null,this.activeElement=null,this.onTrap=t,this.onUntrap=e,this.waiting=this.wait.bind(this),this.handling=this.handle.bind(this),this.current=null}get trapped(){return null!==this.element}trap(t){this.trapped&&this.untrap(),this.element=t,this.isTrapping=!0,this.wait(),this.onTrap&&this.onTrap()}wait(){d(this.element)?this.trapping():t.core.engine.renderer.next(this.waiting)}trapping(){if(!this.isTrapping)return;this.isTrapping=!1;const t=this.focusables;t.length&&t[0].focus(),this.element.setAttribute("aria-modal",!0),this.element.addEventListener("keydown",this.handling),this.stunneds=[]}stun(t){for(const e of t.children)e!==this.element&&(e.contains(this.element)?this.stun(e):this.stunneds.push(new c(e)))}handle(t){if(9!==t.keyCode)return;const e=this.focusables;if(0===e.length)return;const i=e[0],n=e[e.length-1],s=e.indexOf(document.activeElement);t.shiftKey?!this.element.contains(document.activeElement)||s<1?(t.preventDefault(),n.focus()):(document.activeElement.tabIndex>0||e[s-1].tabIndex>0)&&(t.preventDefault(),e[s-1].focus()):this.element.contains(document.activeElement)&&s!==e.length-1&&-1!==s?document.activeElement.tabIndex>0&&(t.preventDefault(),e[s+1].focus()):(t.preventDefault(),i.focus())}get focusables(){let t=[...this.element.querySelectorAll(o)];const e=[...document.documentElement.querySelectorAll('input[type="radio"]')];if(e.length){const i={};for(const t of e){const e=t.getAttribute("name");void 0===i[e]&&(i[e]=new a(e)),i[e].push(t)}t=t.filter((t=>{if("input"!==t.tagName.toLowerCase()||"radio"!==t.getAttribute("type").toLowerCase())return!0;const e=t.getAttribute("name");return i[e].keep(t)}))}const i=[...this.element.querySelectorAll(l)];i.sort(((t,e)=>t.tabIndex-e.tabIndex));const n=t.filter((t=>-1===i.indexOf(t)));return i.concat(n).filter((t=>"-1"!==t.tabIndex&&d(t,this.element)))}untrap(){this.trapped&&(this.isTrapping=!1,this.element.removeAttribute("aria-modal"),this.element.removeEventListener("keydown",this.handling),this.element=null,this.onUntrap&&this.onUntrap())}}class c{constructor(t){this.element=t,this.hidden=t.getAttribute("aria-hidden"),this.inert=t.getAttribute("inert"),this.element.setAttribute("aria-hidden",!0),this.element.setAttribute("inert","")}unstun(){null===this.hidden?this.element.removeAttribute("aria-hidden"):this.element.setAttribute("aria-hidden",this.hidden),null===this.inert?this.element.removeAttribute("inert"):this.element.setAttribute("inert",this.inert)}}class a{constructor(t){this.name=t,this.buttons=[]}push(t){this.buttons.push(t),(t===document.activeElement||t.checked||void 0===this.selected)&&(this.selected=t)}keep(t){return this.selected===t}}class u extends t.core.DisclosuresGroup{constructor(){super(),this.trap=new h}apply(t,e){super.apply(t,e),null===this.current?this.trap.untrap():this.trap.trap(this.current.element)}}const m=new u;class p extends t.core.Disclosure{constructor(t){super(t),this.body=this.element.querySelector(r),this.scrollDistance=0,this.scrolling=this.resize.bind(this,!1),this.resizing=this.resize.bind(this,!0),this.init(),this.resize(!0)}init(){this.element.addEventListener("click",this.click.bind(this)),this.keyListener=new t.KeyListener(this.element),this.keyListener.down(t.KeyListener.ESCAPE,this.conceal.bind(this),!0,!0),this.body&&(this.body.addEventListener("scroll",this.scrolling),window.addEventListener("resize",this.resizing))}click(t){this.body&&this.body!==t.target&&!this.body.contains(t.target)&&this.conceal()}gather(){m.add(this)}disclose(t){return!!super.disclose(t)&&(this.resize(!0),this.handleScroll(!1),!0)}conceal(t,e){return!!super.conceal(t,e)&&(this.handleScroll(!0),!0)}handleScroll(e){e?(t.core.removeClass(document.documentElement,n),document.body.style.top="",window.scroll(0,this.scrollDistance)):(document.documentElement.classList.contains(n)||(this.scrollDistance=window.scrollY),document.body.style.top=-1*this.scrollDistance+"px",t.core.addClass(document.documentElement,n))}resize(e,i){this.body&&(this.body.scrollHeight>this.body.clientHeight?this.body.offsetHeight+this.body.scrollTop>=this.body.scrollHeight?t.core.removeClass(this.body,s):t.core.addClass(this.body,s):t.core.removeClass(this.body,s),e&&(this.body.style.maxHeight=window.innerHeight-32+"px",t.core.engine.renderer.next((()=>{this.body.style.maxHeight=window.innerHeight-32+"px"}))))}static get type(){return t.core.DISCLOSURE_TYPES.opened}static get selector(){return i}get GroupConstructor(){return u}}t.Modal=p,t.ModalsGroup=u,t.FocusTrap=h;new t.core.Initializer(e,[()=>{p.build(document)}]);
//# sourceMappingURL=modal.module.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ (function () {

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
!function(){"use strict";var t=window.dsfr||{core:{}};window.dsfr=t;var e=t.core.ns.selector("modal"),n=t.core.ns("modal"),i=t.core.ns("no-scroll"),o=t.core.ns("scroll-shadow"),r=t.core.ns.selector("modal__body"),s=['[tabindex="0"]',"a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false" i])',"details>summary:first-of-type","details"].join(),l=['[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'].join(),c=function(t,e){if("hidden"===window.getComputedStyle(t).visibility)return!1;for(void 0===e&&(e=t);e.contains(t);){if("none"===window.getComputedStyle(t).display)return!1;t=t.parentElement}return!0},a=function(t,e){this.element=null,this.activeElement=null,this.onTrap=t,this.onUntrap=e,this.waiting=this.wait.bind(this),this.handling=this.handle.bind(this),this.current=null},h={trapped:{configurable:!0},focusables:{configurable:!0}};h.trapped.get=function(){return null!==this.element},a.prototype.trap=function(t){this.trapped&&this.untrap(),this.element=t,this.isTrapping=!0,this.wait(),this.onTrap&&this.onTrap()},a.prototype.wait=function(){c(this.element)?this.trapping():t.core.engine.renderer.next(this.waiting)},a.prototype.trapping=function(){if(this.isTrapping){this.isTrapping=!1;var t=this.focusables;t.length&&t[0].focus(),this.element.setAttribute("aria-modal",!0),this.element.addEventListener("keydown",this.handling),this.stunneds=[]}},a.prototype.stun=function(t){for(var e=0,n=t.children;e<n.length;e+=1){var i=n[e];i!==this.element&&(i.contains(this.element)?this.stun(i):this.stunneds.push(new d(i)))}},a.prototype.handle=function(t){if(9===t.keyCode){var e=this.focusables;if(0!==e.length){var n=e[0],i=e[e.length-1],o=e.indexOf(document.activeElement);t.shiftKey?!this.element.contains(document.activeElement)||o<1?(t.preventDefault(),i.focus()):(document.activeElement.tabIndex>0||e[o-1].tabIndex>0)&&(t.preventDefault(),e[o-1].focus()):this.element.contains(document.activeElement)&&o!==e.length-1&&-1!==o?document.activeElement.tabIndex>0&&(t.preventDefault(),e[o+1].focus()):(t.preventDefault(),n.focus())}}},h.focusables.get=function(){var t=this,e=[].concat(this.element.querySelectorAll(s)),n=[].concat(document.documentElement.querySelectorAll('input[type="radio"]'));if(n.length){for(var i={},o=0,r=n;o<r.length;o+=1){var a=r[o],h=a.getAttribute("name");void 0===i[h]&&(i[h]=new u(h)),i[h].push(a)}e=e.filter((function(t){if("input"!==t.tagName.toLowerCase()||"radio"!==t.getAttribute("type").toLowerCase())return!0;var e=t.getAttribute("name");return i[e].keep(t)}))}var d=[].concat(this.element.querySelectorAll(l));d.sort((function(t,e){return t.tabIndex-e.tabIndex}));var p=e.filter((function(t){return-1===d.indexOf(t)}));return d.concat(p).filter((function(e){return"-1"!==e.tabIndex&&c(e,t.element)}))},a.prototype.untrap=function(){this.trapped&&(this.isTrapping=!1,this.element.removeAttribute("aria-modal"),this.element.removeEventListener("keydown",this.handling),this.element=null,this.onUntrap&&this.onUntrap())},Object.defineProperties(a.prototype,h);var d=function(t){this.element=t,this.hidden=t.getAttribute("aria-hidden"),this.inert=t.getAttribute("inert"),this.element.setAttribute("aria-hidden",!0),this.element.setAttribute("inert","")};d.prototype.unstun=function(){null===this.hidden?this.element.removeAttribute("aria-hidden"):this.element.setAttribute("aria-hidden",this.hidden),null===this.inert?this.element.removeAttribute("inert"):this.element.setAttribute("inert",this.inert)};var u=function(t){this.name=t,this.buttons=[]};u.prototype.push=function(t){this.buttons.push(t),(t===document.activeElement||t.checked||void 0===this.selected)&&(this.selected=t)},u.prototype.keep=function(t){return this.selected===t};var p=function(t){function e(){t.call(this),this.trap=new a}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.apply=function(e,n){t.prototype.apply.call(this,e,n),null===this.current?this.trap.untrap():this.trap.trap(this.current.element)},e}(t.core.DisclosuresGroup),f=new p,m=function(e){function s(t){e.call(this,t),this.body=this.element.querySelector(r),this.scrollDistance=0,this.scrolling=this.resize.bind(this,!1),this.resizing=this.resize.bind(this,!0),this.init(),this.resize(!0)}e&&(s.__proto__=e),s.prototype=Object.create(e&&e.prototype),s.prototype.constructor=s;var l={GroupConstructor:{configurable:!0}},c={type:{configurable:!0},selector:{configurable:!0}};return s.prototype.init=function(){this.element.addEventListener("click",this.click.bind(this)),this.keyListener=new t.KeyListener(this.element),this.keyListener.down(t.KeyListener.ESCAPE,this.conceal.bind(this),!0,!0),this.body&&(this.body.addEventListener("scroll",this.scrolling),window.addEventListener("resize",this.resizing))},s.prototype.click=function(t){this.body&&this.body!==t.target&&!this.body.contains(t.target)&&this.conceal()},s.prototype.gather=function(){f.add(this)},s.prototype.disclose=function(t){return!!e.prototype.disclose.call(this,t)&&(this.resize(!0),this.handleScroll(!1),!0)},s.prototype.conceal=function(t,n){return!!e.prototype.conceal.call(this,t,n)&&(this.handleScroll(!0),!0)},s.prototype.handleScroll=function(e){e?(t.core.removeClass(document.documentElement,i),document.body.style.top="",window.scroll(0,this.scrollDistance)):(document.documentElement.classList.contains(i)||(this.scrollDistance=window.scrollY),document.body.style.top=-1*this.scrollDistance+"px",t.core.addClass(document.documentElement,i))},s.prototype.resize=function(e,n){var i=this;this.body&&(this.body.scrollHeight>this.body.clientHeight?this.body.offsetHeight+this.body.scrollTop>=this.body.scrollHeight?t.core.removeClass(this.body,o):t.core.addClass(this.body,o):t.core.removeClass(this.body,o),e&&(this.body.style.maxHeight=window.innerHeight-32+"px",t.core.engine.renderer.next((function(){i.body.style.maxHeight=window.innerHeight-32+"px"}))))},c.type.get=function(){return t.core.DISCLOSURE_TYPES.opened},c.selector.get=function(){return n},l.GroupConstructor.get=function(){return p},Object.defineProperties(s.prototype,l),Object.defineProperties(s,c),s}(t.core.Disclosure);t.Modal=m,t.ModalsGroup=p,t.FocusTrap=a;new t.core.Initializer(e,[function(){m.build(document)}])}();
//# sourceMappingURL=modal.nomodule.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ const namespace = 'dsfr';

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
const e=window.dsfr||{core:{}};window.dsfr=e;const t=e.core.ns("nav"),s=e.core.ns("nav__list"),i=e.core.ns("nav__item"),n=e.core.ns("nav__item--align-right"),r=e.core.ns("menu");class o extends e.core.DisclosuresGroup{constructor(e,t){super(e,t),this.menus=[],this.navList=t.querySelector(`.${s}`),document.addEventListener("focusout",this.focusOut.bind(this)),window.addEventListener("resize",this.resize.bind(this)),window.addEventListener("orientationchange",this.resize.bind(this)),this.resize()}static get selector(){return t}add(e){super.add(e),e.element.classList.contains(r)&&this.menus.push(new c(e,this.navList.getBoundingClientRect().right))}focusOut(e){requestAnimationFrame((()=>{null===this.current||this.current.hasFocus||(this.index=-1)}))}get index(){return super.index}set index(e){-1===e&&null!==this.current&&this.current.hasFocus&&this.current.focus(),super.index=e}resize(){const e=this.navList.getBoundingClientRect().right;for(const t of this.menus)t.place(e)}}class c{constructor(e,t){this.initialize(e),this.place(t)}initialize(e){this.element=e.element;for(const t of e.buttons)if(t.hasAttribute){this.button=t.element;break}let t=this.element.parentElement;for(;t;){if(t.classList.contains(i)){this.item=t;break}t=t.parentElement}}place(t){const s=getComputedStyle(this.element),i=parseFloat(s.width);this.button.getBoundingClientRect().left+i>t?e.core.addClass(this.item,n):e.core.removeClass(this.item,n)}}e.Navigation=o,e.Collapse.register(t,o);
//# sourceMappingURL=navigation.module.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ (function () {

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
!function(){"use strict";var t=window.dsfr||{core:{}};window.dsfr=t;var e=t.core.ns("nav"),n=t.core.ns("nav__list"),i=t.core.ns("nav__item"),r=t.core.ns("nav__item--align-right"),o=t.core.ns("menu"),s=function(t){function i(e,i){t.call(this,e,i),this.menus=[],this.navList=i.querySelector("."+n),document.addEventListener("focusout",this.focusOut.bind(this)),window.addEventListener("resize",this.resize.bind(this)),window.addEventListener("orientationchange",this.resize.bind(this)),this.resize()}t&&(i.__proto__=t),i.prototype=Object.create(t&&t.prototype),i.prototype.constructor=i;var r={index:{configurable:!0}},s={selector:{configurable:!0}};return s.selector.get=function(){return e},i.prototype.add=function(e){t.prototype.add.call(this,e),e.element.classList.contains(o)&&this.menus.push(new c(e,this.navList.getBoundingClientRect().right))},i.prototype.focusOut=function(t){var e=this;requestAnimationFrame((function(){null===e.current||e.current.hasFocus||(e.index=-1)}))},r.index.get=function(){return t.prototype.index},r.index.set=function(e){-1===e&&null!==this.current&&this.current.hasFocus&&this.current.focus(),t.prototype.index=e},i.prototype.resize=function(){for(var t=this.navList.getBoundingClientRect().right,e=0,n=this.menus;e<n.length;e+=1){n[e].place(t)}},Object.defineProperties(i.prototype,r),Object.defineProperties(i,s),i}(t.core.DisclosuresGroup),c=function(t,e){this.initialize(t),this.place(e)};c.prototype.initialize=function(t){this.element=t.element;for(var e=0,n=t.buttons;e<n.length;e+=1){var r=n[e];if(r.hasAttribute){this.button=r.element;break}}for(var o=this.element.parentElement;o;){if(o.classList.contains(i)){this.item=o;break}o=o.parentElement}},c.prototype.place=function(e){var n=getComputedStyle(this.element),i=parseFloat(n.width);this.button.getBoundingClientRect().left+i>e?t.core.addClass(this.item,r):t.core.removeClass(this.item,r)},t.Navigation=s,t.Collapse.register(e,s)}();
//# sourceMappingURL=navigation.nomodule.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ const namespace = 'dsfr';

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
const t=window.dsfr||{core:{}};window.dsfr=t;const e=t.core.ns.attr("theme"),s=t.core.ns.attr("transition");class i{constructor(){this.init()}init(){if(this.root=document.documentElement,this.scheme=localStorage.getItem("scheme")?localStorage.getItem("scheme"):null,null===this.scheme){const t=this.root.getAttribute(e);"dark"===t||"light"===t?this.scheme=t:window.matchMedia("(prefers-color-scheme: dark)").matches?(this.scheme="dark",localStorage.setItem("scheme","dark")):this.scheme="light"}"dark"===this.scheme?this.root.hasAttribute(s)?(this.root.removeAttribute(s),this.root.setAttribute(e,"dark"),setTimeout((()=>{this.root.setAttribute(s,"")}),300)):this.root.setAttribute(e,"dark"):this.root.setAttribute(e,"light"),this.observer=new MutationObserver(this.mutate.bind(this)),this.observer.observe(this.root,{attributes:!0})}mutate(t){t.forEach((t=>{if("attributes"===t.type&&t.attributeName===e){const t=this.root.getAttribute(e);"dark"===t?localStorage.setItem("scheme","dark"):"light"===t&&localStorage.setItem("scheme","light")}}))}}t.Scheme=i;const r=`input[name="${t.core.ns.selector("radios-theme","")}"]`,o=t.core.ns.selector("switch-theme","#"),h=t.core.ns.attr("theme");class a{constructor(){this.attributeName=h,this.theme=null,this.radios=document.querySelectorAll(r);for(var t=0;t<this.radios.length;t++)this.radios[t].addEventListener("change",this.change.bind(this));this.observer=new MutationObserver(this.mutate.bind(this)),this.observe(),this.apply()}observe(){this.observer.observe(document.documentElement,{attributes:!0})}mutate(t){t.forEach((t=>{"attributes"===t.type&&t.attributeName===this.attributeName&&this.apply()}))}apply(){const t=document.documentElement.getAttribute(this.attributeName);this.isApplying=!0;for(var e=0;e<this.radios.length;e++)this.radios[e].checked=this.radios[e].value===t;this.isApplying=!1}change(){this.isApplying||(this.observer&&this.observer.disconnect(),this.theme=document.querySelector(r+":checked"),this.theme?document.documentElement.setAttribute(this.attributeName,this.theme.value):document.documentElement.removeAttribute(this.attributeName),this.observer&&this.observe())}}new t.core.Initializer(`:root[${e}]`,[()=>{new i}]),new t.core.Initializer(`${o}`,[()=>{new a}]);
//# sourceMappingURL=schemes.module.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ (function () {

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
!function(){"use strict";var t=window.dsfr||{core:{}};window.dsfr=t;var e=t.core.ns.attr("theme"),i=t.core.ns.attr("transition"),r=function(){this.init()};r.prototype.init=function(){var t=this;if(this.root=document.documentElement,this.scheme=localStorage.getItem("scheme")?localStorage.getItem("scheme"):null,null===this.scheme){var r=this.root.getAttribute(e);"dark"===r||"light"===r?this.scheme=r:window.matchMedia("(prefers-color-scheme: dark)").matches?(this.scheme="dark",localStorage.setItem("scheme","dark")):this.scheme="light"}"dark"===this.scheme?this.root.hasAttribute(i)?(this.root.removeAttribute(i),this.root.setAttribute(e,"dark"),setTimeout((function(){t.root.setAttribute(i,"")}),300)):this.root.setAttribute(e,"dark"):this.root.setAttribute(e,"light"),this.observer=new MutationObserver(this.mutate.bind(this)),this.observer.observe(this.root,{attributes:!0})},r.prototype.mutate=function(t){var i=this;t.forEach((function(t){if("attributes"===t.type&&t.attributeName===e){var r=i.root.getAttribute(e);"dark"===r?localStorage.setItem("scheme","dark"):"light"===r&&localStorage.setItem("scheme","light")}}))},t.Scheme=r;var s='input[name="'+t.core.ns.selector("radios-theme","")+'"]',o=t.core.ns.selector("switch-theme","#"),h=t.core.ns.attr("theme"),n=function(){this.attributeName=h,this.theme=null,this.radios=document.querySelectorAll(s);for(var t=0;t<this.radios.length;t++)this.radios[t].addEventListener("change",this.change.bind(this));this.observer=new MutationObserver(this.mutate.bind(this)),this.observe(),this.apply()};n.prototype.observe=function(){this.observer.observe(document.documentElement,{attributes:!0})},n.prototype.mutate=function(t){var e=this;t.forEach((function(t){"attributes"===t.type&&t.attributeName===e.attributeName&&e.apply()}))},n.prototype.apply=function(){var t=document.documentElement.getAttribute(this.attributeName);this.isApplying=!0;for(var e=0;e<this.radios.length;e++)this.radios[e].checked=this.radios[e].value===t;this.isApplying=!1},n.prototype.change=function(){this.isApplying||(this.observer&&this.observer.disconnect(),this.theme=document.querySelector(s+":checked"),this.theme?document.documentElement.setAttribute(this.attributeName,this.theme.value):document.documentElement.removeAttribute(this.attributeName),this.observer&&this.observe())};new t.core.Initializer(":root["+e+"]",[function(){new r}]),new t.core.Initializer(""+o,[function(){new n}])}();
//# sourceMappingURL=schemes.nomodule.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ const namespace = 'dsfr';

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
const s=window.dsfr||{core:{}};window.dsfr=s;const e=s.core.ns("sidemenu"),n=s.core.ns("sidemenu__list");s.Collapse.register(e,n);
//# sourceMappingURL=sidemenu.module.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ (function () {

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
!function(){"use strict";var e=window.dsfr||{core:{}};window.dsfr=e;var s=e.core.ns("sidemenu"),r=e.core.ns("sidemenu__list");e.Collapse.register(s,r)}();
//# sourceMappingURL=sidemenu.nomodule.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ const namespace = 'dsfr';

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
const t=window.dsfr||{core:{}};window.dsfr=t;const e=t.core.ns.selector("table"),i=`${t.core.ns.selector("table")}:not(${t.core.ns.selector("table--no-scroll")})`,s=t.core.ns("table--shadow"),l=t.core.ns("table--shadow-left"),o=t.core.ns("table--shadow-right"),a=t.core.ns("table__wrapper"),h=t.core.ns("table--caption-bottom");class n{constructor(t){this.init(t)}init(t){this.table=t,this.tableElem=this.table.querySelector("table"),this.tableContent=this.tableElem.querySelector("tbody"),this.isScrollable=this.tableContent.offsetWidth>this.tableElem.offsetWidth,this.caption=this.tableElem.querySelector("caption"),this.captionHeight=0,this.wrap();const e=this.change.bind(this);this.tableElem.addEventListener("scroll",e),this.change()}change(){const t=this.tableContent.offsetWidth>this.tableElem.offsetWidth;let e=this.tableElem.offsetWidth>this.table.offsetWidth;t||e?(this.scroll(),this.handleCaption()):t!==this.isScrollable&&this.delete(),this.isScrollable=t,e=!1}delete(){t.core.removeClass(this.table,o),t.core.removeClass(this.table,l),t.core.removeClass(this.table,s),this.caption&&(this.tableElem.style.marginTop="",this.caption.style.top="",this.tableElem.style.marginBottom="",this.caption.style.bottom="")}scroll(){t.core.addClass(this.table,s),this.setShadowPosition()}wrap(){const t=document.createElement("div");t.className=a,this.table.insertBefore(t,this.tableElem),t.appendChild(this.tableElem),this.tableInnerWrapper=t}setShadowPosition(){const t=this.getScrollPosition("left"),e=this.getScrollPosition("right");"rtl"===document.documentElement.getAttribute("dir")?(this.setShadowVisibility("right",t),this.setShadowVisibility("left",e)):(this.setShadowVisibility("left",t),this.setShadowVisibility("right",e))}getScrollPosition(t){let e=1;switch("rtl"===document.documentElement.getAttribute("dir")&&(e=-1),t){case"left":return this.tableElem.scrollLeft*e;case"right":return this.tableContent.offsetWidth-this.tableElem.offsetWidth-this.tableElem.scrollLeft*e;default:return!1}}handleCaption(){if(this.caption){const t=getComputedStyle(this.caption),e=this.caption.offsetHeight+parseInt(t.marginTop)+parseInt(t.marginBottom);this.captionHeight=e,this.table.classList.contains(h)?(this.tableElem.style.marginBottom=this.captionHeight+"px",this.caption.style.bottom=-this.captionHeight+"px"):(this.tableElem.style.marginTop=this.captionHeight+"px",this.caption.style.top=-this.captionHeight+"px")}}setShadowVisibility(e,i){i<=1?"left"===e?t.core.removeClass(this.table,l):"right"===e&&t.core.removeClass(this.table,o):"left"===e?t.core.addClass(this.table,l):"right"===e&&t.core.addClass(this.table,o)}}t.Table=n;const r=[],c=()=>{for(let t=0;t<r.length;t++)r[t].change()};new t.core.Initializer(e,[()=>{const t=document.querySelectorAll(i);for(let e=0;e<t.length;e++)r.push(new n(t[e]));window.addEventListener("resize",c),window.addEventListener("orientationchange",c),c()}]);
//# sourceMappingURL=table.module.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ (function () {

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
!function(){"use strict";var t=window.dsfr||{core:{}};window.dsfr=t;var e=t.core.ns.selector("table"),i=t.core.ns.selector("table")+":not("+t.core.ns.selector("table--no-scroll")+")",o="left",s="right",l=t.core.ns("table--shadow"),a=t.core.ns("table--shadow-left"),n=t.core.ns("table--shadow-right"),r=t.core.ns("table__wrapper"),h=t.core.ns("table--caption-bottom"),c=function(t){this.init(t)};c.prototype.init=function(t){this.table=t,this.tableElem=this.table.querySelector("table"),this.tableContent=this.tableElem.querySelector("tbody"),this.isScrollable=this.tableContent.offsetWidth>this.tableElem.offsetWidth,this.caption=this.tableElem.querySelector("caption"),this.captionHeight=0,this.wrap();var e=this.change.bind(this);this.tableElem.addEventListener("scroll",e),this.change()},c.prototype.change=function(){var t=this.tableContent.offsetWidth>this.tableElem.offsetWidth,e=this.tableElem.offsetWidth>this.table.offsetWidth;t||e?(this.scroll(),this.handleCaption()):t!==this.isScrollable&&this.delete(),this.isScrollable=t,e=!1},c.prototype.delete=function(){t.core.removeClass(this.table,n),t.core.removeClass(this.table,a),t.core.removeClass(this.table,l),this.caption&&(this.tableElem.style.marginTop="",this.caption.style.top="",this.tableElem.style.marginBottom="",this.caption.style.bottom="")},c.prototype.scroll=function(){t.core.addClass(this.table,l),this.setShadowPosition()},c.prototype.wrap=function(){var t=document.createElement("div");t.className=r,this.table.insertBefore(t,this.tableElem),t.appendChild(this.tableElem),this.tableInnerWrapper=t},c.prototype.setShadowPosition=function(){var t=this.getScrollPosition(o),e=this.getScrollPosition(s);"rtl"===document.documentElement.getAttribute("dir")?(this.setShadowVisibility(s,t),this.setShadowVisibility(o,e)):(this.setShadowVisibility(o,t),this.setShadowVisibility(s,e))},c.prototype.getScrollPosition=function(t){var e=1;switch("rtl"===document.documentElement.getAttribute("dir")&&(e=-1),t){case o:return this.tableElem.scrollLeft*e;case s:return this.tableContent.offsetWidth-this.tableElem.offsetWidth-this.tableElem.scrollLeft*e;default:return!1}},c.prototype.handleCaption=function(){if(this.caption){var t=getComputedStyle(this.caption),e=this.caption.offsetHeight+parseInt(t.marginTop)+parseInt(t.marginBottom);this.captionHeight=e,this.table.classList.contains(h)?(this.tableElem.style.marginBottom=this.captionHeight+"px",this.caption.style.bottom=-this.captionHeight+"px"):(this.tableElem.style.marginTop=this.captionHeight+"px",this.caption.style.top=-this.captionHeight+"px")}},c.prototype.setShadowVisibility=function(e,i){i<=1?e===o?t.core.removeClass(this.table,a):e===s&&t.core.removeClass(this.table,n):e===o?t.core.addClass(this.table,a):e===s&&t.core.addClass(this.table,n)},t.Table=c;var b=[],p=function(){for(var t=0;t<b.length;t++)b[t].change()};new t.core.Initializer(e,[function(){for(var t=document.querySelectorAll(i),e=0;e<t.length;e++)b.push(new c(t[e]));window.addEventListener("resize",p),window.addEventListener("orientationchange",p),p()}])}();
//# sourceMappingURL=table.nomodule.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ const namespace = 'dsfr';

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
const t=window.dsfr||{core:{}};window.dsfr=t;class e extends t.core.DisclosureButton{apply(t){super.apply(t),this.hasAttribute&&this.element.setAttribute("tabindex",t?"0":"-1")}}const s=t.core.ns.selector("tabs"),i=t.core.ns("tabs"),n=t.core.ns("tabs__tab"),r=t.core.ns("tabs__panel"),h=t.core.ns("tabs__list");class o extends t.core.DisclosuresGroup{constructor(e,s){super(e,s),this.list=s.querySelector(`.${h}`),s.addEventListener("transitionend",this.transitionend.bind(this)),this.init(),t.core.engine.renderer.add(this.render.bind(this))}static get selector(){return i}transitionend(t){this.element.style.transition="none"}init(){this.keyListener=new t.KeyListener(this.element),this.keyListener.down(t.KeyListener.RIGHT,this.arrowRightPress.bind(this),!0,!0),this.keyListener.down(t.KeyListener.LEFT,this.arrowLeftPress.bind(this),!0,!0),this.keyListener.down(t.KeyListener.HOME,this.homePress.bind(this),!0,!0),this.keyListener.down(t.KeyListener.END,this.endPress.bind(this),!0,!0)}arrowRightPress(){document.activeElement.classList.contains(n)&&(this.index<this.length-1?this.index++:this.index=0,this.focus())}arrowLeftPress(){document.activeElement.classList.contains(n)&&(this.index>0?this.index--:this.index=this.length-1,this.focus())}homePress(){document.activeElement.classList.contains(n)&&(this.index=0,this.focus())}endPress(){document.activeElement.classList.contains(n)&&(this.index=this.length-1,this.focus())}focus(){this.current&&this.current.focus()}apply(){for(let t=0;t<this._index;t++)this.members[t].translate(-1);this.current.element.style.transform="";for(let t=this._index+1;t<this.length;t++)this.members[t].translate(1);this.element.style.transition=""}add(t){if(super.add(t),1===this.length||t.disclosed)this.current=t;else{const e=this.members.indexOf(t);this._index>-1&&this._index!==e&&t.translate(e<this._index?-1:1,!0)}}render(){if(null===this.current)return;const t=Math.round(this.current.element.offsetHeight);this.panelHeight!==t&&(this.panelHeight=t,this.element.style.height=this.panelHeight+this.list.offsetHeight+"px")}}class a extends t.core.Disclosure{static get type(){return t.core.DISCLOSURE_TYPES.select}static get selector(){return r}get GroupConstructor(){return o}buttonFactory(t){return new e(t,this)}translate(t,e){e&&(this.element.style.transition="none"),this.element.style.transform=`translate(${100*t}%)`,e&&(this.element.style.transition="")}reset(){this.group.index=0}}t.Tab=a,t.TabButton=e,t.TabsGroup=o;new t.core.Initializer(s,[()=>{a.build(document)}]);
//# sourceMappingURL=tabs.module.min.js.map

@@ -1,2 +0,2 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */

@@ -3,0 +3,0 @@ (function () {

@@ -1,3 +0,3 @@

/*! DSFR v1.0.0rc1 | restricted use */
/*! DSFR v1.0.0-rc1.0 | restricted use */
!function(){"use strict";var t=window.dsfr||{core:{}};window.dsfr=t;var e=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.apply=function(e){t.prototype.apply.call(this,e),this.hasAttribute&&this.element.setAttribute("tabindex",e?"0":"-1")},e}(t.core.DisclosureButton),n=t.core.ns.selector("tabs"),i=t.core.ns("tabs"),s=t.core.ns("tabs__tab"),r=t.core.ns("tabs__panel"),o=t.core.ns("tabs__list"),c=function(e){function n(n,i){e.call(this,n,i),this.list=i.querySelector("."+o),i.addEventListener("transitionend",this.transitionend.bind(this)),this.init(),t.core.engine.renderer.add(this.render.bind(this))}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var r={selector:{configurable:!0}};return r.selector.get=function(){return i},n.prototype.transitionend=function(t){this.element.style.transition="none"},n.prototype.init=function(){this.keyListener=new t.KeyListener(this.element),this.keyListener.down(t.KeyListener.RIGHT,this.arrowRightPress.bind(this),!0,!0),this.keyListener.down(t.KeyListener.LEFT,this.arrowLeftPress.bind(this),!0,!0),this.keyListener.down(t.KeyListener.HOME,this.homePress.bind(this),!0,!0),this.keyListener.down(t.KeyListener.END,this.endPress.bind(this),!0,!0)},n.prototype.arrowRightPress=function(){document.activeElement.classList.contains(s)&&(this.index<this.length-1?this.index++:this.index=0,this.focus())},n.prototype.arrowLeftPress=function(){document.activeElement.classList.contains(s)&&(this.index>0?this.index--:this.index=this.length-1,this.focus())},n.prototype.homePress=function(){document.activeElement.classList.contains(s)&&(this.index=0,this.focus())},n.prototype.endPress=function(){document.activeElement.classList.contains(s)&&(this.index=this.length-1,this.focus())},n.prototype.focus=function(){this.current&&this.current.focus()},n.prototype.apply=function(){for(var t=0;t<this._index;t++)this.members[t].translate(-1);this.current.element.style.transform="";for(var e=this._index+1;e<this.length;e++)this.members[e].translate(1);this.element.style.transition=""},n.prototype.add=function(t){if(e.prototype.add.call(this,t),1===this.length||t.disclosed)this.current=t;else{var n=this.members.indexOf(t);this._index>-1&&this._index!==n&&t.translate(n<this._index?-1:1,!0)}},n.prototype.render=function(){if(null!==this.current){var t=Math.round(this.current.element.offsetHeight);this.panelHeight!==t&&(this.panelHeight=t,this.element.style.height=this.panelHeight+this.list.offsetHeight+"px")}},Object.defineProperties(n,r),n}(t.core.DisclosuresGroup),h=function(n){function i(){n.apply(this,arguments)}n&&(i.__proto__=n),i.prototype=Object.create(n&&n.prototype),i.prototype.constructor=i;var s={GroupConstructor:{configurable:!0}},o={type:{configurable:!0},selector:{configurable:!0}};return o.type.get=function(){return t.core.DISCLOSURE_TYPES.select},o.selector.get=function(){return r},s.GroupConstructor.get=function(){return c},i.prototype.buttonFactory=function(t){return new e(t,this)},i.prototype.translate=function(t,e){e&&(this.element.style.transition="none"),this.element.style.transform="translate("+100*t+"%)",e&&(this.element.style.transition="")},i.prototype.reset=function(){this.group.index=0},Object.defineProperties(i.prototype,s),Object.defineProperties(i,o),i}(t.core.Disclosure);t.Tab=h,t.TabButton=e,t.TabsGroup=c;new t.core.Initializer(n,[function(){h.build(document)}])}();
//# sourceMappingURL=tabs.nomodule.min.js.map
{
"name": "@gouvfr/dsfr",
"version": "1.0.0rc1",
"version": "1.0.0-rc1.0",
"description": "Système de Design de l'Etat - DSFR",

@@ -5,0 +5,0 @@ "repository": "git@github.com:GouvernementFR/dsfr-dev.git",

@@ -42,7 +42,7 @@ # Système de design de l’État

L’ajout de l’attribut data-rf-theme sur la balise html permet d’activer la gestion des thèmes clair et sombre. Les valeurs possibles sont vide, light ou dark.
L’ajout de l’attribut data-fr-theme sur la balise html permet d’activer la gestion des thèmes clair et sombre. Les valeurs possibles sont vide, light ou dark.
```html
<!doctype html>
<html lang="fr" data-rf-theme>
<html lang="fr" data-fr-theme>
<head>

@@ -49,0 +49,0 @@ <title>Titre de la page - Nom du site</title>

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc