diff --git a/asset-manifest.json b/asset-manifest.json index 0a07714d..1c8300a7 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,7 +1,7 @@ { "files": { "main.css": "./static/css/main.6ddd6367.css", - "main.js": "./static/js/main.5352a836.js", + "main.js": "./static/js/main.d7fdc9ea.js", "static/media/play-again.png": "./static/media/play-again.38923238033620c8ab00.png", "static/media/home.png": "./static/media/home.cbf4d9badcc4e56f2636.png", "static/media/login.png": "./static/media/login.d6892222d1bfefcefde6.png", @@ -11,10 +11,10 @@ "static/media/cursor.cur": "./static/media/cursor.138cb2f1fcf8183aaa1b.cur", "index.html": "./index.html", "main.6ddd6367.css.map": "./static/css/main.6ddd6367.css.map", - "main.5352a836.js.map": "./static/js/main.5352a836.js.map" + "main.d7fdc9ea.js.map": "./static/js/main.d7fdc9ea.js.map" }, "entrypoints": [ "static/css/main.6ddd6367.css", - "static/js/main.5352a836.js" + "static/js/main.d7fdc9ea.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 78183619..8ee1c005 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Swordbattle.ioSwordbattle.io
\ No newline at end of file +Swordbattle.ioSwordbattle.io
\ No newline at end of file diff --git a/static/js/main.5352a836.js b/static/js/main.d7fdc9ea.js similarity index 54% rename from static/js/main.5352a836.js rename to static/js/main.d7fdc9ea.js index 37be36b7..3c65ce9d 100644 --- a/static/js/main.5352a836.js +++ b/static/js/main.d7fdc9ea.js @@ -1,3 +1,3 @@ -/*! For license information please see main.5352a836.js.LICENSE.txt */ -(()=>{var e={371:function(e){e.exports=function(){"use strict";const e=new Map,t={set(t,n,i){e.has(t)||e.set(t,new Map);const a=e.get(t);a.has(n)||0===a.size?a.set(n,i):console.error("Bootstrap doesn't allow more than one instance per element. Bound instance: ".concat(Array.from(a.keys())[0],"."))},get:(t,n)=>e.has(t)&&e.get(t).get(n)||null,remove(t,n){if(!e.has(t))return;const i=e.get(t);i.delete(n),0===i.size&&e.delete(t)}},n="transitionend",i=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,((e,t)=>"#".concat(CSS.escape(t))))),e),a=e=>{e.dispatchEvent(new Event(n))},r=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),o=e=>r(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(i(e)):null,s=e=>{if(!r(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},l=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),c=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?c(e.parentNode):null},u=()=>{},d=e=>{e.offsetHeight},h=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,f=[],p=()=>"rtl"===document.documentElement.dir,m=e=>{var t;t=()=>{const t=h();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}},"loading"===document.readyState?(f.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of f)e()})),f.push(t)):t()},g=function(e){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;return"function"==typeof e?e(...arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]):t},y=function(e,t){if(arguments.length>2&&void 0!==arguments[2]&&!arguments[2])return void g(e);const i=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),a=Number.parseFloat(n);return i||a?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let r=!1;const o=i=>{let{target:a}=i;a===t&&(r=!0,t.removeEventListener(n,o),g(e))};t.addEventListener(n,o),setTimeout((()=>{r||a(t)}),i)},b=(e,t,n,i)=>{const a=e.length;let r=e.indexOf(t);return-1===r?!n&&i?e[a-1]:e[0]:(r+=n?1:-1,i&&(r=(r+a)%a),e[Math.max(0,Math.min(r,a-1))])},v=/[^.]*(?=\..*)\.|.*/,w=/\..*/,x=/::\d+$/,k={};let _=1;const S={mouseenter:"mouseover",mouseleave:"mouseout"},E=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 P(e,t){return t&&"".concat(t,"::").concat(_++)||e.uidEvent||_++}function C(e){const t=P(e);return e.uidEvent=t,k[t]=k[t]||{},k[t]}function O(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===n))}function N(e,t,n){const i="string"==typeof t,a=i?n:t||n;let r=D(e);return E.has(r)||(r=e),[i,a,r]}function A(e,t,n,i,a){if("string"!=typeof t||!e)return;let[r,o,s]=N(t,n,i);if(t in S){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};o=e(o)}const l=C(e),c=l[s]||(l[s]={}),u=O(c,o,r?n:null);if(u)return void(u.oneOff=u.oneOff&&a);const d=P(o,t.replace(v,"")),h=r?function(e,t,n){return function i(a){const r=e.querySelectorAll(t);for(let{target:o}=a;o&&o!==this;o=o.parentNode)for(const s of r)if(s===o)return j(a,{delegateTarget:o}),i.oneOff&&F.off(e,a.type,t,n),n.apply(o,[a])}}(e,n,o):function(e,t){return function n(i){return j(i,{delegateTarget:e}),n.oneOff&&F.off(e,i.type,t),t.apply(e,[i])}}(e,o);h.delegationSelector=r?n:null,h.callable=o,h.oneOff=a,h.uidEvent=d,c[d]=h,e.addEventListener(s,h,r)}function M(e,t,n,i,a){const r=O(t[n],i,a);r&&(e.removeEventListener(n,r,Boolean(a)),delete t[n][r.uidEvent])}function T(e,t,n,i){const a=t[n]||{};for(const[r,o]of Object.entries(a))r.includes(i)&&M(e,t,n,o.callable,o.delegationSelector)}function D(e){return e=e.replace(w,""),S[e]||e}const F={on(e,t,n,i){A(e,t,n,i,!1)},one(e,t,n,i){A(e,t,n,i,!0)},off(e,t,n,i){if("string"!=typeof t||!e)return;const[a,r,o]=N(t,n,i),s=o!==t,l=C(e),c=l[o]||{},u=t.startsWith(".");if(void 0===r){if(u)for(const n of Object.keys(l))T(e,l,n,t.slice(1));for(const[n,i]of Object.entries(c)){const a=n.replace(x,"");s&&!t.includes(a)||M(e,l,o,i.callable,i.delegationSelector)}}else{if(!Object.keys(c).length)return;M(e,l,o,r,a?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const i=h();let a=null,r=!0,o=!0,s=!1;t!==D(t)&&i&&(a=i.Event(t,n),i(e).trigger(a),r=!a.isPropagationStopped(),o=!a.isImmediatePropagationStopped(),s=a.isDefaultPrevented());const l=j(new Event(t,{bubbles:r,cancelable:!0}),n);return s&&l.preventDefault(),o&&e.dispatchEvent(l),l.defaultPrevented&&a&&a.preventDefault(),l}};function j(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(const[n,i]of Object.entries(t))try{e[n]=i}catch(t){Object.defineProperty(e,n,{configurable:!0,get:()=>i})}return e}function L(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function R(e){return e.replace(/[A-Z]/g,(e=>"-".concat(e.toLowerCase())))}const I={setDataAttribute(e,t,n){e.setAttribute("data-bs-".concat(R(t)),n)},removeDataAttribute(e,t){e.removeAttribute("data-bs-".concat(R(t)))},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const i of n){let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=L(e.dataset[i])}return t},getDataAttribute:(e,t)=>L(e.getAttribute("data-bs-".concat(R(t))))};class z{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(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=r(t)?I.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...r(t)?I.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType;for(const[i,a]of Object.entries(t)){const t=e[i],o=r(t)?"element":null==(n=t)?"".concat(n):Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(a).test(o))throw new TypeError("".concat(this.constructor.NAME.toUpperCase(),': Option "').concat(i,'" provided type "').concat(o,'" but expected type "').concat(a,'".'))}var n}}class B extends z{constructor(e,n){super(),(e=o(e))&&(this._element=e,this._config=this._getConfig(n),t.set(this._element,this.constructor.DATA_KEY,this))}dispose(){t.remove(this._element,this.constructor.DATA_KEY),F.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t){y(e,t,!(arguments.length>2&&void 0!==arguments[2])||arguments[2])}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return t.get(o(e),this.DATA_KEY)}static getOrCreateInstance(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.2"}static get DATA_KEY(){return"bs.".concat(this.NAME)}static get EVENT_KEY(){return".".concat(this.DATA_KEY)}static eventName(e){return"".concat(e).concat(this.EVENT_KEY)}}const W=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n="#".concat(n.split("#")[1])),t=n&&"#"!==n?i(n.trim()):null}return t},V={find:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(t,e)},children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let i=e.parentNode.closest(t);for(;i;)n.push(i),i=i.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>"".concat(e,':not([tabindex^="-"])'))).join(",");return this.find(t,e).filter((e=>!l(e)&&s(e)))},getSelectorFromElement(e){const t=W(e);return t&&V.findOne(t)?t:null},getElementFromSelector(e){const t=W(e);return t?V.findOne(t):null},getMultipleElementsFromSelector(e){const t=W(e);return t?V.find(t):[]}},H=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"hide";const n="click.dismiss".concat(e.EVENT_KEY),i=e.NAME;F.on(document,n,'[data-bs-dismiss="'.concat(i,'"]'),(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),l(this))return;const a=V.getElementFromSelector(this)||this.closest(".".concat(i));e.getOrCreateInstance(a)[t]()}))},U=".bs.alert",G="close".concat(U),K="closed".concat(U);class Y extends B{static get NAME(){return"alert"}close(){if(F.trigger(this._element,G).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),F.trigger(this._element,K),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=Y.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}}))}}H(Y,"close"),m(Y);const q='[data-bs-toggle="button"]';class X extends B{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=X.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}F.on(document,"click.bs.button.data-api",q,(e=>{e.preventDefault();const t=e.target.closest(q);X.getOrCreateInstance(t).toggle()})),m(X);const Q=".bs.swipe",J="touchstart".concat(Q),Z="touchmove".concat(Q),$="touchend".concat(Q),ee="pointerdown".concat(Q),te="pointerup".concat(Q),ne={endCallback:null,leftCallback:null,rightCallback:null},ie={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ae extends z{constructor(e,t){super(),this._element=e,e&&ae.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return ne}static get DefaultType(){return ie}static get NAME(){return"swipe"}dispose(){F.off(this._element,Q)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),g(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&g(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(F.on(this._element,ee,(e=>this._start(e))),F.on(this._element,te,(e=>this._end(e))),this._element.classList.add("pointer-event")):(F.on(this._element,J,(e=>this._start(e))),F.on(this._element,Z,(e=>this._move(e))),F.on(this._element,$,(e=>this._end(e))))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const re=".bs.carousel",oe=".data-api",se="next",le="prev",ce="left",ue="right",de="slide".concat(re),he="slid".concat(re),fe="keydown".concat(re),pe="mouseenter".concat(re),me="mouseleave".concat(re),ge="dragstart".concat(re),ye="load".concat(re).concat(oe),be="click".concat(re).concat(oe),ve="carousel",we="active",xe=".active",ke=".carousel-item",_e=xe+ke,Se={ArrowLeft:ue,ArrowRight:ce},Ee={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Pe={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ce extends B{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=V.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ve&&this.cycle()}static get Default(){return Ee}static get DefaultType(){return Pe}static get NAME(){return"carousel"}next(){this._slide(se)}nextWhenVisible(){!document.hidden&&s(this._element)&&this.next()}prev(){this._slide(le)}pause(){this._isSliding&&a(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?F.one(this._element,he,(()=>this.cycle())):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void F.one(this._element,he,(()=>this.to(e)));const n=this._getItemIndex(this._getActive());if(n===e)return;const i=e>n?se:le;this._slide(i,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&F.on(this._element,fe,(e=>this._keydown(e))),"hover"===this._config.pause&&(F.on(this._element,pe,(()=>this.pause())),F.on(this._element,me,(()=>this._maybeEnableCycle()))),this._config.touch&&ae.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of V.find(".carousel-item img",this._element))F.on(t,ge,(e=>e.preventDefault()));const e={leftCallback:()=>this._slide(this._directionToOrder(ce)),rightCallback:()=>this._slide(this._directionToOrder(ue)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new ae(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Se[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=V.findOne(xe,this._indicatorsElement);t.classList.remove(we),t.removeAttribute("aria-current");const n=V.findOne('[data-bs-slide-to="'.concat(e,'"]'),this._indicatorsElement);n&&(n.classList.add(we),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this._isSliding)return;const n=this._getActive(),i=e===se,a=t||b(this._getItems(),n,i,this._config.wrap);if(a===n)return;const r=this._getItemIndex(a),o=t=>F.trigger(this._element,t,{relatedTarget:a,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:r});if(o(de).defaultPrevented)return;if(!n||!a)return;const s=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(r),this._activeElement=a;const l=i?"carousel-item-start":"carousel-item-end",c=i?"carousel-item-next":"carousel-item-prev";a.classList.add(c),d(a),n.classList.add(l),a.classList.add(l),this._queueCallback((()=>{a.classList.remove(l,c),a.classList.add(we),n.classList.remove(we,c,l),this._isSliding=!1,o(he)}),n,this._isAnimated()),s&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return V.findOne(_e,this._element)}_getItems(){return V.find(ke,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return p()?e===ce?le:se:e===ce?se:le}_orderToDirection(e){return p()?e===le?ce:ue:e===le?ue:ce}static jQueryInterface(e){return this.each((function(){const t=Ce.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}else t.to(e)}))}}F.on(document,be,"[data-bs-slide], [data-bs-slide-to]",(function(e){const t=V.getElementFromSelector(this);if(!t||!t.classList.contains(ve))return;e.preventDefault();const n=Ce.getOrCreateInstance(t),i=this.getAttribute("data-bs-slide-to");return i?(n.to(i),void n._maybeEnableCycle()):"next"===I.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())})),F.on(window,ye,(()=>{const e=V.find('[data-bs-ride="carousel"]');for(const t of e)Ce.getOrCreateInstance(t)})),m(Ce);const Oe=".bs.collapse",Ne="show".concat(Oe),Ae="shown".concat(Oe),Me="hide".concat(Oe),Te="hidden".concat(Oe),De="click".concat(Oe,".data-api"),Fe="show",je="collapse",Le="collapsing",Re=":scope .".concat(je," .").concat(je),Ie='[data-bs-toggle="collapse"]',ze={parent:null,toggle:!0},Be={parent:"(null|element)",toggle:"boolean"};class We extends B{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=V.find(Ie);for(const i of n){const e=V.getSelectorFromElement(i),t=V.find(e).filter((e=>e===this._element));null!==e&&t.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ze}static get DefaultType(){return Be}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>We.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(F.trigger(this._element,Ne).defaultPrevented)return;for(const i of e)i.hide();const t=this._getDimension();this._element.classList.remove(je),this._element.classList.add(Le),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n="scroll".concat(t[0].toUpperCase()+t.slice(1));this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Le),this._element.classList.add(je,Fe),this._element.style[t]="",F.trigger(this._element,Ae)}),this._element,!0),this._element.style[t]="".concat(this._element[n],"px")}hide(){if(this._isTransitioning||!this._isShown())return;if(F.trigger(this._element,Me).defaultPrevented)return;const e=this._getDimension();this._element.style[e]="".concat(this._element.getBoundingClientRect()[e],"px"),d(this._element),this._element.classList.add(Le),this._element.classList.remove(je,Fe);for(const t of this._triggerArray){const e=V.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Le),this._element.classList.add(je),F.trigger(this._element,Te)}),this._element,!0)}_isShown(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._element).classList.contains(Fe)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=o(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Ie);for(const t of e){const e=V.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=V.find(Re,this._config.parent);return V.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const n=We.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'.concat(e,'"'));n[e]()}}))}}F.on(document,De,Ie,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const t of V.getMultipleElementsFromSelector(this))We.getOrCreateInstance(t,{toggle:!1}).toggle()})),m(We);var Ve="top",He="bottom",Ue="right",Ge="left",Ke="auto",Ye=[Ve,He,Ue,Ge],qe="start",Xe="end",Qe="clippingParents",Je="viewport",Ze="popper",$e="reference",et=Ye.reduce((function(e,t){return e.concat([t+"-"+qe,t+"-"+Xe])}),[]),tt=[].concat(Ye,[Ke]).reduce((function(e,t){return e.concat([t,t+"-"+qe,t+"-"+Xe])}),[]),nt="beforeRead",it="read",at="afterRead",rt="beforeMain",ot="main",st="afterMain",lt="beforeWrite",ct="write",ut="afterWrite",dt=[nt,it,at,rt,ot,st,lt,ct,ut];function ht(e){return e?(e.nodeName||"").toLowerCase():null}function ft(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function pt(e){return e instanceof ft(e).Element||e instanceof Element}function mt(e){return e instanceof ft(e).HTMLElement||e instanceof HTMLElement}function gt(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ft(e).ShadowRoot||e instanceof ShadowRoot)}const yt={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},a=t.elements[e];mt(a)&&ht(a)&&(Object.assign(a.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],a=t.attributes[e]||{},r=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});mt(i)&&ht(i)&&(Object.assign(i.style,r),Object.keys(a).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function bt(e){return e.split("-")[0]}var vt=Math.max,wt=Math.min,xt=Math.round;function kt(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function _t(){return!/^((?!chrome|android).)*safari/i.test(kt())}function St(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),a=1,r=1;t&&mt(e)&&(a=e.offsetWidth>0&&xt(i.width)/e.offsetWidth||1,r=e.offsetHeight>0&&xt(i.height)/e.offsetHeight||1);var o=(pt(e)?ft(e):window).visualViewport,s=!_t()&&n,l=(i.left+(s&&o?o.offsetLeft:0))/a,c=(i.top+(s&&o?o.offsetTop:0))/r,u=i.width/a,d=i.height/r;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function Et(e){var t=St(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function Pt(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&>(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Ct(e){return ft(e).getComputedStyle(e)}function Ot(e){return["table","td","th"].indexOf(ht(e))>=0}function Nt(e){return((pt(e)?e.ownerDocument:e.document)||window.document).documentElement}function At(e){return"html"===ht(e)?e:e.assignedSlot||e.parentNode||(gt(e)?e.host:null)||Nt(e)}function Mt(e){return mt(e)&&"fixed"!==Ct(e).position?e.offsetParent:null}function Tt(e){for(var t=ft(e),n=Mt(e);n&&Ot(n)&&"static"===Ct(n).position;)n=Mt(n);return n&&("html"===ht(n)||"body"===ht(n)&&"static"===Ct(n).position)?t:n||function(e){var t=/firefox/i.test(kt());if(/Trident/i.test(kt())&&mt(e)&&"fixed"===Ct(e).position)return null;var n=At(e);for(gt(n)&&(n=n.host);mt(n)&&["html","body"].indexOf(ht(n))<0;){var i=Ct(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function Dt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ft(e,t,n){return vt(e,wt(t,n))}function jt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Lt(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const Rt={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,a=e.options,r=n.elements.arrow,o=n.modifiersData.popperOffsets,s=bt(n.placement),l=Dt(s),c=[Ge,Ue].indexOf(s)>=0?"height":"width";if(r&&o){var u=function(e,t){return jt("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Lt(e,Ye))}(a.padding,n),d=Et(r),h="y"===l?Ve:Ge,f="y"===l?He:Ue,p=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],m=o[l]-n.rects.reference[l],g=Tt(r),y=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=p/2-m/2,v=u[h],w=y-d[c]-u[f],x=y/2-d[c]/2+b,k=Ft(v,x,w),_=l;n.modifiersData[i]=((t={})[_]=k,t.centerOffset=k-x,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Pt(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function It(e){return e.split("-")[1]}var zt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Bt(e){var t,n=e.popper,i=e.popperRect,a=e.placement,r=e.variation,o=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,h=o.x,f=void 0===h?0:h,p=o.y,m=void 0===p?0:p,g="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var y=o.hasOwnProperty("x"),b=o.hasOwnProperty("y"),v=Ge,w=Ve,x=window;if(c){var k=Tt(n),_="clientHeight",S="clientWidth";k===ft(n)&&"static"!==Ct(k=Nt(n)).position&&"absolute"===s&&(_="scrollHeight",S="scrollWidth"),(a===Ve||(a===Ge||a===Ue)&&r===Xe)&&(w=He,m-=(d&&k===x&&x.visualViewport?x.visualViewport.height:k[_])-i.height,m*=l?1:-1),a!==Ge&&(a!==Ve&&a!==He||r!==Xe)||(v=Ue,f-=(d&&k===x&&x.visualViewport?x.visualViewport.width:k[S])-i.width,f*=l?1:-1)}var E,P=Object.assign({position:s},c&&zt),C=!0===u?function(e,t){var n=e.x,i=e.y,a=t.devicePixelRatio||1;return{x:xt(n*a)/a||0,y:xt(i*a)/a||0}}({x:f,y:m},ft(n)):{x:f,y:m};return f=C.x,m=C.y,l?Object.assign({},P,((E={})[w]=b?"0":"",E[v]=y?"0":"",E.transform=(x.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",E)):Object.assign({},P,((t={})[w]=b?m+"px":"",t[v]=y?f+"px":"",t.transform="",t))}const Wt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,a=void 0===i||i,r=n.adaptive,o=void 0===r||r,s=n.roundOffsets,l=void 0===s||s,c={placement:bt(t.placement),variation:It(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Bt(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Bt(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var Vt={passive:!0};const Ht={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,a=i.scroll,r=void 0===a||a,o=i.resize,s=void 0===o||o,l=ft(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&c.forEach((function(e){e.addEventListener("scroll",n.update,Vt)})),s&&l.addEventListener("resize",n.update,Vt),function(){r&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Vt)})),s&&l.removeEventListener("resize",n.update,Vt)}},data:{}};var Ut={left:"right",right:"left",bottom:"top",top:"bottom"};function Gt(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ut[e]}))}var Kt={start:"end",end:"start"};function Yt(e){return e.replace(/start|end/g,(function(e){return Kt[e]}))}function qt(e){var t=ft(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Xt(e){return St(Nt(e)).left+qt(e).scrollLeft}function Qt(e){var t=Ct(e),n=t.overflow,i=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+i)}function Jt(e){return["html","body","#document"].indexOf(ht(e))>=0?e.ownerDocument.body:mt(e)&&Qt(e)?e:Jt(At(e))}function Zt(e,t){var n;void 0===t&&(t=[]);var i=Jt(e),a=i===(null==(n=e.ownerDocument)?void 0:n.body),r=ft(i),o=a?[r].concat(r.visualViewport||[],Qt(i)?i:[]):i,s=t.concat(o);return a?s:s.concat(Zt(At(o)))}function $t(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function en(e,t,n){return t===Je?$t(function(e,t){var n=ft(e),i=Nt(e),a=n.visualViewport,r=i.clientWidth,o=i.clientHeight,s=0,l=0;if(a){r=a.width,o=a.height;var c=_t();(c||!c&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}return{width:r,height:o,x:s+Xt(e),y:l}}(e,n)):pt(t)?function(e,t){var n=St(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):$t(function(e){var t,n=Nt(e),i=qt(e),a=null==(t=e.ownerDocument)?void 0:t.body,r=vt(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),o=vt(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-i.scrollLeft+Xt(e),l=-i.scrollTop;return"rtl"===Ct(a||n).direction&&(s+=vt(n.clientWidth,a?a.clientWidth:0)-r),{width:r,height:o,x:s,y:l}}(Nt(e)))}function tn(e){var t,n=e.reference,i=e.element,a=e.placement,r=a?bt(a):null,o=a?It(a):null,s=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(r){case Ve:t={x:s,y:n.y-i.height};break;case He:t={x:s,y:n.y+n.height};break;case Ue:t={x:n.x+n.width,y:l};break;case Ge:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=r?Dt(r):null;if(null!=c){var u="y"===c?"height":"width";switch(o){case qe:t[c]=t[c]-(n[u]/2-i[u]/2);break;case Xe:t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}function nn(e,t){void 0===t&&(t={});var n=t,i=n.placement,a=void 0===i?e.placement:i,r=n.strategy,o=void 0===r?e.strategy:r,s=n.boundary,l=void 0===s?Qe:s,c=n.rootBoundary,u=void 0===c?Je:c,d=n.elementContext,h=void 0===d?Ze:d,f=n.altBoundary,p=void 0!==f&&f,m=n.padding,g=void 0===m?0:m,y=jt("number"!=typeof g?g:Lt(g,Ye)),b=h===Ze?$e:Ze,v=e.rects.popper,w=e.elements[p?b:h],x=function(e,t,n,i){var a="clippingParents"===t?function(e){var t=Zt(At(e)),n=["absolute","fixed"].indexOf(Ct(e).position)>=0&&mt(e)?Tt(e):e;return pt(n)?t.filter((function(e){return pt(e)&&Pt(e,n)&&"body"!==ht(e)})):[]}(e):[].concat(t),r=[].concat(a,[n]),o=r[0],s=r.reduce((function(t,n){var a=en(e,n,i);return t.top=vt(a.top,t.top),t.right=wt(a.right,t.right),t.bottom=wt(a.bottom,t.bottom),t.left=vt(a.left,t.left),t}),en(e,o,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(pt(w)?w:w.contextElement||Nt(e.elements.popper),l,u,o),k=St(e.elements.reference),_=tn({reference:k,element:v,strategy:"absolute",placement:a}),S=$t(Object.assign({},v,_)),E=h===Ze?S:k,P={top:x.top-E.top+y.top,bottom:E.bottom-x.bottom+y.bottom,left:x.left-E.left+y.left,right:E.right-x.right+y.right},C=e.modifiersData.offset;if(h===Ze&&C){var O=C[a];Object.keys(P).forEach((function(e){var t=[Ue,He].indexOf(e)>=0?1:-1,n=[Ve,He].indexOf(e)>=0?"y":"x";P[e]+=O[n]*t}))}return P}function an(e,t){void 0===t&&(t={});var n=t,i=n.placement,a=n.boundary,r=n.rootBoundary,o=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?tt:l,u=It(i),d=u?s?et:et.filter((function(e){return It(e)===u})):Ye,h=d.filter((function(e){return c.indexOf(e)>=0}));0===h.length&&(h=d);var f=h.reduce((function(t,n){return t[n]=nn(e,{placement:n,boundary:a,rootBoundary:r,padding:o})[bt(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}const rn={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var a=n.mainAxis,r=void 0===a||a,o=n.altAxis,s=void 0===o||o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,f=n.flipVariations,p=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,y=bt(g),b=l||(y!==g&&p?function(e){if(bt(e)===Ke)return[];var t=Gt(e);return[Yt(e),t,Yt(t)]}(g):[Gt(g)]),v=[g].concat(b).reduce((function(e,n){return e.concat(bt(n)===Ke?an(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,x=t.rects.popper,k=new Map,_=!0,S=v[0],E=0;E=0,A=N?"width":"height",M=nn(t,{placement:P,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),T=N?O?Ue:Ge:O?He:Ve;w[A]>x[A]&&(T=Gt(T));var D=Gt(T),F=[];if(r&&F.push(M[C]<=0),s&&F.push(M[T]<=0,M[D]<=0),F.every((function(e){return e}))){S=P,_=!1;break}k.set(P,F)}if(_)for(var j=function(e){var t=v.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},L=p?3:1;L>0&&"break"!==j(L);L--);t.placement!==S&&(t.modifiersData[i]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function on(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function sn(e){return[Ve,Ue,He,Ge].some((function(t){return e[t]>=0}))}const ln={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,a=t.rects.popper,r=t.modifiersData.preventOverflow,o=nn(t,{elementContext:"reference"}),s=nn(t,{altBoundary:!0}),l=on(o,i),c=on(s,a,r),u=sn(l),d=sn(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},cn={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,a=n.offset,r=void 0===a?[0,0]:a,o=tt.reduce((function(e,n){return e[n]=function(e,t,n){var i=bt(e),a=[Ge,Ve].indexOf(i)>=0?-1:1,r="function"==typeof n?n(Object.assign({},t,{placement:e})):n,o=r[0],s=r[1];return o=o||0,s=(s||0)*a,[Ge,Ue].indexOf(i)>=0?{x:s,y:o}:{x:o,y:s}}(n,t.rects,r),e}),{}),s=o[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=o}},un={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=tn({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},dn={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,a=n.mainAxis,r=void 0===a||a,o=n.altAxis,s=void 0!==o&&o,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,h=n.tether,f=void 0===h||h,p=n.tetherOffset,m=void 0===p?0:p,g=nn(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),y=bt(t.placement),b=It(t.placement),v=!b,w=Dt(y),x="x"===w?"y":"x",k=t.modifiersData.popperOffsets,_=t.rects.reference,S=t.rects.popper,E="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,P="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(k){if(r){var N,A="y"===w?Ve:Ge,M="y"===w?He:Ue,T="y"===w?"height":"width",D=k[w],F=D+g[A],j=D-g[M],L=f?-S[T]/2:0,R=b===qe?_[T]:S[T],I=b===qe?-S[T]:-_[T],z=t.elements.arrow,B=f&&z?Et(z):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=W[A],H=W[M],U=Ft(0,_[T],B[T]),G=v?_[T]/2-L-U-V-P.mainAxis:R-U-V-P.mainAxis,K=v?-_[T]/2+L+U+H+P.mainAxis:I+U+H+P.mainAxis,Y=t.elements.arrow&&Tt(t.elements.arrow),q=Y?"y"===w?Y.clientTop||0:Y.clientLeft||0:0,X=null!=(N=null==C?void 0:C[w])?N:0,Q=D+K-X,J=Ft(f?wt(F,D+G-X-q):F,D,f?vt(j,Q):j);k[w]=J,O[w]=J-D}if(s){var Z,$="x"===w?Ve:Ge,ee="x"===w?He:Ue,te=k[x],ne="y"===x?"height":"width",ie=te+g[$],ae=te-g[ee],re=-1!==[Ve,Ge].indexOf(y),oe=null!=(Z=null==C?void 0:C[x])?Z:0,se=re?ie:te-_[ne]-S[ne]-oe+P.altAxis,le=re?te+_[ne]+S[ne]-oe-P.altAxis:ae,ce=f&&re?function(e,t,n){var i=Ft(e,t,n);return i>n?n:i}(se,te,le):Ft(f?se:ie,te,f?le:ae);k[x]=ce,O[x]=ce-te}t.modifiersData[i]=O}},requiresIfExists:["offset"]};function hn(e,t,n){void 0===n&&(n=!1);var i,a,r=mt(t),o=mt(t)&&function(e){var t=e.getBoundingClientRect(),n=xt(t.width)/e.offsetWidth||1,i=xt(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),s=Nt(t),l=St(e,o,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==ht(t)||Qt(s))&&(c=(i=t)!==ft(i)&&mt(i)?{scrollLeft:(a=i).scrollLeft,scrollTop:a.scrollTop}:qt(i)),mt(t)?((u=St(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Xt(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function fn(e){var t=new Map,n=new Set,i=[];function a(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&a(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||a(e)})),i}var pn={placement:"bottom",modifiers:[],strategy:"absolute"};function mn(){for(var e=arguments.length,t=new Array(e),n=0;nNumber.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(I.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...g(this._config.popperConfig,[e])}}_selectMenuItem(e){let{key:t,target:n}=e;const i=V.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((e=>s(e)));i.length&&b(i,n,t===En,!i.includes(n)).focus()}static jQueryInterface(e){return this.each((function(){const t=Gn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=V.find(jn);for(const n of t){const t=Gn.getInstance(n);if(!t||!1===t._config.autoClose)continue;const i=e.composedPath(),a=i.includes(t._menu);if(i.includes(t._element)||"inside"===t._config.autoClose&&!a||"outside"===t._config.autoClose&&a)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const r={relatedTarget:t._element};"click"===e.type&&(r.clickEvent=e),t._completeHide(r)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,i=[Sn,En].includes(e.key);if(!i&&!n)return;if(t&&!n)return;e.preventDefault();const a=this.matches(Fn)?this:V.prev(this,Fn)[0]||V.next(this,Fn)[0]||V.findOne(Fn,e.delegateTarget.parentNode),r=Gn.getOrCreateInstance(a);if(i)return e.stopPropagation(),r.show(),void r._selectMenuItem(e);r._isShown()&&(e.stopPropagation(),r.hide(),a.focus())}}F.on(document,Mn,Fn,Gn.dataApiKeydownHandler),F.on(document,Mn,Ln,Gn.dataApiKeydownHandler),F.on(document,An,Gn.clearMenus),F.on(document,Tn,Gn.clearMenus),F.on(document,An,Fn,(function(e){e.preventDefault(),Gn.getOrCreateInstance(this).toggle()})),m(Gn);const Kn="backdrop",Yn="show",qn="mousedown.bs.".concat(Kn),Xn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Qn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Jn extends z{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Xn}static get DefaultType(){return Qn}static get NAME(){return Kn}show(e){if(!this._config.isVisible)return void g(e);this._append();const t=this._getElement();this._config.isAnimated&&d(t),t.classList.add(Yn),this._emulateAnimation((()=>{g(e)}))}hide(e){this._config.isVisible?(this._getElement().classList.remove(Yn),this._emulateAnimation((()=>{this.dispose(),g(e)}))):g(e)}dispose(){this._isAppended&&(F.off(this._element,qn),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=o(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),F.on(e,qn,(()=>{g(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(e){y(e,this._getElement(),this._config.isAnimated)}}const Zn=".bs.focustrap",$n="focusin".concat(Zn),ei="keydown.tab".concat(Zn),ti="backward",ni={autofocus:!0,trapElement:null},ii={autofocus:"boolean",trapElement:"element"};class ai extends z{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ni}static get DefaultType(){return ii}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),F.off(document,Zn),F.on(document,$n,(e=>this._handleFocusin(e))),F.on(document,ei,(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,F.off(document,Zn))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const n=V.focusableChildren(t);0===n.length?t.focus():this._lastTabNavDirection===ti?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?ti:"forward")}}const ri=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",oi=".sticky-top",si="padding-right",li="margin-right";class ci{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,si,(t=>t+e)),this._setElementAttributes(ri,si,(t=>t+e)),this._setElementAttributes(oi,li,(t=>t-e))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,si),this._resetElementAttributes(ri,si),this._resetElementAttributes(oi,li)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const i=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+i)return;this._saveInitialAttribute(e,t);const a=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,"".concat(n(Number.parseFloat(a)),"px"))}))}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&&I.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const n=I.getDataAttribute(e,t);null!==n?(I.removeDataAttribute(e,t),e.style.setProperty(t,n)):e.style.removeProperty(t)}))}_applyManipulationCallback(e,t){if(r(e))t(e);else for(const n of V.find(e,this._element))t(n)}}const ui=".bs.modal",di="hide".concat(ui),hi="hidePrevented".concat(ui),fi="hidden".concat(ui),pi="show".concat(ui),mi="shown".concat(ui),gi="resize".concat(ui),yi="click.dismiss".concat(ui),bi="mousedown.dismiss".concat(ui),vi="keydown.dismiss".concat(ui),wi="click".concat(ui,".data-api"),xi="modal-open",ki="show",_i="modal-static",Si={backdrop:!0,focus:!0,keyboard:!0},Ei={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Pi extends B{constructor(e,t){super(e,t),this._dialog=V.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ci,this._addEventListeners()}static get Default(){return Si}static get DefaultType(){return Ei}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||F.trigger(this._element,pi,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(xi),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){this._isShown&&!this._isTransitioning&&(F.trigger(this._element,di).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(ki),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){F.off(window,ui),F.off(this._dialog,ui),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Jn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ai({trapElement:this._element})}_showElement(e){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 t=V.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),d(this._element),this._element.classList.add(ki),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,F.trigger(this._element,mi,{relatedTarget:e})}),this._dialog,this._isAnimated())}_addEventListeners(){F.on(this._element,vi,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),F.on(window,gi,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),F.on(this._element,bi,(e=>{F.one(this._element,yi,(t=>{this._element===e.target&&this._element===t.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(xi),this._resetAdjustments(),this._scrollBar.reset(),F.trigger(this._element,fi)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(F.trigger(this._element,hi).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(_i)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(_i),this._queueCallback((()=>{this._element.classList.remove(_i),this._queueCallback((()=>{this._element.style.overflowY=t}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){const e=p()?"paddingLeft":"paddingRight";this._element.style[e]="".concat(t,"px")}if(!n&&e){const e=p()?"paddingRight":"paddingLeft";this._element.style[e]="".concat(t,"px")}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const n=Pi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'.concat(e,'"'));n[e](t)}}))}}F.on(document,wi,'[data-bs-toggle="modal"]',(function(e){const t=V.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),F.one(t,pi,(e=>{e.defaultPrevented||F.one(t,fi,(()=>{s(this)&&this.focus()}))}));const n=V.findOne(".modal.show");n&&Pi.getInstance(n).hide(),Pi.getOrCreateInstance(t).toggle(this)})),H(Pi),m(Pi);const Ci=".bs.offcanvas",Oi=".data-api",Ni="load".concat(Ci).concat(Oi),Ai="show",Mi="showing",Ti="hiding",Di=".offcanvas.show",Fi="show".concat(Ci),ji="shown".concat(Ci),Li="hide".concat(Ci),Ri="hidePrevented".concat(Ci),Ii="hidden".concat(Ci),zi="resize".concat(Ci),Bi="click".concat(Ci).concat(Oi),Wi="keydown.dismiss".concat(Ci),Vi={backdrop:!0,keyboard:!0,scroll:!1},Hi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Ui extends B{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Vi}static get DefaultType(){return Hi}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||F.trigger(this._element,Fi,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new ci).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Mi),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Ai),this._element.classList.remove(Mi),F.trigger(this._element,ji,{relatedTarget:e})}),this._element,!0))}hide(){this._isShown&&(F.trigger(this._element,Li).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ti),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(Ai,Ti),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new ci).reset(),F.trigger(this._element,Ii)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new Jn({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():F.trigger(this._element,Ri)}:null})}_initializeFocusTrap(){return new ai({trapElement:this._element})}_addEventListeners(){F.on(this._element,Wi,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():F.trigger(this._element,Ri))}))}static jQueryInterface(e){return this.each((function(){const t=Ui.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}}))}}F.on(document,Bi,'[data-bs-toggle="offcanvas"]',(function(e){const t=V.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this))return;F.one(t,Ii,(()=>{s(this)&&this.focus()}));const n=V.findOne(Di);n&&n!==t&&Ui.getInstance(n).hide(),Ui.getOrCreateInstance(t).toggle(this)})),F.on(window,Ni,(()=>{for(const e of V.find(Di))Ui.getOrCreateInstance(e).show()})),F.on(window,zi,(()=>{for(const e of V.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&Ui.getOrCreateInstance(e).hide()})),H(Ui),m(Ui);const Gi={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],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:[]},Ki=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Yi=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,qi=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!Ki.has(n)||Boolean(Yi.test(e.nodeValue)):t.filter((e=>e instanceof RegExp)).some((e=>e.test(n)))},Xi={allowList:Gi,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"},Ji={entry:"(string|element|function|null)",selector:"(string|element)"};class Zi extends z{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Xi}static get DefaultType(){return Qi}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((e=>this._resolvePossibleFunction(e))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[i,a]of Object.entries(this._config.content))this._setContent(e,a,i);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},Ji)}_setContent(e,t,n){const i=V.findOne(n,e);i&&((t=this._resolvePossibleFunction(t))?r(t)?this._putElementInTemplate(o(t),i):this._config.html?i.innerHTML=this._maybeSanitize(t):i.textContent=t:i.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const i=(new window.DOMParser).parseFromString(e,"text/html"),a=[].concat(...i.body.querySelectorAll("*"));for(const r of a){const e=r.nodeName.toLowerCase();if(!Object.keys(t).includes(e)){r.remove();continue}const n=[].concat(...r.attributes),i=[].concat(t["*"]||[],t[e]||[]);for(const t of n)qi(t,i)||r.removeAttribute(t.nodeName)}return i.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return g(e,[this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const $i=new Set(["sanitize","allowList","sanitizeFn"]),ea="fade",ta="show",na=".modal",ia="hide.bs.modal",aa="hover",ra="focus",oa={AUTO:"auto",TOP:"top",RIGHT:p()?"left":"right",BOTTOM:"bottom",LEFT:p()?"right":"left"},sa={allowList:Gi,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:'',title:"",trigger:"hover focus"},la={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class ca extends B{constructor(e,t){if(void 0===wn)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return sa}static get DefaultType(){return la}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),F.off(this._element.closest(na),ia,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=F.trigger(this._element,this.constructor.eventName("show")),t=(c(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(n),F.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(ta),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))F.on(a,"mouseover",u);this._queueCallback((()=>{F.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!F.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(ta),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))F.off(e,"mouseover",u);this._activeTrigger.click=!1,this._activeTrigger[ra]=!1,this._activeTrigger[aa]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),F.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(ea,ta),t.classList.add("bs-".concat(this.constructor.NAME,"-auto"));const n=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(ea),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Zi({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ea)}_isShown(){return this.tip&&this.tip.classList.contains(ta)}_createPopper(e){const t=g(this._config.placement,[this,e,this._element]),n=oa[t.toUpperCase()];return vn(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return g(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:".".concat(this.constructor.NAME,"-arrow")}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...g(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)F.on(this._element,this.constructor.eventName("click"),this._config.selector,(e=>{this._initializeOnDelegatedTarget(e).toggle()}));else if("manual"!==t){const e=t===aa?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=t===aa?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");F.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?ra:aa]=!0,t._enter()})),F.on(this._element,n,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?ra:aa]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},F.on(this._element.closest(na),ia,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=I.getDataAttributes(this._element);for(const n of Object.keys(t))$i.has(n)&&delete t[n];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:o(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each((function(){const t=ca.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}m(ca);const ua={...ca.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},da={...ca.DefaultType,content:"(null|string|element|function)"};class ha extends ca{static get Default(){return ua}static get DefaultType(){return da}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const t=ha.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}m(ha);const fa=".bs.scrollspy",pa="activate".concat(fa),ma="click".concat(fa),ga="load".concat(fa,".data-api"),ya="active",ba="[href]",va=".nav-link",wa="".concat(va,", .nav-item > ").concat(va,", .list-group-item"),xa={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},ka={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class _a extends B{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return xa}static get DefaultType(){return ka}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=o(e.target)||document.body,e.rootMargin=e.offset?"".concat(e.offset,"px 0px -30%"):e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map((e=>Number.parseFloat(e)))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(F.off(this._config.target,ma),F.on(this._config.target,ma,ba,(e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,i=t.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:i,behavior:"smooth"});n.scrollTop=i}})))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((e=>this._observerCallback(e)),e)}_observerCallback(e){const t=e=>this._targetLinks.get("#".concat(e.target.id)),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},i=(this._rootElement||document.documentElement).scrollTop,a=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const r of e){if(!r.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(r));continue}const e=r.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(a&&e){if(n(r),!i)return}else a||e||n(r)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=V.find(ba,this._config.target);for(const t of e){if(!t.hash||l(t))continue;const e=V.findOne(decodeURI(t.hash),this._element);s(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(ya),this._activateParents(e),F.trigger(this._element,pa,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))V.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(ya);else for(const t of V.parents(e,".nav, .list-group"))for(const e of V.prev(t,wa))e.classList.add(ya)}_clearActiveClass(e){e.classList.remove(ya);const t=V.find("".concat(ba,".").concat(ya),e);for(const n of t)n.classList.remove(ya)}static jQueryInterface(e){return this.each((function(){const t=_a.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}F.on(window,ga,(()=>{for(const e of V.find('[data-bs-spy="scroll"]'))_a.getOrCreateInstance(e)})),m(_a);const Sa=".bs.tab",Ea="hide".concat(Sa),Pa="hidden".concat(Sa),Ca="show".concat(Sa),Oa="shown".concat(Sa),Na="click".concat(Sa),Aa="keydown".concat(Sa),Ma="load".concat(Sa),Ta="ArrowLeft",Da="ArrowRight",Fa="ArrowUp",ja="ArrowDown",La="Home",Ra="End",Ia="active",za="fade",Ba="show",Wa=".dropdown-toggle",Va=":not(".concat(Wa,")"),Ha='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ua=".nav-link".concat(Va,", .list-group-item").concat(Va,', [role="tab"]').concat(Va,", ").concat(Ha),Ga=".".concat(Ia,'[data-bs-toggle="tab"], .').concat(Ia,'[data-bs-toggle="pill"], .').concat(Ia,'[data-bs-toggle="list"]');class Ka extends B{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),F.on(this._element,Aa,(e=>this._keydown(e))))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),n=t?F.trigger(t,Ea,{relatedTarget:e}):null;F.trigger(e,Ca,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(Ia),this._activate(V.getElementFromSelector(e)),this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),F.trigger(e,Oa,{relatedTarget:t})):e.classList.add(Ba)}),e,e.classList.contains(za)))}_deactivate(e,t){e&&(e.classList.remove(Ia),e.blur(),this._deactivate(V.getElementFromSelector(e)),this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),F.trigger(e,Pa,{relatedTarget:t})):e.classList.remove(Ba)}),e,e.classList.contains(za)))}_keydown(e){if(![Ta,Da,Fa,ja,La,Ra].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter((e=>!l(e)));let n;if([La,Ra].includes(e.key))n=t[e.key===La?0:t.length-1];else{const i=[Da,ja].includes(e.key);n=b(t,e.target,i,!0)}n&&(n.focus({preventScroll:!0}),Ka.getOrCreateInstance(n).show())}_getChildren(){return V.find(Ua,this._parent)}_getActiveElem(){return this._getChildren().find((e=>this._elemIsActive(e)))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const n of t)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=V.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby","".concat(e.id)))}_toggleDropDown(e,t){const n=this._getOuterElement(e);if(!n.classList.contains("dropdown"))return;const i=(e,i)=>{const a=V.findOne(e,n);a&&a.classList.toggle(i,t)};i(Wa,Ia),i(".dropdown-menu",Ba),n.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(Ia)}_getInnerElement(e){return e.matches(Ua)?e:V.findOne(Ua,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each((function(){const t=Ka.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}F.on(document,Na,Ha,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this)||Ka.getOrCreateInstance(this).show()})),F.on(window,Ma,(()=>{for(const e of V.find(Ga))Ka.getOrCreateInstance(e)})),m(Ka);const Ya=".bs.toast",qa="mouseover".concat(Ya),Xa="mouseout".concat(Ya),Qa="focusin".concat(Ya),Ja="focusout".concat(Ya),Za="hide".concat(Ya),$a="hidden".concat(Ya),er="show".concat(Ya),tr="shown".concat(Ya),nr="hide",ir="show",ar="showing",rr={animation:"boolean",autohide:"boolean",delay:"number"},or={animation:!0,autohide:!0,delay:5e3};class sr extends B{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return or}static get DefaultType(){return rr}static get NAME(){return"toast"}show(){F.trigger(this._element,er).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(nr),d(this._element),this._element.classList.add(ir,ar),this._queueCallback((()=>{this._element.classList.remove(ar),F.trigger(this._element,tr),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(F.trigger(this._element,Za).defaultPrevented||(this._element.classList.add(ar),this._queueCallback((()=>{this._element.classList.add(nr),this._element.classList.remove(ar,ir),F.trigger(this._element,$a)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ir),super.dispose()}isShown(){return this._element.classList.contains(ir)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){F.on(this._element,qa,(e=>this._onInteraction(e,!0))),F.on(this._element,Xa,(e=>this._onInteraction(e,!1))),F.on(this._element,Qa,(e=>this._onInteraction(e,!0))),F.on(this._element,Ja,(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=sr.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}}))}}return H(sr),m(sr),{Alert:Y,Button:X,Carousel:Ce,Collapse:We,Dropdown:Gn,Modal:Pi,Offcanvas:Ui,Popover:ha,ScrollSpy:_a,Tab:Ka,Toast:sr,Tooltip:ca}}()},340:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CountUp:()=>a});var i=function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;na.endVal;a.frameVal=n?a.endVal:a.frameVal,a.frameVal=Number(a.frameVal.toFixed(a.options.decimalPlaces)),a.printValue(a.frameVal),t1?a.options.decimal+s[1]:"",a.options.useGrouping){r="";for(var l=3,c=0,u=0,d=n.length;uwindow.scrollY&&e.paused?(e.paused=!1,setTimeout((function(){return e.start()}),e.options.scrollSpyDelay),e.options.scrollSpyOnce&&(e.once=!0)):(window.scrollY>a||i>t)&&!e.paused&&e.reset()}},e.prototype.determineDirectionAndSmartEasing=function(){var e=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>e;var t=e-this.startVal;if(Math.abs(t)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=e;var n=this.countDown?1:-1;this.endVal=e+n*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=e,this.finalEndVal=null;null!==this.finalEndVal?this.useEasing=!1:this.useEasing=this.options.useEasing},e.prototype.start=function(e){this.error||(this.options.onStartCallback&&this.options.onStartCallback(),e&&(this.options.onCompleteCallback=e),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},e.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},e.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},e.prototype.update=function(e){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(e),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,null==this.finalEndVal&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},e.prototype.printValue=function(e){var t;if(this.el){var n=this.formattingFn(e);(null===(t=this.options.plugin)||void 0===t?void 0:t.render)?this.options.plugin.render(this.el,n):"INPUT"===this.el.tagName?this.el.value=n:"text"===this.el.tagName||"tspan"===this.el.tagName?this.el.textContent=n:this.el.innerHTML=n}},e.prototype.ensureNumber=function(e){return"number"==typeof e&&!isNaN(e)},e.prototype.validateValue=function(e){var t=Number(e);return this.ensureNumber(t)?t:(this.error="[CountUp] invalid start or end value: ".concat(e),null)},e.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},e}()},110:(e,t,n)=>{"use strict";var i=n(309),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return i.isMemo(e)?o:s[e.$$typeof]||a}s[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[i.Memo]=o;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,i){if("string"!==typeof n){if(p){var a=f(n);a&&a!==p&&e(t,a,i)}var o=u(n);d&&(o=o.concat(d(n)));for(var s=l(t),m=l(n),g=0;g{"use strict";var n="function"===typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case u:case d:case r:case s:case o:case f:return e;default:switch(e=e&&e.$$typeof){case c:case h:case g:case m:case l:return e;default:return t}}case a:return t}}}function k(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=i,t.ForwardRef=h,t.Fragment=r,t.Lazy=g,t.Memo=m,t.Portal=a,t.Profiler=s,t.StrictMode=o,t.Suspense=f,t.isAsyncMode=function(e){return k(e)||x(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return x(e)===h},t.isFragment=function(e){return x(e)===r},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===a},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===o},t.isSuspense=function(e){return x(e)===f},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===r||e===d||e===s||e===o||e===f||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===h||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},309:(e,t,n)=>{"use strict";e.exports=n(746)},888:(e,t,n)=>{"use strict";var i=n(47);function a(){}function r(){}r.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,r,o){if(o!==i){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:a};return n.PropTypes=n,n}},7:(e,t,n)=>{e.exports=n(888)()},47:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},835:(e,t,n)=>{"use strict";var i=n(791),a=n(340);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,a,r,o,s=[],l=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=r.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n0?k.current=setTimeout(e,1e3*d):e(),null===g||void 0===g||g({pauseResume:C,reset:O,update:N})})),C=f((function(){E().pauseResume(),null===y||void 0===y||y({reset:O,start:A,update:N})})),O=f((function(){E().el&&(k.current&&clearTimeout(k.current),E().reset(),null===b||void 0===b||b({pauseResume:C,start:A,update:N}))})),N=f((function(e){E().update(e),null===v||void 0===v||v({pauseResume:C,reset:O,start:A})})),A=f((function(){O(),P()})),M=f((function(e){s&&(e&&O(),P())}));return i.useEffect((function(){_.current?l&&M(!0):(_.current=!0,M())}),[l,_,M,d,e.start,e.suffix,e.prefix,e.duration,e.separator,e.decimals,e.decimal,e.formattingFn]),i.useEffect((function(){return function(){O()}}),[O]),{start:A,pauseResume:C,reset:O,update:N,getCountUp:E}},y=["className","redraw","containerProps","children","style"];t.ZP=function(e){var t=e.className,n=e.redraw,a=e.containerProps,r=e.children,s=e.style,u=c(e,y),d=i.useRef(null),h=i.useRef(!1),p=g(o(o({},u),{},{ref:d,startOnMount:"function"!==typeof r||0===e.delay,enableReinitialize:!1})),m=p.start,b=p.reset,v=p.update,w=p.pauseResume,x=p.getCountUp,k=f((function(){m()})),_=f((function(t){e.preserveValue||b(),v(t)})),S=f((function(){"function"!==typeof e.children||d.current instanceof Element?x():console.error('Couldn\'t find attached element to hook the CountUp instance into! Try to attach "containerRef" from the render prop to a an Element, eg. .')}));i.useEffect((function(){S()}),[S]),i.useEffect((function(){h.current&&_(e.end)}),[e.end,_]);var E=n&&e;return i.useEffect((function(){n&&h.current&&k()}),[k,n,E]),i.useEffect((function(){!n&&h.current&&k()}),[k,n,e.start,e.suffix,e.prefix,e.duration,e.separator,e.decimals,e.decimal,e.className,e.formattingFn]),i.useEffect((function(){h.current=!0}),[]),"function"===typeof r?r({countUpRef:d,start:m,reset:b,update:v,pauseResume:w,getCountUp:x}):i.createElement("span",l({className:t,ref:d,style:s},a),"undefined"!==typeof e.start?x().formattingFn(e.start):"")}},463:(e,t,n)=>{"use strict";var i=n(791),a=n(296);function r(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n