@unlk/keymaster 1.6.9 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/css/keymaster.css +3 -1
- package/dist/css/keymaster.css.map +1 -1
- package/dist/css/keymaster.min.css +1 -1
- package/dist/js/keymaster.js +126 -54
- package/dist/js/keymaster.js.map +1 -1
- package/dist/js/keymaster.min.js +7 -7
- package/dist/js/keymaster.min.js.map +1 -1
- package/js/video-modal.js +174 -58
- package/package.json +1 -1
- package/scss/theme/_version.scss +1 -1
- package/scss/theme/forms/_form-check.scss +3 -2
package/dist/js/keymaster.min.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Unlock Keymaster v1.
|
|
2
|
+
* Unlock Keymaster v1.7.1 (https://keymaster.unlock.com)
|
|
3
3
|
* Copyright 2022-2026 Unlk Developers
|
|
4
4
|
*/
|
|
5
5
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).keymaster={})}(this,function(e){"use strict";function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,i.get?i:{enumerable:!0,get:function(){return e[t]}})}),n}var i,s={exports:{}},o={exports:{}},r={exports:{}};function a(){return i||(i=1,function(e){e.exports=function(){const e=new Map,t={set(t,n,i){e.has(t)||e.set(t,new Map);const s=e.get(t);(s.has(n)||0===s.size)&&s.set(n,i)},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)}};return t}()}(r)),r.exports}var l,c={exports:{}},u={exports:{}};function h(){return l||(l=1,function(e,t){!function(e){const t=1e6,n=1e3,i="transitionend",s=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),o=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),r=e=>{do{e+=Math.floor(Math.random()*t)}while(document.getElementById(e));return e},a=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const s=Number.parseFloat(t),o=Number.parseFloat(i);return s||o?(t=t.split(",")[0],i=i.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(i))*n):0},l=e=>{e.dispatchEvent(new Event(i))},c=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),u=e=>c(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(s(e)):null,h=e=>{if(!c(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},d=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),f=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?f(e.parentNode):null},p=()=>{},g=e=>{e.offsetHeight},m=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,_=[],b=e=>{"loading"===document.readyState?(_.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of _)e()}),_.push(e)):e()},v=()=>"rtl"===document.documentElement.dir,y=e=>{b(()=>{const t=m();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)}})},w=(e,t=[],n=e)=>"function"==typeof e?e.call(...t):n,E=(e,t,n=!0)=>{if(!n)return void w(e);const s=5,o=a(t)+s;let r=!1;const c=({target:n})=>{n===t&&(r=!0,t.removeEventListener(i,c),w(e))};t.addEventListener(i,c),setTimeout(()=>{r||l(t)},o)},A=(e,t,n,i)=>{const s=e.length;let o=e.indexOf(t);return-1===o?!n&&i?e[s-1]:e[0]:(o+=n?1:-1,i&&(o=(o+s)%s),e[Math.max(0,Math.min(o,s-1))])};e.defineJQueryPlugin=y,e.execute=w,e.executeAfterTransition=E,e.findShadowRoot=f,e.getElement=u,e.getNextActiveElement=A,e.getTransitionDurationFromElement=a,e.getUID=r,e.getjQuery=m,e.isDisabled=d,e.isElement=c,e.isRTL=v,e.isVisible=h,e.noop=p,e.onDOMContentLoaded=b,e.parseSelector=s,e.reflow=g,e.toType=o,e.triggerTransitionEnd=l,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}(t)}(0,u.exports)),u.exports}
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
* Bootstrap alert.js v5.3.8 (https://getbootstrap.com/)
|
|
28
28
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
29
29
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
30
|
-
*/var S;var k,L=(S||(S=1,function(e){e.exports=function(e,t,n,i){const s="alert",o="bs.alert",r=`.${o}`,a=`close${r}`,l=`closed${r}`,c="fade",u="show";class h extends e{static get NAME(){return s}close(){if(t.trigger(this._element,a).defaultPrevented)return;this._element.classList.remove(u);const e=this._element.classList.contains(c);this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),t.trigger(this._element,l),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=h.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return n.enableDismissTrigger(h,"close"),i.defineJQueryPlugin(h),h}(w(),f(),C(),h())}(s)),s.exports),D=t(L)
|
|
30
|
+
*/var S;var k,L=(S||(S=1,function(e){e.exports=function(e,t,n,i){const s="alert",o="bs.alert",r=`.${o}`,a=`close${r}`,l=`closed${r}`,c="fade",u="show";class h extends e{static get NAME(){return s}close(){if(t.trigger(this._element,a).defaultPrevented)return;this._element.classList.remove(u);const e=this._element.classList.contains(c);this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),t.trigger(this._element,l),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=h.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return n.enableDismissTrigger(h,"close"),i.defineJQueryPlugin(h),h}(w(),f(),C(),h())}(s)),s.exports),D=t(L),P={exports:{}},$={exports:{}};function I(){return k||(k=1,function(e){e.exports=function(e,t,n){const i="swipe",s=".bs.swipe",o=`touchstart${s}`,r=`touchmove${s}`,a=`touchend${s}`,l=`pointerdown${s}`,c=`pointerup${s}`,u="touch",h="pen",d="pointer-event",f=40,p={endCallback:null,leftCallback:null,rightCallback:null},g={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class m extends t{constructor(e,t){super(),this._element=e,e&&m.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return p}static get DefaultType(){return g}static get NAME(){return i}dispose(){e.off(this._element,s)}_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(),n.execute(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<=f)return;const t=e/this._deltaX;this._deltaX=0,t&&n.execute(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(e.on(this._element,l,e=>this._start(e)),e.on(this._element,c,e=>this._end(e)),this._element.classList.add(d)):(e.on(this._element,o,e=>this._start(e)),e.on(this._element,r,e=>this._move(e)),e.on(this._element,a,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===h||e.pointerType===u)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}return m}(f(),v(),h())}($)),$.exports}
|
|
31
31
|
/*!
|
|
32
32
|
* Bootstrap carousel.js v5.3.8 (https://getbootstrap.com/)
|
|
33
33
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
34
34
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
35
|
-
*/var N;var j,M=(N||(N=1,function(e){e.exports=function(e,t,n,i,s,o){const r="carousel",a="bs.carousel",l=`.${a}`,c=".data-api",u="ArrowLeft",h="ArrowRight",d=500,f="next",p="prev",g="left",m="right",_=`slide${l}`,b=`slid${l}`,v=`keydown${l}`,y=`mouseenter${l}`,w=`mouseleave${l}`,E=`dragstart${l}`,A=`load${l}${c}`,x=`click${l}${c}`,T="carousel",O="active",C="slide",S="carousel-item-end",k="carousel-item-start",L="carousel-item-next",D="carousel-item-prev",$=".active",P=".carousel-item",I=$+P,N=".carousel-item img",j=".carousel-indicators",M="[data-bs-slide], [data-bs-slide-to]",F='[data-bs-ride="carousel"]',R={[u]:m,[h]:g},H={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},W={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class z extends e{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=i.findOne(j,this._element),this._addEventListeners(),this._config.ride===T&&this.cycle()}static get Default(){return H}static get DefaultType(){return W}static get NAME(){return r}next(){this._slide(f)}nextWhenVisible(){!document.hidden&&s.isVisible(this._element)&&this.next()}prev(){this._slide(p)}pause(){this._isSliding&&s.triggerTransitionEnd(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?t.one(this._element,b,()=>this.cycle()):this.cycle())}to(e){const n=this._getItems();if(e>n.length-1||e<0)return;if(this._isSliding)return void t.one(this._element,b,()=>this.to(e));const i=this._getItemIndex(this._getActive());if(i===e)return;const s=e>i?f:p;this._slide(s,n[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&t.on(this._element,v,e=>this._keydown(e)),"hover"===this._config.pause&&(t.on(this._element,y,()=>this.pause()),t.on(this._element,w,()=>this._maybeEnableCycle())),this._config.touch&&o.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of i.find(N,this._element))t.on(e,E,e=>e.preventDefault());const e={leftCallback:()=>this._slide(this._directionToOrder(g)),rightCallback:()=>this._slide(this._directionToOrder(m)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),d+this._config.interval))}};this._swipeHelper=new o(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=R[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=i.findOne($,this._indicatorsElement);t.classList.remove(O),t.removeAttribute("aria-current");const n=i.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(O),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,n=null){if(this._isSliding)return;const i=this._getActive(),o=e===f,r=n||s.getNextActiveElement(this._getItems(),i,o,this._config.wrap);if(r===i)return;const a=this._getItemIndex(r),l=n=>t.trigger(this._element,n,{relatedTarget:r,direction:this._orderToDirection(e),from:this._getItemIndex(i),to:a});if(l(_).defaultPrevented)return;if(!i||!r)return;const c=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=r;const u=o?k:S,h=o?L:D;r.classList.add(h),s.reflow(r),i.classList.add(u),r.classList.add(u);const d=()=>{r.classList.remove(u,h),r.classList.add(O),i.classList.remove(O,h,u),this._isSliding=!1,l(b)};this._queueCallback(d,i,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(C)}_getActive(){return i.findOne(I,this._element)}_getItems(){return i.find(P,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return s.isRTL()?e===g?p:f:e===g?f:p}_orderToDirection(e){return s.isRTL()?e===p?g:m:e===p?m:g}static jQueryInterface(e){return this.each(function(){const t=z.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 "${e}"`);t[e]()}}else t.to(e)})}}return t.on(document,x,M,function(e){const t=i.getElementFromSelector(this);if(!t||!t.classList.contains(T))return;e.preventDefault();const s=z.getOrCreateInstance(t),o=this.getAttribute("data-bs-slide-to");return o?(s.to(o),void s._maybeEnableCycle()):"next"===n.getDataAttribute(this,"slide")?(s.next(),void s._maybeEnableCycle()):(s.prev(),void s._maybeEnableCycle())}),t.on(window,A,()=>{const e=i.find(F);for(const t of e)z.getOrCreateInstance(t)}),s.defineJQueryPlugin(z),z}(w(),f(),_(),T(),h(),I())}($)),$.exports),F=t(M),R={exports:{}};var H=(j||(j=1,function(e){e.exports=function(e,t,n){const i="button",s="bs.button",o=`.${s}`,r=".data-api",a="active",l='[data-bs-toggle="button"]',c=`click${o}${r}`;class u extends e{static get NAME(){return i}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(a))}static jQueryInterface(e){return this.each(function(){const t=u.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}return t.on(document,c,l,e=>{e.preventDefault();const t=e.target.closest(l);u.getOrCreateInstance(t).toggle()}),n.defineJQueryPlugin(u),u}(w(),f(),h())}(R)),R.exports),W=t(H),z={exports:{}},V="top",q="bottom",B="right",Q="left",Y="auto",K=[V,q,B,Q],U="start",X="end",J="clippingParents",Z="viewport",G="popper",ee="reference",te=K.reduce(function(e,t){return e.concat([t+"-"+U,t+"-"+X])},[]),ne=[].concat(K,[Y]).reduce(function(e,t){return e.concat([t,t+"-"+U,t+"-"+X])},[]),ie="beforeRead",se="read",oe="afterRead",re="beforeMain",ae="main",le="afterMain",ce="beforeWrite",ue="write",he="afterWrite",de=[ie,se,oe,re,ae,le,ce,ue,he];function fe(e){return e?(e.nodeName||"").toLowerCase():null}function pe(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ge(e){return e instanceof pe(e).Element||e instanceof Element}function me(e){return e instanceof pe(e).HTMLElement||e instanceof HTMLElement}function _e(e){return"undefined"!=typeof ShadowRoot&&(e instanceof pe(e).ShadowRoot||e instanceof ShadowRoot)}var be={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]||{},s=t.elements[e];me(s)&&fe(s)&&(Object.assign(s.style,n),Object.keys(i).forEach(function(e){var t=i[e];!1===t?s.removeAttribute(e):s.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],s=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});me(i)&&fe(i)&&(Object.assign(i.style,o),Object.keys(s).forEach(function(e){i.removeAttribute(e)}))})}},requires:["computeStyles"]};function ve(e){return e.split("-")[0]}var ye=Math.max,we=Math.min,Ee=Math.round;function Ae(){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 xe(){return!/^((?!chrome|android).)*safari/i.test(Ae())}function Te(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),s=1,o=1;t&&me(e)&&(s=e.offsetWidth>0&&Ee(i.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Ee(i.height)/e.offsetHeight||1);var r=(ge(e)?pe(e):window).visualViewport,a=!xe()&&n,l=(i.left+(a&&r?r.offsetLeft:0))/s,c=(i.top+(a&&r?r.offsetTop:0))/o,u=i.width/s,h=i.height/o;return{width:u,height:h,top:c,right:l+u,bottom:c+h,left:l,x:l,y:c}}function Oe(e){var t=Te(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 Ce(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&_e(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Se(e){return pe(e).getComputedStyle(e)}function ke(e){return["table","td","th"].indexOf(fe(e))>=0}function Le(e){return((ge(e)?e.ownerDocument:e.document)||window.document).documentElement}function De(e){return"html"===fe(e)?e:e.assignedSlot||e.parentNode||(_e(e)?e.host:null)||Le(e)}function $e(e){return me(e)&&"fixed"!==Se(e).position?e.offsetParent:null}function Pe(e){for(var t=pe(e),n=$e(e);n&&ke(n)&&"static"===Se(n).position;)n=$e(n);return n&&("html"===fe(n)||"body"===fe(n)&&"static"===Se(n).position)?t:n||function(e){var t=/firefox/i.test(Ae());if(/Trident/i.test(Ae())&&me(e)&&"fixed"===Se(e).position)return null;var n=De(e);for(_e(n)&&(n=n.host);me(n)&&["html","body"].indexOf(fe(n))<0;){var i=Se(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 Ie(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ne(e,t,n){return ye(e,we(t,n))}function je(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Me(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var Fe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,s=e.options,o=n.elements.arrow,r=n.modifiersData.popperOffsets,a=ve(n.placement),l=Ie(a),c=[Q,B].indexOf(a)>=0?"height":"width";if(o&&r){var u=function(e,t){return je("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Me(e,K))}(s.padding,n),h=Oe(o),d="y"===l?V:Q,f="y"===l?q:B,p=n.rects.reference[c]+n.rects.reference[l]-r[l]-n.rects.popper[c],g=r[l]-n.rects.reference[l],m=Pe(o),_=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,b=p/2-g/2,v=u[d],y=_-h[c]-u[f],w=_/2-h[c]/2+b,E=Ne(v,w,y),A=l;n.modifiersData[i]=((t={})[A]=E,t.centerOffset=E-w,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)))&&Ce(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Re(e){return e.split("-")[1]}var He={top:"auto",right:"auto",bottom:"auto",left:"auto"};function We(e){var t,n=e.popper,i=e.popperRect,s=e.placement,o=e.variation,r=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,h=e.isFixed,d=r.x,f=void 0===d?0:d,p=r.y,g=void 0===p?0:p,m="function"==typeof u?u({x:f,y:g}):{x:f,y:g};f=m.x,g=m.y;var _=r.hasOwnProperty("x"),b=r.hasOwnProperty("y"),v=Q,y=V,w=window;if(c){var E=Pe(n),A="clientHeight",x="clientWidth";if(E===pe(n)&&"static"!==Se(E=Le(n)).position&&"absolute"===a&&(A="scrollHeight",x="scrollWidth"),s===V||(s===Q||s===B)&&o===X)y=q,g-=(h&&E===w&&w.visualViewport?w.visualViewport.height:E[A])-i.height,g*=l?1:-1;if(s===Q||(s===V||s===q)&&o===X)v=B,f-=(h&&E===w&&w.visualViewport?w.visualViewport.width:E[x])-i.width,f*=l?1:-1}var T,O=Object.assign({position:a},c&&He),C=!0===u?function(e,t){var n=e.x,i=e.y,s=t.devicePixelRatio||1;return{x:Ee(n*s)/s||0,y:Ee(i*s)/s||0}}({x:f,y:g},pe(n)):{x:f,y:g};return f=C.x,g=C.y,l?Object.assign({},O,((T={})[y]=b?"0":"",T[v]=_?"0":"",T.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",T)):Object.assign({},O,((t={})[y]=b?g+"px":"",t[v]=_?f+"px":"",t.transform="",t))}var ze={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,s=void 0===i||i,o=n.adaptive,r=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c={placement:ve(t.placement),variation:Re(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,We(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,We(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:{}},Ve={passive:!0};var qe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,s=i.scroll,o=void 0===s||s,r=i.resize,a=void 0===r||r,l=pe(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(e){e.addEventListener("scroll",n.update,Ve)}),a&&l.addEventListener("resize",n.update,Ve),function(){o&&c.forEach(function(e){e.removeEventListener("scroll",n.update,Ve)}),a&&l.removeEventListener("resize",n.update,Ve)}},data:{}},Be={left:"right",right:"left",bottom:"top",top:"bottom"};function Qe(e){return e.replace(/left|right|bottom|top/g,function(e){return Be[e]})}var Ye={start:"end",end:"start"};function Ke(e){return e.replace(/start|end/g,function(e){return Ye[e]})}function Ue(e){var t=pe(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Xe(e){return Te(Le(e)).left+Ue(e).scrollLeft}function Je(e){var t=Se(e),n=t.overflow,i=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function Ze(e){return["html","body","#document"].indexOf(fe(e))>=0?e.ownerDocument.body:me(e)&&Je(e)?e:Ze(De(e))}function Ge(e,t){var n;void 0===t&&(t=[]);var i=Ze(e),s=i===(null==(n=e.ownerDocument)?void 0:n.body),o=pe(i),r=s?[o].concat(o.visualViewport||[],Je(i)?i:[]):i,a=t.concat(r);return s?a:a.concat(Ge(De(r)))}function et(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function tt(e,t,n){return t===Z?et(function(e,t){var n=pe(e),i=Le(e),s=n.visualViewport,o=i.clientWidth,r=i.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=xe();(c||!c&&"fixed"===t)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+Xe(e),y:l}}(e,n)):ge(t)?function(e,t){var n=Te(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):et(function(e){var t,n=Le(e),i=Ue(e),s=null==(t=e.ownerDocument)?void 0:t.body,o=ye(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=ye(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-i.scrollLeft+Xe(e),l=-i.scrollTop;return"rtl"===Se(s||n).direction&&(a+=ye(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(Le(e)))}function nt(e,t,n,i){var s="clippingParents"===t?function(e){var t=Ge(De(e)),n=["absolute","fixed"].indexOf(Se(e).position)>=0&&me(e)?Pe(e):e;return ge(n)?t.filter(function(e){return ge(e)&&Ce(e,n)&&"body"!==fe(e)}):[]}(e):[].concat(t),o=[].concat(s,[n]),r=o[0],a=o.reduce(function(t,n){var s=tt(e,n,i);return t.top=ye(s.top,t.top),t.right=we(s.right,t.right),t.bottom=we(s.bottom,t.bottom),t.left=ye(s.left,t.left),t},tt(e,r,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function it(e){var t,n=e.reference,i=e.element,s=e.placement,o=s?ve(s):null,r=s?Re(s):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case V:t={x:a,y:n.y-i.height};break;case q:t={x:a,y:n.y+n.height};break;case B:t={x:n.x+n.width,y:l};break;case Q:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?Ie(o):null;if(null!=c){var u="y"===c?"height":"width";switch(r){case U:t[c]=t[c]-(n[u]/2-i[u]/2);break;case X:t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}function st(e,t){void 0===t&&(t={});var n=t,i=n.placement,s=void 0===i?e.placement:i,o=n.strategy,r=void 0===o?e.strategy:o,a=n.boundary,l=void 0===a?J:a,c=n.rootBoundary,u=void 0===c?Z:c,h=n.elementContext,d=void 0===h?G:h,f=n.altBoundary,p=void 0!==f&&f,g=n.padding,m=void 0===g?0:g,_=je("number"!=typeof m?m:Me(m,K)),b=d===G?ee:G,v=e.rects.popper,y=e.elements[p?b:d],w=nt(ge(y)?y:y.contextElement||Le(e.elements.popper),l,u,r),E=Te(e.elements.reference),A=it({reference:E,element:v,placement:s}),x=et(Object.assign({},v,A)),T=d===G?x:E,O={top:w.top-T.top+_.top,bottom:T.bottom-w.bottom+_.bottom,left:w.left-T.left+_.left,right:T.right-w.right+_.right},C=e.modifiersData.offset;if(d===G&&C){var S=C[s];Object.keys(O).forEach(function(e){var t=[B,q].indexOf(e)>=0?1:-1,n=[V,q].indexOf(e)>=0?"y":"x";O[e]+=S[n]*t})}return O}function ot(e,t){void 0===t&&(t={});var n=t,i=n.placement,s=n.boundary,o=n.rootBoundary,r=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?ne:l,u=Re(i),h=u?a?te:te.filter(function(e){return Re(e)===u}):K,d=h.filter(function(e){return c.indexOf(e)>=0});0===d.length&&(d=h);var f=d.reduce(function(t,n){return t[n]=st(e,{placement:n,boundary:s,rootBoundary:o,padding:r})[ve(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}var rt={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 s=n.mainAxis,o=void 0===s||s,r=n.altAxis,a=void 0===r||r,l=n.fallbackPlacements,c=n.padding,u=n.boundary,h=n.rootBoundary,d=n.altBoundary,f=n.flipVariations,p=void 0===f||f,g=n.allowedAutoPlacements,m=t.options.placement,_=ve(m),b=l||(_===m||!p?[Qe(m)]:function(e){if(ve(e)===Y)return[];var t=Qe(e);return[Ke(e),t,Ke(t)]}(m)),v=[m].concat(b).reduce(function(e,n){return e.concat(ve(n)===Y?ot(t,{placement:n,boundary:u,rootBoundary:h,padding:c,flipVariations:p,allowedAutoPlacements:g}):n)},[]),y=t.rects.reference,w=t.rects.popper,E=new Map,A=!0,x=v[0],T=0;T<v.length;T++){var O=v[T],C=ve(O),S=Re(O)===U,k=[V,q].indexOf(C)>=0,L=k?"width":"height",D=st(t,{placement:O,boundary:u,rootBoundary:h,altBoundary:d,padding:c}),$=k?S?B:Q:S?q:V;y[L]>w[L]&&($=Qe($));var P=Qe($),I=[];if(o&&I.push(D[C]<=0),a&&I.push(D[$]<=0,D[P]<=0),I.every(function(e){return e})){x=O,A=!1;break}E.set(O,I)}if(A)for(var N=function(e){var t=v.find(function(t){var n=E.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return x=t,"break"},j=p?3:1;j>0;j--){if("break"===N(j))break}t.placement!==x&&(t.modifiersData[i]._skip=!0,t.placement=x,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function at(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 lt(e){return[V,B,q,Q].some(function(t){return e[t]>=0})}var ct={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,r=st(t,{elementContext:"reference"}),a=st(t,{altBoundary:!0}),l=at(r,i),c=at(a,s,o),u=lt(l),h=lt(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}};var ut={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,s=n.offset,o=void 0===s?[0,0]:s,r=ne.reduce(function(e,n){return e[n]=function(e,t,n){var i=ve(e),s=[Q,V].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[Q,B].indexOf(i)>=0?{x:a,y:r}:{x:r,y:a}}(n,t.rects,o),e},{}),a=r[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=r}};var ht={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=it({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}};var dt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,s=n.mainAxis,o=void 0===s||s,r=n.altAxis,a=void 0!==r&&r,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,h=n.padding,d=n.tether,f=void 0===d||d,p=n.tetherOffset,g=void 0===p?0:p,m=st(t,{boundary:l,rootBoundary:c,padding:h,altBoundary:u}),_=ve(t.placement),b=Re(t.placement),v=!b,y=Ie(_),w="x"===y?"y":"x",E=t.modifiersData.popperOffsets,A=t.rects.reference,x=t.rects.popper,T="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,O="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(E){if(o){var k,L="y"===y?V:Q,D="y"===y?q:B,$="y"===y?"height":"width",P=E[y],I=P+m[L],N=P-m[D],j=f?-x[$]/2:0,M=b===U?A[$]:x[$],F=b===U?-x[$]:-A[$],R=t.elements.arrow,H=f&&R?Oe(R):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=W[L],Y=W[D],K=Ne(0,A[$],H[$]),X=v?A[$]/2-j-K-z-O.mainAxis:M-K-z-O.mainAxis,J=v?-A[$]/2+j+K+Y+O.mainAxis:F+K+Y+O.mainAxis,Z=t.elements.arrow&&Pe(t.elements.arrow),G=Z?"y"===y?Z.clientTop||0:Z.clientLeft||0:0,ee=null!=(k=null==C?void 0:C[y])?k:0,te=P+J-ee,ne=Ne(f?we(I,P+X-ee-G):I,P,f?ye(N,te):N);E[y]=ne,S[y]=ne-P}if(a){var ie,se="x"===y?V:Q,oe="x"===y?q:B,re=E[w],ae="y"===w?"height":"width",le=re+m[se],ce=re-m[oe],ue=-1!==[V,Q].indexOf(_),he=null!=(ie=null==C?void 0:C[w])?ie:0,de=ue?le:re-A[ae]-x[ae]-he+O.altAxis,fe=ue?re+A[ae]+x[ae]-he-O.altAxis:ce,pe=f&&ue?function(e,t,n){var i=Ne(e,t,n);return i>n?n:i}(de,re,fe):Ne(f?de:le,re,f?fe:ce);E[w]=pe,S[w]=pe-re}t.modifiersData[i]=S}},requiresIfExists:["offset"]};function ft(e,t,n){void 0===n&&(n=!1);var i,s,o=me(t),r=me(t)&&function(e){var t=e.getBoundingClientRect(),n=Ee(t.width)/e.offsetWidth||1,i=Ee(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),a=Le(t),l=Te(e,r,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==fe(t)||Je(a))&&(c=(i=t)!==pe(i)&&me(i)?{scrollLeft:(s=i).scrollLeft,scrollTop:s.scrollTop}:Ue(i)),me(t)?((u=Te(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=Xe(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function pt(e){var t=new Map,n=new Set,i=[];function s(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var i=t.get(e);i&&s(i)}}),i.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||s(e)}),i}var gt={placement:"bottom",modifiers:[],strategy:"absolute"};function mt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function _t(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,s=t.defaultOptions,o=void 0===s?gt:s;return function(e,t,n){void 0===n&&(n=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},gt,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(n){var s="function"==typeof n?n(a.options):n;h(),a.options=Object.assign({},o,a.options,s),a.scrollParents={reference:ge(e)?Ge(e):e.contextElement?Ge(e.contextElement):[],popper:Ge(t)};var r,c,d=function(e){var t=pt(e);return de.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((r=[].concat(i,a.options.modifiers),c=r.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return a.orderedModifiers=d.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,s=e.effect;if("function"==typeof s){var o=s({state:a,name:t,instance:u,options:i}),r=function(){};l.push(o||r)}}),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(mt(t,n)){a.rects={reference:ft(t,Pe(n),"fixed"===a.options.strategy),popper:Oe(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var s=a.orderedModifiers[i],o=s.fn,r=s.options,l=void 0===r?{}:r,h=s.name;"function"==typeof o&&(a=o({state:a,options:l,name:h,instance:u})||a)}else a.reset=!1,i=-1}}},update:(s=function(){return new Promise(function(e){u.forceUpdate(),e(a)})},function(){return r||(r=new Promise(function(e){Promise.resolve().then(function(){r=void 0,e(s())})})),r}),destroy:function(){h(),c=!0}};if(!mt(e,t))return u;function h(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}var bt,vt=_t(),yt=_t({defaultModifiers:[qe,ht,ze,be]}),wt=_t({defaultModifiers:[qe,ht,ze,be,ut,rt,dt,Fe,ct]}),Et=n(Object.freeze({__proto__:null,afterMain:le,afterRead:oe,afterWrite:he,applyStyles:be,arrow:Fe,auto:Y,basePlacements:K,beforeMain:re,beforeRead:ie,beforeWrite:ce,bottom:q,clippingParents:J,computeStyles:ze,createPopper:wt,createPopperBase:vt,createPopperLite:yt,detectOverflow:st,end:X,eventListeners:qe,flip:rt,hide:ct,left:Q,main:ae,modifierPhases:de,offset:ut,placements:ne,popper:G,popperGenerator:_t,popperOffsets:ht,preventOverflow:dt,read:se,reference:ee,right:B,start:U,top:V,variationPlacements:te,viewport:Z,write:ue}));var At,xt=(bt||(bt=1,function(e){e.exports=function(e,t,n,i,s,o){function r(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const a=r(e),l="dropdown",c="bs.dropdown",u=`.${c}`,h=".data-api",d="Escape",f="Tab",p="ArrowUp",g="ArrowDown",m=2,_=`hide${u}`,b=`hidden${u}`,v=`show${u}`,y=`shown${u}`,w=`click${u}${h}`,E=`keydown${u}${h}`,A=`keyup${u}${h}`,x="show",T="dropup",O="dropend",C="dropstart",S="dropup-center",k="dropdown-center",L='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',D=`${L}.${x}`,$=".dropdown-menu",P=".navbar",I=".navbar-nav",N=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",j=o.isRTL()?"top-end":"top-start",M=o.isRTL()?"top-start":"top-end",F=o.isRTL()?"bottom-end":"bottom-start",R=o.isRTL()?"bottom-start":"bottom-end",H=o.isRTL()?"left-start":"right-start",W=o.isRTL()?"right-start":"left-start",z="top",V="bottom",q={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},B={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Q extends t{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=s.next(this._element,$)[0]||s.prev(this._element,$)[0]||s.findOne($,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return q}static get DefaultType(){return B}static get NAME(){return l}toggle(){return this._isShown()?this.hide():this.show()}show(){if(o.isDisabled(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!n.trigger(this._element,v,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(I))for(const e of[].concat(...document.body.children))n.on(e,"mouseover",o.noop);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(x),this._element.classList.add(x),n.trigger(this._element,y,e)}}hide(){if(o.isDisabled(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!n.trigger(this._element,_,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))n.off(e,"mouseover",o.noop);this._popper&&this._popper.destroy(),this._menu.classList.remove(x),this._element.classList.remove(x),this._element.setAttribute("aria-expanded","false"),i.removeDataAttribute(this._menu,"popper"),n.trigger(this._element,b,e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!o.isElement(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${l.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===a)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let e=this._element;"parent"===this._config.reference?e=this._parent:o.isElement(this._config.reference)?e=o.getElement(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=a.createPopper(e,this._menu,t)}_isShown(){return this._menu.classList.contains(x)}_getPlacement(){const e=this._parent;if(e.classList.contains(O))return H;if(e.classList.contains(C))return W;if(e.classList.contains(S))return z;if(e.classList.contains(k))return V;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains(T)?t?M:j:t?R:F}_detectNavbar(){return null!==this._element.closest(P)}_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}_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,...o.execute(this._config.popperConfig,[void 0,e])}}_selectMenuItem({key:e,target:t}){const n=s.find(N,this._menu).filter(e=>o.isVisible(e));n.length&&o.getNextActiveElement(n,t,e===g,!n.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=Q.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===m||"keyup"===e.type&&e.key!==f)return;const t=s.find(D);for(const n of t){const t=Q.getInstance(n);if(!t||!1===t._config.autoClose)continue;const i=e.composedPath(),s=i.includes(t._menu);if(i.includes(t._element)||"inside"===t._config.autoClose&&!s||"outside"===t._config.autoClose&&s)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&e.key===f||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const o={relatedTarget:t._element};"click"===e.type&&(o.clickEvent=e),t._completeHide(o)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n=e.key===d,i=[p,g].includes(e.key);if(!i&&!n)return;if(t&&!n)return;e.preventDefault();const o=this.matches(L)?this:s.prev(this,L)[0]||s.next(this,L)[0]||s.findOne(L,e.delegateTarget.parentNode),r=Q.getOrCreateInstance(o);if(i)return e.stopPropagation(),r.show(),void r._selectMenuItem(e);r._isShown()&&(e.stopPropagation(),r.hide(),o.focus())}}return n.on(document,E,L,Q.dataApiKeydownHandler),n.on(document,E,$,Q.dataApiKeydownHandler),n.on(document,w,Q.clearMenus),n.on(document,A,Q.clearMenus),n.on(document,w,L,function(e){e.preventDefault(),Q.getOrCreateInstance(this).toggle()}),o.defineJQueryPlugin(Q),Q}(Et,w(),f(),_(),T(),h())}(z)),z.exports),Tt=t(xt),Ot={exports:{}};var Ct,St=(At||(At=1,function(e){e.exports=function(e,t,n,i){const s="collapse",o="bs.collapse",r=`.${o}`,a=".data-api",l=`show${r}`,c=`shown${r}`,u=`hide${r}`,h=`hidden${r}`,d=`click${r}${a}`,f="show",p="collapse",g="collapsing",m="collapsed",_=`:scope .${p} .${p}`,b="collapse-horizontal",v="width",y="height",w=".collapse.show, .collapse.collapsing",E='[data-bs-toggle="collapse"]',A={parent:null,toggle:!0},x={parent:"(null|element)",toggle:"boolean"};class T extends e{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const i=n.find(E);for(const e of i){const t=n.getSelectorFromElement(e),i=n.find(t).filter(e=>e===this._element);null!==t&&i.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return A}static get DefaultType(){return x}static get NAME(){return s}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(w).filter(e=>e!==this._element).map(e=>T.getOrCreateInstance(e,{toggle:!1}))),e.length&&e[0]._isTransitioning)return;if(t.trigger(this._element,l).defaultPrevented)return;for(const t of e)t.hide();const n=this._getDimension();this._element.classList.remove(p),this._element.classList.add(g),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(g),this._element.classList.add(p,f),this._element.style[n]="",t.trigger(this._element,c)},s=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[n]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(t.trigger(this._element,u).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,i.reflow(this._element),this._element.classList.add(g),this._element.classList.remove(p,f);for(const e of this._triggerArray){const t=n.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(g),this._element.classList.add(p),t.trigger(this._element,h)};this._element.style[e]="",this._queueCallback(s,this._element,!0)}_isShown(e=this._element){return e.classList.contains(f)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=i.getElement(e.parent),e}_getDimension(){return this._element.classList.contains(b)?v:y}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(E);for(const t of e){const e=n.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=n.find(_,this._config.parent);return n.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle(m,!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=T.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}})}}return t.on(document,d,E,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of n.getMultipleElementsFromSelector(this))T.getOrCreateInstance(e,{toggle:!1}).toggle()}),i.defineJQueryPlugin(T),T}(w(),f(),T(),h())}(Ot)),Ot.exports),kt=t(St),Lt={exports:{}},Dt={exports:{}};function $t(){return Ct||(Ct=1,function(e){e.exports=function(e,t,n){const i="backdrop",s="fade",o="show",r=`mousedown.bs.${i}`,a={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},l={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class c extends t{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return a}static get DefaultType(){return l}static get NAME(){return i}show(e){if(!this._config.isVisible)return void n.execute(e);this._append();const t=this._getElement();this._config.isAnimated&&n.reflow(t),t.classList.add(o),this._emulateAnimation(()=>{n.execute(e)})}hide(e){this._config.isVisible?(this._getElement().classList.remove(o),this._emulateAnimation(()=>{this.dispose(),n.execute(e)})):n.execute(e)}dispose(){this._isAppended&&(e.off(this._element,r),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(s),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=n.getElement(e.rootElement),e}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),e.on(t,r,()=>{n.execute(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){n.executeAfterTransition(e,this._getElement(),this._config.isAnimated)}}return c}(f(),v(),h())}(Dt)),Dt.exports}var Pt,It={exports:{}};
|
|
35
|
+
*/var N;var j,M=(N||(N=1,function(e){e.exports=function(e,t,n,i,s,o){const r="carousel",a="bs.carousel",l=`.${a}`,c=".data-api",u="ArrowLeft",h="ArrowRight",d=500,f="next",p="prev",g="left",m="right",_=`slide${l}`,b=`slid${l}`,v=`keydown${l}`,y=`mouseenter${l}`,w=`mouseleave${l}`,E=`dragstart${l}`,A=`load${l}${c}`,x=`click${l}${c}`,T="carousel",O="active",C="slide",S="carousel-item-end",k="carousel-item-start",L="carousel-item-next",D="carousel-item-prev",P=".active",$=".carousel-item",I=P+$,N=".carousel-item img",j=".carousel-indicators",M="[data-bs-slide], [data-bs-slide-to]",F='[data-bs-ride="carousel"]',R={[u]:m,[h]:g},H={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},W={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class z extends e{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=i.findOne(j,this._element),this._addEventListeners(),this._config.ride===T&&this.cycle()}static get Default(){return H}static get DefaultType(){return W}static get NAME(){return r}next(){this._slide(f)}nextWhenVisible(){!document.hidden&&s.isVisible(this._element)&&this.next()}prev(){this._slide(p)}pause(){this._isSliding&&s.triggerTransitionEnd(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?t.one(this._element,b,()=>this.cycle()):this.cycle())}to(e){const n=this._getItems();if(e>n.length-1||e<0)return;if(this._isSliding)return void t.one(this._element,b,()=>this.to(e));const i=this._getItemIndex(this._getActive());if(i===e)return;const s=e>i?f:p;this._slide(s,n[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&t.on(this._element,v,e=>this._keydown(e)),"hover"===this._config.pause&&(t.on(this._element,y,()=>this.pause()),t.on(this._element,w,()=>this._maybeEnableCycle())),this._config.touch&&o.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of i.find(N,this._element))t.on(e,E,e=>e.preventDefault());const e={leftCallback:()=>this._slide(this._directionToOrder(g)),rightCallback:()=>this._slide(this._directionToOrder(m)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),d+this._config.interval))}};this._swipeHelper=new o(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=R[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=i.findOne(P,this._indicatorsElement);t.classList.remove(O),t.removeAttribute("aria-current");const n=i.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(O),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,n=null){if(this._isSliding)return;const i=this._getActive(),o=e===f,r=n||s.getNextActiveElement(this._getItems(),i,o,this._config.wrap);if(r===i)return;const a=this._getItemIndex(r),l=n=>t.trigger(this._element,n,{relatedTarget:r,direction:this._orderToDirection(e),from:this._getItemIndex(i),to:a});if(l(_).defaultPrevented)return;if(!i||!r)return;const c=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=r;const u=o?k:S,h=o?L:D;r.classList.add(h),s.reflow(r),i.classList.add(u),r.classList.add(u);const d=()=>{r.classList.remove(u,h),r.classList.add(O),i.classList.remove(O,h,u),this._isSliding=!1,l(b)};this._queueCallback(d,i,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(C)}_getActive(){return i.findOne(I,this._element)}_getItems(){return i.find($,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return s.isRTL()?e===g?p:f:e===g?f:p}_orderToDirection(e){return s.isRTL()?e===p?g:m:e===p?m:g}static jQueryInterface(e){return this.each(function(){const t=z.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 "${e}"`);t[e]()}}else t.to(e)})}}return t.on(document,x,M,function(e){const t=i.getElementFromSelector(this);if(!t||!t.classList.contains(T))return;e.preventDefault();const s=z.getOrCreateInstance(t),o=this.getAttribute("data-bs-slide-to");return o?(s.to(o),void s._maybeEnableCycle()):"next"===n.getDataAttribute(this,"slide")?(s.next(),void s._maybeEnableCycle()):(s.prev(),void s._maybeEnableCycle())}),t.on(window,A,()=>{const e=i.find(F);for(const t of e)z.getOrCreateInstance(t)}),s.defineJQueryPlugin(z),z}(w(),f(),_(),T(),h(),I())}(P)),P.exports),F=t(M),R={exports:{}};var H=(j||(j=1,function(e){e.exports=function(e,t,n){const i="button",s="bs.button",o=`.${s}`,r=".data-api",a="active",l='[data-bs-toggle="button"]',c=`click${o}${r}`;class u extends e{static get NAME(){return i}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(a))}static jQueryInterface(e){return this.each(function(){const t=u.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}return t.on(document,c,l,e=>{e.preventDefault();const t=e.target.closest(l);u.getOrCreateInstance(t).toggle()}),n.defineJQueryPlugin(u),u}(w(),f(),h())}(R)),R.exports),W=t(H),z={exports:{}},V="top",q="bottom",B="right",Q="left",Y="auto",K=[V,q,B,Q],U="start",X="end",J="clippingParents",Z="viewport",G="popper",ee="reference",te=K.reduce(function(e,t){return e.concat([t+"-"+U,t+"-"+X])},[]),ne=[].concat(K,[Y]).reduce(function(e,t){return e.concat([t,t+"-"+U,t+"-"+X])},[]),ie="beforeRead",se="read",oe="afterRead",re="beforeMain",ae="main",le="afterMain",ce="beforeWrite",ue="write",he="afterWrite",de=[ie,se,oe,re,ae,le,ce,ue,he];function fe(e){return e?(e.nodeName||"").toLowerCase():null}function pe(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ge(e){return e instanceof pe(e).Element||e instanceof Element}function me(e){return e instanceof pe(e).HTMLElement||e instanceof HTMLElement}function _e(e){return"undefined"!=typeof ShadowRoot&&(e instanceof pe(e).ShadowRoot||e instanceof ShadowRoot)}var be={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]||{},s=t.elements[e];me(s)&&fe(s)&&(Object.assign(s.style,n),Object.keys(i).forEach(function(e){var t=i[e];!1===t?s.removeAttribute(e):s.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],s=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});me(i)&&fe(i)&&(Object.assign(i.style,o),Object.keys(s).forEach(function(e){i.removeAttribute(e)}))})}},requires:["computeStyles"]};function ve(e){return e.split("-")[0]}var ye=Math.max,we=Math.min,Ee=Math.round;function Ae(){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 xe(){return!/^((?!chrome|android).)*safari/i.test(Ae())}function Te(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),s=1,o=1;t&&me(e)&&(s=e.offsetWidth>0&&Ee(i.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Ee(i.height)/e.offsetHeight||1);var r=(ge(e)?pe(e):window).visualViewport,a=!xe()&&n,l=(i.left+(a&&r?r.offsetLeft:0))/s,c=(i.top+(a&&r?r.offsetTop:0))/o,u=i.width/s,h=i.height/o;return{width:u,height:h,top:c,right:l+u,bottom:c+h,left:l,x:l,y:c}}function Oe(e){var t=Te(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 Ce(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&_e(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Se(e){return pe(e).getComputedStyle(e)}function ke(e){return["table","td","th"].indexOf(fe(e))>=0}function Le(e){return((ge(e)?e.ownerDocument:e.document)||window.document).documentElement}function De(e){return"html"===fe(e)?e:e.assignedSlot||e.parentNode||(_e(e)?e.host:null)||Le(e)}function Pe(e){return me(e)&&"fixed"!==Se(e).position?e.offsetParent:null}function $e(e){for(var t=pe(e),n=Pe(e);n&&ke(n)&&"static"===Se(n).position;)n=Pe(n);return n&&("html"===fe(n)||"body"===fe(n)&&"static"===Se(n).position)?t:n||function(e){var t=/firefox/i.test(Ae());if(/Trident/i.test(Ae())&&me(e)&&"fixed"===Se(e).position)return null;var n=De(e);for(_e(n)&&(n=n.host);me(n)&&["html","body"].indexOf(fe(n))<0;){var i=Se(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 Ie(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ne(e,t,n){return ye(e,we(t,n))}function je(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Me(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var Fe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,s=e.options,o=n.elements.arrow,r=n.modifiersData.popperOffsets,a=ve(n.placement),l=Ie(a),c=[Q,B].indexOf(a)>=0?"height":"width";if(o&&r){var u=function(e,t){return je("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Me(e,K))}(s.padding,n),h=Oe(o),d="y"===l?V:Q,f="y"===l?q:B,p=n.rects.reference[c]+n.rects.reference[l]-r[l]-n.rects.popper[c],g=r[l]-n.rects.reference[l],m=$e(o),_=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,b=p/2-g/2,v=u[d],y=_-h[c]-u[f],w=_/2-h[c]/2+b,E=Ne(v,w,y),A=l;n.modifiersData[i]=((t={})[A]=E,t.centerOffset=E-w,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)))&&Ce(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Re(e){return e.split("-")[1]}var He={top:"auto",right:"auto",bottom:"auto",left:"auto"};function We(e){var t,n=e.popper,i=e.popperRect,s=e.placement,o=e.variation,r=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,h=e.isFixed,d=r.x,f=void 0===d?0:d,p=r.y,g=void 0===p?0:p,m="function"==typeof u?u({x:f,y:g}):{x:f,y:g};f=m.x,g=m.y;var _=r.hasOwnProperty("x"),b=r.hasOwnProperty("y"),v=Q,y=V,w=window;if(c){var E=$e(n),A="clientHeight",x="clientWidth";if(E===pe(n)&&"static"!==Se(E=Le(n)).position&&"absolute"===a&&(A="scrollHeight",x="scrollWidth"),s===V||(s===Q||s===B)&&o===X)y=q,g-=(h&&E===w&&w.visualViewport?w.visualViewport.height:E[A])-i.height,g*=l?1:-1;if(s===Q||(s===V||s===q)&&o===X)v=B,f-=(h&&E===w&&w.visualViewport?w.visualViewport.width:E[x])-i.width,f*=l?1:-1}var T,O=Object.assign({position:a},c&&He),C=!0===u?function(e,t){var n=e.x,i=e.y,s=t.devicePixelRatio||1;return{x:Ee(n*s)/s||0,y:Ee(i*s)/s||0}}({x:f,y:g},pe(n)):{x:f,y:g};return f=C.x,g=C.y,l?Object.assign({},O,((T={})[y]=b?"0":"",T[v]=_?"0":"",T.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",T)):Object.assign({},O,((t={})[y]=b?g+"px":"",t[v]=_?f+"px":"",t.transform="",t))}var ze={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,s=void 0===i||i,o=n.adaptive,r=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c={placement:ve(t.placement),variation:Re(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,We(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,We(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:{}},Ve={passive:!0};var qe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,s=i.scroll,o=void 0===s||s,r=i.resize,a=void 0===r||r,l=pe(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(e){e.addEventListener("scroll",n.update,Ve)}),a&&l.addEventListener("resize",n.update,Ve),function(){o&&c.forEach(function(e){e.removeEventListener("scroll",n.update,Ve)}),a&&l.removeEventListener("resize",n.update,Ve)}},data:{}},Be={left:"right",right:"left",bottom:"top",top:"bottom"};function Qe(e){return e.replace(/left|right|bottom|top/g,function(e){return Be[e]})}var Ye={start:"end",end:"start"};function Ke(e){return e.replace(/start|end/g,function(e){return Ye[e]})}function Ue(e){var t=pe(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Xe(e){return Te(Le(e)).left+Ue(e).scrollLeft}function Je(e){var t=Se(e),n=t.overflow,i=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function Ze(e){return["html","body","#document"].indexOf(fe(e))>=0?e.ownerDocument.body:me(e)&&Je(e)?e:Ze(De(e))}function Ge(e,t){var n;void 0===t&&(t=[]);var i=Ze(e),s=i===(null==(n=e.ownerDocument)?void 0:n.body),o=pe(i),r=s?[o].concat(o.visualViewport||[],Je(i)?i:[]):i,a=t.concat(r);return s?a:a.concat(Ge(De(r)))}function et(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function tt(e,t,n){return t===Z?et(function(e,t){var n=pe(e),i=Le(e),s=n.visualViewport,o=i.clientWidth,r=i.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=xe();(c||!c&&"fixed"===t)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+Xe(e),y:l}}(e,n)):ge(t)?function(e,t){var n=Te(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):et(function(e){var t,n=Le(e),i=Ue(e),s=null==(t=e.ownerDocument)?void 0:t.body,o=ye(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=ye(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-i.scrollLeft+Xe(e),l=-i.scrollTop;return"rtl"===Se(s||n).direction&&(a+=ye(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(Le(e)))}function nt(e,t,n,i){var s="clippingParents"===t?function(e){var t=Ge(De(e)),n=["absolute","fixed"].indexOf(Se(e).position)>=0&&me(e)?$e(e):e;return ge(n)?t.filter(function(e){return ge(e)&&Ce(e,n)&&"body"!==fe(e)}):[]}(e):[].concat(t),o=[].concat(s,[n]),r=o[0],a=o.reduce(function(t,n){var s=tt(e,n,i);return t.top=ye(s.top,t.top),t.right=we(s.right,t.right),t.bottom=we(s.bottom,t.bottom),t.left=ye(s.left,t.left),t},tt(e,r,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function it(e){var t,n=e.reference,i=e.element,s=e.placement,o=s?ve(s):null,r=s?Re(s):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case V:t={x:a,y:n.y-i.height};break;case q:t={x:a,y:n.y+n.height};break;case B:t={x:n.x+n.width,y:l};break;case Q:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?Ie(o):null;if(null!=c){var u="y"===c?"height":"width";switch(r){case U:t[c]=t[c]-(n[u]/2-i[u]/2);break;case X:t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}function st(e,t){void 0===t&&(t={});var n=t,i=n.placement,s=void 0===i?e.placement:i,o=n.strategy,r=void 0===o?e.strategy:o,a=n.boundary,l=void 0===a?J:a,c=n.rootBoundary,u=void 0===c?Z:c,h=n.elementContext,d=void 0===h?G:h,f=n.altBoundary,p=void 0!==f&&f,g=n.padding,m=void 0===g?0:g,_=je("number"!=typeof m?m:Me(m,K)),b=d===G?ee:G,v=e.rects.popper,y=e.elements[p?b:d],w=nt(ge(y)?y:y.contextElement||Le(e.elements.popper),l,u,r),E=Te(e.elements.reference),A=it({reference:E,element:v,placement:s}),x=et(Object.assign({},v,A)),T=d===G?x:E,O={top:w.top-T.top+_.top,bottom:T.bottom-w.bottom+_.bottom,left:w.left-T.left+_.left,right:T.right-w.right+_.right},C=e.modifiersData.offset;if(d===G&&C){var S=C[s];Object.keys(O).forEach(function(e){var t=[B,q].indexOf(e)>=0?1:-1,n=[V,q].indexOf(e)>=0?"y":"x";O[e]+=S[n]*t})}return O}function ot(e,t){void 0===t&&(t={});var n=t,i=n.placement,s=n.boundary,o=n.rootBoundary,r=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?ne:l,u=Re(i),h=u?a?te:te.filter(function(e){return Re(e)===u}):K,d=h.filter(function(e){return c.indexOf(e)>=0});0===d.length&&(d=h);var f=d.reduce(function(t,n){return t[n]=st(e,{placement:n,boundary:s,rootBoundary:o,padding:r})[ve(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}var rt={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 s=n.mainAxis,o=void 0===s||s,r=n.altAxis,a=void 0===r||r,l=n.fallbackPlacements,c=n.padding,u=n.boundary,h=n.rootBoundary,d=n.altBoundary,f=n.flipVariations,p=void 0===f||f,g=n.allowedAutoPlacements,m=t.options.placement,_=ve(m),b=l||(_===m||!p?[Qe(m)]:function(e){if(ve(e)===Y)return[];var t=Qe(e);return[Ke(e),t,Ke(t)]}(m)),v=[m].concat(b).reduce(function(e,n){return e.concat(ve(n)===Y?ot(t,{placement:n,boundary:u,rootBoundary:h,padding:c,flipVariations:p,allowedAutoPlacements:g}):n)},[]),y=t.rects.reference,w=t.rects.popper,E=new Map,A=!0,x=v[0],T=0;T<v.length;T++){var O=v[T],C=ve(O),S=Re(O)===U,k=[V,q].indexOf(C)>=0,L=k?"width":"height",D=st(t,{placement:O,boundary:u,rootBoundary:h,altBoundary:d,padding:c}),P=k?S?B:Q:S?q:V;y[L]>w[L]&&(P=Qe(P));var $=Qe(P),I=[];if(o&&I.push(D[C]<=0),a&&I.push(D[P]<=0,D[$]<=0),I.every(function(e){return e})){x=O,A=!1;break}E.set(O,I)}if(A)for(var N=function(e){var t=v.find(function(t){var n=E.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return x=t,"break"},j=p?3:1;j>0;j--){if("break"===N(j))break}t.placement!==x&&(t.modifiersData[i]._skip=!0,t.placement=x,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function at(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 lt(e){return[V,B,q,Q].some(function(t){return e[t]>=0})}var ct={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,r=st(t,{elementContext:"reference"}),a=st(t,{altBoundary:!0}),l=at(r,i),c=at(a,s,o),u=lt(l),h=lt(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}};var ut={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,s=n.offset,o=void 0===s?[0,0]:s,r=ne.reduce(function(e,n){return e[n]=function(e,t,n){var i=ve(e),s=[Q,V].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[Q,B].indexOf(i)>=0?{x:a,y:r}:{x:r,y:a}}(n,t.rects,o),e},{}),a=r[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=r}};var ht={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=it({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}};var dt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,s=n.mainAxis,o=void 0===s||s,r=n.altAxis,a=void 0!==r&&r,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,h=n.padding,d=n.tether,f=void 0===d||d,p=n.tetherOffset,g=void 0===p?0:p,m=st(t,{boundary:l,rootBoundary:c,padding:h,altBoundary:u}),_=ve(t.placement),b=Re(t.placement),v=!b,y=Ie(_),w="x"===y?"y":"x",E=t.modifiersData.popperOffsets,A=t.rects.reference,x=t.rects.popper,T="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,O="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(E){if(o){var k,L="y"===y?V:Q,D="y"===y?q:B,P="y"===y?"height":"width",$=E[y],I=$+m[L],N=$-m[D],j=f?-x[P]/2:0,M=b===U?A[P]:x[P],F=b===U?-x[P]:-A[P],R=t.elements.arrow,H=f&&R?Oe(R):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=W[L],Y=W[D],K=Ne(0,A[P],H[P]),X=v?A[P]/2-j-K-z-O.mainAxis:M-K-z-O.mainAxis,J=v?-A[P]/2+j+K+Y+O.mainAxis:F+K+Y+O.mainAxis,Z=t.elements.arrow&&$e(t.elements.arrow),G=Z?"y"===y?Z.clientTop||0:Z.clientLeft||0:0,ee=null!=(k=null==C?void 0:C[y])?k:0,te=$+J-ee,ne=Ne(f?we(I,$+X-ee-G):I,$,f?ye(N,te):N);E[y]=ne,S[y]=ne-$}if(a){var ie,se="x"===y?V:Q,oe="x"===y?q:B,re=E[w],ae="y"===w?"height":"width",le=re+m[se],ce=re-m[oe],ue=-1!==[V,Q].indexOf(_),he=null!=(ie=null==C?void 0:C[w])?ie:0,de=ue?le:re-A[ae]-x[ae]-he+O.altAxis,fe=ue?re+A[ae]+x[ae]-he-O.altAxis:ce,pe=f&&ue?function(e,t,n){var i=Ne(e,t,n);return i>n?n:i}(de,re,fe):Ne(f?de:le,re,f?fe:ce);E[w]=pe,S[w]=pe-re}t.modifiersData[i]=S}},requiresIfExists:["offset"]};function ft(e,t,n){void 0===n&&(n=!1);var i,s,o=me(t),r=me(t)&&function(e){var t=e.getBoundingClientRect(),n=Ee(t.width)/e.offsetWidth||1,i=Ee(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),a=Le(t),l=Te(e,r,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==fe(t)||Je(a))&&(c=(i=t)!==pe(i)&&me(i)?{scrollLeft:(s=i).scrollLeft,scrollTop:s.scrollTop}:Ue(i)),me(t)?((u=Te(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=Xe(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function pt(e){var t=new Map,n=new Set,i=[];function s(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var i=t.get(e);i&&s(i)}}),i.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||s(e)}),i}var gt={placement:"bottom",modifiers:[],strategy:"absolute"};function mt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function _t(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,s=t.defaultOptions,o=void 0===s?gt:s;return function(e,t,n){void 0===n&&(n=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},gt,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(n){var s="function"==typeof n?n(a.options):n;h(),a.options=Object.assign({},o,a.options,s),a.scrollParents={reference:ge(e)?Ge(e):e.contextElement?Ge(e.contextElement):[],popper:Ge(t)};var r,c,d=function(e){var t=pt(e);return de.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((r=[].concat(i,a.options.modifiers),c=r.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return a.orderedModifiers=d.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,s=e.effect;if("function"==typeof s){var o=s({state:a,name:t,instance:u,options:i}),r=function(){};l.push(o||r)}}),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(mt(t,n)){a.rects={reference:ft(t,$e(n),"fixed"===a.options.strategy),popper:Oe(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var s=a.orderedModifiers[i],o=s.fn,r=s.options,l=void 0===r?{}:r,h=s.name;"function"==typeof o&&(a=o({state:a,options:l,name:h,instance:u})||a)}else a.reset=!1,i=-1}}},update:(s=function(){return new Promise(function(e){u.forceUpdate(),e(a)})},function(){return r||(r=new Promise(function(e){Promise.resolve().then(function(){r=void 0,e(s())})})),r}),destroy:function(){h(),c=!0}};if(!mt(e,t))return u;function h(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}var bt,vt=_t(),yt=_t({defaultModifiers:[qe,ht,ze,be]}),wt=_t({defaultModifiers:[qe,ht,ze,be,ut,rt,dt,Fe,ct]}),Et=n(Object.freeze({__proto__:null,afterMain:le,afterRead:oe,afterWrite:he,applyStyles:be,arrow:Fe,auto:Y,basePlacements:K,beforeMain:re,beforeRead:ie,beforeWrite:ce,bottom:q,clippingParents:J,computeStyles:ze,createPopper:wt,createPopperBase:vt,createPopperLite:yt,detectOverflow:st,end:X,eventListeners:qe,flip:rt,hide:ct,left:Q,main:ae,modifierPhases:de,offset:ut,placements:ne,popper:G,popperGenerator:_t,popperOffsets:ht,preventOverflow:dt,read:se,reference:ee,right:B,start:U,top:V,variationPlacements:te,viewport:Z,write:ue}));var At,xt=(bt||(bt=1,function(e){e.exports=function(e,t,n,i,s,o){function r(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const a=r(e),l="dropdown",c="bs.dropdown",u=`.${c}`,h=".data-api",d="Escape",f="Tab",p="ArrowUp",g="ArrowDown",m=2,_=`hide${u}`,b=`hidden${u}`,v=`show${u}`,y=`shown${u}`,w=`click${u}${h}`,E=`keydown${u}${h}`,A=`keyup${u}${h}`,x="show",T="dropup",O="dropend",C="dropstart",S="dropup-center",k="dropdown-center",L='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',D=`${L}.${x}`,P=".dropdown-menu",$=".navbar",I=".navbar-nav",N=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",j=o.isRTL()?"top-end":"top-start",M=o.isRTL()?"top-start":"top-end",F=o.isRTL()?"bottom-end":"bottom-start",R=o.isRTL()?"bottom-start":"bottom-end",H=o.isRTL()?"left-start":"right-start",W=o.isRTL()?"right-start":"left-start",z="top",V="bottom",q={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},B={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Q extends t{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=s.next(this._element,P)[0]||s.prev(this._element,P)[0]||s.findOne(P,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return q}static get DefaultType(){return B}static get NAME(){return l}toggle(){return this._isShown()?this.hide():this.show()}show(){if(o.isDisabled(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!n.trigger(this._element,v,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(I))for(const e of[].concat(...document.body.children))n.on(e,"mouseover",o.noop);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(x),this._element.classList.add(x),n.trigger(this._element,y,e)}}hide(){if(o.isDisabled(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!n.trigger(this._element,_,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))n.off(e,"mouseover",o.noop);this._popper&&this._popper.destroy(),this._menu.classList.remove(x),this._element.classList.remove(x),this._element.setAttribute("aria-expanded","false"),i.removeDataAttribute(this._menu,"popper"),n.trigger(this._element,b,e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!o.isElement(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${l.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===a)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let e=this._element;"parent"===this._config.reference?e=this._parent:o.isElement(this._config.reference)?e=o.getElement(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=a.createPopper(e,this._menu,t)}_isShown(){return this._menu.classList.contains(x)}_getPlacement(){const e=this._parent;if(e.classList.contains(O))return H;if(e.classList.contains(C))return W;if(e.classList.contains(S))return z;if(e.classList.contains(k))return V;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains(T)?t?M:j:t?R:F}_detectNavbar(){return null!==this._element.closest($)}_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}_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,...o.execute(this._config.popperConfig,[void 0,e])}}_selectMenuItem({key:e,target:t}){const n=s.find(N,this._menu).filter(e=>o.isVisible(e));n.length&&o.getNextActiveElement(n,t,e===g,!n.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=Q.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===m||"keyup"===e.type&&e.key!==f)return;const t=s.find(D);for(const n of t){const t=Q.getInstance(n);if(!t||!1===t._config.autoClose)continue;const i=e.composedPath(),s=i.includes(t._menu);if(i.includes(t._element)||"inside"===t._config.autoClose&&!s||"outside"===t._config.autoClose&&s)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&e.key===f||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const o={relatedTarget:t._element};"click"===e.type&&(o.clickEvent=e),t._completeHide(o)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n=e.key===d,i=[p,g].includes(e.key);if(!i&&!n)return;if(t&&!n)return;e.preventDefault();const o=this.matches(L)?this:s.prev(this,L)[0]||s.next(this,L)[0]||s.findOne(L,e.delegateTarget.parentNode),r=Q.getOrCreateInstance(o);if(i)return e.stopPropagation(),r.show(),void r._selectMenuItem(e);r._isShown()&&(e.stopPropagation(),r.hide(),o.focus())}}return n.on(document,E,L,Q.dataApiKeydownHandler),n.on(document,E,P,Q.dataApiKeydownHandler),n.on(document,w,Q.clearMenus),n.on(document,A,Q.clearMenus),n.on(document,w,L,function(e){e.preventDefault(),Q.getOrCreateInstance(this).toggle()}),o.defineJQueryPlugin(Q),Q}(Et,w(),f(),_(),T(),h())}(z)),z.exports),Tt=t(xt),Ot={exports:{}};var Ct,St=(At||(At=1,function(e){e.exports=function(e,t,n,i){const s="collapse",o="bs.collapse",r=`.${o}`,a=".data-api",l=`show${r}`,c=`shown${r}`,u=`hide${r}`,h=`hidden${r}`,d=`click${r}${a}`,f="show",p="collapse",g="collapsing",m="collapsed",_=`:scope .${p} .${p}`,b="collapse-horizontal",v="width",y="height",w=".collapse.show, .collapse.collapsing",E='[data-bs-toggle="collapse"]',A={parent:null,toggle:!0},x={parent:"(null|element)",toggle:"boolean"};class T extends e{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const i=n.find(E);for(const e of i){const t=n.getSelectorFromElement(e),i=n.find(t).filter(e=>e===this._element);null!==t&&i.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return A}static get DefaultType(){return x}static get NAME(){return s}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(w).filter(e=>e!==this._element).map(e=>T.getOrCreateInstance(e,{toggle:!1}))),e.length&&e[0]._isTransitioning)return;if(t.trigger(this._element,l).defaultPrevented)return;for(const t of e)t.hide();const n=this._getDimension();this._element.classList.remove(p),this._element.classList.add(g),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(g),this._element.classList.add(p,f),this._element.style[n]="",t.trigger(this._element,c)},s=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[n]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(t.trigger(this._element,u).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,i.reflow(this._element),this._element.classList.add(g),this._element.classList.remove(p,f);for(const e of this._triggerArray){const t=n.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(g),this._element.classList.add(p),t.trigger(this._element,h)};this._element.style[e]="",this._queueCallback(s,this._element,!0)}_isShown(e=this._element){return e.classList.contains(f)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=i.getElement(e.parent),e}_getDimension(){return this._element.classList.contains(b)?v:y}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(E);for(const t of e){const e=n.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=n.find(_,this._config.parent);return n.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle(m,!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=T.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}})}}return t.on(document,d,E,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of n.getMultipleElementsFromSelector(this))T.getOrCreateInstance(e,{toggle:!1}).toggle()}),i.defineJQueryPlugin(T),T}(w(),f(),T(),h())}(Ot)),Ot.exports),kt=t(St),Lt={exports:{}},Dt={exports:{}};function Pt(){return Ct||(Ct=1,function(e){e.exports=function(e,t,n){const i="backdrop",s="fade",o="show",r=`mousedown.bs.${i}`,a={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},l={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class c extends t{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return a}static get DefaultType(){return l}static get NAME(){return i}show(e){if(!this._config.isVisible)return void n.execute(e);this._append();const t=this._getElement();this._config.isAnimated&&n.reflow(t),t.classList.add(o),this._emulateAnimation(()=>{n.execute(e)})}hide(e){this._config.isVisible?(this._getElement().classList.remove(o),this._emulateAnimation(()=>{this.dispose(),n.execute(e)})):n.execute(e)}dispose(){this._isAppended&&(e.off(this._element,r),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(s),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=n.getElement(e.rootElement),e}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),e.on(t,r,()=>{n.execute(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){n.executeAfterTransition(e,this._getElement(),this._config.isAnimated)}}return c}(f(),v(),h())}(Dt)),Dt.exports}var $t,It={exports:{}};
|
|
36
36
|
/*!
|
|
37
37
|
* Bootstrap focustrap.js v5.3.8 (https://getbootstrap.com/)
|
|
38
38
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
39
39
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
40
|
-
*/function Nt(){return
|
|
40
|
+
*/function Nt(){return $t||($t=1,function(e){e.exports=function(e,t,n){const i="focustrap",s="bs.focustrap",o=`.${s}`,r=`focusin${o}`,a=`keydown.tab${o}`,l="Tab",c="forward",u="backward",h={autofocus:!0,trapElement:null},d={autofocus:"boolean",trapElement:"element"};class f extends n{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return h}static get DefaultType(){return d}static get NAME(){return i}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),e.off(document,o),e.on(document,r,e=>this._handleFocusin(e)),e.on(document,a,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,e.off(document,o))}_handleFocusin(e){const{trapElement:n}=this._config;if(e.target===document||e.target===n||n.contains(e.target))return;const i=t.focusableChildren(n);0===i.length?n.focus():this._lastTabNavDirection===u?i[i.length-1].focus():i[0].focus()}_handleKeydown(e){e.key===l&&(this._lastTabNavDirection=e.shiftKey?u:c)}}return f}(f(),T(),v())}(It)),It.exports}var jt,Mt={exports:{}};
|
|
41
41
|
/*!
|
|
42
42
|
* Bootstrap scrollbar.js v5.3.8 (https://getbootstrap.com/)
|
|
43
43
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
* Bootstrap offcanvas.js v5.3.8 (https://getbootstrap.com/)
|
|
48
48
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
49
49
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
50
|
-
*/var Rt;var Ht,Wt=(Rt||(Rt=1,function(e){e.exports=function(e,t,n,i,s,o,r,a){const l="offcanvas",c="bs.offcanvas",u=`.${c}`,h=".data-api",d=`load${u}${h}`,f="Escape",p="show",g="showing",m="hiding",_="offcanvas-backdrop",b=".offcanvas.show",v=`show${u}`,y=`shown${u}`,w=`hide${u}`,E=`hidePrevented${u}`,A=`hidden${u}`,x=`resize${u}`,T=`click${u}${h}`,O=`keydown.dismiss${u}`,C='[data-bs-toggle="offcanvas"]',S={backdrop:!0,keyboard:!0,scroll:!1},k={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class L extends e{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return S}static get DefaultType(){return k}static get NAME(){return l}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown)return;if(t.trigger(this._element,v,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new a).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(g);const n=()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(p),this._element.classList.remove(g),t.trigger(this._element,y,{relatedTarget:e})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown)return;if(t.trigger(this._element,w).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(m),this._backdrop.hide();const e=()=>{this._element.classList.remove(p,m),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new a).reset(),t.trigger(this._element,A)};this._queueCallback(e,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{"static"!==this._config.backdrop?this.hide():t.trigger(this._element,E)},n=Boolean(this._config.backdrop);return new i({className:_,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?e:null})}_initializeFocusTrap(){return new o({trapElement:this._element})}_addEventListeners(){t.on(this._element,O,e=>{e.key===f&&(this._config.keyboard?this.hide():t.trigger(this._element,E))})}static jQueryInterface(e){return this.each(function(){const t=L.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return t.on(document,T,C,function(e){const i=n.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),r.isDisabled(this))return;t.one(i,A,()=>{r.isVisible(this)&&this.focus()});const s=n.findOne(b);s&&s!==i&&L.getInstance(s).hide(),L.getOrCreateInstance(i).toggle(this)}),t.on(window,d,()=>{for(const e of n.find(b))L.getOrCreateInstance(e).show()}),t.on(window,x,()=>{for(const e of n.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&L.getOrCreateInstance(e).hide()}),s.enableDismissTrigger(L),r.defineJQueryPlugin(L),L}(w(),f(),T(),$t(),C(),Nt(),h(),Ft())}(Lt)),Lt.exports),zt=t(Wt),Vt={exports:{}};var qt,Bt=(Ht||(Ht=1,function(e){e.exports=function(e,t,n,i,s,o,r,a){const l="modal",c="bs.modal",u=`.${c}`,h=".data-api",d="Escape",f=`hide${u}`,p=`hidePrevented${u}`,g=`hidden${u}`,m=`show${u}`,_=`shown${u}`,b=`resize${u}`,v=`click.dismiss${u}`,y=`mousedown.dismiss${u}`,w=`keydown.dismiss${u}`,E=`click${u}${h}`,A="modal-open",x="fade",T="show",O="modal-static",C=".modal.show",S=".modal-dialog",k=".modal-body",L='[data-bs-toggle="modal"]',D={backdrop:!0,focus:!0,keyboard:!0},$={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class P extends e{constructor(e,t){super(e,t),this._dialog=n.findOne(S,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new a,this._addEventListeners()}static get Default(){return D}static get DefaultType(){return $}static get NAME(){return l}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||t.trigger(this._element,m,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(A),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){this._isShown&&!this._isTransitioning&&(t.trigger(this._element,f).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(T),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){t.off(window,u),t.off(this._dialog,u),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new i({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new o({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 i=n.findOne(k,this._dialog);i&&(i.scrollTop=0),r.reflow(this._element),this._element.classList.add(T);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,t.trigger(this._element,_,{relatedTarget:e})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){t.on(this._element,w,e=>{e.key===d&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),t.on(window,b,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),t.on(this._element,y,e=>{t.one(this._element,v,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(A),this._resetAdjustments(),this._scrollBar.reset(),t.trigger(this._element,g)})}_isAnimated(){return this._element.classList.contains(x)}_triggerBackdropTransition(){if(t.trigger(this._element,p).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;"hidden"===n||this._element.classList.contains(O)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(O),this._queueCallback(()=>{this._element.classList.remove(O),this._queueCallback(()=>{this._element.style.overflowY=n},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=r.isRTL()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!n&&e){const e=r.isRTL()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const n=P.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}})}}return t.on(document,E,L,function(e){const i=n.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),t.one(i,m,e=>{e.defaultPrevented||t.one(i,g,()=>{r.isVisible(this)&&this.focus()})});const s=n.findOne(C);s&&P.getInstance(s).hide(),P.getOrCreateInstance(i).toggle(this)}),s.enableDismissTrigger(P),r.defineJQueryPlugin(P),P}(w(),f(),T(),$t(),C(),Nt(),h(),Ft())}(Vt)),Vt.exports),Qt=t(Bt),Yt={exports:{}};var Kt,Ut=(qt||(qt=1,function(e){e.exports=function(e,t,n,i){const s="scrollspy",o="bs.scrollspy",r=`.${o}`,a=".data-api",l=`activate${r}`,c=`click${r}`,u=`load${r}${a}`,h="dropdown-item",d="active",f='[data-bs-spy="scroll"]',p="[href]",g=".nav, .list-group",m=".nav-link",_=`${m}, .nav-item > ${m}, .list-group-item`,b=".dropdown",v=".dropdown-toggle",y={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},w={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class E extends e{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 y}static get DefaultType(){return w}static get NAME(){return s}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=i.getElement(e.target)||document.body,e.rootMargin=e.offset?`${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&&(t.off(this._config.target,c),t.on(this._config.target,c,p,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(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},i=(this._rootElement||document.documentElement).scrollTop,s=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(o));continue}const e=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&e){if(n(o),!i)return}else s||e||n(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=n.find(p,this._config.target);for(const t of e){if(!t.hash||i.isDisabled(t))continue;const e=n.findOne(decodeURI(t.hash),this._element);i.isVisible(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(d),this._activateParents(e),t.trigger(this._element,l,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(h))n.findOne(v,e.closest(b)).classList.add(d);else for(const t of n.parents(e,g))for(const e of n.prev(t,_))e.classList.add(d)}_clearActiveClass(e){e.classList.remove(d);const t=n.find(`${p}.${d}`,e);for(const e of t)e.classList.remove(d)}static jQueryInterface(e){return this.each(function(){const t=E.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}return t.on(window,u,()=>{for(const e of n.find(f))E.getOrCreateInstance(e)}),i.defineJQueryPlugin(E),E}(w(),f(),T(),h())}(Yt)),Yt.exports),Xt=t(Ut),Jt={exports:{}},Zt={exports:{}},Gt={exports:{}};function en(){return Kt||(Kt=1,function(e,t){!function(e){const t={"*":["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:[]},n=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),i=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,s=(e,t)=>{const s=e.nodeName.toLowerCase();return t.includes(s)?!n.has(s)||Boolean(i.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(s))};function o(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"),o=[].concat(...i.body.querySelectorAll("*"));for(const e of o){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const i=[].concat(...e.attributes),o=[].concat(t["*"]||[],t[n]||[]);for(const t of i)s(t,o)||e.removeAttribute(t.nodeName)}return i.body.innerHTML}e.DefaultAllowlist=t,e.sanitizeHtml=o,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}(t)}(0,Gt.exports)),Gt.exports}var tn,nn={exports:{}};
|
|
50
|
+
*/var Rt;var Ht,Wt=(Rt||(Rt=1,function(e){e.exports=function(e,t,n,i,s,o,r,a){const l="offcanvas",c="bs.offcanvas",u=`.${c}`,h=".data-api",d=`load${u}${h}`,f="Escape",p="show",g="showing",m="hiding",_="offcanvas-backdrop",b=".offcanvas.show",v=`show${u}`,y=`shown${u}`,w=`hide${u}`,E=`hidePrevented${u}`,A=`hidden${u}`,x=`resize${u}`,T=`click${u}${h}`,O=`keydown.dismiss${u}`,C='[data-bs-toggle="offcanvas"]',S={backdrop:!0,keyboard:!0,scroll:!1},k={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class L extends e{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return S}static get DefaultType(){return k}static get NAME(){return l}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown)return;if(t.trigger(this._element,v,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new a).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(g);const n=()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(p),this._element.classList.remove(g),t.trigger(this._element,y,{relatedTarget:e})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown)return;if(t.trigger(this._element,w).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(m),this._backdrop.hide();const e=()=>{this._element.classList.remove(p,m),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new a).reset(),t.trigger(this._element,A)};this._queueCallback(e,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{"static"!==this._config.backdrop?this.hide():t.trigger(this._element,E)},n=Boolean(this._config.backdrop);return new i({className:_,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?e:null})}_initializeFocusTrap(){return new o({trapElement:this._element})}_addEventListeners(){t.on(this._element,O,e=>{e.key===f&&(this._config.keyboard?this.hide():t.trigger(this._element,E))})}static jQueryInterface(e){return this.each(function(){const t=L.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return t.on(document,T,C,function(e){const i=n.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),r.isDisabled(this))return;t.one(i,A,()=>{r.isVisible(this)&&this.focus()});const s=n.findOne(b);s&&s!==i&&L.getInstance(s).hide(),L.getOrCreateInstance(i).toggle(this)}),t.on(window,d,()=>{for(const e of n.find(b))L.getOrCreateInstance(e).show()}),t.on(window,x,()=>{for(const e of n.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&L.getOrCreateInstance(e).hide()}),s.enableDismissTrigger(L),r.defineJQueryPlugin(L),L}(w(),f(),T(),Pt(),C(),Nt(),h(),Ft())}(Lt)),Lt.exports),zt=t(Wt),Vt={exports:{}};var qt,Bt=(Ht||(Ht=1,function(e){e.exports=function(e,t,n,i,s,o,r,a){const l="modal",c="bs.modal",u=`.${c}`,h=".data-api",d="Escape",f=`hide${u}`,p=`hidePrevented${u}`,g=`hidden${u}`,m=`show${u}`,_=`shown${u}`,b=`resize${u}`,v=`click.dismiss${u}`,y=`mousedown.dismiss${u}`,w=`keydown.dismiss${u}`,E=`click${u}${h}`,A="modal-open",x="fade",T="show",O="modal-static",C=".modal.show",S=".modal-dialog",k=".modal-body",L='[data-bs-toggle="modal"]',D={backdrop:!0,focus:!0,keyboard:!0},P={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class $ extends e{constructor(e,t){super(e,t),this._dialog=n.findOne(S,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new a,this._addEventListeners()}static get Default(){return D}static get DefaultType(){return P}static get NAME(){return l}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||t.trigger(this._element,m,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(A),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){this._isShown&&!this._isTransitioning&&(t.trigger(this._element,f).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(T),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){t.off(window,u),t.off(this._dialog,u),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new i({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new o({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 i=n.findOne(k,this._dialog);i&&(i.scrollTop=0),r.reflow(this._element),this._element.classList.add(T);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,t.trigger(this._element,_,{relatedTarget:e})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){t.on(this._element,w,e=>{e.key===d&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),t.on(window,b,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),t.on(this._element,y,e=>{t.one(this._element,v,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(A),this._resetAdjustments(),this._scrollBar.reset(),t.trigger(this._element,g)})}_isAnimated(){return this._element.classList.contains(x)}_triggerBackdropTransition(){if(t.trigger(this._element,p).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;"hidden"===n||this._element.classList.contains(O)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(O),this._queueCallback(()=>{this._element.classList.remove(O),this._queueCallback(()=>{this._element.style.overflowY=n},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=r.isRTL()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!n&&e){const e=r.isRTL()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const n=$.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}})}}return t.on(document,E,L,function(e){const i=n.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),t.one(i,m,e=>{e.defaultPrevented||t.one(i,g,()=>{r.isVisible(this)&&this.focus()})});const s=n.findOne(C);s&&$.getInstance(s).hide(),$.getOrCreateInstance(i).toggle(this)}),s.enableDismissTrigger($),r.defineJQueryPlugin($),$}(w(),f(),T(),Pt(),C(),Nt(),h(),Ft())}(Vt)),Vt.exports),Qt=t(Bt),Yt={exports:{}};var Kt,Ut=(qt||(qt=1,function(e){e.exports=function(e,t,n,i){const s="scrollspy",o="bs.scrollspy",r=`.${o}`,a=".data-api",l=`activate${r}`,c=`click${r}`,u=`load${r}${a}`,h="dropdown-item",d="active",f='[data-bs-spy="scroll"]',p="[href]",g=".nav, .list-group",m=".nav-link",_=`${m}, .nav-item > ${m}, .list-group-item`,b=".dropdown",v=".dropdown-toggle",y={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},w={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class E extends e{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 y}static get DefaultType(){return w}static get NAME(){return s}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=i.getElement(e.target)||document.body,e.rootMargin=e.offset?`${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&&(t.off(this._config.target,c),t.on(this._config.target,c,p,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(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},i=(this._rootElement||document.documentElement).scrollTop,s=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(o));continue}const e=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&e){if(n(o),!i)return}else s||e||n(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=n.find(p,this._config.target);for(const t of e){if(!t.hash||i.isDisabled(t))continue;const e=n.findOne(decodeURI(t.hash),this._element);i.isVisible(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(d),this._activateParents(e),t.trigger(this._element,l,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(h))n.findOne(v,e.closest(b)).classList.add(d);else for(const t of n.parents(e,g))for(const e of n.prev(t,_))e.classList.add(d)}_clearActiveClass(e){e.classList.remove(d);const t=n.find(`${p}.${d}`,e);for(const e of t)e.classList.remove(d)}static jQueryInterface(e){return this.each(function(){const t=E.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}return t.on(window,u,()=>{for(const e of n.find(f))E.getOrCreateInstance(e)}),i.defineJQueryPlugin(E),E}(w(),f(),T(),h())}(Yt)),Yt.exports),Xt=t(Ut),Jt={exports:{}},Zt={exports:{}},Gt={exports:{}};function en(){return Kt||(Kt=1,function(e,t){!function(e){const t={"*":["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:[]},n=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),i=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,s=(e,t)=>{const s=e.nodeName.toLowerCase();return t.includes(s)?!n.has(s)||Boolean(i.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(s))};function o(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"),o=[].concat(...i.body.querySelectorAll("*"));for(const e of o){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const i=[].concat(...e.attributes),o=[].concat(t["*"]||[],t[n]||[]);for(const t of i)s(t,o)||e.removeAttribute(t.nodeName)}return i.body.innerHTML}e.DefaultAllowlist=t,e.sanitizeHtml=o,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}(t)}(0,Gt.exports)),Gt.exports}var tn,nn={exports:{}};
|
|
51
51
|
/*!
|
|
52
52
|
* Bootstrap template-factory.js v5.3.8 (https://getbootstrap.com/)
|
|
53
53
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
@@ -57,10 +57,10 @@
|
|
|
57
57
|
* Bootstrap tooltip.js v5.3.8 (https://getbootstrap.com/)
|
|
58
58
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
59
59
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
60
|
-
*/var on;function rn(){return on||(on=1,function(e){e.exports=function(e,t,n,i,s,o,r){function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const l=a(e),c="tooltip",u=new Set(["sanitize","allowList","sanitizeFn"]),h="fade",d="show",f=".tooltip-inner",p=".modal",g="hide.bs.modal",m="hover",_="focus",b="click",v="manual",y="hide",w="hidden",E="show",A="shown",x="inserted",T="click",O="focusin",C="focusout",S="mouseenter",k="mouseleave",L={AUTO:"auto",TOP:"top",RIGHT:s.isRTL()?"left":"right",BOTTOM:"bottom",LEFT:s.isRTL()?"right":"left"},D={allowList:o.DefaultAllowlist,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:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"}
|
|
60
|
+
*/var on;function rn(){return on||(on=1,function(e){e.exports=function(e,t,n,i,s,o,r){function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const l=a(e),c="tooltip",u=new Set(["sanitize","allowList","sanitizeFn"]),h="fade",d="show",f=".tooltip-inner",p=".modal",g="hide.bs.modal",m="hover",_="focus",b="click",v="manual",y="hide",w="hidden",E="show",A="shown",x="inserted",T="click",O="focusin",C="focusout",S="mouseenter",k="mouseleave",L={AUTO:"auto",TOP:"top",RIGHT:s.isRTL()?"left":"right",BOTTOM:"bottom",LEFT:s.isRTL()?"right":"left"},D={allowList:o.DefaultAllowlist,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:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},P={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 $ extends t{constructor(e,t){if(void 0===l)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");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 D}static get DefaultType(){return P}static get NAME(){return c}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),n.off(this._element.closest(p),g,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=n.trigger(this._element,this.constructor.eventName(E)),t=(s.findShadowRoot(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:o}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(i),n.trigger(this._element,this.constructor.eventName(x))),this._popper=this._createPopper(i),i.classList.add(d),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))n.on(e,"mouseover",s.noop);const r=()=>{n.trigger(this._element,this.constructor.eventName(A)),!1===this._isHovered&&this._leave(),this._isHovered=!1};this._queueCallback(r,this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(n.trigger(this._element,this.constructor.eventName(y)).defaultPrevented)return;if(this._getTipElement().classList.remove(d),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))n.off(e,"mouseover",s.noop);this._activeTrigger[b]=!1,this._activeTrigger[_]=!1,this._activeTrigger[m]=!1,this._isHovered=null;const e=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),n.trigger(this._element,this.constructor.eventName(w)))};this._queueCallback(e,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(h,d),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=s.getUID(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(h),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new r({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[f]: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(h)}_isShown(){return this.tip&&this.tip.classList.contains(d)}_createPopper(e){const t=s.execute(this._config.placement,[this,e,this._element]),n=L[t.toUpperCase()];return l.createPopper(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 s.execute(e,[this._element,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:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...s.execute(this._config.popperConfig,[void 0,t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)n.on(this._element,this.constructor.eventName(T),this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger[b]=!(t._isShown()&&t._activeTrigger[b]),t.toggle()});else if(t!==v){const e=t===m?this.constructor.eventName(S):this.constructor.eventName(O),i=t===m?this.constructor.eventName(k):this.constructor.eventName(C);n.on(this._element,e,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?_:m]=!0,t._enter()}),n.on(this._element,i,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?_:m]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},n.on(this._element.closest(p),g,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 e of Object.keys(t))u.has(e)&&delete t[e];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:s.getElement(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=$.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}return s.defineJQueryPlugin($),$}(Et,w(),f(),_(),h(),en(),sn())}(Zt)),Zt.exports}
|
|
61
61
|
/*!
|
|
62
62
|
* Bootstrap popover.js v5.3.8 (https://getbootstrap.com/)
|
|
63
63
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
64
64
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
65
|
-
*/var an;var ln,cn=(an||(an=1,function(e){e.exports=function(e,t){const n="popover",i=".popover-header",s=".popover-body",o={...e.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},r={...e.DefaultType,content:"(null|string|element|function)"};class a extends e{static get Default(){return o}static get DefaultType(){return r}static get NAME(){return n}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[i]:this._getTitle(),[s]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=a.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}return t.defineJQueryPlugin(a),a}(rn(),h())}(Jt)),Jt.exports),un=t(cn),hn={exports:{}};var dn,fn=(ln||(ln=1,function(e){e.exports=function(e,t,n,i){const s="toast",o="bs.toast",r=`.${o}`,a=`mouseover${r}`,l=`mouseout${r}`,c=`focusin${r}`,u=`focusout${r}`,h=`hide${r}`,d=`hidden${r}`,f=`show${r}`,p=`shown${r}`,g="fade",m="hide",_="show",b="showing",v={animation:"boolean",autohide:"boolean",delay:"number"},y={animation:!0,autohide:!0,delay:5e3};class w extends e{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return y}static get DefaultType(){return v}static get NAME(){return s}show(){if(t.trigger(this._element,f).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(g);const e=()=>{this._element.classList.remove(b),t.trigger(this._element,p),this._maybeScheduleHide()};this._element.classList.remove(m),i.reflow(this._element),this._element.classList.add(_,b),this._queueCallback(e,this._element,this._config.animation)}hide(){if(!this.isShown())return;if(t.trigger(this._element,h).defaultPrevented)return;const e=()=>{this._element.classList.add(m),this._element.classList.remove(b,_),t.trigger(this._element,d)};this._element.classList.add(b),this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(_),super.dispose()}isShown(){return this._element.classList.contains(_)}_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(){t.on(this._element,a,e=>this._onInteraction(e,!0)),t.on(this._element,l,e=>this._onInteraction(e,!1)),t.on(this._element,c,e=>this._onInteraction(e,!0)),t.on(this._element,u,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=w.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return n.enableDismissTrigger(w),i.defineJQueryPlugin(w),w}(w(),f(),C(),h())}(hn)),hn.exports),pn=t(fn),gn={exports:{}};var mn=(dn||(dn=1,function(e){e.exports=function(e,t,n,i){const s="tab",o="bs.tab",r=`.${o}`,a=`hide${r}`,l=`hidden${r}`,c=`show${r}`,u=`shown${r}`,h=`click${r}`,d=`keydown${r}`,f=`load${r}`,p="ArrowLeft",g="ArrowRight",m="ArrowUp",_="ArrowDown",b="Home",v="End",y="active",w="fade",E="show",A="dropdown",x=".dropdown-toggle",T=".dropdown-menu",O=`:not(${x})`,C='.list-group, .nav, [role="tablist"]',S=".nav-item, .list-group-item",k=`.nav-link${O}, .list-group-item${O}, [role="tab"]${O}`,L='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',D=`${k}, ${L}`,$=`.${y}[data-bs-toggle="tab"], .${y}[data-bs-toggle="pill"], .${y}[data-bs-toggle="list"]`;class P extends e{constructor(e){super(e),this._parent=this._element.closest(C),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),t.on(this._element,d,e=>this._keydown(e)))}static get NAME(){return s}show(){const e=this._element;if(this._elemIsActive(e))return;const n=this._getActiveElem(),i=n?t.trigger(n,a,{relatedTarget:e}):null;t.trigger(e,c,{relatedTarget:n}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(n,e),this._activate(e,n))}_activate(e,i){if(!e)return;e.classList.add(y),this._activate(n.getElementFromSelector(e));const s=()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),t.trigger(e,u,{relatedTarget:i})):e.classList.add(E)};this._queueCallback(s,e,e.classList.contains(w))}_deactivate(e,i){if(!e)return;e.classList.remove(y),e.blur(),this._deactivate(n.getElementFromSelector(e));const s=()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),t.trigger(e,l,{relatedTarget:i})):e.classList.remove(E)};this._queueCallback(s,e,e.classList.contains(w))}_keydown(e){if(![p,g,m,_,b,v].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter(e=>!i.isDisabled(e));let n;if([b,v].includes(e.key))n=t[e.key===b?0:t.length-1];else{const s=[g,_].includes(e.key);n=i.getNextActiveElement(t,e.target,s,!0)}n&&(n.focus({preventScroll:!0}),P.getOrCreateInstance(n).show())}_getChildren(){return n.find(D,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_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=n.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const i=this._getOuterElement(e);if(!i.classList.contains(A))return;const s=(e,s)=>{const o=n.findOne(e,i);o&&o.classList.toggle(s,t)};s(x,y),s(T,E),i.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(y)}_getInnerElement(e){return e.matches(D)?e:n.findOne(D,e)}_getOuterElement(e){return e.closest(S)||e}static jQueryInterface(e){return this.each(function(){const t=P.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}return t.on(document,h,L,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),i.isDisabled(this)||P.getOrCreateInstance(this).show()}),t.on(window,f,()=>{for(const e of n.find($))P.getOrCreateInstance(e)}),i.defineJQueryPlugin(P),P}(w(),f(),T(),h())}(gn)),gn.exports),_n=t(mn),bn=t(rn());const vn=new Map;var yn={set(e,t,n){vn.has(e)||vn.set(e,new Map);const i=vn.get(e);(i.has(t)||0===i.size)&&i.set(t,n)},get:(e,t)=>vn.has(e)&&vn.get(e).get(t)||null,remove(e,t){if(!vn.has(e))return;const n=vn.get(e);n.delete(t),0===n.size&&vn.delete(e)}};const wn="transitionend",En=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),An=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),xn=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),Tn=e=>xn(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(En(e)):null,On=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Cn=[],Sn=e=>{var t;t=()=>{const t=On();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?(Cn.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Cn)e()}),Cn.push(t)):t()},kn=(e,t=[],n=e)=>"function"==typeof e?e.call(...t):n,Ln=(e,t,n=!0)=>{if(!n)return void kn(e);const i=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),s=Number.parseFloat(n);return i||s?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let s=!1;const o=({target:n})=>{n===t&&(s=!0,t.removeEventListener(wn,o),kn(e))};t.addEventListener(wn,o),setTimeout(()=>{s||t.dispatchEvent(new Event(wn))},i)},Dn=/[^.]*(?=\..*)\.|.*/,$n=/\..*/,Pn=/::\d+$/,In={};let Nn=1;const jn={mouseenter:"mouseover",mouseleave:"mouseout"},Mn=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 Fn(e,t){return t&&`${t}::${Nn++}`||e.uidEvent||Nn++}function Rn(e){const t=Fn(e);return e.uidEvent=t,In[t]=In[t]||{},In[t]}function Hn(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function Wn(e,t,n){const i="string"==typeof t,s=i?n:t||n;let o=Bn(e);return Mn.has(o)||(o=e),[i,s,o]}function zn(e,t,n,i,s){if("string"!=typeof t||!e)return;let[o,r,a]=Wn(t,n,i);if(t in jn){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};r=e(r)}const l=Rn(e),c=l[a]||(l[a]={}),u=Hn(c,r,o?n:null);if(u)return void(u.oneOff=u.oneOff&&s);const h=Fn(r,t.replace(Dn,"")),d=o?function(e,t,n){return function i(s){const o=e.querySelectorAll(t);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return Yn(s,{delegateTarget:r}),i.oneOff&&Qn.off(e,s.type,t,n),n.apply(r,[s])}}(e,n,r):function(e,t){return function n(i){return Yn(i,{delegateTarget:e}),n.oneOff&&Qn.off(e,i.type,t),t.apply(e,[i])}}(e,r);d.delegationSelector=o?n:null,d.callable=r,d.oneOff=s,d.uidEvent=h,c[h]=d,e.addEventListener(a,d,o)}function Vn(e,t,n,i,s){const o=Hn(t[n],i,s);o&&(e.removeEventListener(n,o,Boolean(s)),delete t[n][o.uidEvent])}function qn(e,t,n,i){const s=t[n]||{};for(const[o,r]of Object.entries(s))o.includes(i)&&Vn(e,t,n,r.callable,r.delegationSelector)}function Bn(e){return e=e.replace($n,""),jn[e]||e}const Qn={on(e,t,n,i){zn(e,t,n,i,!1)},one(e,t,n,i){zn(e,t,n,i,!0)},off(e,t,n,i){if("string"!=typeof t||!e)return;const[s,o,r]=Wn(t,n,i),a=r!==t,l=Rn(e),c=l[r]||{},u=t.startsWith(".");if(void 0===o){if(u)for(const n of Object.keys(l))qn(e,l,n,t.slice(1));for(const[n,i]of Object.entries(c)){const s=n.replace(Pn,"");a&&!t.includes(s)||Vn(e,l,r,i.callable,i.delegationSelector)}}else{if(!Object.keys(c).length)return;Vn(e,l,r,o,s?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const i=On();let s=null,o=!0,r=!0,a=!1;t!==Bn(t)&&i&&(s=i.Event(t,n),i(e).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());const l=Yn(new Event(t,{bubbles:o,cancelable:!0}),n);return a&&l.preventDefault(),r&&e.dispatchEvent(l),l.defaultPrevented&&s&&s.preventDefault(),l}};function Yn(e,t={}){for(const[n,i]of Object.entries(t))try{e[n]=i}catch{Object.defineProperty(e,n,{configurable:!0,get:()=>i})}return e}function Kn(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{return e}}function Un(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Xn={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Un(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Un(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),t[n]=Kn(e.dataset[i])}return t},getDataAttribute:(e,t)=>Kn(e.getAttribute(`data-bs-${Un(t)}`))};class Jn{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=xn(t)?Xn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...xn(t)?Xn.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[n,i]of Object.entries(t)){const t=e[n],s=xn(t)?"element":An(t);if(!new RegExp(i).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${s}" but expected type "${i}".`)}}}class Zn extends Jn{constructor(e,t){super(),(e=Tn(e))&&(this._element=e,this._config=this._getConfig(t),yn.set(this._element,this.constructor.DATA_KEY,this))}dispose(){yn.remove(this._element,this.constructor.DATA_KEY),Qn.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){Ln(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return yn.get(Tn(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.8"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Gn='[data-bs-toggle="datepicker"]';class ei extends Zn{static get NAME(){return"datepicker"}static jQueryInterface(e){return this.each(function(){const t=ei.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}Qn.on(document,"focus.bs.datepicker.data-api",Gn,e=>{const t=e.target.closest(Gn);if("ontouchstart"in globalThis||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0){const e=t.cloneNode(!0);e.type="date",e.removeAttribute("data-bs-toggle"),t.parentNode.prepend(e),e.focus(),e.showPicker(),t.remove(),e.addEventListener("blur",function n(){e.value||(e.parentNode.prepend(t),e.remove(),e.removeEventListener("blur",n))})}else t.type="date",t.addEventListener("blur",function e(){t.value||(t.type="text"),t.removeEventListener("blur",e)})}),Sn(ei);const ti=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=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t?t.split(",").map(e=>En(e)).join(","):null},ni={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>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=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(e=>!(e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")))(e)&&(e=>{if(!xn(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})(e))},getSelectorFromElement(e){const t=ti(e);return t&&ni.findOne(t)?t:null},getElementFromSelector(e){const t=ti(e);return t?ni.findOne(t):null},getMultipleElementsFromSelector(e){const t=ti(e);return t?ni.find(t):[]}},ii=new WeakMap;class si{constructor(e){this._element=e,this._captionEl=e.querySelector(".carousel-caption-container p")||null,this._updateCaption(),ii.set(e,this)}_updateCaption(){if(!this._captionEl)return;const e=ni.findOne(".carousel-item.active",this._element);this._captionEl.textContent=e?.getAttribute("data-caption")??""}static getOrCreateInstance(e){return ii.get(e)||new si(e)}}Qn.on(document,"slid.bs.carousel",".carousel",function(){si.getOrCreateInstance(this)._updateCaption()});const oi="slide.bs.carousel",ri="slid.bs.carousel",ai=new WeakMap;class li{constructor(e){this._element=e,this._inner=ni.findOne(".carousel-inner",e),this._inner&&this._bindEvents(),ai.set(e,this)}dispose(){Qn.off(this._element,oi),Qn.off(this._element,ri),ai.delete(this._element)}_bindEvents(){Qn.on(this._element,oi,e=>this._onSlide(e)),Qn.on(this._element,ri,()=>this._onSlid())}_onSlide(e){const t=e.relatedTarget;t&&(this._inner.style.height=`${this._inner.offsetHeight}px`,requestAnimationFrame(()=>{this._inner.style.height=`${t.offsetHeight}px`}))}_onSlid(){this._inner.style.height=""}static getOrCreateInstance(e){return ai.get(e)||new li(e)}}document.addEventListener("DOMContentLoaded",()=>{for(const e of ni.find(".carousel"))li.getOrCreateInstance(e)});const ci=".modal",ui=".modal-dialog-media",hi=new Promise(e=>{if(globalThis.YT?.Player)e();else{const t=globalThis.onYouTubeIframeAPIReady;globalThis.onYouTubeIframeAPIReady=()=>{try{"function"==typeof t&&t()}catch{}e()};const n=document.createElement("script");n.src="https://www.youtube.com/iframe_api",document.head.append(n)}}),di=new Promise(e=>{if(globalThis.Vimeo?.Player)e();else{const t=document.createElement("script");t.src="https://player.vimeo.com/api/player.js",t.addEventListener("load",()=>{e()}),document.head.append(t)}});class fi extends Zn{constructor(e){super(e),this._dialog=ni.findOne(ui,this._element),this._container=ni.findOne(".ratio",this._element),this._youtubeSrc=this._container?.getAttribute("data-src"),this._vimeoUrl=this._container?.getAttribute("data-vimeo-url"),this._youtubePlayer=null,this._vimeoPlayer=null}dispose(){this._onHide(),super.dispose()}async _onShow(){const{id:e}=this._element,t=`video-${e}-youtube-player`;if(this._vimeoUrl){await di;const e=this._getVimeoId(this._vimeoUrl);return this._vimeoPlayer=new globalThis.Vimeo.Player(this._container,{id:e,autoplay:!0}),this._element.dataset.vimeoId=String(e),this._element.__unlkVimeoPlayer=this._vimeoPlayer,void this._element.dispatchEvent(new CustomEvent("videomodal.ready",{bubbles:!0,detail:{provider:"vimeo",player:this._vimeoPlayer,videoId:e}}))}if(this._youtubeSrc){await hi;const e=this._getYouTubeId(this._youtubeSrc),n=this._container.querySelector(`#${t}`);this._youtubePlayer=new globalThis.YT.Player(n,{videoId:e,playerVars:{autoplay:1,rel:0}}),this._element.dataset.ytId=e,this._element.__unlkYtPlayer=this._youtubePlayer,this._element.dispatchEvent(new CustomEvent("videomodal.ready",{bubbles:!0,detail:{provider:"youtube",player:this._youtubePlayer,videoId:e}}))}}_onHide(){this._vimeoPlayer&&(this._vimeoPlayer.unload().catch(()=>{}),this._vimeoPlayer=null),this._youtubePlayer&&(this._youtubePlayer.destroy(),this._youtubePlayer=null),delete this._element.__unlkYtPlayer,delete this._element.dataset.ytId,delete this._element.__unlkVimeoPlayer,delete this._element.dataset.vimeoId}_getYouTubeId(e){const t=e.match(/(?:youtube\.com\/(?:watch\?v=|embed\/|v\/)|youtu\.be\/)([\w-]{11})/);return t?t[1]:""}_getVimeoId(e){const t=e.match(/vimeo\.com\/(\d+)/);return t?t[1]:""}static get NAME(){return"videoModal"}static jQueryInterface(e){return this.each(function(){fi.getOrCreateInstance(this,e)})}}Qn.on(document,"show.bs.modal",ci,function(){ni.findOne(ui,this)&&fi.getOrCreateInstance(this)._onShow()}),Qn.on(document,"hidden.bs.modal",ci,function(){ni.findOne(ui,this)&&fi.getOrCreateInstance(this)._onHide()}),Sn(fi);class pi extends Zn{_onShown(e){const t=e.target.closest(".accordion-item");if(!t)return;const n=ni.findOne(".accordion-header",t);if(!n)return;n.getBoundingClientRect().top<0&&n.scrollIntoView({behavior:"smooth",block:"start"})}static get NAME(){return"accordionScroll"}static jQueryInterface(e){return this.each(function(){pi.getOrCreateInstance(this,e)})}}Qn.on(document,"shown.bs.collapse",".accordion",function(e){pi.getOrCreateInstance(this)._onShown(e)}),Sn(pi);const gi=".bs.otpInput",mi=`input${gi}`,_i=`complete${gi}`,bi={numeric:/\D/g,alpha:/[^a-zA-Z]/g,alphanumeric:/[^a-zA-Z0-9]/g},vi={numeric:"[0-9]",alpha:"[a-zA-Z]",alphanumeric:"[a-zA-Z0-9]"};class yi extends Zn{constructor(e,t){if(super(e,t),this._input=ni.findOne(".otp-input",this._element),!this._input)return;this._length=this._input.maxLength>0?this._input.maxLength:6,this._type=this._element.dataset.bsType||"numeric";const n=vi[this._type]||vi.numeric;this._input.pattern=`${n}{${this._length}}`,this._mask="true"===this._element.dataset.bsMask,this._groups=this._element.dataset.bsGroups?String(this._element.dataset.bsGroups).split(",").map(Number):[this._length],this._slots=[],this._buildSlots(),this._bindEvents(),this._render()}getValue(){return this._input.value}setValue(e){const t=bi[this._type]||bi.numeric;this._input.value=String(e).replace(t,"").slice(0,this._length),this._render()}clear(){this._input.value="",this._render(),this._input.focus()}_buildSlots(){this._input.style.cssText="position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;overflow:hidden;white-space:nowrap;";const e=document.createElement("div");e.classList.add("otp-slots"),e.setAttribute("aria-hidden","true");let t=0;for(const[n,i]of this._groups.entries()){const s=document.createElement("div");s.classList.add("otp-group");for(let e=0;e<i;e++){const e=document.createElement("div");e.classList.add("otp-slot"),e.dataset.index=t;const n=document.createElement("span");n.classList.add("otp-char");const i=document.createElement("span");i.classList.add("otp-cursor"),e.append(n,i),s.append(e),this._slots.push({slot:e,char:n}),t++}if(e.append(s),n<this._groups.length-1){const t=document.createElement("span");t.classList.add("otp-separator"),t.textContent="–",e.append(t)}}this._element.append(e),this._slotsWrapper=e}_bindEvents(){Qn.on(this._slotsWrapper,"click",()=>{if(this._input.disabled)return;this._input.focus();const e=this._input.value.length;this._input.setSelectionRange(e,e)}),Qn.on(this._input,"focus",()=>this._render()),Qn.on(this._input,"blur",()=>this._render()),Qn.on(this._input,"input",()=>{const e=bi[this._type]||bi.numeric;this._input.value=this._input.value.replace(e,"").slice(0,this._length),this._render(),Qn.trigger(this._element,mi,{value:this._input.value}),this._input.value.length===this._length&&Qn.trigger(this._element,_i,{value:this._input.value})}),Qn.on(this._input,"keydown",e=>{"ArrowLeft"!==e.key&&"ArrowRight"!==e.key||requestAnimationFrame(()=>this._render())})}_render(){const e=this._input.value,t=document.activeElement===this._input?Math.min(e.length,this._length-1):-1,n=this._input.disabled;this._slotsWrapper.classList.toggle("disabled",n);for(const[i,{slot:s,char:o}]of this._slots.entries()){const r=e[i]||"";o.textContent=this._mask&&r?"•":r,s.classList.toggle("otp-slot-active",i===t&&!n),s.classList.toggle("otp-slot-filled",Boolean(r))}}static get NAME(){return"otpInput"}static jQueryInterface(e,...t){return this.each(function(){const n=yi.getOrCreateInstance(this);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](...t)}})}}Qn.on(globalThis,"load",()=>{for(const e of ni.find("[data-bs-otp]"))yi.getOrCreateInstance(e)}),Sn(yi),e.AccordionScroll=pi,e.Alert=D,e.Button=W,e.Carousel=F,e.CarouselCaption=si,e.CarouselHeight=li,e.Collapse=kt,e.Datepicker=ei,e.Dropdown=Tt,e.Modal=Qt,e.Offcanvas=zt,e.OtpInput=yi,e.Popover=un,e.Scrollspy=Xt,e.Tab=_n,e.Toast=pn,e.Tooltip=bn,e.VideoModal=fi});
|
|
65
|
+
*/var an;var ln,cn=(an||(an=1,function(e){e.exports=function(e,t){const n="popover",i=".popover-header",s=".popover-body",o={...e.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},r={...e.DefaultType,content:"(null|string|element|function)"};class a extends e{static get Default(){return o}static get DefaultType(){return r}static get NAME(){return n}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[i]:this._getTitle(),[s]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=a.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}return t.defineJQueryPlugin(a),a}(rn(),h())}(Jt)),Jt.exports),un=t(cn),hn={exports:{}};var dn,fn=(ln||(ln=1,function(e){e.exports=function(e,t,n,i){const s="toast",o="bs.toast",r=`.${o}`,a=`mouseover${r}`,l=`mouseout${r}`,c=`focusin${r}`,u=`focusout${r}`,h=`hide${r}`,d=`hidden${r}`,f=`show${r}`,p=`shown${r}`,g="fade",m="hide",_="show",b="showing",v={animation:"boolean",autohide:"boolean",delay:"number"},y={animation:!0,autohide:!0,delay:5e3};class w extends e{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return y}static get DefaultType(){return v}static get NAME(){return s}show(){if(t.trigger(this._element,f).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(g);const e=()=>{this._element.classList.remove(b),t.trigger(this._element,p),this._maybeScheduleHide()};this._element.classList.remove(m),i.reflow(this._element),this._element.classList.add(_,b),this._queueCallback(e,this._element,this._config.animation)}hide(){if(!this.isShown())return;if(t.trigger(this._element,h).defaultPrevented)return;const e=()=>{this._element.classList.add(m),this._element.classList.remove(b,_),t.trigger(this._element,d)};this._element.classList.add(b),this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(_),super.dispose()}isShown(){return this._element.classList.contains(_)}_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(){t.on(this._element,a,e=>this._onInteraction(e,!0)),t.on(this._element,l,e=>this._onInteraction(e,!1)),t.on(this._element,c,e=>this._onInteraction(e,!0)),t.on(this._element,u,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=w.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return n.enableDismissTrigger(w),i.defineJQueryPlugin(w),w}(w(),f(),C(),h())}(hn)),hn.exports),pn=t(fn),gn={exports:{}};var mn=(dn||(dn=1,function(e){e.exports=function(e,t,n,i){const s="tab",o="bs.tab",r=`.${o}`,a=`hide${r}`,l=`hidden${r}`,c=`show${r}`,u=`shown${r}`,h=`click${r}`,d=`keydown${r}`,f=`load${r}`,p="ArrowLeft",g="ArrowRight",m="ArrowUp",_="ArrowDown",b="Home",v="End",y="active",w="fade",E="show",A="dropdown",x=".dropdown-toggle",T=".dropdown-menu",O=`:not(${x})`,C='.list-group, .nav, [role="tablist"]',S=".nav-item, .list-group-item",k=`.nav-link${O}, .list-group-item${O}, [role="tab"]${O}`,L='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',D=`${k}, ${L}`,P=`.${y}[data-bs-toggle="tab"], .${y}[data-bs-toggle="pill"], .${y}[data-bs-toggle="list"]`;class $ extends e{constructor(e){super(e),this._parent=this._element.closest(C),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),t.on(this._element,d,e=>this._keydown(e)))}static get NAME(){return s}show(){const e=this._element;if(this._elemIsActive(e))return;const n=this._getActiveElem(),i=n?t.trigger(n,a,{relatedTarget:e}):null;t.trigger(e,c,{relatedTarget:n}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(n,e),this._activate(e,n))}_activate(e,i){if(!e)return;e.classList.add(y),this._activate(n.getElementFromSelector(e));const s=()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),t.trigger(e,u,{relatedTarget:i})):e.classList.add(E)};this._queueCallback(s,e,e.classList.contains(w))}_deactivate(e,i){if(!e)return;e.classList.remove(y),e.blur(),this._deactivate(n.getElementFromSelector(e));const s=()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),t.trigger(e,l,{relatedTarget:i})):e.classList.remove(E)};this._queueCallback(s,e,e.classList.contains(w))}_keydown(e){if(![p,g,m,_,b,v].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter(e=>!i.isDisabled(e));let n;if([b,v].includes(e.key))n=t[e.key===b?0:t.length-1];else{const s=[g,_].includes(e.key);n=i.getNextActiveElement(t,e.target,s,!0)}n&&(n.focus({preventScroll:!0}),$.getOrCreateInstance(n).show())}_getChildren(){return n.find(D,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_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=n.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const i=this._getOuterElement(e);if(!i.classList.contains(A))return;const s=(e,s)=>{const o=n.findOne(e,i);o&&o.classList.toggle(s,t)};s(x,y),s(T,E),i.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(y)}_getInnerElement(e){return e.matches(D)?e:n.findOne(D,e)}_getOuterElement(e){return e.closest(S)||e}static jQueryInterface(e){return this.each(function(){const t=$.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}return t.on(document,h,L,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),i.isDisabled(this)||$.getOrCreateInstance(this).show()}),t.on(window,f,()=>{for(const e of n.find(P))$.getOrCreateInstance(e)}),i.defineJQueryPlugin($),$}(w(),f(),T(),h())}(gn)),gn.exports),_n=t(mn),bn=t(rn());const vn=new Map;var yn={set(e,t,n){vn.has(e)||vn.set(e,new Map);const i=vn.get(e);(i.has(t)||0===i.size)&&i.set(t,n)},get:(e,t)=>vn.has(e)&&vn.get(e).get(t)||null,remove(e,t){if(!vn.has(e))return;const n=vn.get(e);n.delete(t),0===n.size&&vn.delete(e)}};const wn="transitionend",En=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),An=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),xn=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),Tn=e=>xn(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(En(e)):null,On=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Cn=[],Sn=e=>{var t;t=()=>{const t=On();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?(Cn.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Cn)e()}),Cn.push(t)):t()},kn=(e,t=[],n=e)=>"function"==typeof e?e.call(...t):n,Ln=(e,t,n=!0)=>{if(!n)return void kn(e);const i=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),s=Number.parseFloat(n);return i||s?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let s=!1;const o=({target:n})=>{n===t&&(s=!0,t.removeEventListener(wn,o),kn(e))};t.addEventListener(wn,o),setTimeout(()=>{s||t.dispatchEvent(new Event(wn))},i)},Dn=/[^.]*(?=\..*)\.|.*/,Pn=/\..*/,$n=/::\d+$/,In={};let Nn=1;const jn={mouseenter:"mouseover",mouseleave:"mouseout"},Mn=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 Fn(e,t){return t&&`${t}::${Nn++}`||e.uidEvent||Nn++}function Rn(e){const t=Fn(e);return e.uidEvent=t,In[t]=In[t]||{},In[t]}function Hn(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function Wn(e,t,n){const i="string"==typeof t,s=i?n:t||n;let o=Bn(e);return Mn.has(o)||(o=e),[i,s,o]}function zn(e,t,n,i,s){if("string"!=typeof t||!e)return;let[o,r,a]=Wn(t,n,i);if(t in jn){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};r=e(r)}const l=Rn(e),c=l[a]||(l[a]={}),u=Hn(c,r,o?n:null);if(u)return void(u.oneOff=u.oneOff&&s);const h=Fn(r,t.replace(Dn,"")),d=o?function(e,t,n){return function i(s){const o=e.querySelectorAll(t);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return Yn(s,{delegateTarget:r}),i.oneOff&&Qn.off(e,s.type,t,n),n.apply(r,[s])}}(e,n,r):function(e,t){return function n(i){return Yn(i,{delegateTarget:e}),n.oneOff&&Qn.off(e,i.type,t),t.apply(e,[i])}}(e,r);d.delegationSelector=o?n:null,d.callable=r,d.oneOff=s,d.uidEvent=h,c[h]=d,e.addEventListener(a,d,o)}function Vn(e,t,n,i,s){const o=Hn(t[n],i,s);o&&(e.removeEventListener(n,o,Boolean(s)),delete t[n][o.uidEvent])}function qn(e,t,n,i){const s=t[n]||{};for(const[o,r]of Object.entries(s))o.includes(i)&&Vn(e,t,n,r.callable,r.delegationSelector)}function Bn(e){return e=e.replace(Pn,""),jn[e]||e}const Qn={on(e,t,n,i){zn(e,t,n,i,!1)},one(e,t,n,i){zn(e,t,n,i,!0)},off(e,t,n,i){if("string"!=typeof t||!e)return;const[s,o,r]=Wn(t,n,i),a=r!==t,l=Rn(e),c=l[r]||{},u=t.startsWith(".");if(void 0===o){if(u)for(const n of Object.keys(l))qn(e,l,n,t.slice(1));for(const[n,i]of Object.entries(c)){const s=n.replace($n,"");a&&!t.includes(s)||Vn(e,l,r,i.callable,i.delegationSelector)}}else{if(!Object.keys(c).length)return;Vn(e,l,r,o,s?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const i=On();let s=null,o=!0,r=!0,a=!1;t!==Bn(t)&&i&&(s=i.Event(t,n),i(e).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());const l=Yn(new Event(t,{bubbles:o,cancelable:!0}),n);return a&&l.preventDefault(),r&&e.dispatchEvent(l),l.defaultPrevented&&s&&s.preventDefault(),l}};function Yn(e,t={}){for(const[n,i]of Object.entries(t))try{e[n]=i}catch{Object.defineProperty(e,n,{configurable:!0,get:()=>i})}return e}function Kn(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{return e}}function Un(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Xn={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Un(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Un(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),t[n]=Kn(e.dataset[i])}return t},getDataAttribute:(e,t)=>Kn(e.getAttribute(`data-bs-${Un(t)}`))};class Jn{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=xn(t)?Xn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...xn(t)?Xn.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[n,i]of Object.entries(t)){const t=e[n],s=xn(t)?"element":An(t);if(!new RegExp(i).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${s}" but expected type "${i}".`)}}}class Zn extends Jn{constructor(e,t){super(),(e=Tn(e))&&(this._element=e,this._config=this._getConfig(t),yn.set(this._element,this.constructor.DATA_KEY,this))}dispose(){yn.remove(this._element,this.constructor.DATA_KEY),Qn.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){Ln(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return yn.get(Tn(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.8"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Gn='[data-bs-toggle="datepicker"]';class ei extends Zn{static get NAME(){return"datepicker"}static jQueryInterface(e){return this.each(function(){const t=ei.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}Qn.on(document,"focus.bs.datepicker.data-api",Gn,e=>{const t=e.target.closest(Gn);if("ontouchstart"in globalThis||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0){const e=t.cloneNode(!0);e.type="date",e.removeAttribute("data-bs-toggle"),t.parentNode.prepend(e),e.focus(),e.showPicker(),t.remove(),e.addEventListener("blur",function n(){e.value||(e.parentNode.prepend(t),e.remove(),e.removeEventListener("blur",n))})}else t.type="date",t.addEventListener("blur",function e(){t.value||(t.type="text"),t.removeEventListener("blur",e)})}),Sn(ei);const ti=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=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t?t.split(",").map(e=>En(e)).join(","):null},ni={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>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=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(e=>!(e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")))(e)&&(e=>{if(!xn(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})(e))},getSelectorFromElement(e){const t=ti(e);return t&&ni.findOne(t)?t:null},getElementFromSelector(e){const t=ti(e);return t?ni.findOne(t):null},getMultipleElementsFromSelector(e){const t=ti(e);return t?ni.find(t):[]}},ii=new WeakMap;class si{constructor(e){this._element=e,this._captionEl=e.querySelector(".carousel-caption-container p")||null,this._updateCaption(),ii.set(e,this)}_updateCaption(){if(!this._captionEl)return;const e=ni.findOne(".carousel-item.active",this._element);this._captionEl.textContent=e?.getAttribute("data-caption")??""}static getOrCreateInstance(e){return ii.get(e)||new si(e)}}Qn.on(document,"slid.bs.carousel",".carousel",function(){si.getOrCreateInstance(this)._updateCaption()});const oi="slide.bs.carousel",ri="slid.bs.carousel",ai=new WeakMap;class li{constructor(e){this._element=e,this._inner=ni.findOne(".carousel-inner",e),this._inner&&this._bindEvents(),ai.set(e,this)}dispose(){Qn.off(this._element,oi),Qn.off(this._element,ri),ai.delete(this._element)}_bindEvents(){Qn.on(this._element,oi,e=>this._onSlide(e)),Qn.on(this._element,ri,()=>this._onSlid())}_onSlide(e){const t=e.relatedTarget;t&&(this._inner.style.height=`${this._inner.offsetHeight}px`,requestAnimationFrame(()=>{this._inner.style.height=`${t.offsetHeight}px`}))}_onSlid(){this._inner.style.height=""}static getOrCreateInstance(e){return ai.get(e)||new li(e)}}document.addEventListener("DOMContentLoaded",()=>{for(const e of ni.find(".carousel"))li.getOrCreateInstance(e)});const ci=".modal",ui=".modal-dialog-media";let hi=null,di=null;class fi extends Zn{constructor(e){super(e),this._dialog=ni.findOne(ui,this._element),this._container=ni.findOne(".ratio",this._element),this._youtubeSrc=this._container?.getAttribute("data-src"),this._vimeoUrl=this._container?.getAttribute("data-vimeo-url"),this._youtubePlayer=null,this._vimeoPlayer=null}dispose(){this._onHide(),super.dispose()}async _onShow(){const{id:e}=this._element,t=`video-${e}-youtube-player`;try{if(this._vimeoUrl){await(globalThis.Vimeo?.Player?Promise.resolve():di||(di=new Promise((e,t)=>{const n=document.querySelector('script[src="https://player.vimeo.com/api/player.js"]');if(n)return n.addEventListener("load",()=>e(),{once:!0}),void n.addEventListener("error",()=>{di=null,t(new Error("Failed to load Vimeo Player API"))},{once:!0});const i=document.createElement("script");i.src="https://player.vimeo.com/api/player.js",i.async=!0,i.addEventListener("load",()=>e(),{once:!0}),i.addEventListener("error",()=>{di=null,t(new Error("Failed to load Vimeo Player API"))},{once:!0}),document.head.append(i)}),di));const e=this._getVimeoId(this._vimeoUrl);if(!e)return;return this._vimeoPlayer=new globalThis.Vimeo.Player(this._container,{id:e,autoplay:!0}),this._element.dataset.vimeoId=String(e),this._element.__unlkVimeoPlayer=this._vimeoPlayer,void this._element.dispatchEvent(new CustomEvent("videomodal.ready",{bubbles:!0,detail:{provider:"vimeo",player:this._vimeoPlayer,videoId:e}}))}if(this._youtubeSrc){await(globalThis.YT?.Player?Promise.resolve():hi||(hi=new Promise((e,t)=>{const n=document.querySelector('script[src="https://www.youtube.com/iframe_api"]'),i=globalThis.onYouTubeIframeAPIReady;if(globalThis.onYouTubeIframeAPIReady=()=>{try{"function"==typeof i&&i()}catch{}e()},n)return void(globalThis.YT?.Player&&e());const s=document.createElement("script");s.src="https://www.youtube.com/iframe_api",s.async=!0,s.addEventListener("error",()=>{hi=null,t(new Error("Failed to load YouTube iframe API"))}),document.head.append(s)}),hi));const e=this._getYouTubeId(this._youtubeSrc);if(!e)return;const n=this._container.querySelector(`#${t}`);if(!n)return;this._youtubePlayer=new globalThis.YT.Player(n,{videoId:e,playerVars:{autoplay:1,rel:0}}),this._element.dataset.ytId=e,this._element.__unlkYtPlayer=this._youtubePlayer,this._element.dispatchEvent(new CustomEvent("videomodal.ready",{bubbles:!0,detail:{provider:"youtube",player:this._youtubePlayer,videoId:e}}))}}catch(e){}}_onHide(){this._vimeoPlayer&&(this._vimeoPlayer.unload().catch(()=>{}),this._vimeoPlayer=null),this._youtubePlayer&&(this._youtubePlayer.destroy(),this._youtubePlayer=null),delete this._element.__unlkYtPlayer,delete this._element.dataset.ytId,delete this._element.__unlkVimeoPlayer,delete this._element.dataset.vimeoId}_getYouTubeId(e){const t=e.match(/(?:youtube\.com\/(?:watch\?v=|embed\/|v\/)|youtu\.be\/)([\w-]{11})/);return t?t[1]:""}_getVimeoId(e){const t=e.match(/vimeo\.com\/(\d+)/);return t?t[1]:""}static get NAME(){return"videoModal"}static jQueryInterface(e){return this.each(function(){fi.getOrCreateInstance(this,e)})}}Qn.on(document,"show.bs.modal",ci,function(){ni.findOne(ui,this)&&fi.getOrCreateInstance(this)._onShow()}),Qn.on(document,"hidden.bs.modal",ci,function(){ni.findOne(ui,this)&&fi.getOrCreateInstance(this)._onHide()}),Sn(fi);class pi extends Zn{_onShown(e){const t=e.target.closest(".accordion-item");if(!t)return;const n=ni.findOne(".accordion-header",t);if(!n)return;n.getBoundingClientRect().top<0&&n.scrollIntoView({behavior:"smooth",block:"start"})}static get NAME(){return"accordionScroll"}static jQueryInterface(e){return this.each(function(){pi.getOrCreateInstance(this,e)})}}Qn.on(document,"shown.bs.collapse",".accordion",function(e){pi.getOrCreateInstance(this)._onShown(e)}),Sn(pi);const gi=".bs.otpInput",mi=`input${gi}`,_i=`complete${gi}`,bi={numeric:/\D/g,alpha:/[^a-zA-Z]/g,alphanumeric:/[^a-zA-Z0-9]/g},vi={numeric:"[0-9]",alpha:"[a-zA-Z]",alphanumeric:"[a-zA-Z0-9]"};class yi extends Zn{constructor(e,t){if(super(e,t),this._input=ni.findOne(".otp-input",this._element),!this._input)return;this._length=this._input.maxLength>0?this._input.maxLength:6,this._type=this._element.dataset.bsType||"numeric";const n=vi[this._type]||vi.numeric;this._input.pattern=`${n}{${this._length}}`,this._mask="true"===this._element.dataset.bsMask,this._groups=this._element.dataset.bsGroups?String(this._element.dataset.bsGroups).split(",").map(Number):[this._length],this._slots=[],this._buildSlots(),this._bindEvents(),this._render()}getValue(){return this._input.value}setValue(e){const t=bi[this._type]||bi.numeric;this._input.value=String(e).replace(t,"").slice(0,this._length),this._render()}clear(){this._input.value="",this._render(),this._input.focus()}_buildSlots(){this._input.style.cssText="position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;overflow:hidden;white-space:nowrap;";const e=document.createElement("div");e.classList.add("otp-slots"),e.setAttribute("aria-hidden","true");let t=0;for(const[n,i]of this._groups.entries()){const s=document.createElement("div");s.classList.add("otp-group");for(let e=0;e<i;e++){const e=document.createElement("div");e.classList.add("otp-slot"),e.dataset.index=t;const n=document.createElement("span");n.classList.add("otp-char");const i=document.createElement("span");i.classList.add("otp-cursor"),e.append(n,i),s.append(e),this._slots.push({slot:e,char:n}),t++}if(e.append(s),n<this._groups.length-1){const t=document.createElement("span");t.classList.add("otp-separator"),t.textContent="–",e.append(t)}}this._element.append(e),this._slotsWrapper=e}_bindEvents(){Qn.on(this._slotsWrapper,"click",()=>{if(this._input.disabled)return;this._input.focus();const e=this._input.value.length;this._input.setSelectionRange(e,e)}),Qn.on(this._input,"focus",()=>this._render()),Qn.on(this._input,"blur",()=>this._render()),Qn.on(this._input,"input",()=>{const e=bi[this._type]||bi.numeric;this._input.value=this._input.value.replace(e,"").slice(0,this._length),this._render(),Qn.trigger(this._element,mi,{value:this._input.value}),this._input.value.length===this._length&&Qn.trigger(this._element,_i,{value:this._input.value})}),Qn.on(this._input,"keydown",e=>{"ArrowLeft"!==e.key&&"ArrowRight"!==e.key||requestAnimationFrame(()=>this._render())})}_render(){const e=this._input.value,t=document.activeElement===this._input?Math.min(e.length,this._length-1):-1,n=this._input.disabled;this._slotsWrapper.classList.toggle("disabled",n);for(const[i,{slot:s,char:o}]of this._slots.entries()){const r=e[i]||"";o.textContent=this._mask&&r?"•":r,s.classList.toggle("otp-slot-active",i===t&&!n),s.classList.toggle("otp-slot-filled",Boolean(r))}}static get NAME(){return"otpInput"}static jQueryInterface(e,...t){return this.each(function(){const n=yi.getOrCreateInstance(this);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](...t)}})}}Qn.on(globalThis,"load",()=>{for(const e of ni.find("[data-bs-otp]"))yi.getOrCreateInstance(e)}),Sn(yi),e.AccordionScroll=pi,e.Alert=D,e.Button=W,e.Carousel=F,e.CarouselCaption=si,e.CarouselHeight=li,e.Collapse=kt,e.Datepicker=ei,e.Dropdown=Tt,e.Modal=Qt,e.Offcanvas=zt,e.OtpInput=yi,e.Popover=un,e.Scrollspy=Xt,e.Tab=_n,e.Toast=pn,e.Tooltip=bn,e.VideoModal=fi});
|
|
66
66
|
//# sourceMappingURL=keymaster.min.js.map
|