vendor: 27,801 bytes, line 1
1const e=new class{constructor(){this.modules={}}create(Ks){const qs=new Ks;this.modules[qs.type]=qs}getModule(Ks){return this.modules[Ks]}add(Ks,qs){this.modules[Ks].add(qs)}remove(Ks,qs){this.modules[Ks].remove(qs)}get isActive(){return this._isActive}set isActive(Ks){if(Ks===this._isActive)return;this._isActive=Ks;const qs=Object.keys(this.modules).map(zs=>this.modules[zs]);if(Ks)for(const zs of qs)zs.activate();else for(const zs of qs)zs.deactivate()}get isLegacy(){return this._isLegacy}set isLegacy(Ks){Ks!==this._isLegacy&&(this._isLegacy=Ks)}},t="fr",s="dsfr",i="@gouvfr",n="1.14.1";class r{constructor(qs,zs,js,Vs){switch(this.level=qs,this.light=zs,this.dark=js,Vs){case"warn":this.logger=console.warn;break;case"error":this.logger=console.error;break;default:this.logger=console.log}}log(...qs){const zs=new a(s);for(const js of qs)zs.add(js);this.print(zs)}print(qs){qs.setColor(this.color),this.logger.apply(console,qs.getMessage())}get color(){return window.matchMedia("(prefers-color-scheme: dark)").matches?this.dark:this.light}}class a{constructor(qs){this.inputs=["%c"],this.styles=["font-family:Marianne","line-height: 1.5"],this.objects=[],qs&&this.add(`${qs} :`)}add(qs){switch(typeof qs){case"object":case"function":this.inputs.push("%o "),this.objects.push(qs);break;default:this.inputs.push(`${qs} `)}}setColor(qs){this.styles.push(`color:${qs}`)}getMessage(){return[this.inputs.join(""),this.styles.join(";"),...this.objects]}}const o={log:new r(0,"#616161","#989898"),debug:new r(1,"#000091","#8B8BFF"),info:new r(2,"#007c3b","#00ed70"),warn:new r(3,"#ba4500","#fa5c00","warn"),error:new r(4,"#D80600","#FF4641","error")},h=new class{constructor(){this.level=2;for(const Ks in o){const qs=o[Ks];this[Ks]=(...zs)=>{this.level<=qs.level&&qs.log.apply(qs,zs)},this[Ks].print=qs.print.bind(qs)}}state(){const Ks=new a;Ks.add(e),this.log.print(Ks)}tree(){const Ks=e.getModule("stage");if(!Ks)return;const qs=new a;this._branch(Ks.root,0,qs),this.log.print(qs)}_branch(Ks,qs,zs){let js="";if(qs>0){let Vs="";for(let Ys=0;Ys<qs;Ys++)Vs+=" ";js+=Vs+"\u2514\u2500 "}js+=`[${Ks.id}] ${Ks.html}`,zs.add(js),zs.add({"@":Ks}),zs.add("\n");for(const Vs of Ks.children)js+=this._branch(Vs,qs+1,zs)}},c=Ks=>{"loading"!==document.readyState?window.requestAnimationFrame(Ks):document.addEventListener("DOMContentLoaded",Ks)},l={AUTO:"auto",MANUAL:"manual",RUNTIME:"runtime",LOADED:"loaded",VUE:"vue",ANGULAR:"angular",REACT:"react"},d=(Ks,qs,zs=null,js=!0,Vs=!1)=>{const Ys={bubbles:!0===js,cancelable:!0===Vs};zs&&(Ys.detail=zs);const Xs=new CustomEvent(qs,Ys);Ks.dispatchEvent(Xs)},u=(Ks,qs=null,zs=!1,js=!1)=>d(document.documentElement,Ks,qs,zs,js),g=Ks=>`fr-${Ks}`;g.selector=(Ks,qs)=>(void 0===qs&&(qs="."),`${qs}${g(Ks)}`),(g.attr=Ks=>`data-${g(Ks)}`).selector=(Ks,qs)=>{let zs=g.attr(Ks);return void 0!==qs&&(zs+=`="${qs}"`),`[${zs}]`},g.event=Ks=>`dsfr.${Ks}`,g.emission=(Ks,qs)=>`emission:${Ks}.${qs}`;const p={READY:g.event("ready"),START:g.event("start"),STOP:g.event("stop"),RENDER:g.event("render"),RESIZE:g.event("resize"),BREAKPOINT:g.event("breakpoint"),SCROLL_LOCK:g.event("scroll-lock"),SCROLL_UNLOCK:g.event("scroll-unlock")},m=new class{constructor(){this._mode=l.AUTO,this.isStarted=!1,this.starting=this.start.bind(this),this.preventManipulation=!1}configure(Ks={},qs,zs){this.startCallback=qs;const js=Ks.production&&(!zs||"false"!==zs.production);switch(!0){case zs&&!isNaN(zs.level):h.level=Number(zs.level);break;case zs&&zs.verbose&&("true"===zs.verbose||1===zs.verbose):h.level=0;break;case js:h.level=999;break;case Ks.verbose:h.level=0}h.info(`version ${n}`),u(p.READY),this.mode=Ks.mode||l.AUTO}set mode(Ks){switch(Ks){case l.AUTO:case l.LOADED:this.preventManipulation=!1,c(this.starting);break;case l.RUNTIME:this.preventManipulation=!1,this.start();break;case l.MANUAL:this.preventManipulation=!1;break;case l.VUE:case l.ANGULAR:case l.REACT:this.preventManipulation=!0;break;default:return void h.error("Illegal mode")}this._mode=Ks,h.info(`mode set to ${Ks}`)}get mode(){return this._mode}start(){h.info("start"),this.startCallback()}};class _{constructor(){this._collection=[]}forEach(qs){this._collection.forEach(qs)}map(qs){return this._collection.map(qs)}get length(){return this._collection.length}add(qs){return!(this._collection.indexOf(qs)>-1||(this._collection.push(qs),this.onAdd&&this.onAdd(),this.onPopulate&&1===this._collection.length&&this.onPopulate(),0))}remove(qs){const zs=this._collection.indexOf(qs);if(-1===zs)return!1;this._collection.splice(zs,1),this.onRemove&&this.onRemove(),this.onEmpty&&0===this._collection.length&&this.onEmpty()}execute(...qs){for(const zs of this._collection)zs&&zs.apply(null,qs)}clear(){this._collection.length=0}clone(){const qs=new _;return qs._collection=this._collection.slice(),qs}get collection(){return this._collection}}class b extends _{constructor(qs){super(),this.type=qs,this.isActive=!1}activate(){}deactivate(){}}const E=(Ks,qs)=>Array.prototype.slice.call(Ks.querySelectorAll(qs)),f=(Ks,qs)=>{const zs=Ks.parentElement;return zs.matches(qs)?zs:zs===document.documentElement?null:f(zs,qs)};class A{constructor(qs,zs,js){this.selector=qs,this.InstanceClass=zs,this.creator=js,this.instances=new _,this.isIntroduced=!1,this._instanceClassName=this.InstanceClass.instanceClassName,this._instanceClassNames=this.getInstanceClassNames(this.InstanceClass),this._property=this._instanceClassName.substring(0,1).toLowerCase()+this._instanceClassName.substring(1);const Vs=this._instanceClassName.replace(/[^a-zA-Z0-9]+/g,"-").replace(/([A-Z]+)([A-Z][a-z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/([0-9])([^0-9])/g,"$1-$2").replace(/([^0-9])([0-9])/g,"$1-$2").toLowerCase();this._attribute=g.attr(`js-${Vs}`)}getInstanceClassNames(qs){const zs=Object.getPrototypeOf(qs);return zs&&"Instance"!==zs.instanceClassName?[...this.getInstanceClassNames(zs),qs.instanceClassName]:[qs.instanceClassName]}hasInstanceClassName(qs){return this._instanceClassNames.indexOf(qs)>-1}introduce(){this.isIntroduced||(this.isIntroduced=!0,e.getModule("stage").parse(document.documentElement,this))}parse(qs,zs){const js=[];return qs.matches&&qs.matches(this.selector)&&js.push(qs),!zs&&qs.querySelectorAll&&qs.querySelector(this.selector)&&js.push.apply(js,E(qs,this.selector)),js}create(qs){if(!qs.node.matches(this.selector))return;const zs=new this.InstanceClass;return this.instances.add(zs),zs}remove(qs){this.instances.remove(qs)}dispose(){const qs=this.instances.collection;for(let zs=qs.length-1;zs>-1;zs--)qs[zs]._dispose();this.creator=null}get instanceClassName(){return this._instanceClassName}get instanceClassNames(){return this._instanceClassNames}get property(){return this._property}get attribute(){return this._attribute}}class T extends b{constructor(){super("register")}register(qs,zs,js){const Vs=new A(qs,zs,js);return this.add(Vs),e.isActive&&Vs.introduce(),Vs}activate(){for(const qs of this.collection)qs.introduce()}remove(qs){qs.dispose(),super.remove(qs)}}let v=0;class S{constructor(qs,zs){zs?this.id=zs:(v++,this.id=v),this.node=qs,this.attributeNames=[],this.instances=[],this._children=[],this._parent=null,this._projects=[]}get proxy(){const qs=this;if(!this._proxy){this._proxy={id:this.id,get parent(){return qs.parent?qs.parent.proxy:null},get children(){return qs.children.map(zs=>zs.proxy)}};for(const zs of this.instances)this._proxy[zs.registration.property]=zs.proxy}return this._proxy}get html(){if(!this.node||!this.node.outerHTML)return"";const qs=this.node.outerHTML.indexOf(">");return this.node.outerHTML.substring(0,qs+1)}project(qs){-1===this._projects.indexOf(qs)&&this._projects.push(qs)}populate(){const qs=this._projects.slice();this._projects.length=0;for(const zs of qs)this.create(zs)}create(qs){if(this.hasInstance(qs.instanceClassName))return;h.debug(`create instance of ${qs.instanceClassName} on element [${this.id}]`);const zs=qs.create(this);this.instances.push(zs),zs._config(this,qs),this._proxy&&(this._proxy[qs.property]=zs.proxy)}remove(qs){const zs=this.instances.indexOf(qs);zs>-1&&this.instances.splice(zs,1),this._proxy&&delete this._proxy[qs.registration.property]}get parent(){return this._parent}get ascendants(){return[this.parent,...this.parent.ascendants]}get children(){return this._children}get descendants(){const qs=[...this._children];return this._children.forEach(zs=>qs.push(...zs.descendants)),qs}addChild(qs,zs){return this._children.indexOf(qs)>-1?null:(qs._parent=this,!isNaN(zs)&&zs>-1&&zs<this._children.length?this._children.splice(zs,0,qs):this._children.push(qs),qs)}removeChild(qs){const zs=this._children.indexOf(qs);if(-1===zs)return null;qs._parent=null,this._children.splice(zs,1)}emit(qs,zs){const js=e.getModule("stage").collection,Vs=[];for(const Ys of js)Vs.push(...Ys._emit(qs,zs));return Vs}_emit(qs,zs){const js=[];for(const Vs of this.instances)js.push(...Vs._emitter.emit(qs,zs));return js}ascend(qs,zs){return this._parent?this._parent._ascend(qs,zs):[]}_ascend(qs,zs){const js=[];for(const Vs of this.instances)js.push(...Vs._ascent.emit(qs,zs));return this._parent&&js.push(...this._parent._ascend(qs,zs)),js}descend(qs,zs){const js=[];for(const Vs of this._children)js.push(...Vs._descend(qs,zs));return js}_descend(qs,zs){const js=[];for(const Vs of this.instances)js.push(...Vs._descent.emit(qs,zs));for(const Vs of this._children)js.push(...Vs._descend(qs,zs));return js}getInstance(qs){for(const zs of this.instances)if(zs.registration.hasInstanceClassName(qs))return zs;return null}hasInstance(qs){return null!==this.getInstance(qs)}getDescendantInstances(qs,zs,js){if(!qs)return[];const Vs=[];for(const Ys of this._children){const Xs=Ys.getInstance(qs);Xs&&(Vs.push(Xs),js)||zs&&Ys.hasInstance(zs)||!Ys.children.length||Vs.push.apply(Vs,Ys.getDescendantInstances(qs,zs,js))}return Vs}getAscendantInstance(qs,zs){return qs&&this._parent?this._parent.getInstance(qs)||(zs&&this._parent.hasInstance(zs)?null:this._parent.getAscendantInstance(qs,zs)):null}dispose(){for(let qs=this.instances.length-1;qs>=0;qs--){const zs=this.instances[qs];zs&&zs._dispose()}this.instances.length=0,e.remove("stage",this),this.parent.removeChild(this),this._children.length=0,h.debug(`remove element [${this.id}] ${this.html}`)}prepare(qs){-1===this.attributeNames.indexOf(qs)&&this.attributeNames.push(qs)}examine(){const qs=this.attributeNames.slice();this.attributeNames.length=0;for(let zs=this.instances.length-1;zs>-1;zs--)this.instances[zs].examine(qs)}}const y={CLICK:g.emission("root","click"),KEYDOWN:g.emission("root","keydown"),KEYUP:g.emission("root","keyup")},C={TAB:{id:"tab",value:9},ESCAPE:{id:"escape",value:27},END:{id:"end",value:35},HOME:{id:"home",value:36},LEFT:{id:"left",value:37},UP:{id:"up",value:38},RIGHT:{id:"right",value:39},DOWN:{id:"down",value:40}},w=Ks=>Object.values(C).filter(qs=>qs.value===Ks)[0];class N extends S{constructor(){super(document.documentElement,"root"),this.node.setAttribute(g.attr("js"),!0),this.listen()}listen(){document.documentElement.addEventListener("click",this.click.bind(this),{capture:!0}),document.documentElement.addEventListener("keydown",this.keydown.bind(this),{capture:!0}),document.documentElement.addEventListener("keyup",this.keyup.bind(this),{capture:!0})}click(qs){this.emit(y.CLICK,qs.target)}keydown(qs){this.emit(y.KEYDOWN,w(qs.keyCode))}keyup(qs){this.emit(y.KEYUP,w(qs.keyCode))}}class D extends b{constructor(){super("stage"),this.root=new N,super.add(this.root),this.observer=new MutationObserver(this.mutate.bind(this)),this.modifications=[],this.willModify=!1,this.modifying=this.modify.bind(this)}hasElement(qs){for(const zs of this.collection)if(zs.node===qs)return!0;return!1}getElement(qs){for(const js of this.collection)if(js.node===qs)return js;const zs=new S(qs);return this.add(zs),h.debug(`add element [${zs.id}] ${zs.html}`),zs}getProxy(qs){return this.hasElement(qs)?this.getElement(qs).proxy:null}add(qs){super.add(qs),this.put(qs,this.root)}put(qs,zs){let js=0;for(let Vs=zs.children.length-1;Vs>-1;Vs--){const Ys=zs.children[Vs],Xs=qs.node.compareDocumentPosition(Ys.node);if(Xs&Node.DOCUMENT_POSITION_CONTAINS)return void this.put(qs,Ys);if(Xs&Node.DOCUMENT_POSITION_CONTAINED_BY)zs.removeChild(Ys),qs.addChild(Ys,0);else if(Xs&Node.DOCUMENT_POSITION_PRECEDING){js=Vs+1;break}}zs.addChild(qs,js)}activate(){this.observer.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0})}deactivate(){this.observer.disconnect()}mutate(qs){const zs=[];qs.forEach(js=>{switch(js.type){case"childList":js.removedNodes.forEach(Vs=>this.dispose(Vs)),js.addedNodes.forEach(Vs=>this.parse(Vs));break;case"attributes":if(this.hasElement(js.target)){const Vs=this.getElement(js.target);Vs.prepare(js.attributeName),-1===zs.indexOf(Vs)&&zs.push(Vs);for(const Ys of Vs.descendants)-1===zs.indexOf(Ys)&&zs.push(Ys)}-1===this.modifications.indexOf(js.target)&&this.modifications.push(js.target)}}),zs.forEach(js=>js.examine()),this.modifications.length&&!this.willModify&&(this.willModify=!0,window.requestAnimationFrame(this.modifying))}modify(){this.willModify=!1;const qs=this.modifications.slice();this.modifications.length=0;for(const zs of qs)document.documentElement.contains(zs)&&this.parse(zs)}dispose(qs){const zs=[];this.forEach(js=>{qs.contains(js.node)&&zs.push(js)});for(const js of zs)js.dispose(),this.remove(js)}parse(qs,zs,js){const Vs=zs?[zs]:e.getModule("register").collection,Ys=[];for(const Xs of Vs){const Qs=Xs.parse(qs,js);for(const Js of Qs){const Zs=this.getElement(Js);Zs.project(Xs),-1===Ys.indexOf(Zs)&&Ys.push(Zs)}}for(const Xs of Ys)Xs.populate()}}class R extends b{constructor(){super("render"),this.rendering=this.render.bind(this),this.nexts=new _}activate(){window.requestAnimationFrame(this.rendering)}request(qs){this.nexts.add(qs)}render(){if(!e.isActive||(window.requestAnimationFrame(this.rendering),this.forEach(zs=>zs.render()),!this.nexts.length))return;const qs=this.nexts.clone();this.nexts.clear(),qs.forEach(zs=>zs.next()),u(p.RENDER)}}class L extends b{constructor(){super("resize"),this.requireResize=!1,this.resizing=this.resize.bind(this);const qs=this.request.bind(this);document.fonts&&document.fonts.ready.then(qs),window.addEventListener("resize",qs),window.addEventListener("orientationchange",qs)}activate(){this.request()}request(){this.requireResize||(this.requireResize=!0,window.requestAnimationFrame(this.resizing))}resize(){this.requireResize&&(this.forEach(qs=>qs.resize()),this.requireResize=!1,u(p.RESIZE))}}class I extends b{constructor(){super("lock"),this._isLocked=!1,this._scrollY=0,this.onPopulate=this.lock.bind(this),this.onEmpty=this.unlock.bind(this)}get isLocked(){return this._isLocked}lock(){if(!this._isLocked){this._isLocked=!0,this._scrollY=window.scrollY;const qs=window.innerWidth-document.documentElement.clientWidth;document.documentElement.setAttribute(g.attr("scrolling"),"false"),document.body.style.top=-this._scrollY+"px",this.behavior=getComputedStyle(document.documentElement).getPropertyValue("scroll-behavior"),"smooth"===this.behavior&&(document.documentElement.style.scrollBehavior="auto"),qs>0&&document.documentElement.style.setProperty("--scrollbar-width",`${qs}px`),u(p.SCROLL_LOCK)}}unlock(){this._isLocked&&(this._isLocked=!1,document.documentElement.removeAttribute(g.attr("scrolling")),document.body.style.top="",window.scrollTo(0,this._scrollY),"smooth"===this.behavior&&document.documentElement.style.removeProperty("scroll-behavior"),document.documentElement.style.removeProperty("--scrollbar-width"),u(p.SCROLL_UNLOCK))}move(qs){this._isLocked?(this._scrollY+=qs,document.body.style.top=-this._scrollY+"px"):window.scrollTo(0,window.scrollY+qs)}}class x extends b{constructor(){super("load"),this.loading=this.load.bind(this)}activate(){window.addEventListener("load",this.loading)}load(){this.forEach(qs=>qs.load())}}const O=["Marianne","Spectral"];class P extends b{constructor(){super("font-swap"),this.swapping=this.swap.bind(this)}activate(){document.fonts&&document.fonts.addEventListener("loadingdone",this.swapping)}swap(){const qs=O.filter(zs=>document.fonts.check(`16px ${zs}`));this.forEach(zs=>zs.swapFont(qs))}}class k extends b{constructor(){super("mouse-move"),this.requireMove=!1,this._isMoving=!1,this.moving=this.move.bind(this),this.requesting=this.request.bind(this),this.onPopulate=this.listen.bind(this),this.onEmpty=this.unlisten.bind(this)}listen(){this._isMoving||(this._isMoving=!0,this.requireMove=!1,document.documentElement.addEventListener("mousemove",this.requesting))}unlisten(){this._isMoving&&(this._isMoving=!1,this.requireMove=!1,document.documentElement.removeEventListener("mousemove",this.requesting))}request(qs){this._isMoving&&(this.point={x:qs.clientX,y:qs.clientY},this.requireMove||(this.requireMove=!0,window.requestAnimationFrame(this.moving)))}move(){this.requireMove&&(this.forEach(qs=>qs.mouseMove(this.point)),this.requireMove=!1)}}class M extends b{constructor(){super("hash"),this.handling=this.handle.bind(this),this.getLocationHash()}activate(){window.addEventListener("hashchange",this.handling)}deactivate(){window.removeEventListener("hashchange",this.handling)}_sanitize(qs){return"#"===qs.charAt(0)?qs.substring(1):qs}set hash(qs){const zs=this._sanitize(qs);this._hash!==zs&&(window.location.hash=zs)}get hash(){return this._hash}getLocationHash(){const qs=window.location.hash;this._hash=this._sanitize(qs)}handle(qs){this.getLocationHash(),this.forEach(zs=>zs.handleHash(this._hash,qs))}}const G=new class{constructor(){e.create(T),e.create(D),e.create(R),e.create(L),e.create(I),e.create(x),e.create(P),e.create(k),e.create(M);const Ks=e.getModule("register");this.register=Ks.register.bind(Ks)}get isActive(){return e.isActive}start(){h.debug("START"),e.isActive=!0,u(p.START)}stop(){h.debug("STOP"),e.isActive=!1,u(p.STOP)}},$=Ks=>{switch(!0){case Ks.hover:return"-hover";case Ks.active:return"-active";default:return""}},H=new class{getColor(Ks,qs,zs,js={}){const Vs=`--${Ks}-${qs}-${zs}${$(js)}`;return getComputedStyle(document.documentElement).getPropertyValue(Vs).trim()||null}},U=Ks=>"."===Ks.charAt(0)?Ks.substr(1):Ks,B=Ks=>{switch(!0){case!Ks.className:return[];case"string"==typeof Ks.className:return Ks.className.split(" ");case"string"==typeof Ks.className.baseVal:return Ks.className.baseVal.split(" ")}return[]},F=(Ks,qs,zs)=>{qs=U(qs);const js=B(Ks),Vs=js.indexOf(qs);!0===zs?Vs>-1&&js.splice(Vs,1):-1===Vs&&js.push(qs),Ks.className=js.join(" ")},W=(Ks,qs)=>F(Ks,qs),q=(Ks,qs)=>F(Ks,qs,!0),z=(Ks,qs)=>B(Ks).indexOf(U(qs))>-1,K=['[tabindex]:not([tabindex="-1"])',"a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details","iframe"].join(),j=Ks=>Ks.querySelectorAll(K);let V=0;const Y=Ks=>{if(!document.getElementById(Ks))return Ks;let qs=!0;const zs=Ks;for(;qs;)V++,Ks=`${zs}-${V}`,qs=document.getElementById(Ks);return Ks},X={addClass:W,hasClass:z,removeClass:q,queryParentSelector:f,querySelectorAllArray:E,queryActions:j,uniqueId:Y,dispatch:d},Q={DataURISVG:class{constructor(Ks=0,qs=0){this._width=Ks,this._height=qs,this._content=""}get width(){return this._width}set width(Ks){this._width=Ks}get height(){return this._height}set height(Ks){this._height=Ks}get content(){return this._content}set content(Ks){this._content=Ks}getDataURI(Ks=!1){let qs=`<svg xmlns='http://www.w3.org/2000/svg' viewbox='0 0 ${this._width} ${this._height}' width='${this._width}px' height='${this._height}px'>${this._content}</svg>`;return qs=qs.replace(/#/gi,"%23"),Ks&&(qs=qs.replace(/</gi,"%3C"),qs=qs.replace(/>/gi,"%3E"),qs=qs.replace(/"/gi,"'"),qs=qs.replace(/{/gi,"%7B"),qs=qs.replace(/}/gi,"%7D")),`data:image/svg+xml;charset=utf8,${qs}`}}},Z={supportLocalStorage:()=>{try{return"localStorage"in window&&null!==window.localStorage}catch{return!1}},supportAspectRatio:()=>!!window.CSS&&CSS.supports("aspect-ratio: 16 / 9")},J={TransitionSelector:{NONE:g.selector("transition-none")}},ee=(Ks,...qs)=>(qs.forEach(zs=>{const js=Object.keys(zs).reduce((Vs,Ys)=>(Vs[Ys]=Object.getOwnPropertyDescriptor(zs,Ys),Vs),{});Object.getOwnPropertySymbols(zs).forEach(Vs=>{const Ys=Object.getOwnPropertyDescriptor(zs,Vs);Ys.enumerable&&(js[Vs]=Ys)}),Object.defineProperties(Ks,js)}),Ks),te={completeAssign:ee},se={},ie={};Object.defineProperty(ie,"isLegacy",{get:()=>e.isLegacy}),ie.setLegacy=()=>{e.isLegacy=!0},se.legacy=ie,se.dom=X,se.image=Q,se.support=Z,se.motion=J,se.property=te,se.ns=g,se.register=G.register,se.state=e,se.query=(Ks=>{if(Ks&&Ks.search){const qs=new URLSearchParams(window.location.search).entries();return Object.fromEntries(qs)}return null})(window.location),Object.defineProperty(se,"preventManipulation",{get:()=>m.preventManipulation}),Object.defineProperty(se,"stage",{get:()=>e.getModule("stage")});const ne=Ks=>e.getModule("stage").getProxy(Ks);ne.version=n,ne.prefix=t,ne.organisation=i,ne.Modes=l,Object.defineProperty(ne,"mode",{set:Ks=>{m.mode=Ks},get:()=>m.mode}),ne.internals=se,ne.version=n,ne.start=G.start,ne.stop=G.stop,ne.inspector=h,ne.colors=H;const re=window[s];ne.internals.configuration=re,m.configure(re,ne.start,ne.internals.query),window[s]=ne;class ae{constructor(){this.emissions={}}add(qs,zs){if("function"!=typeof zs)throw new Error("closure must be a function");this.emissions[qs]||(this.emissions[qs]=[]),this.emissions[qs].push(zs)}remove(qs,zs){if(this.emissions[qs])if(zs){const js=this.emissions[qs].indexOf(zs);js>-1&&this.emissions[qs].splice(js)}else delete this.emissions[qs]}emit(qs,zs){if(!this.emissions[qs])return[];const js=[];for(const Vs of this.emissions[qs])Vs&&js.push(Vs(zs));return js}dispose(){this.emissions=null}}const oe=new class{constructor(){this._activeElements=[],window.document.addEventListener("focusin",this._onFocusIn.bind(this))}_onFocusIn(Ks){this._activeElements.push(Ks.target)}get index(){return this._activeElements.length-1}focus(Ks){const qs=this._activeElements[Ks];switch(!0){case Ks<0:case 0===this._activeElements.length:return void this.focusOnLogo();case!qs:case!document.documentElement.contains(qs):case!this._isDisplayed(qs):return void this.focus(Ks-1)}qs.focus()}focusOnLogo(){const Ks=document.querySelector(ne.header.HeaderSelector.BRAND_LINK);Ks&&Ks.focus()}_isDisplayed(Ks){for(;Ks&&Ks!==document.documentElement;){if(Ks===document.body)return!0;const qs=window.getComputedStyle(Ks);if("none"===qs.display||"hidden"===qs.visibility)return!1;Ks=Ks.parentElement}return!0}};class he{constructor(qs,zs){this.id=qs,this.minWidth=zs}test(){return window.matchMedia(`(min-width: ${this.minWidth}em)`).matches}}const ce={XS:new he("xs",0),SM:new he("sm",36),MD:new he("md",48),LG:new he("lg",62),XL:new he("xl",78)},le={CLICK:g.event("click")};class de{constructor(qs=!0){this.jsAttribute=qs,this._isRendering=!1,this._isResizing=!1,this._isScrollLocked=!1,this._isLoading=!1,this._isSwappingFont=!1,this._isEnabled=!0,this._isDisposed=!1,this._listeners={},this._handlingClick=this._handleClick.bind(this),this._hashes=[],this._hash="",this._keyListenerTypes=[],this._keys=[],this.handlingKey=this.handleKey.bind(this),this._emitter=new ae,this._ascent=new ae,this._descent=new ae,this._registrations=[],this._nexts=[]}static get instanceClassName(){return"Instance"}_config(qs,zs){this.element=qs,this.registration=zs,this.node=qs.node,this.id=qs.node.id,this.jsAttribute&&this.setAttribute(zs.attribute,!0),this.init()}init(){}get proxy(){const qs=this;return ee({render:()=>qs.render(),resize:()=>qs.resize()},{get node(){return qs.node},get isEnabled(){return qs.isEnabled},set isEnabled(zs){qs.isEnabled=zs}})}log(...qs){qs.unshift(`${this.registration.instanceClassName} #${this.id} - `),h.log.apply(h,qs)}debug(...qs){qs.unshift(`${this.registration.instanceClassName} #${this.id} - `),h.debug.apply(h,qs)}info(...qs){qs.unshift(`${this.registration.instanceClassName} #${this.id} - `),h.info.apply(h,qs)}warn(...qs){qs.unshift(`${this.registration.instanceClassName} #${this.id} - `),h.warn.apply(h,qs)}error(...qs){qs.unshift(`${this.registration.instanceClassName} #${this.id} - `),h.error.apply(h,qs)}register(qs,zs){const js=e.getModule("register").register(qs,zs,this);this._registrations.push(js)}getRegisteredInstances(qs){for(const zs of this._registrations)if(zs.hasInstanceClassName(qs))return zs.instances.collection;return[]}dispatch(qs,zs=null,js=!0,Vs=!1){d(this.node,qs,zs,js,Vs)}listen(qs,zs,js){this._listeners[qs]||(this._listeners[qs]=[]);const Vs=this._listeners[qs],Ys=new ge(this.node,qs,zs,js);Vs.push(Ys),Ys.listen()}unlisten(qs,zs,js){if(!qs){for(const Xs in this._listeners)this.unlisten(Xs);return}const Vs=this._listeners[qs];if(!Vs)return;if(!zs)return void Vs.forEach(Xs=>this.unlisten(qs,Xs.closure));const Ys=Vs.filter(Xs=>Xs.closure===zs&&Xs.matchOptions(js));Ys.forEach(Xs=>Xs.unlisten()),this._listeners[qs]=Vs.filter(Xs=>-1===Ys.indexOf(Xs))}listenClick(qs){this.listen("click",this._handlingClick,qs)}unlistenClick(qs){this.unlisten("click",this._handlingClick,qs)}_handleClick(qs){this.handleClick(qs),this.dispatch(le.CLICK,this)}handleClick(qs){}set hash(qs){e.getModule("hash").hash=qs}get hash(){return e.getModule("hash").hash}listenHash(qs,zs){if(!this._hashes)return;0===this._hashes.length&&e.add("hash",this);const js=new pe(qs,zs);this._hashes=this._hashes.filter(Vs=>Vs.hash!==qs),this._hashes.push(js)}unlistenHash(qs){this._hashes&&(this._hashes=this._hashes.filter(zs=>zs.hash!==qs),0===this._hashes.length&&e.remove("hash",this))}handleHash(qs,zs){if(this._hashes)for(const js of this._hashes)js.handle(qs,zs)}listenKey(qs,zs,js=!1,Vs=!1,Ys="down"){-1===this._keyListenerTypes.indexOf(Ys)&&(this.listen(`key${Ys}`,this.handlingKey),this._keyListenerTypes.push(Ys)),this._keys.push(new ue(Ys,qs,zs,js,Vs))}unlistenKey(qs,zs){this._keys=this._keys.filter(js=>js.code!==qs||js.closure!==zs),this._keyListenerTypes.forEach(js=>{this._keys.some(Vs=>Vs.type===js)||this.unlisten(`key${js}`,this.handlingKey)})}handleKey(qs){for(const zs of this._keys)zs.handle(qs)}get isEnabled(){return this._isEnabled}set isEnabled(qs){this._isEnabled=qs}get isRendering(){return this._isRendering}set isRendering(qs){this._isRendering!==qs&&(qs?e.add("render",this):e.remove("render",this),this._isRendering=qs)}render(){}request(qs){this._nexts.push(qs),e.getModule("render").request(this)}next(){const qs=this._nexts.slice();this._nexts.length=0;for(const zs of qs)zs&&zs()}get isResizing(){return this._isResizing}set isResizing(qs){this._isResizing!==qs&&(qs?(e.add("resize",this),this.resize()):e.remove("resize",this),this._isResizing=qs)}resize(){}isBreakpoint(qs){return"string"==typeof qs?ce[qs.toUpperCase()].test():qs.test()}get isScrollLocked(){return this._isScrollLocked}set isScrollLocked(qs){this._isScrollLocked!==qs&&(qs?e.add("lock",this):e.remove("lock",this),this._isScrollLocked=qs)}get isLoading(){return this._isLoading}set isLoading(qs){this._isLoading!==qs&&(qs?e.add("load",this):e.remove("load",this),this._isLoading=qs)}load(){}get isSwappingFont(){return this._isSwappingFont}set isSwappingFont(qs){this._isSwappingFont!==qs&&(qs?e.add("font-swap",this):e.remove("font-swap",this),this._isSwappingFont=qs)}swapFont(){}get isMouseMoving(){return this._isMouseMoving}set isMouseMoving(qs){this._isMouseMoving!==qs&&(qs?e.add("mouse-move",this):e.remove("mouse-move",this),this._isMouseMoving=qs)}mouseMove(qs){}examine(qs){this.node.matches(this.registration.selector)?this.mutate(qs):this._dispose()}mutate(qs){}retrieveNodeId(qs,zs){if(qs.id)return qs.id;const js=Y(`${this.id}-${zs}`);return this.warn(`add id '${js}' to ${zs}`),qs.setAttribute("id",js),js}get isDisposed(){return this._isDisposed}_dispose(){this.debug(`dispose instance of ${this.registration.instanceClassName}
1 on element [${this.element.id}]`),this.removeAttribute(this.registration.attribute),this.unlisten(),e.remove("hash",this),this._hashes=null,this._keys=null,this.isRendering=!1,this.isResizing=!1,this._nexts=null,e.getModule("render").nexts.remove(this),this.isScrollLocked=!1,this.isLoading=!1,this.isSwappingFont=!1,this.isMouseMoving=!1,this._emitter.dispose(),this._emitter=null,this._ascent.dispose(),this._ascent=null,this._descent.dispose(),this._descent=null,this.element.remove(this);for(const qs of this._registrations)e.remove("register",qs);this._registrations=null,this.registration.remove(this),this._isDisposed=!0,this.dispose()}dispose(){}emit(qs,zs){return this.element.emit(qs,zs)}addEmission(qs,zs){this._emitter.add(qs,zs)}removeEmission(qs,zs){this._emitter.remove(qs,zs)}ascend(qs,zs){return this.element.ascend(qs,zs)}addAscent(qs,zs){this._ascent.add(qs,zs)}removeAscent(qs,zs){this._ascent.remove(qs,zs)}descend(qs,zs){return this.element.descend(qs,zs)}addDescent(qs,zs){this._descent.add(qs,zs)}removeDescent(qs,zs){this._descent.remove(qs,zs)}get style(){return this.node.style}addClass(qs){W(this.node,qs)}removeClass(qs){q(this.node,qs)}hasClass(qs){return z(this.node,qs)}get classNames(){return B(this.node)}remove(){this.node.parentNode.removeChild(this.node)}setAttribute(qs,zs){this.node.setAttribute(qs,zs)}getAttribute(qs){return this.node.getAttribute(qs)}hasAttribute(qs){return this.node.hasAttribute(qs)}removeAttribute(qs){this.node.removeAttribute(qs)}setProperty(qs,zs){this.node.style.setProperty(qs,zs)}removeProperty(qs){this.node.style.removeProperty(qs)}focus(){this.node.focus()}blur(){this.node.blur()}retainFocus(){this._focusIndex=oe.index}focusBack(){oe.focus(this._focusIndex)}focusClosest(){const qs=this._focusClosest(this.node.parentNode);qs&&qs.focus()}_focusClosest(qs){if(!qs)return null;const zs=[...j(qs)];if(zs.length<=1)return this._focusClosest(qs.parentNode);{const js=zs.indexOf(this.node);return zs[js+(js<zs.length-1?1:-1)]}}get hasFocus(){return this.node===document.activeElement}scrollIntoView(){const qs=this.getRect(),zs=e.getModule("lock");qs.top<0&&zs.move(qs.top-50),qs.bottom>window.innerHeight&&zs.move(qs.bottom-window.innerHeight+50)}matches(qs){return this.node.matches(qs)}querySelector(qs){return this.node.querySelector(qs)}querySelectorAll(qs){return E(this.node,qs)}queryParentSelector(qs){return f(this.node,qs)}getRect(){const qs=this.node.getBoundingClientRect();return qs.center=qs.left+.5*qs.width,qs.middle=qs.top+.5*qs.height,qs}get isLegacy(){return e.isLegacy}}class ue{constructor(qs,zs,js,Vs,Ys){this.type=qs,this.eventType=`key${qs}`,this.keyCode=zs,this.closure=js,this.preventDefault=!0===Vs,this.stopPropagation=!0===Ys}handle(qs){qs.type===this.eventType&&qs.keyCode===this.keyCode.value&&(this.closure(qs),this.preventDefault&&qs.preventDefault(),this.stopPropagation&&qs.stopPropagation())}}class ge{constructor(qs,zs,js,Vs){this._node=qs,this._type=zs,this._closure=js,this._options=Vs}get closure(){return this._closure}listen(){this._node.addEventListener(this._type,this._closure,this._options)}matchOptions(qs=null){switch(!0){case null===qs:case"boolean"==typeof this._options&&"boolean"==typeof qs&&this._options===qs:return!0;case Object.keys(this._options).length!==Object.keys(qs).length:return!1;case Object.keys(qs).every(zs=>this._options[zs]===qs[zs]):return!0}return!1}unlisten(){this._node.removeEventListener(this._type,this._closure,this._options)}}class pe{constructor(qs,zs){this.hash=qs,this.add=zs}handle(qs,zs){this.hash===qs&&this.add(zs)}}const me={DISCLOSE:g.event("disclose"),CONCEAL:g.event("conceal"),CURRENT:g.event("current")},_e={RESET:g.emission("disclosure","reset"),ADDED:g.emission("disclosure","added"),RETRIEVE:g.emission("disclosure","retrieve"),REMOVED:g.emission("disclosure","removed"),GROUP:g.emission("disclosure","group"),UNGROUP:g.emission("disclosure","ungroup"),SPOTLIGHT:g.emission("disclosure","spotlight")};class be extends de{constructor(qs,zs,js,Vs){super(),this.type=qs,this._selector=zs,this.DisclosureButtonInstanceClass=js,this.disclosuresGroupInstanceClassName=Vs,this.modifier=this._selector+"--"+this.t
1ype.id,this._isPristine=!0,this._isActive=!0,this._isRetrievingPrimaries=!1,this._hasRetrieved=!1,this._primaryButtons=[]}static get instanceClassName(){return"Disclosure"}init(){this.addDescent(_e.RESET,this.reset.bind(this)),this.addDescent(_e.GROUP,this.update.bind(this)),this.addDescent(_e.UNGROUP,this.update.bind(this)),this.addAscent(_e.SPOTLIGHT,this.disclose.bind(this)),this.register(`[aria-controls="${this.id}"]`,this.DisclosureButtonInstanceClass),this.ascend(_e.ADDED),this.listenHash(this.id,this._spotlight.bind(this)),this.update()}get isEnabled(){return super.isEnabled}set isEnabled(qs){this.isEnabled!==qs&&(super.isEnabled=qs,this.ascend(qs?_e.ADDED:_e.REMOVED))}get isActive(){return this._isActive}set isActive(qs){this._isActive!==qs&&(this._isActive=qs,qs?this.ascend(_e.ADDED):(this.ascend(_e.REMOVED),this.isDisclosed&&this.conceal()))}get isPristine(){return this._isPristine}get proxy(){const qs=this,zs=Object.assign(super.proxy,{disclose:qs.disclose.bind(qs),focus:qs.focus.bind(qs)});return this.type.canConceal&&(zs.conceal=qs.conceal.bind(qs)),ee(zs,{get buttons(){return qs.buttons.map(js=>js.proxy)},get group(){const js=qs.group;return js?js.proxy:null},get isDisclosed(){return qs.isDisclosed},get isEnabled(){return qs.isEnabled},get isActive(){return qs.isActive}})}get buttons(){return this.getRegisteredInstances(this.DisclosureButtonInstanceClass.instanceClassName)}update(){this.getGroup(),this.retrievePrimaries()}getGroup(){if(!this.disclosuresGroupInstanceClassName)return void(this._group=null);const qs=this.element.getAscendantInstance(this.disclosuresGroupInstanceClassName,this.constructor.instanceClassName);this._group=qs&&qs.validate(this)?qs:null}get group(){return this._group}disclose(qs){return!(!0===this.isDisclosed||!this.isEnabled||!this._isActive||(this.retainFocus(),this._isPristine=!1,this.isDisclosed=!0,!qs&&this.group&&(this.group.current=this),0))}conceal(qs,zs=!0){return!(!1===this.isDisclosed||!this.type.canConceal&&this.group&&this.group.current===this||(this.isDisclosed=!1,!qs&&this.group&&this.group.current===this&&(this.group.current=null),zs||this.focus(),this._isPristine||this.descend(_e.RESET),0))}get isDisclosed(){return this._isDisclosed}set isDisclosed(qs){if(this._isDisclosed!==qs&&(this.isEnabled||!0!==qs)){this._isPristine||this.dispatch(qs?me.DISCLOSE:me.CONCEAL,this),this._isDisclosed=qs,qs?this.addClass(this.modifier):this.removeClass(this.modifier);for(let zs=0;zs<this.buttons.length;zs++)this.buttons[zs].apply(qs)}}get isInitiallyDisclosed(){return this.primaryButtons.some(qs=>qs.isInitiallyDisclosed)}hasRetrieved(){return this._hasRetrieved}reset(){}toggle(qs){if(this.type.canConceal)switch(!0){case!qs:case this.isDisclosed:this.conceal(!1,!1);break;default:this.disclose()}else this.disclose()}get buttonHasFocus(){return this.buttons.some(qs=>qs.hasFocus)}get hasFocus(){return!!super.hasFocus||!!this.buttonHasFocus||this.querySelectorAll(":focus").length>0}focus(){this._primaryButtons.length>0?this._primaryButtons[0].focus():this.focusBack()}get primaryButtons(){return this._primaryButtons}retrievePrimaries(){this._isRetrievingPrimaries||(this._isRetrievingPrimaries=!0,this.request(this._retrievePrimaries.bind(this)))}_retrievePrimaries(){if(this._isRetrievingPrimaries=!1,this._primaryButtons=this._electPrimaries(this.buttons),!(this._hasRetrieved||0===this._primaryButtons.length&&this.type.requirePrimary))if(this.retrieved(),this._hasRetrieved=!0,this.applyAbility(!0),this.group)this.group.retrieve();else if(this._isPristine&&this.isEnabled&&this.isActive&&!this.group)switch(!0){case this.hash===this.id:this._spotlight();break;case this.isInitiallyDisclosed:this.disclose()}}retrieved(){}_spotlight(){this.disclose(),this.request(()=>{this.ascend(_e.SPOTLIGHT)})}_electPrimaries(qs){return qs.filter(zs=>zs.canDisclose&&!this.node.contains(zs.node))}applyAbility(qs=!1){const zs=!this.type.requirePrimary||this._primaryButtons.some(js=>!js.isDisabled);this.isEnabled!==zs&&(this.isEnabled=zs,qs||(!this.isEnabled&&this.isDisclosed&&(this.group?this.ascend(_e.REMOVED):this.type.canConceal&&this.conceal()),this.isEnabled&&(this.group&&this.ascend(_e.ADDED),this.hash===this.id&&this._spotlight())))}dispose(){this._group=null,this._primaryButtons=null,super.dispose(),this.ascend(_e.REMOVED)}}class Ee extends de{constructor(qs){super(),this.type=qs,this.attributeName=qs.ariaState?"aria-"+qs.id:g.attr(qs.id),this._canDisclose
vendor: 4,502 bytes, line 1
1=!1}static get instanceClassName(){return"DisclosureButton"}get isPrimary(){return this.registration.creator.primaryButtons.includes(this)}get canDisclose(){return this._canDisclose}get isDisabled(){return this.type.canDisable&&this.hasAttribute("disabled")}init(){this._canDisclose=this.hasAttribute(this.attributeName),this._isInitiallyDisclosed=this.isDisclosed,this._isContained=this.registration.creator.node.contains(this.node),this.controlsId=this.getAttribute("aria-controls"),this.registration.creator.retrievePrimaries(),this.listenClick()}get proxy(){return Object.assign(super.proxy,{focus:this.focus.bind(this)})}handleClick(qs){this.registration.creator&&this.registration.creator.toggle(this.canDisclose)}mutate(qs){this._canDisclose=this.hasAttribute(this.attributeName),this.registration.creator.applyAbility(),!this._isApplying&&this.isPrimary&&qs.indexOf(this.attributeName)>-1&&this.registration.creator&&(this.isDisclosed?this.registration.creator.disclose():this.type.canConceal&&this.registration.creator.conceal())}apply(qs){this.canDisclose&&(this._isApplying=!0,this.setAttribute(this.attributeName,qs),this.request(()=>{this._isApplying=!1}))}get isDisclosed(){return"true"===this.getAttribute(this.attributeName)}get isInitiallyDisclosed(){return this._isInitiallyDisclosed}focus(){super.focus(),this.scrollIntoView()}measure(qs){const zs=this.rect;this._dx=qs.x-zs.x,this._dy=qs.y-zs.y}get dx(){return this._dx}get dy(){return this._dy}}const fe={PREVENT_CONCEAL:g.attr.selector("prevent-conceal"),GROUP:g.attr("group")};class Ae extends de{constructor(qs,zs){super(zs),this.disclosureInstanceClassName=qs,this._members=[],this._index=-1,this._isRetrieving=!1,this._hasRetrieved=!1,this._isGrouped=!0}static get instanceClassName(){return"DisclosuresGroup"}init(){this.addAscent(_e.ADDED,this.update.bind(this)),this.addAscent(_e.RETRIEVE,this.retrieve.bind(this)),this.addAscent(_e.REMOVED,this.update.bind(this)),this.descend(_e.GROUP),this._isGrouped="false"!==this.getAttribute(fe.GROUP),this.update()}get proxy(){const qs=this;return ee(super.proxy,{set index(js){qs.index=js},get index(){return qs.index},get length(){return qs.length},get current(){const js=qs.current;return js?js.proxy:null},get members(){return qs.members.map(js=>js.proxy)},get hasFocus(){return qs.hasFocus},set isGrouped(js){qs.isGrouped=js},get isGrouped(){return qs.isGrouped}})}validate(qs){return!0}getMembers(){const qs=this.element.getDescendantInstances(this.disclosureInstanceClassName,this.constructor.instanceClassName,!0);this._members=qs.filter(this.validate.bind(this)).filter(zs=>zs.isEnabled&&zs.isActive),qs.filter(zs=>!this._members.includes(zs)).forEach(zs=>zs.conceal())}retrieve(qs=!1){this._isRetrieving||this._hasRetrieved&&!qs||(this._isRetrieving=!0,this.request(this._retrieve.bind(this)))}_retrieve(){if(this.getMembers(),this._isRetrieving=!1,this._hasRetrieved=!0,this.isGrouped){if(this.hash)for(let qs=0;qs<this.length;qs++)if(this.hash===this.members[qs].id)return this.index=qs,this.request(()=>{this.ascend(_e.SPOTLIGHT)}),qs;for(let qs=0;qs<this.length;qs++)if(this.members[qs].isInitiallyDisclosed)return this.index=qs,qs;return this.getIndex()}for(let qs=0;qs<this.length;qs++){const zs=this.members[qs];zs.isInitiallyDisclosed&&zs.disclose(!0)}}update(){this.getMembers(),this._hasRetrieved&&this.isGrouped&&this.getIndex()}get members(){return this._members}get length(){return this.members?this.members.length:0}getIndex(qs=-1){this._index=void 0;let zs=qs;for(let js=0;js<this.length;js++)if(this.members[js].isDisclosed){zs=js;break}return this.index=zs,zs}get index(){return this._index}set index(qs){if(!(qs<-1||qs>=this.length||qs===this._index)){this._index=qs;for(let zs=0;zs<this.length;zs++){const js=this.members[zs];qs===zs?js.isDisclosed||js.disclose(!0):!this.isGrouped&&this.canUngroup||!1===js.isDisclosed||js.conceal(!0)}this.apply(),this.dispatch(me.CURRENT,this.current)}}get current(){return-1===this._index||isNaN(this._index)?null:this._members[this._index]||null}set current(qs){this.index=this.members.indexOf(qs)}get hasFocus(){const qs=this.current;return!!qs&&qs.hasFocus}set isGrouped(qs){const zs=!!qs;this._isGrouped!==zs&&(this._isGrouped=zs,this.setAttribute(fe.GROUP,!!qs),this.update())}get isGrouped(){return this._isGrouped}get canUngroup(){return!1}mutate(qs){qs.includes(fe.GROUP)&&(this.isGrouped="false"!==this.getAttribute(fe.GROUP))}apply(){}dispose(){super.dispose(),this.descend(_e.UNGROUP),this._members=null}}
vendor: 4,830 bytes, line 1
1const Te={EXPAND:{id:"expanded",ariaState:!0,ariaControls:!0,canConceal:!0,canDisable:!0,requirePrimary:!0},SELECT:{id:"selected",ariaState:!0,ariaControls:!0,canConceal:!1,canDisable:!0,requirePrimary:!0},OPENED:{id:"opened",ariaState:!1,ariaControls:!0,canConceal:!0,canDisable:!1,requirePrimary:!1}};class ve extends Ee{constructor(){super(Te.EXPAND)}static get instanceClassName(){return"CollapseButton"}}const Se={COLLAPSE:g.selector("collapse"),COLLAPSING:g.selector("collapsing")},ye={CHANGE:g("equisized")},Ce={INJECT_SVG:`[${g.attr("inject-svg")}]`},we={ARTWORK_USE:`${g.selector("artwork")} use`},Ne={ASSESS_FILE:`${g.attr.selector("assess-file")}`,DETAIL:`${g.attr.selector("assess-file")} [class$="__detail"], ${g.attr.selector("assess-file")} [class*="__detail "]`},De={UPDATE:g.emission("assess","update"),ADDED:g.emission("assess","added")},Re=["32x9","16x9","3x2","4x3","1x1","3x4","2x3"],Le=(Ks,qs)=>qs.map(zs=>g.selector(`${Ks}--${zs}`)).join(","),Ie=`${g.selector("responsive-img")}, ${Le("responsive-img",Re)}, ${g.selector("responsive-vid")}, ${Le("responsive-vid",["16x9","4x3","1x1"])}`,xe={RATIO:`${g.selector("ratio")}, ${Le("ratio",Re)}, ${Ie}`},Oe=window[s],Pe={TOP:g.selector("placement--top"),RIGHT:g.selector("placement--right"),BOTTOM:g.selector("placement--bottom"),LEFT:g.selector("placement--left")},ke={START:g.selector("placement--start"),CENTER:g.selector("placement--center"),END:g.selector("placement--end")},Me={TOP:"place_top",RIGHT:"place_right",BOTTOM:"place_bottom",LEFT:"place_left"},Ge={START:"align_start",CENTER:"align_center",END:"align_end"},$e={AUTO:"placement_auto",MANUAL:"placement_manual"};ne.internals.register((ne.core={Instance:de,Breakpoints:ce,KeyCodes:C,Disclosure:be,DisclosureButton:Ee,DisclosuresGroup:Ae,DisclosureType:Te,DisclosureEvent:me,DisclosureSelector:fe,DisclosureEmission:_e,Collapse:class extends be{constructor(){super(Te.EXPAND,Se.COLLAPSE,ve,"CollapsesGroup")}static get instanceClassName(){return"Collapse"}init(){super.init(),this.listen("transitionend",this.endCollapsing.bind(this))}endCollapsing(Ks){this._isCollpasing&&(this._timeout&&clearTimeout(this._timeout),this._timeout=null,this._isCollpasing=!1,this.removeClass(Se.COLLAPSING),this.isDisclosed||this.isLegacy&&(this.style.maxHeight=""))}unbound(){this.isLegacy&&(this.style.maxHeight="none")}disclose(Ks){if(!0===this.isDisclosed||!this.isEnabled)return!1;this.unbound(),this.collapsing(()=>super.disclose(Ks))}conceal(Ks,qs){if(!1===this.isDisclosed)return!1;this.collapsing(()=>super.conceal(Ks,qs))}collapsing(Ks){this._isCollpasing=!0,this._timeout&&clearTimeout(this._timeout),this.addClass(Se.COLLAPSING),this.adjust(),this.request(()=>{Ks(),this._timeout=setTimeout(this.endCollapsing.bind(this),500)})}adjust(){this.setProperty("--collapser","none"),this.setProperty("--collapse",-this.node.offsetHeight+"px"),this.setProperty("--collapser","")}reset(){this.isPristine||(this.isDisclosed=!1)}_electPrimaries(Ks){const qs=this.element.parent.instances.map(Ys=>Ys.collapsePrimary).filter(Ys=>void 0!==Ys&&Ks.indexOf(Ys)>-1);if(1===qs.length)return qs;if(1===(Ks=super._electPrimaries(Ks)).length)return Ks;const zs=Ks.filter(Ys=>Ys.dy>=0);if(zs.length>0&&(Ks=zs),1===Ks.length)return Ks;const js=Math.min(...Ks.map(Ys=>Ys.dy)),Vs=Ks.filter(Ys=>Ys.dy===js);return Vs.length>0&&(Ks=Vs),1===Ks.length||Ks.sort((Ys,Xs)=>Math.abs(Xs.dx)-Math.abs(Ys.dx)),Ks}},CollapseButton:ve,CollapsesGroup:class extends Ae{constructor(){super("Collapse")}static get instanceClassName(){return"CollapsesGroup"}get canUngroup(){return!0}},CollapseSelector:Se,RootSelector:{ROOT:":root"},RootEmission:y,Equisized:class extends de{static get instanceClassName(){return"Equisized"}init(){this.ascend(ye.CHANGE)}measure(){return this.isLegacy&&(this.style.width="auto"),this.getRect().width}adjust(Ks){this.isLegacy&&(this.style.width=`${Ks}px`)}dispose(){this.ascend(ye.CHANGE)}},EquisizedEmission:ye,Toggle:class extends de{static get instanceClassName(){return"Toggle"}init(){this.pressed="true"===this.pressed,this.listenClick()}handleClick(){this.toggle()}toggle(){this.pressed="true"!==this.pressed}get pressed(){return this.getAttribute("aria-pressed")}set pressed(Ks){this.setAttribute("aria-pressed",Ks?"true":"false")}get proxy(){const Ks=this,qs=Object.assign(super.proxy,{toggle:Ks.toggle.bind(Ks)});return ee(qs,{get pressed(){return Ks.pressed},set pressed(zs){Ks.pressed=zs}})}},EquisizedsGroup:class extends de{static get instanceClassName(){return"EquisizedsGroup"}init(){this.isResizing=!0,this.isLoading=!0,this.addAscent(ye.CHANGE,this.resize.bind(this))}load(){this.resize()}resize(){const Ks=this.element.getDescendantInstances("Equisized");this.isLegacy||this.style.setProperty("--equisized-width","auto");const qs=Math.max(...Ks.map(zs=>zs.measure()));this.isLegacy?Ks.forEach(zs=>
1zs.adjust(qs)):this.style.setProperty("--equisized-width",`${qs}px`)}},InjectSvg:class extends de{static get instanceClassName(){return"InjectSvg"}init(){this.node&&(this.img=this.node.querySelector("img")),this.isLegacy||this.replace()}get proxy(){return Object.assign(super.proxy,{replace:this.replace.bind(this),restore:this.restore.bind(this)})}fetch(){this.img&&(this.imgID=this.img.getAttribute("id"),this.imgClass=this.img.getAttribute("class"),this.imgURL=this.img.getAttribute("src"),fetch(this.imgURL).then(Ks=>Ks.text()).then(Ks=>{const qs=(new DOMParser).parseFromString(Ks,"text/html");this.svg=qs.querySelector("svg"),this.svg&&this.replace()}))}replace(){if(!this.svg)return void this.fetch();this.imgID&&void 0!==this.imgID&&this.svg.setAttribute("id",this.imgID);let Ks=this.imgURL.match(/[ \w-]+\./)[0];var qs,zs;Ks&&(Ks=Ks.slice(0,-1),["dark","light","system"].includes(Ks)&&(this.svg.innerHTML=this.svg.innerHTML.replaceAll('id="artwork-',`id="${Ks}-artwork-`),this.svg.innerHTML=this.svg.innerHTML.replaceAll('"#artwork-',`"#${Ks}-artwork-`))),this.imgClass&&void 0!==this.imgClass&&this.svg.setAttribute("class",this.imgClass),this.svg.hasAttribute("xmlns:a")&&this.svg.removeAttribute("xmlns:a"),this.node.setAttribute("data-fr-inject-svg",!0),qs=this.svg,zs={"aria-hidden":!0,focusable:!1},Object.keys(zs).forEach(js=>qs.setAttribute(js,zs[js])),this.node.replaceChild(this.svg,this.img)}restore(){this.img&&this.svg&&(this.node.setAttribute("data-fr-inject-svg",!1),this.node.replaceChild(this.img,this.svg))}},InjectSvgSelector:Ce,Artwork:class extends de{static get instanceClassName(){return"Artwork"}init(){this.isLegacy&&this.replace()}get proxy(){return Object.assign(super.proxy,{replace:this.replace.b
vendor: 5,446 bytes, line 1
1ind(this)})}fetch(){this.xlink=this.node.getAttribute("href");const Ks=this.xlink.split("#");this.svgUrl=Ks[0],this.svgName=Ks[1];const qs=new XMLHttpRequest;qs.onload=()=>{const zs=(new DOMParser).parseFromString(qs.responseText,"text/html");this.realSvgContent=zs.getElementById(this.svgName),this.realSvgContent&&("symbol"===this.realSvgContent.tagName?(this.use=zs.querySelector('use[href="#'+this.svgName+'"]'),this.use&&this.node.parentNode.insertBefore(this.use,this.node)):this.realSvgContent.classList.add(this.node.classList),this.replace())},qs.open("GET",this.svgUrl),qs.send()}replace(){this.realSvgContent?this.node.parentNode.replaceChild(this.realSvgContent,this.node):this.fetch()}},ArtworkSelector:we,AssessFile:class extends de{static get instanceClassName(){return"AssessFile"}init(){this.lang=this.getLang(this.node),this.href=this.getAttribute("href"),this.hreflang=this.getAttribute("hreflang"),this.file={},this.gather(),this.addAscent(De.ADDED,this.update.bind(this)),this.addDescent(De.ADDED,this.update.bind(this))}getFileLength(){void 0!==this.href?fetch(this.href,{method:"HEAD",mode:"cors"}).then(Ks=>{if(!Ks.ok)throw new Error("Unable to access the resource : Status "+Ks.status);if(this.length=Ks.headers.get("content-length")||-1,this.length&&-1===this.length)throw new Error('File size unknown\n Unable to get HTTP header: "content-length"');this.gather()}).catch(Ks=>{this.length=-1,this.gather(),h.warn("Fetch error on assess file : "+this.href+"\n "+Ks)}):this.length=-1}mutate(Ks){-1!==Ks.indexOf("href")&&(this.href=this.getAttribute("href"),this.getFileLength()),-1!==Ks.indexOf("hreflang")&&(this.hreflang=this.getAttribute("hreflang"),this.gather())}gather(){if(this.isLegacy&&(this.length=-1),this.length||this.getFileLength(),this.details=[],this.href){const Ks=this.parseExtension(this.href);Ks&&this.details.push(Ks.toUpperCase())}this.length&&-1!==this.length&&this.details.push(this.bytesToSize(this.length)),this.hreflang&&this.details.push(this.getLangDisplayName(this.hreflang)),this.update()}update(){this.details&&(this.descend(De.UPDATE,this.details),this.ascend(De.UPDATE,this.details))}getLang(Ks){return Ks.lang?Ks.lang:document.documentElement===Ks?window.navigator.language:this.getLang(Ks.parentElement)}parseExtension(Ks){return Ks.match(/\.(\w{1,9})(?:$|[?#])/)[0].replace(".","")}getLangDisplayName(Ks){if(this.isLegacy)return Ks;const qs=new Intl.DisplayNames([this.lang],{type:"language"}).of(Ks);return qs.charAt(0).toUpperCase()+qs.slice(1)}bytesToSize(Ks){if(-1===Ks)return null;let qs=["octets","ko","Mo","Go","To"];"bytes"===this.getAttribute(g.attr("assess-file"))&&(qs=["bytes","KB","MB","GB","TB"]);const zs=parseInt(Math.floor(Math.log(Ks)/Math.log(1e3)),10);if(0===zs)return`${Ks} ${qs[zs]}`;const Vs=Math.round(100*(Ks/1e3**zs+Number.EPSILON))/100;return`${String(Vs).replace(".",",")} ${qs[zs]}`}},AssessDetail:class extends de{static get instanceClassName(){return"AssessDetail"}init(){this.addDescent(De.UPDATE,this.update.bind(this)),this.ascend(De.ADDED)}update(Ks){this.node.innerHTML=Ks.join(" - ")}},AssessEmission:De,AssessSelector:Ne,Ratio:class extends de{static get instanceClassName(){return"Ratio"}init(){if(!Oe.internals.support.supportAspectRatio()){this.ratio=16/9;for(const Ks in this.classNames)if(this.registration.selector.indexOf(this.classNames[Ks])>0){const qs=this.classNames[Ks].split("ratio-");qs[1]&&(this.ratio=qs[1].split("x")[0]/qs[1].split("x")[1])}this.isRendering=!0,this.update()}}render(){this.getRect().width!==this.currentWidth&&this.update()}update(){this.currentWidth=this.getRect().width,this.style.height=this.currentWidth/this.ratio+"px"}},RatioSelector:xe,Placement:class extends de{constructor(Ks=$e.AUTO,qs=[Me.BOTTOM,Me.TOP,Me.LEFT,Me.RIGHT],zs=[Ge.CENTER,Ge.START,Ge.END],js=16){super(),this._mode=Ks,this._places=qs,this._aligns=zs,this._safeAreaMargin=js,this._isShown=!1,this._x=this._y=0}static get instanceClassName(){return"Placement"}init(){this.isResizing=!0}get proxy(){const Ks=this,qs=Object.assign(super.proxy,{show:Ks.show.bind(Ks),hide:Ks.hide.bind(Ks)});return ee(qs,{get mode(){return Ks.mode},set mode(zs){Ks.mode=zs},get place(){return Ks.place},set place(zs){Ks.place=zs},get align(){return Ks.align},set align(zs){Ks.align=zs},get isShown(){return Ks.isShown},set isShown(zs){Ks.isShown=zs}})}get mode(){return this._mode}set mode(Ks){this._mode=Ks}get place(){return this._place}set place(Ks){if(this._place!==Ks){switch(this._place){case Me.TOP:this.removeClass(Pe.TOP);break;case Me.RIGHT:this.removeClass(Pe.RIGHT);break;case Me.BOTTOM:this.removeClass(Pe.BOTTOM);break;case Me.LEFT:this.removeClass(Pe.LEFT)}switch(this._place=Ks,this._place){case Me.TOP:this.addClass(Pe.TOP);break;case Me.RIGHT:this.addClass(Pe.RIGHT);break;case Me.BOTTOM:this.addClass(Pe.BOTTOM);break;case Me.LEFT:this.addClass(Pe.LEFT)}}}get align(){return this._align}set align(Ks){if(this._align!==Ks){switch(this._align){case Ge.START:this.removeClass(ke.START);break;case Ge.CENTER:this.removeClass(ke.CENTER);break;case Ge.END:this.removeClass(ke.END)}switch(this._align=Ks,this._align){case Ge.START:this.addClass(ke.START);break;case Ge.CENTER:this.addClass(ke.CENTER);break;case Ge.END:this.addClass(ke.END)}}}show(){this.isShown=!0}hide(){this.isShown=!1}get isShown(){return this._isShown}set isShown(Ks){this._isShown!==Ks&&this.isEnabled&&(this.isRendering=Ks,this._isShown=Ks)}setReferent(Ks){this._referent=Ks}
vendor: 7,461 bytes, line 1
1render(){if(!this._referent)return;if(this.referentRect=this._referent.getRect(),this.rect=this.getRect(),this.safeArea=this.getSafeArea(),this.mode===$e.AUTO)switch(this.place=this.getPlace(),this.place){case Me.TOP:case Me.BOTTOM:this.align=this.getHorizontalAlign();break;case Me.LEFT:case Me.RIGHT:this.align=this.getVerticalAlign()}let Ks,qs;switch(this.place){case Me.TOP:qs=this.referentRect.top-this.rect.top-this.rect.height;break;case Me.RIGHT:Ks=this.referentRect.left-this.rect.left+this.referentRect.width;break;case Me.BOTTOM:qs=this.referentRect.top-this.rect.top+this.referentRect.height;break;case Me.LEFT:Ks=this.referentRect.left-this.rect.left-this.rect.width}switch(this.place){case Me.TOP:case Me.BOTTOM:switch(this.align){case Ge.CENTER:Ks=this.referentRect.left-this.rect.left+.5*this.referentRect.width-.5*this.rect.width;break;case Ge.START:Ks=this.referentRect.left-this.rect.left;break;case Ge.END:Ks=this.referentRect.left-this.rect.left+this.referentRect.width-this.rect.width}break;case Me.RIGHT:case Me.LEFT:switch(this.align){case Ge.CENTER:qs=this.referentRect.top-this.rect.top+.5*this.referentRect.height-.5*this.rect.height;break;case Ge.START:qs=this.referentRect.top-this.rect.top;break;case Ge.END:qs=this.referentRect.top-this.rect.top-this.rect.height}}this._x+=Ks+.5|0,this._y+=qs+.5|0,this.node.style.transform=`translate(${this._x}px,${this._y}px)`}getPlace(){for(const Ks of this._places)switch(Ks){case Me.TOP:if(this.referentRect.top-this.rect.height>this.safeArea.top)return Me.TOP;break;case Me.RIGHT:if(this.referentRect.right+this.rect.width<this.safeArea.right)return Me.RIGHT;break;case Me.BOTTOM:if(this.referentRect.bottom+this.rect.height<this.safeArea.bottom)return Me.BOTTOM;break;case Me.LEFT:if(this.referentRect.left-this.rect.width>this.safeArea.left)return Me.LEFT}return this._places[0]}getHorizontalAlign(){for(const Ks of this._aligns)switch(Ks){case Ge.CENTER:if(this.referentRect.center-.5*this.rect.width>this.safeArea.left&&this.referentRect.center+.5*this.rect.width<this.safeArea.right)return Ge.CENTER;break;case Ge.START:if(this.referentRect.left+this.rect.width<this.safeArea.right)return Ge.START;break;case Ge.END:if(this.referentRect.right-this.rect.width>this.safeArea.left)return Ge.END}return this._aligns[0]}getVerticalAlign(){for(const Ks of this._aligns)switch(Ks){case Ge.CENTER:if(this.referentRect.middle-.5*this.rect.height>this.safeArea.top&&this.referentRect.middle+.5*this.rect.height<this.safeArea.bottom)return Ge.CENTER;break;case Ge.START:if(this.referentRect.top+this.rect.height<this.safeArea.bottom)return Ge.START;break;case Ge.END:if(this.referentRect.bottom-this.rect.height>this.safeArea.top)return Ge.END}return this._aligns[0]}getSafeArea(){let Ks,qs,zs=this.node,js=this._safeAreaMargin,Vs=window.innerWidth-this._safeAreaMargin,Ys=window.innerHeight-this._safeAreaMargin,Xs=this._safeAreaMargin;for(;zs&&zs!==document.body;){zs=zs.parentElement;const Qs=window.getComputedStyle(zs),Js=/(visible|(\w+))(\s(visible|(\w+)))?/.exec(Qs.overflow);if(Ks=void 0!==Js[2],qs=void 0!==Js[3]?void 0!==Js[5]:void 0!==Js[2],!Ks&&!qs)continue;const Zs=zs.getBoundingClientRect();Ks&&(Zs.left>Xs&&(Xs=Zs.left),Zs.right<Vs&&(Vs=Zs.right)),qs&&(Zs.top>js&&(js=Zs.top),Zs.bottom<Ys&&(Ys=Zs.bottom))}return{top:js,right:Vs,bottom:Ys,left:Xs,center:Xs+.5*(Vs-Xs),middle:js+.5*(Ys-js)}}dispose(){this._referent=null,super.dispose()}},PlacementReferent:class extends de{constructor(){super(),this._isShown=!1}static get instanceClassName(){return"PlacementReferent"}init(){this.registration.creator.setReferent(this),this._placement=this.registration.creator}get placement(){return this._placement}get isShown(){return this._isShown}set isShown(Ks){this._isShown!==Ks&&this.isEnabled&&(this._isShown=Ks,Ks?this.registration.creator.show():this.registration.creator.hide())}show(){this.isShown=!0}hide(){this.isShown=!1}},PlacementAlign:Ge,PlacementPosition:Me,PlacementMode:$e}).CollapseSelector.COLLAPSE,ne.core.Collapse),ne.internals.register(ne.core.InjectSvgSelector.INJECT_SVG,ne.core.InjectSvg),ne.internals.register(ne.core.RatioSelector.RATIO,ne.core.Ratio),ne.internals.register(ne.core.AssessSelector.ASSESS_FILE,ne.core.AssessFile),ne.internals.register(ne.core.AssessSelector.DETAIL,ne.core.AssessDetail);const He={SYSTEM:"system",LIGHT:"light",DARK:"dark"},Ue={THEME:Oe.internals.ns.attr("theme"),SCHEME:Oe.internals.ns.attr("scheme"),TRANSITION:Oe.internals.ns.attr("transition")},Be={LIGHT:"light",DARK:"dark"},Fe={SCHEME:Oe.internals.ns.emission("scheme","scheme"),THEME:Oe.internals.ns.emission("scheme","theme"),ASK:Oe.internals.ns.emission("scheme","ask")},We={SCHEME:Oe.internals.ns.event("scheme"),THEME:Oe.internals.ns.event("theme")};class qe extends Oe.core.Instance{constructor(){super(!1)}static get instanceClassName(){return"Scheme"}init(){this.changing=this.change.bind(this),this.hasAttribute(Ue.TRANSITION)&&(this.removeAttribute(Ue.TRANSITION),this.request(this.restoreTransition.bind(this)));const qs=Oe.internals.support.supportLocalStorage()?localStorage.getItem("scheme"):"",zs=this.getAttribute(Ue.SCHEME);switch(qs){case He.DARK:case He.LIGHT:case He.SYSTEM:this.scheme=qs;break;default:switch(zs){case He.DARK:this.scheme=He.DARK;break;case He.LIGHT:this.scheme=He.LIGHT;break;default:this.scheme=He.SYSTEM}}this.addAscent(Fe.ASK,this.ask.bind(this)),this.addAscent(Fe.SCHEME,this.apply.bind(this))}get proxy(){const qs=this;return Oe.internals.property.completeAssign(super.proxy,{get scheme(){return qs.scheme},set scheme(js){qs.scheme=js}})}restoreTransition(){this.setAttribute(Ue.TRANSITION,"")}ask(){this.descend(Fe.SCHEME,this.scheme)}apply(qs){this.scheme=qs}get scheme(){return this._scheme}set scheme(qs){if(this._scheme!==qs){switch(this._scheme=qs,qs){case He.SYSTEM:this.listenPreferences();break;case He.DARK:this.unlistenPreferences(),this.theme=Be.DARK;break;case He.LIGHT:this.unlistenPreferences(),this.theme=Be.LIGHT;break;default:return void(this.scheme=He.SYSTEM)}this.descend(Fe.SCHEME,qs),Oe.internals.support.supportLocalStorage()&&localStorage.setItem("scheme",qs),this.setAttribute(Ue.SCHEME,qs),this.dispatch(We.SCHEME,{scheme:this._scheme},!1)}}get theme(){return this._theme}set theme(qs){if(this._theme!==qs)switch(qs){case Be.LIGHT:case Be.DARK:this._theme=qs,this.setAttribute(Ue.THEME,qs),this.descend(Fe.THEME,qs),this.dispatch(We.THEME,{theme:this._theme},!1),document.documentElement.style.colorScheme=qs===Be.DARK?"dark":""}}listenPreferences(){this.isListening||(this.isListening=!0,this.mediaQuery=window.matchMedia("(prefers-color-scheme: dark)"),this.mediaQuery.addEventListener&&this.mediaQuery.addEventListener("change",this.changing),this.change())}unlistenPreferences(){this.isListening&&(this.isListening=!1,this.mediaQuery.removeEventListener("change",this.changing),this.mediaQuery=null)}change(){this.isListening&&(this.theme=this.mediaQuery.matches?Be.DARK:Be.LIGHT)}mutate(qs){qs.indexOf(Ue.SCHEME)>-1&&(this.scheme=this.getAttribute(Ue.SCHEME)),qs.indexOf(Ue.THEME)>-1&&(this.theme=this.getAttribute(Ue.THEME))}dispose(){this.unlistenPreferences()}}const ze={SCHEME:`:root${Oe.internals.ns.attr.selector("theme")}, :root${Oe.internals.ns.attr.selector("scheme")}`,SWITCH_THEME:Oe.internals.ns.selector("switch-theme"),RADIO_BUTTONS:`input[name="${Oe.internals.ns("radios-theme")}"]`};Oe.scheme={Scheme:qe,SchemeValue:He,SchemeSelector:ze,SchemeEmission:Fe,SchemeTheme:Be,SchemeEvent:We}
vendor: 4,171 bytes, line 1
1,Oe.internals.register(Oe.scheme.SchemeSelector.SCHEME,Oe.scheme.Scheme);const Ke=Oe.internals.ns.selector("accordion"),je=Oe.internals.ns.selector("collapse"),Ve={GROUP:Oe.internals.ns.selector("accordions-group"),ACCORDION:Ke,COLLAPSE:`${Ke} > ${je}, ${Ke} > *:not(${Ke}):not(${je}) > ${je}, ${Ke} > *:not(${Ke}):not(${je}) > *:not(${Ke}):not(${je}) > ${je}`,COLLAPSE_LEGACY:`${Ke} ${je}`,BUTTON:`${Ke}__btn`};class Ye extends Oe.core.Instance{static get instanceClassName(){return"Accordion"}get collapsePrimary(){return this.element.children.map(qs=>qs.getInstance("CollapseButton")).filter(qs=>null!==qs&&qs.hasClass(Ve.BUTTON))[0]}}class Xe extends Oe.core.CollapsesGroup{static get instanceClassName(){return"AccordionsGroup"}validate(qs){const zs=qs.node.matches(Oe.internals.legacy.isLegacy?Ve.COLLAPSE_LEGACY:Ve.COLLAPSE);return super.validate(qs)&&zs}}Oe.accordion={Accordion:Ye,AccordionSelector:Ve,AccordionsGroup:Xe},Oe.internals.register(Oe.accordion.AccordionSelector.GROUP,Oe.accordion.AccordionsGroup),Oe.internals.register(Oe.accordion.AccordionSelector.ACCORDION,Oe.accordion.Accordion);const Qe={EQUISIZED_BUTTON:`${Oe.internals.ns.selector("btns-group--equisized")} ${Oe.internals.ns.selector("btn")}`,EQUISIZED_GROUP:Oe.internals.ns.selector("btns-group--equisized")};Oe.button={ButtonSelector:Qe},Oe.internals.register(Oe.button.ButtonSelector.EQUISIZED_BUTTON,Oe.core.Equisized),Oe.internals.register(Oe.button.ButtonSelector.EQUISIZED_GROUP,Oe.core.EquisizedsGroup);class Ze extends Oe.core.Instance{static get instanceClassName(){return"CardDownload"}init(){this.addAscent(Oe.core.AssessEmission.UPDATE,qs=>{this.descend(Oe.core.AssessEmission.UPDATE,qs)}),this.addAscent(Oe.core.AssessEmission.ADDED,()=>{this.descend(Oe.core.AssessEmission.ADDED)})}}const Je={DOWNLOAD:Oe.internals.ns.selector("card--download"),DOWNLOAD_DETAIL:`${Oe.internals.ns.selector("card--download")} ${Oe.internals.ns.selector("card__end")} ${Oe.internals.ns.selector("card__detail")}`};Oe.card={CardSelector:Je,CardDownload:Ze},Oe.internals.register(Oe.card.CardSelector.DOWNLOAD,Oe.card.CardDownload),Oe.internals.register(Oe.card.CardSelector.DOWNLOAD_DETAIL,Oe.core.AssessDetail);const et={INPUT:`${Oe.internals.ns.selector("checkbox-group")} input[type="checkbox"]`},tt={CHANGE:Oe.internals.ns.emission("checkbox","change"),RETRIEVE:Oe.internals.ns.emission("checkbox","retrieve")};class st extends Oe.core.Instance{static get instanceClassName(){return"CheckboxInput"}constructor(){super(),this._handlingChange=this.handleChange.bind(this)}init(){this.node.addEventListener("change",this._handlingChange),this.addDescent(tt.RETRIEVE,this._handlingChange),this.handleChange()}get isChecked(){return this.node.checked}handleChange(){this.ascend(tt.CHANGE,this.node)}}Oe.checkbox={CheckboxSelector:et,CheckboxEmission:tt,CheckboxInput:st},Oe.internals.register(Oe.checkbox.CheckboxSelector.INPUT,Oe.checkbox.CheckboxInput);const it={SEGMENTED:Oe.internals.ns.selector("segmented"),SEGMENTED_ELEMENTS:Oe.internals.ns.selector("segmented__elements"),SEGMENTED_ELEMENT:Oe.internals.ns.selector("segmented__element input"),SEGMENTED_LEGEND:Oe.internals.ns.selector("segmented__legend")},nt={ADDED:Oe.internals.ns.emission("segmented","added"),REMOVED:Oe.internals.ns.emission("segmented","removed")};class rt extends Oe.core.Instance{static get instanceClassName(){return"Segmented"}init(){this.elements=this.node.querySelector(it.SEGMENTED_ELEMENTS),this.legend=this.node.querySelector(it.SEGMENTED_LEGEND),this.addAscent(nt.ADDED,this.resize.bind(this)),this.addAscent(nt.REMOVED,this.resize.bind(this)),this._isLegendInline=this.legend&&this.legend.classList.contains(`${Oe.prefix}-segmented__legend--inline`),this.isResizing=!0}resize(){const qs=`${Oe.prefix}-segmented--vertical`,zs=`${Oe.prefix}-segmented__legend--inline`;this.removeClass(qs),this._isLegendInline&&(this.legend.classList.add(zs),(this.node.offsetWidth>this.node.parentNode.offsetWidth||this.elements.scrollWidth+this.legend.offsetWidth+16>this.node.parentNode.offsetWidth)&&this.legend.classList.remove(zs)),this.elements.offsetWidth>this.node.parentNode.offsetWidth||this.elements.scrollWidth>
vendor: 9,324 bytes, line 1
1this.node.parentNode.offsetWidth?this.addClass(qs):this.removeClass(qs)}}class at extends Oe.core.Instance{static get instanceClassName(){return"SegmentedElement"}init(){this.ascend(nt.ADDED)}dispose(){this.ascend(nt.REMOVED)}}Oe.segmented={SegmentedSelector:it,SegmentedEmission:nt,SegmentedElement:at,Segmented:rt},Oe.internals.register(Oe.segmented.SegmentedSelector.SEGMENTED,Oe.segmented.Segmented),Oe.internals.register(Oe.segmented.SegmentedSelector.SEGMENTED_ELEMENT,Oe.segmented.SegmentedElement);const ot={BREADCRUMB:Oe.internals.ns.selector("breadcrumb"),BUTTON:Oe.internals.ns.selector("breadcrumb__button")};class ht extends Oe.core.Instance{constructor(){super(),this.count=0,this.focusing=this.focus.bind(this)}static get instanceClassName(){return"Breadcrumb"}init(){this.getCollapse(),this.isResizing=!0}get proxy(){return Object.assign(super.proxy,{focus:this.focus.bind(this),disclose:this.collapse.disclose.bind(this.collapse)})}getCollapse(){const qs=this.collapse;qs?qs.listen(Oe.core.DisclosureEvent.DISCLOSE,this.focusing):this.addAscent(Oe.core.DisclosureEmission.ADDED,this.getCollapse.bind(this))}resize(){const qs=this.collapse,zs=this.links;qs&&zs.length&&(this.isBreakpoint(Oe.core.Breakpoints.MD)?qs.buttonHasFocus&&zs[0].focus():zs.indexOf(document.activeElement)>-1&&qs.focus())}get links(){return[...this.querySelectorAll("a[href]")]}get collapse(){return this.element.getDescendantInstances(Oe.core.Collapse.instanceClassName,null,!0)[0]}focus(){this.count=0,this._focus()}_focus(){const qs=this.links[0];qs&&(qs.focus(),this.request(this.verify.bind(this)))}verify(){if(this.count++,this.count>100)return;const qs=this.links[0];qs&&document.activeElement!==qs&&this._focus()}get collapsePrimary(){return this.element.children.map(qs=>qs.getInstance("CollapseButton")).filter(qs=>null!==qs&&qs.hasClass(ot.BUTTON))[0]}}Oe.breadcrumb={BreadcrumbSelector:ot,Breadcrumb:ht},Oe.internals.register(Oe.breadcrumb.BreadcrumbSelector.BREADCRUMB,Oe.breadcrumb.Breadcrumb);const ct={TOOLTIP:Oe.internals.ns.selector("tooltip"),SHOWN:Oe.internals.ns.selector("tooltip--shown"),HIDDING:Oe.internals.ns.selector("tooltip--hidding"),BUTTON:Oe.internals.ns.selector("btn--tooltip")},lt=1,dt=2;class ut extends Oe.core.PlacementReferent{constructor(){super(),this._state=0}static get instanceClassName(){return"TooltipReferent"}init(){if(super.init(),this.listen("focusin",this.focusIn.bind(this)),this.listen("focusout",this.focusOut.bind(this)),!this.matches(ct.BUTTON)){const qs=this.mouseover.bind(this);this.listen("mouseover",qs),this.placement.listen("mouseover",qs);const zs=this.mouseout.bind(this);this.listen("mouseout",zs),this.placement.listen("mouseout",zs)}this.addEmission(Oe.core.RootEmission.KEYDOWN,this._keydown.bind(this)),this.listen("click",this._click.bind(this)),this.addEmission(Oe.core.RootEmission.CLICK,this._clickOut.bind(this))}_click(){this.focusIn()}_clickOut(qs){this.node.contains(qs)||this.blur()}_keydown(qs){qs===Oe.core.KeyCodes.ESCAPE&&this.close()}close(){this.state=0}get state(){return this._state}set state(qs){this._state!==qs&&(this.isShown=qs>0,this._state=qs)}focusIn(){this.state|=1}focusOut(){this.state&=-2}mouseover(){this.state|=2}mouseout(){this.state&=-3}}const gt={SHOW:g.event("show"),HIDE:g.event("hide")},pt="hidden",mt="shown",_t="hiding";class bt extends Oe.core.Placement{constructor(){super(Oe.core.PlacementMode.AUTO,[Oe.core.PlacementPosition.TOP,Oe.core.PlacementPosition.BOTTOM],[Oe.core.PlacementAlign.CENTER,Oe.core.PlacementAlign.START,Oe.core.PlacementAlign.END]),this.modifier="",this._state=pt}static get instanceClassName(){return"Tooltip"}init(){super.init(),this.register(`[aria-describedby="${this.id}"]`,ut),this.listen("transitionend",this.transitionEnd.bind(this))}transitionEnd(){this._state===_t&&(this.removeClass(ct.SHOWN),this.removeClass(ct.HIDDING),this._state=pt,this.isShown=!1)}get isShown(){return super.isShown}set isShown(qs){if(this.isEnabled)switch(!0){case qs:this._state=mt,this.addClass(ct.SHOWN),this.removeClass(ct.HIDDING),this.dispatch(gt.SHOW),super.isShown=!0;break;case this.isShown&&!qs&&this._state===mt:this._state=_t,this.addClass(ct.HIDDING);break;case this.isShown&&!qs&&this._state===pt:this.dispatch(gt.HIDE),this.removeClass(ct.HIDDING),super.isShown=!1}}render(){super.render(),this.rect=this.getRect();let qs=this.referentRect.center-this.rect.center;const zs=.5*this.rect.width-8;qs<-zs&&(qs=-zs),qs>zs&&(qs=zs),this.setProperty("--arrow-x",`${qs.toFixed(2)}px`)}}Oe.tooltip={Tooltip:bt,TooltipSelector:ct,TooltipEvent:gt},Oe.internals.register(Oe.tooltip.TooltipSelector.TOOLTIP,Oe.tooltip.Tooltip);class Et extends Oe.core.Instance{static get instanceClassName(){return"ToggleInput"}get isChecked(){return this.node.checked}}class ft extends Oe.core.Instance{static get instanceClassName(){return"ToggleStatusLabel"}init(){this.register(`input[id="${this.getAttribute("for")}"]`,Et),this.update(),this.isSwappingFont=!0}get proxy(){return Object.assign(super.proxy,{update:this.update.bind(this)})}get input(){return this.getRegisteredInstances("ToggleInput")[0]}update(){this.node.style.removeProperty("--toggle-status-width");const qs=this.input.isChecked,zs=getComputedStyle(this.node,":before");let js=parseFloat(zs.width);this.input.node.checked=!qs;const Vs=getComputedStyle(this.node,":before"),Ys=parseFloat(Vs.width);Ys>js&&(js=Ys),this.input.node.checked=qs,this.node.style.setProperty("--toggle-status-width",js/16+"rem")}swapFont(qs){this.update()}}const At={STATUS_LABEL:`${Oe.internals.ns.selector("toggle__label")}${Oe.internals.ns.attr.selector("checked-label")}${Oe.internals.ns.attr.selector("unchecked-label")}`};Oe.toggle={ToggleStatusLabel:ft,ToggleSelector:At},Oe.internals.register(Oe.toggle.ToggleSelector.STATUS_LABEL,Oe.toggle.ToggleStatusLabel);const Tt=Oe.internals.ns.selector("sidemenu__item"),vt=Oe.internals.ns.selector("collapse"),St={LIST:Oe.internals.ns.selector("sidemenu__list"),COLLAPSE:`${Tt} > ${vt}, ${Tt} > *:not(${Tt}):not(${vt}) > ${vt}, ${Tt} > *:not(${Tt}):not(${vt}) > *:not(${Tt}):not(${vt}) > ${vt}`,COLLAPSE_LEGACY:`${Tt} ${vt}`,ITEM:Oe.internals.ns.selector("sidemenu__item"),BUTTON:Oe.internals.ns.selector("sidemenu__btn")};class yt extends Oe.core.CollapsesGroup{static get instanceClassName(){return"SidemenuList"}validate(qs){return super.validate(qs)&&qs.node.matches(Oe.internals.legacy.isLegacy?St.COLLAPSE_LEGACY:St.COLLAPSE)}}class Ct extends Oe.core.Instance{static get instanceClassName(){return"SidemenuItem"}get collapsePrimary(){return this.element.children.map(qs=>qs.getInstance("CollapseButton")).filter(qs=>null!==qs&&qs.hasClass(St.BUTTON))[0]}}Oe.sidemenu={SidemenuList:yt,SidemenuItem:Ct,SidemenuSelector:St},Oe.internals.register(Oe.sidemenu.SidemenuSelector.LIST,Oe.sidemenu.SidemenuList),Oe.internals.register(Oe.sidemenu.SidemenuSelector.ITEM,Oe.sidemenu.SidemenuItem);const wt={MODAL:Oe.internals.ns.selector("modal"),SCROLL_DIVIDER:Oe.internals.ns.selector("scroll-divider"),BODY:Oe.internals.ns.selector("modal__body"),TITLE:Oe.internals.ns.selector("modal__title")};class Nt extends Oe.core.DisclosureButton{constructor(){super(Oe.core.DisclosureType.OPENED)}static get instanceClassName(){return"ModalButton"}}const Dt={CONCEALING_BACKDROP:Oe.internals.ns.attr("concealing-backdrop")};class Rt extends Oe.core.Disclosure{constructor(){super(Oe.core.DisclosureType.OPENED,wt.MODAL,Nt,"ModalsGroup"),this._isDecorated=!1,this.scrolling=this.resize.bind(this,!1),this.resizing=this.resize.bind(this,!0)}static get instanceClassName(){return"Modal"}init(){super.init(),this._isDialog="DIALOG"===this.node.tagName,this.listenClick(),this.addEmission(Oe.core.RootEmission.KEYDOWN,this._keydown.bind(this))}_keydown(qs){qs===Oe.core.KeyCodes.ESCAPE&&this._escape()}_escape(){const qs=document.activeElement?document.activeElement.tagName:void 0;if(!document.activeElement||!document.activeElement.hasAttribute("data-fr-js-tooltip-referent"))switch(qs){case"INPUT":case"LABEL":case"TEXTAREA":case"SELECT":case"AUDIO":case"VIDEO":break;default:this.isDisclosed&&(this.conceal(),this.focus())}}retrieved(){this._ensureAccessibleName()}get body(){return this.element.getDescendantInstances("ModalBody","Modal")[0]}handleClick(qs){qs.target===this.node&&"false"!==this.getAttribute(Dt.CONCEALING_BACKDROP)&&this.conceal()}disclose(qs){return!!super.disclose(qs)&&(this.body&&(this.body.isResizing=!0,this.body.resize()),this.isScrollLocked=!0,this.setAttribute("aria-modal","true"),this.setAttribute("open","true"),this._isDialog||this.decorateDialog(),!0)}conceal(qs,zs){return!!super.conceal(qs,zs)&&(this.isScrollLocked=!1,this.removeAttribute("aria-modal"),this.removeAttribute("open"),this.body&&(this.body.isResizing=!1),this._isDialog||this.stripDialog(),!0)}get isDialog(){return this._isDialog}set isDialog(qs){this._isDialog=qs}get isActive(){return super.isActive}set isActive(qs){super.isActive=qs,qs&&this._ensureAccessibleName()}decorateDialog(){this._isDecorated||(this._isDecorated=!0,this._hasDialogRole="dialog"===this.getAttribute("role"),this._hasDialogRole||this.setAttribute("role","dialog"))}stripDialog(){this._isDecorated&&(this._isDecorated=!1,this._hasDialogRole||this.removeAttribute("role"))}_setAccessibleName(qs,zs){const js=this.retrieveNodeId(qs,zs);this.warn(`add reference to ${zs}
1 for accessible name (aria-labelledby)`),this.setAttribute("aria-labelledby",js)}_ensureAccessibleName(){if(!this.isActive||!this.isEnabled||this.isEnabled&&(this.hasAttribute("aria-labelledby")||this.hasAttribute("aria-label")))return;this.warn("missing accessible name");const qs=this.node.querySelector(wt.TITLE),zs=this.primaryButtons[0];switch(!0){case null!==qs:this._setAccessibleName(qs,"title");break;case void 0!==zs:this.warn("missing required title, fallback to primary button"),this._setAccessibleName(zs,"primary")}}}const Lt=['[tabindex="0"]',"a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details","iframe"].join(),It=['[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'].join(),xt=(Ks,qs)=>{if(!(Ks instanceof Element))return!1;const zs=(window.frameElement?window.frameElement.contentWindow:window).getComputedStyle(Ks);if(!zs||"hidden"===zs.visibility)return!1;for(void 0===qs&&(qs=Ks);qs.contains(Ks);){if("none"===zs.display)return!1;Ks=Ks.parentElement}return!0};class Ot{constructor(qs,zs){this.element=null,this.activeElement=null,this.onTrap=qs,this.onUntrap=zs,this.waiting=this.wait.bind(this),this.handling=this.handle.bind(this),this.focusing=this.maintainFocus.bind(this),this.current=null,this.window=window.frameElement?window.frameElement.contentWindow:window}get trapped(){return null!==this.element}trap(qs){this.trapped&&this.untrap(),this.element=qs,this.isTrapping=!0,this.wait(),this.onTrap&&this.onTrap()}wait(){xt(this.element)?this.trapping():this.window.requestAnimationFrame(this.waiting)}trapping(){if(!this.isTrapping)return;this.isTrapping=!1;const qs=this.focusables;qs.length&&-1===qs.indexOf(this.window.document.activeElement)&&qs[0].focus(),this.element.setAttribute("aria-modal",!0),this.window.addEventListener("keydown",this.handling),this.window.document.body.addEventListener("focus",this.focusing,!0)}stun(qs){for(const zs of qs.children)zs!==this.element&&(zs.contains(this.element)?this.stun(zs):this.stunneds.push(new Pt(zs)))}maintainFocus(qs){if(!this.element.contains(qs.target)){const zs=this.focusables;if(0===zs.length)return;const js=zs[0];qs.preventDefault(),js.focus()}}handle(qs){if(9!==qs.keyCode)return;const zs=this.focusables;if(0===zs.length)return;const js=zs[0],Vs=zs[zs.length-1],Ys=zs.indexOf(this.window.document.activeElement);qs.shiftKey?!this.element.contains(this.window.document.activeElement)||Ys<1?(qs.preventDefault(),Vs.focus()):(this.window.document.activeElement.tabIndex>0||zs[Ys-1].tabIndex>0)&&(qs.preventDefault(),zs[Ys-1].focus()):this.element.contains(this.window.document.activeElement)&&Ys!==zs.length-1&&-1!==Ys?this.window.document.activeElement.tabIndex>0&&(qs.preventDefault(),zs[Ys+1].focus()):(qs.preventDefault(),js.focus())}get focusables(){let qs=Oe.internals.dom.querySelectorAllArray(this.element,Lt);const zs=Oe.internals.dom.querySelectorAllArray(this.window.document.documentElement,'input[type="radio"]');if(zs.length){const Ys={};for(const Xs of zs){const Qs=Xs.getAttribute("name");void 0===Ys[Qs]&&(Ys[Qs]=new kt(Qs)),Ys[Qs].push(Xs)}qs=qs.filter(Xs=>{if("input"!==Xs.tagName.toLowerCase()||Xs.getAttribute("type")&&"radio"!==Xs.getAttribute("type").toLowerCase())return!0;const Qs=Xs.getAttribute("name");return Ys[Qs].keep(Xs)})}const js=Oe.internals.dom.querySelectorAllArray(this.element,It);js.sort((Ys,Xs)=>Ys.tabIndex-Xs.tabIndex);const Vs=qs.filter(Ys=>-1===js.indexOf(Ys));return js.concat(Vs).filter(Ys=>"-1"!==Ys.tabIndex&&xt(Ys,this.element))}untrap(){this.trapped&&(this.isTrapping=!1,this.element.removeAttribute("aria-modal"),this.window.removeEventListener("keydown",this.handling),this.window.document.body.removeEventListener("focus",this.focusing,!0),this.element=null,this.onUntrap&&this.onUntrap())}dispose(){this.untrap()}}class Pt{constructor(qs){this.element=qs,this.inert=qs.getAttribute("inert"),this.element.setAttribute("inert","")}unstun(){null===this.inert?this.element.removeAttribute("inert"):this.element.setAttribute("inert",this.inert)}}class kt{constructor(qs){this.name=qs,this.buttons=[]}push(qs){this.buttons.push(qs),(qs===(window.frameElement?window.frameElement.contentWindow:window).document.activeElement||qs.checked||void 0===this.selected)&&(this.selected=qs)}keep(qs){return this.selected===qs}}class Mt extends Oe.core.DisclosuresGroup{constructor(){super("Modal",!1),this.focusTrap=new Ot}
vendor: 18,321 bytes, line 1
1static get instanceClassName(){return"ModalsGroup"}apply(qs,zs){super.apply(qs,zs),null===this.current?this.focusTrap.untrap():this.focusTrap.trap(this.current.node)}}class Gt extends Oe.core.Instance{static get instanceClassName(){return"ModalBody"}init(){this.listen("scroll",this.divide.bind(this))}divide(){this.node.scrollHeight>this.node.clientHeight?this.node.offsetHeight+this.node.scrollTop>=this.node.scrollHeight?this.removeClass(wt.SCROLL_DIVIDER):this.addClass(wt.SCROLL_DIVIDER):this.removeClass(wt.SCROLL_DIVIDER)}resize(){this.adjust(),this.request(this.adjust.bind(this))}adjust(){const qs=window.frameElement,zs=qs?qs.contentWindow:window,js=32*(this.isBreakpoint(Oe.core.Breakpoints.MD)?2:1);this.isLegacy?this.style.maxHeight=zs.innerHeight-js+"px":this.style.setProperty("--modal-max-height",zs.innerHeight-js+"px"),this.divide()}}Oe.modal={Modal:Rt,ModalButton:Nt,ModalBody:Gt,ModalsGroup:Mt,ModalSelector:wt},Oe.internals.register(Oe.modal.ModalSelector.MODAL,Oe.modal.Modal),Oe.internals.register(Oe.modal.ModalSelector.BODY,Oe.modal.ModalBody),Oe.internals.register(Oe.core.RootSelector.ROOT,Oe.modal.ModalsGroup);const $t={TOGGLE:Oe.internals.ns.emission("password","toggle"),ADJUST:Oe.internals.ns.emission("password","adjust")};class Ht extends Oe.core.Instance{static get instanceClassName(){return"PasswordToggle"}init(){this.listenClick(),this.ascend($t.ADJUST,this.width),this.isSwappingFont=!0,this._isChecked=this.isChecked}get width(){const qs=getComputedStyle(this.node.parentNode);return parseInt(qs.width)}get isChecked(){return this.node.checked}set isChecked(qs){this._isChecked=qs,this.ascend($t.TOGGLE,qs)}handleClick(){this.isChecked=!this._isChecked}swapFont(qs){this.ascend($t.ADJUST,this.width)}}class Ut extends Oe.core.Instance{static get instanceClassName(){return"Password"}init(){this.addAscent($t.TOGGLE,this.toggle.bind(this)),this.addAscent($t.ADJUST,this.adjust.bind(this))}toggle(qs){this.descend($t.TOGGLE,qs)}adjust(qs){this.descend($t.ADJUST,qs)}}const Bt={PASSWORD:Oe.internals.ns.selector("password"),INPUT:Oe.internals.ns.selector("password__input"),LABEL:Oe.internals.ns.selector("password__label"),TOOGLE:`${Oe.internals.ns.selector("password__checkbox")} input[type="checkbox"]`};class Ft extends Oe.core.Instance{static get instanceClassName(){return"PasswordInput"}init(){this.addDescent($t.TOGGLE,this.toggle.bind(this)),this._isRevealed="password"===this.hasAttribute("type"),this.listen("keydown",this.capslock.bind(this)),this.listen("keyup",this.capslock.bind(this))}toggle(qs){this.isRevealed=qs,this.setAttribute("type",qs?"text":"password")}get isRevealed(){return this._isRevealed}capslock(qs){qs&&"function"!=typeof qs.getModifierState||(qs.getModifierState("CapsLock")?this.node.parentNode.setAttribute(Oe.internals.ns.attr("capslock"),""):this.node.parentNode.removeAttribute(Oe.internals.ns.attr("capslock")))}set isRevealed(qs){this._isRevealed=qs,this.setAttribute("type",qs?"text":"password")}}class Wt extends Oe.core.Instance{static get instanceClassName(){return"PasswordLabel"}init(){this.addDescent($t.ADJUST,this.adjust.bind(this))}adjust(qs){const zs=Math.ceil(qs/16);this.node.style.paddingRight=zs+"rem"}}Oe.password={Password:Ut,PasswordToggle:Ht,PasswordSelector:Bt,PasswordInput:Ft,PasswordLabel:Wt},Oe.internals.register(Oe.password.PasswordSelector.INPUT,Oe.password.PasswordInput),Oe.internals.register(Oe.password.PasswordSelector.PASSWORD,Oe.password.Password),Oe.internals.register(Oe.password.PasswordSelector.TOOGLE,Oe.password.PasswordToggle),Oe.internals.register(Oe.password.PasswordSelector.LABEL,Oe.password.PasswordLabel);const qt=Oe.internals.ns.selector("nav__item"),zt=Oe.internals.ns.selector("collapse"),Kt={NAVIGATION:Oe.internals.ns.selector("nav"),COLLAPSE:`${qt} > ${zt}, ${qt} > *:not(${qt}):not(${zt}) > ${zt}, ${qt} > *:not(${qt}):not(${zt}) > *:not(${qt}):not(${zt}) > ${zt}`,COLLAPSE_LEGACY:`${qt} ${zt}`,ITEM:qt,ITEM_RIGHT:`${qt}--align-right`,MENU:Oe.internals.ns.selector("menu"),BUTTON:Oe.internals.ns.selector("nav__btn"),TRANSLATE_BUTTON:Oe.internals.ns.selector("translate__btn")};class jt extends Oe.core.Instance{constructor(){super(),this._isRightAligned=!1}static get instanceClassName(){return"NavigationItem"}init(){this.addAscent(Oe.core.DisclosureEmission.ADDED,this.calculate.bind(this)),this.addAscent(Oe.core.DisclosureEmission.REMOVED,this.calculate.bind(this)),this.isResizing=!0,this.calculate()}resize(){this.calculate()}calculate(){const qs=this.element.getDescendantInstances(Oe.core.Collapse.instanceClassName,null,!0)[0];if(qs&&this.isBreakpoint(Oe.core.Breakpoints.LG)&&qs.element.node.matches(Kt.MENU)){const zs=this.element.node.parentElement.getBoundingClientRect().right,js=qs.element.node.getBoundingClientRect().width,Vs=this.element.node.getBoundingClientRect().left;this.isRightAligned=Vs+js>zs}else this.isRightAligned=!1}get isRightAligned(){return this._isRightAligned}set isRightAligned(qs){this._isRightAligned!==qs&&(this._isRightAligned=qs,qs?Oe.internals.dom.addClass(this.element.node,Kt.ITEM_RIGHT):Oe.internals.dom.removeClass(this.element.node,Kt.ITEM_RIGHT))}get collapsePrimary(){return this.element.children.map(qs=>qs.getInstance("CollapseButton")).filter(qs=>null!==qs&&(qs.hasClass(Kt.BUTTON)||qs.hasClass(Kt.TRANSLATE_BUTTON)))[0]}}const Vt={NONE:-1,INSIDE:0,OUTSIDE:1};class Yt extends Oe.core.CollapsesGroup{static get instanceClassName(){return"Navigation"}init(){super.init(),this.clicked=!1,this.out=!1,this.addEmission(Oe.core.RootEmission.CLICK,this._handleRootClick.bind(this)),this.listen("mousedown",this.handleMouseDown.bind(this)),this.addEmission(Oe.core.RootEmission.KEYDOWN,this._keydown.bind(this)),this.listenClick({capture:!0}),this.isResizing=!0}validate(qs){return super.validate(qs)&&qs.element.node.matches(Oe.internals.legacy.isLegacy?Kt.COLLAPSE_LEGACY:Kt.COLLAPSE)}get hasOpenedMenu(){return this.isBreakpoint(Oe.core.Breakpoints.LG)&&this.index>-1}_keydown(qs){switch(qs){case Oe.core.KeyCodes.ESCAPE:if(!this.hasOpenedMenu)return;this.index=-1;break;case Oe.core.KeyCodes.TAB:if(!this.hasOpenedMenu)return;this.request(()=>{this.current.node.contains(document.activeElement)||(this.index=-1)})}}handleMouseDown(qs){this.hasOpenedMenu&&(this.position=this.current.node.contains(qs.target)?Vt.INSIDE:Vt.OUTSIDE,this.requestPosition())}handleClick(qs){!qs.target.matches("a, button")||qs.target.matches("[aria-controls]")||qs.target.matches(Oe.core.DisclosureSelector.PREVENT_CONCEAL)||(this.index=-1)}_handleRootClick(qs){this.isBreakpoint(Oe.core.Breakpoints.LG)&&(this.node.contains(qs)||(this.out=!0,this.requestPosition()))}requestPosition(){this.isRequesting||(this.isRequesting=!0,this.request(this.getPosition.bind(this)))}getPosition(){if(this.out)switch(this.position){case Vt.OUTSIDE:this.index=-1;break;case Vt.INSIDE:this.current&&!this.current.node.contains(document.activeElement)&&this.current.focus();break;default:this.index>-1&&!this.current.hasFocus&&(this.index=-1)}this.request(this.requested.bind(this))}requested(){this.position=Vt.NONE,this.out=!1,this.isRequesting=!1}get index(){return super.index}set index(qs){-1===qs&&this.current&&this.current.hasFocus&&this.current.focus(),super.index=qs}get canUngroup(){return!this.isBreakpoint(Oe.core.Breakpoints.LG)}resize(){this.update()}}Oe.navigation={Navigation:Yt,NavigationItem:jt,NavigationMousePosition:Vt,NavigationSelector:Kt},Oe.internals.register(Oe.navigation.NavigationSelector.NAVIGATION,Oe.navigation.Navigation),Oe.internals.register(Oe.navigation.NavigationSelector.ITEM,Oe.navigation.NavigationItem);class Xt extends Oe.core.DisclosureButton{constructor(){super(Oe.core.DisclosureType.SELECT)}static get instanceClassName(){return"TabButton"}handleClick(qs){super.handleClick(qs),this.focus()}apply(qs){super.apply(qs),this.isPrimary&&(this.setAttribute("tabindex",qs?"0":"-1"),qs&&this.list&&this.list.focalize(this))}get list(){return this.element.getAscendantInstance("TabsList","TabsGroup")}}const Qt={TAB:Oe.internals.ns.selector("tabs__tab"),GROUP:Oe.internals.ns.selector("tabs"),PANEL:Oe.internals.ns.selector("tabs__panel"),LIST:Oe.internals.ns.selector("tabs__list"),SHADOW:Oe.internals.ns.selector("tabs__shadow"),SHADOW_LEFT:Oe.internals.ns.selector("tabs__shadow--left"),SHADOW_RIGHT:Oe.internals.ns.selector("tabs__shadow--right"),PANEL_START:Oe.internals.ns.selector("tabs__panel--direction-start"),PANEL_END:Oe.internals.ns.selector("tabs__panel--direction-end")},Zt="direction-start",Jt="direction-end",es="none";class ts extends Oe.core.Disclosure{constructor(){super(Oe.core.DisclosureType.SELECT,Qt.PANEL,Xt,"TabsGroup"),this._direction=es,this._isPreventingTransition=!1}static get instanceClassName(){return"TabPanel"}get direction(){return this._direction}set direction(qs){if(qs!==this._direction){switch(this._direction){case Zt:this.removeClass(Qt.PANEL_START);break;case Jt:this.removeClass(Qt.PANEL_END);break;case es:break;default:return}switch(this._direction=qs,this._direction){case Zt:this.addClass(Qt.PANEL_START);break;case Jt:this.addClass(Qt.PANEL_END)}}}get isPreventingTransition(){return this._isPreventingTransition}set isPreventingTransition(qs){this._isPreventingTransition!==qs&&(qs?this.addClass(Oe.internals.motion.TransitionSelector.NONE):this.removeClass(Oe.internals.motion.TransitionSelector.NONE),this._isPreventingTransition=!0===qs)}translate(qs,zs){this.isPreventingTransition=zs,this.direction=qs}reset(){this.group&&this.group.retrieve(!0)}_electPrimaries(qs){return this.group&&this.group.list?super._electPrimaries(qs).filter(zs=>this.group.list.node.contains(zs.node)):[]}}const ss="tab_keys_left",is="tab_keys_right",ns="tab_keys_home",rs="tab_keys_end",as={PRESS_KEY:Oe.internals.ns.emission("tab","press_key"),LIST_HEIGHT:Oe.internals.ns.emission("tab","list_height")};class os extends Oe.core.DisclosuresGroup{constructor(){super("TabPanel")}static get instanceClassName(){return"TabsGroup"}init(){super.init(),this.listen("transitionend",this.transitionend.bind(this)),this.addAscent(as.PRESS_KEY,this.pressKey.bind(this)),this.addAscent(as.LIST_HEIGHT,this.setListHeight.bind(this)),this.isRendering=!0}getIndex(qs=0){super.getIndex(qs)}get list(){return this.element.getDescendantInstances("TabsList","TabsGroup",!0)[0]}setListHeight(qs){this.listHeight=qs}transitionend(qs){this.isPreventingTransition=!0}get buttonHasFocus(){return this.members.some(qs=>qs.buttonHasFocus)}pressKey(qs){switch(qs){case ss:this.pressLeft();break;case is:this.pressRight();break;case ns:this.pressHome();break;case rs:this.pressEnd()}}pressRight(){this.buttonHasFocus&&(this.index<this.length-1?this.index++:this.index=0,this.focus())}pressLeft(){this.buttonHasFocus&&(this.index>0?this.index--:this.index=this.length-1,this.focus())}pressHome(){this.buttonHasFocus&&(this.index=0,this.focus())}pressEnd(){this.buttonHasFocus&&(this.index=this.length-1,this.focus())}focus(){this.current&&this.current.focus()}apply(){for(let qs=0;qs<this._index;qs++)this.members[qs].translate(Zt);this.current&&this.current.translate(es);for(let qs=this._index+1;qs<this.length;qs++)this.members[qs].translate(Jt);this.isPreventingTransition=!1}get isPreventingTransition(){return this._isPreventingTransition}set isPreventingTransition(qs){this._isPreventingTransition!==qs&&(qs?this.addClass(Oe.internals.motion.TransitionSelector.NONE):this.removeClass(Oe.internals.motion.TransitionSelector.NONE),this._isPreventingTransition=!0===qs)}render(){if(null===this.current)return;this.node.scrollTop=0,this.node.scrollLeft=0;const qs=Math.round(this.current.node.offsetHeight);this.panelHeight!==qs&&(this.panelHeight=qs,this.style.setProperty("--tabs-height",this.panelHeight+this.listHeight+"px"))}}class hs extends Oe.core.Instance{static get instanceClassName(){return"TabsList"}init(){this.listen("scroll",this.scroll.bind(this)),this.listenKey(Oe.core.KeyCodes.RIGHT,this.ascend.bind(this,as.PRESS_KEY,is),!0,!0),this.listenKey(Oe.core.KeyCodes.LEFT,this.ascend.bind(this,as.PRESS_KEY,ss),!0,!0),this.listenKey(Oe.core.KeyCodes.HOME,this.ascend.bind(this,as.PRESS_KEY,ns),!0,!0),this.listenKey(Oe.core.KeyCodes.END,this.ascend.bind(this,as.PRESS_KEY,rs),!0,!0),this.isResizing=!0}focalize(qs){const zs=qs.getRect(),js=this.getRect(),Vs=this.node.scrollLeft;zs.left<js.left?this.node.scrollTo(Vs-js.left+zs.left-16,0):zs.right>js.right&&this.node.scrollTo(Vs-js.right+zs.right+16,0)}get isScrolling(){return this._isScrolling}set isScrolling(qs){this._isScrolling!==qs&&(this._isScrolling=qs,this.apply())}apply(){this._isScrolling?(this.addClass(Qt.SHADOW),this.scroll()):(this.removeClass(Qt.SHADOW_RIGHT),this.removeClass(Qt.SHADOW_LEFT),this.removeClass(Qt.SHADOW))}scroll(){const qs=Math.abs(this.node.scrollLeft),zs=qs<=16,js=this.node.scrollWidth-this.node.clientWidth-16,Vs=Math.abs(qs)>=js,Ys="rtl"===getComputedStyle(this.node).direction,Xs=Ys?Qt.SHADOW_RIGHT:Qt.SHADOW_LEFT,Qs=Ys?Qt.SHADOW_LEFT:Qt.SHADOW_RIGHT;zs?this.removeClass(Xs):this.addClass(Xs),Vs?this.removeClass(Qs):this.addClass(Qs)}resize(){this.isScrolling=this.node.scrollWidth>this.node.clientWidth+16;const qs=this.getRect().height;this.setProperty("--tabs-list-height",`${qs}px`),this.ascend(as.LIST_HEIGHT,qs)}dispose(){this.isScrolling=!1}}Oe.tab={TabPanel:ts,TabButton:Xt,TabsGroup:os,TabsList:hs,TabSelector:Qt,TabEmission:as},Oe.internals.register(Oe.tab.TabSelector.PANEL,Oe.tab.TabPanel),Oe.internals.register(Oe.tab.TabSelector.GROUP,Oe.tab.TabsGroup),Oe.internals.register(Oe.tab.TabSelector.LIST,Oe.tab.TabsList);const cs={DISMISS:Oe.internals.ns.event("dismiss")};class ls extends Oe.core.Instance{static get instanceClassName(){return"TagDismissible"}init(){this.listenClick()}handleClick(){switch(this.focusClosest(),Oe.mode){case Oe.Modes.ANGULAR:case Oe.Modes.REACT:case Oe.Modes.VUE:this.request(this.verify.bind(this));break;default:this.remove()}this.dispatch(cs.DISMISS)}verify(){document.body.contains(this.node)&&this.warn(`a TagDismissible has just been dismissed and should be removed from the dom. In ${Oe.mode} mode, the api doesn't handle dom modification. An event ${cs.DISMISS} is dispatched by the element to trigger the removal`)}}const ds={PRESSABLE:`${Oe.internals.ns.selector("tag")}[aria-pressed]`,DISMISSIBLE:`${Oe.internals.ns.selector("tag--dismiss")}`};Oe.tag={TagDismissible:ls,TagSelector:ds,TagEvent:cs},Oe.internals.register(Oe.tag.TagSelector.PRESSABLE,Oe.core.Toggle),Oe.internals.register(Oe.tag.TagSelector.DISMISSIBLE,Oe.tag.TagDismissible);const us=Oe.internals.ns.selector("transcription"),gs={TRANSCRIPTION:us,BUTTON:`${us}__btn`};class ps extends Oe.core.Instance{static get instanceClassName(){return"Transcription"}get collapsePrimary(){return this.element.children.map(qs=>qs.getInstance("CollapseButton")).filter(qs=>null!==qs&&qs.hasClass(gs.BUTTON))[0]}}Oe.transcription={Transcription:ps,TranscriptionSelector:gs},Oe.internals.register(Oe.transcription.TranscriptionSelector.TRANSCRIPTION,Oe.transcription.Transcription);class ms extends Oe.core.Instance{static get instanceClassName(){return"TileDownload"}init(){this.addAscent(Oe.core.AssessEmission.UPDATE,qs=>{this.descend(Oe.core.AssessEmission.UPDATE,qs)}),this.addAscent(Oe.core.AssessEmission.ADDED,()=>{this.descend(Oe.core.AssessEmission.ADDED)})}}const _s={DOWNLOAD:Oe.internals.ns.selector("tile--download"),DOWNLOAD_DETAIL:`${Oe.internals.ns.selector("tile--download")} ${Oe.internals.ns.selector("tile__detail")}`};Oe.tile={TileSelector:_s,TileDownload:ms},Oe.internals.register(Oe.tile.TileSelector.DOWNLOAD,Oe.tile.TileDownload),Oe.internals.register(Oe.tile.TileSelector.DOWNLOAD_DETAIL,Oe.core.AssessDetail);const bs={RANGE:Oe.internals.ns.selector("range"),RANGE_SM:Oe.internals.ns.selector("range--sm"),RANGE_STEP:Oe.internals.ns.selector("range--step"),RANGE_DOUBLE:Oe.internals.ns.selector("range--double"),RANGE_DOUBLE_STEP:Oe.internals.ns.selector("range--double")+Oe.internals.ns.selector("range--step"),RANGE_INPUT:Oe.internals.ns.selector("range input[type=range]:nth-of-type(1)"),RANGE_INPUT2:`${Oe.internals.ns.selector("range--double")} input[type=range]:nth-of-type(2)`,RANGE_OUTPUT:Oe.internals.ns.selector("range__output"),RANGE_MIN:Oe.internals.ns.selector("range__min"),RANGE_MAX:Oe.internals.ns.selector("range__max"),RANGE_PREFIX:Oe.internals.ns.attr("prefix"),RANGE_SUFFIX:Oe.internals.ns.attr("suffix")},Es={VALUE:Oe.internals.ns.emission("range","value"),VALUE2:Oe.internals.ns.emission("range","value2"),OUTPUT:Oe.internals.ns.emission("range","output"),CONSTRAINTS:Oe.internals.ns.emission("range","constraints"),MIN:Oe.internals.ns.emission("range","min"),MAX:Oe.internals.ns.emission("range","max"),STEP:Oe.internals.ns.emission("range","step"),PREFIX:Oe.internals.ns.emission("range","prefix"),SUFFIX:Oe.internals.ns.emission("range","suffix"),DISABLED:Oe.internals.ns.emission("range","disabled"),ENABLE_POINTER:Oe.internals.ns.emission("range","enable_pointer")};class fs{constructor(){this._width=0,this._min=0,this._max=0,this._value=0,this._thumbSize=24,this._innerWidth=0,this._prefix="",this._suffix="",this._background={}}configure(qs){qs&&(this._prefix=qs._prefix,this._suffix=qs._suffix,this._width=qs.width,this.setConstraints(qs._constraints),this.value=qs.value,this.update())}setPrefix(qs){this._prefix=null!==qs?qs:""}setSuffix(qs){this._suffix=null!==qs?qs:""}_decorate(qs){return`${this._prefix}${qs}${this._suffix}`}get width(){return this._width}set width(qs){this._width=qs}get isSm(){return this._isSm}set isSm(qs){this._isSm!==qs&&(this._isSm=qs,this.setThumbSize(qs?16:24),this.update())}setThumbSize(qs,zs=1){this._thumbSize=qs,this._innerPadding=qs*zs}get textValue(){return this._decorate(this._value)}get value(){return this._value}set value(qs){this._value=qs}get outputX(){return this._outputX}setConstraints(qs){this._constraints=qs,this._min=qs.min,this._max=qs.max,this._step=qs.step,this._rangeWidth=qs.rangeWidth}get min(){return this._min}get textMin(){return this._decorate(this._min)}get max(){return this._max}get textMax(){return this._decorate(this._max)}get step(){return this._step}get output(){return{text:this.textValue,transform:`translateX(${this._translateX}px) translateX(-${this._centerPercent}%)`}}_getRatio(qs){return(qs-this._min)/this._rangeWidth}get progress(){return this._progress}update(){this._update()}
vendor: 6,997 bytes, line 1
1_update(){this._innerWidth=this._width-this._innerPadding;const qs=this._getRatio(this._value);this._translateX=qs*this._width,this._centerPercent=100*qs,this._progress={right:`${(this._innerWidth*qs+.5*this._innerPadding).toFixed(2)}px`}}}class As extends fs{get stepWidth(){return`${this._stepWidth.toFixed(3)}px`}_update(){for(super._update(),this._stepWidth=this._innerWidth/(this._rangeWidth/this._step),(this._stepWidth<1||!isFinite(this._stepWidth))&&(this._stepWidth=4);this._stepWidth<4;)this._stepWidth*=2}}class Ts extends fs{get value2(){return this._value}set value2(qs){this._value2!==qs&&(this._value2=qs,this.update())}get textValue(){return`${this._decorate(this._value)} - ${this._decorate(this._value2)}`}setThumbSize(qs){super.setThumbSize(qs,2)}_update(){super._update();const qs=this._getRatio(.5*(this._value+this._value2));this._translateX=qs*this._width,this._centerPercent=100*qs;const zs=this._getRatio(this._value),js=this._getRatio(this._value2);this._progress={left:`${(this._innerWidth*zs+.25*this._innerPadding).toFixed(2)}px`,right:`${(this._innerWidth*js+.75*this._innerPadding).toFixed(2)}px`}}}class vs extends Ts{get stepWidth(){return`${this._stepWidth.toFixed(3)}px`}_update(){super._update(),this._stepWidth=this._innerWidth/(this._rangeWidth/this._step),this._stepWidth<4&&(this._stepWidth*=Math.ceil(4/this._stepWidth))}}const Ss="step",ys="double",Cs="double-step",ws="default";class Ns extends Oe.core.Instance{static get instanceClassName(){return"Range"}init(){this._retrieveType(),this._retrieveSize(),this.isLegacy?(this.isResizing=!0,this.isMouseMoving=!0):(this._observer=new ResizeObserver(this.resize.bind(this)),this._observer.observe(this.node)),this.addAscent(Es.CONSTRAINTS,this.setConstraints.bind(this)),this.addAscent(Es.VALUE,this.setValue.bind(this)),this.addAscent(Es.VALUE2,this.setValue2.bind(this)),this.getAttribute(bs.RANGE_PREFIX)&&this.setPrefix(this.getAttribute(bs.RANGE_PREFIX)),this.getAttribute(bs.RANGE_SUFFIX)&&this.setSuffix(this.getAttribute(bs.RANGE_SUFFIX)),this.update()}_retrieveType(){switch(!0){case this.matches(bs.RANGE_DOUBLE_STEP):case this.matches(bs.RANGE_DOUBLE):this.type=ys;break;case this.matches(bs.RANGE_STEP):this.type=Ss;break;default:this.type=ws}}set type(qs){if(this._type===qs)return;this._type=qs;const zs=this._model;switch(this._type){case Cs:this._model=new vs;break;case ys:this._model=new Ts;break;case Ss:this._model=new As;break;default:this._model=new fs}this._model.configure(zs)}get type(){return this._type}_retrieveSize(){this._model.isSm=this.matches(bs.RANGE_SM)}resize(){this._retrieveWidth(),this.update()}_retrieveWidth(){this._model.width=this.getRect().width}setValue(qs){switch(this._model.value=qs,this._type){case Cs:case ys:this.descend(Es.VALUE,qs)}this.update()}setValue2(qs){this._model.value2=qs,this.descend(Es.VALUE2,qs),this.update()}setConstraints(qs){this._model.setConstraints(qs),this.update(),this.descend(Es.CONSTRAINTS,qs)}setPrefix(qs){this._model.setPrefix(qs),this.update()}setSuffix(qs){this._model.setSuffix(qs),this.update()}mutate(qs){switch(!0){case qs.includes("class"):this._retrieveType(),this._retrieveSize();break;case qs.includes(bs.RANGE_PREFIX):case qs.includes(bs.RANGE_SUFFIX):this._model.setPrefix(this.getAttribute(bs.RANGE_PREFIX)),this._model.setSuffix(this.getAttribute(bs.RANGE_SUFFIX)),this.update()}}update(){this._model.update(),this.descend(Es.OUTPUT,this._model.output),this.descend(Es.MIN,this._model.textMin),this.descend(Es.MAX,this._model.textMax);const qs=this._model.progress;qs.left?this.style.setProperty("--progress-left",qs.left):this.style.removeProperty("--progress-left"),qs.right?(this.style.setProperty("--progress-right",qs.right),this.isLegacy&&qs.left&&(this.style.setProperty("background-position-x",qs.left),this.style.setProperty("background-size",`${parseFloat(qs.right)-parseFloat(qs.left)}px ${this._model.isSm?"8px":"12px"}`))):(this.style.removeProperty("--progress-right"),this.isLegacy&&(this.style.removeProperty("background-size"),this.style.removeProperty("background-position-x"))),this._model.stepWidth?this.style.setProperty("--step-width",this._model.stepWidth):this.style.removeProperty("--step-width")}mouseMove(qs){if(this._type!==ys&&this._type!==Cs)return;const zs=qs.x-this.getRect().left;this.descend(Es.ENABLE_POINTER,(parseFloat(this._model.progress.right)-parseFloat(this._model.progress.left))/2+parseFloat(this._model.progress.left)<zs?2:1)}dispose(){this._observer.disconnect()}}class Ds{constructor(qs){this._min=isNaN(qs.min)?0:qs.min,this._max=isNaN(qs.max)?100:qs.max,this._step=isNaN(qs.step)?1:qs.step,this._rangeWidth=this._max-this._min}get min(){return this._min}get max(){return this._max}get step(){return this._step}get rangeWidth(){return this._rangeWidth}test(qs,zs,js){return this._min===qs&&this._max===zs&&this._step===js}}class Rs extends Oe.core.Instance{static get instanceClassName(){return"RangeInput"}init(){this._init(),this._value=parseFloat(this.node.getAttribute("value")),this.isLegacy&&this.addDescent(Es.ENABLE_POINTER,this._enablePointer.bind(this)),this.isRendering=!0,this.change()}_init(){this._pointerId=1,this.request(()=>{this.hasAttribute("min")||this.setAttribute("min",0),this.ascend(Es.CONSTRAINTS,new Ds(this.node)),this.ascend(Es.DISABLED,this.node.disabled)}),this.addDescent(Es.VALUE2,this.setValue.bind(this))}get proxy(){const qs=this;return Oe.internals.property.completeAssign(super.proxy,{get value(){return qs.value},set value(js){qs.value=js}})}_enablePointer(qs){const zs=qs===this._pointerId;this._isPointerEnabled!==zs&&(this._isPointerEnabled=zs,zs?this.style.removeProperty("pointer-events"):this.style.setProperty("pointer-events","none"))}get value(){return parseFloat(this.node.value)}set value(qs){const zs=parseFloat(qs);zs!==this._value&&(this._value=zs,this.node.value=zs,this.dispatch("change"),this.change())}setValue(qs){parseFloat(this.node.value)>qs&&(this.value=qs)}change(){this.ascend(Es.VALUE,this._value)}render(){const qs=parseFloat(this.node.value);qs!==this._value&&(this.value=qs)}mutate(qs){qs.includes("disabled")&&this.ascend(Es.DISABLED,this.node.disabled),(qs.includes("min")||qs.includes("max")||qs.includes("step"))&&(this.ascend(Es.CONSTRAINTS,new Ds(this.node)),this.change())}dispose(){this._listenerType&&this.unlisten(this._listenerType,this._changing)}}class Ls extends Oe.core.Instance{static get instanceClassName(){return"RangeOutput"}init(){this.addDescent(Es.OUTPUT,this.change.bind(this))}change(qs){this.node.innerText=qs.text,this.node.style.transform=qs.transform}}class Is extends Oe.core.Instance{static get instanceClassName(){return"RangeLimit"}init(){switch(!0){case this.matches(bs.RANGE_MIN):this.addDescent(Es.MIN,this.change.bind(this));break;case this.matches(bs.RANGE_MAX):this.addDescent(Es.MAX,this.change.bind(this))}}change(qs){this.node.innerText=qs}}Oe.range={Range:Ns,RangeInput:Rs,RangeInput2:class extends Rs{static get instanceClassName(){return"RangeInput2"}
vendor: 8,980 bytes, line 1
1_init(){this._pointerId=2,this.addDescent(Es.CONSTRAINTS,this.setConstraints.bind(this)),this.addDescent(Es.VALUE,this.setValue.bind(this))}setValue(Ks){parseFloat(this.node.value)<Ks&&(this.value=Ks)}change(){this.ascend(Es.VALUE2,parseFloat(this.node.value))}setConstraints(Ks){this.node.min=Ks.min,this.node.max=Ks.max,this.node.step=Ks.step,this.change()}mutate(Ks){}},RangeOutput:Ls,RangeLimit:Is,RangeEmission:Es,RangeSelector:bs},Oe.internals.register(Oe.range.RangeSelector.RANGE,Oe.range.Range),Oe.internals.register(Oe.range.RangeSelector.RANGE_INPUT,Oe.range.RangeInput),Oe.internals.register(Oe.range.RangeSelector.RANGE_INPUT2,Oe.range.RangeInput2),Oe.internals.register(Oe.range.RangeSelector.RANGE_OUTPUT,Oe.range.RangeOutput),Oe.internals.register(Oe.range.RangeSelector.RANGE_MIN,Oe.range.RangeLimit),Oe.internals.register(Oe.range.RangeSelector.RANGE_MAX,Oe.range.RangeLimit);const xs={HEADER:Oe.internals.ns.selector("header"),BRAND_LINK:Oe.internals.ns.selector("header__brand a"),TOOLS_LINKS:Oe.internals.ns.selector("header__tools-links"),MENU_LINKS:Oe.internals.ns.selector("header__menu-links"),BUTTONS:`${Oe.internals.ns.selector("header__tools-links")} ${Oe.internals.ns.selector("btns-group")}, ${Oe.internals.ns.selector("header__tools-links")} ${Oe.internals.ns.selector("links-group")}`,MODALS:`${Oe.internals.ns.selector("header__search")}${Oe.internals.ns.selector("modal")}, ${Oe.internals.ns.selector("header__menu")}${Oe.internals.ns.selector("modal")}`};class Os extends Oe.core.Instance{static get instanceClassName(){return"HeaderLinks"}init(){const qs=this.queryParentSelector(xs.HEADER);this.toolsLinks=qs.querySelector(xs.TOOLS_LINKS),this.menuLinks=qs.querySelector(xs.MENU_LINKS);const zs="-mobile",js=this.toolsLinks.innerHTML.replace(/ +/g," "),Vs=this.menuLinks.innerHTML.replace(/ +/g," ");let Ys=js.match(/id="(.*?)"/gm)||[];Ys=Ys.map(Js=>Js.replace('id="',"").replace('"',""));const Xs=["aria-controls","aria-describedby","aria-labelledby"];let Qs=js.replace(/id="(.*?)"/gm,`id="$1${zs}"`);for(const Js of Xs){const Zs=js.match(new RegExp(`${Js}="(.*?)"`,"gm"));if(Zs)for(const ei of Zs){const ti=ei.replace(`${Js}="`,"").replace('"',"");Ys.includes(ti)&&(Qs=Qs.replace(`${Js}="${ti}"`,`${Js}="${ti+zs}"`))}}if(Qs!==Vs)switch(Oe.mode){case Oe.Modes.ANGULAR:case Oe.Modes.REACT:case Oe.Modes.VUE:this.warn(`header__tools-links content is different from header__menu-links content.\nAs you're using a dynamic framework, you should handle duplication of this content yourself, please refer to documentation:\n${Oe.header.doc}`);break;default:this.menuLinks.innerHTML=Qs}}}class Ps extends Oe.core.Instance{static get instanceClassName(){return"HeaderModal"}init(){this.storeAria(),this.isResizing=!0}resize(){this.isBreakpoint(Oe.core.Breakpoints.LG)?this.deactivateModal():this.activateModal()}activateModal(){const qs=this.element.getInstance("Modal");qs?(this.restoreAria(),qs.isActive=!0,this.listenClick({capture:!0})):this.request(this.activateModal.bind(this))}deactivateModal(){const qs=this.element.getInstance("Modal");qs?(qs.conceal(),qs.isActive=!1,this.storeAria(),this.unlistenClick({capture:!0})):this.request(this.deactivateModal.bind(this))}storeAria(){this.hasAttribute("aria-labelledby")&&(this._ariaLabelledby=this.getAttribute("aria-labelledby")),this.hasAttribute("aria-label")&&(this._ariaLabel=this.getAttribute("aria-label")),this.removeAttribute("aria-labelledby"),this.removeAttribute("aria-label")}restoreAria(){this._ariaLabelledby&&this.setAttribute("aria-labelledby",this._ariaLabelledby),this._ariaLabel&&this.setAttribute("aria-label",this._ariaLabel)}handleClick(qs){qs.target.matches("a, button")&&!qs.target.matches("[aria-controls]")&&!qs.target.matches(Oe.core.DisclosureSelector.PREVENT_CONCEAL)&&this.element.getInstance("Modal").conceal()}}Oe.header={HeaderLinks:Os,HeaderModal:Ps,HeaderSelector:xs,doc:"https://www.systeme-de-design.gouv.fr/version-courante/fr/composants/en-tete"},Oe.internals.register(Oe.header.HeaderSelector.TOOLS_LINKS,Oe.header.HeaderLinks),Oe.internals.register(Oe.header.HeaderSelector.MODALS,Oe.header.HeaderModal);const ks={DISPLAY:Oe.internals.ns.selector("display"),RADIO_BUTTONS:`input[name="${Oe.internals.ns("radios-theme")}"]`,FIELDSET:Oe.internals.ns.selector("fieldset")};class Ms extends Oe.core.Instance{static get instanceClassName(){return"Display"}init(){if(this.radios=this.querySelectorAll(ks.RADIO_BUTTONS),Oe.scheme){this.changing=this.change.bind(this);for(const qs of this.radios)qs.addEventListener("change",this.changing);this.addDescent(Oe.scheme.SchemeEmission.SCHEME,this.apply.bind(this)),this.ascend(Oe.scheme.SchemeEmission.ASK)}else this.querySelector(ks.FIELDSET).setAttribute("disabled","")}get scheme(){return this._scheme}set scheme(qs){if(this._scheme!==qs&&Oe.scheme)switch(qs){case Oe.scheme.SchemeValue.SYSTEM:case Oe.scheme.SchemeValue.LIGHT:case Oe.scheme.SchemeValue.DARK:this._scheme=qs;for(const zs of this.radios)zs.checked=zs.value===qs;this.ascend(Oe.scheme.SchemeEmission.SCHEME,qs)}}change(){for(const qs of this.radios)if(qs.checked)return void(this.scheme=qs.value)}apply(qs){this.scheme=qs}dispose(){for(const qs of this.radios)qs.removeEventListener("change",this.changing)}}Oe.display={Display:Ms,DisplaySelector:ks},Oe.internals.register(Oe.display.DisplaySelector.DISPLAY,Oe.display.Display);const Gs={SCROLLABLE:Oe.internals.ns.emission("table","scrollable"),CHANGE:Oe.internals.ns.emission("table","change"),CAPTION_HEIGHT:Oe.internals.ns.emission("table","captionheight"),CAPTION_WIDTH:Oe.internals.ns.emission("table","captionwidth")};class $s extends Oe.core.Instance{static get instanceClassName(){return"Table"}init(){this.addAscent(Gs.CAPTION_HEIGHT,this.setCaptionHeight.bind(this))}setCaptionHeight(qs){this.setProperty("--table-offset",qs)}}class Hs extends Oe.core.Instance{static get instanceClassName(){return"TableWrapper"}init(){this.addAscent(Gs.CAPTION_HEIGHT,this.setCaptionHeight.bind(this))}setCaptionHeight(qs){requestAnimationFrame(()=>this.ascend(Gs.CAPTION_HEIGHT,0)),this.setProperty("--table-offset",qs)}}const Us={TABLE:Oe.internals.ns.selector("table"),TABLE_WRAPPER:[`${Oe.internals.ns.selector("table")} ${Oe.internals.ns.selector("table__wrapper")}`],SHADOW:Oe.internals.ns.selector("table__shadow"),SHADOW_LEFT:Oe.internals.ns.selector("table__shadow--left"),SHADOW_RIGHT:Oe.internals.ns.selector("table__shadow--right"),ELEMENT:[`${Oe.internals.ns.selector("table")}:not(${Oe.internals.ns.selector("table--no-scroll")}) table`],CAPTION:`${Oe.internals.ns.selector("table")} table caption`,ROW:`${Oe.internals.ns.selector("table")} tbody tr`,COL:`${Oe.internals.ns.selector("table")} thead th`};class Bs extends Oe.core.Instance{static get instanceClassName(){return"TableElement"}init(){this.listen("scroll",this.scroll.bind(this)),this.content=this.querySelector("tbody"),this.tableOffsetHeight=0,this.isResizing=!0}get isScrolling(){return this._isScrolling}set isScrolling(qs){this._isScrolling!==qs&&(this._isScrolling=qs,qs?(this.addClass(Us.SHADOW),this.scroll()):(this.removeClass(Us.SHADOW),this.removeClass(Us.SHADOW_LEFT),this.removeClass(Us.SHADOW_RIGHT)))}scroll(){const qs=this.node.scrollLeft<=0,zs=this.content.offsetWidth-this.node.offsetWidth-0,js=Math.abs(this.node.scrollLeft)>=zs,Vs="rtl"===document.documentElement.getAttribute("dir"),Ys=Vs?Us.SHADOW_RIGHT:Us.SHADOW_LEFT,Xs=Vs?Us.SHADOW_LEFT:Us.SHADOW_RIGHT;qs?this.removeClass(Ys):this.addClass(Ys),js?this.removeClass(Xs):this.addClass(Xs)}resize(){this.isScrolling=this.content.offsetWidth>this.node.offsetWidth}dispose(){this.isScrolling=!1}}class Fs extends Oe.core.Instance{static get instanceClassName(){return"TableCaption"}init(){this.height=0,this.isResizing=!0}resize(){const qs=this.getRect().height;this.height!==qs&&(this.height=qs,this.ascend(Gs.CAPTION_HEIGHT,`calc(${qs}px + 1rem)`))}}class Ws extends Oe.core.Instance{static get instanceClassName(){return"TableRow"}init(){Oe.checkbox&&(this.addAscent(tt.CHANGE,this._handleCheckboxChange.bind(this)),this.descend(tt.RETRIEVE))}_handleCheckboxChange(qs){"row-select"!==qs.name&&"true"!==qs.getAttribute(Oe.internals.ns.attr("row-select"))||(this.isSelected=!0===qs.checked)}render(){const qs=this.getRect().height+2;this._height!==qs&&(this._height=qs,this.setProperty("--row-height",`${this._height}px`))}get isSelected(){return this._isSelected}set isSelected(qs){this._isSelected!==qs&&(this.isRendering=qs,this._isSelected=qs,this.setAttribute("aria-selected",qs))}}Oe.table={Table:$s,TableWrapper:Hs,TableElement:Bs,TableCaption:Fs,TableSelector:Us,TableRow:Ws},Oe.internals.register(Oe.table.TableSelector.TABLE,Oe.table.Table),Oe.internals.register(Oe.table.TableSelector.TABLE_WRAPPER,Oe.table.TableWrapper),Oe.internals.register(Oe.table.TableSelector.ELEMENT,Oe.table.TableElement),Oe.internals.register(Oe.table.TableSelector.CAPTION,Oe.table.TableCaption),Oe.internals.register(Oe.table.TableSelector.ROW,Oe.table.TableRow);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.