/*! DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) */ !function(){"use strict";var e=window.dsfr,t={HEADER:e.internals.ns.selector("header"),TOOLS_LINKS:e.internals.ns.selector("header__tools-links"),MENU_LINKS:e.internals.ns.selector("header__menu-links"),BUTTONS:e.internals.ns.selector("header__tools-links")+" "+e.internals.ns.selector("btns-group")+", "+e.internals.ns.selector("header__tools-links")+" "+e.internals.ns.selector("links-group"),MODALS:""+e.internals.ns.selector("header__search")+e.internals.ns.selector("modal")+", "+e.internals.ns.selector("header__menu")+e.internals.ns.selector("modal")},n=function(n){function r(){n.apply(this,arguments)}n&&(r.__proto__=n),r.prototype=Object.create(n&&n.prototype),r.prototype.constructor=r;var a={instanceClassName:{configurable:!0}};return a.instanceClassName.get=function(){return"HeaderLinks"},r.prototype.init=function(){var n=this.queryParentSelector(t.HEADER);this.toolsLinks=n.querySelector(t.TOOLS_LINKS),this.menuLinks=n.querySelector(t.MENU_LINKS);var r="-mobile",a=this.toolsLinks.innerHTML.replace(/ +/g," "),s=this.menuLinks.innerHTML.replace(/ +/g," "),o=a.match(/id="(.*?)"/gm)||[];o=o.map((function(e){return e.replace('id="',"").replace('"',"")}));var i=a.match(/aria-controls="(.*?)"/gm),c=a.replace(/id="(.*?)"/gm,'id="$1'+r+'"');if(i)for(var l=0,d=i;l