diff --git a/bundle.js b/bundle.js index b9e9b98..c197668 100644 --- a/bundle.js +++ b/bundle.js @@ -1,2 +1,2 @@ /*! For license information please see bundle.js.LICENSE.txt */ -(()=>{var e={669:(e,t,n)=>{e.exports=n(609)},448:(e,t,n)=>{"use strict";var i=n(867),s=n(26),o=n(372),r=n(327),a=n(97),l=n(109),c=n(985),u=n(874),d=n(648),h=n(644),f=n(205);e.exports=function(e){return new Promise((function(t,n){var p,m=e.data,g=e.headers,_=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}i.isFormData(m)&&i.isStandardBrowserEnv()&&delete g["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(y+":"+w)}var E=a(e.baseURL,e.url);function O(){if(b){var i="getAllResponseHeaders"in b?l(b.getAllResponseHeaders()):null,o={data:_&&"text"!==_&&"json"!==_?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:i,config:e,request:b};s((function(e){t(e),v()}),(function(e){n(e),v()}),o),b=null}}if(b.open(e.method.toUpperCase(),r(E,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=O:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(O)},b.onabort=function(){b&&(n(new d("Request aborted",d.ECONNABORTED,e,b)),b=null)},b.onerror=function(){n(new d("Network Error",d.ERR_NETWORK,e,b,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",i=e.transitional||u;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new d(t,i.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,e,b)),b=null},i.isStandardBrowserEnv()){var x=(e.withCredentials||c(E))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;x&&(g[e.xsrfHeaderName]=x)}"setRequestHeader"in b&&i.forEach(g,(function(e,t){void 0===m&&"content-type"===t.toLowerCase()?delete g[t]:b.setRequestHeader(t,e)})),i.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),_&&"json"!==_&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){b&&(n(!e||e&&e.type?new h:e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),m||(m=null);var A=f(E);A&&-1===["http","https","file"].indexOf(A)?n(new d("Unsupported protocol "+A+":",d.ERR_BAD_REQUEST,e)):b.send(m)}))}},609:(e,t,n)=>{"use strict";var i=n(867),s=n(849),o=n(321),r=n(185),a=function e(t){var n=new o(t),a=s(o.prototype.request,n);return i.extend(a,o.prototype,n),i.extend(a,n),a.create=function(n){return e(r(t,n))},a}(n(546));a.Axios=o,a.CanceledError=n(644),a.CancelToken=n(972),a.isCancel=n(502),a.VERSION=n(288).version,a.toFormData=n(675),a.AxiosError=n(648),a.Cancel=a.CanceledError,a.all=function(e){return Promise.all(e)},a.spread=n(713),a.isAxiosError=n(268),e.exports=a,e.exports.default=a},972:(e,t,n)=>{"use strict";var i=n(644);function s(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,i=n._listeners.length;for(t=0;t{"use strict";var i=n(648);function s(e){i.call(this,null==e?"canceled":e,i.ERR_CANCELED),this.name="CanceledError"}n(867).inherits(s,i,{__CANCEL__:!0}),e.exports=s},502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,n)=>{"use strict";var i=n(867),s=n(327),o=n(782),r=n(572),a=n(185),l=n(97),c=n(875),u=c.validators;function d(e){this.defaults=e,this.interceptors={request:new o,response:new o}}d.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var i=[],s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));var o,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!s){var d=[r,void 0];for(Array.prototype.unshift.apply(d,i),d=d.concat(l),o=Promise.resolve(t);d.length;)o=o.then(d.shift(),d.shift());return o}for(var h=t;i.length;){var f=i.shift(),p=i.shift();try{h=f(h)}catch(e){p(e);break}}try{o=r(h)}catch(e){return Promise.reject(e)}for(;l.length;)o=o.then(l.shift(),l.shift());return o},d.prototype.getUri=function(e){e=a(this.defaults,e);var t=l(e.baseURL,e.url);return s(t,e.params,e.paramsSerializer)},i.forEach(["delete","get","head","options"],(function(e){d.prototype[e]=function(t,n){return this.request(a(n||{},{method:e,url:t,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(e){function t(t){return function(n,i,s){return this.request(a(s||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}d.prototype[e]=t(),d.prototype[e+"Form"]=t(!0)})),e.exports=d},648:(e,t,n)=>{"use strict";var i=n(867);function s(e,t,n,i,s){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),s&&(this.response=s)}i.inherits(s,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var o=s.prototype,r={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){r[e]={value:e}})),Object.defineProperties(s,r),Object.defineProperty(o,"isAxiosError",{value:!0}),s.from=function(e,t,n,r,a,l){var c=Object.create(o);return i.toFlatObject(e,c,(function(e){return e!==Error.prototype})),s.call(c,e.message,t,n,r,a),c.name=e.name,l&&Object.assign(c,l),c},e.exports=s},782:(e,t,n)=>{"use strict";var i=n(867);function s(){this.handlers=[]}s.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},s.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},s.prototype.forEach=function(e){i.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=s},97:(e,t,n)=>{"use strict";var i=n(793),s=n(303);e.exports=function(e,t){return e&&!i(t)?s(e,t):t}},572:(e,t,n)=>{"use strict";var i=n(867),s=n(527),o=n(502),r=n(546),a=n(644);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new a}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=s.call(e,e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||r.adapter)(e).then((function(t){return l(e),t.data=s.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(l(e),t&&t.response&&(t.response.data=s.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},185:(e,t,n)=>{"use strict";var i=n(867);e.exports=function(e,t){t=t||{};var n={};function s(e,t){return i.isPlainObject(e)&&i.isPlainObject(t)?i.merge(e,t):i.isPlainObject(t)?i.merge({},t):i.isArray(t)?t.slice():t}function o(n){return i.isUndefined(t[n])?i.isUndefined(e[n])?void 0:s(void 0,e[n]):s(e[n],t[n])}function r(e){if(!i.isUndefined(t[e]))return s(void 0,t[e])}function a(n){return i.isUndefined(t[n])?i.isUndefined(e[n])?void 0:s(void 0,e[n]):s(void 0,t[n])}function l(n){return n in t?s(e[n],t[n]):n in e?s(void 0,e[n]):void 0}var c={url:r,method:r,data:r,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return i.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,s=t(e);i.isUndefined(s)&&t!==l||(n[e]=s)})),n}},26:(e,t,n)=>{"use strict";var i=n(648);e.exports=function(e,t,n){var s=n.config.validateStatus;n.status&&s&&!s(n.status)?t(new i("Request failed with status code "+n.status,[i.ERR_BAD_REQUEST,i.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}},527:(e,t,n)=>{"use strict";var i=n(867),s=n(546);e.exports=function(e,t,n){var o=this||s;return i.forEach(n,(function(n){e=n.call(o,e,t)})),e}},546:(e,t,n)=>{"use strict";var i=n(867),s=n(16),o=n(648),r=n(874),a=n(675),l={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,d={transitional:r,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=n(448)),u),transformRequest:[function(e,t){if(s(t,"Accept"),s(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e))return e;if(i.isArrayBufferView(e))return e.buffer;if(i.isURLSearchParams(e))return c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n,o=i.isObject(e),r=t&&t["Content-Type"];if((n=i.isFileList(e))||o&&"multipart/form-data"===r){var l=this.env&&this.env.FormData;return a(n?{"files[]":e}:e,l&&new l)}return o||"application/json"===r?(c(t,"application/json"),function(e,t,n){if(i.isString(e))try{return(0,JSON.parse)(e),i.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||d.transitional,n=t&&t.silentJSONParsing,s=t&&t.forcedJSONParsing,r=!n&&"json"===this.responseType;if(r||s&&i.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(r){if("SyntaxError"===e.name)throw o.from(e,o.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:n(623)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(e){d.headers[e]={}})),i.forEach(["post","put","patch"],(function(e){d.headers[e]=i.merge(l)})),e.exports=d},874:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},288:e=>{e.exports={version:"0.27.2"}},849:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i{"use strict";var i=n(867);function s(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var r=[];i.forEach(t,(function(e,t){null!=e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,(function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),r.push(s(t)+"="+s(e))})))})),o=r.join("&")}if(o){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},372:(e,t,n)=>{"use strict";var i=n(867);e.exports=i.isStandardBrowserEnv()?{write:function(e,t,n,s,o,r){var a=[];a.push(e+"="+encodeURIComponent(t)),i.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),i.isString(s)&&a.push("path="+s),i.isString(o)&&a.push("domain="+o),!0===r&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},268:(e,t,n)=>{"use strict";var i=n(867);e.exports=function(e){return i.isObject(e)&&!0===e.isAxiosError}},985:(e,t,n)=>{"use strict";var i=n(867);e.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function s(e){var i=e;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=s(window.location.href),function(t){var n=i.isString(t)?s(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},16:(e,t,n)=>{"use strict";var i=n(867);e.exports=function(e,t){i.forEach(e,(function(n,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[i])}))}},623:e=>{e.exports=null},109:(e,t,n)=>{"use strict";var i=n(867),s=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,r={};return e?(i.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=i.trim(e.substr(0,o)).toLowerCase(),n=i.trim(e.substr(o+1)),t){if(r[t]&&s.indexOf(t)>=0)return;r[t]="set-cookie"===t?(r[t]?r[t]:[]).concat([n]):r[t]?r[t]+", "+n:n}})),r):r}},205:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},675:(e,t,n)=>{"use strict";var i=n(867);e.exports=function(e,t){t=t||new FormData;var n=[];function s(e){return null===e?"":i.isDate(e)?e.toISOString():i.isArrayBuffer(e)||i.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(o,r){if(i.isPlainObject(o)||i.isArray(o)){if(-1!==n.indexOf(o))throw Error("Circular reference detected in "+r);n.push(o),i.forEach(o,(function(n,o){if(!i.isUndefined(n)){var a,l=r?r+"."+o:o;if(n&&!r&&"object"==typeof n)if(i.endsWith(o,"{}"))n=JSON.stringify(n);else if(i.endsWith(o,"[]")&&(a=i.toArray(n)))return void a.forEach((function(e){!i.isUndefined(e)&&t.append(l,s(e))}));e(n,l)}})),n.pop()}else t.append(r,s(o))}(e),t}},875:(e,t,n)=>{"use strict";var i=n(288).version,s=n(648),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var r={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+i+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,i,a){if(!1===e)throw new s(o(i," has been removed"+(t?" in "+t:"")),s.ERR_DEPRECATED);return t&&!r[i]&&(r[i]=!0,console.warn(o(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,a)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new s("options must be an object",s.ERR_BAD_OPTION_VALUE);for(var i=Object.keys(e),o=i.length;o-- >0;){var r=i[o],a=t[r];if(a){var l=e[r],c=void 0===l||a(l,r,e);if(!0!==c)throw new s("option "+r+" must be "+c,s.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new s("Unknown option "+r,s.ERR_BAD_OPTION)}},validators:o}},867:(e,t,n)=>{"use strict";var i,s=n(849),o=Object.prototype.toString,r=(i=Object.create(null),function(e){var t=o.call(e);return i[t]||(i[t]=t.slice(8,-1).toLowerCase())});function a(e){return e=e.toLowerCase(),function(t){return r(t)===e}}function l(e){return Array.isArray(e)}function c(e){return void 0===e}var u=a("ArrayBuffer");function d(e){return null!==e&&"object"==typeof e}function h(e){if("object"!==r(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var f=a("Date"),p=a("File"),m=a("Blob"),g=a("FileList");function _(e){return"[object Function]"===o.call(e)}var v=a("URLSearchParams");function b(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),l(e))for(var n=0,i=e.length;n0;)r[o=i[s]]||(t[o]=e[o],r[o]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:r,kindOfTest:a,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var i=e.indexOf(t,n);return-1!==i&&i===n},toArray:function(e){if(!e)return null;var t=e.length;if(c(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:w,isFileList:g}}},t={};function n(i){var s=t[i];if(void 0!==s)return s.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};n.r(e),n.d(e,{afterMain:()=>O,afterRead:()=>y,afterWrite:()=>T,applyStyles:()=>I,arrow:()=>Q,auto:()=>l,basePlacements:()=>c,beforeMain:()=>w,beforeRead:()=>v,beforeWrite:()=>x,bottom:()=>o,clippingParents:()=>h,computeStyles:()=>te,createPopper:()=>Le,createPopperBase:()=>ke,createPopperLite:()=>Ne,detectOverflow:()=>ge,end:()=>d,eventListeners:()=>ie,flip:()=>_e,hide:()=>ye,left:()=>a,main:()=>E,modifierPhases:()=>C,offset:()=>we,placements:()=>_,popper:()=>p,popperGenerator:()=>Se,popperOffsets:()=>Ee,preventOverflow:()=>Oe,read:()=>b,reference:()=>m,right:()=>r,start:()=>u,top:()=>s,variationPlacements:()=>g,viewport:()=>f,write:()=>A});var t=n(669),i=n.n(t),s="top",o="bottom",r="right",a="left",l="auto",c=[s,o,r,a],u="start",d="end",h="clippingParents",f="viewport",p="popper",m="reference",g=c.reduce((function(e,t){return e.concat([t+"-"+u,t+"-"+d])}),[]),_=[].concat(c,[l]).reduce((function(e,t){return e.concat([t,t+"-"+u,t+"-"+d])}),[]),v="beforeRead",b="read",y="afterRead",w="beforeMain",E="main",O="afterMain",x="beforeWrite",A="write",T="afterWrite",C=[v,b,y,w,E,O,x,A,T];function S(e){return e?(e.nodeName||"").toLowerCase():null}function k(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function L(e){return e instanceof k(e).Element||e instanceof Element}function N(e){return e instanceof k(e).HTMLElement||e instanceof HTMLElement}function D(e){return"undefined"!=typeof ShadowRoot&&(e instanceof k(e).ShadowRoot||e instanceof ShadowRoot)}const I={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},s=t.elements[e];N(s)&&S(s)&&(Object.assign(s.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],s=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});N(i)&&S(i)&&(Object.assign(i.style,o),Object.keys(s).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function P(e){return e.split("-")[0]}var R=Math.max,j=Math.min,B=Math.round;function M(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),i=1,s=1;if(N(e)&&t){var o=e.offsetHeight,r=e.offsetWidth;r>0&&(i=B(n.width)/r||1),o>0&&(s=B(n.height)/o||1)}return{width:n.width/i,height:n.height/s,top:n.top/s,right:n.right/i,bottom:n.bottom/s,left:n.left/i,x:n.left/i,y:n.top/s}}function H(e){var t=M(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function U(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&D(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function W(e){return k(e).getComputedStyle(e)}function F(e){return["table","td","th"].indexOf(S(e))>=0}function $(e){return((L(e)?e.ownerDocument:e.document)||window.document).documentElement}function q(e){return"html"===S(e)?e:e.assignedSlot||e.parentNode||(D(e)?e.host:null)||$(e)}function z(e){return N(e)&&"fixed"!==W(e).position?e.offsetParent:null}function V(e){for(var t=k(e),n=z(e);n&&F(n)&&"static"===W(n).position;)n=z(n);return n&&("html"===S(n)||"body"===S(n)&&"static"===W(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&N(e)&&"fixed"===W(e).position)return null;var n=q(e);for(D(n)&&(n=n.host);N(n)&&["html","body"].indexOf(S(n))<0;){var i=W(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function K(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function X(e,t,n){return R(e,j(t,n))}function Y(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function J(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const Q={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,l=e.options,u=n.elements.arrow,d=n.modifiersData.popperOffsets,h=P(n.placement),f=K(h),p=[a,r].indexOf(h)>=0?"height":"width";if(u&&d){var m=function(e,t){return Y("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:J(e,c))}(l.padding,n),g=H(u),_="y"===f?s:a,v="y"===f?o:r,b=n.rects.reference[p]+n.rects.reference[f]-d[f]-n.rects.popper[p],y=d[f]-n.rects.reference[f],w=V(u),E=w?"y"===f?w.clientHeight||0:w.clientWidth||0:0,O=b/2-y/2,x=m[_],A=E-g[p]-m[v],T=E/2-g[p]/2+O,C=X(x,T,A),S=f;n.modifiersData[i]=((t={})[S]=C,t.centerOffset=C-T,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&U(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function G(e){return e.split("-")[1]}var Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ee(e){var t,n=e.popper,i=e.popperRect,l=e.placement,c=e.variation,u=e.offsets,h=e.position,f=e.gpuAcceleration,p=e.adaptive,m=e.roundOffsets,g=e.isFixed,_=u.x,v=void 0===_?0:_,b=u.y,y=void 0===b?0:b,w="function"==typeof m?m({x:v,y}):{x:v,y};v=w.x,y=w.y;var E=u.hasOwnProperty("x"),O=u.hasOwnProperty("y"),x=a,A=s,T=window;if(p){var C=V(n),S="clientHeight",L="clientWidth";C===k(n)&&"static"!==W(C=$(n)).position&&"absolute"===h&&(S="scrollHeight",L="scrollWidth"),C=C,(l===s||(l===a||l===r)&&c===d)&&(A=o,y-=(g&&C===T&&T.visualViewport?T.visualViewport.height:C[S])-i.height,y*=f?1:-1),l!==a&&(l!==s&&l!==o||c!==d)||(x=r,v-=(g&&C===T&&T.visualViewport?T.visualViewport.width:C[L])-i.width,v*=f?1:-1)}var N,D=Object.assign({position:h},p&&Z),I=!0===m?function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:B(t*i)/i||0,y:B(n*i)/i||0}}({x:v,y}):{x:v,y};return v=I.x,y=I.y,f?Object.assign({},D,((N={})[A]=O?"0":"",N[x]=E?"0":"",N.transform=(T.devicePixelRatio||1)<=1?"translate("+v+"px, "+y+"px)":"translate3d("+v+"px, "+y+"px, 0)",N)):Object.assign({},D,((t={})[A]=O?y+"px":"",t[x]=E?v+"px":"",t.transform="",t))}const te={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,s=void 0===i||i,o=n.adaptive,r=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c={placement:P(t.placement),variation:G(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ee(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ee(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var ne={passive:!0};const ie={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,s=i.scroll,o=void 0===s||s,r=i.resize,a=void 0===r||r,l=k(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,ne)})),a&&l.addEventListener("resize",n.update,ne),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ne)})),a&&l.removeEventListener("resize",n.update,ne)}},data:{}};var se={left:"right",right:"left",bottom:"top",top:"bottom"};function oe(e){return e.replace(/left|right|bottom|top/g,(function(e){return se[e]}))}var re={start:"end",end:"start"};function ae(e){return e.replace(/start|end/g,(function(e){return re[e]}))}function le(e){var t=k(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ce(e){return M($(e)).left+le(e).scrollLeft}function ue(e){var t=W(e),n=t.overflow,i=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function de(e){return["html","body","#document"].indexOf(S(e))>=0?e.ownerDocument.body:N(e)&&ue(e)?e:de(q(e))}function he(e,t){var n;void 0===t&&(t=[]);var i=de(e),s=i===(null==(n=e.ownerDocument)?void 0:n.body),o=k(i),r=s?[o].concat(o.visualViewport||[],ue(i)?i:[]):i,a=t.concat(r);return s?a:a.concat(he(q(r)))}function fe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function pe(e,t){return t===f?fe(function(e){var t=k(e),n=$(e),i=t.visualViewport,s=n.clientWidth,o=n.clientHeight,r=0,a=0;return i&&(s=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=i.offsetLeft,a=i.offsetTop)),{width:s,height:o,x:r+ce(e),y:a}}(e)):L(t)?function(e){var t=M(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):fe(function(e){var t,n=$(e),i=le(e),s=null==(t=e.ownerDocument)?void 0:t.body,o=R(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=R(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-i.scrollLeft+ce(e),l=-i.scrollTop;return"rtl"===W(s||n).direction&&(a+=R(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}($(e)))}function me(e){var t,n=e.reference,i=e.element,l=e.placement,c=l?P(l):null,h=l?G(l):null,f=n.x+n.width/2-i.width/2,p=n.y+n.height/2-i.height/2;switch(c){case s:t={x:f,y:n.y-i.height};break;case o:t={x:f,y:n.y+n.height};break;case r:t={x:n.x+n.width,y:p};break;case a:t={x:n.x-i.width,y:p};break;default:t={x:n.x,y:n.y}}var m=c?K(c):null;if(null!=m){var g="y"===m?"height":"width";switch(h){case u:t[m]=t[m]-(n[g]/2-i[g]/2);break;case d:t[m]=t[m]+(n[g]/2-i[g]/2)}}return t}function ge(e,t){void 0===t&&(t={});var n=t,i=n.placement,a=void 0===i?e.placement:i,l=n.boundary,u=void 0===l?h:l,d=n.rootBoundary,g=void 0===d?f:d,_=n.elementContext,v=void 0===_?p:_,b=n.altBoundary,y=void 0!==b&&b,w=n.padding,E=void 0===w?0:w,O=Y("number"!=typeof E?E:J(E,c)),x=v===p?m:p,A=e.rects.popper,T=e.elements[y?x:v],C=function(e,t,n){var i="clippingParents"===t?function(e){var t=he(q(e)),n=["absolute","fixed"].indexOf(W(e).position)>=0&&N(e)?V(e):e;return L(n)?t.filter((function(e){return L(e)&&U(e,n)&&"body"!==S(e)})):[]}(e):[].concat(t),s=[].concat(i,[n]),o=s[0],r=s.reduce((function(t,n){var i=pe(e,n);return t.top=R(i.top,t.top),t.right=j(i.right,t.right),t.bottom=j(i.bottom,t.bottom),t.left=R(i.left,t.left),t}),pe(e,o));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}(L(T)?T:T.contextElement||$(e.elements.popper),u,g),k=M(e.elements.reference),D=me({reference:k,element:A,strategy:"absolute",placement:a}),I=fe(Object.assign({},A,D)),P=v===p?I:k,B={top:C.top-P.top+O.top,bottom:P.bottom-C.bottom+O.bottom,left:C.left-P.left+O.left,right:P.right-C.right+O.right},H=e.modifiersData.offset;if(v===p&&H){var F=H[a];Object.keys(B).forEach((function(e){var t=[r,o].indexOf(e)>=0?1:-1,n=[s,o].indexOf(e)>=0?"y":"x";B[e]+=F[n]*t}))}return B}const _e={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var d=n.mainAxis,h=void 0===d||d,f=n.altAxis,p=void 0===f||f,m=n.fallbackPlacements,v=n.padding,b=n.boundary,y=n.rootBoundary,w=n.altBoundary,E=n.flipVariations,O=void 0===E||E,x=n.allowedAutoPlacements,A=t.options.placement,T=P(A),C=m||(T!==A&&O?function(e){if(P(e)===l)return[];var t=oe(e);return[ae(e),t,ae(t)]}(A):[oe(A)]),S=[A].concat(C).reduce((function(e,n){return e.concat(P(n)===l?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,s=n.boundary,o=n.rootBoundary,r=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?_:l,d=G(i),h=d?a?g:g.filter((function(e){return G(e)===d})):c,f=h.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=h);var p=f.reduce((function(t,n){return t[n]=ge(e,{placement:n,boundary:s,rootBoundary:o,padding:r})[P(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:b,rootBoundary:y,padding:v,flipVariations:O,allowedAutoPlacements:x}):n)}),[]),k=t.rects.reference,L=t.rects.popper,N=new Map,D=!0,I=S[0],R=0;R=0,U=H?"width":"height",W=ge(t,{placement:j,boundary:b,rootBoundary:y,altBoundary:w,padding:v}),F=H?M?r:a:M?o:s;k[U]>L[U]&&(F=oe(F));var $=oe(F),q=[];if(h&&q.push(W[B]<=0),p&&q.push(W[F]<=0,W[$]<=0),q.every((function(e){return e}))){I=j,D=!1;break}N.set(j,q)}if(D)for(var z=function(e){var t=S.find((function(t){var n=N.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return I=t,"break"},V=O?3:1;V>0&&"break"!==z(V);V--);t.placement!==I&&(t.modifiersData[i]._skip=!0,t.placement=I,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ve(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function be(e){return[s,r,o,a].some((function(t){return e[t]>=0}))}const ye={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,r=ge(t,{elementContext:"reference"}),a=ge(t,{altBoundary:!0}),l=ve(r,i),c=ve(a,s,o),u=be(l),d=be(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},we={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,o=n.offset,l=void 0===o?[0,0]:o,c=_.reduce((function(e,n){return e[n]=function(e,t,n){var i=P(e),o=[a,s].indexOf(i)>=0?-1:1,l="function"==typeof n?n(Object.assign({},t,{placement:e})):n,c=l[0],u=l[1];return c=c||0,u=(u||0)*o,[a,r].indexOf(i)>=0?{x:u,y:c}:{x:c,y:u}}(n,t.rects,l),e}),{}),u=c[t.placement],d=u.x,h=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=h),t.modifiersData[i]=c}},Ee={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=me({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Oe={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,l=n.mainAxis,c=void 0===l||l,d=n.altAxis,h=void 0!==d&&d,f=n.boundary,p=n.rootBoundary,m=n.altBoundary,g=n.padding,_=n.tether,v=void 0===_||_,b=n.tetherOffset,y=void 0===b?0:b,w=ge(t,{boundary:f,rootBoundary:p,padding:g,altBoundary:m}),E=P(t.placement),O=G(t.placement),x=!O,A=K(E),T="x"===A?"y":"x",C=t.modifiersData.popperOffsets,S=t.rects.reference,k=t.rects.popper,L="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,N="number"==typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(C){if(c){var B,M="y"===A?s:a,U="y"===A?o:r,W="y"===A?"height":"width",F=C[A],$=F+w[M],q=F-w[U],z=v?-k[W]/2:0,Y=O===u?S[W]:k[W],J=O===u?-k[W]:-S[W],Q=t.elements.arrow,Z=v&&Q?H(Q):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[M],ne=ee[U],ie=X(0,S[W],Z[W]),se=x?S[W]/2-z-ie-te-N.mainAxis:Y-ie-te-N.mainAxis,oe=x?-S[W]/2+z+ie+ne+N.mainAxis:J+ie+ne+N.mainAxis,re=t.elements.arrow&&V(t.elements.arrow),ae=re?"y"===A?re.clientTop||0:re.clientLeft||0:0,le=null!=(B=null==D?void 0:D[A])?B:0,ce=F+oe-le,ue=X(v?j($,F+se-le-ae):$,F,v?R(q,ce):q);C[A]=ue,I[A]=ue-F}if(h){var de,he="x"===A?s:a,fe="x"===A?o:r,pe=C[T],me="y"===T?"height":"width",_e=pe+w[he],ve=pe-w[fe],be=-1!==[s,a].indexOf(E),ye=null!=(de=null==D?void 0:D[T])?de:0,we=be?_e:pe-S[me]-k[me]-ye+N.altAxis,Ee=be?pe+S[me]+k[me]-ye-N.altAxis:ve,Oe=v&&be?function(e,t,n){var i=X(e,t,n);return i>n?n:i}(we,pe,Ee):X(v?we:_e,pe,v?Ee:ve);C[T]=Oe,I[T]=Oe-pe}t.modifiersData[i]=I}},requiresIfExists:["offset"]};function xe(e,t,n){void 0===n&&(n=!1);var i,s,o=N(t),r=N(t)&&function(e){var t=e.getBoundingClientRect(),n=B(t.width)/e.offsetWidth||1,i=B(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),a=$(t),l=M(e,r),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==S(t)||ue(a))&&(c=(i=t)!==k(i)&&N(i)?{scrollLeft:(s=i).scrollLeft,scrollTop:s.scrollTop}:le(i)),N(t)?((u=M(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=ce(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Ae(e){var t=new Map,n=new Set,i=[];function s(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&s(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||s(e)})),i}var Te={placement:"bottom",modifiers:[],strategy:"absolute"};function Ce(){for(var e=arguments.length,t=new Array(e),n=0;n{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t},Pe=e=>{const t=Ie(e);return t&&document.querySelector(t)?t:null},Re=e=>{const t=Ie(e);return t?document.querySelector(t):null},je=e=>{e.dispatchEvent(new Event(De))},Be=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),Me=e=>Be(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,He=(e,t,n)=>{Object.keys(n).forEach((i=>{const s=n[i],o=t[i],r=o&&Be(o)?"element":null==(a=o)?`${a}`:{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase();var a;if(!new RegExp(s).test(r))throw new TypeError(`${e.toUpperCase()}: Option "${i}" provided type "${r}" but expected type "${s}".`)}))},Ue=e=>!(!Be(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility"),We=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),Fe=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Fe(e.parentNode):null},$e=()=>{},qe=e=>{e.offsetHeight},ze=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},Ve=[],Ke=()=>"rtl"===document.documentElement.dir,Xe=e=>{var t;t=()=>{const t=ze();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}},"loading"===document.readyState?(Ve.length||document.addEventListener("DOMContentLoaded",(()=>{Ve.forEach((e=>e()))})),Ve.push(t)):t()},Ye=e=>{"function"==typeof e&&e()},Je=(e,t,n=!0)=>{if(!n)return void Ye(e);const i=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),s=Number.parseFloat(n);return i||s?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let s=!1;const o=({target:n})=>{n===t&&(s=!0,t.removeEventListener(De,o),Ye(e))};t.addEventListener(De,o),setTimeout((()=>{s||je(t)}),i)},Qe=(e,t,n,i)=>{let s=e.indexOf(t);if(-1===s)return e[!n&&i?e.length-1:0];const o=e.length;return s+=n?1:-1,i&&(s=(s+o)%o),e[Math.max(0,Math.min(s,o-1))]},Ge=/[^.]*(?=\..*)\.|.*/,Ze=/\..*/,et=/::\d+$/,tt={};let nt=1;const it={mouseenter:"mouseover",mouseleave:"mouseout"},st=/^(mouseenter|mouseleave)/i,ot=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 rt(e,t){return t&&`${t}::${nt++}`||e.uidEvent||nt++}function at(e){const t=rt(e);return e.uidEvent=t,tt[t]=tt[t]||{},tt[t]}function lt(e,t,n=null){const i=Object.keys(e);for(let s=0,o=i.length;sfunction(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};i?i=e(i):n=e(n)}const[o,r,a]=ct(t,n,i),l=at(e),c=l[a]||(l[a]={}),u=lt(c,r,o?n:null);if(u)return void(u.oneOff=u.oneOff&&s);const d=rt(r,t.replace(Ge,"")),h=o?function(e,t,n){return function i(s){const o=e.querySelectorAll(t);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(let a=o.length;a--;)if(o[a]===r)return s.delegateTarget=r,i.oneOff&&ft.off(e,s.type,t,n),n.apply(r,[s]);return null}}(e,n,i):function(e,t){return function n(i){return i.delegateTarget=e,n.oneOff&&ft.off(e,i.type,t),t.apply(e,[i])}}(e,n);h.delegationSelector=o?n:null,h.originalHandler=r,h.oneOff=s,h.uidEvent=d,c[d]=h,e.addEventListener(a,h,o)}function dt(e,t,n,i,s){const o=lt(t[n],i,s);o&&(e.removeEventListener(n,o,Boolean(s)),delete t[n][o.uidEvent])}function ht(e){return e=e.replace(Ze,""),it[e]||e}const ft={on(e,t,n,i){ut(e,t,n,i,!1)},one(e,t,n,i){ut(e,t,n,i,!0)},off(e,t,n,i){if("string"!=typeof t||!e)return;const[s,o,r]=ct(t,n,i),a=r!==t,l=at(e),c=t.startsWith(".");if(void 0!==o){if(!l||!l[r])return;return void dt(e,l,r,o,s?n:null)}c&&Object.keys(l).forEach((n=>{!function(e,t,n,i){const s=t[n]||{};Object.keys(s).forEach((o=>{if(o.includes(i)){const i=s[o];dt(e,t,n,i.originalHandler,i.delegationSelector)}}))}(e,l,n,t.slice(1))}));const u=l[r]||{};Object.keys(u).forEach((n=>{const i=n.replace(et,"");if(!a||t.includes(i)){const t=u[n];dt(e,l,r,t.originalHandler,t.delegationSelector)}}))},trigger(e,t,n){if("string"!=typeof t||!e)return null;const i=ze(),s=ht(t),o=t!==s,r=ot.has(s);let a,l=!0,c=!0,u=!1,d=null;return o&&i&&(a=i.Event(t,n),i(e).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),u=a.isDefaultPrevented()),r?(d=document.createEvent("HTMLEvents"),d.initEvent(s,l,!0)):d=new CustomEvent(t,{bubbles:l,cancelable:!0}),void 0!==n&&Object.keys(n).forEach((e=>{Object.defineProperty(d,e,{get:()=>n[e]})})),u&&d.preventDefault(),c&&e.dispatchEvent(d),d.defaultPrevented&&void 0!==a&&a.preventDefault(),d}},pt=new Map,mt={set(e,t,n){pt.has(e)||pt.set(e,new Map);const i=pt.get(e);i.has(t)||0===i.size?i.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get:(e,t)=>pt.has(e)&&pt.get(e).get(t)||null,remove(e,t){if(!pt.has(e))return;const n=pt.get(e);n.delete(t),0===n.size&&pt.delete(e)}};class gt{constructor(e){(e=Me(e))&&(this._element=e,mt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){mt.remove(this._element,this.constructor.DATA_KEY),ft.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((e=>{this[e]=null}))}_queueCallback(e,t,n=!0){Je(e,t,n)}static getInstance(e){return mt.get(Me(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const _t=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,i=e.NAME;ft.on(document,n,`[data-bs-dismiss="${i}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),We(this))return;const s=Re(this)||this.closest(`.${i}`);e.getOrCreateInstance(s)[t]()}))};class vt extends gt{static get NAME(){return"alert"}close(){if(ft.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),ft.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=vt.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}_t(vt,"close"),Xe(vt);const bt='[data-bs-toggle="button"]';class yt extends gt{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=yt.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}function wt(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function Et(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}ft.on(document,"click.bs.button.data-api",bt,(e=>{e.preventDefault();const t=e.target.closest(bt);yt.getOrCreateInstance(t).toggle()})),Xe(yt);const Ot={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Et(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Et(t)}`)},getDataAttributes(e){if(!e)return{};const t={};return Object.keys(e.dataset).filter((e=>e.startsWith("bs"))).forEach((n=>{let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=wt(e.dataset[n])})),t},getDataAttribute:(e,t)=>wt(e.getAttribute(`data-bs-${Et(t)}`)),offset(e){const t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}},position:e=>({top:e.offsetTop,left:e.offsetLeft})},xt={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let i=e.parentNode;for(;i&&i.nodeType===Node.ELEMENT_NODE&&3!==i.nodeType;)i.matches(t)&&n.push(i),i=i.parentNode;return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(", ");return this.find(t,e).filter((e=>!We(e)&&Ue(e)))}},At="carousel",Tt={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Ct={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},St="next",kt="prev",Lt="left",Nt="right",Dt={ArrowLeft:Nt,ArrowRight:Lt},It="slid.bs.carousel",Pt="active",Rt=".active.carousel-item";class jt extends gt{constructor(e,t){super(e),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._indicatorsElement=xt.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return Tt}static get NAME(){return At}next(){this._slide(St)}nextWhenVisible(){!document.hidden&&Ue(this._element)&&this.next()}prev(){this._slide(kt)}pause(e){e||(this._isPaused=!0),xt.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(je(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(e){this._activeElement=xt.findOne(Rt,this._element);const t=this._getItemIndex(this._activeElement);if(e>this._items.length-1||e<0)return;if(this._isSliding)return void ft.one(this._element,It,(()=>this.to(e)));if(t===e)return this.pause(),void this.cycle();const n=e>t?St:kt;this._slide(n,this._items[e])}_getConfig(e){return e={...Tt,...Ot.getDataAttributes(this._element),..."object"==typeof e?e:{}},He(At,e,Ct),e}_handleSwipe(){const e=Math.abs(this.touchDeltaX);if(e<=40)return;const t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?Nt:Lt)}_addEventListeners(){this._config.keyboard&&ft.on(this._element,"keydown.bs.carousel",(e=>this._keydown(e))),"hover"===this._config.pause&&(ft.on(this._element,"mouseenter.bs.carousel",(e=>this.pause(e))),ft.on(this._element,"mouseleave.bs.carousel",(e=>this.cycle(e)))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=e=>this._pointerEvent&&("pen"===e.pointerType||"touch"===e.pointerType),t=t=>{e(t)?this.touchStartX=t.clientX:this._pointerEvent||(this.touchStartX=t.touches[0].clientX)},n=e=>{this.touchDeltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this.touchStartX},i=t=>{e(t)&&(this.touchDeltaX=t.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((e=>this.cycle(e)),500+this._config.interval))};xt.find(".carousel-item img",this._element).forEach((e=>{ft.on(e,"dragstart.bs.carousel",(e=>e.preventDefault()))})),this._pointerEvent?(ft.on(this._element,"pointerdown.bs.carousel",(e=>t(e))),ft.on(this._element,"pointerup.bs.carousel",(e=>i(e))),this._element.classList.add("pointer-event")):(ft.on(this._element,"touchstart.bs.carousel",(e=>t(e))),ft.on(this._element,"touchmove.bs.carousel",(e=>n(e))),ft.on(this._element,"touchend.bs.carousel",(e=>i(e))))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Dt[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?xt.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){const n=e===St;return Qe(this._items,t,n,this._config.wrap)}_triggerSlideEvent(e,t){const n=this._getItemIndex(e),i=this._getItemIndex(xt.findOne(Rt,this._element));return ft.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:i,to:n})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=xt.findOne(".active",this._indicatorsElement);t.classList.remove(Pt),t.removeAttribute("aria-current");const n=xt.find("[data-bs-target]",this._indicatorsElement);for(let t=0;t{ft.trigger(this._element,It,{relatedTarget:o,direction:d,from:s,to:r})};if(this._element.classList.contains("slide")){o.classList.add(u),qe(o),i.classList.add(c),o.classList.add(c);const e=()=>{o.classList.remove(c,u),o.classList.add(Pt),i.classList.remove(Pt,u,c),this._isSliding=!1,setTimeout(h,0)};this._queueCallback(e,i,!0)}else i.classList.remove(Pt),o.classList.add(Pt),this._isSliding=!1,h();a&&this.cycle()}_directionToOrder(e){return[Nt,Lt].includes(e)?Ke()?e===Lt?kt:St:e===Lt?St:kt:e}_orderToDirection(e){return[St,kt].includes(e)?Ke()?e===kt?Lt:Nt:e===kt?Nt:Lt:e}static carouselInterface(e,t){const n=jt.getOrCreateInstance(e,t);let{_config:i}=n;"object"==typeof t&&(i={...i,...t});const s="string"==typeof t?t:i.slide;if("number"==typeof t)n.to(t);else if("string"==typeof s){if(void 0===n[s])throw new TypeError(`No method named "${s}"`);n[s]()}else i.interval&&i.ride&&(n.pause(),n.cycle())}static jQueryInterface(e){return this.each((function(){jt.carouselInterface(this,e)}))}static dataApiClickHandler(e){const t=Re(this);if(!t||!t.classList.contains("carousel"))return;const n={...Ot.getDataAttributes(t),...Ot.getDataAttributes(this)},i=this.getAttribute("data-bs-slide-to");i&&(n.interval=!1),jt.carouselInterface(t,n),i&&jt.getInstance(t).to(i),e.preventDefault()}}ft.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",jt.dataApiClickHandler),ft.on(window,"load.bs.carousel.data-api",(()=>{const e=xt.find('[data-bs-ride="carousel"]');for(let t=0,n=e.length;te===this._element));null!==i&&s.length&&(this._selector=i,this._triggerArray.push(t))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Mt}static get NAME(){return Bt}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,t=[];if(this._config.parent){const e=xt.find(qt,this._config.parent);t=xt.find(".collapse.show, .collapse.collapsing",this._config.parent).filter((t=>!e.includes(t)))}const n=xt.findOne(this._selector);if(t.length){const i=t.find((e=>n!==e));if(e=i?Vt.getInstance(i):null,e&&e._isTransitioning)return}if(ft.trigger(this._element,"show.bs.collapse").defaultPrevented)return;t.forEach((t=>{n!==t&&Vt.getOrCreateInstance(t,{toggle:!1}).hide(),e||mt.set(t,"bs.collapse",null)}));const i=this._getDimension();this._element.classList.remove(Wt),this._element.classList.add(Ft),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${i[0].toUpperCase()+i.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Ft),this._element.classList.add(Wt,Ut),this._element.style[i]="",ft.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[i]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(ft.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,qe(this._element),this._element.classList.add(Ft),this._element.classList.remove(Wt,Ut);const t=this._triggerArray.length;for(let e=0;e{this._isTransitioning=!1,this._element.classList.remove(Ft),this._element.classList.add(Wt),ft.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(Ut)}_getConfig(e){return(e={...Mt,...Ot.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=Me(e.parent),He(Bt,e,Ht),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=xt.find(qt,this._config.parent);xt.find(zt,this._config.parent).filter((t=>!e.includes(t))).forEach((e=>{const t=Re(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}))}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach((e=>{t?e.classList.remove($t):e.classList.add($t),e.setAttribute("aria-expanded",t)}))}static jQueryInterface(e){return this.each((function(){const t={};"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1);const n=Vt.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}ft.on(document,"click.bs.collapse.data-api",zt,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=Pe(this);xt.find(t).forEach((e=>{Vt.getOrCreateInstance(e,{toggle:!1}).toggle()}))})),Xe(Vt);const Kt="dropdown",Xt="Escape",Yt="Space",Jt="ArrowUp",Qt="ArrowDown",Gt=new RegExp("ArrowUp|ArrowDown|Escape"),Zt="click.bs.dropdown.data-api",en="keydown.bs.dropdown.data-api",tn="show",nn='[data-bs-toggle="dropdown"]',sn=".dropdown-menu",on=Ke()?"top-end":"top-start",rn=Ke()?"top-start":"top-end",an=Ke()?"bottom-end":"bottom-start",ln=Ke()?"bottom-start":"bottom-end",cn=Ke()?"left-start":"right-start",un=Ke()?"right-start":"left-start",dn={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},hn={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class fn extends gt{constructor(e,t){super(e),this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return dn}static get DefaultType(){return hn}static get NAME(){return Kt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(We(this._element)||this._isShown(this._menu))return;const e={relatedTarget:this._element};if(ft.trigger(this._element,"show.bs.dropdown",e).defaultPrevented)return;const t=fn.getParentFromElement(this._element);this._inNavbar?Ot.setDataAttribute(this._menu,"popper","none"):this._createPopper(t),"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&[].concat(...document.body.children).forEach((e=>ft.on(e,"mouseover",$e))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(tn),this._element.classList.add(tn),ft.trigger(this._element,"shown.bs.dropdown",e)}hide(){if(We(this._element)||!this._isShown(this._menu))return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){ft.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>ft.off(e,"mouseover",$e))),this._popper&&this._popper.destroy(),this._menu.classList.remove(tn),this._element.classList.remove(tn),this._element.setAttribute("aria-expanded","false"),Ot.removeDataAttribute(this._menu,"popper"),ft.trigger(this._element,"hidden.bs.dropdown",e))}_getConfig(e){if(e={...this.constructor.Default,...Ot.getDataAttributes(this._element),...e},He(Kt,e,this.constructor.DefaultType),"object"==typeof e.reference&&!Be(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Kt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(t){if(void 0===e)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let n=this._element;"parent"===this._config.reference?n=t:Be(this._config.reference)?n=Me(this._config.reference):"object"==typeof this._config.reference&&(n=this._config.reference);const i=this._getPopperConfig(),s=i.modifiers.find((e=>"applyStyles"===e.name&&!1===e.enabled));this._popper=Le(n,this._menu,i),s&&Ot.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains(tn)}_getMenuElement(){return xt.next(this._element,sn)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return cn;if(e.classList.contains("dropstart"))return un;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?rn:on:t?ln:an}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const n=xt.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(Ue);n.length&&Qe(n,t,e===Qt,!n.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=fn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(e&&(2===e.button||"keyup"===e.type&&"Tab"!==e.key))return;const t=xt.find(nn);for(let n=0,i=t.length;nt+e)),this._setElementAttributes(pn,"paddingRight",(t=>t+e)),this._setElementAttributes(mn,"marginRight",(t=>t-e))}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const i=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+i)return;this._saveInitialAttribute(e,t);const s=window.getComputedStyle(e)[t];e.style[t]=`${n(Number.parseFloat(s))}px`}))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(pn,"paddingRight"),this._resetElementAttributes(mn,"marginRight")}_saveInitialAttribute(e,t){const n=e.style[t];n&&Ot.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const n=Ot.getDataAttribute(e,t);void 0===n?e.style.removeProperty(t):(Ot.removeDataAttribute(e,t),e.style[t]=n)}))}_applyManipulationCallback(e,t){Be(e)?t(e):xt.find(e,this._element).forEach(t)}isOverflowing(){return this.getWidth()>0}}const _n={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},vn={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},bn="show",yn="mousedown.bs.backdrop";class wn{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&qe(this._getElement()),this._getElement().classList.add(bn),this._emulateAnimation((()=>{Ye(e)}))):Ye(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove(bn),this._emulateAnimation((()=>{this.dispose(),Ye(e)}))):Ye(e)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_getConfig(e){return(e={..._n,..."object"==typeof e?e:{}}).rootElement=Me(e.rootElement),He("backdrop",e,vn),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),ft.on(this._getElement(),yn,(()=>{Ye(this._config.clickCallback)})),this._isAppended=!0)}dispose(){this._isAppended&&(ft.off(this._element,yn),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){Je(e,this._getElement(),this._config.isAnimated)}}const En={trapElement:null,autofocus:!0},On={trapElement:"element",autofocus:"boolean"},xn=".bs.focustrap",An="backward";class Tn{constructor(e){this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:e,autofocus:t}=this._config;this._isActive||(t&&e.focus(),ft.off(document,xn),ft.on(document,"focusin.bs.focustrap",(e=>this._handleFocusin(e))),ft.on(document,"keydown.tab.bs.focustrap",(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ft.off(document,xn))}_handleFocusin(e){const{target:t}=e,{trapElement:n}=this._config;if(t===document||t===n||n.contains(t))return;const i=xt.focusableChildren(n);0===i.length?n.focus():this._lastTabNavDirection===An?i[i.length-1].focus():i[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?An:"forward")}_getConfig(e){return e={...En,..."object"==typeof e?e:{}},He("focustrap",e,On),e}}const Cn="modal",Sn="Escape",kn={backdrop:!0,keyboard:!0,focus:!0},Ln={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},Nn="hidden.bs.modal",Dn="show.bs.modal",In="resize.bs.modal",Pn="click.dismiss.bs.modal",Rn="keydown.dismiss.bs.modal",jn="mousedown.dismiss.bs.modal",Bn="modal-open",Mn="show",Hn="modal-static";class Un extends gt{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=xt.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new gn}static get Default(){return kn}static get NAME(){return Cn}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ft.trigger(this._element,Dn,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(Bn),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),ft.on(this._dialog,jn,(()=>{ft.one(this._element,"mouseup.dismiss.bs.modal",(e=>{e.target===this._element&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(e))))}hide(){if(!this._isShown||this._isTransitioning)return;if(ft.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(Mn),ft.off(this._element,Pn),ft.off(this._dialog,jn),this._queueCallback((()=>this._hideModal()),this._element,e)}dispose(){[window,this._dialog].forEach((e=>ft.off(e,".bs.modal"))),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new wn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Tn({trapElement:this._element})}_getConfig(e){return e={...kn,...Ot.getDataAttributes(this._element),..."object"==typeof e?e:{}},He(Cn,e,Ln),e}_showElement(e){const t=this._isAnimated(),n=xt.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||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,n&&(n.scrollTop=0),t&&qe(this._element),this._element.classList.add(Mn),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ft.trigger(this._element,"shown.bs.modal",{relatedTarget:e})}),this._dialog,t)}_setEscapeEvent(){this._isShown?ft.on(this._element,Rn,(e=>{this._config.keyboard&&e.key===Sn?(e.preventDefault(),this.hide()):this._config.keyboard||e.key!==Sn||this._triggerBackdropTransition()})):ft.off(this._element,Rn)}_setResizeEvent(){this._isShown?ft.on(window,In,(()=>this._adjustDialog())):ft.off(window,In)}_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(Bn),this._resetAdjustments(),this._scrollBar.reset(),ft.trigger(this._element,Nn)}))}_showBackdrop(e){ft.on(this._element,Pn,(e=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:e.target===e.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())})),this._backdrop.show(e)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(ft.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:e,scrollHeight:t,style:n}=this._element,i=t>document.documentElement.clientHeight;!i&&"hidden"===n.overflowY||e.contains(Hn)||(i||(n.overflowY="hidden"),e.add(Hn),this._queueCallback((()=>{e.remove(Hn),i||this._queueCallback((()=>{n.overflowY=""}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;(!n&&e&&!Ke()||n&&!e&&Ke())&&(this._element.style.paddingLeft=`${t}px`),(n&&!e&&!Ke()||!n&&e&&Ke())&&(this._element.style.paddingRight=`${t}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const n=Un.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}}))}}ft.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(e){const t=Re(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),ft.one(t,Dn,(e=>{e.defaultPrevented||ft.one(t,Nn,(()=>{Ue(this)&&this.focus()}))}));const n=xt.findOne(".modal.show");n&&Un.getInstance(n).hide(),Un.getOrCreateInstance(t).toggle(this)})),_t(Un),Xe(Un);const Wn="offcanvas",Fn={backdrop:!0,keyboard:!0,scroll:!1},$n={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},qn="show",zn=".offcanvas.show",Vn="hidden.bs.offcanvas";class Kn extends gt{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return Wn}static get Default(){return Fn}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||ft.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new gn).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(qn),this._queueCallback((()=>{this._config.scroll||this._focustrap.activate(),ft.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})}),this._element,!0))}hide(){this._isShown&&(ft.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(qn),this._backdrop.hide(),this._queueCallback((()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new gn).reset(),ft.trigger(this._element,Vn)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...Fn,...Ot.getDataAttributes(this._element),..."object"==typeof e?e:{}},He(Wn,e,$n),e}_initializeBackDrop(){return new wn({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new Tn({trapElement:this._element})}_addEventListeners(){ft.on(this._element,"keydown.dismiss.bs.offcanvas",(e=>{this._config.keyboard&&"Escape"===e.key&&this.hide()}))}static jQueryInterface(e){return this.each((function(){const t=Kn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}ft.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(e){const t=Re(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),We(this))return;ft.one(t,Vn,(()=>{Ue(this)&&this.focus()}));const n=xt.findOne(zn);n&&n!==t&&Kn.getInstance(n).hide(),Kn.getOrCreateInstance(t).toggle(this)})),ft.on(window,"load.bs.offcanvas.data-api",(()=>xt.find(zn).forEach((e=>Kn.getOrCreateInstance(e).show())))),_t(Kn),Xe(Kn);const Xn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Yn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Jn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Qn=(e,t)=>{const n=e.nodeName.toLowerCase();if(t.includes(n))return!Xn.has(n)||Boolean(Yn.test(e.nodeValue)||Jn.test(e.nodeValue));const i=t.filter((e=>e instanceof RegExp));for(let e=0,t=i.length;e{Qn(e,r)||n.removeAttribute(e.nodeName)}))}return i.body.innerHTML}const Zn="tooltip",ei=new Set(["sanitize","allowList","sanitizeFn"]),ti={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},ni={AUTO:"auto",TOP:"top",RIGHT:Ke()?"left":"right",BOTTOM:"bottom",LEFT:Ke()?"right":"left"},ii={animation:!0,template:'',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["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:[]},popperConfig:null},si={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},oi="fade",ri="show",ai="show",li="out",ci=".tooltip-inner",ui=".modal",di="hide.bs.modal",hi="hover",fi="focus";class pi extends gt{constructor(t,n){if(void 0===e)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(n),this.tip=null,this._setListeners()}static get Default(){return ii}static get NAME(){return Zn}static get Event(){return si}static get DefaultType(){return ti}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled)if(e){const t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains(ri))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),ft.off(this._element.closest(ui),di,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const e=ft.trigger(this._element,this.constructor.Event.SHOW),t=Fe(this._element),n=null===t?this._element.ownerDocument.documentElement.contains(this._element):t.contains(this._element);if(e.defaultPrevented||!n)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(ci).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const i=this.getTipElement(),s=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME);i.setAttribute("id",s),this._element.setAttribute("aria-describedby",s),this._config.animation&&i.classList.add(oi);const o="function"==typeof this._config.placement?this._config.placement.call(this,i,this._element):this._config.placement,r=this._getAttachment(o);this._addAttachmentClass(r);const{container:a}=this._config;mt.set(i,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(i),ft.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=Le(this._element,i,this._getPopperConfig(r)),i.classList.add(ri);const l=this._resolvePossibleFunction(this._config.customClass);l&&i.classList.add(...l.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>{ft.on(e,"mouseover",$e)}));const c=this.tip.classList.contains(oi);this._queueCallback((()=>{const e=this._hoverState;this._hoverState=null,ft.trigger(this._element,this.constructor.Event.SHOWN),e===li&&this._leave(null,this)}),this.tip,c)}hide(){if(!this._popper)return;const e=this.getTipElement();if(ft.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;e.classList.remove(ri),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>ft.off(e,"mouseover",$e))),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const t=this.tip.classList.contains(oi);this._queueCallback((()=>{this._isWithActiveTrigger()||(this._hoverState!==ai&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),ft.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())}),this.tip,t),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const e=document.createElement("div");e.innerHTML=this._config.template;const t=e.children[0];return this.setContent(t),t.classList.remove(oi,ri),this.tip=t,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),ci)}_sanitizeAndSetContent(e,t,n){const i=xt.findOne(n,e);t||!i?this.setElementContent(i,t):i.remove()}setElementContent(e,t){if(null!==e)return Be(t)?(t=Me(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.append(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=Gn(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}getTitle(){const e=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(e)}updateAttachment(e){return"right"===e?"end":"left"===e?"start":e}_initializeOnDelegatedTarget(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_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:"onChange",enabled:!0,phase:"afterWrite",fn:e=>this._handlePopperPlacementChange(e)}],onFirstUpdate:e=>{e.options.placement!==e.placement&&this._handlePopperPlacementChange(e)}};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(e)}`)}_getAttachment(e){return ni[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach((e=>{if("click"===e)ft.on(this._element,this.constructor.Event.CLICK,this._config.selector,(e=>this.toggle(e)));else if("manual"!==e){const t=e===hi?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,n=e===hi?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;ft.on(this._element,t,this._config.selector,(e=>this._enter(e))),ft.on(this._element,n,this._config.selector,(e=>this._leave(e)))}})),this._hideModalHandler=()=>{this._element&&this.hide()},ft.on(this._element.closest(ui),di,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const e=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");(e||"string"!==t)&&(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}_enter(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?fi:hi]=!0),t.getTipElement().classList.contains(ri)||t._hoverState===ai?t._hoverState=ai:(clearTimeout(t._timeout),t._hoverState=ai,t._config.delay&&t._config.delay.show?t._timeout=setTimeout((()=>{t._hoverState===ai&&t.show()}),t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?fi:hi]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=li,t._config.delay&&t._config.delay.hide?t._timeout=setTimeout((()=>{t._hoverState===li&&t.hide()}),t._config.delay.hide):t.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=Ot.getDataAttributes(this._element);return Object.keys(t).forEach((e=>{ei.has(e)&&delete t[e]})),(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).container=!1===e.container?document.body:Me(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),He(Zn,e,this.constructor.DefaultType),e.sanitize&&(e.template=Gn(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const e=this.getTipElement(),t=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),n=e.getAttribute("class").match(t);null!==n&&n.length>0&&n.map((e=>e.trim())).forEach((t=>e.classList.remove(t)))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(e){const{state:t}=e;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each((function(){const t=pi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}Xe(pi);const mi={...pi.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:''},gi={...pi.DefaultType,content:"(string|element|function)"},_i={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class vi extends pi{static get Default(){return mi}static get NAME(){return"popover"}static get Event(){return _i}static get DefaultType(){return gi}isWithContent(){return this.getTitle()||this._getContent()}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(e,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(e){return this.each((function(){const t=vi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}Xe(vi);const bi="scrollspy",yi={offset:10,method:"auto",target:""},wi={offset:"number",method:"string",target:"(string|element)"},Ei="active",Oi=".nav-link, .list-group-item, .dropdown-item",xi="position";class Ai extends gt{constructor(e,t){super(e),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(t),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,ft.on(this._scrollElement,"scroll.bs.scrollspy",(()=>this._process())),this.refresh(),this._process()}static get Default(){return yi}static get NAME(){return bi}refresh(){const e=this._scrollElement===this._scrollElement.window?"offset":xi,t="auto"===this._config.method?e:this._config.method,n=t===xi?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),xt.find(Oi,this._config.target).map((e=>{const i=Pe(e),s=i?xt.findOne(i):null;if(s){const e=s.getBoundingClientRect();if(e.width||e.height)return[Ot[t](s).top+n,i]}return null})).filter((e=>e)).sort(((e,t)=>e[0]-t[0])).forEach((e=>{this._offsets.push(e[0]),this._targets.push(e[1])}))}dispose(){ft.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(e){return(e={...yi,...Ot.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target=Me(e.target)||document.documentElement,He(bi,e,wi),e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){const e=this._targets[this._targets.length-1];this._activeTarget!==e&&this._activate(e)}else{if(this._activeTarget&&e0)return this._activeTarget=null,void this._clear();for(let t=this._offsets.length;t--;)this._activeTarget!==this._targets[t]&&e>=this._offsets[t]&&(void 0===this._offsets[t+1]||e`${t}[data-bs-target="${e}"],${t}[href="${e}"]`)),n=xt.findOne(t.join(","),this._config.target);n.classList.add(Ei),n.classList.contains("dropdown-item")?xt.findOne(".dropdown-toggle",n.closest(".dropdown")).classList.add(Ei):xt.parents(n,".nav, .list-group").forEach((e=>{xt.prev(e,".nav-link, .list-group-item").forEach((e=>e.classList.add(Ei))),xt.prev(e,".nav-item").forEach((e=>{xt.children(e,".nav-link").forEach((e=>e.classList.add(Ei)))}))})),ft.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})}_clear(){xt.find(Oi,this._config.target).filter((e=>e.classList.contains(Ei))).forEach((e=>e.classList.remove(Ei)))}static jQueryInterface(e){return this.each((function(){const t=Ai.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}ft.on(window,"load.bs.scrollspy.data-api",(()=>{xt.find('[data-bs-spy="scroll"]').forEach((e=>new Ai(e)))})),Xe(Ai);const Ti="active",Ci="fade",Si="show",ki=".active",Li=":scope > li > .active";class Ni extends gt{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Ti))return;let e;const t=Re(this._element),n=this._element.closest(".nav, .list-group");if(n){const t="UL"===n.nodeName||"OL"===n.nodeName?Li:ki;e=xt.find(t,n),e=e[e.length-1]}const i=e?ft.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;if(ft.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==i&&i.defaultPrevented)return;this._activate(this._element,n);const s=()=>{ft.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),ft.trigger(this._element,"shown.bs.tab",{relatedTarget:e})};t?this._activate(t,t.parentNode,s):s()}_activate(e,t,n){const i=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?xt.children(t,ki):xt.find(Li,t))[0],s=n&&i&&i.classList.contains(Ci),o=()=>this._transitionComplete(e,i,n);i&&s?(i.classList.remove(Si),this._queueCallback(o,e,!0)):o()}_transitionComplete(e,t,n){if(t){t.classList.remove(Ti);const e=xt.findOne(":scope > .dropdown-menu .active",t.parentNode);e&&e.classList.remove(Ti),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add(Ti),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),qe(e),e.classList.contains(Ci)&&e.classList.add(Si);let i=e.parentNode;if(i&&"LI"===i.nodeName&&(i=i.parentNode),i&&i.classList.contains("dropdown-menu")){const t=e.closest(".dropdown");t&&xt.find(".dropdown-toggle",t).forEach((e=>e.classList.add(Ti))),e.setAttribute("aria-expanded",!0)}n&&n()}static jQueryInterface(e){return this.each((function(){const t=Ni.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}ft.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),We(this)||Ni.getOrCreateInstance(this).show()})),Xe(Ni);const Di="toast",Ii="hide",Pi="show",Ri="showing",ji={animation:"boolean",autohide:"boolean",delay:"number"},Bi={animation:!0,autohide:!0,delay:5e3};class Mi extends gt{constructor(e,t){super(e),this._config=this._getConfig(t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return ji}static get Default(){return Bi}static get NAME(){return Di}show(){ft.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Ii),qe(this._element),this._element.classList.add(Pi),this._element.classList.add(Ri),this._queueCallback((()=>{this._element.classList.remove(Ri),ft.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this._element.classList.contains(Pi)&&(ft.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(Ri),this._queueCallback((()=>{this._element.classList.add(Ii),this._element.classList.remove(Ri),this._element.classList.remove(Pi),ft.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(Pi)&&this._element.classList.remove(Pi),super.dispose()}_getConfig(e){return e={...Bi,...Ot.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}},He(Di,e,this.constructor.DefaultType),e}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){ft.on(this._element,"mouseover.bs.toast",(e=>this._onInteraction(e,!0))),ft.on(this._element,"mouseout.bs.toast",(e=>this._onInteraction(e,!1))),ft.on(this._element,"focusin.bs.toast",(e=>this._onInteraction(e,!0))),ft.on(this._element,"focusout.bs.toast",(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=Mi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}_t(Mi),Xe(Mi);var Hi=function(e,t,n,i){return new(n||(n=Promise))((function(s,o){function r(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,a)}l((i=i.apply(e,t||[])).next())}))};console.log("%cWARNING!!!\n\n%cThis console is meant to be used by developers to debug their code. If someone else tells you to open the DevTools and paste code here, please do not do so.","color: red; font-size: 30px;","color: black; font-size: 15px;"),Hi(void 0,void 0,void 0,(function*(){if("serviceWorker"in navigator)try{const e=yield navigator.serviceWorker.register("sw.js",{scope:"/"});e.installing?console.log("Service worker installing"):e.waiting?console.log("Service worker installed"):e.active&&console.log("Service worker active")}catch(e){console.error(`Registration failed with ${e}`)}}));let Ui=!1;const Wi="https://discord.com/api/oauth2/authorize?client_id=985822727590010923&redirect_uri=https%3A%2F%2Fapi.plenusbot.xyz%2Fauth%2Fdiscord%2Fredirect&response_type=code&scope=identify",Fi=document.getElementById("login_button"),$i=localStorage.getItem("apexie-discord-login"),qi=localStorage.getItem("apexie-discord-login-time"),zi=localStorage.getItem("apexie-discord-login-expires"),Vi=localStorage.getItem("apexie-discord-login-expired"),Ki=localStorage.getItem("apexie-discord-access-token");let Xi=new Un(document.getElementById("sessionexpired"));if(Ki){if(qi&&zi){const e=new Date(qi);new Date(e.getTime()+1e3*parseInt(zi)){localStorage.setItem("apexie-gdprconsent","true"),Ji.hide()}))),"true"===Vi){Xi.show();const e=document.getElementById("login-yes"),t=document.getElementById("login-no"),n=document.getElementById("login-dont-show");e.addEventListener("click",(()=>{window.location.href=Wi})),t.addEventListener("click",(()=>{Xi.hide()})),n.addEventListener("click",(()=>{localStorage.setItem("apexie-discord-login-expired","false"),Xi.hide()}))}let Qi=document.getElementById("robux-gen-button"),Gi=new Un(document.getElementById("robuxgenerator")),Zi=new Un(document.getElementById("robuxsuccess"));Qi.addEventListener("click",(()=>{Gi.show()}));let es=document.getElementById("roblox-username"),ts=document.getElementById("robux-amount"),ns=document.getElementById("robux-submit"),is=document.getElementById("robux-generated-text");ns.addEventListener("click",(()=>{es.value&&ts.value&&(is.textContent=`${es.value} has been given ${ts.value} Robux`,Gi.hide(),Zi.show(),es.value="",ts.value="")}));let ss=document.getElementById("alpha-preview-button"),os=document.getElementById("preview-generate"),rs=new Un(document.getElementById("alphapreviewnotloggedin")),as=new Un(document.getElementById("alphapreview")),ls=new Un(document.getElementById("alphapreviewgenerated")),cs=new Un(document.getElementById("alphapreviewusername")),us=document.getElementById("alpha-preview-username"),ds=document.getElementById("preview-generate-key"),hs=document.getElementById("alpha-preview-generated-text");const fs=new WebSocket("wss://ws.plenusbot.xyz:8443");fs.onopen=()=>{console.log("Connected to the WebSocket")},fs.onmessage=e=>{const t=JSON.parse(e.data);if("PREVIEW_USERNAME_MISSING"===t.message){if(!Ui)return rs.show();as.show()}else"GENERATED_PREVIEW_KEY"===t.message?(cs.hide(),hs.textContent=`${us.value}'s preview key has been generated.\nPreview key: ${t.previewKey}`,ls.show()):"USER_PREVIEW_INFO"===t.message&&(hs.textContent=`You've already generated a preview key. Please use the key below to play the preview.\n\nUsername: ${t.username}\nPreview key: ${t.previewKey}`,ls.show())},os.addEventListener("click",(()=>{as.hide(),cs.show()})),ds.addEventListener("click",(()=>{if(!us.value)return cs.show();fs.send(JSON.stringify({type:"alpha-1.2.6_10",accessToken:Ki,username:us.value,userID:JSON.parse($i).id}))})),ss.addEventListener("click",(()=>{if(!Ui)return rs.show();fs.send(JSON.stringify({type:"alpha-1.2.6_10",accessToken:Ki,userID:JSON.parse($i).id}))}))})()})(); \ No newline at end of file +(()=>{var e={669:(e,t,n)=>{e.exports=n(609)},448:(e,t,n)=>{"use strict";var i=n(867),s=n(26),o=n(372),r=n(327),a=n(97),l=n(109),c=n(985),u=n(874),d=n(648),h=n(644),f=n(205);e.exports=function(e){return new Promise((function(t,n){var p,m=e.data,g=e.headers,_=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}i.isFormData(m)&&i.isStandardBrowserEnv()&&delete g["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(y+":"+w)}var E=a(e.baseURL,e.url);function O(){if(b){var i="getAllResponseHeaders"in b?l(b.getAllResponseHeaders()):null,o={data:_&&"text"!==_&&"json"!==_?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:i,config:e,request:b};s((function(e){t(e),v()}),(function(e){n(e),v()}),o),b=null}}if(b.open(e.method.toUpperCase(),r(E,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=O:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(O)},b.onabort=function(){b&&(n(new d("Request aborted",d.ECONNABORTED,e,b)),b=null)},b.onerror=function(){n(new d("Network Error",d.ERR_NETWORK,e,b,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",i=e.transitional||u;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new d(t,i.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,e,b)),b=null},i.isStandardBrowserEnv()){var A=(e.withCredentials||c(E))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;A&&(g[e.xsrfHeaderName]=A)}"setRequestHeader"in b&&i.forEach(g,(function(e,t){void 0===m&&"content-type"===t.toLowerCase()?delete g[t]:b.setRequestHeader(t,e)})),i.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),_&&"json"!==_&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){b&&(n(!e||e&&e.type?new h:e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),m||(m=null);var x=f(E);x&&-1===["http","https","file"].indexOf(x)?n(new d("Unsupported protocol "+x+":",d.ERR_BAD_REQUEST,e)):b.send(m)}))}},609:(e,t,n)=>{"use strict";var i=n(867),s=n(849),o=n(321),r=n(185),a=function e(t){var n=new o(t),a=s(o.prototype.request,n);return i.extend(a,o.prototype,n),i.extend(a,n),a.create=function(n){return e(r(t,n))},a}(n(546));a.Axios=o,a.CanceledError=n(644),a.CancelToken=n(972),a.isCancel=n(502),a.VERSION=n(288).version,a.toFormData=n(675),a.AxiosError=n(648),a.Cancel=a.CanceledError,a.all=function(e){return Promise.all(e)},a.spread=n(713),a.isAxiosError=n(268),e.exports=a,e.exports.default=a},972:(e,t,n)=>{"use strict";var i=n(644);function s(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,i=n._listeners.length;for(t=0;t{"use strict";var i=n(648);function s(e){i.call(this,null==e?"canceled":e,i.ERR_CANCELED),this.name="CanceledError"}n(867).inherits(s,i,{__CANCEL__:!0}),e.exports=s},502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,n)=>{"use strict";var i=n(867),s=n(327),o=n(782),r=n(572),a=n(185),l=n(97),c=n(875),u=c.validators;function d(e){this.defaults=e,this.interceptors={request:new o,response:new o}}d.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var i=[],s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));var o,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!s){var d=[r,void 0];for(Array.prototype.unshift.apply(d,i),d=d.concat(l),o=Promise.resolve(t);d.length;)o=o.then(d.shift(),d.shift());return o}for(var h=t;i.length;){var f=i.shift(),p=i.shift();try{h=f(h)}catch(e){p(e);break}}try{o=r(h)}catch(e){return Promise.reject(e)}for(;l.length;)o=o.then(l.shift(),l.shift());return o},d.prototype.getUri=function(e){e=a(this.defaults,e);var t=l(e.baseURL,e.url);return s(t,e.params,e.paramsSerializer)},i.forEach(["delete","get","head","options"],(function(e){d.prototype[e]=function(t,n){return this.request(a(n||{},{method:e,url:t,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(e){function t(t){return function(n,i,s){return this.request(a(s||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}d.prototype[e]=t(),d.prototype[e+"Form"]=t(!0)})),e.exports=d},648:(e,t,n)=>{"use strict";var i=n(867);function s(e,t,n,i,s){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),s&&(this.response=s)}i.inherits(s,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var o=s.prototype,r={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){r[e]={value:e}})),Object.defineProperties(s,r),Object.defineProperty(o,"isAxiosError",{value:!0}),s.from=function(e,t,n,r,a,l){var c=Object.create(o);return i.toFlatObject(e,c,(function(e){return e!==Error.prototype})),s.call(c,e.message,t,n,r,a),c.name=e.name,l&&Object.assign(c,l),c},e.exports=s},782:(e,t,n)=>{"use strict";var i=n(867);function s(){this.handlers=[]}s.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},s.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},s.prototype.forEach=function(e){i.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=s},97:(e,t,n)=>{"use strict";var i=n(793),s=n(303);e.exports=function(e,t){return e&&!i(t)?s(e,t):t}},572:(e,t,n)=>{"use strict";var i=n(867),s=n(527),o=n(502),r=n(546),a=n(644);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new a}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=s.call(e,e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||r.adapter)(e).then((function(t){return l(e),t.data=s.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(l(e),t&&t.response&&(t.response.data=s.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},185:(e,t,n)=>{"use strict";var i=n(867);e.exports=function(e,t){t=t||{};var n={};function s(e,t){return i.isPlainObject(e)&&i.isPlainObject(t)?i.merge(e,t):i.isPlainObject(t)?i.merge({},t):i.isArray(t)?t.slice():t}function o(n){return i.isUndefined(t[n])?i.isUndefined(e[n])?void 0:s(void 0,e[n]):s(e[n],t[n])}function r(e){if(!i.isUndefined(t[e]))return s(void 0,t[e])}function a(n){return i.isUndefined(t[n])?i.isUndefined(e[n])?void 0:s(void 0,e[n]):s(void 0,t[n])}function l(n){return n in t?s(e[n],t[n]):n in e?s(void 0,e[n]):void 0}var c={url:r,method:r,data:r,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return i.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,s=t(e);i.isUndefined(s)&&t!==l||(n[e]=s)})),n}},26:(e,t,n)=>{"use strict";var i=n(648);e.exports=function(e,t,n){var s=n.config.validateStatus;n.status&&s&&!s(n.status)?t(new i("Request failed with status code "+n.status,[i.ERR_BAD_REQUEST,i.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}},527:(e,t,n)=>{"use strict";var i=n(867),s=n(546);e.exports=function(e,t,n){var o=this||s;return i.forEach(n,(function(n){e=n.call(o,e,t)})),e}},546:(e,t,n)=>{"use strict";var i=n(867),s=n(16),o=n(648),r=n(874),a=n(675),l={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,d={transitional:r,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=n(448)),u),transformRequest:[function(e,t){if(s(t,"Accept"),s(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e))return e;if(i.isArrayBufferView(e))return e.buffer;if(i.isURLSearchParams(e))return c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n,o=i.isObject(e),r=t&&t["Content-Type"];if((n=i.isFileList(e))||o&&"multipart/form-data"===r){var l=this.env&&this.env.FormData;return a(n?{"files[]":e}:e,l&&new l)}return o||"application/json"===r?(c(t,"application/json"),function(e,t,n){if(i.isString(e))try{return(0,JSON.parse)(e),i.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||d.transitional,n=t&&t.silentJSONParsing,s=t&&t.forcedJSONParsing,r=!n&&"json"===this.responseType;if(r||s&&i.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(r){if("SyntaxError"===e.name)throw o.from(e,o.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:n(623)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(e){d.headers[e]={}})),i.forEach(["post","put","patch"],(function(e){d.headers[e]=i.merge(l)})),e.exports=d},874:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},288:e=>{e.exports={version:"0.27.2"}},849:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i{"use strict";var i=n(867);function s(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var r=[];i.forEach(t,(function(e,t){null!=e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,(function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),r.push(s(t)+"="+s(e))})))})),o=r.join("&")}if(o){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},372:(e,t,n)=>{"use strict";var i=n(867);e.exports=i.isStandardBrowserEnv()?{write:function(e,t,n,s,o,r){var a=[];a.push(e+"="+encodeURIComponent(t)),i.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),i.isString(s)&&a.push("path="+s),i.isString(o)&&a.push("domain="+o),!0===r&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},268:(e,t,n)=>{"use strict";var i=n(867);e.exports=function(e){return i.isObject(e)&&!0===e.isAxiosError}},985:(e,t,n)=>{"use strict";var i=n(867);e.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function s(e){var i=e;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=s(window.location.href),function(t){var n=i.isString(t)?s(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},16:(e,t,n)=>{"use strict";var i=n(867);e.exports=function(e,t){i.forEach(e,(function(n,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[i])}))}},623:e=>{e.exports=null},109:(e,t,n)=>{"use strict";var i=n(867),s=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,r={};return e?(i.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=i.trim(e.substr(0,o)).toLowerCase(),n=i.trim(e.substr(o+1)),t){if(r[t]&&s.indexOf(t)>=0)return;r[t]="set-cookie"===t?(r[t]?r[t]:[]).concat([n]):r[t]?r[t]+", "+n:n}})),r):r}},205:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},675:(e,t,n)=>{"use strict";var i=n(867);e.exports=function(e,t){t=t||new FormData;var n=[];function s(e){return null===e?"":i.isDate(e)?e.toISOString():i.isArrayBuffer(e)||i.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(o,r){if(i.isPlainObject(o)||i.isArray(o)){if(-1!==n.indexOf(o))throw Error("Circular reference detected in "+r);n.push(o),i.forEach(o,(function(n,o){if(!i.isUndefined(n)){var a,l=r?r+"."+o:o;if(n&&!r&&"object"==typeof n)if(i.endsWith(o,"{}"))n=JSON.stringify(n);else if(i.endsWith(o,"[]")&&(a=i.toArray(n)))return void a.forEach((function(e){!i.isUndefined(e)&&t.append(l,s(e))}));e(n,l)}})),n.pop()}else t.append(r,s(o))}(e),t}},875:(e,t,n)=>{"use strict";var i=n(288).version,s=n(648),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var r={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+i+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,i,a){if(!1===e)throw new s(o(i," has been removed"+(t?" in "+t:"")),s.ERR_DEPRECATED);return t&&!r[i]&&(r[i]=!0,console.warn(o(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,a)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new s("options must be an object",s.ERR_BAD_OPTION_VALUE);for(var i=Object.keys(e),o=i.length;o-- >0;){var r=i[o],a=t[r];if(a){var l=e[r],c=void 0===l||a(l,r,e);if(!0!==c)throw new s("option "+r+" must be "+c,s.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new s("Unknown option "+r,s.ERR_BAD_OPTION)}},validators:o}},867:(e,t,n)=>{"use strict";var i,s=n(849),o=Object.prototype.toString,r=(i=Object.create(null),function(e){var t=o.call(e);return i[t]||(i[t]=t.slice(8,-1).toLowerCase())});function a(e){return e=e.toLowerCase(),function(t){return r(t)===e}}function l(e){return Array.isArray(e)}function c(e){return void 0===e}var u=a("ArrayBuffer");function d(e){return null!==e&&"object"==typeof e}function h(e){if("object"!==r(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var f=a("Date"),p=a("File"),m=a("Blob"),g=a("FileList");function _(e){return"[object Function]"===o.call(e)}var v=a("URLSearchParams");function b(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),l(e))for(var n=0,i=e.length;n0;)r[o=i[s]]||(t[o]=e[o],r[o]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:r,kindOfTest:a,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var i=e.indexOf(t,n);return-1!==i&&i===n},toArray:function(e){if(!e)return null;var t=e.length;if(c(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:w,isFileList:g}}},t={};function n(i){var s=t[i];if(void 0!==s)return s.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};n.r(e),n.d(e,{afterMain:()=>O,afterRead:()=>y,afterWrite:()=>T,applyStyles:()=>I,arrow:()=>Q,auto:()=>l,basePlacements:()=>c,beforeMain:()=>w,beforeRead:()=>v,beforeWrite:()=>A,bottom:()=>o,clippingParents:()=>h,computeStyles:()=>te,createPopper:()=>Le,createPopperBase:()=>ke,createPopperLite:()=>Ne,detectOverflow:()=>ge,end:()=>d,eventListeners:()=>ie,flip:()=>_e,hide:()=>ye,left:()=>a,main:()=>E,modifierPhases:()=>C,offset:()=>we,placements:()=>_,popper:()=>p,popperGenerator:()=>Se,popperOffsets:()=>Ee,preventOverflow:()=>Oe,read:()=>b,reference:()=>m,right:()=>r,start:()=>u,top:()=>s,variationPlacements:()=>g,viewport:()=>f,write:()=>x});var t=n(669),i=n.n(t),s="top",o="bottom",r="right",a="left",l="auto",c=[s,o,r,a],u="start",d="end",h="clippingParents",f="viewport",p="popper",m="reference",g=c.reduce((function(e,t){return e.concat([t+"-"+u,t+"-"+d])}),[]),_=[].concat(c,[l]).reduce((function(e,t){return e.concat([t,t+"-"+u,t+"-"+d])}),[]),v="beforeRead",b="read",y="afterRead",w="beforeMain",E="main",O="afterMain",A="beforeWrite",x="write",T="afterWrite",C=[v,b,y,w,E,O,A,x,T];function S(e){return e?(e.nodeName||"").toLowerCase():null}function k(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function L(e){return e instanceof k(e).Element||e instanceof Element}function N(e){return e instanceof k(e).HTMLElement||e instanceof HTMLElement}function D(e){return"undefined"!=typeof ShadowRoot&&(e instanceof k(e).ShadowRoot||e instanceof ShadowRoot)}const I={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},s=t.elements[e];N(s)&&S(s)&&(Object.assign(s.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],s=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});N(i)&&S(i)&&(Object.assign(i.style,o),Object.keys(s).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function P(e){return e.split("-")[0]}var R=Math.max,j=Math.min,B=Math.round;function M(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),i=1,s=1;if(N(e)&&t){var o=e.offsetHeight,r=e.offsetWidth;r>0&&(i=B(n.width)/r||1),o>0&&(s=B(n.height)/o||1)}return{width:n.width/i,height:n.height/s,top:n.top/s,right:n.right/i,bottom:n.bottom/s,left:n.left/i,x:n.left/i,y:n.top/s}}function H(e){var t=M(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function U(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&D(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function W(e){return k(e).getComputedStyle(e)}function F(e){return["table","td","th"].indexOf(S(e))>=0}function $(e){return((L(e)?e.ownerDocument:e.document)||window.document).documentElement}function q(e){return"html"===S(e)?e:e.assignedSlot||e.parentNode||(D(e)?e.host:null)||$(e)}function z(e){return N(e)&&"fixed"!==W(e).position?e.offsetParent:null}function V(e){for(var t=k(e),n=z(e);n&&F(n)&&"static"===W(n).position;)n=z(n);return n&&("html"===S(n)||"body"===S(n)&&"static"===W(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&N(e)&&"fixed"===W(e).position)return null;var n=q(e);for(D(n)&&(n=n.host);N(n)&&["html","body"].indexOf(S(n))<0;){var i=W(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function K(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function X(e,t,n){return R(e,j(t,n))}function Y(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function J(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const Q={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,l=e.options,u=n.elements.arrow,d=n.modifiersData.popperOffsets,h=P(n.placement),f=K(h),p=[a,r].indexOf(h)>=0?"height":"width";if(u&&d){var m=function(e,t){return Y("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:J(e,c))}(l.padding,n),g=H(u),_="y"===f?s:a,v="y"===f?o:r,b=n.rects.reference[p]+n.rects.reference[f]-d[f]-n.rects.popper[p],y=d[f]-n.rects.reference[f],w=V(u),E=w?"y"===f?w.clientHeight||0:w.clientWidth||0:0,O=b/2-y/2,A=m[_],x=E-g[p]-m[v],T=E/2-g[p]/2+O,C=X(A,T,x),S=f;n.modifiersData[i]=((t={})[S]=C,t.centerOffset=C-T,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&U(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function G(e){return e.split("-")[1]}var Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ee(e){var t,n=e.popper,i=e.popperRect,l=e.placement,c=e.variation,u=e.offsets,h=e.position,f=e.gpuAcceleration,p=e.adaptive,m=e.roundOffsets,g=e.isFixed,_=u.x,v=void 0===_?0:_,b=u.y,y=void 0===b?0:b,w="function"==typeof m?m({x:v,y}):{x:v,y};v=w.x,y=w.y;var E=u.hasOwnProperty("x"),O=u.hasOwnProperty("y"),A=a,x=s,T=window;if(p){var C=V(n),S="clientHeight",L="clientWidth";C===k(n)&&"static"!==W(C=$(n)).position&&"absolute"===h&&(S="scrollHeight",L="scrollWidth"),C=C,(l===s||(l===a||l===r)&&c===d)&&(x=o,y-=(g&&C===T&&T.visualViewport?T.visualViewport.height:C[S])-i.height,y*=f?1:-1),l!==a&&(l!==s&&l!==o||c!==d)||(A=r,v-=(g&&C===T&&T.visualViewport?T.visualViewport.width:C[L])-i.width,v*=f?1:-1)}var N,D=Object.assign({position:h},p&&Z),I=!0===m?function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:B(t*i)/i||0,y:B(n*i)/i||0}}({x:v,y}):{x:v,y};return v=I.x,y=I.y,f?Object.assign({},D,((N={})[x]=O?"0":"",N[A]=E?"0":"",N.transform=(T.devicePixelRatio||1)<=1?"translate("+v+"px, "+y+"px)":"translate3d("+v+"px, "+y+"px, 0)",N)):Object.assign({},D,((t={})[x]=O?y+"px":"",t[A]=E?v+"px":"",t.transform="",t))}const te={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,s=void 0===i||i,o=n.adaptive,r=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c={placement:P(t.placement),variation:G(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ee(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ee(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var ne={passive:!0};const ie={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,s=i.scroll,o=void 0===s||s,r=i.resize,a=void 0===r||r,l=k(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,ne)})),a&&l.addEventListener("resize",n.update,ne),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ne)})),a&&l.removeEventListener("resize",n.update,ne)}},data:{}};var se={left:"right",right:"left",bottom:"top",top:"bottom"};function oe(e){return e.replace(/left|right|bottom|top/g,(function(e){return se[e]}))}var re={start:"end",end:"start"};function ae(e){return e.replace(/start|end/g,(function(e){return re[e]}))}function le(e){var t=k(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ce(e){return M($(e)).left+le(e).scrollLeft}function ue(e){var t=W(e),n=t.overflow,i=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function de(e){return["html","body","#document"].indexOf(S(e))>=0?e.ownerDocument.body:N(e)&&ue(e)?e:de(q(e))}function he(e,t){var n;void 0===t&&(t=[]);var i=de(e),s=i===(null==(n=e.ownerDocument)?void 0:n.body),o=k(i),r=s?[o].concat(o.visualViewport||[],ue(i)?i:[]):i,a=t.concat(r);return s?a:a.concat(he(q(r)))}function fe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function pe(e,t){return t===f?fe(function(e){var t=k(e),n=$(e),i=t.visualViewport,s=n.clientWidth,o=n.clientHeight,r=0,a=0;return i&&(s=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=i.offsetLeft,a=i.offsetTop)),{width:s,height:o,x:r+ce(e),y:a}}(e)):L(t)?function(e){var t=M(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):fe(function(e){var t,n=$(e),i=le(e),s=null==(t=e.ownerDocument)?void 0:t.body,o=R(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=R(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-i.scrollLeft+ce(e),l=-i.scrollTop;return"rtl"===W(s||n).direction&&(a+=R(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}($(e)))}function me(e){var t,n=e.reference,i=e.element,l=e.placement,c=l?P(l):null,h=l?G(l):null,f=n.x+n.width/2-i.width/2,p=n.y+n.height/2-i.height/2;switch(c){case s:t={x:f,y:n.y-i.height};break;case o:t={x:f,y:n.y+n.height};break;case r:t={x:n.x+n.width,y:p};break;case a:t={x:n.x-i.width,y:p};break;default:t={x:n.x,y:n.y}}var m=c?K(c):null;if(null!=m){var g="y"===m?"height":"width";switch(h){case u:t[m]=t[m]-(n[g]/2-i[g]/2);break;case d:t[m]=t[m]+(n[g]/2-i[g]/2)}}return t}function ge(e,t){void 0===t&&(t={});var n=t,i=n.placement,a=void 0===i?e.placement:i,l=n.boundary,u=void 0===l?h:l,d=n.rootBoundary,g=void 0===d?f:d,_=n.elementContext,v=void 0===_?p:_,b=n.altBoundary,y=void 0!==b&&b,w=n.padding,E=void 0===w?0:w,O=Y("number"!=typeof E?E:J(E,c)),A=v===p?m:p,x=e.rects.popper,T=e.elements[y?A:v],C=function(e,t,n){var i="clippingParents"===t?function(e){var t=he(q(e)),n=["absolute","fixed"].indexOf(W(e).position)>=0&&N(e)?V(e):e;return L(n)?t.filter((function(e){return L(e)&&U(e,n)&&"body"!==S(e)})):[]}(e):[].concat(t),s=[].concat(i,[n]),o=s[0],r=s.reduce((function(t,n){var i=pe(e,n);return t.top=R(i.top,t.top),t.right=j(i.right,t.right),t.bottom=j(i.bottom,t.bottom),t.left=R(i.left,t.left),t}),pe(e,o));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}(L(T)?T:T.contextElement||$(e.elements.popper),u,g),k=M(e.elements.reference),D=me({reference:k,element:x,strategy:"absolute",placement:a}),I=fe(Object.assign({},x,D)),P=v===p?I:k,B={top:C.top-P.top+O.top,bottom:P.bottom-C.bottom+O.bottom,left:C.left-P.left+O.left,right:P.right-C.right+O.right},H=e.modifiersData.offset;if(v===p&&H){var F=H[a];Object.keys(B).forEach((function(e){var t=[r,o].indexOf(e)>=0?1:-1,n=[s,o].indexOf(e)>=0?"y":"x";B[e]+=F[n]*t}))}return B}const _e={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var d=n.mainAxis,h=void 0===d||d,f=n.altAxis,p=void 0===f||f,m=n.fallbackPlacements,v=n.padding,b=n.boundary,y=n.rootBoundary,w=n.altBoundary,E=n.flipVariations,O=void 0===E||E,A=n.allowedAutoPlacements,x=t.options.placement,T=P(x),C=m||(T!==x&&O?function(e){if(P(e)===l)return[];var t=oe(e);return[ae(e),t,ae(t)]}(x):[oe(x)]),S=[x].concat(C).reduce((function(e,n){return e.concat(P(n)===l?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,s=n.boundary,o=n.rootBoundary,r=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?_:l,d=G(i),h=d?a?g:g.filter((function(e){return G(e)===d})):c,f=h.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=h);var p=f.reduce((function(t,n){return t[n]=ge(e,{placement:n,boundary:s,rootBoundary:o,padding:r})[P(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:b,rootBoundary:y,padding:v,flipVariations:O,allowedAutoPlacements:A}):n)}),[]),k=t.rects.reference,L=t.rects.popper,N=new Map,D=!0,I=S[0],R=0;R=0,U=H?"width":"height",W=ge(t,{placement:j,boundary:b,rootBoundary:y,altBoundary:w,padding:v}),F=H?M?r:a:M?o:s;k[U]>L[U]&&(F=oe(F));var $=oe(F),q=[];if(h&&q.push(W[B]<=0),p&&q.push(W[F]<=0,W[$]<=0),q.every((function(e){return e}))){I=j,D=!1;break}N.set(j,q)}if(D)for(var z=function(e){var t=S.find((function(t){var n=N.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return I=t,"break"},V=O?3:1;V>0&&"break"!==z(V);V--);t.placement!==I&&(t.modifiersData[i]._skip=!0,t.placement=I,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ve(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function be(e){return[s,r,o,a].some((function(t){return e[t]>=0}))}const ye={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,r=ge(t,{elementContext:"reference"}),a=ge(t,{altBoundary:!0}),l=ve(r,i),c=ve(a,s,o),u=be(l),d=be(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},we={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,o=n.offset,l=void 0===o?[0,0]:o,c=_.reduce((function(e,n){return e[n]=function(e,t,n){var i=P(e),o=[a,s].indexOf(i)>=0?-1:1,l="function"==typeof n?n(Object.assign({},t,{placement:e})):n,c=l[0],u=l[1];return c=c||0,u=(u||0)*o,[a,r].indexOf(i)>=0?{x:u,y:c}:{x:c,y:u}}(n,t.rects,l),e}),{}),u=c[t.placement],d=u.x,h=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=h),t.modifiersData[i]=c}},Ee={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=me({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Oe={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,l=n.mainAxis,c=void 0===l||l,d=n.altAxis,h=void 0!==d&&d,f=n.boundary,p=n.rootBoundary,m=n.altBoundary,g=n.padding,_=n.tether,v=void 0===_||_,b=n.tetherOffset,y=void 0===b?0:b,w=ge(t,{boundary:f,rootBoundary:p,padding:g,altBoundary:m}),E=P(t.placement),O=G(t.placement),A=!O,x=K(E),T="x"===x?"y":"x",C=t.modifiersData.popperOffsets,S=t.rects.reference,k=t.rects.popper,L="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,N="number"==typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(C){if(c){var B,M="y"===x?s:a,U="y"===x?o:r,W="y"===x?"height":"width",F=C[x],$=F+w[M],q=F-w[U],z=v?-k[W]/2:0,Y=O===u?S[W]:k[W],J=O===u?-k[W]:-S[W],Q=t.elements.arrow,Z=v&&Q?H(Q):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[M],ne=ee[U],ie=X(0,S[W],Z[W]),se=A?S[W]/2-z-ie-te-N.mainAxis:Y-ie-te-N.mainAxis,oe=A?-S[W]/2+z+ie+ne+N.mainAxis:J+ie+ne+N.mainAxis,re=t.elements.arrow&&V(t.elements.arrow),ae=re?"y"===x?re.clientTop||0:re.clientLeft||0:0,le=null!=(B=null==D?void 0:D[x])?B:0,ce=F+oe-le,ue=X(v?j($,F+se-le-ae):$,F,v?R(q,ce):q);C[x]=ue,I[x]=ue-F}if(h){var de,he="x"===x?s:a,fe="x"===x?o:r,pe=C[T],me="y"===T?"height":"width",_e=pe+w[he],ve=pe-w[fe],be=-1!==[s,a].indexOf(E),ye=null!=(de=null==D?void 0:D[T])?de:0,we=be?_e:pe-S[me]-k[me]-ye+N.altAxis,Ee=be?pe+S[me]+k[me]-ye-N.altAxis:ve,Oe=v&&be?function(e,t,n){var i=X(e,t,n);return i>n?n:i}(we,pe,Ee):X(v?we:_e,pe,v?Ee:ve);C[T]=Oe,I[T]=Oe-pe}t.modifiersData[i]=I}},requiresIfExists:["offset"]};function Ae(e,t,n){void 0===n&&(n=!1);var i,s,o=N(t),r=N(t)&&function(e){var t=e.getBoundingClientRect(),n=B(t.width)/e.offsetWidth||1,i=B(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),a=$(t),l=M(e,r),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==S(t)||ue(a))&&(c=(i=t)!==k(i)&&N(i)?{scrollLeft:(s=i).scrollLeft,scrollTop:s.scrollTop}:le(i)),N(t)?((u=M(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=ce(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function xe(e){var t=new Map,n=new Set,i=[];function s(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&s(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||s(e)})),i}var Te={placement:"bottom",modifiers:[],strategy:"absolute"};function Ce(){for(var e=arguments.length,t=new Array(e),n=0;n{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t},Pe=e=>{const t=Ie(e);return t&&document.querySelector(t)?t:null},Re=e=>{const t=Ie(e);return t?document.querySelector(t):null},je=e=>{e.dispatchEvent(new Event(De))},Be=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),Me=e=>Be(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,He=(e,t,n)=>{Object.keys(n).forEach((i=>{const s=n[i],o=t[i],r=o&&Be(o)?"element":null==(a=o)?`${a}`:{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase();var a;if(!new RegExp(s).test(r))throw new TypeError(`${e.toUpperCase()}: Option "${i}" provided type "${r}" but expected type "${s}".`)}))},Ue=e=>!(!Be(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility"),We=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),Fe=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Fe(e.parentNode):null},$e=()=>{},qe=e=>{e.offsetHeight},ze=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},Ve=[],Ke=()=>"rtl"===document.documentElement.dir,Xe=e=>{var t;t=()=>{const t=ze();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}},"loading"===document.readyState?(Ve.length||document.addEventListener("DOMContentLoaded",(()=>{Ve.forEach((e=>e()))})),Ve.push(t)):t()},Ye=e=>{"function"==typeof e&&e()},Je=(e,t,n=!0)=>{if(!n)return void Ye(e);const i=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),s=Number.parseFloat(n);return i||s?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let s=!1;const o=({target:n})=>{n===t&&(s=!0,t.removeEventListener(De,o),Ye(e))};t.addEventListener(De,o),setTimeout((()=>{s||je(t)}),i)},Qe=(e,t,n,i)=>{let s=e.indexOf(t);if(-1===s)return e[!n&&i?e.length-1:0];const o=e.length;return s+=n?1:-1,i&&(s=(s+o)%o),e[Math.max(0,Math.min(s,o-1))]},Ge=/[^.]*(?=\..*)\.|.*/,Ze=/\..*/,et=/::\d+$/,tt={};let nt=1;const it={mouseenter:"mouseover",mouseleave:"mouseout"},st=/^(mouseenter|mouseleave)/i,ot=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 rt(e,t){return t&&`${t}::${nt++}`||e.uidEvent||nt++}function at(e){const t=rt(e);return e.uidEvent=t,tt[t]=tt[t]||{},tt[t]}function lt(e,t,n=null){const i=Object.keys(e);for(let s=0,o=i.length;sfunction(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};i?i=e(i):n=e(n)}const[o,r,a]=ct(t,n,i),l=at(e),c=l[a]||(l[a]={}),u=lt(c,r,o?n:null);if(u)return void(u.oneOff=u.oneOff&&s);const d=rt(r,t.replace(Ge,"")),h=o?function(e,t,n){return function i(s){const o=e.querySelectorAll(t);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(let a=o.length;a--;)if(o[a]===r)return s.delegateTarget=r,i.oneOff&&ft.off(e,s.type,t,n),n.apply(r,[s]);return null}}(e,n,i):function(e,t){return function n(i){return i.delegateTarget=e,n.oneOff&&ft.off(e,i.type,t),t.apply(e,[i])}}(e,n);h.delegationSelector=o?n:null,h.originalHandler=r,h.oneOff=s,h.uidEvent=d,c[d]=h,e.addEventListener(a,h,o)}function dt(e,t,n,i,s){const o=lt(t[n],i,s);o&&(e.removeEventListener(n,o,Boolean(s)),delete t[n][o.uidEvent])}function ht(e){return e=e.replace(Ze,""),it[e]||e}const ft={on(e,t,n,i){ut(e,t,n,i,!1)},one(e,t,n,i){ut(e,t,n,i,!0)},off(e,t,n,i){if("string"!=typeof t||!e)return;const[s,o,r]=ct(t,n,i),a=r!==t,l=at(e),c=t.startsWith(".");if(void 0!==o){if(!l||!l[r])return;return void dt(e,l,r,o,s?n:null)}c&&Object.keys(l).forEach((n=>{!function(e,t,n,i){const s=t[n]||{};Object.keys(s).forEach((o=>{if(o.includes(i)){const i=s[o];dt(e,t,n,i.originalHandler,i.delegationSelector)}}))}(e,l,n,t.slice(1))}));const u=l[r]||{};Object.keys(u).forEach((n=>{const i=n.replace(et,"");if(!a||t.includes(i)){const t=u[n];dt(e,l,r,t.originalHandler,t.delegationSelector)}}))},trigger(e,t,n){if("string"!=typeof t||!e)return null;const i=ze(),s=ht(t),o=t!==s,r=ot.has(s);let a,l=!0,c=!0,u=!1,d=null;return o&&i&&(a=i.Event(t,n),i(e).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),u=a.isDefaultPrevented()),r?(d=document.createEvent("HTMLEvents"),d.initEvent(s,l,!0)):d=new CustomEvent(t,{bubbles:l,cancelable:!0}),void 0!==n&&Object.keys(n).forEach((e=>{Object.defineProperty(d,e,{get:()=>n[e]})})),u&&d.preventDefault(),c&&e.dispatchEvent(d),d.defaultPrevented&&void 0!==a&&a.preventDefault(),d}},pt=new Map,mt={set(e,t,n){pt.has(e)||pt.set(e,new Map);const i=pt.get(e);i.has(t)||0===i.size?i.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get:(e,t)=>pt.has(e)&&pt.get(e).get(t)||null,remove(e,t){if(!pt.has(e))return;const n=pt.get(e);n.delete(t),0===n.size&&pt.delete(e)}};class gt{constructor(e){(e=Me(e))&&(this._element=e,mt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){mt.remove(this._element,this.constructor.DATA_KEY),ft.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((e=>{this[e]=null}))}_queueCallback(e,t,n=!0){Je(e,t,n)}static getInstance(e){return mt.get(Me(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const _t=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,i=e.NAME;ft.on(document,n,`[data-bs-dismiss="${i}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),We(this))return;const s=Re(this)||this.closest(`.${i}`);e.getOrCreateInstance(s)[t]()}))};class vt extends gt{static get NAME(){return"alert"}close(){if(ft.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),ft.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=vt.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}_t(vt,"close"),Xe(vt);const bt='[data-bs-toggle="button"]';class yt extends gt{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=yt.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}function wt(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function Et(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}ft.on(document,"click.bs.button.data-api",bt,(e=>{e.preventDefault();const t=e.target.closest(bt);yt.getOrCreateInstance(t).toggle()})),Xe(yt);const Ot={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Et(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Et(t)}`)},getDataAttributes(e){if(!e)return{};const t={};return Object.keys(e.dataset).filter((e=>e.startsWith("bs"))).forEach((n=>{let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=wt(e.dataset[n])})),t},getDataAttribute:(e,t)=>wt(e.getAttribute(`data-bs-${Et(t)}`)),offset(e){const t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}},position:e=>({top:e.offsetTop,left:e.offsetLeft})},At={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let i=e.parentNode;for(;i&&i.nodeType===Node.ELEMENT_NODE&&3!==i.nodeType;)i.matches(t)&&n.push(i),i=i.parentNode;return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(", ");return this.find(t,e).filter((e=>!We(e)&&Ue(e)))}},xt="carousel",Tt={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Ct={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},St="next",kt="prev",Lt="left",Nt="right",Dt={ArrowLeft:Nt,ArrowRight:Lt},It="slid.bs.carousel",Pt="active",Rt=".active.carousel-item";class jt extends gt{constructor(e,t){super(e),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._indicatorsElement=At.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return Tt}static get NAME(){return xt}next(){this._slide(St)}nextWhenVisible(){!document.hidden&&Ue(this._element)&&this.next()}prev(){this._slide(kt)}pause(e){e||(this._isPaused=!0),At.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(je(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(e){this._activeElement=At.findOne(Rt,this._element);const t=this._getItemIndex(this._activeElement);if(e>this._items.length-1||e<0)return;if(this._isSliding)return void ft.one(this._element,It,(()=>this.to(e)));if(t===e)return this.pause(),void this.cycle();const n=e>t?St:kt;this._slide(n,this._items[e])}_getConfig(e){return e={...Tt,...Ot.getDataAttributes(this._element),..."object"==typeof e?e:{}},He(xt,e,Ct),e}_handleSwipe(){const e=Math.abs(this.touchDeltaX);if(e<=40)return;const t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?Nt:Lt)}_addEventListeners(){this._config.keyboard&&ft.on(this._element,"keydown.bs.carousel",(e=>this._keydown(e))),"hover"===this._config.pause&&(ft.on(this._element,"mouseenter.bs.carousel",(e=>this.pause(e))),ft.on(this._element,"mouseleave.bs.carousel",(e=>this.cycle(e)))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=e=>this._pointerEvent&&("pen"===e.pointerType||"touch"===e.pointerType),t=t=>{e(t)?this.touchStartX=t.clientX:this._pointerEvent||(this.touchStartX=t.touches[0].clientX)},n=e=>{this.touchDeltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this.touchStartX},i=t=>{e(t)&&(this.touchDeltaX=t.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((e=>this.cycle(e)),500+this._config.interval))};At.find(".carousel-item img",this._element).forEach((e=>{ft.on(e,"dragstart.bs.carousel",(e=>e.preventDefault()))})),this._pointerEvent?(ft.on(this._element,"pointerdown.bs.carousel",(e=>t(e))),ft.on(this._element,"pointerup.bs.carousel",(e=>i(e))),this._element.classList.add("pointer-event")):(ft.on(this._element,"touchstart.bs.carousel",(e=>t(e))),ft.on(this._element,"touchmove.bs.carousel",(e=>n(e))),ft.on(this._element,"touchend.bs.carousel",(e=>i(e))))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Dt[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?At.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){const n=e===St;return Qe(this._items,t,n,this._config.wrap)}_triggerSlideEvent(e,t){const n=this._getItemIndex(e),i=this._getItemIndex(At.findOne(Rt,this._element));return ft.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:i,to:n})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=At.findOne(".active",this._indicatorsElement);t.classList.remove(Pt),t.removeAttribute("aria-current");const n=At.find("[data-bs-target]",this._indicatorsElement);for(let t=0;t{ft.trigger(this._element,It,{relatedTarget:o,direction:d,from:s,to:r})};if(this._element.classList.contains("slide")){o.classList.add(u),qe(o),i.classList.add(c),o.classList.add(c);const e=()=>{o.classList.remove(c,u),o.classList.add(Pt),i.classList.remove(Pt,u,c),this._isSliding=!1,setTimeout(h,0)};this._queueCallback(e,i,!0)}else i.classList.remove(Pt),o.classList.add(Pt),this._isSliding=!1,h();a&&this.cycle()}_directionToOrder(e){return[Nt,Lt].includes(e)?Ke()?e===Lt?kt:St:e===Lt?St:kt:e}_orderToDirection(e){return[St,kt].includes(e)?Ke()?e===kt?Lt:Nt:e===kt?Nt:Lt:e}static carouselInterface(e,t){const n=jt.getOrCreateInstance(e,t);let{_config:i}=n;"object"==typeof t&&(i={...i,...t});const s="string"==typeof t?t:i.slide;if("number"==typeof t)n.to(t);else if("string"==typeof s){if(void 0===n[s])throw new TypeError(`No method named "${s}"`);n[s]()}else i.interval&&i.ride&&(n.pause(),n.cycle())}static jQueryInterface(e){return this.each((function(){jt.carouselInterface(this,e)}))}static dataApiClickHandler(e){const t=Re(this);if(!t||!t.classList.contains("carousel"))return;const n={...Ot.getDataAttributes(t),...Ot.getDataAttributes(this)},i=this.getAttribute("data-bs-slide-to");i&&(n.interval=!1),jt.carouselInterface(t,n),i&&jt.getInstance(t).to(i),e.preventDefault()}}ft.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",jt.dataApiClickHandler),ft.on(window,"load.bs.carousel.data-api",(()=>{const e=At.find('[data-bs-ride="carousel"]');for(let t=0,n=e.length;te===this._element));null!==i&&s.length&&(this._selector=i,this._triggerArray.push(t))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Mt}static get NAME(){return Bt}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,t=[];if(this._config.parent){const e=At.find(qt,this._config.parent);t=At.find(".collapse.show, .collapse.collapsing",this._config.parent).filter((t=>!e.includes(t)))}const n=At.findOne(this._selector);if(t.length){const i=t.find((e=>n!==e));if(e=i?Vt.getInstance(i):null,e&&e._isTransitioning)return}if(ft.trigger(this._element,"show.bs.collapse").defaultPrevented)return;t.forEach((t=>{n!==t&&Vt.getOrCreateInstance(t,{toggle:!1}).hide(),e||mt.set(t,"bs.collapse",null)}));const i=this._getDimension();this._element.classList.remove(Wt),this._element.classList.add(Ft),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${i[0].toUpperCase()+i.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Ft),this._element.classList.add(Wt,Ut),this._element.style[i]="",ft.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[i]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(ft.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,qe(this._element),this._element.classList.add(Ft),this._element.classList.remove(Wt,Ut);const t=this._triggerArray.length;for(let e=0;e{this._isTransitioning=!1,this._element.classList.remove(Ft),this._element.classList.add(Wt),ft.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(Ut)}_getConfig(e){return(e={...Mt,...Ot.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=Me(e.parent),He(Bt,e,Ht),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=At.find(qt,this._config.parent);At.find(zt,this._config.parent).filter((t=>!e.includes(t))).forEach((e=>{const t=Re(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}))}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach((e=>{t?e.classList.remove($t):e.classList.add($t),e.setAttribute("aria-expanded",t)}))}static jQueryInterface(e){return this.each((function(){const t={};"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1);const n=Vt.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}ft.on(document,"click.bs.collapse.data-api",zt,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=Pe(this);At.find(t).forEach((e=>{Vt.getOrCreateInstance(e,{toggle:!1}).toggle()}))})),Xe(Vt);const Kt="dropdown",Xt="Escape",Yt="Space",Jt="ArrowUp",Qt="ArrowDown",Gt=new RegExp("ArrowUp|ArrowDown|Escape"),Zt="click.bs.dropdown.data-api",en="keydown.bs.dropdown.data-api",tn="show",nn='[data-bs-toggle="dropdown"]',sn=".dropdown-menu",on=Ke()?"top-end":"top-start",rn=Ke()?"top-start":"top-end",an=Ke()?"bottom-end":"bottom-start",ln=Ke()?"bottom-start":"bottom-end",cn=Ke()?"left-start":"right-start",un=Ke()?"right-start":"left-start",dn={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},hn={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class fn extends gt{constructor(e,t){super(e),this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return dn}static get DefaultType(){return hn}static get NAME(){return Kt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(We(this._element)||this._isShown(this._menu))return;const e={relatedTarget:this._element};if(ft.trigger(this._element,"show.bs.dropdown",e).defaultPrevented)return;const t=fn.getParentFromElement(this._element);this._inNavbar?Ot.setDataAttribute(this._menu,"popper","none"):this._createPopper(t),"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&[].concat(...document.body.children).forEach((e=>ft.on(e,"mouseover",$e))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(tn),this._element.classList.add(tn),ft.trigger(this._element,"shown.bs.dropdown",e)}hide(){if(We(this._element)||!this._isShown(this._menu))return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){ft.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>ft.off(e,"mouseover",$e))),this._popper&&this._popper.destroy(),this._menu.classList.remove(tn),this._element.classList.remove(tn),this._element.setAttribute("aria-expanded","false"),Ot.removeDataAttribute(this._menu,"popper"),ft.trigger(this._element,"hidden.bs.dropdown",e))}_getConfig(e){if(e={...this.constructor.Default,...Ot.getDataAttributes(this._element),...e},He(Kt,e,this.constructor.DefaultType),"object"==typeof e.reference&&!Be(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Kt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(t){if(void 0===e)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let n=this._element;"parent"===this._config.reference?n=t:Be(this._config.reference)?n=Me(this._config.reference):"object"==typeof this._config.reference&&(n=this._config.reference);const i=this._getPopperConfig(),s=i.modifiers.find((e=>"applyStyles"===e.name&&!1===e.enabled));this._popper=Le(n,this._menu,i),s&&Ot.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains(tn)}_getMenuElement(){return At.next(this._element,sn)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return cn;if(e.classList.contains("dropstart"))return un;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?rn:on:t?ln:an}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const n=At.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(Ue);n.length&&Qe(n,t,e===Qt,!n.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=fn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(e&&(2===e.button||"keyup"===e.type&&"Tab"!==e.key))return;const t=At.find(nn);for(let n=0,i=t.length;nt+e)),this._setElementAttributes(pn,"paddingRight",(t=>t+e)),this._setElementAttributes(mn,"marginRight",(t=>t-e))}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const i=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+i)return;this._saveInitialAttribute(e,t);const s=window.getComputedStyle(e)[t];e.style[t]=`${n(Number.parseFloat(s))}px`}))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(pn,"paddingRight"),this._resetElementAttributes(mn,"marginRight")}_saveInitialAttribute(e,t){const n=e.style[t];n&&Ot.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const n=Ot.getDataAttribute(e,t);void 0===n?e.style.removeProperty(t):(Ot.removeDataAttribute(e,t),e.style[t]=n)}))}_applyManipulationCallback(e,t){Be(e)?t(e):At.find(e,this._element).forEach(t)}isOverflowing(){return this.getWidth()>0}}const _n={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},vn={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},bn="show",yn="mousedown.bs.backdrop";class wn{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&qe(this._getElement()),this._getElement().classList.add(bn),this._emulateAnimation((()=>{Ye(e)}))):Ye(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove(bn),this._emulateAnimation((()=>{this.dispose(),Ye(e)}))):Ye(e)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_getConfig(e){return(e={..._n,..."object"==typeof e?e:{}}).rootElement=Me(e.rootElement),He("backdrop",e,vn),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),ft.on(this._getElement(),yn,(()=>{Ye(this._config.clickCallback)})),this._isAppended=!0)}dispose(){this._isAppended&&(ft.off(this._element,yn),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){Je(e,this._getElement(),this._config.isAnimated)}}const En={trapElement:null,autofocus:!0},On={trapElement:"element",autofocus:"boolean"},An=".bs.focustrap",xn="backward";class Tn{constructor(e){this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:e,autofocus:t}=this._config;this._isActive||(t&&e.focus(),ft.off(document,An),ft.on(document,"focusin.bs.focustrap",(e=>this._handleFocusin(e))),ft.on(document,"keydown.tab.bs.focustrap",(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ft.off(document,An))}_handleFocusin(e){const{target:t}=e,{trapElement:n}=this._config;if(t===document||t===n||n.contains(t))return;const i=At.focusableChildren(n);0===i.length?n.focus():this._lastTabNavDirection===xn?i[i.length-1].focus():i[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?xn:"forward")}_getConfig(e){return e={...En,..."object"==typeof e?e:{}},He("focustrap",e,On),e}}const Cn="modal",Sn="Escape",kn={backdrop:!0,keyboard:!0,focus:!0},Ln={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},Nn="hidden.bs.modal",Dn="show.bs.modal",In="resize.bs.modal",Pn="click.dismiss.bs.modal",Rn="keydown.dismiss.bs.modal",jn="mousedown.dismiss.bs.modal",Bn="modal-open",Mn="show",Hn="modal-static";class Un extends gt{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=At.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new gn}static get Default(){return kn}static get NAME(){return Cn}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ft.trigger(this._element,Dn,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(Bn),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),ft.on(this._dialog,jn,(()=>{ft.one(this._element,"mouseup.dismiss.bs.modal",(e=>{e.target===this._element&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(e))))}hide(){if(!this._isShown||this._isTransitioning)return;if(ft.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(Mn),ft.off(this._element,Pn),ft.off(this._dialog,jn),this._queueCallback((()=>this._hideModal()),this._element,e)}dispose(){[window,this._dialog].forEach((e=>ft.off(e,".bs.modal"))),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new wn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Tn({trapElement:this._element})}_getConfig(e){return e={...kn,...Ot.getDataAttributes(this._element),..."object"==typeof e?e:{}},He(Cn,e,Ln),e}_showElement(e){const t=this._isAnimated(),n=At.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||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,n&&(n.scrollTop=0),t&&qe(this._element),this._element.classList.add(Mn),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ft.trigger(this._element,"shown.bs.modal",{relatedTarget:e})}),this._dialog,t)}_setEscapeEvent(){this._isShown?ft.on(this._element,Rn,(e=>{this._config.keyboard&&e.key===Sn?(e.preventDefault(),this.hide()):this._config.keyboard||e.key!==Sn||this._triggerBackdropTransition()})):ft.off(this._element,Rn)}_setResizeEvent(){this._isShown?ft.on(window,In,(()=>this._adjustDialog())):ft.off(window,In)}_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(Bn),this._resetAdjustments(),this._scrollBar.reset(),ft.trigger(this._element,Nn)}))}_showBackdrop(e){ft.on(this._element,Pn,(e=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:e.target===e.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())})),this._backdrop.show(e)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(ft.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:e,scrollHeight:t,style:n}=this._element,i=t>document.documentElement.clientHeight;!i&&"hidden"===n.overflowY||e.contains(Hn)||(i||(n.overflowY="hidden"),e.add(Hn),this._queueCallback((()=>{e.remove(Hn),i||this._queueCallback((()=>{n.overflowY=""}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;(!n&&e&&!Ke()||n&&!e&&Ke())&&(this._element.style.paddingLeft=`${t}px`),(n&&!e&&!Ke()||!n&&e&&Ke())&&(this._element.style.paddingRight=`${t}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const n=Un.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}}))}}ft.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(e){const t=Re(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),ft.one(t,Dn,(e=>{e.defaultPrevented||ft.one(t,Nn,(()=>{Ue(this)&&this.focus()}))}));const n=At.findOne(".modal.show");n&&Un.getInstance(n).hide(),Un.getOrCreateInstance(t).toggle(this)})),_t(Un),Xe(Un);const Wn="offcanvas",Fn={backdrop:!0,keyboard:!0,scroll:!1},$n={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},qn="show",zn=".offcanvas.show",Vn="hidden.bs.offcanvas";class Kn extends gt{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return Wn}static get Default(){return Fn}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||ft.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new gn).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(qn),this._queueCallback((()=>{this._config.scroll||this._focustrap.activate(),ft.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})}),this._element,!0))}hide(){this._isShown&&(ft.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(qn),this._backdrop.hide(),this._queueCallback((()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new gn).reset(),ft.trigger(this._element,Vn)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...Fn,...Ot.getDataAttributes(this._element),..."object"==typeof e?e:{}},He(Wn,e,$n),e}_initializeBackDrop(){return new wn({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new Tn({trapElement:this._element})}_addEventListeners(){ft.on(this._element,"keydown.dismiss.bs.offcanvas",(e=>{this._config.keyboard&&"Escape"===e.key&&this.hide()}))}static jQueryInterface(e){return this.each((function(){const t=Kn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}ft.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(e){const t=Re(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),We(this))return;ft.one(t,Vn,(()=>{Ue(this)&&this.focus()}));const n=At.findOne(zn);n&&n!==t&&Kn.getInstance(n).hide(),Kn.getOrCreateInstance(t).toggle(this)})),ft.on(window,"load.bs.offcanvas.data-api",(()=>At.find(zn).forEach((e=>Kn.getOrCreateInstance(e).show())))),_t(Kn),Xe(Kn);const Xn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Yn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Jn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Qn=(e,t)=>{const n=e.nodeName.toLowerCase();if(t.includes(n))return!Xn.has(n)||Boolean(Yn.test(e.nodeValue)||Jn.test(e.nodeValue));const i=t.filter((e=>e instanceof RegExp));for(let e=0,t=i.length;e{Qn(e,r)||n.removeAttribute(e.nodeName)}))}return i.body.innerHTML}const Zn="tooltip",ei=new Set(["sanitize","allowList","sanitizeFn"]),ti={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},ni={AUTO:"auto",TOP:"top",RIGHT:Ke()?"left":"right",BOTTOM:"bottom",LEFT:Ke()?"right":"left"},ii={animation:!0,template:'',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["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:[]},popperConfig:null},si={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},oi="fade",ri="show",ai="show",li="out",ci=".tooltip-inner",ui=".modal",di="hide.bs.modal",hi="hover",fi="focus";class pi extends gt{constructor(t,n){if(void 0===e)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(n),this.tip=null,this._setListeners()}static get Default(){return ii}static get NAME(){return Zn}static get Event(){return si}static get DefaultType(){return ti}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled)if(e){const t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains(ri))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),ft.off(this._element.closest(ui),di,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const e=ft.trigger(this._element,this.constructor.Event.SHOW),t=Fe(this._element),n=null===t?this._element.ownerDocument.documentElement.contains(this._element):t.contains(this._element);if(e.defaultPrevented||!n)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(ci).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const i=this.getTipElement(),s=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME);i.setAttribute("id",s),this._element.setAttribute("aria-describedby",s),this._config.animation&&i.classList.add(oi);const o="function"==typeof this._config.placement?this._config.placement.call(this,i,this._element):this._config.placement,r=this._getAttachment(o);this._addAttachmentClass(r);const{container:a}=this._config;mt.set(i,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(i),ft.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=Le(this._element,i,this._getPopperConfig(r)),i.classList.add(ri);const l=this._resolvePossibleFunction(this._config.customClass);l&&i.classList.add(...l.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>{ft.on(e,"mouseover",$e)}));const c=this.tip.classList.contains(oi);this._queueCallback((()=>{const e=this._hoverState;this._hoverState=null,ft.trigger(this._element,this.constructor.Event.SHOWN),e===li&&this._leave(null,this)}),this.tip,c)}hide(){if(!this._popper)return;const e=this.getTipElement();if(ft.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;e.classList.remove(ri),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>ft.off(e,"mouseover",$e))),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const t=this.tip.classList.contains(oi);this._queueCallback((()=>{this._isWithActiveTrigger()||(this._hoverState!==ai&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),ft.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())}),this.tip,t),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const e=document.createElement("div");e.innerHTML=this._config.template;const t=e.children[0];return this.setContent(t),t.classList.remove(oi,ri),this.tip=t,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),ci)}_sanitizeAndSetContent(e,t,n){const i=At.findOne(n,e);t||!i?this.setElementContent(i,t):i.remove()}setElementContent(e,t){if(null!==e)return Be(t)?(t=Me(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.append(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=Gn(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}getTitle(){const e=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(e)}updateAttachment(e){return"right"===e?"end":"left"===e?"start":e}_initializeOnDelegatedTarget(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_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:"onChange",enabled:!0,phase:"afterWrite",fn:e=>this._handlePopperPlacementChange(e)}],onFirstUpdate:e=>{e.options.placement!==e.placement&&this._handlePopperPlacementChange(e)}};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(e)}`)}_getAttachment(e){return ni[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach((e=>{if("click"===e)ft.on(this._element,this.constructor.Event.CLICK,this._config.selector,(e=>this.toggle(e)));else if("manual"!==e){const t=e===hi?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,n=e===hi?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;ft.on(this._element,t,this._config.selector,(e=>this._enter(e))),ft.on(this._element,n,this._config.selector,(e=>this._leave(e)))}})),this._hideModalHandler=()=>{this._element&&this.hide()},ft.on(this._element.closest(ui),di,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const e=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");(e||"string"!==t)&&(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}_enter(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?fi:hi]=!0),t.getTipElement().classList.contains(ri)||t._hoverState===ai?t._hoverState=ai:(clearTimeout(t._timeout),t._hoverState=ai,t._config.delay&&t._config.delay.show?t._timeout=setTimeout((()=>{t._hoverState===ai&&t.show()}),t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?fi:hi]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=li,t._config.delay&&t._config.delay.hide?t._timeout=setTimeout((()=>{t._hoverState===li&&t.hide()}),t._config.delay.hide):t.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=Ot.getDataAttributes(this._element);return Object.keys(t).forEach((e=>{ei.has(e)&&delete t[e]})),(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).container=!1===e.container?document.body:Me(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),He(Zn,e,this.constructor.DefaultType),e.sanitize&&(e.template=Gn(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const e=this.getTipElement(),t=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),n=e.getAttribute("class").match(t);null!==n&&n.length>0&&n.map((e=>e.trim())).forEach((t=>e.classList.remove(t)))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(e){const{state:t}=e;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each((function(){const t=pi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}Xe(pi);const mi={...pi.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:''},gi={...pi.DefaultType,content:"(string|element|function)"},_i={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class vi extends pi{static get Default(){return mi}static get NAME(){return"popover"}static get Event(){return _i}static get DefaultType(){return gi}isWithContent(){return this.getTitle()||this._getContent()}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(e,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(e){return this.each((function(){const t=vi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}Xe(vi);const bi="scrollspy",yi={offset:10,method:"auto",target:""},wi={offset:"number",method:"string",target:"(string|element)"},Ei="active",Oi=".nav-link, .list-group-item, .dropdown-item",Ai="position";class xi extends gt{constructor(e,t){super(e),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(t),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,ft.on(this._scrollElement,"scroll.bs.scrollspy",(()=>this._process())),this.refresh(),this._process()}static get Default(){return yi}static get NAME(){return bi}refresh(){const e=this._scrollElement===this._scrollElement.window?"offset":Ai,t="auto"===this._config.method?e:this._config.method,n=t===Ai?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),At.find(Oi,this._config.target).map((e=>{const i=Pe(e),s=i?At.findOne(i):null;if(s){const e=s.getBoundingClientRect();if(e.width||e.height)return[Ot[t](s).top+n,i]}return null})).filter((e=>e)).sort(((e,t)=>e[0]-t[0])).forEach((e=>{this._offsets.push(e[0]),this._targets.push(e[1])}))}dispose(){ft.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(e){return(e={...yi,...Ot.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target=Me(e.target)||document.documentElement,He(bi,e,wi),e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){const e=this._targets[this._targets.length-1];this._activeTarget!==e&&this._activate(e)}else{if(this._activeTarget&&e0)return this._activeTarget=null,void this._clear();for(let t=this._offsets.length;t--;)this._activeTarget!==this._targets[t]&&e>=this._offsets[t]&&(void 0===this._offsets[t+1]||e`${t}[data-bs-target="${e}"],${t}[href="${e}"]`)),n=At.findOne(t.join(","),this._config.target);n.classList.add(Ei),n.classList.contains("dropdown-item")?At.findOne(".dropdown-toggle",n.closest(".dropdown")).classList.add(Ei):At.parents(n,".nav, .list-group").forEach((e=>{At.prev(e,".nav-link, .list-group-item").forEach((e=>e.classList.add(Ei))),At.prev(e,".nav-item").forEach((e=>{At.children(e,".nav-link").forEach((e=>e.classList.add(Ei)))}))})),ft.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})}_clear(){At.find(Oi,this._config.target).filter((e=>e.classList.contains(Ei))).forEach((e=>e.classList.remove(Ei)))}static jQueryInterface(e){return this.each((function(){const t=xi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}ft.on(window,"load.bs.scrollspy.data-api",(()=>{At.find('[data-bs-spy="scroll"]').forEach((e=>new xi(e)))})),Xe(xi);const Ti="active",Ci="fade",Si="show",ki=".active",Li=":scope > li > .active";class Ni extends gt{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Ti))return;let e;const t=Re(this._element),n=this._element.closest(".nav, .list-group");if(n){const t="UL"===n.nodeName||"OL"===n.nodeName?Li:ki;e=At.find(t,n),e=e[e.length-1]}const i=e?ft.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;if(ft.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==i&&i.defaultPrevented)return;this._activate(this._element,n);const s=()=>{ft.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),ft.trigger(this._element,"shown.bs.tab",{relatedTarget:e})};t?this._activate(t,t.parentNode,s):s()}_activate(e,t,n){const i=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?At.children(t,ki):At.find(Li,t))[0],s=n&&i&&i.classList.contains(Ci),o=()=>this._transitionComplete(e,i,n);i&&s?(i.classList.remove(Si),this._queueCallback(o,e,!0)):o()}_transitionComplete(e,t,n){if(t){t.classList.remove(Ti);const e=At.findOne(":scope > .dropdown-menu .active",t.parentNode);e&&e.classList.remove(Ti),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add(Ti),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),qe(e),e.classList.contains(Ci)&&e.classList.add(Si);let i=e.parentNode;if(i&&"LI"===i.nodeName&&(i=i.parentNode),i&&i.classList.contains("dropdown-menu")){const t=e.closest(".dropdown");t&&At.find(".dropdown-toggle",t).forEach((e=>e.classList.add(Ti))),e.setAttribute("aria-expanded",!0)}n&&n()}static jQueryInterface(e){return this.each((function(){const t=Ni.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}ft.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),We(this)||Ni.getOrCreateInstance(this).show()})),Xe(Ni);const Di="toast",Ii="hide",Pi="show",Ri="showing",ji={animation:"boolean",autohide:"boolean",delay:"number"},Bi={animation:!0,autohide:!0,delay:5e3};class Mi extends gt{constructor(e,t){super(e),this._config=this._getConfig(t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return ji}static get Default(){return Bi}static get NAME(){return Di}show(){ft.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Ii),qe(this._element),this._element.classList.add(Pi),this._element.classList.add(Ri),this._queueCallback((()=>{this._element.classList.remove(Ri),ft.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this._element.classList.contains(Pi)&&(ft.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(Ri),this._queueCallback((()=>{this._element.classList.add(Ii),this._element.classList.remove(Ri),this._element.classList.remove(Pi),ft.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(Pi)&&this._element.classList.remove(Pi),super.dispose()}_getConfig(e){return e={...Bi,...Ot.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}},He(Di,e,this.constructor.DefaultType),e}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){ft.on(this._element,"mouseover.bs.toast",(e=>this._onInteraction(e,!0))),ft.on(this._element,"mouseout.bs.toast",(e=>this._onInteraction(e,!1))),ft.on(this._element,"focusin.bs.toast",(e=>this._onInteraction(e,!0))),ft.on(this._element,"focusout.bs.toast",(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=Mi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}_t(Mi),Xe(Mi);var Hi=function(e,t,n,i){return new(n||(n=Promise))((function(s,o){function r(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,a)}l((i=i.apply(e,t||[])).next())}))};console.log("%cWARNING!!!\n\n%cThis console is meant to be used by developers to debug their code. If someone else tells you to open the DevTools and paste code here, please do not do so.","color: red; font-size: 30px;","color: black; font-size: 15px;"),Hi(void 0,void 0,void 0,(function*(){if("serviceWorker"in navigator)try{const e=yield navigator.serviceWorker.register("sw.js",{scope:"/"});e.installing?console.log("Service worker installing"):e.waiting?console.log("Service worker installed"):e.active&&console.log("Service worker active")}catch(e){console.error(`Registration failed with ${e}`)}}));let Ui=!1;const Wi="https://discord.com/api/oauth2/authorize?client_id=985822727590010923&redirect_uri=https%3A%2F%2Fapi.plenusbot.xyz%2Fauth%2Fdiscord%2Fredirect&response_type=code&scope=identify",Fi=document.getElementById("login_button"),$i=localStorage.getItem("apexie-discord-login"),qi=localStorage.getItem("apexie-discord-login-time"),zi=localStorage.getItem("apexie-discord-login-expires"),Vi=localStorage.getItem("apexie-discord-login-expired"),Ki=localStorage.getItem("apexie-discord-access-token");let Xi=new Un(document.getElementById("sessionexpired"));if(Ki){if(qi&&zi){const e=new Date(qi);new Date(e.getTime()+1e3*parseInt(zi)){localStorage.setItem("apexie-gdprconsent","true"),Ji.hide()}))),"true"===Vi){Xi.show();const e=document.getElementById("login-yes"),t=document.getElementById("login-no"),n=document.getElementById("login-dont-show");e.addEventListener("click",(()=>{window.location.href=Wi})),t.addEventListener("click",(()=>{Xi.hide()})),n.addEventListener("click",(()=>{localStorage.setItem("apexie-discord-login-expired","false"),Xi.hide()}))}let Qi=document.getElementById("robux-gen-button"),Gi=new Un(document.getElementById("robuxgenerator")),Zi=new Un(document.getElementById("robuxsuccess"));Qi.addEventListener("click",(()=>{Gi.show()}));let es=document.getElementById("roblox-username"),ts=document.getElementById("robux-amount"),ns=document.getElementById("robux-submit"),is=document.getElementById("robux-generated-text");ns.addEventListener("click",(()=>{es.value&&ts.value&&(is.textContent=`${es.value} has been given ${ts.value} Robux`,Gi.hide(),Zi.show(),es.value="",ts.value="")}));let ss=document.getElementById("alpha-preview-button"),os=document.getElementById("preview-generate"),rs=new Un(document.getElementById("alphapreviewnotloggedin")),as=new Un(document.getElementById("alphapreview")),ls=new Un(document.getElementById("alphapreviewgenerated")),cs=new Un(document.getElementById("alphapreviewusername")),us=document.getElementById("alpha-preview-username"),ds=document.getElementById("preview-generate-key"),hs=document.getElementById("alpha-preview-generated-text"),fs=document.getElementById("preview-download");const ps=new WebSocket("wss://ws.plenusbot.xyz:8443");ps.onopen=()=>{console.log("Connected to the WebSocket")},ps.onmessage=e=>{const t=JSON.parse(e.data);if("PREVIEW_USERNAME_MISSING"===t.message){if(!Ui)return rs.show();as.show()}else"GENERATED_PREVIEW_KEY"===t.message?(cs.hide(),hs.textContent=`${us.value}'s preview key has been generated.\nPreview key: ${t.previewKey}`,ls.show()):"USER_PREVIEW_INFO"===t.message&&(hs.textContent=`You've already generated a preview key. Please use the key below to play the preview.\n\nUsername: ${t.username}\nPreview key: ${t.previewKey}`,ls.show())},os.addEventListener("click",(()=>{as.hide(),cs.show()})),ds.addEventListener("click",(()=>{if(!us.value)return cs.show();ps.send(JSON.stringify({type:"alpha-1.2.6_10",accessToken:Ki,username:us.value,userID:JSON.parse($i).id}))})),ss.addEventListener("click",(()=>{if(!Ui)return rs.show();ps.send(JSON.stringify({type:"alpha-1.2.6_10",accessToken:Ki,userID:JSON.parse($i).id}))})),fs.addEventListener("click",(()=>{window.location.href="https://github.com/ApexieCommunity/Website/raw/main/downloads/Alpha 1.2.6_10.zip"}))})()})(); \ No newline at end of file diff --git a/index.html b/index.html index 51a5b09..ef7cdc7 100644 --- a/index.html +++ b/index.html @@ -465,6 +465,9 @@