(function(ht){typeof define=="function"&&define.amd?define(ht):ht()})(function(){"use strict";var ht=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zn(Q){return Q&&Q.__esModule&&Object.prototype.hasOwnProperty.call(Q,"default")?Q.default:Q}var Fn={exports:{}};(function(Q,z){(function(f,r){Q.exports=r()})(typeof self<"u"?self:ht,function(){return function(s){var f={};function r(l){if(f[l])return f[l].exports;var a=f[l]={i:l,l:!1,exports:{}};return s[l].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=s,r.c=f,r.d=function(l,a,u){r.o(l,a)||Object.defineProperty(l,a,{configurable:!1,enumerable:!0,get:u})},r.r=function(l){Object.defineProperty(l,"__esModule",{value:!0})},r.n=function(l){var a=l&&l.__esModule?function(){return l.default}:function(){return l};return r.d(a,"a",a),a},r.o=function(l,a){return Object.prototype.hasOwnProperty.call(l,a)},r.p="",r(r.s=0)}({"./dist/icons.json":function(s){s.exports={activity:'',airplay:'',"alert-circle":'',"alert-octagon":'',"alert-triangle":'',"align-center":'',"align-justify":'',"align-left":'',"align-right":'',anchor:'',aperture:'',archive:'',"arrow-down-circle":'',"arrow-down-left":'',"arrow-down-right":'',"arrow-down":'',"arrow-left-circle":'',"arrow-left":'',"arrow-right-circle":'',"arrow-right":'',"arrow-up-circle":'',"arrow-up-left":'',"arrow-up-right":'',"arrow-up":'',"at-sign":'',award:'',"bar-chart-2":'',"bar-chart":'',"battery-charging":'',battery:'',"bell-off":'',bell:'',bluetooth:'',bold:'',"book-open":'',book:'',bookmark:'',box:'',briefcase:'',calendar:'',"camera-off":'',camera:'',cast:'',"check-circle":'',"check-square":'',check:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"chevrons-down":'',"chevrons-left":'',"chevrons-right":'',"chevrons-up":'',chrome:'',circle:'',clipboard:'',clock:'',"cloud-drizzle":'',"cloud-lightning":'',"cloud-off":'',"cloud-rain":'',"cloud-snow":'',cloud:'',code:'',codepen:'',codesandbox:'',coffee:'',columns:'',command:'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',cpu:'',"credit-card":'',crop:'',crosshair:'',database:'',delete:'',disc:'',"divide-circle":'',"divide-square":'',divide:'',"dollar-sign":'',"download-cloud":'',download:'',dribbble:'',droplet:'',"edit-2":'',"edit-3":'',edit:'',"external-link":'',"eye-off":'',eye:'',facebook:'',"fast-forward":'',feather:'',figma:'',"file-minus":'',"file-plus":'',"file-text":'',file:'',film:'',filter:'',flag:'',"folder-minus":'',"folder-plus":'',folder:'',framer:'',frown:'',gift:'',"git-branch":'',"git-commit":'',"git-merge":'',"git-pull-request":'',github:'',gitlab:'',globe:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',"help-circle":'',hexagon:'',home:'',image:'',inbox:'',info:'',instagram:'',italic:'',key:'',layers:'',layout:'',"life-buoy":'',"link-2":'',link:'',linkedin:'',list:'',loader:'',lock:'',"log-in":'',"log-out":'',mail:'',"map-pin":'',map:'',"maximize-2":'',maximize:'',meh:'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',"minimize-2":'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',"mouse-pointer":'',move:'',music:'',"navigation-2":'',navigation:'',octagon:'',package:'',paperclip:'',"pause-circle":'',pause:'',"pen-tool":'',percent:'',"phone-call":'',"phone-forwarded":'',"phone-incoming":'',"phone-missed":'',"phone-off":'',"phone-outgoing":'',phone:'',"pie-chart":'',"play-circle":'',play:'',"plus-circle":'',"plus-square":'',plus:'',pocket:'',power:'',printer:'',radio:'',"refresh-ccw":'',"refresh-cw":'',repeat:'',rewind:'',"rotate-ccw":'',"rotate-cw":'',rss:'',save:'',scissors:'',search:'',send:'',server:'',settings:'',"share-2":'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',shuffle:'',sidebar:'',"skip-back":'',"skip-forward":'',slack:'',slash:'',sliders:'',smartphone:'',smile:'',speaker:'',square:'',star:'',"stop-circle":'',sun:'',sunrise:'',sunset:'',table:'',tablet:'',tag:'',target:'',terminal:'',thermometer:'',"thumbs-down":'',"thumbs-up":'',"toggle-left":'',"toggle-right":'',tool:'',"trash-2":'',trash:'',trello:'',"trending-down":'',"trending-up":'',triangle:'',truck:'',tv:'',twitch:'',twitter:'',type:'',umbrella:'',underline:'',unlock:'',"upload-cloud":'',upload:'',"user-check":'',"user-minus":'',"user-plus":'',"user-x":'',user:'',users:'',"video-off":'',video:'',voicemail:'',"volume-1":'',"volume-2":'',"volume-x":'',volume:'',watch:'',"wifi-off":'',wifi:'',wind:'',"x-circle":'',"x-octagon":'',"x-square":'',x:'',youtube:'',"zap-off":'',zap:'',"zoom-in":'',"zoom-out":''}},"./node_modules/classnames/dedupe.js":function(s,f,r){var l,a;/*!
Copyright (c) 2016 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(){var u=function(){function p(){}p.prototype=Object.create(null);function h(T,w){for(var S=w.length,L=0;L1?arguments[1]:void 0,w=T!==void 0,S=0,L=m(_),W,D,$,H;if(w&&(T=l(T,O>2?arguments[2]:void 0,2)),L!=null&&!(v==Array&&p(L)))for(H=L.call(_),D=new v;!($=H.next()).done;S++)g(D,S,w?u(H,T,[$.value,S],!0):$.value);else for(W=h(_.length),D=new v(W);W>S;S++)g(D,S,w?T(_[S],S):_[S]);return D.length=S,D}},"./node_modules/core-js/internals/array-includes.js":function(s,f,r){var l=r("./node_modules/core-js/internals/to-indexed-object.js"),a=r("./node_modules/core-js/internals/to-length.js"),u=r("./node_modules/core-js/internals/to-absolute-index.js");s.exports=function(p){return function(h,g,m){var E=l(h),A=a(E.length),_=u(m,A),v;if(p&&g!=g){for(;A>_;)if(v=E[_++],v!=v)return!0}else for(;A>_;_++)if((p||_ in E)&&E[_]===g)return p||_||0;return!p&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(s,f,r){var l=r("./node_modules/core-js/internals/a-function.js");s.exports=function(a,u,p){if(l(a),u===void 0)return a;switch(p){case 0:return function(){return a.call(u)};case 1:return function(h){return a.call(u,h)};case 2:return function(h,g){return a.call(u,h,g)};case 3:return function(h,g,m){return a.call(u,h,g,m)}}return function(){return a.apply(u,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(s,f,r){var l=r("./node_modules/core-js/internals/an-object.js");s.exports=function(a,u,p,h){try{return h?u(l(p)[0],p[1]):u(p)}catch(m){var g=a.return;throw g!==void 0&&l(g.call(a)),m}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(s,f,r){var l=r("./node_modules/core-js/internals/well-known-symbol.js"),a=l("iterator"),u=!1;try{var p=0,h={next:function(){return{done:!!p++}},return:function(){u=!0}};h[a]=function(){return this},Array.from(h,function(){throw 2})}catch{}s.exports=function(g,m){if(!m&&!u)return!1;var E=!1;try{var A={};A[a]=function(){return{next:function(){return{done:E=!0}}}},g(A)}catch{}return E}},"./node_modules/core-js/internals/classof-raw.js":function(s,f){var r={}.toString;s.exports=function(l){return r.call(l).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(s,f,r){var l=r("./node_modules/core-js/internals/classof-raw.js"),a=r("./node_modules/core-js/internals/well-known-symbol.js"),u=a("toStringTag"),p=l(function(){return arguments}())=="Arguments",h=function(g,m){try{return g[m]}catch{}};s.exports=function(g){var m,E,A;return g===void 0?"Undefined":g===null?"Null":typeof(E=h(m=Object(g),u))=="string"?E:p?l(m):(A=l(m))=="Object"&&typeof m.callee=="function"?"Arguments":A}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(s,f,r){var l=r("./node_modules/core-js/internals/has.js"),a=r("./node_modules/core-js/internals/own-keys.js"),u=r("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),p=r("./node_modules/core-js/internals/object-define-property.js");s.exports=function(h,g){for(var m=a(g),E=p.f,A=u.f,_=0;_",W="java"+S+":",D;for(O.style.display="none",h.appendChild(O),O.src=String(W),D=O.contentWindow.document,D.open(),D.write(w+S+L+"document.F=Object"+w+"/"+S+L),D.close(),v=D.F;T--;)delete v[A][u[T]];return v()};s.exports=Object.create||function(T,w){var S;return T!==null?(_[A]=l(T),S=new _,_[A]=null,S[E]=T):S=v(),w===void 0?S:a(S,w)},p[E]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(s,f,r){var l=r("./node_modules/core-js/internals/descriptors.js"),a=r("./node_modules/core-js/internals/object-define-property.js"),u=r("./node_modules/core-js/internals/an-object.js"),p=r("./node_modules/core-js/internals/object-keys.js");s.exports=l?Object.defineProperties:function(g,m){u(g);for(var E=p(m),A=E.length,_=0,v;A>_;)a.f(g,v=E[_++],m[v]);return g}},"./node_modules/core-js/internals/object-define-property.js":function(s,f,r){var l=r("./node_modules/core-js/internals/descriptors.js"),a=r("./node_modules/core-js/internals/ie8-dom-define.js"),u=r("./node_modules/core-js/internals/an-object.js"),p=r("./node_modules/core-js/internals/to-primitive.js"),h=Object.defineProperty;f.f=l?h:function(m,E,A){if(u(m),E=p(E,!0),u(A),a)try{return h(m,E,A)}catch{}if("get"in A||"set"in A)throw TypeError("Accessors not supported");return"value"in A&&(m[E]=A.value),m}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(s,f,r){var l=r("./node_modules/core-js/internals/descriptors.js"),a=r("./node_modules/core-js/internals/object-property-is-enumerable.js"),u=r("./node_modules/core-js/internals/create-property-descriptor.js"),p=r("./node_modules/core-js/internals/to-indexed-object.js"),h=r("./node_modules/core-js/internals/to-primitive.js"),g=r("./node_modules/core-js/internals/has.js"),m=r("./node_modules/core-js/internals/ie8-dom-define.js"),E=Object.getOwnPropertyDescriptor;f.f=l?E:function(_,v){if(_=p(_),v=h(v,!0),m)try{return E(_,v)}catch{}if(g(_,v))return u(!a.f.call(_,v),_[v])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(s,f,r){var l=r("./node_modules/core-js/internals/object-keys-internal.js"),a=r("./node_modules/core-js/internals/enum-bug-keys.js"),u=a.concat("length","prototype");f.f=Object.getOwnPropertyNames||function(h){return l(h,u)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(s,f){f.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(s,f,r){var l=r("./node_modules/core-js/internals/has.js"),a=r("./node_modules/core-js/internals/to-object.js"),u=r("./node_modules/core-js/internals/shared-key.js"),p=r("./node_modules/core-js/internals/correct-prototype-getter.js"),h=u("IE_PROTO"),g=Object.prototype;s.exports=p?Object.getPrototypeOf:function(m){return m=a(m),l(m,h)?m[h]:typeof m.constructor=="function"&&m instanceof m.constructor?m.constructor.prototype:m instanceof Object?g:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(s,f,r){var l=r("./node_modules/core-js/internals/has.js"),a=r("./node_modules/core-js/internals/to-indexed-object.js"),u=r("./node_modules/core-js/internals/array-includes.js"),p=r("./node_modules/core-js/internals/hidden-keys.js"),h=u(!1);s.exports=function(g,m){var E=a(g),A=0,_=[],v;for(v in E)!l(p,v)&&l(E,v)&&_.push(v);for(;m.length>A;)l(E,v=m[A++])&&(~h(_,v)||_.push(v));return _}},"./node_modules/core-js/internals/object-keys.js":function(s,f,r){var l=r("./node_modules/core-js/internals/object-keys-internal.js"),a=r("./node_modules/core-js/internals/enum-bug-keys.js");s.exports=Object.keys||function(p){return l(p,a)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(s,f,r){var l={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,u=a&&!l.call({1:2},1);f.f=u?function(h){var g=a(this,h);return!!g&&g.enumerable}:l},"./node_modules/core-js/internals/object-set-prototype-of.js":function(s,f,r){var l=r("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");s.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var a=!1,u={},p;try{p=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,p.call(u,[]),a=u instanceof Array}catch{}return function(g,m){return l(g,m),a?p.call(g,m):g.__proto__=m,g}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(s,f,r){var l=r("./node_modules/core-js/internals/global.js"),a=r("./node_modules/core-js/internals/object-get-own-property-names.js"),u=r("./node_modules/core-js/internals/object-get-own-property-symbols.js"),p=r("./node_modules/core-js/internals/an-object.js"),h=l.Reflect;s.exports=h&&h.ownKeys||function(m){var E=a.f(p(m)),A=u.f;return A?E.concat(A(m)):E}},"./node_modules/core-js/internals/path.js":function(s,f,r){s.exports=r("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(s,f,r){var l=r("./node_modules/core-js/internals/global.js"),a=r("./node_modules/core-js/internals/shared.js"),u=r("./node_modules/core-js/internals/hide.js"),p=r("./node_modules/core-js/internals/has.js"),h=r("./node_modules/core-js/internals/set-global.js"),g=r("./node_modules/core-js/internals/function-to-string.js"),m=r("./node_modules/core-js/internals/internal-state.js"),E=m.get,A=m.enforce,_=String(g).split("toString");a("inspectSource",function(v){return g.call(v)}),(s.exports=function(v,O,T,w){var S=w?!!w.unsafe:!1,L=w?!!w.enumerable:!1,W=w?!!w.noTargetGet:!1;if(typeof T=="function"&&(typeof O=="string"&&!p(T,"name")&&u(T,"name",O),A(T).source=_.join(typeof O=="string"?O:"")),v===l){L?v[O]=T:h(O,T);return}else S?!W&&v[O]&&(L=!0):delete v[O];L?v[O]=T:u(v,O,T)})(Function.prototype,"toString",function(){return typeof this=="function"&&E(this).source||g.call(this)})},"./node_modules/core-js/internals/require-object-coercible.js":function(s,f){s.exports=function(r){if(r==null)throw TypeError("Can't call method on "+r);return r}},"./node_modules/core-js/internals/set-global.js":function(s,f,r){var l=r("./node_modules/core-js/internals/global.js"),a=r("./node_modules/core-js/internals/hide.js");s.exports=function(u,p){try{a(l,u,p)}catch{l[u]=p}return p}},"./node_modules/core-js/internals/set-to-string-tag.js":function(s,f,r){var l=r("./node_modules/core-js/internals/object-define-property.js").f,a=r("./node_modules/core-js/internals/has.js"),u=r("./node_modules/core-js/internals/well-known-symbol.js"),p=u("toStringTag");s.exports=function(h,g,m){h&&!a(h=m?h:h.prototype,p)&&l(h,p,{configurable:!0,value:g})}},"./node_modules/core-js/internals/shared-key.js":function(s,f,r){var l=r("./node_modules/core-js/internals/shared.js"),a=r("./node_modules/core-js/internals/uid.js"),u=l("keys");s.exports=function(p){return u[p]||(u[p]=a(p))}},"./node_modules/core-js/internals/shared.js":function(s,f,r){var l=r("./node_modules/core-js/internals/global.js"),a=r("./node_modules/core-js/internals/set-global.js"),u=r("./node_modules/core-js/internals/is-pure.js"),p="__core-js_shared__",h=l[p]||a(p,{});(s.exports=function(g,m){return h[g]||(h[g]=m!==void 0?m:{})})("versions",[]).push({version:"3.1.3",mode:u?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-at.js":function(s,f,r){var l=r("./node_modules/core-js/internals/to-integer.js"),a=r("./node_modules/core-js/internals/require-object-coercible.js");s.exports=function(u,p,h){var g=String(a(u)),m=l(p),E=g.length,A,_;return m<0||m>=E?h?"":void 0:(A=g.charCodeAt(m),A<55296||A>56319||m+1===E||(_=g.charCodeAt(m+1))<56320||_>57343?h?g.charAt(m):A:h?g.slice(m,m+2):(A-55296<<10)+(_-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(s,f,r){var l=r("./node_modules/core-js/internals/to-integer.js"),a=Math.max,u=Math.min;s.exports=function(p,h){var g=l(p);return g<0?a(g+h,0):u(g,h)}},"./node_modules/core-js/internals/to-indexed-object.js":function(s,f,r){var l=r("./node_modules/core-js/internals/indexed-object.js"),a=r("./node_modules/core-js/internals/require-object-coercible.js");s.exports=function(u){return l(a(u))}},"./node_modules/core-js/internals/to-integer.js":function(s,f){var r=Math.ceil,l=Math.floor;s.exports=function(a){return isNaN(a=+a)?0:(a>0?l:r)(a)}},"./node_modules/core-js/internals/to-length.js":function(s,f,r){var l=r("./node_modules/core-js/internals/to-integer.js"),a=Math.min;s.exports=function(u){return u>0?a(l(u),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(s,f,r){var l=r("./node_modules/core-js/internals/require-object-coercible.js");s.exports=function(a){return Object(l(a))}},"./node_modules/core-js/internals/to-primitive.js":function(s,f,r){var l=r("./node_modules/core-js/internals/is-object.js");s.exports=function(a,u){if(!l(a))return a;var p,h;if(u&&typeof(p=a.toString)=="function"&&!l(h=p.call(a))||typeof(p=a.valueOf)=="function"&&!l(h=p.call(a))||!u&&typeof(p=a.toString)=="function"&&!l(h=p.call(a)))return h;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(s,f){var r=0,l=Math.random();s.exports=function(a){return"Symbol(".concat(a===void 0?"":a,")_",(++r+l).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(s,f,r){var l=r("./node_modules/core-js/internals/is-object.js"),a=r("./node_modules/core-js/internals/an-object.js");s.exports=function(u,p){if(a(u),!l(p)&&p!==null)throw TypeError("Can't set "+String(p)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(s,f,r){var l=r("./node_modules/core-js/internals/global.js"),a=r("./node_modules/core-js/internals/shared.js"),u=r("./node_modules/core-js/internals/uid.js"),p=r("./node_modules/core-js/internals/native-symbol.js"),h=l.Symbol,g=a("wks");s.exports=function(m){return g[m]||(g[m]=p&&h[m]||(p?h:u)("Symbol."+m))}},"./node_modules/core-js/modules/es.array.from.js":function(s,f,r){var l=r("./node_modules/core-js/internals/export.js"),a=r("./node_modules/core-js/internals/array-from.js"),u=r("./node_modules/core-js/internals/check-correctness-of-iteration.js"),p=!u(function(h){Array.from(h)});l({target:"Array",stat:!0,forced:p},{from:a})},"./node_modules/core-js/modules/es.string.iterator.js":function(s,f,r){var l=r("./node_modules/core-js/internals/string-at.js"),a=r("./node_modules/core-js/internals/internal-state.js"),u=r("./node_modules/core-js/internals/define-iterator.js"),p="String Iterator",h=a.set,g=a.getterFor(p);u(String,"String",function(m){h(this,{type:p,string:String(m),index:0})},function(){var E=g(this),A=E.string,_=E.index,v;return _>=A.length?{value:void 0,done:!0}:(v=l(A,_,!0),E.index+=v.length,{value:v,done:!1})})},"./node_modules/webpack/buildin/global.js":function(s,f){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(r=window)}s.exports=r},"./src/default-attrs.json":function(s){s.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},"./src/icon.js":function(s,f,r){Object.defineProperty(f,"__esModule",{value:!0});var l=Object.assign||function(v){for(var O=1;O2&&arguments[2]!==void 0?arguments[2]:[];E(this,v),this.name=O,this.contents=T,this.tags=w,this.attrs=l({},g.default,{class:"feather feather-"+O})}return a(v,[{key:"toSvg",value:function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},w=l({},this.attrs,T,{class:(0,p.default)(this.attrs.class,T.class)});return""}},{key:"toString",value:function(){return this.contents}}]),v}();function _(v){return Object.keys(v).map(function(O){return O+'="'+v[O]+'"'}).join(" ")}f.default=A},"./src/icons.js":function(s,f,r){Object.defineProperty(f,"__esModule",{value:!0});var l=r("./src/icon.js"),a=m(l),u=r("./dist/icons.json"),p=m(u),h=r("./src/tags.json"),g=m(h);function m(E){return E&&E.__esModule?E:{default:E}}f.default=Object.keys(p.default).map(function(E){return new a.default(E,p.default[E],g.default[E])}).reduce(function(E,A){return E[A.name]=A,E},{})},"./src/index.js":function(s,f,r){var l=r("./src/icons.js"),a=m(l),u=r("./src/to-svg.js"),p=m(u),h=r("./src/replace.js"),g=m(h);function m(E){return E&&E.__esModule?E:{default:E}}s.exports={icons:a.default,toSvg:p.default,replace:g.default}},"./src/replace.js":function(s,f,r){Object.defineProperty(f,"__esModule",{value:!0});var l=Object.assign||function(_){for(var v=1;v0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var v=document.querySelectorAll("[data-feather]");Array.from(v).forEach(function(O){return E(O,_)})}function E(_){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},O=A(_),T=O["data-feather"];delete O["data-feather"];var w=h.default[T].toSvg(l({},v,O,{class:(0,u.default)(v.class,O.class)})),S=new DOMParser().parseFromString(w,"image/svg+xml"),L=S.querySelector("svg");_.parentNode.replaceChild(L,_)}function A(_){return Array.from(_.attributes).reduce(function(v,O){return v[O.name]=O.value,v},{})}f.default=m},"./src/tags.json":function(s){s.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-buoy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},"./src/to-svg.js":function(s,f,r){Object.defineProperty(f,"__esModule",{value:!0});var l=r("./src/icons.js"),a=u(l);function u(h){return h&&h.__esModule?h:{default:h}}function p(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!h)throw new Error("The required `key` (icon name) parameter is missing.");if(!a.default[h])throw new Error("No icon matching '"+h+"'. See the complete list of icons at https://feathericons.com");return a.default[h].toSvg(g)}f.default=p},0:function(s,f,r){r("./node_modules/core-js/es/array/from.js"),s.exports=r("./src/index.js")}})})})(Fn);var wr=Fn.exports;const Tr=zn(wr);var Kn={exports:{}};/*!
* Bootstrap v5.3.2 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/(function(Q,z){(function(s,f){Q.exports=f()})(ht,function(){const s=new Map,f={set(n,e,t){s.has(n)||s.set(n,new Map);const i=s.get(n);if(!i.has(e)&&i.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`);return}i.set(e,t)},get(n,e){return s.has(n)&&s.get(n).get(e)||null},remove(n,e){if(!s.has(n))return;const t=s.get(n);t.delete(e),t.size===0&&s.delete(n)}},r=1e6,l=1e3,a="transitionend",u=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),p=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),h=n=>{do n+=Math.floor(Math.random()*r);while(document.getElementById(n));return n},g=n=>{if(!n)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(n);const i=Number.parseFloat(e),o=Number.parseFloat(t);return!i&&!o?0:(e=e.split(",")[0],t=t.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(t))*l)},m=n=>{n.dispatchEvent(new Event(a))},E=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),A=n=>E(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(u(n)):null,_=n=>{if(!E(n)||n.getClientRects().length===0)return!1;const e=getComputedStyle(n).getPropertyValue("visibility")==="visible",t=n.closest("details:not([open])");if(!t)return e;if(t!==n){const i=n.closest("summary");if(i&&i.parentNode!==t||i===null)return!1}return e},v=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled<"u"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",O=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){const e=n.getRootNode();return e instanceof ShadowRoot?e:null}return n instanceof ShadowRoot?n:n.parentNode?O(n.parentNode):null},T=()=>{},w=n=>{n.offsetHeight},S=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,L=[],W=n=>{document.readyState==="loading"?(L.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of L)e()}),L.push(n)):n()},D=()=>document.documentElement.dir==="rtl",$=n=>{W(()=>{const e=S();if(e){const t=n.NAME,i=e.fn[t];e.fn[t]=n.jQueryInterface,e.fn[t].Constructor=n,e.fn[t].noConflict=()=>(e.fn[t]=i,n.jQueryInterface)}})},H=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,ue=(n,e,t=!0)=>{if(!t){H(n);return}const i=5,o=g(e)+i;let c=!1;const d=({target:y})=>{y===e&&(c=!0,e.removeEventListener(a,d),H(n))};e.addEventListener(a,d),setTimeout(()=>{c||m(e)},o)},yt=(n,e,t,i)=>{const o=n.length;let c=n.indexOf(e);return c===-1?!t&&i?n[o-1]:n[0]:(c+=t?1:-1,i&&(c=(c+o)%o),n[Math.max(0,Math.min(c,o-1))])},Te=/[^.]*(?=\..*)\.|.*/,nn=/\..*/,Nt=/::\d+$/,Oe={};let mt=1;const Xe={mouseenter:"mouseover",mouseleave:"mouseout"},le=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 _e(n,e){return e&&`${e}::${mt++}`||n.uidEvent||mt++}function ge(n){const e=_e(n);return n.uidEvent=e,Oe[e]=Oe[e]||{},Oe[e]}function Lt(n,e){return function t(i){return rn(i,{delegateTarget:n}),t.oneOff&&x.off(n,i.type,e),e.apply(n,[i])}}function Ee(n,e,t){return function i(o){const c=n.querySelectorAll(e);for(let{target:d}=o;d&&d!==this;d=d.parentNode)for(const y of c)if(y===d)return rn(o,{delegateTarget:d}),i.oneOff&&x.off(n,o.type,e,t),t.apply(d,[o])}}function Se(n,e,t=null){return Object.values(n).find(i=>i.callable===e&&i.delegationSelector===t)}function De(n,e,t){const i=typeof e=="string",o=i?t:e||t;let c=Yn(n);return le.has(c)||(c=n),[i,o,c]}function pe(n,e,t,i,o){if(typeof e!="string"||!n)return;let[c,d,y]=De(e,t,i);e in Xe&&(d=(B=>function(R){if(!R.relatedTarget||R.relatedTarget!==R.delegateTarget&&!R.delegateTarget.contains(R.relatedTarget))return B.call(this,R)})(d));const b=ge(n),M=b[y]||(b[y]={}),j=Se(M,d,c?t:null);if(j){j.oneOff=j.oneOff&&o;return}const I=_e(d,e.replace(Te,"")),P=c?Ee(n,t,d):Lt(n,d);P.delegationSelector=c?t:null,P.callable=d,P.oneOff=o,P.uidEvent=I,M[I]=P,n.addEventListener(y,P,c)}function Qe(n,e,t,i,o){const c=Se(e[t],i,o);c&&(n.removeEventListener(t,c,!!o),delete e[t][c.uidEvent])}function Cr(n,e,t,i){const o=e[t]||{};for(const[c,d]of Object.entries(o))c.includes(i)&&Qe(n,e,t,d.callable,d.delegationSelector)}function Yn(n){return n=n.replace(nn,""),Xe[n]||n}const x={on(n,e,t,i){pe(n,e,t,i,!1)},one(n,e,t,i){pe(n,e,t,i,!0)},off(n,e,t,i){if(typeof e!="string"||!n)return;const[o,c,d]=De(e,t,i),y=d!==e,b=ge(n),M=b[d]||{},j=e.startsWith(".");if(typeof c<"u"){if(!Object.keys(M).length)return;Qe(n,b,d,c,o?t:null);return}if(j)for(const I of Object.keys(b))Cr(n,b,I,e.slice(1));for(const[I,P]of Object.entries(M)){const N=I.replace(Nt,"");(!y||e.includes(N))&&Qe(n,b,d,P.callable,P.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const i=S(),o=Yn(e),c=e!==o;let d=null,y=!0,b=!0,M=!1;c&&i&&(d=i.Event(e,t),i(n).trigger(d),y=!d.isPropagationStopped(),b=!d.isImmediatePropagationStopped(),M=d.isDefaultPrevented());const j=rn(new Event(e,{bubbles:y,cancelable:!0}),t);return M&&j.preventDefault(),b&&n.dispatchEvent(j),j.defaultPrevented&&d&&d.preventDefault(),j}};function rn(n,e={}){for(const[t,i]of Object.entries(e))try{n[t]=i}catch{Object.defineProperty(n,t,{configurable:!0,get(){return i}})}return n}function Gn(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch{return n}}function on(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const be={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${on(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${on(e)}`)},getDataAttributes(n){if(!n)return{};const e={},t=Object.keys(n.dataset).filter(i=>i.startsWith("bs")&&!i.startsWith("bsConfig"));for(const i of t){let o=i.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),e[o]=Gn(n.dataset[i])}return e},getDataAttribute(n,e){return Gn(n.getAttribute(`data-bs-${on(e)}`))}};class gt{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const i=E(t)?be.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof i=="object"?i:{},...E(t)?be.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[i,o]of Object.entries(t)){const c=e[i],d=E(c)?"element":p(c);if(!new RegExp(o).test(d))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${d}" but expected type "${o}".`)}}}const Nr="5.3.2";class he extends gt{constructor(e,t){super(),e=A(e),e&&(this._element=e,this._config=this._getConfig(t),f.set(this._element,this.constructor.DATA_KEY,this))}dispose(){f.remove(this._element,this.constructor.DATA_KEY),x.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){ue(e,t,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return f.get(A(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return Nr}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const sn=n=>{let e=n.getAttribute("data-bs-target");if(!e||e==="#"){let t=n.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),e=t&&t!=="#"?u(t.trim()):null}return e},C={find(n,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,n))},findOne(n,e=document.documentElement){return Element.prototype.querySelector.call(e,n)},children(n,e){return[].concat(...n.children).filter(t=>t.matches(e))},parents(n,e){const t=[];let i=n.parentNode.closest(e);for(;i;)t.push(i),i=i.parentNode.closest(e);return t},prev(n,e){let t=n.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(n,e){let t=n.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(n){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,n).filter(t=>!v(t)&&_(t))},getSelectorFromElement(n){const e=sn(n);return e&&C.findOne(e)?e:null},getElementFromSelector(n){const e=sn(n);return e?C.findOne(e):null},getMultipleElementsFromSelector(n){const e=sn(n);return e?C.find(e):[]}},Dt=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,i=n.NAME;x.on(document,t,`[data-bs-dismiss="${i}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),v(this))return;const c=C.getElementFromSelector(this)||this.closest(`.${i}`);n.getOrCreateInstance(c)[e]()})},Lr="alert",Un=".bs.alert",Dr=`close${Un}`,Ir=`closed${Un}`,$r="fade",Pr="show";class vt extends he{static get NAME(){return Lr}close(){if(x.trigger(this._element,Dr).defaultPrevented)return;this._element.classList.remove(Pr);const t=this._element.classList.contains($r);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),x.trigger(this._element,Ir),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=vt.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Dt(vt,"close"),$(vt);const Rr="button",Vr=".bs.button",Hr=".data-api",kr="active",Xn='[data-bs-toggle="button"]',zr=`click${Vr}${Hr}`;class xt extends he{static get NAME(){return Rr}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(kr))}static jQueryInterface(e){return this.each(function(){const t=xt.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}x.on(document,zr,Xn,n=>{n.preventDefault();const e=n.target.closest(Xn);xt.getOrCreateInstance(e).toggle()}),$(xt);const Fr="swipe",Ze=".bs.swipe",Kr=`touchstart${Ze}`,Wr=`touchmove${Ze}`,Br=`touchend${Ze}`,Yr=`pointerdown${Ze}`,Gr=`pointerup${Ze}`,Ur="touch",Xr="pen",Qr="pointer-event",Zr=40,Jr={endCallback:null,leftCallback:null,rightCallback:null},qr={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class It extends gt{constructor(e,t){super(),this._element=e,!(!e||!It.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Jr}static get DefaultType(){return qr}static get NAME(){return Fr}dispose(){x.off(this._element,Ze)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),H(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=Zr)return;const t=e/this._deltaX;this._deltaX=0,t&&H(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(x.on(this._element,Yr,e=>this._start(e)),x.on(this._element,Gr,e=>this._end(e)),this._element.classList.add(Qr)):(x.on(this._element,Kr,e=>this._start(e)),x.on(this._element,Wr,e=>this._move(e)),x.on(this._element,Br,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===Xr||e.pointerType===Ur)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const eo="carousel",Me=".bs.carousel",Qn=".data-api",to="ArrowLeft",no="ArrowRight",io=500,_t="next",Je="prev",qe="left",$t="right",ro=`slide${Me}`,an=`slid${Me}`,oo=`keydown${Me}`,so=`mouseenter${Me}`,ao=`mouseleave${Me}`,lo=`dragstart${Me}`,co=`load${Me}${Qn}`,uo=`click${Me}${Qn}`,Zn="carousel",Pt="active",po="slide",ho="carousel-item-end",fo="carousel-item-start",yo="carousel-item-next",mo="carousel-item-prev",Jn=".active",qn=".carousel-item",go=Jn+qn,vo=".carousel-item img",xo=".carousel-indicators",_o="[data-bs-slide], [data-bs-slide-to]",Eo='[data-bs-ride="carousel"]',bo={[to]:$t,[no]:qe},Ao={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},jo={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class et extends he{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=C.findOne(xo,this._element),this._addEventListeners(),this._config.ride===Zn&&this.cycle()}static get Default(){return Ao}static get DefaultType(){return jo}static get NAME(){return eo}next(){this._slide(_t)}nextWhenVisible(){!document.hidden&&_(this._element)&&this.next()}prev(){this._slide(Je)}pause(){this._isSliding&&m(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){x.one(this._element,an,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){x.one(this._element,an,()=>this.to(e));return}const i=this._getItemIndex(this._getActive());if(i===e)return;const o=e>i?_t:Je;this._slide(o,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&x.on(this._element,oo,e=>this._keydown(e)),this._config.pause==="hover"&&(x.on(this._element,so,()=>this.pause()),x.on(this._element,ao,()=>this._maybeEnableCycle())),this._config.touch&&It.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const i of C.find(vo,this._element))x.on(i,lo,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(qe)),rightCallback:()=>this._slide(this._directionToOrder($t)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),io+this._config.interval))}};this._swipeHelper=new It(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=bo[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=C.findOne(Jn,this._indicatorsElement);t.classList.remove(Pt),t.removeAttribute("aria-current");const i=C.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);i&&(i.classList.add(Pt),i.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const i=this._getActive(),o=e===_t,c=t||yt(this._getItems(),i,o,this._config.wrap);if(c===i)return;const d=this._getItemIndex(c),y=N=>x.trigger(this._element,N,{relatedTarget:c,direction:this._orderToDirection(e),from:this._getItemIndex(i),to:d});if(y(ro).defaultPrevented||!i||!c)return;const M=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(d),this._activeElement=c;const j=o?fo:ho,I=o?yo:mo;c.classList.add(I),w(c),i.classList.add(j),c.classList.add(j);const P=()=>{c.classList.remove(j,I),c.classList.add(Pt),i.classList.remove(Pt,I,j),this._isSliding=!1,y(an)};this._queueCallback(P,i,this._isAnimated()),M&&this.cycle()}_isAnimated(){return this._element.classList.contains(po)}_getActive(){return C.findOne(go,this._element)}_getItems(){return C.find(qn,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return D()?e===qe?Je:_t:e===qe?_t:Je}_orderToDirection(e){return D()?e===Je?qe:$t:e===Je?$t:qe}static jQueryInterface(e){return this.each(function(){const t=et.getOrCreateInstance(this,e);if(typeof e=="number"){t.to(e);return}if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}x.on(document,uo,_o,function(n){const e=C.getElementFromSelector(this);if(!e||!e.classList.contains(Zn))return;n.preventDefault();const t=et.getOrCreateInstance(e),i=this.getAttribute("data-bs-slide-to");if(i){t.to(i),t._maybeEnableCycle();return}if(be.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()}),x.on(window,co,()=>{const n=C.find(Eo);for(const e of n)et.getOrCreateInstance(e)}),$(et);const wo="collapse",Et=".bs.collapse",To=".data-api",Oo=`show${Et}`,So=`shown${Et}`,Mo=`hide${Et}`,Co=`hidden${Et}`,No=`click${Et}${To}`,ln="show",tt="collapse",Rt="collapsing",Lo="collapsed",Do=`:scope .${tt} .${tt}`,Io="collapse-horizontal",$o="width",Po="height",Ro=".collapse.show, .collapse.collapsing",cn='[data-bs-toggle="collapse"]',Vo={parent:null,toggle:!0},Ho={parent:"(null|element)",toggle:"boolean"};class nt extends he{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const i=C.find(cn);for(const o of i){const c=C.getSelectorFromElement(o),d=C.find(c).filter(y=>y===this._element);c!==null&&d.length&&this._triggerArray.push(o)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Vo}static get DefaultType(){return Ho}static get NAME(){return wo}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(Ro).filter(y=>y!==this._element).map(y=>nt.getOrCreateInstance(y,{toggle:!1}))),e.length&&e[0]._isTransitioning||x.trigger(this._element,Oo).defaultPrevented)return;for(const y of e)y.hide();const i=this._getDimension();this._element.classList.remove(tt),this._element.classList.add(Rt),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(Rt),this._element.classList.add(tt,ln),this._element.style[i]="",x.trigger(this._element,So)},d=`scroll${i[0].toUpperCase()+i.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[i]=`${this._element[d]}px`}hide(){if(this._isTransitioning||!this._isShown()||x.trigger(this._element,Mo).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,w(this._element),this._element.classList.add(Rt),this._element.classList.remove(tt,ln);for(const o of this._triggerArray){const c=C.getElementFromSelector(o);c&&!this._isShown(c)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(Rt),this._element.classList.add(tt),x.trigger(this._element,Co)};this._element.style[t]="",this._queueCallback(i,this._element,!0)}_isShown(e=this._element){return e.classList.contains(ln)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=A(e.parent),e}_getDimension(){return this._element.classList.contains(Io)?$o:Po}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(cn);for(const t of e){const i=C.getElementFromSelector(t);i&&this._addAriaAndCollapsedClass([t],this._isShown(i))}}_getFirstLevelChildren(e){const t=C.find(Do,this._config.parent);return C.find(e,this._config.parent).filter(i=>!t.includes(i))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const i of e)i.classList.toggle(Lo,!t),i.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const i=nt.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof i[e]>"u")throw new TypeError(`No method named "${e}"`);i[e]()}})}}x.on(document,No,cn,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of C.getMultipleElementsFromSelector(this))nt.getOrCreateInstance(e,{toggle:!1}).toggle()}),$(nt);var te="top",re="bottom",oe="right",ne="left",Vt="auto",it=[te,re,oe,ne],Ie="start",rt="end",ei="clippingParents",dn="viewport",ot="popper",ti="reference",un=it.reduce(function(n,e){return n.concat([e+"-"+Ie,e+"-"+rt])},[]),pn=[].concat(it,[Vt]).reduce(function(n,e){return n.concat([e,e+"-"+Ie,e+"-"+rt])},[]),ni="beforeRead",ii="read",ri="afterRead",oi="beforeMain",si="main",ai="afterMain",li="beforeWrite",ci="write",di="afterWrite",ui=[ni,ii,ri,oi,si,ai,li,ci,di];function ve(n){return n?(n.nodeName||"").toLowerCase():null}function se(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var e=n.ownerDocument;return e&&e.defaultView||window}return n}function $e(n){var e=se(n).Element;return n instanceof e||n instanceof Element}function ce(n){var e=se(n).HTMLElement;return n instanceof e||n instanceof HTMLElement}function hn(n){if(typeof ShadowRoot>"u")return!1;var e=se(n).ShadowRoot;return n instanceof e||n instanceof ShadowRoot}function ko(n){var e=n.state;Object.keys(e.elements).forEach(function(t){var i=e.styles[t]||{},o=e.attributes[t]||{},c=e.elements[t];!ce(c)||!ve(c)||(Object.assign(c.style,i),Object.keys(o).forEach(function(d){var y=o[d];y===!1?c.removeAttribute(d):c.setAttribute(d,y===!0?"":y)}))})}function zo(n){var e=n.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(i){var o=e.elements[i],c=e.attributes[i]||{},d=Object.keys(e.styles.hasOwnProperty(i)?e.styles[i]:t[i]),y=d.reduce(function(b,M){return b[M]="",b},{});!ce(o)||!ve(o)||(Object.assign(o.style,y),Object.keys(c).forEach(function(b){o.removeAttribute(b)}))})}}const fn={name:"applyStyles",enabled:!0,phase:"write",fn:ko,effect:zo,requires:["computeStyles"]};function xe(n){return n.split("-")[0]}var Pe=Math.max,Ht=Math.min,st=Math.round;function yn(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function pi(){return!/^((?!chrome|android).)*safari/i.test(yn())}function at(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var i=n.getBoundingClientRect(),o=1,c=1;e&&ce(n)&&(o=n.offsetWidth>0&&st(i.width)/n.offsetWidth||1,c=n.offsetHeight>0&&st(i.height)/n.offsetHeight||1);var d=$e(n)?se(n):window,y=d.visualViewport,b=!pi()&&t,M=(i.left+(b&&y?y.offsetLeft:0))/o,j=(i.top+(b&&y?y.offsetTop:0))/c,I=i.width/o,P=i.height/c;return{width:I,height:P,top:j,right:M+I,bottom:j+P,left:M,x:M,y:j}}function mn(n){var e=at(n),t=n.offsetWidth,i=n.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:n.offsetLeft,y:n.offsetTop,width:t,height:i}}function hi(n,e){var t=e.getRootNode&&e.getRootNode();if(n.contains(e))return!0;if(t&&hn(t)){var i=e;do{if(i&&n.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Ae(n){return se(n).getComputedStyle(n)}function Fo(n){return["table","td","th"].indexOf(ve(n))>=0}function Ce(n){return(($e(n)?n.ownerDocument:n.document)||window.document).documentElement}function kt(n){return ve(n)==="html"?n:n.assignedSlot||n.parentNode||(hn(n)?n.host:null)||Ce(n)}function fi(n){return!ce(n)||Ae(n).position==="fixed"?null:n.offsetParent}function Ko(n){var e=/firefox/i.test(yn()),t=/Trident/i.test(yn());if(t&&ce(n)){var i=Ae(n);if(i.position==="fixed")return null}var o=kt(n);for(hn(o)&&(o=o.host);ce(o)&&["html","body"].indexOf(ve(o))<0;){var c=Ae(o);if(c.transform!=="none"||c.perspective!=="none"||c.contain==="paint"||["transform","perspective"].indexOf(c.willChange)!==-1||e&&c.willChange==="filter"||e&&c.filter&&c.filter!=="none")return o;o=o.parentNode}return null}function bt(n){for(var e=se(n),t=fi(n);t&&Fo(t)&&Ae(t).position==="static";)t=fi(t);return t&&(ve(t)==="html"||ve(t)==="body"&&Ae(t).position==="static")?e:t||Ko(n)||e}function gn(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function At(n,e,t){return Pe(n,Ht(e,t))}function Wo(n,e,t){var i=At(n,e,t);return i>t?t:i}function yi(){return{top:0,right:0,bottom:0,left:0}}function mi(n){return Object.assign({},yi(),n)}function gi(n,e){return e.reduce(function(t,i){return t[i]=n,t},{})}var Bo=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,mi(typeof e!="number"?e:gi(e,it))};function Yo(n){var e,t=n.state,i=n.name,o=n.options,c=t.elements.arrow,d=t.modifiersData.popperOffsets,y=xe(t.placement),b=gn(y),M=[ne,oe].indexOf(y)>=0,j=M?"height":"width";if(!(!c||!d)){var I=Bo(o.padding,t),P=mn(c),N=b==="y"?te:ne,B=b==="y"?re:oe,R=t.rects.reference[j]+t.rects.reference[b]-d[b]-t.rects.popper[j],k=d[b]-t.rects.reference[b],Y=bt(c),U=Y?b==="y"?Y.clientHeight||0:Y.clientWidth||0:0,X=R/2-k/2,V=I[N],F=U-P[j]-I[B],K=U/2-P[j]/2+X,G=At(V,K,F),q=b;t.modifiersData[i]=(e={},e[q]=G,e.centerOffset=G-K,e)}}function Go(n){var e=n.state,t=n.options,i=t.element,o=i===void 0?"[data-popper-arrow]":i;o!=null&&(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o)||hi(e.elements.popper,o)&&(e.elements.arrow=o))}const vi={name:"arrow",enabled:!0,phase:"main",fn:Yo,effect:Go,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function lt(n){return n.split("-")[1]}var Uo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Xo(n,e){var t=n.x,i=n.y,o=e.devicePixelRatio||1;return{x:st(t*o)/o||0,y:st(i*o)/o||0}}function xi(n){var e,t=n.popper,i=n.popperRect,o=n.placement,c=n.variation,d=n.offsets,y=n.position,b=n.gpuAcceleration,M=n.adaptive,j=n.roundOffsets,I=n.isFixed,P=d.x,N=P===void 0?0:P,B=d.y,R=B===void 0?0:B,k=typeof j=="function"?j({x:N,y:R}):{x:N,y:R};N=k.x,R=k.y;var Y=d.hasOwnProperty("x"),U=d.hasOwnProperty("y"),X=ne,V=te,F=window;if(M){var K=bt(t),G="clientHeight",q="clientWidth";if(K===se(t)&&(K=Ce(t),Ae(K).position!=="static"&&y==="absolute"&&(G="scrollHeight",q="scrollWidth")),K=K,o===te||(o===ne||o===oe)&&c===rt){V=re;var J=I&&K===F&&F.visualViewport?F.visualViewport.height:K[G];R-=J-i.height,R*=b?1:-1}if(o===ne||(o===te||o===re)&&c===rt){X=oe;var Z=I&&K===F&&F.visualViewport?F.visualViewport.width:K[q];N-=Z-i.width,N*=b?1:-1}}var ee=Object.assign({position:y},M&&Uo),ye=j===!0?Xo({x:N,y:R},se(t)):{x:N,y:R};if(N=ye.x,R=ye.y,b){var ie;return Object.assign({},ee,(ie={},ie[V]=U?"0":"",ie[X]=Y?"0":"",ie.transform=(F.devicePixelRatio||1)<=1?"translate("+N+"px, "+R+"px)":"translate3d("+N+"px, "+R+"px, 0)",ie))}return Object.assign({},ee,(e={},e[V]=U?R+"px":"",e[X]=Y?N+"px":"",e.transform="",e))}function Qo(n){var e=n.state,t=n.options,i=t.gpuAcceleration,o=i===void 0?!0:i,c=t.adaptive,d=c===void 0?!0:c,y=t.roundOffsets,b=y===void 0?!0:y,M={placement:xe(e.placement),variation:lt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,xi(Object.assign({},M,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:d,roundOffsets:b})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,xi(Object.assign({},M,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:b})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const vn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Qo,data:{}};var zt={passive:!0};function Zo(n){var e=n.state,t=n.instance,i=n.options,o=i.scroll,c=o===void 0?!0:o,d=i.resize,y=d===void 0?!0:d,b=se(e.elements.popper),M=[].concat(e.scrollParents.reference,e.scrollParents.popper);return c&&M.forEach(function(j){j.addEventListener("scroll",t.update,zt)}),y&&b.addEventListener("resize",t.update,zt),function(){c&&M.forEach(function(j){j.removeEventListener("scroll",t.update,zt)}),y&&b.removeEventListener("resize",t.update,zt)}}const xn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Zo,data:{}};var Jo={left:"right",right:"left",bottom:"top",top:"bottom"};function Ft(n){return n.replace(/left|right|bottom|top/g,function(e){return Jo[e]})}var qo={start:"end",end:"start"};function _i(n){return n.replace(/start|end/g,function(e){return qo[e]})}function _n(n){var e=se(n),t=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:t,scrollTop:i}}function En(n){return at(Ce(n)).left+_n(n).scrollLeft}function es(n,e){var t=se(n),i=Ce(n),o=t.visualViewport,c=i.clientWidth,d=i.clientHeight,y=0,b=0;if(o){c=o.width,d=o.height;var M=pi();(M||!M&&e==="fixed")&&(y=o.offsetLeft,b=o.offsetTop)}return{width:c,height:d,x:y+En(n),y:b}}function ts(n){var e,t=Ce(n),i=_n(n),o=(e=n.ownerDocument)==null?void 0:e.body,c=Pe(t.scrollWidth,t.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),d=Pe(t.scrollHeight,t.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),y=-i.scrollLeft+En(n),b=-i.scrollTop;return Ae(o||t).direction==="rtl"&&(y+=Pe(t.clientWidth,o?o.clientWidth:0)-c),{width:c,height:d,x:y,y:b}}function bn(n){var e=Ae(n),t=e.overflow,i=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+o+i)}function Ei(n){return["html","body","#document"].indexOf(ve(n))>=0?n.ownerDocument.body:ce(n)&&bn(n)?n:Ei(kt(n))}function jt(n,e){var t;e===void 0&&(e=[]);var i=Ei(n),o=i===((t=n.ownerDocument)==null?void 0:t.body),c=se(i),d=o?[c].concat(c.visualViewport||[],bn(i)?i:[]):i,y=e.concat(d);return o?y:y.concat(jt(kt(d)))}function An(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function ns(n,e){var t=at(n,!1,e==="fixed");return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}function bi(n,e,t){return e===dn?An(es(n,t)):$e(e)?ns(e,t):An(ts(Ce(n)))}function is(n){var e=jt(kt(n)),t=["absolute","fixed"].indexOf(Ae(n).position)>=0,i=t&&ce(n)?bt(n):n;return $e(i)?e.filter(function(o){return $e(o)&&hi(o,i)&&ve(o)!=="body"}):[]}function rs(n,e,t,i){var o=e==="clippingParents"?is(n):[].concat(e),c=[].concat(o,[t]),d=c[0],y=c.reduce(function(b,M){var j=bi(n,M,i);return b.top=Pe(j.top,b.top),b.right=Ht(j.right,b.right),b.bottom=Ht(j.bottom,b.bottom),b.left=Pe(j.left,b.left),b},bi(n,d,i));return y.width=y.right-y.left,y.height=y.bottom-y.top,y.x=y.left,y.y=y.top,y}function Ai(n){var e=n.reference,t=n.element,i=n.placement,o=i?xe(i):null,c=i?lt(i):null,d=e.x+e.width/2-t.width/2,y=e.y+e.height/2-t.height/2,b;switch(o){case te:b={x:d,y:e.y-t.height};break;case re:b={x:d,y:e.y+e.height};break;case oe:b={x:e.x+e.width,y};break;case ne:b={x:e.x-t.width,y};break;default:b={x:e.x,y:e.y}}var M=o?gn(o):null;if(M!=null){var j=M==="y"?"height":"width";switch(c){case Ie:b[M]=b[M]-(e[j]/2-t[j]/2);break;case rt:b[M]=b[M]+(e[j]/2-t[j]/2);break}}return b}function ct(n,e){e===void 0&&(e={});var t=e,i=t.placement,o=i===void 0?n.placement:i,c=t.strategy,d=c===void 0?n.strategy:c,y=t.boundary,b=y===void 0?ei:y,M=t.rootBoundary,j=M===void 0?dn:M,I=t.elementContext,P=I===void 0?ot:I,N=t.altBoundary,B=N===void 0?!1:N,R=t.padding,k=R===void 0?0:R,Y=mi(typeof k!="number"?k:gi(k,it)),U=P===ot?ti:ot,X=n.rects.popper,V=n.elements[B?U:P],F=rs($e(V)?V:V.contextElement||Ce(n.elements.popper),b,j,d),K=at(n.elements.reference),G=Ai({reference:K,element:X,strategy:"absolute",placement:o}),q=An(Object.assign({},X,G)),J=P===ot?q:K,Z={top:F.top-J.top+Y.top,bottom:J.bottom-F.bottom+Y.bottom,left:F.left-J.left+Y.left,right:J.right-F.right+Y.right},ee=n.modifiersData.offset;if(P===ot&&ee){var ye=ee[o];Object.keys(Z).forEach(function(ie){var We=[oe,re].indexOf(ie)>=0?1:-1,Be=[te,re].indexOf(ie)>=0?"y":"x";Z[ie]+=ye[Be]*We})}return Z}function os(n,e){e===void 0&&(e={});var t=e,i=t.placement,o=t.boundary,c=t.rootBoundary,d=t.padding,y=t.flipVariations,b=t.allowedAutoPlacements,M=b===void 0?pn:b,j=lt(i),I=j?y?un:un.filter(function(B){return lt(B)===j}):it,P=I.filter(function(B){return M.indexOf(B)>=0});P.length===0&&(P=I);var N=P.reduce(function(B,R){return B[R]=ct(n,{placement:R,boundary:o,rootBoundary:c,padding:d})[xe(R)],B},{});return Object.keys(N).sort(function(B,R){return N[B]-N[R]})}function ss(n){if(xe(n)===Vt)return[];var e=Ft(n);return[_i(n),e,_i(e)]}function as(n){var e=n.state,t=n.options,i=n.name;if(!e.modifiersData[i]._skip){for(var o=t.mainAxis,c=o===void 0?!0:o,d=t.altAxis,y=d===void 0?!0:d,b=t.fallbackPlacements,M=t.padding,j=t.boundary,I=t.rootBoundary,P=t.altBoundary,N=t.flipVariations,B=N===void 0?!0:N,R=t.allowedAutoPlacements,k=e.options.placement,Y=xe(k),U=Y===k,X=b||(U||!B?[Ft(k)]:ss(k)),V=[k].concat(X).reduce(function(pt,Le){return pt.concat(xe(Le)===Vt?os(e,{placement:Le,boundary:j,rootBoundary:I,padding:M,flipVariations:B,allowedAutoPlacements:R}):Le)},[]),F=e.rects.reference,K=e.rects.popper,G=new Map,q=!0,J=V[0],Z=0;Z=0,Be=We?"width":"height",ae=ct(e,{placement:ee,boundary:j,rootBoundary:I,altBoundary:P,padding:M}),me=We?ie?oe:ne:ie?re:te;F[Be]>K[Be]&&(me=Ft(me));var Zt=Ft(me),Ye=[];if(c&&Ye.push(ae[ye]<=0),y&&Ye.push(ae[me]<=0,ae[Zt]<=0),Ye.every(function(pt){return pt})){J=ee,q=!1;break}G.set(ee,Ye)}if(q)for(var Jt=B?3:1,Rn=function(Le){var Mt=V.find(function(en){var Ge=G.get(en);if(Ge)return Ge.slice(0,Le).every(function(Vn){return Vn})});if(Mt)return J=Mt,"break"},St=Jt;St>0;St--){var qt=Rn(St);if(qt==="break")break}e.placement!==J&&(e.modifiersData[i]._skip=!0,e.placement=J,e.reset=!0)}}const ji={name:"flip",enabled:!0,phase:"main",fn:as,requiresIfExists:["offset"],data:{_skip:!1}};function wi(n,e,t){return t===void 0&&(t={x:0,y:0}),{top:n.top-e.height-t.y,right:n.right-e.width+t.x,bottom:n.bottom-e.height+t.y,left:n.left-e.width-t.x}}function Ti(n){return[te,oe,re,ne].some(function(e){return n[e]>=0})}function ls(n){var e=n.state,t=n.name,i=e.rects.reference,o=e.rects.popper,c=e.modifiersData.preventOverflow,d=ct(e,{elementContext:"reference"}),y=ct(e,{altBoundary:!0}),b=wi(d,i),M=wi(y,o,c),j=Ti(b),I=Ti(M);e.modifiersData[t]={referenceClippingOffsets:b,popperEscapeOffsets:M,isReferenceHidden:j,hasPopperEscaped:I},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":j,"data-popper-escaped":I})}const Oi={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ls};function cs(n,e,t){var i=xe(n),o=[ne,te].indexOf(i)>=0?-1:1,c=typeof t=="function"?t(Object.assign({},e,{placement:n})):t,d=c[0],y=c[1];return d=d||0,y=(y||0)*o,[ne,oe].indexOf(i)>=0?{x:y,y:d}:{x:d,y}}function ds(n){var e=n.state,t=n.options,i=n.name,o=t.offset,c=o===void 0?[0,0]:o,d=pn.reduce(function(j,I){return j[I]=cs(I,e.rects,c),j},{}),y=d[e.placement],b=y.x,M=y.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=b,e.modifiersData.popperOffsets.y+=M),e.modifiersData[i]=d}const Si={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ds};function us(n){var e=n.state,t=n.name;e.modifiersData[t]=Ai({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const jn={name:"popperOffsets",enabled:!0,phase:"read",fn:us,data:{}};function ps(n){return n==="x"?"y":"x"}function hs(n){var e=n.state,t=n.options,i=n.name,o=t.mainAxis,c=o===void 0?!0:o,d=t.altAxis,y=d===void 0?!1:d,b=t.boundary,M=t.rootBoundary,j=t.altBoundary,I=t.padding,P=t.tether,N=P===void 0?!0:P,B=t.tetherOffset,R=B===void 0?0:B,k=ct(e,{boundary:b,rootBoundary:M,padding:I,altBoundary:j}),Y=xe(e.placement),U=lt(e.placement),X=!U,V=gn(Y),F=ps(V),K=e.modifiersData.popperOffsets,G=e.rects.reference,q=e.rects.popper,J=typeof R=="function"?R(Object.assign({},e.rects,{placement:e.placement})):R,Z=typeof J=="number"?{mainAxis:J,altAxis:J}:Object.assign({mainAxis:0,altAxis:0},J),ee=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,ye={x:0,y:0};if(K){if(c){var ie,We=V==="y"?te:ne,Be=V==="y"?re:oe,ae=V==="y"?"height":"width",me=K[V],Zt=me+k[We],Ye=me-k[Be],Jt=N?-q[ae]/2:0,Rn=U===Ie?G[ae]:q[ae],St=U===Ie?-q[ae]:-G[ae],qt=e.elements.arrow,pt=N&&qt?mn(qt):{width:0,height:0},Le=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:yi(),Mt=Le[We],en=Le[Be],Ge=At(0,G[ae],pt[ae]),Vn=X?G[ae]/2-Jt-Ge-Mt-Z.mainAxis:Rn-Ge-Mt-Z.mainAxis,oc=X?-G[ae]/2+Jt+Ge+en+Z.mainAxis:St+Ge+en+Z.mainAxis,Hn=e.elements.arrow&&bt(e.elements.arrow),sc=Hn?V==="y"?Hn.clientTop||0:Hn.clientLeft||0:0,mr=(ie=ee==null?void 0:ee[V])!=null?ie:0,ac=me+Vn-mr-sc,lc=me+oc-mr,gr=At(N?Ht(Zt,ac):Zt,me,N?Pe(Ye,lc):Ye);K[V]=gr,ye[V]=gr-me}if(y){var vr,cc=V==="x"?te:ne,dc=V==="x"?re:oe,Ue=K[F],tn=F==="y"?"height":"width",xr=Ue+k[cc],_r=Ue-k[dc],kn=[te,ne].indexOf(Y)!==-1,Er=(vr=ee==null?void 0:ee[F])!=null?vr:0,br=kn?xr:Ue-G[tn]-q[tn]-Er+Z.altAxis,Ar=kn?Ue+G[tn]+q[tn]-Er-Z.altAxis:_r,jr=N&&kn?Wo(br,Ue,Ar):At(N?br:xr,Ue,N?Ar:_r);K[F]=jr,ye[F]=jr-Ue}e.modifiersData[i]=ye}}const Mi={name:"preventOverflow",enabled:!0,phase:"main",fn:hs,requiresIfExists:["offset"]};function fs(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function ys(n){return n===se(n)||!ce(n)?_n(n):fs(n)}function ms(n){var e=n.getBoundingClientRect(),t=st(e.width)/n.offsetWidth||1,i=st(e.height)/n.offsetHeight||1;return t!==1||i!==1}function gs(n,e,t){t===void 0&&(t=!1);var i=ce(e),o=ce(e)&&ms(e),c=Ce(e),d=at(n,o,t),y={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(i||!i&&!t)&&((ve(e)!=="body"||bn(c))&&(y=ys(e)),ce(e)?(b=at(e,!0),b.x+=e.clientLeft,b.y+=e.clientTop):c&&(b.x=En(c))),{x:d.left+y.scrollLeft-b.x,y:d.top+y.scrollTop-b.y,width:d.width,height:d.height}}function vs(n){var e=new Map,t=new Set,i=[];n.forEach(function(c){e.set(c.name,c)});function o(c){t.add(c.name);var d=[].concat(c.requires||[],c.requiresIfExists||[]);d.forEach(function(y){if(!t.has(y)){var b=e.get(y);b&&o(b)}}),i.push(c)}return n.forEach(function(c){t.has(c.name)||o(c)}),i}function xs(n){var e=vs(n);return ui.reduce(function(t,i){return t.concat(e.filter(function(o){return o.phase===i}))},[])}function _s(n){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(n())})})),e}}function Es(n){var e=n.reduce(function(t,i){var o=t[i.name];return t[i.name]=o?Object.assign({},o,i,{options:Object.assign({},o.options,i.options),data:Object.assign({},o.data,i.data)}):i,t},{});return Object.keys(e).map(function(t){return e[t]})}var Ci={placement:"bottom",modifiers:[],strategy:"absolute"};function Ni(){for(var n=arguments.length,e=new Array(n),t=0;t"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:E(this._config.reference)?e=A(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=wn(e,this._menu,t)}_isShown(){return this._menu.classList.contains(dt)}_getPlacement(){const e=this._parent;if(e.classList.contains($s))return Gs;if(e.classList.contains(Ps))return Us;if(e.classList.contains(Rs))return Xs;if(e.classList.contains(Vs))return Qs;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(Is)?t?Ws:Ks:t?Ys:Bs}_detectNavbar(){return this._element.closest(ks)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(be.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...H(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const i=C.find(Fs,this._menu).filter(o=>_(o));i.length&&yt(i,t,e===$i,!i.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=fe.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===Ss||e.type==="keyup"&&e.key!==Ii)return;const t=C.find(Hs);for(const i of t){const o=fe.getInstance(i);if(!o||o._config.autoClose===!1)continue;const c=e.composedPath(),d=c.includes(o._menu);if(c.includes(o._element)||o._config.autoClose==="inside"&&!d||o._config.autoClose==="outside"&&d||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Ii||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const y={relatedTarget:o._element};e.type==="click"&&(y.clickEvent=e),o._completeHide(y)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),i=e.key===Ts,o=[Os,$i].includes(e.key);if(!o&&!i||t&&!i)return;e.preventDefault();const c=this.matches(Ve)?this:C.prev(this,Ve)[0]||C.next(this,Ve)[0]||C.findOne(Ve,e.delegateTarget.parentNode),d=fe.getOrCreateInstance(c);if(o){e.stopPropagation(),d.show(),d._selectMenuItem(e);return}d._isShown()&&(e.stopPropagation(),d.hide(),c.focus())}}x.on(document,Ri,Ve,fe.dataApiKeydownHandler),x.on(document,Ri,Wt,fe.dataApiKeydownHandler),x.on(document,Pi,fe.clearMenus),x.on(document,Ds,fe.clearMenus),x.on(document,Pi,Ve,function(n){n.preventDefault(),fe.getOrCreateInstance(this).toggle()}),$(fe);const Vi="backdrop",qs="fade",Hi="show",ki=`mousedown.bs.${Vi}`,ea={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ta={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class zi extends gt{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return ea}static get DefaultType(){return ta}static get NAME(){return Vi}show(e){if(!this._config.isVisible){H(e);return}this._append();const t=this._getElement();this._config.isAnimated&&w(t),t.classList.add(Hi),this._emulateAnimation(()=>{H(e)})}hide(e){if(!this._config.isVisible){H(e);return}this._getElement().classList.remove(Hi),this._emulateAnimation(()=>{this.dispose(),H(e)})}dispose(){this._isAppended&&(x.off(this._element,ki),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(qs),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=A(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),x.on(e,ki,()=>{H(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){ue(e,this._getElement(),this._config.isAnimated)}}const na="focustrap",Bt=".bs.focustrap",ia=`focusin${Bt}`,ra=`keydown.tab${Bt}`,oa="Tab",sa="forward",Fi="backward",aa={autofocus:!0,trapElement:null},la={autofocus:"boolean",trapElement:"element"};class Ki extends gt{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return aa}static get DefaultType(){return la}static get NAME(){return na}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),x.off(document,Bt),x.on(document,ia,e=>this._handleFocusin(e)),x.on(document,ra,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,x.off(document,Bt))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const i=C.focusableChildren(t);i.length===0?t.focus():this._lastTabNavDirection===Fi?i[i.length-1].focus():i[0].focus()}_handleKeydown(e){e.key===oa&&(this._lastTabNavDirection=e.shiftKey?Fi:sa)}}const Wi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Bi=".sticky-top",Yt="padding-right",Yi="margin-right";class On{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Yt,t=>t+e),this._setElementAttributes(Wi,Yt,t=>t+e),this._setElementAttributes(Bi,Yi,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Yt),this._resetElementAttributes(Wi,Yt),this._resetElementAttributes(Bi,Yi)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,i){const o=this.getWidth(),c=d=>{if(d!==this._element&&window.innerWidth>d.clientWidth+o)return;this._saveInitialAttribute(d,t);const y=window.getComputedStyle(d).getPropertyValue(t);d.style.setProperty(t,`${i(Number.parseFloat(y))}px`)};this._applyManipulationCallback(e,c)}_saveInitialAttribute(e,t){const i=e.style.getPropertyValue(t);i&&be.setDataAttribute(e,t,i)}_resetElementAttributes(e,t){const i=o=>{const c=be.getDataAttribute(o,t);if(c===null){o.style.removeProperty(t);return}be.removeDataAttribute(o,t),o.style.setProperty(t,c)};this._applyManipulationCallback(e,i)}_applyManipulationCallback(e,t){if(E(e)){t(e);return}for(const i of C.find(e,this._element))t(i)}}const ca="modal",de=".bs.modal",da=".data-api",ua="Escape",pa=`hide${de}`,ha=`hidePrevented${de}`,Gi=`hidden${de}`,Ui=`show${de}`,fa=`shown${de}`,ya=`resize${de}`,ma=`click.dismiss${de}`,ga=`mousedown.dismiss${de}`,va=`keydown.dismiss${de}`,xa=`click${de}${da}`,Xi="modal-open",_a="fade",Qi="show",Sn="modal-static",Ea=".modal.show",ba=".modal-dialog",Aa=".modal-body",ja='[data-bs-toggle="modal"]',wa={backdrop:!0,focus:!0,keyboard:!0},Ta={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class He extends he{constructor(e,t){super(e,t),this._dialog=C.findOne(ba,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new On,this._addEventListeners()}static get Default(){return wa}static get DefaultType(){return Ta}static get NAME(){return ca}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||x.trigger(this._element,Ui,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Xi),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||x.trigger(this._element,pa).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Qi),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){x.off(window,de),x.off(this._dialog,de),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new zi({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ki({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=C.findOne(Aa,this._dialog);t&&(t.scrollTop=0),w(this._element),this._element.classList.add(Qi);const i=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,x.trigger(this._element,fa,{relatedTarget:e})};this._queueCallback(i,this._dialog,this._isAnimated())}_addEventListeners(){x.on(this._element,va,e=>{if(e.key===ua){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),x.on(window,ya,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),x.on(this._element,ga,e=>{x.one(this._element,ma,t=>{if(!(this._element!==e.target||this._element!==t.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(Xi),this._resetAdjustments(),this._scrollBar.reset(),x.trigger(this._element,Gi)})}_isAnimated(){return this._element.classList.contains(_a)}_triggerBackdropTransition(){if(x.trigger(this._element,ha).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,i=this._element.style.overflowY;i==="hidden"||this._element.classList.contains(Sn)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Sn),this._queueCallback(()=>{this._element.classList.remove(Sn),this._queueCallback(()=>{this._element.style.overflowY=i},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=t>0;if(i&&!e){const o=D()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!i&&e){const o=D()?"paddingRight":"paddingLeft";this._element.style[o]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const i=He.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof i[e]>"u")throw new TypeError(`No method named "${e}"`);i[e](t)}})}}x.on(document,xa,ja,function(n){const e=C.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),x.one(e,Ui,o=>{o.defaultPrevented||x.one(e,Gi,()=>{_(this)&&this.focus()})});const t=C.findOne(Ea);t&&He.getInstance(t).hide(),He.getOrCreateInstance(e).toggle(this)}),Dt(He),$(He);const Oa="offcanvas",je=".bs.offcanvas",Zi=".data-api",Sa=`load${je}${Zi}`,Ma="Escape",Ji="show",qi="showing",er="hiding",Ca="offcanvas-backdrop",tr=".offcanvas.show",Na=`show${je}`,La=`shown${je}`,Da=`hide${je}`,nr=`hidePrevented${je}`,ir=`hidden${je}`,Ia=`resize${je}`,$a=`click${je}${Zi}`,Pa=`keydown.dismiss${je}`,Ra='[data-bs-toggle="offcanvas"]',Va={backdrop:!0,keyboard:!0,scroll:!1},Ha={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class we extends he{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Va}static get DefaultType(){return Ha}static get NAME(){return Oa}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||x.trigger(this._element,Na,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new On().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(qi);const i=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Ji),this._element.classList.remove(qi),x.trigger(this._element,La,{relatedTarget:e})};this._queueCallback(i,this._element,!0)}hide(){if(!this._isShown||x.trigger(this._element,Da).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(er),this._backdrop.hide();const t=()=>{this._element.classList.remove(Ji,er),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new On().reset(),x.trigger(this._element,ir)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){x.trigger(this._element,nr);return}this.hide()},t=!!this._config.backdrop;return new zi({className:Ca,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new Ki({trapElement:this._element})}_addEventListeners(){x.on(this._element,Pa,e=>{if(e.key===Ma){if(this._config.keyboard){this.hide();return}x.trigger(this._element,nr)}})}static jQueryInterface(e){return this.each(function(){const t=we.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}x.on(document,$a,Ra,function(n){const e=C.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),v(this))return;x.one(e,ir,()=>{_(this)&&this.focus()});const t=C.findOne(tr);t&&t!==e&&we.getInstance(t).hide(),we.getOrCreateInstance(e).toggle(this)}),x.on(window,Sa,()=>{for(const n of C.find(tr))we.getOrCreateInstance(n).show()}),x.on(window,Ia,()=>{for(const n of C.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&we.getOrCreateInstance(n).hide()}),Dt(we),$(we);const rr={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},ka=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),za=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Fa=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?ka.has(t)?!!za.test(n.nodeValue):!0:e.filter(i=>i instanceof RegExp).some(i=>i.test(t))};function Ka(n,e,t){if(!n.length)return n;if(t&&typeof t=="function")return t(n);const o=new window.DOMParser().parseFromString(n,"text/html"),c=[].concat(...o.body.querySelectorAll("*"));for(const d of c){const y=d.nodeName.toLowerCase();if(!Object.keys(e).includes(y)){d.remove();continue}const b=[].concat(...d.attributes),M=[].concat(e["*"]||[],e[y]||[]);for(const j of b)Fa(j,M)||d.removeAttribute(j.nodeName)}return o.body.innerHTML}const Wa="TemplateFactory",Ba={allowList:rr,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:""},Ya={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Ga={entry:"(string|element|function|null)",selector:"(string|element)"};class Ua extends gt{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Ba}static get DefaultType(){return Ya}static get NAME(){return Wa}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[o,c]of Object.entries(this._config.content))this._setContent(e,c,o);const t=e.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&t.classList.add(...i.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,i]of Object.entries(e))super._typeCheckConfig({selector:t,entry:i},Ga)}_setContent(e,t,i){const o=C.findOne(i,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(E(t)){this._putElementInTemplate(A(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?Ka(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return H(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const Xa="tooltip",Qa=new Set(["sanitize","allowList","sanitizeFn"]),Mn="fade",Za="modal",Gt="show",Ja=".tooltip-inner",or=`.${Za}`,sr="hide.bs.modal",wt="hover",Cn="focus",qa="click",el="manual",tl="hide",nl="hidden",il="show",rl="shown",ol="inserted",sl="click",al="focusin",ll="focusout",cl="mouseenter",dl="mouseleave",ul={AUTO:"auto",TOP:"top",RIGHT:D()?"left":"right",BOTTOM:"bottom",LEFT:D()?"right":"left"},pl={allowList:rr,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},hl={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 ke extends he{constructor(e,t){if(typeof Li>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return pl}static get DefaultType(){return hl}static get NAME(){return Xa}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),x.off(this._element.closest(or),sr,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 e=x.trigger(this._element,this.constructor.eventName(il)),i=(O(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!i)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:c}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(c.append(o),x.trigger(this._element,this.constructor.eventName(ol))),this._popper=this._createPopper(o),o.classList.add(Gt),"ontouchstart"in document.documentElement)for(const y of[].concat(...document.body.children))x.on(y,"mouseover",T);const d=()=>{x.trigger(this._element,this.constructor.eventName(rl)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(d,this.tip,this._isAnimated())}hide(){if(!this._isShown()||x.trigger(this._element,this.constructor.eventName(tl)).defaultPrevented)return;if(this._getTipElement().classList.remove(Gt),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))x.off(o,"mouseover",T);this._activeTrigger[qa]=!1,this._activeTrigger[Cn]=!1,this._activeTrigger[wt]=!1,this._isHovered=null;const i=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),x.trigger(this._element,this.constructor.eventName(nl)))};this._queueCallback(i,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(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Mn,Gt),t.classList.add(`bs-${this.constructor.NAME}-auto`);const i=h(this.constructor.NAME).toString();return t.setAttribute("id",i),this._isAnimated()&&t.classList.add(Mn),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Ua({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Ja]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Mn)}_isShown(){return this.tip&&this.tip.classList.contains(Gt)}_createPopper(e){const t=H(this._config.placement,[this,e,this._element]),i=ul[t.toUpperCase()];return wn(this._element,e,this._getPopperConfig(i))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return H(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:i=>{this._getTipElement().setAttribute("data-popper-placement",i.state.placement)}}]};return{...t,...H(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")x.on(this._element,this.constructor.eventName(sl),this._config.selector,i=>{this._initializeOnDelegatedTarget(i).toggle()});else if(t!==el){const i=t===wt?this.constructor.eventName(cl):this.constructor.eventName(al),o=t===wt?this.constructor.eventName(dl):this.constructor.eventName(ll);x.on(this._element,i,this._config.selector,c=>{const d=this._initializeOnDelegatedTarget(c);d._activeTrigger[c.type==="focusin"?Cn:wt]=!0,d._enter()}),x.on(this._element,o,this._config.selector,c=>{const d=this._initializeOnDelegatedTarget(c);d._activeTrigger[c.type==="focusout"?Cn:wt]=d._element.contains(c.relatedTarget),d._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},x.on(this._element.closest(or),sr,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){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(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=be.getDataAttributes(this._element);for(const i of Object.keys(t))Qa.has(i)&&delete t[i];return e={...t,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:A(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,i]of Object.entries(this._config))this.constructor.Default[t]!==i&&(e[t]=i);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=ke.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}$(ke);const fl="popover",yl=".popover-header",ml=".popover-body",gl={...ke.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},vl={...ke.DefaultType,content:"(null|string|element|function)"};class Ut extends ke{static get Default(){return gl}static get DefaultType(){return vl}static get NAME(){return fl}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[yl]:this._getTitle(),[ml]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=Ut.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}$(Ut);const xl="scrollspy",Nn=".bs.scrollspy",_l=".data-api",El=`activate${Nn}`,ar=`click${Nn}`,bl=`load${Nn}${_l}`,Al="dropdown-item",ut="active",jl='[data-bs-spy="scroll"]',Ln="[href]",wl=".nav, .list-group",lr=".nav-link",Tl=`${lr}, .nav-item > ${lr}, .list-group-item`,Ol=".dropdown",Sl=".dropdown-toggle",Ml={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Cl={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Tt extends he{constructor(e,t){super(e,t),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 Ml}static get DefaultType(){return Cl}static get NAME(){return xl}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=A(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(t=>Number.parseFloat(t))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(x.off(this._config.target,ar),x.on(this._config.target,ar,Ln,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const i=this._rootElement||window,o=t.offsetTop-this._element.offsetTop;if(i.scrollTo){i.scrollTo({top:o,behavior:"smooth"});return}i.scrollTop=o}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=d=>this._targetLinks.get(`#${d.target.id}`),i=d=>{this._previousScrollData.visibleEntryTop=d.target.offsetTop,this._process(t(d))},o=(this._rootElement||document.documentElement).scrollTop,c=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const d of e){if(!d.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(d));continue}const y=d.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(c&&y){if(i(d),!o)return;continue}!c&&!y&&i(d)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=C.find(Ln,this._config.target);for(const t of e){if(!t.hash||v(t))continue;const i=C.findOne(decodeURI(t.hash),this._element);_(i)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,i))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(ut),this._activateParents(e),x.trigger(this._element,El,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Al)){C.findOne(Sl,e.closest(Ol)).classList.add(ut);return}for(const t of C.parents(e,wl))for(const i of C.prev(t,Tl))i.classList.add(ut)}_clearActiveClass(e){e.classList.remove(ut);const t=C.find(`${Ln}.${ut}`,e);for(const i of t)i.classList.remove(ut)}static jQueryInterface(e){return this.each(function(){const t=Tt.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}x.on(window,bl,()=>{for(const n of C.find(jl))Tt.getOrCreateInstance(n)}),$(Tt);const Nl="tab",ze=".bs.tab",Ll=`hide${ze}`,Dl=`hidden${ze}`,Il=`show${ze}`,$l=`shown${ze}`,Pl=`click${ze}`,Rl=`keydown${ze}`,Vl=`load${ze}`,Hl="ArrowLeft",cr="ArrowRight",kl="ArrowUp",dr="ArrowDown",Dn="Home",ur="End",Fe="active",pr="fade",In="show",zl="dropdown",hr=".dropdown-toggle",Fl=".dropdown-menu",$n=`:not(${hr})`,Kl='.list-group, .nav, [role="tablist"]',Wl=".nav-item, .list-group-item",Bl=`.nav-link${$n}, .list-group-item${$n}, [role="tab"]${$n}`,fr='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Pn=`${Bl}, ${fr}`,Yl=`.${Fe}[data-bs-toggle="tab"], .${Fe}[data-bs-toggle="pill"], .${Fe}[data-bs-toggle="list"]`;class Ke extends he{constructor(e){super(e),this._parent=this._element.closest(Kl),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),x.on(this._element,Rl,t=>this._keydown(t)))}static get NAME(){return Nl}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),i=t?x.trigger(t,Ll,{relatedTarget:e}):null;x.trigger(e,Il,{relatedTarget:t}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(Fe),this._activate(C.getElementFromSelector(e));const i=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(In);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),x.trigger(e,$l,{relatedTarget:t})};this._queueCallback(i,e,e.classList.contains(pr))}_deactivate(e,t){if(!e)return;e.classList.remove(Fe),e.blur(),this._deactivate(C.getElementFromSelector(e));const i=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(In);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),x.trigger(e,Dl,{relatedTarget:t})};this._queueCallback(i,e,e.classList.contains(pr))}_keydown(e){if(![Hl,cr,kl,dr,Dn,ur].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter(o=>!v(o));let i;if([Dn,ur].includes(e.key))i=t[e.key===Dn?0:t.length-1];else{const o=[cr,dr].includes(e.key);i=yt(t,e.target,o,!0)}i&&(i.focus({preventScroll:!0}),Ke.getOrCreateInstance(i).show())}_getChildren(){return C.find(Pn,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const i of t)this._setInitialAttributesOnChild(i)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),i=this._getOuterElement(e);e.setAttribute("aria-selected",t),i!==e&&this._setAttributeIfNotExists(i,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=C.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const i=this._getOuterElement(e);if(!i.classList.contains(zl))return;const o=(c,d)=>{const y=C.findOne(c,i);y&&y.classList.toggle(d,t)};o(hr,Fe),o(Fl,In),i.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,i){e.hasAttribute(t)||e.setAttribute(t,i)}_elemIsActive(e){return e.classList.contains(Fe)}_getInnerElement(e){return e.matches(Pn)?e:C.findOne(Pn,e)}_getOuterElement(e){return e.closest(Wl)||e}static jQueryInterface(e){return this.each(function(){const t=Ke.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}x.on(document,Pl,fr,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!v(this)&&Ke.getOrCreateInstance(this).show()}),x.on(window,Vl,()=>{for(const n of C.find(Yl))Ke.getOrCreateInstance(n)}),$(Ke);const Gl="toast",Ne=".bs.toast",Ul=`mouseover${Ne}`,Xl=`mouseout${Ne}`,Ql=`focusin${Ne}`,Zl=`focusout${Ne}`,Jl=`hide${Ne}`,ql=`hidden${Ne}`,ec=`show${Ne}`,tc=`shown${Ne}`,nc="fade",yr="hide",Xt="show",Qt="showing",ic={animation:"boolean",autohide:"boolean",delay:"number"},rc={animation:!0,autohide:!0,delay:5e3};class Ot extends he{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return rc}static get DefaultType(){return ic}static get NAME(){return Gl}show(){if(x.trigger(this._element,ec).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(nc);const t=()=>{this._element.classList.remove(Qt),x.trigger(this._element,tc),this._maybeScheduleHide()};this._element.classList.remove(yr),w(this._element),this._element.classList.add(Xt,Qt),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||x.trigger(this._element,Jl).defaultPrevented)return;const t=()=>{this._element.classList.add(yr),this._element.classList.remove(Qt,Xt),x.trigger(this._element,ql)};this._element.classList.add(Qt),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Xt),super.dispose()}isShown(){return this._element.classList.contains(Xt)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=t;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=t;break}}if(t){this._clearTimeout();return}const i=e.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){x.on(this._element,Ul,e=>this._onInteraction(e,!0)),x.on(this._element,Xl,e=>this._onInteraction(e,!1)),x.on(this._element,Ql,e=>this._onInteraction(e,!0)),x.on(this._element,Zl,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=Ot.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return Dt(Ot),$(Ot),{Alert:vt,Button:xt,Carousel:et,Collapse:nt,Dropdown:fe,Modal:He,Offcanvas:we,Popover:Ut,ScrollSpy:Tt,Tab:Ke,Toast:Ot,Tooltip:ke}})})(Kn);var Or=Kn.exports;const Sr=zn(Or),Ct=Q=>Q.innerWidth>1200,Wn=(Q,z=!1)=>{const s=Q.children;let f=0;for(let r=0;rp+h.clientHeight,0);f+=u}}}return Q.style.setProperty("--submenu-height",f+"px"),f};class Mr{constructor(z,s={}){this.sidebarEL=z instanceof HTMLElement?z:document.querySelector(z),this.options=s,this.init()}init(){document.querySelectorAll(".burger-btn").forEach(r=>r.addEventListener("click",this.toggle.bind(this))),document.querySelectorAll(".sidebar-hide").forEach(r=>r.addEventListener("click",this.toggle.bind(this))),window.addEventListener("resize",this.onResize.bind(this));const z=r=>{r.classList.contains("submenu-open")?(r.classList.remove("submenu-open"),r.classList.add("submenu-closed")):(r.classList.remove("submenu-closed"),r.classList.add("submenu-open"))};let s=document.querySelectorAll(".sidebar-item.has-sub");for(var f=0;f{a.preventDefault();let u=r.querySelector(".submenu");z(u)}),r.querySelectorAll(".submenu-item.has-sub").forEach(a=>{a.addEventListener("click",()=>{const u=a.querySelector(".submenu");z(u),Wn(a.parentElement,!0)})})}if(typeof PerfectScrollbar=="function"){const r=document.querySelector(".sidebar-wrapper");new PerfectScrollbar(r,{wheelPropagation:!1})}setTimeout(()=>{this.forceElementVisibility(document.querySelector(".sidebar-item.active"))},300)}onResize(){Ct(window)?(this.sidebarEL.classList.add("active"),this.sidebarEL.classList.remove("inactive")):this.sidebarEL.classList.remove("active"),this.deleteBackdrop(),this.toggleOverflowBody(!0)}toggle(){this.sidebarEL.classList.contains("active")?this.hide():this.show()}show(){this.sidebarEL.classList.add("active"),this.sidebarEL.classList.remove("inactive"),this.createBackdrop(),this.toggleOverflowBody()}hide(){this.sidebarEL.classList.remove("active"),this.deleteBackdrop(),this.toggleOverflowBody()}createBackdrop(){if(Ct(window))return;this.deleteBackdrop();const z=document.createElement("div");z.classList.add("sidebar-backdrop"),z.addEventListener("click",this.hide.bind(this)),document.body.appendChild(z)}deleteBackdrop(){const z=document.querySelector(".sidebar-backdrop");z&&z.remove()}toggleOverflowBody(z){if(Ct(window))return;const s=this.sidebarEL.classList.contains("active"),f=document.querySelector("body");typeof z>"u"?f.style.overflowY=s?"hidden":"auto":f.style.overflowY=z?"auto":"hidden"}isElementInViewport(z){var s=z.getBoundingClientRect();return s.top>=0&&s.left>=0&&s.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&s.right<=(window.innerWidth||document.documentElement.clientWidth)}forceElementVisibility(z){this.isElementInViewport(z)||z.scrollIntoView(!1)}}let ft=document.getElementById("sidebar");const Bn=Q=>{if(!ft)return;Ct(window)&&(Q.classList.add("active"),Q.classList.add("sidebar-desktop"));let z=document.querySelectorAll(".sidebar-item.has-sub .submenu");for(var s=0;s{Wn(f,!0)},50)}};document.readyState!=="loading"?Bn(ft):window.addEventListener("DOMContentLoaded",()=>Bn(ft)),ft&&(window.sidebar=new Mr(ft)),window.bootstrap=Sr,Tr.replace()});