PageSourceSearch

https://www.grenoble.fr/include/public/GAB_GRENOBLE/GAB_GRENOBLE.min.js?v=1788368990

js grenoble.fr collected 2026-10-02 02:46:24 UTC 60,742 bytes, 1 lines download raw bytes

1(()=>{var t={2137(t){var e,i;e="undefined"!=typeof window?window:this,i=function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{},n=i[t]=i[t]||[];return n.includes(e)||n.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let n=i.indexOf(e);return-1!=n&&i.splice(n,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let n=this._onceEvents&&this._onceEvents[t];for(let o of i)n&&n[o]&&(this.off(t,o),delete n[o]),o.apply(this,e);return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t},t.exports?t.exports=i():e.EvEmitter=i()},7943(t,e,i){!function(e,n){t.exports?t.exports=n(e,i(2137)):e.imagesLoaded=n(e,e.EvEmitter)}("undefined"!=typeof window?window:this,function(t,e){let i=t.jQuery,n=t.console;function o(t,e,s){if(!(this instanceof o))return new o(t,e,s);let r=t;var a;("string"==typeof t&&(r=document.querySelectorAll(t)),r)?(this.elements=(a=r,Array.isArray(a)?a:"object"==typeof a&&"number"==typeof a.length?[...a]:[a]),this.options={},"function"==typeof e?s=e:Object.assign(this.options,e),s&&this.on("always",s),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):n.error(`Bad element for imagesLoaded ${r||t}`)}o.prototype=Object.create(e.prototype),o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const s=[1,9,11];o.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);let{nodeType:e}=t;if(!e||!s.includes(e))return;let i=t.querySelectorAll("img");for(let t of i)this.addImage(t);if("string"==typeof this.options.background){let e=t.querySelectorAll(this.options.background);for(let t of e)this.addElementBackgroundImages(t)}};const r=/url\((['"])?(.*?)\1\)/gi;function a(t){this.img=t}function l(t,e){this.url=t,this.element=e,this.img=new Image}return o.prototype.addElementBackgroundImages=function(t){let e=getComputedStyle(t);if(!e)return;let i=r.exec(e.backgroundImage);for(;null!==i;){let n=i&&i[2];n&&this.addBackground(n,t),i=r.exec(e.backgroundImage)}},o.prototype.addImage=function(t){let e=new a(t);this.images.push(e)},o.prototype.addBackground=function(t,e){let i=new l(t,e);this.images.push(i)},o.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let t=(t,e,i)=>{setTimeout(()=>{this.progress(t,e,i)})};this.images.forEach(function(e){e.once("progress",t),e.check()})},o.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&n&&n.log(`progress: ${i}`,t,e)},o.prototype.complete=function(){let t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){let t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},a.prototype=Object.create(e.prototype),a.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},a.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},a.prototype.confirm=function(t,e){this.isLoaded=t;let{parentNode:i}=this.img,n="PICTURE"===i.nodeName?i:this.img;this.emitEvent("progress",[this,n,e])},a.prototype.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},a.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},a.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},a.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype=Object.create(a.prototype),l.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWi
1dth,"naturalWidth"),this.unbindEvents())},l.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},o.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(i=e,i.fn.imagesLoaded=function(t,e){return new o(this,t,e).jqDeferred.promise(i(this))})},o.makeJQueryPlugin(),o})},2059(t,e,i){"use strict";var n=i(2005),o=i(6536),s=i(6e3);const r=t=>{const e="string"==typeof t?document.querySelector(t):t;if(!e)return;const i=e.querySelectorAll(".js-submenu-trigger");i.forEach(t=>{t.addEventListener("click",function(t){t.preventDefault();const e=this.dataset.idtf,n=document.getElementById("submenu-"+e),a=document.querySelectorAll(".js-submenu");this.classList.contains("c-navigation__link--level-1")&&(i.forEach(t=>t.setAttribute("aria-expanded","false")),a.forEach(t=>t.style.display="none"));const l=document.getElementById("document"),c=new URLSearchParams;c.append("idtf",e),c.append("currentpage",l?l.dataset.idtf:""),c.append("mode",l?l.dataset.mode:""),fetch(SERVER_ROOT+"include/gabarit_site/GAB_GRENOBLE/inc.menu.php",{method:"POST",body:c}).then(t=>t.text()).then(t=>{n&&(0===n.querySelectorAll(".c-jumbo-menu__item").length?(n.innerHTML=t,n.style.display="block",n.style.opacity="0",(0,s.qG)(n,200),this.setAttribute("aria-expanded","true"),r(n),(0,o.a)(n)):(n.style.display="block",this.setAttribute("aria-expanded","true")))}).catch(t=>console.error("Erreur lors du chargement du menu:",t))})});e.querySelectorAll(".js-close").forEach(t=>{t.addEventListener("click",function(){const t=this.getAttribute("aria-controls"),e=d
1ocument.getElementById(t),i=this.parentElement.previousElementSibling;if(i&&(i.setAttribute("aria-expanded","false"),i.focus()),e){(0,s.Xn)(e,200).onfinish=()=>{e.style.display="none",e.style.opacity="0"}}})})};document.addEventListener("DOMContentLoaded",()=>{r("#menu");const t=document.getElementById("btnMenu");t.addEventListener("disclosure.show",()=>{document.body.classList.add("menu-opened"),(0,n.f)(!0)}),t.addEventListener("disclosure.hide",()=>{document.body.classList.remove("menu-opened"),(0,n.f)(!1)})})},7033(){"use strict";document.addEventListener("DOMContentLoaded",()=>{(()=>{const t=new Map;document.addEventListener("click",i=>{const n=i.target.closest('button[type="reset"]');if(n){const t=n.closest("form");t&&(t.setAttribute("tabindex","-1"),t.focus(),t.querySelectorAll('input[type="text"]').forEach(t=>{"idtf"!==t.name&&(t.value="")}),t.querySelectorAll('input[type="date"]').forEach(t=>t.value=""),t.querySelectorAll('input[type="checkbox"], input[type="radio"]').forEach(t=>t.checked=!1),n.remove())}const o=i.target.closest(".js-ajax-content .o-pagination-reglette a");if(o){i.preventDefault();const n=o.closest(".js-ajax-content"),s=n.querySelector(".o-pagination-reglette"),r=o.getAttribute("href"),a=document.getElementById("document");let l=`${SERVER_ROOT}include/tpl/GAB_GRENOBLE/${s.dataset.url}`;l+=r.substring(r.indexOf("?")),l.includes("idtf=")||(l+=(l.includes("?")?"&":"?")+"idtf="+(a?a.dataset.idtf:"")),l.includes("mode=")||(l+=(l.includes("?")?"&":"?")+"mode="+(a?a.dataset.mode:""));const c=i=>{const s=(new DOMParser).parseFromString(i,"text/html").body.innerHTML;t.set(l,s),n.innerHTML=s,n.classList.contains("js-ajax-content-masonry")&&"function"==typeof window.initMasonry&&window.initMasonry(n),e(n,o)};t.has(l)?c(t.get(l)):fetch(l).then(t=>t.text()).then(t=>c(t)).catch(t=>console.error("Erreur pagination:",t))}});const e=(t,e)=>{window.history.replaceState({},"",e.getAttribute("href"));const i=t.closest("div.paragraphe"),n=i?i.querySelector(".o-pagination-nb"):null;n&&("undefined"!=typeof cmsCore&&cmsCore.scroll&&cmsCore.scroll(n,0,!0),n.setAttribute("tabindex","-1"),n.focus());const o=e.dataset.page,s=document.title.includes("- Page")?document.title.substring(0,document.title.lastIndexOf("- Page")):document.title;document.title=`${s} - Page ${o}`}})()})},3699(t,e,i){"use strict";var n=i(6e3),o=i(7943);document.addEventListener("DOMContentLoaded",()=>{const t=document.querySelector(":root").style,e=document.querySelector(".c-main-header"),i=document.querySelector(".js-summary"),s=()=>{t.setProperty("--header-height",e.offsetHeight+"px")};s();new ResizeObserver(()=>{s()}).observe(e),o(".c-main-header",s),(0,n.DV)(s),null!==i&&t.setProperty("--summary-height",i.offsetHeight+"px")})},9306(t,e,i){"use strict";var n=i(6e3);const o=document.querySelectorAll(".js-aria-toggle"),s=document.querySelectorAll(".js-aria-close");o.forEach(t=>{const e=new n.EN(t,{animation:"slide"});e.init(),t.addEventListener("click",t=>{t.currentTarget!==e.trigger&&e.isOpen()&&e.hide()}),t.addEventListener("disclosure.show",()=>{t.classList.add("active")}),t.addEventListener("disclosure.hide",()=>{t.classList.remove("active")})}),s.forEach(t=>{new n.cB(t).init()})},1256(){"use strict";document.querySelectorAll('input[type="file"]').forEach(t=>{t.addEventListener("change",function(){const t=this.value.replace("C:\\fakepath\\",""),e=this.parentNode.querySelector(".o-form-control__file");e&&(e.innerHTML=t)})})},6536(t,e,i){"use strict";i.d(e,["a",0,()=>{document.querySelectorAll("a.external, a.document").forEach(t=>{t.setAttribute("target","_blank");let e=t.getAttribute("title");if(null===e){const i=t.cloneNode(!0);if(i.querySelectorAll('[aria-hidden="true"]').forEach(t=>{t.remove()}),e=i.textContent.trim(),""===e){const i=t.querySelector("img");if(!i)return;e=i.getAttribute("alt")?i.getAttribute("alt").trim():""}}if(""!==e){if(t.classList.contains("external"))e+=" "+cmsCore.title_newwindow;else if(void 0!==t.dataset.file_ext){if(e+=" ("+t.dataset.file_ext,void 0!==t.dataset.file_weight){let i=parseInt(t.dataset.file_weight,10);i=i<1e6?Math.round(i/Math.pow(2,10)*100)/100+" Ko":Math.round(i/Math.pow(2,20)*100)/100+" Mo",e+=` - ${i}`}e+=")"}t.setAttribute("title",e.replace(/\s+/g," "))}})}])},2005(t,e,i){"use strict";i.d(e,["f",0,t=>{const e=document.querySelector(".js-backdrop");e.style.display=t?"block":"none"}])},6e3(t,e,i){"use strict";i.d(e,{DV:()=>jt,EN:()=>w,Xn:()=>v,cB:()=>x,qG:()=>g});var n=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],o=["mainAxis","crossAxis","limiter"];function s(t,e){if(null==t)return{};var i,n={};for(i in t)if({}.hasOwnProperty.call(t,i)){if(-1!==e.indexOf(i))continue;n[i]=t[i]}return n}function r(){var t,e=(d="function"==typeof Symbol?Symbol:{}).iterator||"@@iterator",i=d.toStringTag||"@@toStringTag";function n(e,i,n,r){var l,c,d,h,f,p,m,g,v;i=i&&i.prototype instanceof s?i:s;return a(i=Object.create(i.prototype),"_invoke",(l=e,c=n,m=r||[],g=!1,v={p:p=0,n:0,v:t,a:y,f:y.bind(t,4),d:function(e,i){return d=e,h=0,f=t,v.n=i,o}},function(e,i,n){if(1<p)throw TypeError("Generator is already running");for(g&&1===i&&y(i,n),h=i,f=n;(u=h<2?t:f)||!g;){d||(h?h<3?(1<h&&(v.n=-1),y(h,f)):v.n=f:v.v=f);
1try{if(p=2,d){if(u=d[e=h?e:"next"]){if(!(u=u.call(d,f)))throw TypeError("iterator result is not an object");if(!u.done)return u;f=u.value,h<2&&(h=0)}else 1===h&&(u=d.return)&&u.call(d),h<2&&(f=TypeError("The iterator does not provide a '"+e+"' method"),h=1);d=t}else if((u=(g=v.n<0)?f:l.call(c,v))!==o)break}catch(e){d=t,h=1,f=e}finally{p=1}}return{value:u,done:g}}),!0),i;function y(e,i){for(h=e,f=i,u=0;!g&&p&&!n&&u<m.length;u++){var n,s=m[u],r=v.p,a=s[2];3<e?(n=a===i)&&(f=s[(h=s[4])?5:h=3],s[4]=s[5]=t):s[0]<=r&&((n=e<2&&r<s[1])?(h=0,v.v=i,v.n=s[1]):r<a&&(n=e<3||s[0]>i||a<i)&&(s[4]=e,s[5]=i,v.n=a,h=0))}if(n||1<e)return o;throw g=!0,i}}var o={};function s(){}function l(){}function c(){}var u=Object.getPrototypeOf,d=[][e]?u(u([][e]())):(a(u={},e,function(){return this}),u),h=c.prototype=s.prototype=Object.create(d);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,a(t,i,"GeneratorFunction")),t.prototype=Object.create(h),t}return a(h,"constructor",l.prototype=c),a(c,"constructor",l),a(c,i,l.displayName="GeneratorFunction"),a(h),a(h,i,"Generator"),a(h,e,function(){return this}),a(h,"toString",function(){return"[object Generator]"}),(r=function(){return{w:n,m:f}})()}function a(t,e,i,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}(a=function(t,e,i,n){function s(e,i){a(t,e,function(t){return this._invoke(e,i,t)})}e?o?o(t,e,{value:i,enumerable:!n,configurable:!n,writable:!n}):t[e]=i:(s("next",0),s("throw",1),s("return",2))})(t,e,i,n)}function l(t,e,i,n,o,s,r){try{var a=t[s](r),l=a.value}catch(t){return i(t)}a.done?e(l):Promise.resolve(l).then(n,o)}function c(t){return function(){var e=this,i=arguments;return new Promise(function(n,o){var s=t.apply(e,i);function r(t){l(s,n,o,r,a,"next",t)}function a(t){l(s,n,o,r,a,"throw",t)}r(void 0)})}}function u(){return(u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i,n=arguments[e];for(i in n)!{}.hasOwnProperty.call(n,i)||(t[i]=n[i])}return t}).apply(null,arguments)}function d(t,e){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function h(t,e){var i,n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=((t,e)=>{var i;if(t)return"string"==typeof t?f(t,e):"Map"===(i="Object"===(i={}.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:i)||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?f(t,e):void 0})(t))||e&&t&&"number"==typeof t.length)return n&&(t=n),i=0,function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}function p(t,e,i){void 0===e&&(e=500),void 0===i&&(i="ease-in-out");var n=t.offsetHeight;return t.style.overflow="hidden",(n=t.animate([{height:n+"px",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},{height:"0",marginTop:"0",marginBottom:"0",paddingTop:"0",paddingBottom:"0"}],{duration:e,easing:i})).onfinish=function(){t.style.display="none",t.style.height="",t.style.marginTop="",t.style.marginBottom="",t.style.paddingTop="",t.style.paddingBottom="",t.style.overflow=""},n}function m(t,e,i){void 0===e&&(e=500),void 0===i&&(i="ease-in-out"),t.style.removeProperty("display"),"none"===globalThis.getComputedStyle(t).display&&(t.style.display="block");var n=t.offsetHeight;return t.style.height="0",t.style.overflow="hidden",(n=t.animate([{height:"0",marginTop:"0",marginBottom:"0",paddingTop:"0",paddingBottom:"0"},{height:n+"px",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""}],{duration:e,easing:i})).onfinish=function(){t.style.height="",t.style.overflow=""},n}function g(t,e,i){void 0===e&&(e=500),void 0===i&&(i="ease-in-out");var n,o=globalThis.getComputedStyle(t).opacity;o=Number.parseFloat(o);return!Number.isNaN(o)&&1<=o?(t.style.opacity="1",t.animate([{opacity:"1"},{opacity:"1"}],{duration:0,fill:"none"})):((n=t.animate([{opacity:String(Number.isNaN(o)?0:o)},{opacity:"1"}],{duration:e,easing:i,fill:"forwards"})).onfinish=function(){t.style.opacity="1",n.cancel()},n)}function v(t,e,i){void 0===e&&(e=500),void 0===i&&(i="ease-in-out");
1var n,o=globalThis.getComputedStyle(t).opacity;o=Number.parseFloat(o);return!Number.isNaN(o)&&o<=0?(t.style.opacity="0",t.animate([{opacity:"0"},{opacity:"0"}],{duration:0,fill:"none"})):((n=t.animate([{opacity:String(Number.isNaN(o)?1:o)},{opacity:"0"}],{duration:e,easing:i,fill:"forwards"})).onfinish=function(){t.style.opacity="0",n.cancel()},n)}function y(t,e){void 0===e&&(e="body");for(var i=h(document.querySelectorAll(e));!(n=i()).done;){var n=n.value;n.style.overflow="lock"===t?"hidden":""}}function b(t){return(t=void 0===t?document:t).querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled]), details:not([disabled]), summary:not(:disabled)')}var w=(()=>{function t(e,i){void 0===i&&(i={}),this.previouslyFocusedElement=null,this.boundOnDocumentClickOutside=null,this.trigger=e,this.panel=null,this.id=this.trigger.getAttribute("aria-controls"),this.options=i,this.boundOnClick=this.onClick.bind(this),this.boundOnFocus=this.onFocus.bind(this),this.boundOnBlur=this.onBlur.bind(this),this.boundOnKeydown=this.onKeydown.bind(this),this.boundOnTabKeyDown=this.onTabKeyDown.bind(this),this.applyOptions(t.resolveOptions(this.trigger,this.options)),this.id&&(this.panel=document.getElementById(this.id)),"slide"!==this.animation&&"fade"!==this.animation&&(this.slideSpeed=0,this.animationSpeed=0),this.isModal?(this.trigger.removeAttribute("aria-expanded"),this.trigger.hasAttribute("data-is-expanded")||this.trigger.setAttribute("data-is-expanded","false"),this.isExpanded="true"===this.trigger.getAttribute("data-is-expanded")):(this.trigger.hasAttribute("aria-expanded")||this.trigger.setAttribute("aria-expanded","false"),this.isExpanded="true"===this.trigger.getAttribute("aria-expanded")),this.validateOrReport(),this.panel&&this.panel.setAttribute("aria-hidden",this.isVisible()?"false":"true"),this.isOpen()&&!this.isVisible()&&this.show()}t.resolveOptions=function(t,e){void 0===e&&(e={});var i,n=0,o=!0,s=300,r=!0,a=!1,l=t.dataset.slide?"true"===t.dataset.slide:void 0;switch(t.dataset.animation){case"slide":i="slide";break;case"fade":i="fade";break;case"false":i=!1;break;default:i=void 0}var c=t.dataset.slideSpeed?Number.parseFloat(t.dataset.slideSpeed):void 0,u=t.dataset.animationSpeed?Number.parseFloat(t.dataset.animationSpeed):void 0,d=t.dataset.delay?Number.parseFloat(t.dataset.delay):void 0,h=t.dataset.outsideClick?"true"===t.dataset.outsideClick:void 0,f=t.dataset.displayProperty,p=t.dataset.autofocus?"true"===t.dataset.autofocus:void 0,m=t.dataset.focusPanelOnOpen?"true"===t.dataset.focusPanelOnOpen:void 0,g=t.dataset.restoreFocusOnClose?"true"===t.dataset.restoreFocusOnClose:void 0,v=t.dataset.closeOnBlur?"true"===t.dataset.closeOnBlur:void 0,y=t.dataset.textCollapsed,b=t.dataset.textExpanded,w="true"===t.dataset.modal||void 0,x="true"===t.dataset.lockBodyScroll||void 0,E="true"===t.dataset.backdrop||void 0,T=t.dataset.backdropClass,k=(t=t.dataset.strict?"true"===t.dataset.strict:void 0,null!=(k=null!=i?i:e.animation)?k:(null!=(k=null!=l?l:e.slide)?k:o)?"slide":void 0);u=null!=(u=null!=(u=null!=(u=null!=u?u:e.animationSpeed)?u:c)?u:e.slideSpeed)?u:s,m=null!=(m=null!=(m=null!=(m=null!=m?m:e.focusPanelOnOpen)?m:p)?m:e.autoFocus)?m:a,g=null==(g=null!=g?g:e.restoreFocusOnClose)||g;return{delay:null!=(d=null!=d?d:e.delay)?d:n,slide:null!=(d=null!=l?l:e.slide)?d:o,animation:k,slideSpeed:null!=(n=null!=c?c:e.slideSpeed)?n:s,animationSpeed:u,outsideClick:null!=(l=null!=h?h:e.outsideClick)?l:r,displayProperty:(null!=(d=null!=f?f:e.displayProperty)?d:"block")||"block",autoFocus:null!=(o=null!=p?p:e.autoFocus)?o:a,focusPanelOnOpen:m,restoreFocusOnClose:g,closeOnBlur:null!=(k=null!=v?v:e.closeOnBlur)&&k,textCollapsed:null!=(c=null!=y?y:e.textCollapsed)?c:null,textExpanded:null!=(n=null!=b?b:e.textExpanded)?n:null,isModal:null!=(s=null!=w?w:e.isModal)&&s,lockBodyScroll:null!=(u=null!=x?x:e.lockBodyScroll)&&u,hasBackdrop:null!=(h=null!=E?E:e.hasBackdrop)&&h,backdropClass:null!=(l=null!=T?T:e.backdropClass)?l:"c-backdrop",strict:null==(r=null!=t?t:e.strict)||r}};var e=t.prototype;return e.applyOptions=function(t){var e;this.delay=t.delay,this.slide=t.slide,this.animation=t.animation,this.slideSpeed=t.slideSpeed,this.animationSpeed=t.animationSpeed,this.outsideClick=t.outsideClick,this.displayProperty=t.displayProperty,this.autoFocus=t.autoF
1ocus,this.focusPanelOnOpen=t.focusPanelOnOpen,this.restoreFocusOnClose=t.restoreFocusOnClose,this.closeOnBlur=t.closeOnBlur,this.textCollapsed=t.textCollapsed,this.textExpanded=t.textExpanded,this.isModal=t.isModal,this.lockBodyScroll=t.lockBodyScroll,this.hasBackdrop=t.hasBackdrop,this.backdropClass=null!=(e=t.backdropClass)?e:"c-backdrop",this.strict=t.strict,this.options=t},e.getOptions=function(e){return e=t.resolveOptions(this.trigger,e=void 0===e?{}:e),this.applyOptions(e),e},e.init=function(){this.trigger.addEventListener("click",this.boundOnClick),this.trigger.addEventListener("focus",this.boundOnFocus),this.trigger.addEventListener("blur",this.boundOnBlur),this.trigger.addEventListener("keydown",this.boundOnKeydown),this.panel&&(this.panel.addEventListener("keydown",this.boundOnKeydown),this.closeOnBlur)&&this.panel.addEventListener("keydown",this.boundOnTabKeyDown)},e.removeButtonEventListener=function(){this.trigger.removeEventListener("click",this.boundOnClick),this.trigger.removeEventListener("focus",this.boundOnFocus),this.trigger.removeEventListener("blur",this.boundOnBlur),this.trigger.removeEventListener("keydown",this.boundOnKeydown)},e.removePanelEventListener=function(){this.panel&&(this.panel.removeEventListener("keydown",this.boundOnKeydown),this.closeOnBlur)&&this.panel.removeEventListener("keydown",this.boundOnTabKeyDown)},e.removeEventListener=function(){this.removeButtonEventListener(),this.removePanelEventListener()},e.isOpen=function(){return this.isExpanded},e.isVisible=function(){return!!this.panel&&"none"!==globalThis.getComputedStyle(this.panel).display},e.attachOutsideClickListener=function(){var t,e,i=this;this.outsideClick&&this.panel&&(this.boundOnDocumentClickOutside||(t=this.trigger,e=this.panel,this.boundOnDocumentClickOutside=function(n){!(n=n.target)||t.contains(n)||e.contains(n)||i.isVisible()&&i.hide()},document.addEventListener("click",this.boundOnDocumentClickOutside)))},e.detachOutsideClickListener=function(){this.boundOnDocumentClickOutside&&(document.removeEventListener("click",this.boundOnDocumentClickOutside),this.boundOnDocumentClickOutside=null)},e.emit=function(t){function e(){return new CustomEvent(t,{detail:{trigger:i.trigger,panel:i.panel}})}var i=this;this.trigger.dispatchEvent(e()),this.panel.dispatchEvent(e())},e.show=function(){var t,e,i=this;this.panel&&(this.previouslyFocusedElement=document.activeElement,this.isModal?this.trigger.setAttribute("data-is-expanded","true"):this.trigger.setAttribute("aria-expanded","true"),this.trigger.classList.add("showing"),this.emit("disclosure.show"),this.panel&&this.panel.setAttribute("aria-hidden","false"),this.textExpanded&&(this.trigger.textContent=this.textExpanded),this.lockBodyScroll&&y("lock"),this.hasBackdrop&&this.trigger.parentElement&&!this.trigger.parentElement.querySelector("."+this.backdropClass)&&((t=document.createElement("div")).className=this.backdropClass,t.setAttribute("aria-hidden","true"),this.trigger.parentElement.append(t)),!(e=function(){i.emit("disclosure.shown"),i.trigger.classList.remove("showing")})===this.animation?(this.panel.style.display=this.displayProperty,e()):"slide"===this.animation?(m(this.panel,this.animationSpeed),setTimeout(function(){e()},this.animationSpeed)):this.panel&&"fade"===this.animation?(this.panel.style.display=this.displayProperty,this.panel.style.opacity="0",g(this.panel,this.animationSpeed),setTimeout(function(){e()},this.animationSpeed)):this.panel&&(this.panel.style.display=this.displayProperty,setTimeout(function(){i.panel.classList.add("is-visible")},10),setTimeout(function(){e()},this.delay+20)),this.focusPanelOnOpen&&(this.panel.setAttribute("tabindex","-1"),this.panel.focus()),this.isExpanded=!0,this.attachOutsideClickListener())},e.hide=function(){var t,e,i=this;this.panel&&(this.isModal?this.trigger.setAttribute("data-is-expanded","false"):this.trigger.setAttribute("aria-expanded","false"),this.trigger.classList.add("hiding"),this.emit("disclosure.hide"),this.panel&&this.panel.setAttribute("aria-hidden","true"),this.textCollapsed&&(this.trigger.textContent=this.textCollapsed),this.lockBodyScroll&&y("unlock"),this.hasBackdrop&&null!=(e=this.trigger.parentElement)&&null!=(e=e.querySelector("."+this.backdropClass))&&e.remove(),t=function(){i.emit("disclosure.hidden"),i.trigger.classList.remove("hiding")},this.detachOutsideClickListener(),this.restoreFocusOnClose&&(e=document.querySelector(".showing"),document.body.contains(e)||this.trigger.focus()),this.panel&&!1===this.animation?(this.panel.style.display="none",t()
1):this.panel&&"slide"===this.animation?(p(this.panel,this.animationSpeed),setTimeout(function(){t()},this.animationSpeed)):this.panel&&"fade"===this.animation?(v(this.panel,this.animationSpeed),setTimeout(function(){i.panel.style.display="none",t()},this.animationSpeed)):this.panel&&(this.panel.classList.remove("is-visible"),setTimeout(function(){i.panel.style.display="none",t()},this.delay)),this.isExpanded=!1)},e.onKeydown=function(t){switch(t.key){case"Esc":case"Escape":this.hide()}},e.toggleExpand=function(){this.isModal?(this.isExpanded="true"===this.trigger.getAttribute("data-is-expanded"),this.isExpanded?this.hide():this.show()):"true"===this.trigger.getAttribute("aria-expanded")?this.hide():this.show()},e.onClick=function(){var t=this.trigger.classList;t.contains("showing")||t.contains("hiding")||this.toggleExpand()},e.onFocus=function(){this.trigger.classList.add("is-focus")},e.onBlur=function(){this.trigger.classList.remove("is-focus")},e.onTabKeyDown=function(t){var e=this,i=t.currentTarget;"Tab"===t.key&&setTimeout(function(){var t=document.activeElement;i&&!i.contains(t)&&e.closeOnBlur&&e.isVisible()&&e.hide()},0)},e.validateOrReport=function(){var t=[],e="BUTTON"===this.trigger.tagName,i=this.trigger.hasAttribute("role")&&"button"===this.trigger.getAttribute("role");if(e||i||t.push('Disclosure : L\'initialisation doit se faire sur un élément <button> ou ayant un attribut ARIA [role="button"]'),this.trigger.hasAttribute("aria-controls")||t.push("Disclosure : L'attribut [aria-controls] est nécessaire sur l'élément <button> ou [role=\"button\"]"),this.id||t.push("Disclosure : Vérifier que la valeur des attributs [aria-controls] et [id] soient identique"),this.panel||t.push("Disclosure : Panel absent - Au moins un bouton disclosure n'a pas d'élément à ouvrir"),0!==t.length){if(e=t.join("\n"),this.strict)throw new Error(e);console.error(this.trigger,new Error(e))}},e.refresh=function(){this.isOpen()&&!this.isVisible()?this.show():!this.isOpen()&&this.isVisible()&&this.hide(),this.destroy(),this.getOptions(),this.init()},e.destroy=function(){this.removeEventListener(),this.detachOutsideClickListener(),this.panel&&(this.panel.style.display="",this.panel.classList.remove("is-visible"),this.panel.removeAttribute("tabindex")),this.trigger.classList.remove("is-focus","showing","hiding")},t})(),x=(()=>{function t(t){this.trigger=t,this.id=this.trigger.getAttribute("aria-controls"),this.boundOnClick=this.onClick.bind(this)}var e=t.prototype;return e.init=function(){this.trigger.addEventListener("click",this.boundOnClick)},e.onClick=function(){var t="true"===this.trigger.dataset.modal?'[data-is-expanded="true"][aria-controls="'+this.id+'"]':'[aria-expanded="true"][aria-controls="'+this.id+'"]';null!=(t=document.querySelector(t))&&t.click()},e.destroy=function(){this.trigger.removeEventListener("click",this.boundOnClick)},t})(),E=(t=>{function e(i){var n,o=t.call(this,i,{outsideClick:!1})||this;o.button=i,o.triggerArray=[],o.panel=document.getElementById(o.button.getAttribute("aria-controls")),i=document.querySelectorAll(".js-accordion");return(n=o.triggerArray).push.apply(n,i),o.name=o.button.dataset.name,o.name&&(o.triggerArrayFilteredByName=o.triggerArray.filter(function(t){return t.dataset.name===o.name})),e.allInstances.push(o),o}i=t,(n=e).prototype=Object.create(i.prototype),d(n.prototype.constructor=n,i);var i,n=e.prototype;return n.show=function(){var i=this;if(t.prototype.show.call(this),this.name)for(var n,o=this.triggerArrayFilteredByName.filter(function(t){return t!==i.trigger}),s=h(e.allInstances);!(n=s()).done;)for(var r,a=n.value,l=h(o);!(r=l()).done;)a.button===r.value&&a.hide()},n.hide=function(){t.prototype.hide.call(this)},n.init=function(){var e=this;if(t.prototype.init.call(this),this.name)for(var i,n=h(this.triggerArrayFilteredByName.entries());!(i=n()).done;)(()=>{var t=i.value,n=t[0];t[1].addEventListener("keydown",function(t){return e.handleKeyDown(t,n)})})()},n.handleKeyDown=function(t,e){"ArrowDown"===t.key?(t.preventDefault(),this.navigate(1,e)):"ArrowUp"===t.key&&(t.preventDefault(),this.navigate(-1,e))},n.navigate=function(t,e){(e+=t)<0?e=this.triggerArrayFilteredByName.length-1:e>=this.triggerArrayFilteredByName.length&&(e=0),this.triggerArrayFilteredByName[e].focus()},n.destroy=function(){t.prototype.destroy.call(this);var i=e.allInstances.indexOf(this);e.allInstances.splice(i,1)},e})(w),T=(E.allInstances=[],(()=>{function t(t,e){var i=this;if(void 0===e&&(e={}),this.fadeAnimation=null,this.isAboveThreshold=null,!t)throw new Error("BackToTop: un élément bouton est requis.");this.backToTopButton=t,this.threshold=null!=(t=e.threshold)?t:200,this.behavior=null!=(t=e.behavior)?t:"smooth",this.offset=null!=(t=e.offset)?t:0,this.fadeDuration=null!=(t=e.fadeDuration)?t:300,this.onScrollBound=this.onScroll.bind(this),this.onClickBound=function(t){return i.onClick(t)},this.setupFadeStyles()}var e=t.prototype;e.init=function(){var t=this;window.addEventListener("scroll",this.onScrollBound),this.backToTopButton.addEventListener("click",this.onClickBound),globalThis.requestAnimationFrame(function(){t.updateVisibility(!0)})},e.setupFadeStyles=function(){this.backToTopButton.style.opacity="0",this.backToTopButton.style.display="",this.backToTopButton.setAttribute("aria-hidden","true")},e.onScroll=function(){this.updateVisibility()},e.getOpacity=function(){var t=Number.parseFloat(globalThis.getComputedStyle(this.backToTopButton).opacity);return Number.isNaN(t)?0:t},e.isVisible=function(){return 1<=this.getOpacity()},e.updateVisibility=function(t){void 0===t&&(t=!1);var e=(window.scrollY||document.documentElement.scrollTop)>this.threshold;!t&&this.isAboveThreshold===e||((this.isAboveThreshold=e)?this.show():this.hide())},e.show=function(){var t,e=this;1<=this.getOpacity()?this.backToTopButton.setAttribute("aria-hidden","false"):(t=g(this.backToTopButton,this.fadeDuration),this.fadeAnimation=null!=t?t:null,this.fadeAnimation&&(this.fadeAnimation.onfinish=function(){e.backToTopButton.setAttribute("aria-hidden","false")}))},e.hide=function(){var t,e=this;this.getOpacity()<=0?this.backToTopButton.setAttribute("aria-hidden","true"):(t=v(this.backToTopButton,this.fadeDuration),this.fadeAnimation=null!=t?t:null,this.fadeAnimation&&(this.fadeAnimation.onfinish=function(){e.backToTopButton.setAttribute("aria-hidden","true")}))},e.onClick=function(t){t.preventDefault(),window.scrollTo({top:this.offset,behavior:this.behavior}),globalThis.setTimeout(function(){b()[0].focus()},200)},e.destroy=function(){window.removeEventListener("scroll",this.onScrollBound),this.backToTopButton.removeEventListener("click",this.onClickBound)}})(),new WeakMap),k=(()=>{function t(e,i){var n;if(void 0===i&&(i={}),this.openOnLoadTimeout=null,!e)throw new Error("L'élément cible est requis pour initialiser la modale.");if("DIALOG"!==e.tagName)throw new Error("L'élément cible doit être une balise <dialog>.");this.modal=e,this.closeClass=null!=(n=i.closeClass)?n:".js-close-dialog-btn",this.closeDialogBtn=e.querySelector(this.closeClass),this.options=this.initializeOptions(i),t.allInstances.push(this)}var e=t.prototype;return e.init=function(){var t=this;this.setupEventListeners(),this.options.openOnLoad&&(this.openOnLoadTimeout=setTimeout(function(){t.open()},this.options.openOnLoadDelay||0))},e.initializeOptions=function(t){var e,i=0,n=this.modal.dataset.openOnLoad?"true"===this.modal.dataset.openOnLoad:void 0,o=this.modal.dataset.openOnLoadDelay?Number.parseFloat(this.modal.dataset.openOnLoadDelay):void 0,s=this.modal.dataset.backdropClosable?"true"===this.modal.dataset.backdropClosable:void 0,r=this.modal.dataset.animationSpeed?Number.parseFloat(this.modal.dataset.animationSpeed):void 0;return{trigger:null!=(e=t.trigger)?e:null,openOnLoadDelay:null!=(e=null!=o?o:t.openOnLoadDelay)?e:i,openOnLoad:null!=(o=null!=n?n:t.openOnLoad)&&o,backdropClosable:null==(e=null!=s?s:t.backdropClosable)||e,animationSpeed:null!=(i=null!=r?r:t.animationSpeed)?i:0}},e.setupEventListeners=function(){var t,e=this,i=new AbortController;T.set(this,i),null!=(t=this.options.trigger)&&t.addEventListener("click",function(){return e.open()},{signal:i.signal}),null!=(t=this.closeDialogBtn)&&t.addEventListener("click",function(){return e.close()},{signal:i.signal}),this.modal.addEventListener("click",function(t){"DIALOG"===t.target.tagName&&e.options.backdropClosable&&e.close()},{signal:i.signal}),this.modal.addEventListener("keydown",function(t){"Esc"!==t.key&&"Escape"!==t.key||(t.preventDefault(),e.close())},{signal:i.signal})},e.emit=function(t){function e(){var e;return new CustomEvent(t,{detail:{modal:n.modal,trigger:null!=(e=n.options.trigger)?e:null}})}var i,n=this;
1this.modal.dispatchEvent(e()),null!=(i=this.options.trigger)&&i.dispatchEvent(e())},e.open=function(){var t=this;this.modal.classList.add("is-entering"),this.modal.showModal(),this.modal.classList.replace("is-entering","is-open"),setTimeout(function(){t.emit("modal.show")},this.options.animationSpeed)},e.close=function(){var t=this;this.modal.classList.replace("is-open","is-closing"),setTimeout(function(){t.modal.classList.replace("is-closing","is-closed"),t.modal.close(),t.emit("modal.hide")},this.options.animationSpeed)},e.destroy=function(){null!==this.openOnLoadTimeout&&(clearTimeout(this.openOnLoadTimeout),this.openOnLoadTimeout=null);var e=((e=T.get(this))&&(e.abort(),T.delete(this)),t.allInstances.indexOf(this));t.allInstances.splice(e,1)},t})(),O=(k.allInstances=[],(()=>{function t(t,e){void 0===e&&(e={}),this.tablistNode=t,this.tabs=[],this.firstTab=null,this.lastTab=null,this.tabs=Array.from(this.tablistNode.querySelectorAll("[role=tab]")),this.tabpanels=[],this.boundOnClick=this.onClick.bind(this),this.boundOnKeydown=this.onKeydown.bind(this),this.options=u({},{orientation:"horizontal",automatic:!0},e),t=new Set(this.tabs.map(function(t){return t.getAttribute("aria-controls")})),this.onePanel=1===t.size}var e=t.prototype;e.init=function(){for(var t=h(this.tabs);!(e=t()).done;){var e=e.value,i=document.getElementById(e.getAttribute("aria-controls"));e.tabIndex=-1,this.onePanel?e.setAttribute("aria-selected","true"):e.setAttribute("aria-selected","false"),i.setAttribute("aria-labelledby",e.id),this.tabpanels.push(i),e.addEventListener("keydown",this.boundOnKeydown),e.addEventListener("click",this.boundOnClick),this.firstTab||(this.firstTab=e),this.lastTab=e}this.setSelectedTab(this.firstTab,!1),"vertical"===this.options.orientation?this.tablistNode.setAttribute("aria-orientation","vertical"):this.tablistNode.setAttribute("aria-orientation","horizontal")},e.setSelectedTab=function(t,e){void 0===e&&(e=!0);for(var i=h(this.tabs);!(n=i()).done;){var n=n.value,o=document.getElementById(n.getAttribute("aria-controls"));t===n?(n.setAttribute("aria-selected","true"),n.removeAttribute("tabindex"),n.classList.add("is-active"),o.style.display="",o.tabIndex=0,o.removeAttribute("aria-hidden"),this.onePanel&&o.setAttribute("aria-labelledby",n.id),e&&n.focus(),n.dispatchEvent(new Event("tab.change"))):(n.setAttribute("aria-selected","false"),n.classList.remove("is-active"),n.tabIndex=-1,this.onePanel||(o.tabIndex=-1,o.style.display="none",o.setAttribute("aria-hidden","true")))}},e.setSelectedToPreviousTab=function(t){t===this.firstTab?this.setSelectedTab(this.lastTab):(t=this.tabs.indexOf(t),this.setSelectedTab(this.tabs[t-1]))},e.setSelectedToNextTab=function(t){t===this.lastTab?this.setSelectedTab(this.firstTab):(t=this.tabs.indexOf(t),this.setSelectedTab(this.tabs[t+1]))},e.onKeydown=function(t){function e(t,e){(n.options.automatic?t:e)()}var i,n=this,o=t.currentTarget,s="vertical"===this.options.orientation?"ArrowUp":"ArrowLeft",r="vertical"===this.options.orientation?"ArrowDown":"ArrowRight";(i={})[s]=function(){return e(function(){n.setSelectedToPreviousTab(o)},function(){n.moveFocusToPreviousTab(o)})},i[r]=function(){return e(function(){n.setSelectedToNextTab(o)},function(){n.moveFocusToNextTab(o)})},i.Enter=function(){return n.setSelectedTab(o)},i.Space=function(){return n.setSelectedTab(o)},i.Home=function(){return e(function(){n.setSelectedTab(n.firstTab)},function(){n.moveFocusToTab(n.firstTab)})},i.End=function(){return e(function(){n.setSelectedTab(n.lastTab)},function(){n.moveFocusToTab(n.lastTab)})},(s=i[t.key])&&(s(),t.stopPropagation(),t.preventDefault())},e.onClick=function(t){this.setSelectedTab(t.currentTarget)},e.moveFocusToPreviousTab=function(t){t=t===this.firstTab?this.lastTab:(t=this.tabs.indexOf(t),this.tabs[t-1]),this.focusOnly(t)},e.moveFocusToNextTab=function(t){t=t===this.lastTab?this.firstTab:(t=this.tabs.indexOf(t),this.tabs[t+1]),this.focusOnly(t)},e.moveFocusToTab=function(t){this.focusOnly(t)},e.focusOnly=function(t){for(var e=h(this.tabs);!(i=e()).done;){var i=i.value;i===t?i.removeAttribute("tabindex"):i.tabIndex=-1}t.focus()},e.selectTabById=function(t){var e=this.tabs.find(function(e){return e.id===t});this.setSelectedTab(e)},e.destroy=function(){for(var t=h(this.tabs);!(e=t()).done;){var e=e.value;e.removeEventListener("keydown",this.boundOnKeydown),e.removeEventListener("click",this.boundOnClick)}}})(),Math.min),L=Math.max,A=Math.round,S=function(t){return{x:t,y:t}}
1,C={left:"right",right:"left",bottom:"top",top:"bottom"};function B(t,e,i){return L(t,O(e,i))}function P(t,e){return"function"==typeof t?t(e):t}function D(t){return t.split("-")[0]}function I(t){return t.split("-")[1]}function N(t){return"x"===t?"y":"x"}function j(t){return"y"===t?"height":"width"}function F(t){return"t"===(t=t[0])||"b"===t?"y":"x"}function R(t){return N(F(t))}function q(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}var M=["left","right"],_=["right","left"],V=["top","bottom"],W=["bottom","top"];function G(t,e,i,n){var o=I(t);t=((t,e,i)=>{switch(t){case"top":case"bottom":return i?e?_:M:e?M:_;case"left":case"right":return e?V:W;default:return[]}})(D(t),"start"===i,n);return o&&(t=t.map(function(t){return t+"-"+o}),e)?t.concat(t.map(q)):t}function H(t){var e=D(t);return C[e]+t.slice(e.length)}function K(t){return"number"!=typeof t?u({top:0,right:0,bottom:0,left:0},t):{top:t,right:t,bottom:t,left:t}}function $(t){var e=t.x,i=t.y,n=t.width;return{width:n,height:t=t.height,top:i,left:e,right:e+n,bottom:i+t,x:e,y:i}}function z(t,e,i){var n,o=t.reference,s=t.floating,r=(t=F(e),R(e)),a=j(r),l=D(e),c="y"===t,u=o.x+o.width/2-s.width/2,d=o.y+o.height/2-s.height/2,h=o[a]/2-s[a]/2;switch(l){case"top":n={x:u,y:o.y-s.height};break;case"bottom":n={x:u,y:o.y+o.height};break;case"right":n={x:o.x+o.width,y:d};break;case"left":n={x:o.x-s.width,y:d};break;default:n={x:o.x,y:o.y}}switch(I(e)){case"start":n[r]-=h*(i&&c?-1:1);break;case"end":n[r]+=h*(i&&c?-1:1)}return n}function U(t,e){return X.apply(this,arguments)}function X(){return(X=c(r().m(function t(e,i){var n,o,s,a,l,c,u,d,h,f,p,m,g,v,y,b,w,x,E,T,k,O,L,A,S,C,B,D;return r().w(function(t){for(;;)switch(t.n){case 0:return void 0===i&&(i={}),n=e.x,o=e.y,s=e.platform,a=e.rects,l=e.elements,c=e.strategy,f=P(i,e),u=void 0===(u=f.boundary)?"clippingAncestors":u,d=void 0===(d=f.rootBoundary)?"viewport":d,h=void 0===(h=f.elementContext)?"floating":h,p=void 0!==(p=f.altBoundary)&&p,f=K(void 0===(f=f.padding)?0:f),b="floating"===h?"reference":"floating",p=l[p?b:h],b=$,w=s,t.n=1,null==s.isElement?void 0:s.isElement(p);case 1:null==(k=t.v)?t.n=2:(x=k,t.n=3);break;case 2:x=!0;case 3:x?(E=p,t.n=7):t.n=4;break;case 4:if(T=p.contextElement){t.n=6;break}return t.n=5,null==s.getDocumentElement?void 0:s.getDocumentElement(l.floating);case 5:T=t.v;case 6:E=T;case 7:return k=E,O=u,L=d,A=c,t.n=8,w.getClippingRect.call(w,{element:k,boundary:O,rootBoundary:L,strategy:A});case 8:return m=b(t.v),g="floating"===h?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,t.n=9,null==s.getOffsetParent?void 0:s.getOffsetParent(l.floating);case 9:return v=t.v,t.n=10,null==s.isElement?void 0:s.isElement(v);case 10:if(t.v)return t.n=11,null==s.getScale?void 0:s.getScale(v);t.n=13;break;case 11:if(C=t.v){t.n=12;break}C={x:1,y:1};case 12:S=C,t.n=14;break;case 13:S={x:1,y:1};case 14:if(y=S,B=$,s.convertOffsetParentRelativeRectToViewportRelativeRect)return t.n=15,s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:v,strategy:c});t.n=16;break;case 15:D=t.v,t.n=17;break;case 16:D=g;case 17:return O=B(D),t.a(2,{top:(m.top-O.top+f.top)/y.y,bottom:(O.bottom-m.bottom+f.bottom)/y.y,left:(m.left-O.left+f.left)/y.x,right:(O.right-m.right+f.right)/y.x})}},t)}))).apply(this,arguments)}var Q=(()=>{var t=c(r().m(function t(e,i,n){var o,s,a,l,c,d,h,f,p,m,g,v,y,b,w,x,E,T,k,O;return r().w(function(t){for(;;)switch(t.n){case 0:return o=void 0===(o=n.placement)?"bottom":o,s=void 0===(s=n.strategy)?"absolute":s,a=void 0===(a=n.middleware)?[]:a,c=(l=n.platform).detectOverflow?l:u({},l,{detectOverflow:U}),t.n=1,null==l.isRTL?void 0:l.isRTL(i);case 1:return d=t.v,t.n=2,l.getElementRects({reference:e,floating:i,strategy:s});case 2:h=t.v,p=z(h,o,d),f=p.x,p=p.y,m=o,v={},y=g=0;case 3:if(!(y<a.length)){t.n=12;break}if(b=a[y]){t.n=4;break}return t.a(3,11);case 4:return w=b.name,x=b.fn,t.n=5,x({x:f,y:p,initialPlacement:o,placement:m,strategy:s,middlewareData:v,rects:h,platform:c,elements:{reference:e,floating:i}});case 5:if(x=t.v,k=x.x,E=x.data,T=x.reset,f=null!=k?k:f,p=null!=(k=x.y)?k:p,v[w]=u({},v[w],E),T&&g<50)if(g++,"object"!=typeof T)t.n=10;
1else if(T.placement&&(m=T.placement),T.rects){if(!0===T.rects)return t.n=6,l.getElementRects({reference:e,floating:i,strategy:s});t.n=7}else t.n=9;else t.n=11;break;case 6:O=t.v,t.n=8;break;case 7:O=T.rects;case 8:h=O;case 9:k=z(h,m,d),f=k.x,p=k.y;case 10:y=-1;case 11:y++,t.n=3;break;case 12:return t.a(2,{x:f,y:p,placement:m,strategy:s,middlewareData:v})}},t)}));return function(e,i,n){return t.apply(this,arguments)}})(),Y=new Set(["left","top"]);function J(){return(J=c(r().m(function t(e,i){var n,o,s,a,l,c,u,d,h,f;return r().w(function(t){for(;;)switch(t.n){case 0:return n=e.placement,o=e.platform,s=e.elements,t.n=1,null==o.isRTL?void 0:o.isRTL(s.floating);case 1:return o=t.v,s=D(n),a=I(n),l="y"===F(n),c=Y.has(s)?-1:1,u=o&&l?-1:1,f="number"==typeof(f=P(i,e))?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis},d=f.mainAxis,h=f.crossAxis,f=f.alignmentAxis,a&&"number"==typeof f&&(h="end"===a?-1*f:f),t.a(2,l?{x:h*u,y:d*c}:{x:d*c,y:h*u})}},t)}))).apply(this,arguments)}function Z(){return"undefined"!=typeof window}function tt(t){return nt(t)?(t.nodeName||"").toLowerCase():"#document"}function et(t){return(null==t||null==(t=t.ownerDocument)?void 0:t.defaultView)||window}function it(t){return null==(t=(nt(t)?t.ownerDocument:t.document)||window.document)?void 0:t.documentElement}function nt(t){return Z()&&(t instanceof Node||t instanceof et(t).Node)}function ot(t){return!!Z()&&(t instanceof Element||t instanceof et(t).Element)}function st(t){return!!Z()&&(t instanceof HTMLElement||t instanceof et(t).HTMLElement)}function rt(t){return!(!Z()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof et(t).ShadowRoot)}function at(t){var e=(t=gt(t)).overflow,i=t.display;return/auto|scroll|overlay|hidden|clip/.test(e+t.overflowY+t.overflowX)&&"inline"!==i&&"contents"!==i}function lt(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}var ct,ut=/transform|translate|scale|rotate|perspective|filter/,dt=/paint|layout|strict|content/,ht=function(t){return!!t&&"none"!==t};function ft(t){return t=ot(t)?gt(t):t,ht(t.transform)||ht(t.translate)||ht(t.scale)||ht(t.rotate)||ht(t.perspective)||!pt()&&(ht(t.backdropFilter)||ht(t.filter))||ut.test(t.willChange||"")||dt.test(t.contain||"")}function pt(){return ct=ct??("undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none"))}function mt(t){return/^(html|body|#document)$/.test(tt(t))}function gt(t){return et(t).getComputedStyle(t)}function vt(t){return ot(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function yt(t){return"html"!==tt(t)&&(t=t.assignedSlot||t.parentNode||rt(t)&&t.host||it(t),rt(t))?t.host:t}function bt(t,e){void 0===e&&(e=[]);var i=function t(e){var i=yt(e);return mt(i)?(e.ownerDocument||e).body:st(i)&&at(i)?i:t(i)}(t),n=(t=i===(null==(t=t.ownerDocument)?void 0:t.body),et(i));return t?(wt(n),e.concat(n,n.visualViewport||[],at(i)?i:[],[])):e.concat(i,bt(i,[]))}function wt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function xt(t){var e=gt(t),i=parseFloat(e.width)||0,n=(e=parseFloat(e.height)||0,(o=st(t))?t.offsetWidth:i),o=o?t.offsetHeight:e;return(t=A(i)!==n||A(e)!==o)&&(i=n,e=o),{width:i,height:e,$:t}}function Et(t){return ot(t)?t:t.contextElement}function Tt(t){var e,i,n;return st(t=Et(t))?(e=t.getBoundingClientRect(),n=(t=xt(t)).width,i=t.height,n=((t=t.$)?A(e.width):e.width)/n,t=(t?A(e.height):e.height)/i,{x:n=n&&Number.isFinite(n)?n:1,y:t=t&&Number.isFinite(t)?t:1}):S(1)}var kt=S(0);function Ot(t){return t=et(t),pt()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:kt}function Lt(t,e,i,n){void 0===e&&(e=!1),void 0===i&&(i=!1);var o=t.getBoundingClientRect(),s=Et(t),r=S(1),a=(i=(e&&(n?ot(n)&&(r=Tt(n)):r=Tt(t)),e=s,void 0===(t=i)&&(t=!1),!(i=n)||t&&i!==et(e)||!t?S(0):Ot(s)),(o.left+i.x)/r.x),l=(o.top+i.y)/r.y,c=o.width/r.x,u=o.height/r.y;if(s){e=et(s);for(var d=n&&ot(n)?et(n):n,h=e,f=wt(h);f&&n&&d!==h;){var p=Tt(f),m=f.getBoundingClientRect(),g=gt(f),v=m.left+(f.clientLeft+parseFloat(g.paddingLeft))*p.x;m=m.top+(f.clientTop+parseFloat(g.paddingTop))*p.y;a*=p.x,l*=p.y,c*=p.x,u*=p.y,a+=v,l+=m,f=wt(h=et(f))}}return $({width:c,height:u,x:a,y:l})}function At(t,e){var i=vt(t).scrollLeft;return e?e.left+i:Lt(it(t)).left+i}function St(t,e){var i=t.getBoundingClientRect();return{x:i.left+e.scrollLeft-At(t,i),y:i.top+e.scrollTop}}function Ct(t,e,i){var n,o,s,r,a,l,c,u,d;
1return $("viewport"===e?(o=i,a=et(n=t),n=it(n),a=a.visualViewport,l=n.clientWidth,c=n.clientHeight,d=u=0,a&&(l=a.width,c=a.height,pt()&&"fixed"!==o||(u=a.offsetLeft,d=a.offsetTop)),(o=At(n))<=0?(s=(a=n.ownerDocument).body,r=getComputedStyle(s),a="CSS1Compat"===a.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,(r=Math.abs(n.clientWidth-s.clientWidth-a))<=25&&(l-=r)):o<=25&&(l+=o),{width:l,height:c,x:u,y:d}):"document"===e?(n=it(t),s=it(n),a=vt(n),r=n.ownerDocument.body,o=L(s.scrollWidth,s.clientWidth,r.scrollWidth,r.clientWidth),l=L(s.scrollHeight,s.clientHeight,r.scrollHeight,r.clientHeight),n=-a.scrollLeft+At(n),a=-a.scrollTop,"rtl"===gt(r).direction&&(n+=L(s.clientWidth,r.clientWidth)-o),{width:o,height:l,x:n,y:a}):ot(e)?(d=(u=Lt(c=e,!0,"fixed"===(u=i))).top+c.clientTop,u=u.left+c.clientLeft,i=st(c)?Tt(c):S(1),{width:c.clientWidth*i.x,height:c.clientHeight*i.y,x:u*i.x,y:d*i.y}):(i=Ot(t),{x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}))}function Bt(t,e){var i=e.get(t);if(i)return i;for(var n=bt(t,[]).filter(function(t){return ot(t)&&"body"!==tt(t)}),o=null,s="fixed"===gt(t).position,r=s?yt(t):t;ot(r)&&!mt(r);){var a=gt(r),l=ft(r);l||"fixed"!==a.position||(o=null),(s?!l&&!o:!l&&"static"===a.position&&o&&("absolute"===o.position||"fixed"===o.position)||at(r)&&!l&&function t(e,i){return!((e=yt(e))===i||!ot(e)||mt(e))&&("fixed"===gt(e).position||t(e,i))}(t,r))?n=n.filter(function(t){return t!==r}):o=a,r=yt(r)}return e.set(t,n),n}function Pt(t,e,i){var n=st(e),o=it(e),s=(t=Lt(t,!0,i="fixed"===i,e),{scrollLeft:0,scrollTop:0}),r=S(0);function a(){r.x=At(o)}!n&&i||("body"===tt(e)&&!at(o)||(s=vt(e)),n?(l=Lt(e,!0,i,e),r.x=l.x+e.clientLeft,r.y=l.y+e.clientTop):o&&a()),i&&!n&&o&&a();var l=!o||n||i?S(0):St(o,s);return{x:t.left+s.scrollLeft-r.x-l.x,y:t.top+s.scrollTop-r.y-l.y,width:t.width,height:t.height}}function Dt(t){return"static"===gt(t).position}function It(t,e){return st(t)&&"fixed"!==gt(t).position?e?e(t):(e=t.offsetParent,it(t)===e?e.ownerDocument.body:e):null}function Nt(t,e){var i=et(t);if(lt(t))return i;if(!st(t)){for(var n=yt(t);n&&!mt(n);){if(ot(n)&&!Dt(n))return n;n=yt(n)}return i}for(var o=It(t,e);o&&/^(table|td|th)$/.test(tt(o))&&Dt(o);)o=It(o,e);return(!(o&&mt(o)&&Dt(o))||ft(o))&&(o||(t=>{for(var e=yt(t);st(e)&&!mt(e);){if(ft(e))return e;if(lt(e))return null;e=yt(e)}return null})(t))||i}function jt(t,e){void 0===e&&(e=100),window.addEventListener("resize",function(t,e){var i;return function(n){i&&clearTimeout(i),i=setTimeout(t,e,n)}}(t,e))}var Ft={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){var e,i,n,o,s=t.elements,r=t.rect,a=t.offsetParent,l=(t="fixed"===t.strategy,it(a));s=!!s&&lt(s.floating);return a===l||s&&t?r:(s={scrollLeft:0,scrollTop:0},n=S(1),e=S(0),((i=st(a))||!i&&!t)&&("body"===tt(a)&&!at(l)||(s=vt(a)),i)&&(o=Lt(a),n=Tt(a),e.x=o.x+a.clientLeft,e.y=o.y+a.clientTop),o=!l||i||t?S(0):St(l,s),{width:r.width*n.x,height:r.height*n.y,x:r.x*n.x-s.scrollLeft*n.x+e.x+o.x,y:r.y*n.y-s.scrollTop*n.y+e.y+o.y})},getDocumentElement:it,getClippingRect:function(t){for(var e=t.element,i=t.boundary,n=t.rootBoundary,o=t.strategy,s=(t="clippingAncestors"===i?lt(e)?[]:Bt(e,this.t):[].concat(i),[].concat(t,[n])),r=(i=Ct(e,s[0],o)).top,a=i.right,l=i.bottom,c=i.left,u=1;u<s.length;u++){var d=Ct(e,s[u],o);r=L(d.top,r),a=O(d.right,a),l=O(d.bottom,l),c=L(d.left,c)}return{width:a-c,height:l-r,x:c,y:r}},getOffsetParent:Nt,getElementRects:(()=>{var t=c(r().m(function t(e){var i,n,o,s,a,l;return r().w(function(t){for(;;)switch(t.n){case 0:return i=this.getOffsetParent||Nt,a=this.getDimensions,t.n=1,a(e.floating);case 1:return n=t.v,o=Pt,s=e.reference,t.n=2,i(e.floating);case 2:return a=o(s,t.v,e.strategy),l={x:0,y:0,width:n.width,height:n.height},t.a(2,{reference:a,floating:l})}},t,this)}));return function(e){return t.apply(this,arguments)}})(),getClientRects:function(t){return Array.from(t.getClientRects())}
1,getDimensions:function(t){return{width:(t=xt(t)).width,height:t.height}},getScale:Tt,isElement:ot,isRTL:function(t){return"rtl"===gt(t).direction}},Rt=function(t){return{name:"offset",options:t=void 0===t?0:t,fn:function(e){return c(r().m(function i(){var n,o,s,a,l,c;return r().w(function(i){for(;;)switch(i.n){case 0:return o=e.x,s=e.y,a=e.placement,l=e.middlewareData,i.n=1,function(){return J.apply(this,arguments)}(e,t);case 1:if(c=i.v,a===(null==(n=l.offset)?void 0:n.placement)&&null!=(n=l.arrow)&&n.alignmentOffset)return i.a(2,{});i.n=2;break;case 2:return i.a(2,{x:o+c.x,y:s+c.y,data:u({},c,{placement:a})})}},i)}))()}}},qt=function(t){return{name:"shift",options:t=void 0===t?{}:t,fn:function(e){return c(r().m(function i(){var n,a,l,c,d,h,f,p,m,g,v,y,b,w,x;return r().w(function(i){for(;;)switch(i.n){case 0:return n=e.x,a=e.y,l=e.placement,p=e.platform,m=P(t,e),c=void 0===(c=m.mainAxis)||c,d=void 0!==(d=m.crossAxis)&&d,h=void 0===(h=m.limiter)?{fn:function(t){return{x:t.x,y:t.y}}}:h,m=s(m,o),f={x:n,y:a},i.n=1,p.detectOverflow(e,m);case 1:return p=i.v,m=F(D(l)),x=f[g=N(m)],v=f[m],c&&(b="y"===g?"bottom":"right",y=x+p["y"===g?"top":"left"],b=x-p[b],x=B(y,x,b)),d&&(y="y"===m?"bottom":"right",b=v+p["y"===m?"top":"left"],w=v-p[y],v=B(b,v,w)),x=h.fn(u({},e,((w={})[g]=x,w[m]=v,w))),i.a(2,u({},x,{data:{x:x.x-n,y:x.y-a,enabled:((v={})[g]=c,v[m]=d,v)}}))}},i)}))()}}},Mt=function(t){return{name:"flip",options:t=void 0===t?{}:t,fn:function(e){return c(r().m(function i(){var o,a,l,c,u,d,h,f,p,m,g,v,y,b,w,x,E,T,k,O,L,A,S,C,B,N;return r().w(function(i){for(;;)switch(i.n){case 0:if(o=e.placement,a=e.middlewareData,l=e.rects,c=e.initialPlacement,u=e.platform,d=e.elements,y=P(t,e),h=void 0===(h=y.mainAxis)||h,f=void 0===(f=y.crossAxis)||f,p=y.fallbackPlacements,m=void 0===(m=y.fallbackStrategy)?"bestFit":m,g=void 0===(g=y.fallbackAxisSideDirection)?"none":g,v=void 0===(v=y.flipAlignment)||v,y=s(y,n),null!=(T=a.arrow)&&T.alignmentOffset)return i.a(2,{});i.n=1;break;case 1:return b=D(o),w=F(c),x=D(c)===c,i.n=2,null==u.isRTL?void 0:u.isRTL(d.floating);case 2:return E=i.v,T=p||(x||!v?[H(c)]:(W=void 0,W=H(V=c),[q(V),W,q(W)])),k="none"!==g,!p&&k&&T.push.apply(T,G(c,v,g,E)),O=[c].concat(T),i.n=3,u.detectOverflow(e,y);case 3:if(A=i.v,N=[],L=(null==(L=a.flip)?void 0:L.overflows)||[],h&&N.push(A[b]),f&&(V=l,(W=void 0)===(M=E)&&(M=!1),W=I(r=o),_=j(r=R(r)),r="x"===r?W===(M?"end":"start")?"right":"left":"start"===W?"bottom":"top",S=[r=V.reference[_]>V.floating[_]?H(r):r,H(r)],N.push(A[S[0]],A[S[1]])),L=[].concat(L,[{placement:o,overflows:N}]),N.every(function(t){return t<=0}))i.n=8;else{if(S=((null==(A=a.flip)?void 0:A.index)||0)+1,(N=O[S])&&("alignment"!==f||w===F(N)||L.every(function(t){return F(t.placement)!==w||0<t.overflows[0]})))return i.a(2,{data:{index:S,overflows:L},reset:{placement:N}});i.n=4}break;case 4:(C=null==(A=L.filter(function(t){return t.overflows[0]<=0}).sort(function(t,e){return t.overflows[1]-e.overflows[1]})[0])?void 0:A.placement)?i.n=7:(N=m,i.n="bestFit"===N?5:"initialPlacement"===N?6:7);break;case 5:return(B=null==(B=L.filter(function(t){return!k||(t=F(t.placement))===w||"y"===t}).map(function(t){return[t.placement,t.overflows.filter(function(t){return 0<t}).reduce(function(t,e){return t+e},0)]}).sort(function(t,e){return t[1]-e[1]})[0])?void 0:B[0])&&(C=B),i.a(3,7);case 6:return C=c,i.a(3,7);case 7:if(o!==C)return i.a(2,{reset:{placement:C}});i.n=8;break;case 8:return i.a(2,{})}var r,M,_,V,W},i)}))()}}},_t=function(t){return{name:"arrow",options:t,fn:function(e){return c(r().m(function i(){var n,o,s,a,l,c,d,h,f,p,m,g,v,y,b,w,x,E,T,k,L,A,S,C,D,N,F,q;return r().w(function(i){for(;;)switch(i.n){case 0:if(n=e.x,o=e.y,s=e.placement,a=e.rects,l=e.platform,c=e.elements,d=e.middlewareData,f=P(t,e)||{},h=f.element,f=void 0===(f=f.padding)?0:f,null==h)return i.a(2,{});i.n=1;break;case 1:return p=K(f),m={x:n,y:o},g=R(s),v=j(g),i.n=2,l.getDimensions(h);case 2:return y=i.v,b=(x="y"===g)?"top":"left",w=x?"bottom":"right",x=x?"clientHeight":"clientWidth",E=a.reference[v]+a.reference[g]-m[g]-a.floating[v],T=m[g]-a.reference[g],i.n=3,null==l.getOffsetParent?void 0:l.getOffsetParent(h);
1case 3:if(L=i.v,k=L?L[x]:0,q=!k){i.n=5;break}return i.n=4,null==l.isElement?void 0:l.isElement(L);case 4:q=!i.v;case 5:if(!q){i.n=6;break}k=c.floating[x]||a.floating[v];case 6:return L=E/2-T/2,F=k/2-y[v]/2-1,N=O(p[b],F),F=O(p[w],F),A=N,S=k-y[v]-F,C=k/2-y[v]/2+L,D=B(A,C,S),N=!d.arrow&&null!=I(s)&&C!==D&&a.reference[v]/2-(C<A?N:F)-y[v]/2<0,F=N?C<A?C-A:C-S:0,i.a(2,((A={})[g]=m[g]+F,A.data=u(((S={})[g]=D,S.centerOffset=C-D-F,S),N&&{alignmentOffset:F}),A.reset=N,A))}},i)}))()}}},Vt=((()=>{function t(t){var e=(this.container=t).querySelector(".js-tooltip-button");t=t.querySelector("[role=tooltip]");if(!e||!t)throw new Error("Tooltip: missing button or tooltip element.");this.button=e,this.tooltip=t,this.arrow=document.createElement("span"),this.tooltipPosition=this.getTooltipPosition(),this.globalEscapeBound=this.globalEscape.bind(this)}var e=t.prototype;e.init=function(){this.createArrowElement(),this.initialiseClassList(this.tooltipPosition),this.bindEvents()},e.createArrowElement=function(){this.arrow.classList.add("js-arrow","c-tooltip__arrow"),this.tooltip.append(this.arrow)},e.openTooltip=function(){this.attachGlobalListener(),this.showTooltip(),this.setTooltipPlacement()},e.closeTooltip=function(){this.removeGlobalListener(),this.hideTooltip()},e.bindEvents=function(){this.container.addEventListener("mouseenter",this.openTooltip.bind(this)),this.container.addEventListener("touchstart",this.openTooltip.bind(this)),this.button.addEventListener("focus",this.openTooltip.bind(this)),this.container.addEventListener("mouseleave",this.closeTooltip.bind(this)),this.button.addEventListener("blur",this.closeTooltip.bind(this))},e.attachGlobalListener=function(){document.addEventListener("keydown",this.globalEscapeBound)},e.removeGlobalListener=function(){document.removeEventListener("keydown",this.globalEscapeBound)},e.globalEscape=function(t){"Escape"!==t.key&&"Esc"!==t.key||this.closeTooltip()},e.showTooltip=function(){this.container.classList.add("c-tooltip--visible"),this.tooltip.classList.remove("u-hidden"),this.tooltip.removeAttribute("hidden")},e.hideTooltip=function(){this.container.classList.remove("c-tooltip--visible"),this.tooltip.classList.add("u-hidden"),this.tooltip.setAttribute("hidden","")},e.initialiseClassList=function(t){switch(this.container.classList.remove("c-tooltip--top","c-tooltip--left","c-tooltip--right"),t){case"top":this.container.classList.add("c-tooltip--top");break;case"left":this.container.classList.add("c-tooltip--left");break;case"right":this.container.classList.add("c-tooltip--right")}},e.setTooltipPlacement=function(){var t,e,i,n,o=this;t=this.button,e=this.tooltip,i={placement:this.tooltipPosition,middleware:[Rt(6),Mt(),qt({padding:5}),_t({element:this.arrow})]},n=new Map,i=u({platform:Ft},i),n=u({},i.platform,{t:n}),Q(t,e,u({},i,{platform:n})).then(function(t){var e=t.x,i=t.placement,n=t.middlewareData;
1t=(e=(Object.assign(o.tooltip.style,{left:e+"px",top:t.y+"px"}),o.initialiseClassList(i),n.arrow||{})).x,n=e.y,e=i.split("-")[0];Object.assign(o.arrow.style,((i={left:null==t?"":t+"px",top:null==n?"":n+"px",right:"",bottom:""})[{top:"bottom",right:"left",bottom:"top",left:"right"}[e]||"bottom"]="-4px",i))})},e.getTooltipPosition=function(){var t=this.container.dataset.tooltipPosition;return"top"===t||"left"===t||"right"===t?t:"bottom"}})(),new WeakMap,(t=>(t.NOT_VISIBLE="hidden",t.ENTERING_TOP="entering-top",t.ENTERING_BOTTOM="entering-bottom",t.VISIBLE="visible",t.EXITING_TOP="exiting-top",t.EXITING_BOTTOM="exiting-bottom",t))({}));(()=>{function t(t){this.states=new WeakMap,this.ratios=new WeakMap,this.entries=new WeakMap,this.classesMap=t,this.observer=new IntersectionObserver(this.handleIntersect.bind(this),{threshold:Array.from({length:101},function(t,e){return e/100})})}var e=t.prototype;e.observe=function(t){this.states.set(t,"hidden"),this.ratios.set(t,0),this.observer.observe(t)},e.unobserve=function(t){this.states.delete(t),this.ratios.delete(t),this.entries.delete(t),this.observer.unobserve(t)},e.handleIntersect=function(t){for(var e=h(t);!(i=e()).done;){var i=i.value,n=i.target,o=(this.entries.set(n,i),null!=(o=this.ratios.get(n))?o:0);o=this.computeState(i,o);this.ratios.set(n,i.intersectionRatio),this.states.get(n)!==o&&(this.states.set(n,o),this.applyEffects(n,o))}},e.getElementVisibility=function(t){return 0<=(t=t.getBoundingClientRect()).top&&0<=t.left&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)},e.computeState=function(t,e){var i=t.intersectionRatio,n=t.boundingClientRect,o=t.rootBounds;return o&&0!==i?.98<=i?"visible":0===e&&0<i?n.top<o.top?"entering-top":"entering-bottom":i<e?n.top<o.top?"exiting-top":"exiting-bottom":null!=(i=this.states.get(t.target))?i:"hidden":"hidden"},e.applyEffects=function(t,e){var i=this,n=(t.dispatchEvent(new CustomEvent("visibilitychange",{detail:{state:e}})),Object.values(Vt).forEach(function(e){var n=null!=(n=null==(n=i.classesMap)?void 0:n[e])?n:"is-"+e;t.classList.remove(n)}),null!=(n=null==(n=this.classesMap)?void 0:n[e])?n:"is-"+e);t.classList.add(n)}})();new WeakMap}};const e={};function i(n){const o=e[n];if(void 0!==o)return o.exports;const s=e[n]={exports:{}};return t[n].call(s.exports,s,s.exports,i),s.exports}i.d=(t,e)=>{if(Array.isArray(e))for(var n=0;n<e.length;){var o=e[n++],s=e[n++],r=0===s?{enumerable:!0,value:e[n++]}:{enumerable:!0,get:s};i.o(t,o)||Object.defineProperty(t,o,r)}else for(var o in e)i.o(e,o)&&!i.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";i(9306),i(1256),i(2059),i(7033),i(3699)})()})();

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.