vendor: 3,270 bytes, lines 1-5
1import{a7 as pc,a6 as _c,_ as mc,y as gc,N as Ec,b as vc,h as Et,o as L,c as I,a as c,g as vt,m as ce,B as cs,n as Zs,F as ft,r as ue,M as xi,t as ot,f as de,s as bc,i as ht,W as Z}from"./app-BBJKRKD7.js";var Mi={exports:{}};/*! 2 * Bootstrap v5.3.8 (https://getbootstrap.com/) 3 * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 4 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 5 */(function(us,Js){(function(R,et){us.exports=et()})(_c,function(){const R=new Map,et={set(s,t,e){R.has(s)||R.set(s,new Map);const n=R.get(s);if(!n.has(t)&&n.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`);return}n.set(t,e)},get(s,t){return R.has(s)&&R.get(s).get(t)||null},remove(s,t){if(!R.has(s))return;const e=R.get(s);e.delete(t),e.size===0&&R.delete(s)}},Le=1e6,fe=1e3,at="transitionend",Ot=s=>(s&&window.CSS&&window.CSS.escape&&(s=s.replace(/#([^\s"#']+)/g,(t,e)=>`#${CSS.escape(e)}`)),s),bt=s=>s==null?`${s}`:Object.prototype.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase(),lt=s=>{do s+=Math.floor(Math.random()*Le);while(document.getElementById(s));return s},Nt=s=>{if(!s)return 0;let{transitionDuration:t,transitionDelay:e}=window.getComputedStyle(s);const n=Number.parseFloat(t),i=Number.parseFloat(e);return!n&&!i?0:(t=t.split(",")[0],e=e.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(e))*fe)},St=s=>{s.dispatchEvent(new Event(at))},W=s=>!s||typeof s!="object"?!1:(typeof s.jquery<"u"&&(s=s[0]),typeof s.nodeType<"u"),G=s=>W(s)?s.jquery?s[0]:s:typeof s=="string"&&s.length>0?document.querySelector(Ot(s)):null,At=s=>{if(!W(s)||s.getClientRects().length===0)return!1;const t=getComputedStyle(s).getPropertyValue("visibility")==="visible",e=s.closest("details:not([open])");if(!e)return t;if(e!==s){const n=s.closest("summary");if(n&&n.parentNode!==e||n===null)return!1}return t},ct=s=>!s||s.nodeType!==Node.ELEMENT_NODE||s.classList.contains("disabled")?!0:typeof s.disabled<"u"?s.disabled:s.hasAttribute("disabled")&&s.getAttribute("disabled")!=="false",Ie=s=>{if(!document.documentElement.attachShadow)return null;if(typeof s.getRootNode=="function"){const t=s.getRootNode();return t instanceof ShadowRoot?t:null}return s instanceof ShadowRoot?s:s.parentNode?Ie(s.parentNode):null},Dt=()=>{},$t=s=>{s.offsetHeight},he=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,pe=[],ds=s=>{document.readyState==="loading"?(pe.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of pe)t()}),pe.push(s)):s()},Y=()=>document.documentElement.dir==="rtl",U=s=>{ds(()=>{const t=he();if(t){const e=s.NAME,n=t.fn[e];t.fn[e]=s.jQueryInterface,t.fn[e].Constructor=s,t.fn[e].noConflict=()=>(t.fn[e]=n,s.jQueryInterface)}})},V=(s,t=[],e=s)=>typeof s=="function"?s.call(...t):e,xe=(s,t,e=!0)=>{if(!e){V(s);return}const i=Nt(t)+5;let r=!1;const o=({target:a})=>{a===t&&(r=!0,t.removeEventListener(at,o),V(s))};t.addEventListener(at,o),setTimeout(()=>{r||St(t)},i)},_e=(s,t,e,n)=>{const i=s.length;let r=s.indexOf(t);return r===-1?!e&&n?s[i-1]:s[0]:(r+=e?1:-1,n&&(r=(r+i)%i),s[Math.max(0,Math.min(r,i-1))])},fs=/[^.]*(?=\..*)\.|.*/,Me=/\..*/,hs=/::\d+$/,me={};let Ut=1;
vendor: 9,759 bytes, line 5
5const ke={mouseenter:"mouseover",mouseleave:"mouseout"},Pe=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 Re(s,t){return t&&`${t}::${Ut++}`||s.uidEvent||Ut++}function Ve(s){const t=Re(s);return s.uidEvent=t,me[t]=me[t]||{},me[t]}function h(s,t){return function e(n){return ps(n,{delegateTarget:s}),e.oneOff&&l.off(s,n.type,t),t.apply(s,[n])}}function u(s,t,e){return function n(i){const r=s.querySelectorAll(t);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(const a of r)if(a===o)return ps(i,{delegateTarget:o}),n.oneOff&&l.off(s,i.type,t,e),e.apply(o,[i])}}function p(s,t,e=null){return Object.values(s).find(n=>n.callable===t&&n.delegationSelector===e)}function x(s,t,e){const n=typeof t=="string",i=n?e:t||e;let r=ge(s);return Pe.has(r)||(r=s),[n,i,r]}function B(s,t,e,n,i){if(typeof t!="string"||!s)return;let[r,o,a]=x(t,e,n);t in ke&&(o=(O=>function(b){if(!b.relatedTarget||b.relatedTarget!==b.delegateTarget&&!b.delegateTarget.contains(b.relatedTarget))return O.call(this,b)})(o));const d=Ve(s),_=d[a]||(d[a]={}),f=p(_,o,r?e:null);if(f){f.oneOff=f.oneOff&&i;return}const E=Re(o,t.replace(fs,"")),v=r?u(s,e,o):h(s,o);v.delegationSelector=r?e:null,v.callable=o,v.oneOff=i,v.uidEvent=E,_[E]=v,s.addEventListener(a,v,r)}function T(s,t,e,n,i){const r=p(t[e],n,i);r&&(s.removeEventListener(e,r,!!i),delete t[e][r.uidEvent])}function He(s,t,e,n){const i=t[e]||{};for(const[r,o]of Object.entries(i))r.includes(n)&&T(s,t,e,o.callable,o.delegationSelector)}function ge(s){return s=s.replace(Me,""),ke[s]||s}const l={on(s,t,e,n){B(s,t,e,n,!1)},one(s,t,e,n){B(s,t,e,n,!0)},off(s,t,e,n){if(typeof t!="string"||!s)return;const[i,r,o]=x(t,e,n),a=o!==t,d=Ve(s),_=d[o]||{},f=t.startsWith(".");if(typeof r<"u"){if(!Object.keys(_).length)return;T(s,d,o,r,i?e:null);return}if(f)for(const E of Object.keys(d))He(s,d,E,t.slice(1));for(const[E,v]of Object.entries(_)){const g=E.replace(hs,"");(!a||t.includes(g))&&T(s,d,o,v.callable,v.delegationSelector)}},trigger(s,t,e){if(typeof t!="string"||!s)return null;const n=he(),i=ge(t),r=t!==i;let o=null,a=!0,d=!0,_=!1;r&&n&&(o=n.Event(t,e),n(s).trigger(o),a=!o.isPropagationStopped(),d=!o.isImmediatePropagationStopped(),_=o.isDefaultPrevented());const f=ps(new Event(t,{bubbles:a,cancelable:!0}),e);return _&&f.preventDefault(),d&&s.dispatchEvent(f),f.defaultPrevented&&o&&o.preventDefault(),f}};function ps(s,t={}){for(const[e,n]of Object.entries(t))try{s[e]=n}catch{Object.defineProperty(s,e,{configurable:!0,get(){return n}})}return s}function tn(s){if(s==="true")return!0;if(s==="false")return!1;if(s===Number(s).toString())return Number(s);if(s===""||s==="null")return null;if(typeof s!="string")return s;try{return JSON.parse(decodeURIComponent(s))}catch{return s}}function _s(s){return s.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const pt={setDataAttribute(s,t,e){s.setAttribute(`data-bs-${_s(t)}`,e)},removeDataAttribute(s,t){s.removeAttribute(`data-bs-${_s(t)}`)},getDataAttributes(s){if(!s)return{};const t={},e=Object.keys(s.dataset).filter(n=>n.startsWith("bs")&&!n.startsWith("bsConfig"));for(const n of e){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1),t[i]=tn(s.dataset[n])}return t},getDataAttribute(s,t){return tn(s.getAttribute(`data-bs-${_s(t)}`))}};class Ee{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(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const n=W(e)?pt.getDataAttribute(e,"config"):{};return{...this.constructor.Default,...typeof n=="object"?n:{},...W(e)?pt.getDataAttributes(e):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[n,i]of Object.entries(e)){const r=t[n],o=W(r)?"element":bt(r);if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${o}" but expected type "${i}".`)}}}const ki="5.3.8";class st extends Ee{constructor(t,e){super(),t=G(t),t&&(this._element=t,this._config=this._getConfig(e),et.set(this._element,this.constructor.DATA_KEY,this))}dispose(){et.remove(this._element,this.constructor.DATA_KEY),l.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,n=!0){xe(t,e,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return et.get(G(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,typeof e=="object"?e:null)}static get VERSION(){return ki}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const ms=s=>{let t=s.getAttribute("data-bs-target");if(!t||t==="#"){let e=s.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e=`#${e.split("#")[1]}`),t=e&&e!=="#"?e.trim():null}return t?t.split(",").map(e=>Ot(e)).join(","):null},m={find(s,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,s))},findOne(s,t=document.documentElement){return Element.prototype.querySelector.call(t,s)},children(s,t){return[].concat(...s.children).filter(e=>e.matches(t))},parents(s,t){const e=[];let n=s.parentNode.closest(t);for(;n;)e.push(n),n=n.parentNode.closest(t);return e},prev(s,t){let e=s.previousElementSibling;for(;e;){if(e.matches(t))return[e];e=e.previousElementSibling}return[]},next(s,t){let e=s.nextElementSibling;for(;e;){if(e.matches(t))return[e];e=e.nextElementSibling}return[]},focusableChildren(s){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,s).filter(e=>!ct(e)&&At(e))},getSelectorFromElement(s){const t=ms(s);return t&&m.findOne(t)?t:null},getElementFromSelector(s){const t=ms(s);return t?m.findOne(t):null},getMultipleElementsFromSelector(s){const t=ms(s);return t?m.find(t):[]}},We=(s,t="hide")=>{const e=`click.dismiss${s.EVENT_KEY}`,n=s.NAME;l.on(document,e,`[data-bs-dismiss="${n}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),ct(this))return;const r=m.getElementFromSelector(this)||this.closest(`.${n}`);s.getOrCreateInstance(r)[t]()})},Pi="alert",en=".bs.alert",Ri=`close${en}`,Vi=`closed${en}`,Hi="fade",Wi="show";class ve extends st{static get NAME(){return Pi}close(){if(l.trigger(this._element,Ri).defaultPrevented)return;this._element.classList.remove(Wi);const e=this._element.classList.contains(Hi);this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),l.trigger(this._element,Vi),this.dispose()}static jQueryInterface(t){return this.each(function(){const e=ve.getOrCreateInstance(this);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}We(ve,"close"),U(ve);const Bi="button",Fi=".bs.button",ji=".data-api",Ki="active",sn='[data-bs-toggle="button"]',Yi=`click${Fi}${ji}`;class be extends st{static get NAME(){return Bi}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Ki))}static jQueryInterface(t){return this.each(function(){const e=be.getOrCreateInstance(this);t==="toggle"&&e[t]()})}}l.on(document,Yi,sn,s=>{s.preventDefault();const t=s.target.closest(sn);be.getOrCreateInstance(t).toggle()}),U(be);const Ui="swipe",Gt=".bs.swipe",Gi=`touchstart${Gt}`,zi=`touchmove${Gt}`,qi=`touchend${Gt}`,Xi=`pointerdown${Gt}`,Qi=`pointerup${Gt}`,Zi="touch",Ji="pen",tr="pointer-event",er=40,sr={endCallback:null,leftCallback:null,rightCallback:null},nr={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Be extends Ee{constructor(t,e){super(),this._element=t,!(!t||!Be.isSupported())&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return sr}static get DefaultType(){return nr}static get NAME(){return Ui}dispose(){l.off(this._element,Gt)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),V(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=er)return;const e=t/this._deltaX;this._deltaX=0,e&&V(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(l.on(this._element,Xi,t=>this._start(t)),l.on(this._element,Qi,t=>this._end(t)),this._element.classList.add(tr)):(l.on(this._element,Gi,t=>this._start(t)),l.on(this._element,zi,t=>this._move(t)),l.on(this._element,qi,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===Ji||t.pointerType===Zi)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}
vendor: 1,564 bytes, line 5
5const ir="carousel",yt=".bs.carousel",nn=".data-api",rr="ArrowLeft",or="ArrowRight",ar=500,Ae="next",zt="prev",qt="left",Fe="right",lr=`slide${yt}`,gs=`slid${yt}`,cr=`keydown${yt}`,ur=`mouseenter${yt}`,dr=`mouseleave${yt}`,fr=`dragstart${yt}`,hr=`load${yt}${nn}`,pr=`click${yt}${nn}`,rn="carousel",je="active",_r="slide",mr="carousel-item-end",gr="carousel-item-start",Er="carousel-item-next",vr="carousel-item-prev",on=".active",an=".carousel-item",br=on+an,Ar=".carousel-item img",yr=".carousel-indicators",Tr="[data-bs-slide], [data-bs-slide-to]",wr='[data-bs-ride="carousel"]',Cr={[rr]:Fe,[or]:qt},Or={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Nr={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Xt extends st{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=m.findOne(yr,this._element),this._addEventListeners(),this._config.ride===rn&&this.cycle()}static get Default(){return Or}static get DefaultType(){return Nr}static get NAME(){return ir}next(){this._slide(Ae)}nextWhenVisible(){!document.hidden&&At(this._element)&&this.next()}prev(){this._slide(zt)}pause(){this._isSliding&&St(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){l.one(this._element,gs,(
vendor: 5,371 bytes, line 5
5)=>this.cycle());return}this.cycle()}}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding){l.one(this._element,gs,()=>this.to(t));return}const n=this._getItemIndex(this._getActive());if(n===t)return;const i=t>n?Ae:zt;this._slide(i,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&l.on(this._element,cr,t=>this._keydown(t)),this._config.pause==="hover"&&(l.on(this._element,ur,()=>this.pause()),l.on(this._element,dr,()=>this._maybeEnableCycle())),this._config.touch&&Be.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of m.find(Ar,this._element))l.on(n,fr,i=>i.preventDefault());const e={leftCallback:()=>this._slide(this._directionToOrder(qt)),rightCallback:()=>this._slide(this._directionToOrder(Fe)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),ar+this._config.interval))}};this._swipeHelper=new Be(this._element,e)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=Cr[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=m.findOne(on,this._indicatorsElement);e.classList.remove(je),e.removeAttribute("aria-current");const n=m.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(je),n.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const n=this._getActive(),i=t===Ae,r=e||_e(this._getItems(),n,i,this._config.wrap);if(r===n)return;const o=this._getItemIndex(r),a=g=>l.trigger(this._element,g,{relatedTarget:r,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:o});if(a(lr).defaultPrevented||!n||!r)return;const _=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=r;const f=i?gr:mr,E=i?Er:vr;r.classList.add(E),$t(r),n.classList.add(f),r.classList.add(f);const v=()=>{r.classList.remove(f,E),r.classList.add(je),n.classList.remove(je,E,f),this._isSliding=!1,a(gs)};this._queueCallback(v,n,this._isAnimated()),_&&this.cycle()}_isAnimated(){return this._element.classList.contains(_r)}_getActive(){return m.findOne(br,this._element)}_getItems(){return m.find(an,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return Y()?t===qt?zt:Ae:t===qt?Ae:zt}_orderToDirection(t){return Y()?t===zt?qt:Fe:t===zt?Fe:qt}static jQueryInterface(t){return this.each(function(){const e=Xt.getOrCreateInstance(this,t);if(typeof t=="number"){e.to(t);return}if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}}l.on(document,pr,Tr,function(s){const t=m.getElementFromSelector(this);if(!t||!t.classList.contains(rn))return;s.preventDefault();const e=Xt.getOrCreateInstance(t),n=this.getAttribute("data-bs-slide-to");if(n){e.to(n),e._maybeEnableCycle();return}if(pt.getDataAttribute(this,"slide")==="next"){e.next(),e._maybeEnableCycle();return}e.prev(),e._maybeEnableCycle()}),l.on(window,hr,()=>{const s=m.find(wr);for(const t of s)Xt.getOrCreateInstance(t)}),U(Xt);const Sr="collapse",ye=".bs.collapse",Dr=".data-api",$r=`show${ye}`,Lr=`shown${ye}`,Ir=`hide${ye}`,xr=`hidden${ye}`,Mr=`click${ye}${Dr}`,Es="show",Qt="collapse",Ke="collapsing",kr="collapsed",Pr=`:scope .${Qt} .${Qt}`,Rr="collapse-horizontal",Vr="width",Hr="height",Wr=".collapse.show, .collapse.collapsing",vs='[data-bs-toggle="collapse"]',Br={parent:null,toggle:!0},Fr={parent:"(null|element)",toggle:"boolean"};class Zt extends st{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const n=m.find(vs);for(const i of n){const r=m.getSelectorFromElement(i),o=m.find(r).filter(a=>a===this._element);r!==null&&o.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Br}static get DefaultType(){return Fr}static get NAME(){return Sr}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(Wr).filter(a=>a!==this._element).map(a=>Zt.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||l.trigger(this._element,$r).defaultPrevented)return;for(const a of t)a.hide();const n=this._getDimension();this._element.classList.remove(Qt),this._element.classList.add(Ke),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(Ke),this._element.classList.add(Qt,Es),this._element.style[n]="",l.trigger(this._element,Lr)},o=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[n]=`${this._element[o]}
5px`}hide(){if(this._isTransitioning||!this._isShown()||l.trigger(this._element,Ir).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,$t(this._element),this._element.classList.add(Ke),this._element.classList.remove(Qt,Es);for(const i of this._triggerArray){const r=m.getElementFromSelector(i);r&&!this._isShown(r)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(Ke),this._element.classList.add(Qt),l.trigger(this._element,xr)};this._element.style[e]="",this._queueCallback(n,this._element,!0)}_isShown(t=this._element){return t.classList.contains(Es)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=G(t.parent),t}_getDimension(){return this._element.classList.contains(Rr)?Vr:Hr}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(vs);for(const e of t){const n=m.getElementFromSelector(e);n&&this._addAriaAndCollapsedClass([e],this._isShown(n))}}_getFirstLevelChildren(t){const e=m.find(Pr,this._config.parent);return m.find(t,this._config.parent).filter(n=>!e.includes(n))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const n of t)n.classList.toggle(kr,!e),n.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return typeof t=="string"&&/show|hide/.test(t)&&(e.toggle=!1),this.each(function(){const n=Zt.getOrCreateInstance(this,e);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}l.on(document,Mr,vs,function(s){(s.target.tagName==="A"||s.delegateTarget&&s.delegateTarget.tagName==="A")&&s.preventDefault();for(const t of m.getMultipleElementsFromSelector(this))Zt.getOrCreateInstance(t,{toggle:!1}).toggle()}),U(Zt);var F="top",z="bottom",q="right",j="left",Ye="auto",Jt=[F,z,q,j],Lt="start",te="end",ln="clippingParents",bs="viewport",ee="popper",cn="reference",As=Jt.reduce(function(s,t){return s.concat([t+"-"+Lt,t+"-"+te])},[]),ys=[].concat(Jt,[Ye]).reduce(function(s,t){return s.concat([t,t+"-"+Lt,t+"-"+te])},[]),un="beforeRead",dn="read",fn="afterRead",hn="beforeMain",pn="main",_n="afterMain",mn="beforeWrite",gn="write",En="afterWrite",vn=[un,dn,fn,hn,pn,_n,mn,gn,En];function ut(s){return s?(s.nodeName||"").toLowerCase():null}function X(s){if(s==null)return window;if(s.toString()!=="[object Window]"){var t=s.ownerDocument;return t&&t.defaultView||window}return s}function It(s){var t=X(s).Element;return s instanceof t||s instanceof Element}function J(s){var t=X(s).HTMLElement;return s instanceof t||s instanceof HTMLElement}function Ts(s){if(typeof ShadowRoot>"u")return!1;var t=X(s).ShadowRoot;return s instanceof t||s instanceof ShadowRoot}function jr(s){var t=s.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},r=t.elements[e];
vendor: 16,899 bytes, line 5
5!J(r)||!ut(r)||(Object.assign(r.style,n),Object.keys(i).forEach(function(o){var a=i[o];a===!1?r.removeAttribute(o):r.setAttribute(o,a===!0?"":a)}))})}function Kr(s){var t=s.state,e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,e.popper),t.styles=e,t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],r=t.attributes[n]||{},o=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:e[n]),a=o.reduce(function(d,_){return d[_]="",d},{});!J(i)||!ut(i)||(Object.assign(i.style,a),Object.keys(r).forEach(function(d){i.removeAttribute(d)}))})}}const ws={name:"applyStyles",enabled:!0,phase:"write",fn:jr,effect:Kr,requires:["computeStyles"]};function dt(s){return s.split("-")[0]}var xt=Math.max,Ue=Math.min,se=Math.round;function Cs(){var s=navigator.userAgentData;return s!=null&&s.brands&&Array.isArray(s.brands)?s.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function bn(){return!/^((?!chrome|android).)*safari/i.test(Cs())}function ne(s,t,e){t===void 0&&(t=!1),e===void 0&&(e=!1);var n=s.getBoundingClientRect(),i=1,r=1;t&&J(s)&&(i=s.offsetWidth>0&&se(n.width)/s.offsetWidth||1,r=s.offsetHeight>0&&se(n.height)/s.offsetHeight||1);var o=It(s)?X(s):window,a=o.visualViewport,d=!bn()&&e,_=(n.left+(d&&a?a.offsetLeft:0))/i,f=(n.top+(d&&a?a.offsetTop:0))/r,E=n.width/i,v=n.height/r;return{width:E,height:v,top:f,right:_+E,bottom:f+v,left:_,x:_,y:f}}function Os(s){var t=ne(s),e=s.offsetWidth,n=s.offsetHeight;return Math.abs(t.width-e)<=1&&(e=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:s.offsetLeft,y:s.offsetTop,width:e,height:n}}function An(s,t){var e=t.getRootNode&&t.getRootNode();if(s.contains(t))return!0;if(e&&Ts(e)){var n=t;do{if(n&&s.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function _t(s){return X(s).getComputedStyle(s)}function Yr(s){return["table","td","th"].indexOf(ut(s))>=0}function Tt(s){return((It(s)?s.ownerDocument:s.document)||window.document).documentElement}function Ge(s){return ut(s)==="html"?s:s.assignedSlot||s.parentNode||(Ts(s)?s.host:null)||Tt(s)}function yn(s){return!J(s)||_t(s).position==="fixed"?null:s.offsetParent}function Ur(s){var t=/firefox/i.test(Cs()),e=/Trident/i.test(Cs());if(e&&J(s)){var n=_t(s);if(n.position==="fixed")return null}var i=Ge(s);for(Ts(i)&&(i=i.host);J(i)&&["html","body"].indexOf(ut(i))<0;){var r=_t(i);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||t&&r.willChange==="filter"||t&&r.filter&&r.filter!=="none")return i;i=i.parentNode}return null}function Te(s){for(var t=X(s),e=yn(s);e&&Yr(e)&&_t(e).position==="static";)e=yn(e);return e&&(ut(e)==="html"||ut(e)==="body"&&_t(e).position==="static")?t:e||Ur(s)||t}function Ns(s){return["top","bottom"].indexOf(s)>=0?"x":"y"}function we(s,t,e){return xt(s,Ue(t,e))}function Gr(s,t,e){var n=we(s,t,e);return n>e?e:n}function Tn(){return{top:0,right:0,bottom:0,left:0}}function wn(s){return Object.assign({},Tn(),s)}function Cn(s,t){return t.reduce(function(e,n){return e[n]=s,e},{})}var zr=function(t,e){return t=typeof t=="function"?t(Object.assign({},e.rects,{placement:e.placement})):t,wn(typeof t!="number"?t:Cn(t,Jt))};function qr(s){var t,e=s.state,n=s.name,i=s.options,r=e.elements.arrow,o=e.modifiersData.popperOffsets,a=dt(e.placement),d=Ns(a),_=[j,q].indexOf(a)>=0,f=_?"height":"width";if(!(!r||!o)){var E=zr(i.padding,e),v=Os(r),g=d==="y"?F:j,O=d==="y"?z:q,b=e.rects.reference[f]+e.rects.reference[d]-o[d]-e.rects.popper[f],y=o[d]-e.rects.reference[d],N=Te(r),D=N?d==="y"?N.clientHeight||0:N.clientWidth||0:0,$=b/2-y/2,A=E[g],w=D-v[f]-E[O],C=D/2-v[f]/2+$,S=we(A,C,w),P=d;e.modifiersData[n]=(t={},t[P]=S,t.centerOffset=S-C,t)}}function Xr(s){var t=s.state,e=s.options,n=e.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||An(t.elements.popper,i)&&(t.elements.arrow=i))}const On={name:"arrow",enabled:!0,phase:"main",fn:qr,effect:Xr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ie(s){return s.split("-")[1]}var Qr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Zr(s,t){var e=s.x,n=s.y,i=t.devicePixelRatio||1;return{x:se(e*i)/i||0,y:se(n*i)/i||0}}function Nn(s){var t,e=s.popper,n=s.popperRect,i=s.placement,r=s.variation,o=s.offsets,a=s.position,d=s.gpuAcceleration,_=s.adaptive,f=s.roundOffsets,E=s.isFixed,v=o.x,g=v===void 0?0:v,O=o.y,b=O===void 0?0:O,y=typeof f=="function"?f({x:g,y:b}):{x:g,y:b};g=y.x,b=y.y;var N=o.hasOwnProperty("x"),D=o.hasOwnProperty("y"),$=j,A=F,w=window;if(_){var C=Te(e),S="clientHeight",P="clientWidth";if(C===X(e)&&(C=Tt(e),_t(C).position!=="static"&&a==="absolute"&&(S="scrollHeight",P="scrollWidth")),C=C,i===F||(i===j||i===q)&&r===te){A=z;var k=E&&C===w&&w.visualViewport?w.visualViewport.height:C[S];b-=k-n.height,b*=d?1:-1}if(i===j||(i===F||i===z)&&r===te){$=q;var M=E&&C===w&&w.visualViewport?w.visualViewport.width:C[P];g-=M-n.width,g*=d?1:-1}}var H=Object.assign({position:a},_&&Qr),it=f===!0?Zr({x:g,y:b},X(e)):{x:g,y:b};if(g=it.x,b=it.y,d){var K;return Object.assign({},H,(K={},K[A]=D?"0":"",K[$]=N?"0":"",K.transform=(w.devicePixelRatio||1)<=1?"translate("+g+"px, "+b+"px)":"translate3d("+g+"px, "+b+"px, 0)",K))}return Object.assign({},H,(t={},t[A]=D?b+"px":"",t[$]=N?g+"px":"",t.transform="",t))}function Jr(s){var t=s.state,e=s.options,n=e.gpuAcceleration,i=n===void 0?!0:n,r=e.adaptive,o=r===void 0?!0:r,a=e.roundOffsets,d=a===void 0?!0:a,_={placement:dt(t.placement),variation:ie(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Nn(Object.assign({},_,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:d})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Nn(Object.assign({},_,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Ss={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Jr,data:{}};var ze={passive:!0};function to(s){var t=s.state,e=s.instance,n=s.options,i=n.scroll,r=i===void 0?!0:i,o=n.resize,a=o===void 0?!0:o,d=X(t.elements.popper),_=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&_.forEach(function(f){f.addEventListener("scroll",e.update,ze)}),a&&d.addEventListener("resize",e.update,ze),function(){r&&_.forEach(function(f){f.removeEventListener("scroll",e.update,ze)}),a&&d.removeEventListener("resize",e.update,ze)}}const Ds={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:to,data:{}};var eo={left:"right",right:"left",bottom:"top",top:"bottom"};function qe(s){return s.replace(/left|right|bottom|top/g,function(t){return eo[t]})}var so={start:"end",end:"start"};function Sn(s){return s.replace(/start|end/g,function(t){return so[t]})}function $s(s){var t=X(s),e=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:e,scrollTop:n}}function Ls(s){return ne(Tt(s)).left+$s(s).scrollLeft}function no(s,t){var e=X(s),n=Tt(s),i=e.visualViewport,r=n.clientWidth,o=n.clientHeight,a=0,d=0;if(i){r=i.width,o=i.height;var _=bn();(_||!_&&t==="fixed")&&(a=i.offsetLeft,d=i.offsetTop)}return{width:r,height:o,x:a+Ls(s),y:d}}function io(s){var t,e=Tt(s),n=$s(s),i=(t=s.ownerDocument)==null?void 0:t.body,r=xt(e.scrollWidth,e.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=xt(e.scrollHeight,e.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-n.scrollLeft+Ls(s),d=-n.scrollTop;return _t(i||e).direction==="rtl"&&(a+=xt(e.clientWidth,i?i.clientWidth:0)-r),{width:r,height:o,x:a,y:d}}function Is(s){var t=_t(s),e=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(e+i+n)}function Dn(s){return["html","body","#document"].indexOf(ut(s))>=0?s.ownerDocument.body:J(s)&&Is(s)?s:Dn(Ge(s))}function Ce(s,t){var e;t===void 0&&(t=[]);var n=Dn(s),i=n===((e=s.ownerDocument)==null?void 0:e.body),r=X(n),o=i?[r].concat(r.visualViewport||[],Is(n)?n:[]):n,a=t.concat(o);return i?a:a.concat(Ce(Ge(o)))}function xs(s){return Object.assign({},s,{left:s.x,top:s.y,right:s.x+s.width,bottom:s.y+s.height})}function ro(s,t){var e=ne(s,!1,t==="fixed");return e.top=e.top+s.clientTop,e.left=e.left+s.clientLeft,e.bottom=e.top+s.clientHeight,e.right=e.left+s.clientWidth,e.width=s.clientWidth,e.height=s.clientHeight,e.x=e.left,e.y=e.top,e}function $n(s,t,e){return t===bs?xs(no(s,e)):It(t)?ro(t,e):xs(io(Tt(s)))}function oo(s){var t=Ce(Ge(s)),e=["absolute","fixed"].indexOf(_t(s).position)>=0,n=e&&J(s)?Te(s):s;return It(n)?t.filter(function(i){return It(i)&&An(i,n)&&ut(i)!=="body"}):[]}function ao(s,t,e,n){var i=t==="clippingParents"?oo(s):[].concat(t),r=[].concat(i,[e]),o=r[0],a=r.reduce(function(d,_){var f=$n(s,_,n);return d.top=xt(f.top,d.top),d.right=Ue(f.right,d.right),d.bottom=Ue(f.bottom,d.bottom),d.left=xt(f.left,d.left),d},$n(s,o,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Ln(s){var t=s.reference,e=s.element,n=s.placement,i=n?dt(n):null,r=n?ie(n):null,o=t.x+t.width/2-e.width/2,a=t.y+t.height/2-e.height/2,d;switch(i){case F:d={x:o,y:t.y-e.height};break;case z:d={x:o,y:t.y+t.height};break;case q:d={x:t.x+t.width,y:a};break;case j:d={x:t.x-e.width,y:a};break;default:d={x:t.x,y:t.y}}var _=i?Ns(i):null;if(_!=null){var f=_==="y"?"height":"width";switch(r){case Lt:d[_]=d[_]-(t[f]/2-e[f]/2);break;case te:d[_]=d[_]+(t[f]/2-e[f]/2);break}}return d}function re(s,t){t===void 0&&(t={});var e=t,n=e.placement,i=n===void 0?s.placement:n,r=e.strategy,o=r===void 0?s.strategy:r,a=e.boundary,d=a===void 0?ln:a,_=e.rootBoundary,f=_===void 0?bs:_,E=e.elementContext,v=E===void 0?ee:E,g=e.altBoundary,O=g===void 0?!1:g,b=e.padding,y=b===void 0?0:b,N=wn(typeof y!="number"?y:Cn(y,Jt)),D=v===ee?cn:ee,$=s.rects.popper,A=s.elements[O?D:v],w=ao(It(A)?A:A.contextElement||Tt(s.elements.popper),d,f,o),C=ne(s.elements.reference),S=Ln({reference:C,element:$,placement:i}),P=xs(Object.assign({},$,S)),k=v===ee?P:C,M={top:w.top-k.top+N.top,bottom:k.bottom-w.bottom+N.bottom,left:w.left-k.left+N.left,right:k.right-w.right+N.right},H=s.modifiersData.offset;if(v===ee&&H){var it=H[i];Object.keys(M).forEach(function(K){var Bt=[q,z].indexOf(K)>=0?1:-1,Ft=[F,z].indexOf(K)>=0?"y":"x";M[K]+=it[Ft]*Bt})}return M}function lo(s,t){t===void 0&&(t={});var e=t,n=e.placement,i=e.boundary,r=e.rootBoundary,o=e.padding,a=e.flipVariations,d=e.allowedAutoPlacements,_=d===void 0?ys:d,f=ie(n),E=f?a?As:As.filter(function(O){return ie(O)===f}):Jt,v=E.filter(function(O){return _.indexOf(O)>=0});v.length===0&&(v=E);var g=v.reduce(function(O,b){return O[b]=re(s,{placement:b,boundary:i,rootBoundary:r,padding:o})[dt(b)],O},{});return Object.keys(g).sort(function(O,b){return g[O]-g[b]})}function co(s){if(dt(s)===Ye)return[];var t=qe(s);return[Sn(s),t,Sn(t)]}function uo(s){var t=s.state,e=s.options,n=s.name;if(!t.modifiersData[n]._skip){for(var i=e.mainAxis,r=i===void 0?!0:i,o=e.altAxis,a=o===void 0?!0:o,d=e.fallbackPlacements,_=e.padding,f=e.boundary,E=e.rootBoundary,v=e.altBoundary,g=e.flipVariations,O=g===void 0?!0:g,b=e.allowedAutoPlacements,y=t.options.placement,N=dt(y),D=N===y,$=d||(D||!O?[qe(y)]:co(y)),A=[y].concat($).reduce(function(le,Ct){return le.concat(dt(Ct)===Ye?lo(t,{placement:Ct,boundary:f,rootBoundary:E,padding:_,flipVariations:O,allowedAutoPlacements:b}):Ct)},[]),w=t.rects.reference,C=t.rects.popper,S=new Map,P=!0,k=A[0],M=0;M<A.length;M++){var H=A[M],it=dt(H),K=ie(H)===Lt,Bt=[F,z].indexOf(it)>=0,Ft=Bt?"width":"height",Q=re(t,{placement:H,boundary:f,rootBoundary:E,altBoundary:v,padding:_}),rt=Bt?K?q:j:K?z:F;w[Ft]>C[Ft]&&(rt=qe(rt));var is=qe(rt),jt=[];if(r&&jt.push(Q[it]<=0),a&&jt.push(Q[rt]<=0,Q[is]<=0),jt.every(function(le){return le})){k=H,P=!1;break}S.set(H,jt)}if(P)for(var rs=O?3:1,zs=function(Ct){var $e=A.find(function(as){var Kt=S.get(as);if(Kt)return Kt.slice(0,Ct).every(function(qs){return qs})});if($e)return k=$e,"break"},De=rs;De>0;De--){var os=zs(De);if(os==="break")break}t.placement!==k&&(t.modifiersData[n]._skip=!0,t.placement=k,t.reset=!0)}}const In={name:"flip",enabled:!0,phase:"main",fn:uo,requiresIfExists:["offset"],data:{_skip:!1}};function xn(s,t,e){return e===void 0&&(e={x:0,y:0}),{top:s.top-t.height-e.y,right:s.right-t.width+e.x,bottom:s.bottom-t.height+e.y,left:s.left-t.width-e.x}}function Mn(s){return[F,q,z,j].some(function(t){return s[t]>=0})}function fo(s){var t=s.state,e=s.name,n=t.rects.reference,i=t.rects.popper,r=t.modifiersData.preventOverflow,o=re(t,{elementContext:"reference"}),a=re(t,{altBoundary:!0}),d=xn(o,n),_=xn(a,i,r),f=Mn(d),E=Mn(_);t.modifiersData[e]={referenceClippingOffsets:d,popperEscapeOffsets:_,isReferenceHidden:f,hasPopperEscaped:E},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":E})}const kn={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:fo};function ho(s,t,e){var n=dt(s),i=[j,F].indexOf(n)>=0?-1:1,r=typeof e=="function"?e(Object.assign({},t,{placement:s})):e,o=r[0],a=r[1];return o=o||0,a=(a||0)*i,[j,q].indexOf(n)>=0?{x:a,y:o}:{x:o,y:a}}function po(s){var t=s.state,e=s.options,n=s.name,i=e.offset,r=i===void 0?[0,0]:i,o=ys.reduce(function(f,E){return f[E]=ho(E,t.rects,r),f},{}),a=o[t.placement],d=a.x,_=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=_),t.modifiersData[n]=o}const Pn={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:po};function _o(s){var t=s.state,e=s.name;t.modifiersData[e]=Ln({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Ms={name:"popperOffsets",enabled:!0,phase:"read",fn:_o,data:{}};function mo(s){return s==="x"?"y":"x"}function go(s){var t=s.state,e=s.options,n=s.name,i=e.mainAxis,r=i===void 0?!0:i,o=e.altAxis,a=o===void 0?!1:o,d=e.boundary,_=e.rootBoundary,f=e.altBoundary,E=e.padding,v=e.tether,g=v===void 0?!0:v,O=e.tetherOffset,b=O===void 0?0:O,y=re(t,{boundary:d,rootBoundary:_,padding:E,altBoundary:f}),N=dt(t.placement),D=ie(t.placement),$=!D,A=Ns(N),w=mo(A),C=t.modifiersData.popperOffsets,S=t.rects.reference,P=t.rects.popper,k=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,M=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),H=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,it={x:0,y:0};if(C){if(r){var K,Bt=A==="y"?F:j,Ft=A==="y"?z:q,Q=A==="y"?"height":"width",rt=C[A],is=rt+y[Bt],jt=rt-y[Ft],rs=g?-P[Q]/2:0,zs=D===Lt?S[Q]:P[Q],De=D===Lt?-P[Q]:-S[Q],os=t.elements.arrow,le=g&&os?Os(os):{width:0,height:0},Ct=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Tn(),$e=Ct[Bt],as=Ct[Ft],Kt=we(0,S[Q],le[Q]),qs=$?S[Q]/2-rs-Kt-$e-M.mainAxis:zs-Kt-$e-M.mainAxis,lc=$?-S[Q]/2+rs+Kt+as+M.mainAxis:De+Kt+as+M.mainAxis,Xs=t.elements.arrow&&Te(t.elements.arrow),cc=Xs?A==="y"?Xs.clientTop||0:Xs.clientLeft||0:0,wi=(K=H==null?void 0:H[A])!=null?K:0,uc=rt+qs-wi-cc,dc=rt+lc-wi,Ci=we(g?Ue(is,uc):is,rt,g?xt(jt,dc):jt);C[A]=Ci,it[A]=Ci-rt}if(a){var Oi,fc=A==="x"?F:j,hc=A==="x"?z:q,Yt=C[w],ls=w==="y"?"height":"width",Ni=Yt+y[fc],Si=Yt-y[hc],Qs=[F,j].indexOf(N)!==-1,Di=(Oi=H==null?void 0:H[w])!=null?Oi:0,$i=Qs?Ni:Yt-S[ls]-P[ls]-Di+M.altAxis,Li=Qs?Yt+S[ls]+P[ls]-Di-M.altAxis:Si,Ii=g&&Qs?Gr($i,Yt,Li):we(g?$i:Ni,Yt,g?Li:Si);C[w]=Ii,it[w]=Ii-Yt}t.modifiersData[n]=it}}const Rn={name:"preventOverflow",enabled:!0,phase:"main",fn:go,requiresIfExists:["offset"]};function Eo(s){return{scrollLeft:s.scrollLeft,scrollTop:s.scrollTop}}function vo(s){return s===X(s)||!J(s)?$s(s):Eo(s)}function bo(s){var t=s.getBoundingClientRect(),e=se(t.width)/s.offsetWidth||1,n=se(t.height)/s.offsetHeight||1;return e!==1||n!==1}function Ao(s,t,e){e===void 0&&(e=!1);var n=J(t),i=J(t)&&bo(t),r=Tt(t),o=ne(s,i,e),a={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(n||!n&&!e)&&((ut(t)!=="body"||Is(r))&&(a=vo(t)),J(t)?(d=ne(t,!0),d.x+=t.clientLeft,d.y+=t.clientTop):r&&(d.x=Ls(r))),{x:o.left+a.scrollLeft-d.x,y:o.top+a.scrollTop-d.y,width:o.width,height:o.height}}function yo(s){var t=new Map,e=new Set,n=[];s.forEach(function(r){t.set(r.name,r)});function i(r){e.add(r.name);var o=[].concat(r.requires||[],r.requiresIfExists||[]);o.forEach(function(a){if(!e.has(a)){var d=t.get(a);d&&i(d)}}),n.push(r)}return s.forEach(function(r){e.has(r.name)||i(r)}),n}function To(s){var t=yo(s);return vn.reduce(function(e,n){return e.concat(t.filter(function(i){return i.phase===n}))},[])}function wo(s){var t;return function(){return t||(t=new Promise(function(e){Promise.resolve().then(function(){t=void 0,e(s())})})),t}}
vendor: 12,851 bytes, line 5
5function Co(s){var t=s.reduce(function(e,n){var i=e[n.name];return e[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,e},{});return Object.keys(t).map(function(e){return t[e]})}var Vn={placement:"bottom",modifiers:[],strategy:"absolute"};function Hn(){for(var s=arguments.length,t=new Array(s),e=0;e<s;e++)t[e]=arguments[e];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Xe(s){s===void 0&&(s={});var t=s,e=t.defaultModifiers,n=e===void 0?[]:e,i=t.defaultOptions,r=i===void 0?Vn:i;return function(a,d,_){_===void 0&&(_=r);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Vn,r),modifiersData:{},elements:{reference:a,popper:d},attributes:{},styles:{}},E=[],v=!1,g={state:f,setOptions:function(N){var D=typeof N=="function"?N(f.options):N;b(),f.options=Object.assign({},r,f.options,D),f.scrollParents={reference:It(a)?Ce(a):a.contextElement?Ce(a.contextElement):[],popper:Ce(d)};var $=To(Co([].concat(n,f.options.modifiers)));return f.orderedModifiers=$.filter(function(A){return A.enabled}),O(),g.update()},forceUpdate:function(){if(!v){var N=f.elements,D=N.reference,$=N.popper;if(Hn(D,$)){f.rects={reference:Ao(D,Te($),f.options.strategy==="fixed"),popper:Os($)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(M){return f.modifiersData[M.name]=Object.assign({},M.data)});for(var A=0;A<f.orderedModifiers.length;A++){if(f.reset===!0){f.reset=!1,A=-1;continue}var w=f.orderedModifiers[A],C=w.fn,S=w.options,P=S===void 0?{}:S,k=w.name;typeof C=="function"&&(f=C({state:f,options:P,name:k,instance:g})||f)}}}},update:wo(function(){return new Promise(function(y){g.forceUpdate(),y(f)})}),destroy:function(){b(),v=!0}};if(!Hn(a,d))return g;g.setOptions(_).then(function(y){!v&&_.onFirstUpdate&&_.onFirstUpdate(y)});function O(){f.orderedModifiers.forEach(function(y){var N=y.name,D=y.options,$=D===void 0?{}:D,A=y.effect;if(typeof A=="function"){var w=A({state:f,name:N,instance:g,options:$}),C=function(){};E.push(w||C)}})}function b(){E.forEach(function(y){return y()}),E=[]}return g}}var Oo=Xe(),No=[Ds,Ms,Ss,ws],So=Xe({defaultModifiers:No}),Do=[Ds,Ms,Ss,ws,Pn,In,Rn,On,kn],ks=Xe({defaultModifiers:Do});const Wn=Object.freeze(Object.defineProperty({__proto__:null,afterMain:_n,afterRead:fn,afterWrite:En,applyStyles:ws,arrow:On,auto:Ye,basePlacements:Jt,beforeMain:hn,beforeRead:un,beforeWrite:mn,bottom:z,clippingParents:ln,computeStyles:Ss,createPopper:ks,createPopperBase:Oo,createPopperLite:So,detectOverflow:re,end:te,eventListeners:Ds,flip:In,hide:kn,left:j,main:pn,modifierPhases:vn,offset:Pn,placements:ys,popper:ee,popperGenerator:Xe,popperOffsets:Ms,preventOverflow:Rn,read:dn,reference:cn,right:q,start:Lt,top:F,variationPlacements:As,viewport:bs,write:gn},Symbol.toStringTag,{value:"Module"})),Bn="dropdown",Mt=".bs.dropdown",Ps=".data-api",$o="Escape",Fn="Tab",Lo="ArrowUp",jn="ArrowDown",Io=2,xo=`hide${Mt}`,Mo=`hidden${Mt}`,ko=`show${Mt}`,Po=`shown${Mt}`,Kn=`click${Mt}${Ps}`,Yn=`keydown${Mt}${Ps}`,Ro=`keyup${Mt}${Ps}`,oe="show",Vo="dropup",Ho="dropend",Wo="dropstart",Bo="dropup-center",Fo="dropdown-center",kt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',jo=`${kt}.${oe}`,Qe=".dropdown-menu",Ko=".navbar",Yo=".navbar-nav",Uo=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Go=Y()?"top-end":"top-start",zo=Y()?"top-start":"top-end",qo=Y()?"bottom-end":"bottom-start",Xo=Y()?"bottom-start":"bottom-end",Qo=Y()?"left-start":"right-start",Zo=Y()?"right-start":"left-start",Jo="top",ta="bottom",ea={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},sa={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class nt extends st{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=m.next(this._element,Qe)[0]||m.prev(this._element,Qe)[0]||m.findOne(Qe,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return ea}static get DefaultType(){return sa}static get NAME(){return Bn}toggle(){return this._isShown()?this.hide():this.show()}show(){if(ct(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!l.trigger(this._element,ko,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Yo))for(const n of[].concat(...document.body.children))l.on(n,"mouseover",Dt);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(oe),this._element.classList.add(oe),l.trigger(this._element,Po,t)}}hide(){if(ct(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!l.trigger(this._element,xo,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))l.off(n,"mouseover",Dt);this._popper&&this._popper.destroy(),this._menu.classList.remove(oe),this._element.classList.remove(oe),this._element.setAttribute("aria-expanded","false"),pt.removeDataAttribute(this._menu,"popper"),l.trigger(this._element,Mo,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!W(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${Bn.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof Wn>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let t=this._element;this._config.reference==="parent"?t=this._parent:W(this._config.reference)?t=G(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=ks(t,this._menu,e)}_isShown(){return this._menu.classList.contains(oe)}_getPlacement(){const t=this._parent;if(t.classList.contains(Ho))return Qo;if(t.classList.contains(Wo))return Zo;if(t.classList.contains(Bo))return Jo;if(t.classList.contains(Fo))return ta;const e=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Vo)?e?zo:Go:e?Xo:qo}_detectNavbar(){return this._element.closest(Ko)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(e=>Number.parseInt(e,10)):typeof t=="function"?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(pt.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...V(this._config.popperConfig,[void 0,t])}}_selectMenuItem({key:t,target:e}){const n=m.find(Uo,this._menu).filter(i=>At(i));n.length&&_e(n,e,t===jn,!n.includes(e)).focus()}static jQueryInterface(t){return this.each(function(){const e=nt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(t){if(t.button===Io||t.type==="keyup"&&t.key!==Fn)return;const e=m.find(jo);for(const n of e){const i=nt.getInstance(n);if(!i||i._config.autoClose===!1)continue;const r=t.composedPath(),o=r.includes(i._menu);if(r.includes(i._element)||i._config.autoClose==="inside"&&!o||i._config.autoClose==="outside"&&o||i._menu.contains(t.target)&&(t.type==="keyup"&&t.key===Fn||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const a={relatedTarget:i._element};t.type==="click"&&(a.clickEvent=t),i._completeHide(a)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),n=t.key===$o,i=[Lo,jn].includes(t.key);if(!i&&!n||e&&!n)return;t.preventDefault();const r=this.matches(kt)?this:m.prev(this,kt)[0]||m.next(this,kt)[0]||m.findOne(kt,t.delegateTarget.parentNode),o=nt.getOrCreateInstance(r);if(i){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),r.focus())}}l.on(document,Yn,kt,nt.dataApiKeydownHandler),l.on(document,Yn,Qe,nt.dataApiKeydownHandler),l.on(document,Kn,nt.clearMenus),l.on(document,Ro,nt.clearMenus),l.on(document,Kn,kt,function(s){s.preventDefault(),nt.getOrCreateInstance(this).toggle()}),U(nt);const Un="backdrop",na="fade",Gn="show",zn=`mousedown.bs.${Un}`,ia={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ra={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class qn extends Ee{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return ia}static get DefaultType(){return ra}static get NAME(){return Un}show(t){if(!this._config.isVisible){V(t);return}this._append();const e=this._getElement();this._config.isAnimated&&$t(e),e.classList.add(Gn),this._emulateAnimation(()=>{V(t)})}hide(t){if(!this._config.isVisible){V(t);return}this._getElement().classList.remove(Gn),this._emulateAnimation(()=>{this.dispose(),V(t)})}dispose(){this._isAppended&&(l.off(this._element,zn),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(na),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=G(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),l.on(t,zn,()=>{V(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){xe(t,this._getElement(),this._config.isAnimated)}}const oa="focustrap",Ze=".bs.focustrap",aa=`focusin${Ze}`,la=`keydown.tab${Ze}`,ca="Tab",ua="forward",Xn="backward",da={autofocus:!0,trapElement:null},fa={autofocus:"boolean",trapElement:"element"};class Qn extends Ee{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return da}static get DefaultType(){return fa}static get NAME(){return oa}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),l.off(document,Ze),l.on(document,aa,t=>this._handleFocusin(t)),l.on(document,la,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,l.off(document,Ze))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const n=m.focusableChildren(e);n.length===0?e.focus():this._lastTabNavDirection===Xn?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){t.key===ca&&(this._lastTabNavDirection=t.shiftKey?Xn:ua)}}const Zn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Jn=".sticky-top",Je="padding-right",ti="margin-right";class Rs{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Je,e=>e+t),this._setElementAttributes(Zn,Je,e=>e+t),this._setElementAttributes(Jn,ti,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Je),this._resetElementAttributes(Zn,Je),this._resetElementAttributes(Jn,ti)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,n){const i=this.getWidth(),r=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+i)return;this._saveInitialAttribute(o,e);const a=window.getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,`${n(Number.parseFloat(a))}px`)};this._applyManipulationCallback(t,r)}_saveInitialAttribute(t,e){const n=t.style.getPropertyValue(e);n&&pt.setDataAttribute(t,e,n)}_resetElementAttributes(t,e){const n=i=>{const r=pt.getDataAttribute(i,e);if(r===null){i.style.removeProperty(e);return}pt.removeDataAttribute(i,e),i.style.setProperty(e,r)};this._applyManipulationCallback(t,n)}_applyManipulationCallback(t,e){if(W(t)){e(t);return}for(const n of m.find(t,this._element))e(n)}}const ha="modal",tt=".bs.modal",pa=".data-api",_a="Escape",ma=`hide${tt}`,ga=`hidePrevented${tt}`,ei=`hidden${tt}`,si=`show${tt}`,Ea=`shown${tt}`,va=`resize${tt}`,ba=`click.dismiss${tt}`,Aa=`mousedown.dismiss${tt}`,ya=`keydown.dismiss${tt}`,Ta=`click${tt}${pa}`,ni="modal-open",wa="fade",ii="show",Vs="modal-static",Ca=".modal.show",Oa=".modal
5-dialog",Na=".modal-body",Sa='[data-bs-toggle="modal"]',Da={backdrop:!0,focus:!0,keyboard:!0},$a={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Pt extends st{constructor(t,e){super(t,e),this._dialog=m.findOne(Oa,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Rs,this._addEventListeners()}static get Default(){return Da}static get DefaultType(){return $a}static get NAME(){return ha}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||l.trigger(this._element,si,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ni),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||l.trigger(this._element,ma).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(ii),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){l.off(window,tt),l.off(this._dialog,tt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new qn({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Qn({trapElement:this._element})}_showElement(t){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 e=m.findOne(Na,this._dialog);e&&(e.scrollTop=0),$t(this._element),this._element.classList.add(ii);const n=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,l.trigger(this._element,Ea,{relatedTarget:t})};this._queueCallback(n,this._dialog,this._isAnimated())}_addEventListeners(){l.on(this._element,ya,t=>{if(t.key===_a){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),l.on(window,va,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),l.on(this._element,Aa,t=>{l.one(this._element,ba,e=>{if(!(this._element!==t.target||this._element!==e.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_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(ni),this._resetAdjustments(),this._scrollBar.reset(),l.trigger(this._element,ei)})}_isAnimated(){return this._element.classList.contains(wa)}_triggerBackdropTransition(){if(l.trigger(this._element,ga).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;n==="hidden"||this._element.classList.contains(Vs)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Vs),this._queueCallback(()=>{this._element.classList.remove(Vs),this._queueCallback(()=>{this._element.style.overflowY=n},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),n=e>0;if(n&&!t){const i=Y()?"paddingLeft":"paddingRight";this._element.style[i]=`${e}px`}if(!n&&t){const i=Y()?"paddingRight":"paddingLeft";this._element.style[i]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){const n=Pt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](e)}})}}l.on(document,Ta,Sa,function(s){const t=m.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&s.preventDefault(),l.one(t,si,i=>{i.defaultPrevented||l.one(t,ei,()=>{At(this)&&this.focus()})});const e=m.findOne(Ca);e&&Pt.getInstance(e).hide(),Pt.getOrCreateInstance(t).toggle(this)}),We(Pt),U(Pt);const La="offcanvas",mt=".bs.offcanvas",ri=".data-api",Ia=`load${mt}${ri}`,xa="Escape",oi="show",ai="showing",li="hiding",Ma="offcanvas-backdrop",ci=".offcanvas.show",ka=`show${mt}`,Pa=`shown${mt}`,Ra=`hide${mt}`,ui=`hidePrevented${mt}`,di=`hidden${mt}`,Va=`resize${mt}`,Ha=`click${mt}${ri}`,Wa=`keydown.dismiss${mt}`,Ba='[data-bs-toggle="offcanvas"]',Fa={backdrop:!0,keyboard:!0,scroll:!1},ja={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class gt extends st{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Fa}static get DefaultType(){return ja}static get NAME(){return La}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||l.trigger(this._element,ka,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Rs().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ai);const n=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(oi),this._element.classList.remove(ai),l.trigger(this._element,Pa,{relatedTarget:t})};this._queueCallback(n,this._element,!0)}
vendor: 4,923 bytes, line 5
5hide(){if(!this._isShown||l.trigger(this._element,Ra).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(li),this._backdrop.hide();const e=()=>{this._element.classList.remove(oi,li),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Rs().reset(),l.trigger(this._element,di)};this._queueCallback(e,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){l.trigger(this._element,ui);return}this.hide()},e=!!this._config.backdrop;return new qn({className:Ma,isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?t:null})}_initializeFocusTrap(){return new Qn({trapElement:this._element})}_addEventListeners(){l.on(this._element,Wa,t=>{if(t.key===xa){if(this._config.keyboard){this.hide();return}l.trigger(this._element,ui)}})}static jQueryInterface(t){return this.each(function(){const e=gt.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}l.on(document,Ha,Ba,function(s){const t=m.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),ct(this))return;l.one(t,di,()=>{At(this)&&this.focus()});const e=m.findOne(ci);e&&e!==t&>.getInstance(e).hide(),gt.getOrCreateInstance(t).toggle(this)}),l.on(window,Ia,()=>{for(const s of m.find(ci))gt.getOrCreateInstance(s).show()}),l.on(window,Va,()=>{for(const s of m.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(s).position!=="fixed"&>.getOrCreateInstance(s).hide()}),We(gt),U(gt);const fi={"*":["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:[]},Ka=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Ya=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Ua=(s,t)=>{const e=s.nodeName.toLowerCase();return t.includes(e)?Ka.has(e)?!!Ya.test(s.nodeValue):!0:t.filter(n=>n instanceof RegExp).some(n=>n.test(e))};function Ga(s,t,e){if(!s.length)return s;if(e&&typeof e=="function")return e(s);const i=new window.DOMParser().parseFromString(s,"text/html"),r=[].concat(...i.body.querySelectorAll("*"));for(const o of r){const a=o.nodeName.toLowerCase();if(!Object.keys(t).includes(a)){o.remove();continue}const d=[].concat(...o.attributes),_=[].concat(t["*"]||[],t[a]||[]);for(const f of d)Ua(f,_)||o.removeAttribute(f.nodeName)}return i.body.innerHTML}const za="TemplateFactory",qa={allowList:fi,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Xa={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Qa={entry:"(string|element|function|null)",selector:"(string|element)"};class Za extends Ee{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return qa}static get DefaultType(){return Xa}static get NAME(){return za}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[i,r]of Object.entries(this._config.content))this._setContent(t,r,i);const e=t.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&e.classList.add(...n.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,n]of Object.entries(t))super._typeCheckConfig({selector:e,entry:n},Qa)}_setContent(t,e,n){const i=m.findOne(n,t);if(i){if(e=this._resolvePossibleFunction(e),!e){i.remove();return}if(W(e)){this._putElementInTemplate(G(e),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(e);return}i.textContent=e}}_maybeSanitize(t){return this._config.sanitize?Ga(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return V(t,[void 0,this])}_putElementInTemplate(t,e){if(this._config.html){e.innerHTML="",e.append(t);return}e.textContent=t.textContent}}const Ja="tooltip",tl=new Set(["sanitize","allowList","sanitizeFn"]),Hs="fade",el="modal",ts="show",sl=".tooltip-inner",hi=`.${el}`,pi="hide.bs.modal",Oe="hover",Ws="focus",Bs="click",nl="manual",il="hide",rl="hidden",ol="show",al="shown",ll="inserted",cl="click",ul="focusin",dl="focusout",fl="mou
5seenter",hl="mouseleave",pl={AUTO:"auto",TOP:"top",RIGHT:Y()?"left":"right",BOTTOM:"bottom",LEFT:Y()?"right":"left"},_l={allowList:fi,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"},ml={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 Rt extends st{constructor(t,e){if(typeof Wn>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(t,e),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 _l}static get DefaultType(){return ml}static get NAME(){return Ja}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),l.off(this._element.closest(hi),pi,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(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=l.trigger(this._element,this.constructor.eventName(ol)),n=(Ie(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!n)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(i),l.trigger(this._element,this.constructor.eventName(ll))),this._popper=this._createPopper(i),i.classList.add(ts),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))l.on(a,"mouseover",Dt);const o=()=>{l.trigger(this._element,this.constructor.eventName(al)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||l.trigger(this._element,this.constructor.eventName(il)).defaultPrevented)return;if(this._getTipElement().classList.remove(ts),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))l.off(i,"mouseover",Dt);this._activeTrigger[Bs]=!1,this._activeTrigger[Ws]=!1,this._activeTrigger[Oe]=!1,this._isHovered=null;const n=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),l.trigger(this._element,this.constructor.eventName(rl)))};this._queueCallback(n,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(Hs,ts),e.classList.add(`bs-${this.constructor.NAME}-auto`);const n=lt(this.constructor.NAME).toString();return e.setAttribute("id",n),this._isAnimated()&&e.classList.add(Hs),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Za({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[sl]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Hs)}_isShown(){return this.tip&&this.tip.classList.contains(ts)}_createPopper(t){const e=V(this._config.placement,[this,t,this._element]),n=pl[e.toUpperCase()];return ks(this._element,t,this._getPopperConfig(n))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(e=>Number.parseInt(e,10)):typeof t=="function"?e=>t(e,this._element):t}_resolvePossibleFunction(t){return V(t,[this._element,this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}}
vendor: 13,536 bytes, line 5
5,{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:n=>{this._getTipElement().setAttribute("data-popper-placement",n.state.placement)}}]};return{...e,...V(this._config.popperConfig,[void 0,e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if(e==="click")l.on(this._element,this.constructor.eventName(cl),this._config.selector,n=>{const i=this._initializeOnDelegatedTarget(n);i._activeTrigger[Bs]=!(i._isShown()&&i._activeTrigger[Bs]),i.toggle()});else if(e!==nl){const n=e===Oe?this.constructor.eventName(fl):this.constructor.eventName(ul),i=e===Oe?this.constructor.eventName(hl):this.constructor.eventName(dl);l.on(this._element,n,this._config.selector,r=>{const o=this._initializeOnDelegatedTarget(r);o._activeTrigger[r.type==="focusin"?Ws:Oe]=!0,o._enter()}),l.on(this._element,i,this._config.selector,r=>{const o=this._initializeOnDelegatedTarget(r);o._activeTrigger[r.type==="focusout"?Ws:Oe]=o._element.contains(r.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},l.on(this._element.closest(hi),pi,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}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(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=pt.getDataAttributes(this._element);for(const n of Object.keys(e))tl.has(n)&&delete e[n];return t={...e,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:G(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,n]of Object.entries(this._config))this.constructor.Default[e]!==n&&(t[e]=n);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const e=Rt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}}U(Rt);const gl="popover",El=".popover-header",vl=".popover-body",bl={...Rt.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"},Al={...Rt.DefaultType,content:"(null|string|element|function)"};class es extends Rt{static get Default(){return bl}static get DefaultType(){return Al}static get NAME(){return gl}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[El]:this._getTitle(),[vl]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const e=es.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}}U(es);const yl="scrollspy",Fs=".bs.scrollspy",Tl=".data-api",wl=`activate${Fs}`,_i=`click${Fs}`,Cl=`load${Fs}${Tl}`,Ol="dropdown-item",ae="active",Nl='[data-bs-spy="scroll"]',js="[href]",Sl=".nav, .list-group",mi=".nav-link",Dl=`${mi}, .nav-item > ${mi}, .list-group-item`,$l=".dropdown",Ll=".dropdown-toggle",Il={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},xl={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Ne extends st{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Il}static get DefaultType(){return xl}static get NAME(){return yl}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=G(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(e=>Number.parseFloat(e))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(l.off(this._config.target,_i),l.on(this._config.target,_i,js,t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const n=this._rootElement||window,i=e.offsetTop-this._element.offsetTop;if(n.scrollTo){n.scrollTo({top:i,behavior:"smooth"});return}n.scrollTop=i}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),t)}_observerCallback(t){const e=o=>this._targetLinks.get(`#${o.target.id}`),n=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(e(o))},i=(this._rootElement||document.documentElement).scrollTop,r=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&a){if(n(o),!i)return;continue}!r&&!a&&n(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=m.find(js,this._config.target);for(const e of t){if(!e.hash||ct(e))continue;const n=m.findOne(decodeURI(e.hash),this._element);At(n)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,n))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(ae),this._activateParents(t),l.trigger(this._element,wl,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(Ol)){m.findOne(Ll,t.closest($l)).classList.add(ae);return}for(const e of m.parents(t,Sl))for(const n of m.prev(e,Dl))n.classList.add(ae)}_clearActiveClass(t){t.classList.remove(ae);const e=m.find(`${js}.${ae}`,t);for(const n of e)n.classList.remove(ae)}static jQueryInterface(t){return this.each(function(){const e=Ne.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}}l.on(window,Cl,()=>{for(const s of m.find(Nl))Ne.getOrCreateInstance(s)}),U(Ne);const Ml="tab",Vt=".bs.tab",kl=`hide${Vt}`,Pl=`hidden${Vt}`,Rl=`show${Vt}`,Vl=`shown${Vt}`,Hl=`click${Vt}`,Wl=`keydown${Vt}`,Bl=`load${Vt}`,Fl="ArrowLeft",gi="ArrowRight",jl="ArrowUp",Ei="ArrowDown",Ks="Home",vi="End",Ht="active",bi="fade",Ys="show",Kl="dropdown",Ai=".dropdown-toggle",Yl=".dropdown-menu",Us=`:not(${Ai})`,Ul='.list-group, .nav, [role="tablist"]',Gl=".nav-item, .list-group-item",zl=`.nav-link${Us}, .list-group-item${Us}, [role="tab"]${Us}`,yi='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Gs=`${zl}, ${yi}`,ql=`.${Ht}[data-bs-toggle="tab"], .${Ht}[data-bs-toggle="pill"], .${Ht}[data-bs-toggle="list"]`;class Wt extends st{constructor(t){super(t),this._parent=this._element.closest(Ul),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),l.on(this._element,Wl,e=>this._keydown(e)))}static get NAME(){return Ml}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),n=e?l.trigger(e,kl,{relatedTarget:t}):null;l.trigger(t,Rl,{relatedTarget:e}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){if(!t)return;t.classList.add(Ht),this._activate(m.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(Ys);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),l.trigger(t,Vl,{relatedTarget:e})};this._queueCallback(n,t,t.classList.contains(bi))}_deactivate(t,e){if(!t)return;t.classList.remove(Ht),t.blur(),this._deactivate(m.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(Ys);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),l.trigger(t,Pl,{relatedTarget:e})};this._queueCallback(n,t,t.classList.contains(bi))}_keydown(t){if(![Fl,gi,jl,Ei,Ks,vi].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter(i=>!ct(i));let n;if([Ks,vi].includes(t.key))n=e[t.key===Ks?0:e.length-1];else{const i=[gi,Ei].includes(t.key);n=_e(e,t.target,i,!0)}n&&(n.focus({preventScroll:!0}),Wt.getOrCreateInstance(n).show())}_getChildren(){return m.find(Gs,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const n of e)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",e),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=m.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const n=this._getOuterElement(t);if(!n.classList.contains(Kl))return;const i=(r,o)=>{const a=m.findOne(r,n);a&&a.classList.toggle(o,e)};i(Ai,Ht),i(Yl,Ys),n.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,n){t.hasAttribute(e)||t.setAttribute(e,n)}_elemIsActive(t){return t.classList.contains(Ht)}_getInnerElement(t){return t.matches(Gs)?t:m.findOne(Gs,t)}_getOuterElement(t){return t.closest(Gl)||t}static jQueryInterface(t){return this.each(function(){const e=Wt.getOrCreateInstance(this);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}}l.on(document,Hl,yi,function(s){["A","AREA"].includes(this.tagName)&&s.preventDefault(),!ct(this)&&Wt.getOrCreateInstance(this).show()}),l.on(window,Bl,()=>{for(const s of m.find(ql))Wt.getOrCreateInstance(s)}),U(Wt);const Xl="toast",wt=".bs.toast",Ql=`mouseover${wt}`,Zl=`mouseout${wt}`,Jl=`focusin${wt}`,tc=`focusout${wt}`,ec=`hide${wt}`,sc=`hidden${wt}`,nc=`show${wt}`,ic=`shown${wt}`,rc="fade",Ti="hide",ss="show",ns="showing",oc={animation:"boolean",autohide:"boolean",delay:"number"},ac={animation:!0,autohide:!0,delay:5e3};class Se extends st{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ac}static get DefaultType(){return oc}static get NAME(){return Xl}show(){if(l.trigger(this._element,nc).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(rc);const e=()=>{this._element.classList.remove(ns),l.trigger(this._element,ic),this._maybeScheduleHide()};this._element.classList.remove(Ti),$t(this._element),this._element.classList.add(ss,ns),this._queueCallback(e,this._element,this._config.animation)}hide(){if(!this.isShown()||l.trigger(this._element,ec).defaultPrevented)return;const e=()=>{this._element.classList.add(Ti),this._element.classList.remove(ns,ss),l.trigger(this._element,sc)};this._element.classList.add(ns),this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ss),super.dispose()}isShown(){return this._element.classList.contains(ss)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=e;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=e;break}}if(e){this._clearTimeout();return}const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){l.on(this._element,Ql,t=>this._onInteraction(t,!0)),l.on(this._element,Zl,t=>this._onInteraction(t,!1)),l.on(this._element,Jl,t=>this._onInteraction(t,!0)),l.on(this._element,tc,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const e=Se.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]>
5"u")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return We(Se),U(Se),{Alert:ve,Button:be,Carousel:Xt,Collapse:Zt,Dropdown:nt,Modal:Pt,Offcanvas:gt,Popover:es,ScrollSpy:Ne,Tab:Wt,Toast:Se,Tooltip:Rt}})})(Mi);var Ac=Mi.exports;const yc=pc(Ac),Tc={class:"default-tab"},wc={class:"tab-content"},Cc={class:"tab-pane fade show active",id:"upload",role:"tabpanel"},Oc={class:"card shadow-sm border-0"},Nc={class:"card-body"},Sc={class:"mb-3"},Dc={class:"scrollable-container border p-2 rounded mb-3"},$c=["onClick"],Lc=["src"],Ic=["onUpdate:modelValue"],xc={class:"mb-3 col-md-4"},Mc=["value"],kc={class:"tab-pane fade",id:"edit",role:"tabpanel"},Pc={key:0,class:"text-center text-muted p-5"},Rc={class:"card-header bg-secondary text-white d-flex justify-content-between align-items-center"},Vc={class:"mb-0"},Hc=["onClick"],Wc={class:"card-body"},Bc={class:"text-muted small mb-3"},Fc={key:0,class:"table-responsive"},jc={class:"table table-bordered table-sm align-middle"},Kc=["src"],Yc=["onChange"],Uc=["onUpdate:modelValue"],Gc=["onClick"],zc=["onClick"],qc=["src"],Xc={key:0},Qc=["onClick"],Zc=["onClick"],Jc={class:"mt-3"},tu=["onClick"],eu={class:"modal fade",id:"addMoreModal",tabindex:"-1","aria-hidden":"true"},su={class:"modal-dialog modal-lg modal-dialog-centered"},nu={class:"modal-content"},iu={class:"modal-body"},ru={class:"mb-3 col-md-6"},ou=["value"],au={class:"scrollable-container border p-2 rounded mb-3"},lu=["onClick"],cu=["src"],uu=["onUpdate:modelValue"],du={__name:"Gallery",props:{menuId:String,menuName:String,page_section_id:String},setup(us){const Js=gc(),R=ht([]),et=ht(""),Le=ht(null);let fe=null;const at=us,Ot=Ec(),bt=ht(""),lt=ht([]),Nt=ht([]),St=ht(null),W=ht([]),G=ht(""),At=async()=>{try{const h=await Et.get("/api/get_allpublisher");W.value=h.data.data,W.value.length===1&&(G.value=W.value[0].id)}catch(h){console.error("Error fetching publishers:",h.response||h),Ot.error("Failed to load publishers.")}},ct=h=>{for(let u of h.target.files)Dt(u)},Ie=h=>{for(let u of h.dataTransfer.files)Dt(u)},Dt=h=>{h.type.startsWith("image/")&&!lt.value.some(u=>u.name===h.name)&<.value.push({name:h.name,file:h,url:URL.createObjectURL(h),description:""})},$t=h=>lt.value.splice(h,1),he=h=>`/storage/${h}`,pe=()=>{if(!bt.value.trim())return Z.fire("Missing Name","Please enter a gallery name.","warning");if(!lt.value.length)return Z.fire("No Images","Please select at least one image.","warning");Z.fire({title:"Upload Gallery?",text:`Upload "${bt.value}" with ${lt.value.length} images?`,icon:"question",showCancelButton:!0,confirmButtonText:"Yes, Upload"}).then(async h=>{if(!h.isConfirmed)return;const u=new FormData;u.append("gallery_name",bt.value),u.append("page_section_id",at.page_section_id),u.append("menu_id",at.menuId),u.append("publisher_id",G.value),lt.value.forEach((p,x)=>{u.append(`images[${x}]`,p.file,p.name),u.append(`image_descriptions[${x}]`,p.description)});try{await Et.post("/api/upload_gallery",u,{headers:{"Content-Type":"multipart/form-data"}}),Z.fire("Uploaded!","Gallery uploaded successfully.","success"),Ut(),bt.value="",lt.value=[]}catch(p){console.error(p),Z.fire("Error","Something went wrong while uploading.","error")}})},ds=h=>{switch(h){case"A":return"Approved";case"U":return"Updated";case"N":return"Pending";case"R":return"Rejected";default:return"-"}},Y=h=>{Le.value=h.id,R.value=[],et.value=h.publisher_id||"",fe=new yc.Modal(document.getElementById("addMoreModal")),fe.show()},U=h=>{Array.from(h.target.files).forEach(p=>{R.value.push({name:p.name,file:p,url:URL.createObjectURL(p),description:""})})},V=async()=>{if(!R.value.length)return Z.fire("Missing Images","Select at least 1 image.","warning");if(!et.value)return Z.fire("Choose Publisher","Publisher is required.","warning");const h=new FormData;h.append("gallery_id",Le.value),h.append("publisher_id",et.value),R.value.forEach((u,p)=>{h.append(`images[${p}]`,u.file),h.append(`image_descriptions[${p}]`,u.description)});try{await Et.post("/api/add_gallery_images",h,{headers:{"Content-Type":"multipart/form-data"}}),Z.fire("Success","Images added successfully!","success"),fe.hide(),Ut()}catch(u){console.error(u),Z.fire("Error","Failed to upload images.","error")}},xe=async(h,u)=>{if((await Z.fire({title:"Delete this gallery?",text:`This will remove "${h.gallery_name}" and all its images.`,icon:"warning",showCancelButton:!0,confirmButtonText:"Yes, delete it!",cancelButtonText:"Cancel"})).isConfirmed)try{const x=await Et.post("/api/delete_gallery_cc",{id:h.id});Z.fire("Deleted!",x.data.message||"Gallery has been deleted.","success"),Nt.value.splice(u,1)}
5catch{Z.fire("Error!","An error occurred during deletion.","error")}},_e=(h,u)=>{Z.fire({title:"Delete this image?",text:"This will permanently remove this image from the gallery.",icon:"warning",showCancelButton:!0,confirmButtonText:"Yes, Delete"}).then(p=>{p.isConfirmed&&Et.post("/api/delete_gallery_image",{id:h}).then(()=>{const x=Nt.value.find(B=>B.id===u);x&&(x.images2=x.images2.filter(B=>B.id!==h)),Ot.success("Image deleted successfully")})})},fs=h=>{h.editing=!0,h.temp_description=h.image_description||"",h.temp_file=null,h.preview=null},Me=h=>{h.editing=!1,h.temp_description="",h.temp_file=null,h.preview=null},hs=(h,u)=>{const p=h.target.files[0];p&&p.type.startsWith("image/")&&(u.temp_file=p,u.preview=URL.createObjectURL(p))},me=async h=>{const u=new FormData;u.append("id",h.id),u.append("image_description",h.temp_description),h.temp_file&&u.append("image",h.temp_file);const p=await Et.post("/api/update_gallery_image",u,{headers:{"Content-Type":"multipart/form-data"}});h.image_description=p.data.image.image_description,h.image_path=p.data.image.image_path,h.flag=p.data.image.flag,Me(h),Ot.success("Image updated successfully")},Ut=async()=>{try{const h=await Et.get("/api/get_section_gallerys",{params:{menu_id:at.menuId,page_section_id:at.page_section_id}});console.log("1234responds: ",h),Nt.value=h.data.map(u=>({...u,images2:(u.images2||[]).map(p=>({...p,editing:!1,temp_description:p.image_description||"",preview:null,r_img_remarks:p.r_img_remarks||""})),rejected_remarks:u.rejected_remarks||""}))}catch(h){console.error(h),Ot.error("Failed to load gallery data")}},ke=h=>new Date(h).toLocaleDateString("en-IN"),Pe=ht(""),Re=async()=>{try{const h=await Et.get(`/api/menu/${at.menuId}`);Pe.value=h.data.menu.menu_name}catch(h){console.error("Failed to fetch menu",h)}},Ve=()=>{Js.push({name:"CCPagesForm",params:{menuId:at.menuId,menuName:Pe.value}})};return vc(async()=>{try{const h=await Et.get("/api/current-user");St.value=h.data.id}catch(h){console.error("Failed to get current user",h)}At(),Re(),Ut()}),(h,u)=>(L(),I("div",Tc,[u[28]||(u[28]=c("ul",{class:"nav nav-tabs mb-3",role:"tablist"},[c("li",{class:"nav-item"},[c("a",{href:"#upload",class:"ME-Tabs nav-link active","data-bs-toggle":"tab"},[c("i",{class:"fas fa-upload me-1"}),vt(" Upload Gallery ")])]),c("li",{class:"nav-item"},[c("a",{href:"#edit",class:"ME-Tabs nav-link","data-bs-toggle":"tab"},[c("i",{class:"fas fa-edit me-1"}),vt(" Manage Galleries ")])])],-1)),c("div",{class:"d-flex justify-content-end mb-3"},[c("button",{class:"btn btn-secondary",onClick:Ve}," Back ")]),c("div",wc,[c("div",Cc,[c("div",Oc,[u[10]||(u[10]=c("div",{class:"card-header"},[c("h5",{class:"mb-0"},"Create New Gallery")],-1)),c("div",Nc,[c("div",Sc,[u[5]||(u[5]=c("label",{class:"form-label fw-bold"},"Gallery Name",-1)),ce(c("input",{type:"text","onUpdate:modelValue":u[0]||(u[0]=p=>bt.value=p),class:"form-control",placeholder:"Enter gallery name"},null,512),[[cs,bt.value]])]),c("div",{class:"drag-area border border-secondary border-dashed rounded p-4 text-center mb-3",onDragover:u[1]||(u[1]=Zs((...p)=>h.onDragOver&&h.onDragOver(...p),["prevent"])),onDragleave:u[2]||(u[2]=Zs((...p)=>h.onDragLeave&&h.onDragLeave(...p),["prevent"])),onDrop:Zs(Ie,["prevent"])},[u[6]||(u[6]=c("p",{class:"mb-0 text-muted"},[c("i",{class:"fas fa-cloud-upload-alt fa-lg me-2"}),vt(" Drag & drop images here or click to select ")],-1)),c("input",{type:"file",ref:"fileInput",multiple:"",accept:"image/*",onChange:ct,class:"file-input"},null,544)],32),c("div",Dc,[(L(!0),I(ft,null,ue(lt.value,(p,x)=>(L(),I("div",{class:"preview-image position-relative m-2",key:x},[c("span",{class:"delete-btn",onClick:B=>$t(x)},"Ã",8,$c),c("img",{src:p.url,class:"img-thumbnail"},null,8,Lc),ce(c("textarea",{"onUpdate:modelValue":B=>p.description=B,class:"form-control form-control-sm mt-2",placeholder:"Enter description (optional)"},null,8,Ic),[[cs,p.description]])]))),128))]),c("div",xc,[u[8]||(u[8]=c("label",{for:"publisher-select",class:"form-label fw-bold"},"Publisher",-1)),ce(c("select",{id:"publisher-select",class:"form-select","onUpdate:modelValue":u[3]||(u[3]=p=>G.value=p)},[u[7]||(u[7]=c("option",{value:"",disabled:""},"Select Publisher",-1)),(L(!0),I(ft,null,ue(W.value,p=>(L(),I("option",{key:p.id,value:p.id},ot(p.name),9,Mc))),128))],512),[[xi,G.value]])]),c("button",{class:"btn btn-success w-100",onClick:pe},[...u[9]||(u[9]=[c("i",{class:"fas fa-upload me-1"},null,-1),vt(" Upload Gallery ",-1)])])])])]),c("div",kc,[Nt.value.length===0?(L(),I("div",Pc,[...u[11]||(u[11]=[c("i",{class:"fas fa-images fa-2x mb-2"},null,-1),c("p",null,"No galleries found for this section.",-1)])])):de("",!0),(L(!0),I(ft,null,ue(Nt.value,(p,x)=>{var B;return L(),I("div",{key:p.id,class:"card shadow-sm border-0 mb-4"},[c("div",Rc,[c("h6",Vc,[u[12]||(u[12]=c("i",{class:"fas fa-photo-video me-1"},null,-1)),vt(" "+ot(p.gallery_name),1)]),p.added_by===St.value?(L(),I("button",{key:0,class:"btn btn-sm btn-light text-danger",onClick:T=>xe(p,x)}
5,[...u[13]||(u[13]=[c("i",{class:"fas fa-trash-alt"},null,-1)])],8,Hc)):de("",!0)]),c("div",Wc,[c("p",Bc,[vt(" Created: "+ot(ke(p.created_at))+" | ",1),u[14]||(u[14]=c("strong",null,"Added by:",-1)),vt(" "+ot(((B=p.user)==null?void 0:B.name)||"Unknown")+" | ",1),u[15]||(u[15]=c("strong",null,"Total Images:",-1)),vt(" "+ot(p.images2.length),1)]),p.images2.length?(L(),I("div",Fc,[c("table",jc,[u[22]||(u[22]=c("thead",{class:"table-light"},[c("tr",null,[c("th",{width:"120"},"Preview"),c("th",null,"Description"),c("th",{width:"120"},"Added By"),c("th",{width:"80"},"Status"),c("th",{width:"120"},"Actions")])],-1)),c("tbody",null,[(L(!0),I(ft,null,ue(p.images2,T=>{var He,ge;return L(),I("tr",{key:T.id},[T.editing?(L(),I(ft,{key:0},[c("td",null,[c("img",{src:T.preview||he(T.image_path),class:"img-thumbnail mb-2",style:{"max-height":"70px"}},null,8,Kc),c("input",{type:"file",class:"form-control form-control-sm",accept:"image/*",onChange:l=>hs(l,T)},null,40,Yc)]),c("td",null,[ce(c("textarea",{"onUpdate:modelValue":l=>T.temp_description=l,class:"form-control form-control-sm",rows:"2"},null,8,Uc),[[cs,T.temp_description]])]),c("td",null,ot(((He=T.user)==null?void 0:He.name)||"-"),1),u[18]||(u[18]=c("td",null,[c("span",{class:"badge bg-warning"},"Editing")],-1)),c("td",null,[T.added_by===St.value?(L(),I(ft,{key:0},[c("button",{class:"btn btn-sm btn-success me-1",onClick:l=>me(T,p.id)},[...u[16]||(u[16]=[c("i",{class:"fas fa-check"},null,-1)])],8,Gc),c("button",{class:"btn btn-sm btn-secondary",onClick:l=>Me(T)},[...u[17]||(u[17]=[c("i",{class:"fas fa-times"},null,-1)])],8,zc)],64)):de("",!0)])],64)):(L(),I(ft,{key:1},[c("td",null,[c("img",{src:he(T.image_path),class:"img-thumbnail",style:{"max-height":"70px","object-fit":"cover"}},null,8,qc)]),c("td",null,ot(T.image_description||"No description"),1),c("td",null,ot(((ge=T.user)==null?void 0:ge.name)||"-"),1),c("td",null,[c("span",{class:bc(["badge",{"bg-success":T.flag==="A","bg-info":T.flag==="U","bg-warning":T.flag==="N","bg-danger":T.flag==="R"}])},ot(ds(T.flag)),3),T.flag==="R"?(L(),I("div",Xc,[u[19]||(u[19]=c("strong",null,"Remarks:",-1)),vt(" "+ot(T.r_img_remarks),1)])):de("",!0)]),c("td",null,[T.added_by===St.value?(L(),I(ft,{key:0},[c("button",{class:"btn btn-sm btn-primary me-1",onClick:l=>fs(T)},[...u[20]||(u[20]=[c("i",{class:"fas fa-edit"},null,-1)])],8,Qc),c("button",{class:"btn btn-sm btn-danger",onClick:l=>_e(T.id,p.id)},[...u[21]||(u[21]=[c("i",{class:"fas fa-trash-alt"},null,-1)])],8,Zc)],64)):de("",!0)])],64))])}),128))])])])):de("",!0),c("div",Jc,[u[23]||(u[23]=c("label",{class:"form-label fw-bold"},"Add More Images",-1)),c("button",{class:"btn btn-outline-primary btn-sm",onClick:T=>Y(p)}," + Add More Images ",8,tu)])])])}),128))])]),c("div",eu,[c("div",su,[c("div",nu,[u[27]||(u[27]=c("div",{class:"modal-header"},[c("h5",{class:"modal-title"},"Add More Images"),c("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal"})],-1)),c("div",iu,[c("div",ru,[u[25]||(u[25]=c("label",{class:"form-label fw-bold"},"Publisher",-1)),ce(c("select",{class:"form-select","onUpdate:modelValue":u[4]||(u[4]=p=>et.value=p)},[u[24]||(u[24]=c("option",{value:"",disabled:""},"Select Publisher",-1)),(L(!0),I(ft,null,ue(W.value,p=>(L(),I("option",{key:p.id,value:p.id},ot(p.name),9,ou))),128))],512),[[xi,et.value]])]),c("div",au,[(L(!0),I(ft,null,ue(R.value,(p,x)=>(L(),I("div",{class:"preview-image position-relative m-2",key:x},[c("span",{class:"delete-btn",onClick:B=>R.value.splice(x,1)},"Ã",8,lu),c("img",{src:p.url,class:"img-thumbnail"},null,8,cu),ce(c("textarea",{"onUpdate:modelValue":B=>p.description=B,class:"form-control form-control-sm mt-2",placeholder:"Enter description (optional)"},null,8,uu),[[cs,p.description]])]))),128))]),c("input",{type:"file",multiple:"",accept:"image/*",onChange:U,class:"form-control form-control-sm"},null,32)]),c("div",{class:"modal-footer"},[u[26]||(u[26]=c("button",{class:"btn btn-secondary","data-bs-dismiss":"modal"},"Cancel",-1)),c("button",{class:"btn btn-success",onClick:V}," Upload Images ")])])])])]))}},Su=mc(du,[["__scopeId","data-v-7b07fea5"]]);export{Su as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.