work/source-derived/registration-ui/scripts.b3a64f852b6b8792.js:1:!function(C,R){"object"==typeof exports&&typeof module<"u"?module.exports=R(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],R):(C=typeof globalThis<"u"?globalThis:C||self).bootstrap=R(C.Popper)}(this,function(C){"use strict";const D=function R(h){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(h)for(const a in h)if("default"!==a){const f=Object.getOwnPropertyDescriptor(h,a);Object.defineProperty(r,a,f.get?f:{enumerable:!0,get:()=>h[a]})}return r.default=h,Object.freeze(r)}(C),he=new Map,xe={set(h,r,a){he.has(h)||he.set(h,new Map);const f=he.get(h);f.has(r)||0===f.size?f.set(r,a):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(f.keys())[0]}.`)},get:(h,r)=>he.has(h)&&he.get(h).get(r)||null,remove(h,r){if(!he.has(h))return;const a=he.get(h);a.delete(r),0===a.size&&he.delete(h)}},Ee="transitionend",ce=h=>(h&&window.CSS&&window.CSS.escape&&(h=h.replace(/#([^\s"#']+)/g,(r,a)=>`#${CSS.escape(a)}`)),h),Re=h=>{h.dispatchEvent(new Event(Ee))},re=h=>!(!h||"object"!=typeof h)&&(void 0!==h.jquery&&(h=h[0]),void 0!==h.nodeType),Se=h=>re(h)?h.jquery?h[0]:h:"string"==typeof h&&h.length>0?document.querySelector(ce(h)):null,Ie=h=>{if(!re(h)||0===h.getClientRects().length)return!1;const r="visible"===getComputedStyle(h).getPropertyValue("visibility"),a=h.closest("details:not([open])");if(!a)return r;if(a!==h){const f=h.closest("summary");if(f&&f.parentNode!==a||null===f)return!1}return r},Oe=h=>!h||h.nodeType!==Node.ELEMENT_NODE||!!h.classList.contains("disabled")||(void 0!==h.disabled?h.disabled:h.hasAttribute("disabled")&&"false"!==h.getAttribute("disabled")),Ct=h=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof h.getRootNode){const r=h.getRootNode();return r instanceof ShadowRoot?r:null}return h instanceof ShadowRoot?h:h.parentNode?Ct(h.parentNode):null},gt=()=>{},F=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,W=[],P=()=>"rtl"===document.documentElement.dir,$=h=>{var r;r=()=>{const a=F();if(a){const f=h.NAME,y=a.fn[f];a.fn[f]=h.jQueryInterface,a.fn[f].Constructor=h,a.fn[f].noConflict=()=>(a.fn[f]=y,h.jQueryInterface)}},"loading"===document.readyState?(W.length||document.addEventListener("DOMContentLoaded",()=>{for(const a of W)a()}),W.push(r)):r()},q=(h,r=[],a=h)=>"function"==typeof h?h(...r):a,K=(h,r,a=!0)=>{if(!a)return void q(h);const f=(j=>{if(!j)return 0;let{transitionDuration:le,transitionDelay:fe}=window.getComputedStyle(j);const Ye=Number.parseFloat(le),tt=Number.parseFloat(fe);return Ye||tt?(le=le.split(",")[0],fe=fe.split(",")[0],1e3*(Number.parseFloat(le)+Number.parseFloat(fe))):0})(r)+5;let y=!1;const k=({target:j})=>{j===r&&(y=!0,r.removeEventListener(Ee,k),q(h))};r.addEventListener(Ee,k),setTimeout(()=>{y||Re(r)},f)},Z=(h,r,a,f)=>{const y=h.length;let k=h.indexOf(r);return-1===k?!a&&f?h[y-1]:h[0]:(k+=a?1:-1,f&&(k=(k+y)%y),h[Math.max(0,Math.min(k,y-1))])},Y=/[^.]*(?=\..*)\.|.*/,G=/\..*/,Q=/::\d+$/,me={};let S=1;const E={mouseenter:"mouseover",mouseleave:"mouseout"},x=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function T(h,r){return r&&`${r}::${S++}`||h.uidEvent||S++}function z(h){const r=T(h);return h.uidEvent=r,me[r]=me[r]||{},me[r]}function B(h,r,a=null){return Object.values(h).find(f=>f.callable===r&&f.delegationSelector===a)}function J(h,r,a){const f="string"==typeof r,y=f?a:r||a;let k=$e(h);return x.has(k)||(k=h),[f,y,k]}function oe(h,r,a,f,y){if("string"!=typeof r||!h)return;let[k,j,le]=J(r,a,f);var nt;r in E&&(nt=j,j=function(wt){if(!wt.relatedTarget||wt.relatedTarget!==wt.delegateTarget&&!wt.delegateTarget.contains(wt.relatedTarget))return nt.call(this,wt)});const fe=z(h),Ye=fe[le]||(fe[le]={}),tt=B(Ye,j,k?a:null);if(tt)return void(tt.oneOff=tt.oneOff&&y);const yt=T(j,r.replace(Y,"")),Ut=k?function(qt,nt,wt){return function Hn(Qe){const Ss=qt.querySelectorAll(nt);for(let{target:fn}=Qe;fn&&fn!==this;fn=fn.parentNode)for(const Ls of Ss)if(Ls===fn)return _t(Qe,{delegateTarget:fn}),Hn.oneOff&&b.off(qt,Qe.type,nt,wt),wt.apply(fn,[Qe])}}(h,a,j):function(qt,nt){return function wt(Hn){return _t(Hn,{delegateTarget:qt}),wt.oneOff&&b.off(qt,Hn.type,nt),nt.apply(qt,[Hn])}}(h,j);Ut.delegationSelector=k?a:null,Ut.callable=j,Ut.oneOff=y,Ut.uidEvent=yt,Ye[yt]=Ut,h.addEventListener(le,Ut,k)}function se(h,r,a,f,y){const k=B(r[a],f,y);k&&(h.removeEventListener(a,k,!!y),delete r[a][k.uidEvent])}function Ce(h,r,a,f){const y=r[a]||{};for(const[k,j]of Object.entries(y))k.includes(f)&&se(h,r,a,j.callable,j.delegationSelector)}function $e(h){return h=h.replace(G,""),E[h]||h}const b={on(h,r,a,f){oe(h,r,a,f,!1)},one(h,r,a,f){oe(h,r,a,f,!0)},off(h,r,a,f){if("string"!=typeof r||!h)return;const[y,k,j]=J(r,a,f),le=j!==r,fe=z(h),Ye=fe[j]||{},tt=r.startsWith(".");if(void 0===k){if(tt)for(const yt of Object.keys(fe))Ce(h,fe,yt,r.slice(1));for(const[yt,Ut]of Object.entries(Ye)){const qt=yt.replace(Q,"");le&&!r.includes(qt)||se(h,fe,j,Ut.callable,Ut.delegationSelector)}}else{if(!Object.keys(Ye).length)return;se(h,fe,j,k,y?a:null)}},trigger(h,r,a){if("string"!=typeof r||!h)return null;const f=F();let y=null,k=!0,j=!0,le=!1;r!==$e(r)&&f&&(y=f.Event(r,a),f(h).trigger(y),k=!y.isPropagationStopped(),j=!y.isImmediatePropagationStopped(),le=y.isDefaultPrevented());const fe=_t(new Event(r,{bubbles:k,cancelable:!0}),a);return le&&fe.preventDefault(),j&&h.dispatchEvent(fe),fe.defaultPrevented&&y&&y.preventDefault(),fe}};function _t(h,r={}){for(const[a,f]of Object.entries(r))try{h[a]=f}catch{Object.defineProperty(h,a,{configurable:!0,get:()=>f})}return h}function $n(h){if("true"===h)return!0;if("false"===h)return!1;if(h===Number(h).toString())return Number(h);if(""===h||"null"===h)return null;if("string"!=typeof h)return h;try{return JSON.parse(decodeURIComponent(h))}catch{return h}}function Vt(h){return h.replace(/[A-Z]/g,r=>`-${r.toLowerCase()}`)}const de={setDataAttribute(h,r,a){h.setAttribute(`data-bs-${Vt(r)}`,a)},removeDataAttribute(h,r){h.removeAttribute(`data-bs-${Vt(r)}`)},getDataAttributes(h){if(!h)return{};const r={},a=Object.keys(h.dataset).filter(f=>f.startsWith("bs")&&!f.startsWith("bsConfig"));for(const f of a){let y=f.replace(/^bs/,"");y=y.charAt(0).toLowerCase()+y.slice(1,y.length),r[y]=$n(h.dataset[f])}return r},getDataAttribute:(h,r)=>$n(h.getAttribute(`data-bs-${Vt(r)}`))};class we{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(r){return r=this._mergeConfigObj(r),r=this._configAfterMerge(r),this._typeCheckConfig(r),r}_configAfterMerge(r){return r}_mergeConfigObj(r,a){const f=re(a)?de.getDataAttribute(a,"config"):{};return{...this.constructor.Default,..."object"==typeof f?f:{},...re(a)?de.getDataAttributes(a):{},..."object"==typeof r?r:{}}}_typeCheckConfig(r,a=this.constructor.DefaultType){for(const[y,k]of Object.entries(a)){const j=r[y],le=re(j)?"element":null==(f=j)?`${f}`:Object.prototype.toString.call(f).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(k).test(le))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${y}" provided type "${le}" but expected type "${k}".`)}var f}}class pe extends we{constructor(r,a){super(),(r=Se(r))&&(this._element=r,this._config=this._getConfig(a),xe.set(this._element,this.constructor.DATA_KEY,this))}dispose(){xe.remove(this._element,this.constructor.DATA_KEY),b.off(this._element,this.constructor.EVENT_KEY);for(const r of Object.getOwnPropertyNames(this))this[r]=null}_queueCallback(r,a,f=!0){K(r,a,f)}_getConfig(r){return r=this._mergeConfigObj(r,this._element),r=this._configAfterMerge(r),this._typeCheckConfig(r),r}static getInstance(r){return xe.get(Se(r),this.DATA_KEY)}static getOrCreateInstance(r,a={}){return this.getInstance(r)||new this(r,"object"==typeof a?a:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(r){return`${r}${this.EVENT_KEY}`}}const De=h=>{let r=h.getAttribute("data-bs-target");if(!r||"#"===r){let a=h.getAttribute("href");if(!a||!a.includes("#")&&!a.startsWith("."))return null;a.includes("#")&&!a.startsWith("#")&&(a=`#${a.split("#")[1]}`),r=a&&"#"!==a?a.trim():null}return r?r.split(",").map(a=>ce(a)).join(","):null},M={find:(h,r=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(r,h)),findOne:(h,r=document.documentElement)=>Element.prototype.querySelector.call(r,h),children:(h,r)=>[].concat(...h.children).filter(a=>a.matches(r)),parents(h,r){const a=[];let f=h.parentNode.closest(r);for(;f;)a.push(f),f=f.parentNode.closest(r);return a},prev(h,r){let a=h.previousElementSibling;for(;a;){if(a.matches(r))return[a];a=a.previousElementSibling}return[]},next(h,r){let a=h.nextElementSibling;for(;a;){if(a.matches(r))return[a];a=a.nextElementSibling}return[]},focusableChildren(h){const r=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(a=>`${a}:not([tabindex^="-"])`).join(",");return this.find(r,h).filter(a=>!Oe(a)&&Ie(a))},getSelectorFromElement(h){const r=De(h);return r&&M.findOne(r)?r:null},getElementFromSelector(h){const r=De(h);return r?M.findOne(r):null},getMultipleElementsFromSelector(h){const r=De(h);return r?M.find(r):[]}},Rt=(h,r="hide")=>{const f=h.NAME;b.on(document,`click.dismiss${h.EVENT_KEY}`,`[data-bs-dismiss="${f}"]`,function(y){if(["A","AREA"].includes(this.tagName)&&y.preventDefault(),Oe(this))return;const k=M.getElementFromSelector(this)||this.closest(`.${f}`);h.getOrCreateInstance(k)[r]()})},ze=".bs.alert",Fe=`close${ze}`,Xn=`closed${ze}`;class We extends pe{static get NAME(){return"alert"}close(){if(b.trigger(this._element,Fe).defaultPrevented)return;this._element.classList.remove("show");const r=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,r)}_destroyElement(){this._element.remove(),b.trigger(this._element,Xn),this.dispose()}static jQueryInterface(r){return this.each(function(){const a=We.getOrCreateInstance(this);if("string"==typeof r){if(void 0===a[r]||r.startsWith("_")||"constructor"===r)throw new TypeError(`No method named "${r}"`);a[r](this)}})}}Rt(We,"close"),$(We);const yi='[data-bs-toggle="button"]';class Pn extends pe{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(r){return this.each(function(){const a=Pn.getOrCreateInstance(this);"toggle"===r&&a[r]()})}}b.on(document,"click.bs.button.data-api",yi,h=>{h.preventDefault();const r=h.target.closest(yi);Pn.getOrCreateInstance(r).toggle()}),$(Pn);const l=".bs.swipe",Do=`touchstart${l}`,Sr=`touchmove${l}`,Mo=`touchend${l}`,ot=`pointerdown${l}`,Ro=`pointerup${l}`,Lr={endCallback:null,leftCallback:null,rightCallback:null},zo={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class rn extends we{constructor(r,a){super(),this._element=r,r&&rn.isSupported()&&(this._config=this._getConfig(a),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Lr}static get DefaultType(){return zo}static get NAME(){return"swipe"}dispose(){b.off(this._element,l)}_start(r){this._supportPointerEvents?this._eventIsPointerPenTouch(r)&&(this._deltaX=r.clientX):this._deltaX=r.touches[0].clientX}_end(r){this._eventIsPointerPenTouch(r)&&(this._deltaX=r.clientX-this._deltaX),this._handleSwipe(),q(this._config.endCallback)}_move(r){this._deltaX=r.touches&&r.touches.length>1?0:r.touches[0].clientX-this._deltaX}_handleSwipe(){const r=Math.abs(this._deltaX);if(r<=40)return;const a=r/this._deltaX;this._deltaX=0,a&&q(a>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(b.on(this._element,ot,r=>this._start(r)),b.on(this._element,Ro,r=>this._end(r)),this._element.classList.add("pointer-event")):(b.on(this._element,Do,r=>this._start(r)),b.on(this._element,Sr,r=>this._move(r)),b.on(this._element,Mo,r=>this._end(r)))}_eventIsPointerPenTouch(r){return this._supportPointerEvents&&("pen"===r.pointerType||"touch"===r.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Be=".bs.carousel",Ir=".data-api",Tt="next",mt="prev",zt="left",He="right",on=`slide${Be}`,Zn=`slid${Be}`,kt=`keydown${Be}`,vn=`mouseenter${Be}`,xt=`mouseleave${Be}`,bn=`dragstart${Be}`,Ft=`load${Be}${Ir}`,Nn=`click${Be}${Ir}`,Gn="carousel",Jn="active",wi=".active",Ai=".carousel-item",Fo=wi+Ai,Ei={ArrowLeft:He,ArrowRight:zt},Wo={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Bo={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class st extends pe{constructor(r,a){super(r,a),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=M.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===Gn&&this.cycle()}static get Default(){return Wo}static get DefaultType(){return Bo}static get NAME(){return"carousel"}next(){this._slide(Tt)}nextWhenVisible(){!document.hidden&&Ie(this._element)&&this.next()}prev(){this._slide(mt)}pause(){this._isSliding&&Re(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?b.one(this._element,Zn,()=>this.cycle()):this.cycle())}to(r){const a=this._getItems();if(r>a.length-1||r<0)return;if(this._isSliding)return void b.one(this._element,Zn,()=>this.to(r));const f=this._getItemIndex(this._getActive());f!==r&&this._slide(r>f?Tt:mt,a[r])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(r){return r.defaultInterval=r.interval,r}_addEventListeners(){this._config.keyboard&&b.on(this._element,kt,r=>this._keydown(r)),"hover"===this._config.pause&&(b.on(this._element,vn,()=>this.pause()),b.on(this._element,xt,()=>this._maybeEnableCycle())),this._config.touch&&rn.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const a of M.find(".carousel-item img",this._element))b.on(a,bn,f=>f.preventDefault());this._swipeHelper=new rn(this._element,{leftCallback:()=>this._slide(this._directionToOrder(zt)),rightCallback:()=>this._slide(this._directionToOrder(He)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}})}_keydown(r){if(/input|textarea/i.test(r.target.tagName))return;const a=Ei[r.key];a&&(r.preventDefault(),this._slide(this._directionToOrder(a)))}_getItemIndex(r){return this._getItems().indexOf(r)}_setActiveIndicatorElement(r){if(!this._indicatorsElement)return;const a=M.findOne(wi,this._indicatorsElement);a.classList.remove(Jn),a.removeAttribute("aria-current");const f=M.findOne(`[data-bs-slide-to="${r}"]`,this._indicatorsElement);f&&(f.classList.add(Jn),f.setAttribute("aria-current","true"))}_updateInterval(){const r=this._activeElement||this._getActive();if(!r)return;const a=Number.parseInt(r.getAttribute("data-bs-interval"),10);this._config.interval=a||this._config.defaultInterval}_slide(r,a=null){if(this._isSliding)return;const f=this._getActive(),y=r===Tt,k=a||Z(this._getItems(),f,y,this._config.wrap);if(k===f)return;const j=this._getItemIndex(k),le=yt=>b.trigger(this._element,yt,{relatedTarget:k,direction:this._orderToDirection(r),from:this._getItemIndex(f),to:j});if(le(on).defaultPrevented||!f||!k)return;const fe=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(j),this._activeElement=k;const Ye=y?"carousel-item-start":"carousel-item-end",tt=y?"carousel-item-next":"carousel-item-prev";k.classList.add(tt),f.classList.add(Ye),k.classList.add(Ye),this._queueCallback(()=>{k.classList.remove(Ye,tt),k.classList.add(Jn),f.classList.remove(Jn,tt,Ye),this._isSliding=!1,le(Zn)},f,this._isAnimated()),fe&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return M.findOne(Fo,this._element)}_getItems(){return M.find(Ai,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(r){return P()?r===zt?mt:Tt:r===zt?Tt:mt}_orderToDirection(r){return P()?r===mt?zt:He:r===mt?He:zt}static jQueryInterface(r){return this.each(function(){const a=st.getOrCreateInstance(this,r);if("number"!=typeof r){if("string"==typeof r){if(void 0===a[r]||r.startsWith("_")||"constructor"===r)throw new TypeError(`No method named "${r}"`);a[r]()}}else a.to(r)})}}b.on(document,Nn,"[data-bs-slide], [data-bs-slide-to]",function(h){const r=M.getElementFromSelector(this);if(!r||!r.classList.contains(Gn))return;h.preventDefault();const a=st.getOrCreateInstance(r),f=this.getAttribute("data-bs-slide-to");return f?(a.to(f),void a._maybeEnableCycle()):"next"===de.getDataAttribute(this,"slide")?(a.next(),void a._maybeEnableCycle()):(a.prev(),void a._maybeEnableCycle())}),b.on(window,Ft,()=>{const h=M.find('[data-bs-ride="carousel"]');for(const r of h)st.getOrCreateInstance(r)}),$(st);const at=".bs.collapse",Ho=`show${at}`,er=`shown${at}`,St=`hide${at}`,Uo=`hidden${at}`,qo=`click${at}.data-api`,Or="show",vt="collapse",sn="collapsing",Ko=`:scope .${vt} .${vt}`,an='[data-bs-toggle="collapse"]',Dn={parent:null,toggle:!0},Vo={parent:"(null|element)",toggle:"boolean"};class Wt extends pe{constructor(r,a){super(r,a),this._isTransitioning=!1,this._triggerArray=[];const f=M.find(an);for(const y of f){const k=M.getSelectorFromElement(y),j=M.find(k).filter(le=>le===this._element);null!==k&&j.length&&this._triggerArray.push(y)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Dn}static get DefaultType(){return Vo}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let r=[];if(this._config.parent&&(r=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(y=>y!==this._element).map(y=>Wt.getOrCreateInstance(y,{toggle:!1}))),r.length&&r[0]._isTransitioning||b.trigger(this._element,Ho).defaultPrevented)return;for(const y of r)y.hide();const a=this._getDimension();this._element.classList.remove(vt),this._element.classList.add(sn),this._element.style[a]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const f=`scroll${a[0].toUpperCase()+a.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(sn),this._element.classList.add(vt,Or),this._element.style[a]="",b.trigger(this._element,er)},this._element,!0),this._element.style[a]=`${this._element[f]}px`}hide(){if(this._isTransitioning||!this._isShown()||b.trigger(this._element,St).defaultPrevented)return;const r=this._getDimension();this._element.style[r]=`${this._element.getBoundingClientRect()[r]}px`,this._element.classList.add(sn),this._element.classList.remove(vt,Or);for(const a of this._triggerArray){const f=M.getElementFromSelector(a);f&&!this._isShown(f)&&this._addAriaAndCollapsedClass([a],!1)}this._isTransitioning=!0,this._element.style[r]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(sn),this._element.classList.add(vt),b.trigger(this._element,Uo)},this._element,!0)}_isShown(r=this._element){return r.classList.contains(Or)}_configAfterMerge(r){return r.toggle=!!r.toggle,r.parent=Se(r.parent),r}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const r=this._getFirstLevelChildren(an);for(const a of r){const f=M.getElementFromSelector(a);f&&this._addAriaAndCollapsedClass([a],this._isShown(f))}}_getFirstLevelChildren(r){const a=M.find(Ko,this._config.parent);return M.find(r,this._config.parent).filter(f=>!a.includes(f))}_addAriaAndCollapsedClass(r,a){if(r.length)for(const f of r)f.classList.toggle("collapsed",!a),f.setAttribute("aria-expanded",a)}static jQueryInterface(r){const a={};return"string"==typeof r&&/show|hide/.test(r)&&(a.toggle=!1),this.each(function(){const f=Wt.getOrCreateInstance(this,a);if("string"==typeof r){if(void 0===f[r])throw new TypeError(`No method named "${r}"`);f[r]()}})}}b.on(document,qo,an,function(h){("A"===h.target.tagName||h.delegateTarget&&"A"===h.delegateTarget.tagName)&&h.preventDefault();for(const r of M.getMultipleElementsFromSelector(this))Wt.getOrCreateInstance(r,{toggle:!1}).toggle()}),$(Wt);const Mn="dropdown",Yt=".bs.dropdown",Je=".data-api",Rn="ArrowUp",Ci="ArrowDown",Bt=`hide${Yt}`,Ti=`hidden${Yt}`,Yo=`show${Yt}`,zn=`shown${Yt}`,ut=`click${Yt}${Je}`,yn=`keydown${Yt}${Je}`,tr=`keyup${Yt}${Je}`,wn="show",bt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Qo=`${bt}.${wn}`,Qt=".dropdown-menu",An=P()?"top-end":"top-start",jr=P()?"top-start":"top-end",$r=P()?"bottom-end":"bottom-start",Pr=P()?"bottom-start":"bottom-end",Nr=P()?"left-start":"right-start",Dr=P()?"right-start":"left-start",Mr={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Rr={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class et extends pe{constructor(r,a){super(r,a),this._popper=null,this._parent=this._element.parentNode,this._menu=M.next(this._element,Qt)[0]||M.prev(this._element,Qt)[0]||M.findOne(Qt,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Mr}static get DefaultType(){return Rr}static get NAME(){return Mn}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Oe(this._element)||this._isShown())return;const r={relatedTarget:this._element};if(!b.trigger(this._element,Yo,r).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const a of[].concat(...document.body.children))b.on(a,"mouseover",gt);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(wn),this._element.classList.add(wn),b.trigger(this._element,zn,r)}}hide(){!Oe(this._element)&&this._isShown()&&this._completeHide({relatedTarget:this._element})}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(r){if(!b.trigger(this._element,Bt,r).defaultPrevented){if("ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))b.off(a,"mouseover",gt);this._popper&&this._popper.destroy(),this._menu.classList.remove(wn),this._element.classList.remove(wn),this._element.setAttribute("aria-expanded","false"),de.removeDataAttribute(this._menu,"popper"),b.trigger(this._element,Ti,r)}}_getConfig(r){if("object"==typeof(r=super._getConfig(r)).reference&&!re(r.reference)&&"function"!=typeof r.reference.getBoundingClientRect)throw new TypeError(`${Mn.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return r}_createPopper(){if(void 0===D)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let r=this._element;"parent"===this._config.reference?r=this._parent:re(this._config.reference)?r=Se(this._config.reference):"object"==typeof this._config.reference&&(r=this._config.reference);const a=this._getPopperConfig();this._popper=D.createPopper(r,this._menu,a)}_isShown(){return this._menu.classList.contains(wn)}_getPlacement(){const r=this._parent;if(r.classList.contains("dropend"))return Nr;if(r.classList.contains("dropstart"))return Dr;if(r.classList.contains("dropup-center"))return"top";if(r.classList.contains("dropdown-center"))return"bottom";const a="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return r.classList.contains("dropup")?a?jr:An:a?Pr:$r}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:r}=this._config;return"string"==typeof r?r.split(",").map(a=>Number.parseInt(a,10)):"function"==typeof r?a=>r(a,this._element):r}_getPopperConfig(){const r={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(de.setDataAttribute(this._menu,"popper","static"),r.modifiers=[{name:"applyStyles",enabled:!1}]),{...r,...q(this._config.popperConfig,[r])}}_selectMenuItem({key:r,target:a}){const f=M.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(y=>Ie(y));f.length&&Z(f,a,r===Ci,!f.includes(a)).focus()}static jQueryInterface(r){return this.each(function(){const a=et.getOrCreateInstance(this,r);if("string"==typeof r){if(void 0===a[r])throw new TypeError(`No method named "${r}"`);a[r]()}})}static clearMenus(r){if(2===r.button||"keyup"===r.type&&"Tab"!==r.key)return;const a=M.find(Qo);for(const f of a){const y=et.getInstance(f);if(!y||!1===y._config.autoClose)continue;const k=r.composedPath(),j=k.includes(y._menu);if(k.includes(y._element)||"inside"===y._config.autoClose&&!j||"outside"===y._config.autoClose&&j||y._menu.contains(r.target)&&("keyup"===r.type&&"Tab"===r.key||/input|select|option|textarea|form/i.test(r.target.tagName)))continue;const le={relatedTarget:y._element};"click"===r.type&&(le.clickEvent=r),y._completeHide(le)}}static dataApiKeydownHandler(r){const a=/input|textarea/i.test(r.target.tagName),f="Escape"===r.key,y=[Rn,Ci].includes(r.key);if(!y&&!f||a&&!f)return;r.preventDefault();const k=this.matches(bt)?this:M.prev(this,bt)[0]||M.next(this,bt)[0]||M.findOne(bt,r.delegateTarget.parentNode),j=et.getOrCreateInstance(k);if(y)return r.stopPropagation(),j.show(),void j._selectMenuItem(r);j._isShown()&&(r.stopPropagation(),j.hide(),k.focus())}}b.on(document,yn,bt,et.dataApiKeydownHandler),b.on(document,yn,Qt,et.dataApiKeydownHandler),b.on(document,ut,et.clearMenus),b.on(document,tr,et.clearMenus),b.on(document,ut,bt,function(h){h.preventDefault(),et.getOrCreateInstance(this).toggle()}),$(et);const nr="backdrop",xi=`mousedown.bs.${nr}`,Xo={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Si={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class zr extends we{constructor(r){super(),this._config=this._getConfig(r),this._isAppended=!1,this._element=null}static get Default(){return Xo}static get DefaultType(){return Si}static get NAME(){return nr}show(r){if(!this._config.isVisible)return void q(r);this._append();this._getElement().classList.add("show"),this._emulateAnimation(()=>{q(r)})}hide(r){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),q(r)})):q(r)}dispose(){this._isAppended&&(b.off(this._element,xi),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const r=document.createElement("div");r.className=this._config.className,this._config.isAnimated&&r.classList.add("fade"),this._element=r}return this._element}_configAfterMerge(r){return r.rootElement=Se(r.rootElement),r}_append(){if(this._isAppended)return;const r=this._getElement();this._config.rootElement.append(r),b.on(r,xi,()=>{q(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(r){K(r,this._getElement(),this._config.isAnimated)}}const rr=".bs.focustrap",Zo=`focusin${rr}`,Go=`keydown.tab${rr}`,Li="backward",Ii={autofocus:!0,trapElement:null},Jo={autofocus:"boolean",trapElement:"element"};class Oi extends we{constructor(r){super(),this._config=this._getConfig(r),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Ii}static get DefaultType(){return Jo}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),b.off(document,rr),b.on(document,Zo,r=>this._handleFocusin(r)),b.on(document,Go,r=>this._handleKeydown(r)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,b.off(document,rr))}_handleFocusin(r){const{trapElement:a}=this._config;if(r.target===document||r.target===a||a.contains(r.target))return;const f=M.focusableChildren(a);0===f.length?a.focus():this._lastTabNavDirection===Li?f[f.length-1].focus():f[0].focus()}_handleKeydown(r){"Tab"===r.key&&(this._lastTabNavDirection=r.shiftKey?Li:"forward")}}const ji=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ir=".sticky-top",or="padding-right",sr="margin-right";class Fr{constructor(){this._element=document.body}getWidth(){const r=document.documentElement.clientWidth;return Math.abs(window.innerWidth-r)}hide(){const r=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,or,a=>a+r),this._setElementAttributes(ji,or,a=>a+r),this._setElementAttributes(ir,sr,a=>a-r)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,or),this._resetElementAttributes(ji,or),this._resetElementAttributes(ir,sr)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(r,a,f){const y=this.getWidth();this._applyManipulationCallback(r,k=>{if(k!==this._element&&window.innerWidth>k.clientWidth+y)return;this._saveInitialAttribute(k,a);const j=window.getComputedStyle(k).getPropertyValue(a);k.style.setProperty(a,`${f(Number.parseFloat(j))}px`)})}_saveInitialAttribute(r,a){const f=r.style.getPropertyValue(a);f&&de.setDataAttribute(r,a,f)}_resetElementAttributes(r,a){this._applyManipulationCallback(r,f=>{const y=de.getDataAttribute(f,a);null!==y?(de.removeDataAttribute(f,a),f.style.setProperty(a,y)):f.style.removeProperty(a)})}_applyManipulationCallback(r,a){if(re(r))a(r);else for(const f of M.find(r,this._element))a(f)}}const lt=".bs.modal",es=`hide${lt}`,ts=`hidePrevented${lt}`,$i=`hidden${lt}`,Pi=`show${lt}`,ns=`shown${lt}`,rs=`resize${lt}`,Ni=`click.dismiss${lt}`,is=`mousedown.dismiss${lt}`,os=`keydown.dismiss${lt}`,ss=`click${lt}.data-api`,Di="modal-open",Wr="modal-static",ar={backdrop:!0,focus:!0,keyboard:!0},as={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Lt extends pe{constructor(r,a){super(r,a),this._dialog=M.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Fr,this._addEventListeners()}static get Default(){return ar}static get DefaultType(){return as}static get NAME(){return"modal"}toggle(r){return this._isShown?this.hide():this.show(r)}show(r){this._isShown||this._isTransitioning||b.trigger(this._element,Pi,{relatedTarget:r}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Di),this._adjustDialog(),this._backdrop.show(()=>this._showElement(r)))}hide(){this._isShown&&!this._isTransitioning&&(b.trigger(this._element,es).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){b.off(window,lt),b.off(this._dialog,lt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new zr({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Oi({trapElement:this._element})}_showElement(r){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const a=M.findOne(".modal-body",this._dialog);a&&(a.scrollTop=0),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,b.trigger(this._element,ns,{relatedTarget:r})},this._dialog,this._isAnimated())}_addEventListeners(){b.on(this._element,os,r=>{"Escape"===r.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),b.on(window,rs,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),b.on(this._element,is,r=>{b.one(this._element,Ni,a=>{this._element===r.target&&this._element===a.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Di),this._resetAdjustments(),this._scrollBar.reset(),b.trigger(this._element,$i)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(b.trigger(this._element,ts).defaultPrevented)return;const r=this._element.scrollHeight>document.documentElement.clientHeight,a=this._element.style.overflowY;"hidden"===a||this._element.classList.contains(Wr)||(r||(this._element.style.overflowY="hidden"),this._element.classList.add(Wr),this._queueCallback(()=>{this._element.classList.remove(Wr),this._queueCallback(()=>{this._element.style.overflowY=a},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const r=this._element.scrollHeight>document.documentElement.clientHeight,a=this._scrollBar.getWidth(),f=a>0;if(f&&!r){const y=P()?"paddingLeft":"paddingRight";this._element.style[y]=`${a}px`}if(!f&&r){const y=P()?"paddingRight":"paddingLeft";this._element.style[y]=`${a}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(r,a){return this.each(function(){const f=Lt.getOrCreateInstance(this,r);if("string"==typeof r){if(void 0===f[r])throw new TypeError(`No method named "${r}"`);f[r](a)}})}}b.on(document,ss,'[data-bs-toggle="modal"]',function(h){const r=M.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&h.preventDefault(),b.one(r,Pi,f=>{f.defaultPrevented||b.one(r,$i,()=>{Ie(this)&&this.focus()})});const a=M.findOne(".modal.show");a&&Lt.getInstance(a).hide(),Lt.getOrCreateInstance(r).toggle(this)}),Rt(Lt),$(Lt);const Ht=".bs.offcanvas",Ri=".data-api",us=`load${Ht}${Ri}`,Hr="showing",zi=".offcanvas.show",ls=`show${Ht}`,cs=`shown${Ht}`,fs=`hide${Ht}`,qr=`hidePrevented${Ht}`,Kr=`hidden${Ht}`,Fi=`resize${Ht}`,Vr=`click${Ht}${Ri}`,hs=`keydown.dismiss${Ht}`,Wi={backdrop:!0,keyboard:!0,scroll:!1},ur={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class It extends pe{constructor(r,a){super(r,a),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Wi}static get DefaultType(){return ur}static get NAME(){return"offcanvas"}toggle(r){return this._isShown?this.hide():this.show(r)}show(r){this._isShown||b.trigger(this._element,ls,{relatedTarget:r}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Fr).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Hr),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(Hr),b.trigger(this._element,cs,{relatedTarget:r})},this._element,!0))}hide(){this._isShown&&(b.trigger(this._element,fs).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new Fr).reset(),b.trigger(this._element,Kr)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const r=!!this._config.backdrop;return new zr({className:"offcanvas-backdrop",isVisible:r,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:r?()=>{"static"!==this._config.backdrop?this.hide():b.trigger(this._element,qr)}:null})}_initializeFocusTrap(){return new Oi({trapElement:this._element})}_addEventListeners(){b.on(this._element,hs,r=>{"Escape"===r.key&&(this._config.keyboard?this.hide():b.trigger(this._element,qr))})}static jQueryInterface(r){return this.each(function(){const a=It.getOrCreateInstance(this,r);if("string"==typeof r){if(void 0===a[r]||r.startsWith("_")||"constructor"===r)throw new TypeError(`No method named "${r}"`);a[r](this)}})}}b.on(document,Vr,'[data-bs-toggle="offcanvas"]',function(h){const r=M.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&h.preventDefault(),Oe(this))return;b.one(r,Kr,()=>{Ie(this)&&this.focus()});const a=M.findOne(zi);a&&a!==r&&It.getInstance(a).hide(),It.getOrCreateInstance(r).toggle(this)}),b.on(window,us,()=>{for(const h of M.find(zi))It.getOrCreateInstance(h).show()}),b.on(window,Fi,()=>{for(const h of M.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(h).position&&It.getOrCreateInstance(h).hide()}),Rt(It),$(It);const Bi={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Hi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Ui=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Yr=(h,r)=>{const a=h.nodeName.toLowerCase();return r.includes(a)?!Hi.has(a)||!!Ui.test(h.nodeValue):r.filter(f=>f instanceof RegExp).some(f=>f.test(a))},ds={allowList:Bi,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},qi={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Qr={entry:"(string|element|function|null)",selector:"(string|element)"};class Xr extends we{constructor(r){super(),this._config=this._getConfig(r)}static get Default(){return ds}static get DefaultType(){return qi}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(r=>this._resolvePossibleFunction(r)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(r){return this._checkContent(r),this._config.content={...this._config.content,...r},this}toHtml(){const r=document.createElement("div");r.innerHTML=this._maybeSanitize(this._config.template);for(const[y,k]of Object.entries(this._config.content))this._setContent(r,k,y);const a=r.children[0],f=this._resolvePossibleFunction(this._config.extraClass);return f&&a.classList.add(...f.split(" ")),a}_typeCheckConfig(r){super._typeCheckConfig(r),this._checkContent(r.content)}_checkContent(r){for(const[a,f]of Object.entries(r))super._typeCheckConfig({selector:a,entry:f},Qr)}_setContent(r,a,f){const y=M.findOne(f,r);y&&((a=this._resolvePossibleFunction(a))?re(a)?this._putElementInTemplate(Se(a),y):this._config.html?y.innerHTML=this._maybeSanitize(a):y.textContent=a:y.remove())}_maybeSanitize(r){return this._config.sanitize?function(a,f,y){if(!a.length)return a;if(y&&"function"==typeof y)return y(a);const k=(new window.DOMParser).parseFromString(a,"text/html"),j=[].concat(...k.body.querySelectorAll("*"));for(const le of j){const fe=le.nodeName.toLowerCase();if(!Object.keys(f).includes(fe)){le.remove();continue}const Ye=[].concat(...le.attributes),tt=[].concat(f["*"]||[],f[fe]||[]);for(const yt of Ye)Yr(yt,tt)||le.removeAttribute(yt.nodeName)}return k.body.innerHTML}(r,this._config.allowList,this._config.sanitizeFn):r}_resolvePossibleFunction(r){return q(r,[this])}_putElementInTemplate(r,a){if(this._config.html)return a.innerHTML="",void a.append(r);a.textContent=r.textContent}}const En=new Set(["sanitize","allowList","sanitizeFn"]),lr="fade",Fn="show",Zr="hide.bs.modal",Cn="hover",cr="focus",Vi={AUTO:"auto",TOP:"top",RIGHT:P()?"left":"right",BOTTOM:"bottom",LEFT:P()?"right":"left"},ps={allowList:Bi,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'this.isDateWithServerFormat(I.value)?this.validateMaxRelativeDate(_,I.value)?null:$.k.error(k||"error.validation-failed.after-max-date",{"max-date":this.toDateString(this.endOfRelativeDay(_))}):null}validateMaxRelativeDate(_,k){const I=this.endOfRelativeDay(_).getTime();return this.toDateFromServer(k).getTime()<=I}maxAbsoluteDate(_,k){return I=>{if(!this.isDateWithServerFormat(I.value))return null;const P=_.getTime();return this.toDateFromServer(I.value).getTime()>P?$.k.error(k||"error.validation-failed.after-max-date",{"max-date":this.toDateString(_)}):null}}isDate(_,k){return this.isValid(_,k||this.getDateFormat())}isDateWithServerFormat(_){return"string"==typeof _?this.isValid(_,R.SERVER_DATE_FORMAT):_ instanceof Date}isDateTimeWithServerFormat(_){return"string"==typeof _?this.isValid(_,R.SERVER_DATE_TIME_FORMAT):_ instanceof Date}datesAreOnSameDay(_,k){return _.getFullYear()===k.getFullYear()&&_.getMonth()===k.getMonth()&&_.getDate()===k.getDate()}isValid(_,k){return k.parse.test(_)}getPlaceholder(_){return _||this.getLanguageBasedDateFormat().placeholder}getDateFormat(){return this.getLanguageBasedDateFormat().format}getDateTimeFormat(){return this.getLanguageBasedDateTimeFormat().format}getLanguageBasedDateFormat(){return R.DATE_FORMATS[this.languageService.language]||R.DATE_FORMATS.default}getLanguageBasedDateTimeFormat(){return R.DATE_TIME_FORMATS[this.languageService.language]||R.DATE_TIME_FORMATS.default}startOfRelativeDay(_){return new Date(24*(Math.floor((new Date).getTime()/24/3600/1e3)+_)*3600*1e3)}endOfRelativeDay(_){return new Date(24*(Math.ceil((new Date).getTime()/24/3600/1e3)+_)*3600*1e3)}static#l=this.\u0275fac=function(k){return new(k||R)(M.KVO(c.g))};static#c=this.\u0275prov=M.jDH({token:R,factory:R.\u0275fac})}return R})()},4900:(ze,se,f)=>{"use strict";f.d(se,{o:()=>c});const c=($=!0)=>{$?setTimeout(()=>l(),0):l()},l=()=>{window.iam.internal.focus.focusFirstField()}},2263:(ze,se,f)=>{"use strict";f.d(se,{l:()=>R});var c=f(9417),l=f(661),$=f(7376),O=f(8384);class x{constructor(_){this.options=_,this.options.prefixOrMapping=this.options.prefixOrMapping||{},this.options.validators=this.options.validators||{},this.options.required=this.options.required||[],this.options.asyncValidators=this.options.asyncValidators||{},this.options.valueAsString=this.options.valueAsString||[],this.options.checkboxes=this.options.checkboxes||{},this.options.extra=this.options.extra||{}}get prefixOrMapping(){return this.options.prefixOrMapping}set prefixOrMapping(_){this.options.prefixOrMapping=_}get validators(){return this.options.validators}set validators(_){this.options.validators=_}get required(){return this.options.required}set required(_){this.options.required=_}get asyncValidators(){return this.options.asyncValidators}set asyncValidators(_){this.options.asyncValidators=_}get valueAsString(){return this.options.valueAsString}set valueAsString(_){this.options.valueAsString=_}get checkboxes(){return this.options.checkboxes}set checkboxes(_){this.options.checkboxes=_}get extra(){return this.options.extra}set extra(_){this.options.extra=_}}class R{constructor(_,k){this.model=_,this.options=k,this.formGroup=this.controlsFor(_,k),this.initialModel=(0,$.cloneDeep)(_)}static of(_,k={}){return new R(_,new x(k))}static emptyForm(){return R.of({})}cancel(){return this.updateForm(this.initialModel,!1),this}saved(){return this.initialModel=(0,$.cloneDeep)(this.model),this.resetState(),this}updateForm(_,k=!0){return this.model=k?_:(0,$.cloneDeep)(_),this.initialModel=(0,$.cloneDeep)(this.model),this.formGroup=this.controlsFor(this.model,this.options),this}reset(){return this.formGroup.reset(),this}resetState(){return this.validate().markAllPristine().markAllUnTouched(),this}validate(){return Object.values(this.formGroup.controls).forEach(_=>_.updateValueAndValidity()),this.markAllTouched(),this}markAllPristine(){return this.changeDirtyStateTo(!1),this}markAllDirty(){return this.changeDirtyStateTo(!0),this}markAllTouched(){return this.changeTouchedStateTo(!0),this}markAllUnTouched(){return this.changeTouchedStateTo(!1),this}hasFormErrors(){for(const _ of Object.values(this.formGroup.controls))if(_.errors)return!0;return!1}get controls(){return this.formGroup.controls}get valid(){return this.formGroup.valid}get pristine(){return this.formGroup.pristine}addControl(_){this.formGroup.addControl(_,new c.hs)}patchValue(_,k){this.formGroup.patchValue(_,k)}enable(){this.formGroup.enable()}disable(){this.formGroup.disable()}changeTouchedStateTo(_){return Object.values(this.formGroup.controls).forEach(k=>{_?k.markAsTouched():k.markAsUntouched()}),this}changeDirtyStateTo(_){return Object.values(this.formGroup.controls).forEach(k=>{_?k.markAsDirty():k.markAsPristine()}),this}controlsFor(_,k){const I=new c.J3({},k.extra.validator,k.extra.asyncValidator);return this.addControlsTo(I,_,k),I}addControlsTo(_,k,I,P=""){Object.keys(k).forEach(Z=>{const N=k[Z];"function"!=typeof N&&(I.checkboxes[Z]?this.addControlsForCheckboxes(_,k[Z],I.checkboxes[Z]):Array.isArray(N)?this.addControlsForArray(_,k,Z,I,P):(0,$.isObject)(N)?this.addControlsTo(_,N,I,P+Z+"."):this.addControlForField(_,k,Z,I,P))})}addControlsForArray(_,k,I,P,Z=""){const N=k[I];for(let V=0;V {N&&k.next(Ce),ye++;let de=!1;(0,l.Tg)(I(Ce,ne++)).subscribe((0,O._)(k,Ae=>{Z?.(Ae),N?G(Ae):k.next(Ae)},()=>{de=!0},void 0,()=>{if(de)try{for(ye--;ie.length&&ye Y(Ae)):Y(Ae)}W()}catch(Ae){k.error(Ae)}}))};return _.subscribe((0,O._)(k,G,()=>{z=!0,W()})),()=>{b?.()}}(P,Z,_,I)))}},9172:(ze,se,f)=>{"use strict";f.d(se,{Z:()=>M});var c=f(8793),l=f(9326),$=f(9974);function M(...O){const x=(0,l.lI)(O);return(0,$.N)((R,T)=>{(x?(0,c.x)(O,R,x):(0,c.x)(O,R)).subscribe(T)})}},5558:(ze,se,f)=>{"use strict";f.d(se,{n:()=>M});var c=f(8750),l=f(9974),$=f(4360);function M(O,x){return(0,l.N)((R,T)=>{let _=null,k=0,I=!1;const P=()=>I&&!_&&T.complete();R.subscribe((0,$._)(T,Z=>{_?.unsubscribe();let N=0;const V=k++;(0,c.Tg)(O(Z,V)).subscribe(_=(0,$._)(T,b=>T.next(x?x(Z,b,V,N++):b),()=>{_=null,P()}))},()=>{I=!0,P()}))})}},6697:(ze,se,f)=>{"use strict";f.d(se,{s:()=>M});var c=f(983),l=f(9974),$=f(4360);function M(O){return O<=0?()=>c.w:(0,l.N)((x,R)=>{let T=0;x.subscribe((0,$._)(R,_=>{++T<=O&&(R.next(_),O<=T&&R.complete())}))})}},5109:(ze,se,f)=>{"use strict";f.d(se,{o:()=>M});var c=f(983),l=f(9974),$=f(4360);function M(O){return O<=0?()=>c.w:(0,l.N)((x,R)=>{let T=[];x.subscribe((0,$._)(R,_=>{T.push(_),O >>2]>>>8*(d+c*(g%4)),f+=l.charAt(u>>>4&15)+l.charAt(15&u);return a.outputUpper?f.toUpperCase():f}(i,t,n,e)};case"B64":return function(i){return function(o,h,c,a){let l,g,u,f,p,d="";const A=h/8,m=-1===c?3:0;for(l=0;l>>2]:0,p=l+2>>2]:0,u=(o[l>>>2]>>>8*(m+c*(l%4))&255)<<16|(f>>>8*(m+c*((l+1)%4))&255)<<8|p>>>8*(m+c*((l+2)%4))&255,g=0;g<4;g+=1)d+=8*l+6*g<=h?et.charAt(u>>>6*(3-g)&63):a.b64Pad;return d}(i,t,n,e)};case"BYTES":return function(i){return function(o,h,c){let a,l,g="";const u=h/8,f=-1===c?3:0;for(a=0;a>>2]>>>8*(f+c*(a%4))&255,g+=String.fromCharCode(l);return g}(i,t,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error(nt)}return function(i){return function(o,h,c){let a;const l=h/8,g=new ArrayBuffer(l),u=new Uint8Array(g),f=-1===c?3:0;for(a=0;a-1}function us(Le,lt,rt){for(var Ot=-1,yn=null==Le?0:Le.length;++Ot >14null;function uD(e,t,n,r,i){for(let s in t){if(!t.hasOwnProperty(s))continue;const u=t[s];if(void 0===u)continue;r??={};let d,g=Nu.None;Array.isArray(u)?(d=u[0],g=u[1]):d=u;let S=s;if(null!==i){if(!i.hasOwnProperty(s))continue;S=i[s]}0===e?lD(r,n,S,d,g):lD(r,n,S,d)}return r}function lD(e,t,n,r,i){let s;e.hasOwnProperty(n)?(s=e[n]).push(t,r):s=e[n]=[t,r],void 0!==i&&s.push(i)}function rs(e,t,n,r,i,s,u,d){const g=Ri(t,n);let H,S=t.inputs;!d&&null!=S&&(H=S[r])?(py(e,n,H,r,i),ni(t)&&function aS(e,t){const n=m(t,e);16&n[en]||(n[en]|=64)}(n,t.index)):3&t.type&&(r=function sS(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=u?u(i,t.value||"",r):i,s.setProperty(g,r,i))}function cy(e,t,n,r){if(Ah()){const i=null===r?null:{"":-1},s=function hS(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let s=0;s