marketplacepos 2.1.7 → 2.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Marketplace/22.3ed8be5eefce7800.js +1 -0
- package/Marketplace/279.99f72f2db907a0bb.js +1 -0
- package/Marketplace/365.f9ccbbdc3ddf6406.js +1 -0
- package/Marketplace/3rdpartylicenses.txt +1 -1
- package/Marketplace/assets/bootstrap_light.scss +1 -1
- package/Marketplace/assets/variables-custom.scss +191 -0
- package/Marketplace/assets/version-adjustment-v5.scss +278 -0
- package/Marketplace/index.html +2 -2
- package/Marketplace/main.7096164b30c14167.js +1 -0
- package/Marketplace/polyfills.04dd6d83022797c4.js +1 -0
- package/Marketplace/runtime.014fe9715bc16791.js +1 -0
- package/Marketplace/scripts.512baec01df5d79f.js +1 -0
- package/Marketplace/styles.2acb2f61cf99c19d.css +39 -0
- package/package.json +1 -1
- package/Marketplace/143.60841860c7f5e036.js +0 -1
- package/Marketplace/22.cc9b231b5b7424fa.js +0 -1
- package/Marketplace/365.1282604dd7869f3c.js +0 -1
- package/Marketplace/main.c1d8f1dac6829362.js +0 -1
- package/Marketplace/polyfills.2329f3f8d324fc9f.js +0 -1
- package/Marketplace/runtime.4f3c11c5b6fe4dbc.js +0 -1
- package/Marketplace/scripts.f38feaf3ca659cd2.js +0 -1
- package/Marketplace/styles.9fc4133a42f1c4ea.css +0 -20
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[429],{7435:(ie,Ee,de)=>{de(8583)},8583:()=>{!function(e){const n=e.performance;function i(M){n&&n.mark&&n.mark(M)}function o(M,E){n&&n.measure&&n.measure(M,E)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(M){return c+M}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class M{constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"<root>",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=M.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,M,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===w))return;const C=t.state!=p;C&&t._transitionTo(p,j),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==w&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(j,p):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,p,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(j,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new m(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new m(w,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new m(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");t._transitionTo(G,j,p);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;C<k.length;C++)k[C]._updateTaskCount(t.type,r)}}return M.__symbol__=a,M})();const P={name:"",onHasTask:(M,E,t,r)=>M.hasTask(t,r),onScheduleTask:(M,E,t,r)=>M.scheduleTask(t,r),onInvokeTask:(M,E,t,r,k,C)=>M.invokeTask(t,r,k,C),onCancelTask:(M,E,t,r)=>M.cancelTask(t,r)};class v{constructor(E,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=E,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:P,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=E,r.onScheduleTask||(this._scheduleTaskZS=P,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=P,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=P,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(E,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,E,t):new d(E,t)}intercept(E,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,E,t,r):t}invoke(E,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,E,t,r,k,C):t.apply(r,k)}handleError(E,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,E,t)}scheduleTask(E,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,E,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(E,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,E,t,r,k):t.callback.apply(r,k)}cancelTask(E,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,E,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(E,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,E,t)}catch(r){this.handleError(E,r)}}_updateTaskCount(E,t){const r=this._taskCounts,k=r[E],C=r[E]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:E})}}class m{constructor(E,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=E,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=E===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(E,t,r){E||(E=this),ee++;try{return E.runCount++,E.zone.runTask(E,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(E,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${E}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=E,E==x&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const L=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(M){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let E=J[N];E||(E=J.then),E.call(J,M)}else e[L](M,0)}function R(M){0===ee&&0===B.length&&q(_),M&&B.push(M)}function _(){if(!H){for(H=!0;B.length;){const M=B;B=[];for(let E=0;E<M.length;E++){const t=M[E];try{t.zone.runTask(t,null,null)}catch(r){z.onUnhandledError(r)}}}z.microtaskDrainDone(),H=!1}}const K={name:"NO ZONE"},x="notScheduled",X="scheduling",j="scheduled",p="running",G="canceling",h="unknown",I="microTask",w="macroTask",Q="eventTask",oe={},z={symbol:a,currentZoneFrame:()=>U,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Oe="addEventListener",Se="removeEventListener",Ze=Zone.__symbol__(Oe),Ne=Zone.__symbol__(Se),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const A=Zone.__symbol__,Pe="undefined"!=typeof window,Te=Pe?window:void 0,Y=Pe&&Te||"object"==typeof self&&self||global;function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const Be="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&void 0!==Y.process&&"[object process]"==={}.toString.call(Y.process),je=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=void 0!==Y.process&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=A("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;if(je&&i===Te&&"error"===e.type){const a=e;c=o&&o.call(this,a.message,a.filename,a.lineno,a.colno,a.error),!0===c&&e.preventDefault()}else c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault();return c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let P=Re[d];P||(P=Re[d]=A("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&e===Y&&(m=Y),m&&("function"==typeof m[P]&&m.removeEventListener(d,We),y&&y.call(m,null),m[P]=v,"function"==typeof v&&m.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const m=v[P];if(m)return m;if(a){let L=a.call(this);if(L)return o.set.call(this,L),"function"==typeof v.removeAttribute&&v.removeAttribute(n),L}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;o<n.length;o++)qe(e,"on"+n[o],i);else{const o=[];for(const c in e)"on"==c.slice(0,2)&&o.push(c);for(let c=0;c<o.length;c++)qe(e,o[c],i)}}const ne=A("originalInstance");function ve(e){const n=Y[e];if(!n)return;Y[A(e)]=n,Y[e]=function(){const c=Le(arguments,e);switch(c.length){case 0:this[ne]=new n;break;case 1:this[ne]=new n(c[0]);break;case 2:this[ne]=new n(c[0],c[1]);break;case 3:this[ne]=new n(c[0],c[1],c[2]);break;case 4:this[ne]=new n(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},ue(Y[e],n);const i=new n(function(){});let o;for(o in i)"XMLHttpRequest"===e&&"responseBlob"===o||function(c){"function"==typeof i[c]?Y[e].prototype[c]=function(){return this[ne][c].apply(this[ne],arguments)}:Ee(Y[e].prototype,c,{set:function(a){"function"==typeof a?(this[ne][c]=Ie(a,e+"."+c),ue(this[ne][c],a)):this[ne][c]=a},get:function(){return this[ne][c]}})}(o);for(o in n)"prototype"!==o&&n.hasOwnProperty(o)&&(Y[e][o]=n[o])}function le(e,n,i){let o=e;for(;o&&!o.hasOwnProperty(n);)o=de(o);!o&&e[n]&&(o=e);const c=A(n);let a=null;if(o&&(!(a=o[c])||!o.hasOwnProperty(c))&&(a=o[c]=o[n],Fe(o&&ie(o,n)))){const d=i(a,c,n);o[n]=function(){return d(this,arguments)},ue(o[n],a)}return a}function lt(e,n,i){let o=null;function c(a){const y=a.data;return y.args[y.cbIdx]=function(){a.invoke.apply(this,arguments)},o.apply(y.target,y.args),a}o=le(e,n,a=>function(y,d){const P=i(y,d);return P.cbIdx>=0&&"function"==typeof d[P.cbIdx]?Me(P.name,d[P.cbIdx],P,c):a.apply(y,d)})}function ue(e,n){e[A("OriginalDelegate")]=n}let ze=!1,Ae=!1;function ft(){if(ze)return Ae;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ae=!0)}catch(e){}return Ae}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],P=!0===e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch(u){}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),j=null,p=!0,G=!1;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const w=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},oe=y("currentTaskTrace");function z(l,u,s){const f=w();if(l===s)throw new TypeError("Promise resolved with itself");if(l[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(b){return f(()=>{z(l,!1,b)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(b){f(()=>{z(l,!1,b)})()}else{l[q]=u;const b=l[R];if(l[R]=s,l[_]===_&&u===p&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const T=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;T&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:T})}for(let T=0;T<b.length;)ee(l,b[T++],b[T++],b[T++],b[T++]);if(0==b.length&&u==G){l[q]=0;let T=s;try{throw new Error("Uncaught (in promise): "+function a(l){return l&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(D){T=D}P&&(T.throwOriginal=!0),T.rejection=s,T.promise=l,T.zone=n.current,T.task=n.currentTask,d.push(T),i.scheduleMicroTask()}}}return l}const U=y("rejectionHandledHandler");function re(l){if(0===l[q]){try{const u=n[U];u&&"function"==typeof u&&u.call(this,{rejection:l[R],promise:l})}catch(u){}l[q]=G;for(let u=0;u<d.length;u++)l===d[u].promise&&d.splice(u,1)}}function ee(l,u,s,f,g){re(l);const b=l[q],T=b?"function"==typeof f?f:H:"function"==typeof g?g:J;u.scheduleMicroTask("Promise.then",()=>{try{const D=l[R],O=!!s&&_===s[_];O&&(s[K]=D,s[x]=b);const S=u.run(T,void 0,O&&T!==J&&T!==H?[]:[D]);z(s,!0,S)}catch(D){z(s,!1,D)}},s)}const M=function(){},E=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),p,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new E([],"All promises were rejected"));const s=[];let f=0;try{for(let T of u)f++,s.push(t.resolve(T))}catch(T){return Promise.reject(new E([],"All promises were rejected"))}if(0===f)return Promise.reject(new E([],"All promises were rejected"));let g=!1;const b=[];return new t((T,D)=>{for(let O=0;O<s.length;O++)s[O].then(S=>{g||(g=!0,T(S))},S=>{b.push(S),f--,0===f&&(g=!0,D(new E(b,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,O)=>{s=D,f=O});function b(D){s(D)}function T(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(b,T);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,b=new this((S,V)=>{f=S,g=V}),T=2,D=0;const O=[];for(let S of u){B(S)||(S=this.resolve(S));const V=D;try{S.then(F=>{O[V]=s?s.thenCallback(F):F,T--,0===T&&f(O)},F=>{s?(O[V]=s.errorCallback(F),T--,0===T&&f(O)):g(F)})}catch(F){g(F)}T++,D++}return T-=2,0===T&&f(O),b}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=w();u&&u(f(I(s,p)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){var f;let g=null===(f=this.constructor)||void 0===f?void 0:f[Symbol.species];(!g||"function"!=typeof g)&&(g=this.constructor||t);const b=new g(M),T=n.current;return this[q]==j?this[R].push(T,b,u,s):ee(this,T,b,u,s),b}catch(u){return this.then(null,u)}finally(u){var s;let f=null===(s=this.constructor)||void 0===s?void 0:s[Symbol.species];(!f||"function"!=typeof f)&&(f=t);const g=new f(M);g[_]=_;const b=n.current;return this[q]==j?this[R].push(b,g,u,u):ee(this,b,g,u,u),g}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[m]=f,l.prototype.then=function(g,b){return new t((D,O)=>{f.call(this,D,O)}).then(g,b)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=e[o];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=A("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Oe,a=o&&o.rm||Se,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",P=A(c),v="."+c+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=p=>x.handleEvent(p),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(p){X=p}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const j=[];if(1===X.length){const p=Z(X[0],x,_);p&&j.push(p)}else{const p=X.slice();for(let G=0;G<p.length&&(!_||!0!==_[Ke]);G++){const h=Z(p[G],x,_);h&&j.push(h)}}if(1===j.length)throw j[0];for(let p=0;p<j.length;p++){const G=j[p];n.nativeScheduleMicroTask(()=>{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let p=R;for(;p&&!p.hasOwnProperty(c);)p=de(p);if(!p&&R[c]&&(p=R),!p||p[P])return!1;const G=_&&_.eventNameToString,h={},I=p[P]=p[c],w=p[A(a)]=p[a],Q=p[A(y)]=p[y],oe=p[A(d)]=p[d];let z;function U(s,f){return!ye&&"object"==typeof s&&s?!!s.capture:ye&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}_&&_.prepend&&(z=p[A(_.prepend)]=p[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const b=g&&s.target[g];if(b)for(let T=0;T<b.length;T++)if(b[T]===s){b.splice(T,1),s.isRemoved=!0,0===b.length&&(s.allRemoved=!0,s.target[g]=null);break}}if(s.allRemoved)return w.call(s.target,s.eventName,s.capture?H:B,s.options)}:function(s){return w.call(s.target,s.eventName,s.invoke,s.options)},C=_&&_.diff?_.diff:function(s,f){const g=typeof f;return"function"===g&&s.callback===f||"object"===g&&s.originalDelegate===f},$=Zone[A("UNPATCHED_EVENTS")],l=e[A("PASSIVE_EVENTS")],u=function(s,f,g,b,T=!1,D=!1){return function(){const O=this||e;let S=arguments[0];_&&_.transferEventName&&(S=_.transferEventName(S));let V=arguments[1];if(!V)return s.apply(this,arguments);if(we&&"uncaughtException"===S)return s.apply(this,arguments);let F=!1;if("function"!=typeof V){if(!V.handleEvent)return s.apply(this,arguments);F=!0}if(x&&!x(s,V,O,arguments))return;const fe=ye&&!!l&&-1!==l.indexOf(S),se=U(arguments[2],fe);if($)for(let _e=0;_e<$.length;_e++)if(S===$[_e])return fe?s.call(O,S,V,se):s.apply(this,arguments);const xe=!!se&&("boolean"==typeof se||se.capture),nt=!(!se||"object"!=typeof se)&&se.once,gt=Zone.current;let Ge=te[S];Ge||(Je(S,G),Ge=te[S]);const rt=Ge[xe?ce:ae];let De,me=O[rt],ot=!1;if(me){if(ot=!0,X)for(let _e=0;_e<me.length;_e++)if(C(me[_e],V))return}else me=O[rt]=[];const st=O.constructor.name,it=Ye[st];it&&(De=it[S]),De||(De=st+f+(G?G(S):S)),h.options=se,nt&&(h.options.once=!1),h.target=O,h.capture=xe,h.eventName=S,h.isExisting=ot;const be=K?ht:void 0;be&&(be.taskData=h);const he=gt.scheduleEventTask(De,V,be,g,b);return h.target=null,be&&(be.taskData=null),nt&&(se.once=!0),!ye&&"boolean"==typeof he.options||(he.options=se),he.target=O,he.capture=xe,he.eventName=S,F&&(he.originalDelegate=V),D?me.unshift(he):me.push(he),T?O:void 0}};return p[c]=u(I,v,t,r,j),z&&(p.prependListener=u(z,".prependListener:",function(s){return z.call(h.target,h.eventName,s.invoke,h.options)},r,j,!0)),p[a]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=arguments[2],b=!!g&&("boolean"==typeof g||g.capture),T=arguments[1];if(!T)return w.apply(this,arguments);if(x&&!x(w,T,s,arguments))return;const D=te[f];let O;D&&(O=D[b?ce:ae]);const S=O&&s[O];if(S)for(let V=0;V<S.length;V++){const F=S[V];if(C(F,T))return S.splice(V,1),F.isRemoved=!0,0===S.length&&(F.allRemoved=!0,s[O]=null,"string"==typeof f)&&(s[ke+"ON_PROPERTY"+f]=null),F.zone.cancelTask(F),j?s:void 0}return w.apply(this,arguments)},p[y]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=[],b=Qe(s,G?G(f):f);for(let T=0;T<b.length;T++){const D=b[T];g.push(D.originalDelegate?D.originalDelegate:D.callback)}return g},p[d]=function(){const s=this||e;let f=arguments[0];if(f){_&&_.transferEventName&&(f=_.transferEventName(f));const g=te[f];if(g){const D=s[g[ae]],O=s[g[ce]];if(D){const S=D.slice();for(let V=0;V<S.length;V++){const F=S[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}if(O){const S=O.slice();for(let V=0;V<S.length;V++){const F=S[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}}}else{const g=Object.keys(s);for(let b=0;b<g.length;b++){const D=$e.exec(g[b]);let O=D&&D[1];O&&"removeListener"!==O&&this[d].call(this,O)}this[d].call(this,"removeListener")}if(j)return this},ue(p[c],I),ue(p[a],w),oe&&ue(p[d],oe),Q&&ue(p[y],Q),!0}let q=[];for(let R=0;R<i.length;R++)q[R]=J(i[R],o);return q}function Qe(e,n){if(!n){const a=[];for(let y in e){const d=$e.exec(y);let P=d&&d[1];if(P&&(!n||P===n)){const v=e[y];if(v)for(let m=0;m<v.length;m++)a.push(v[m])}}return a}let i=te[n];i||(Je(n),i=te[n]);const o=e[i[ae]],c=e[i[ce]];return o?c?o.concat(c):o.slice():c?c.slice():[]}function _t(e,n){const i=e.Event;i&&i.prototype&&n.patchMethod(i.prototype,"stopImmediatePropagation",o=>function(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,P,v){return P&&P.prototype&&c.forEach(function(m){const L=`${i}.${o}::`+m,Z=P.prototype;try{if(Z.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,L),e._redefineProperty(P.prototype,m,N)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}catch(N){}}),y.call(n,d,P,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:je,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Oe,REMOVE_EVENT_LISTENER_STR:Se})});const Ce=A("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),v}function P(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(m,L){if("function"==typeof L[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},N=L[0];L[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,L[0],Z,d,P);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,L)}),a=le(e,i,v=>function(m,L){const Z=L[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,L)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;o<i.length;o++)le(e,i[o],(a,y,d)=>function(P,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function mt(e,n){n.patchEventPrototype(e,n)})(e,i),function pt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let P=0;P<i.length;P++){const v=i[P],Z=y+(v+a),N=y+(v+c);o[v]={},o[v][a]=Z,o[v][c]=N}const d=e.EventTarget;d&&d.prototype&&n.patchEventTarget(e,n,[d&&d.prototype])}(e,i);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&i.patchEventTarget(e,i,[o.prototype])}),Zone.__load_patch("MutationObserver",(e,n,i)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(je){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c<o.length;c++){const a=n[o[c]];a&&a.prototype&&tt(a.prototype,He(a.prototype),i)}}(i,e)}),Zone.__load_patch("customElements",(e,n,i)=>{!function yt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function P(v){const m=v.XMLHttpRequest;if(!m)return;const L=m.prototype;let N=L[Ze],B=L[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,w=I.target;w[a]=!1,w[d]=!1;const Q=w[c];N||(N=w[Ze],B=w[Ne]),Q&&B.call(w,H,Q);const oe=w[c]=()=>{if(w.readyState===w.DONE)if(!I.aborted&&w[a]&&h.state===J){const U=w[n.__symbol__("loadfalse")];if(0!==w.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=w[n.__symbol__("loadfalse")];for(let W=0;W<ee.length;W++)ee[W]===h&&ee.splice(W,1);!I.aborted&&h.state===J&&re.call(h)},U.push(h)}else h.invoke()}else!I.aborted&&!1===w[a]&&(w[d]=!0)};return N.call(w,H,oe),w[i]||(w[i]=h),p.apply(w,I.args),w[a]=!0,h}function R(){}function _(h){const I=h.data;return I.aborted=!0,G.apply(I.target,I.args)}const K=le(L,"open",()=>function(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),p=le(L,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return p.apply(h,I);{const w={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,w,q,_);h&&!0===h[d]&&!w.aborted&&Q.state===J&&Q.invoke()}}),G=le(L,"abort",()=>function(h,I){const w=function Z(h){return h[i]}(h);if(w&&"string"==typeof w.type){if(null==w.cancelFn||w.data&&w.data.aborted)return;w.zone.cancelTask(w)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o<n.length;o++){const c=n[o],a=e[c];if(a){if(!Fe(ie(e,c)))continue;e[c]=(d=>{const P=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(P,d),P})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const P=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(P)}})}}e.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))})}},ie=>{ie(ie.s=7435)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{"use strict";var e,v={},_={};function r(e){var n=_[e];if(void 0!==n)return n.exports;var t=_[e]={id:e,loaded:!1,exports:{}};return v[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=v,e=[],r.O=(n,t,o,i)=>{if(!t){var a=1/0;for(f=0;f<e.length;f++){for(var[t,o,i]=e[f],d=!0,l=0;l<t.length;l++)(!1&i||a>=i)&&Object.keys(r.O).every(b=>r.O[b](t[l]))?t.splice(l--,1):(d=!1,i<a&&(a=i));if(d){e.splice(f--,1);var c=o();void 0!==c&&(n=c)}}return n}i=i||0;for(var f=e.length;f>0&&e[f-1][2]>i;f--)e[f]=e[f-1];e[f]=[t,o,i]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},(()=>{var n,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,o){if(1&o&&(t=this(t)),8&o||"object"==typeof t&&t&&(4&o&&t.__esModule||16&o&&"function"==typeof t.then))return t;var i=Object.create(null);r.r(i);var f={};n=n||[null,e({}),e([]),e(e)];for(var a=2&o&&t;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(d=>f[d]=()=>t[d]);return f.default=()=>t,r.d(i,f),i}})(),r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{22:"3ed8be5eefce7800",279:"99f72f2db907a0bb",365:"f9ccbbdc3ddf6406"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="pos-marketplace:";r.l=(t,o,i,f)=>{if(e[t])e[t].push(o);else{var a,d;if(void 0!==i)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var s=l[c];if(s.getAttribute("src")==t||s.getAttribute("data-webpack")==n+i){a=s;break}}a||(d=!0,(a=document.createElement("script")).type="module",a.charset="utf-8",a.timeout=120,r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",n+i),a.src=r.tu(t)),e[t]=[o];var p=(g,b)=>{a.onerror=a.onload=null,clearTimeout(u);var h=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),h&&h.forEach(m=>m(b)),g)return g(b)},u=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),d&&document.head.appendChild(a)}}})(),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="https://cdn.jsdelivr.net/npm/marketplacepos@2.1.8/Marketplace/",(()=>{var e={666:0};r.f.j=(o,i)=>{var f=r.o(e,o)?e[o]:void 0;if(0!==f)if(f)i.push(f[2]);else if(666!=o){var a=new Promise((s,p)=>f=e[o]=[s,p]);i.push(f[2]=a);var d=r.p+r.u(o),l=new Error;r.l(d,s=>{if(r.o(e,o)&&(0!==(f=e[o])&&(e[o]=void 0),f)){var p=s&&("load"===s.type?"missing":s.type),u=s&&s.target&&s.target.src;l.message="Loading chunk "+o+" failed.\n("+p+": "+u+")",l.name="ChunkLoadError",l.type=p,l.request=u,f[1](l)}},"chunk-"+o,o)}else e[o]=0},r.O.j=o=>0===e[o];var n=(o,i)=>{var l,c,[f,a,d]=i,s=0;if(f.some(u=>0!==e[u])){for(l in a)r.o(a,l)&&(r.m[l]=a[l]);if(d)var p=d(r)}for(o&&o(i);s<f.length;s++)r.o(e,c=f[s])&&e[c]&&e[c][0](),e[c]=0;return r.O(p)},t=self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})()})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var qo=Object.defineProperty,Vo=Object.defineProperties,Uo=Object.getOwnPropertyDescriptors,Jn=Object.getOwnPropertySymbols,Yo=Object.prototype.hasOwnProperty,Ko=Object.prototype.propertyIsEnumerable,Zn=(U,q,Z)=>q in U?qo(U,q,{enumerable:!0,configurable:!0,writable:!0,value:Z}):U[q]=Z,I=(U,q)=>{for(var Z in q||(q={}))Yo.call(q,Z)&&Zn(U,Z,q[Z]);if(Jn)for(var Z of Jn(q))Ko.call(q,Z)&&Zn(U,Z,q[Z]);return U},mi=(U,q)=>Vo(U,Uo(q));!function(U,q){"object"==typeof exports&&"undefined"!=typeof module?module.exports=q():"function"==typeof define&&define.amd?define(q):U.Popper=q()}(this,function(){"use strict";var U="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,q=function(){for(var n=["Edge","Trident","Firefox"],s=0;s<n.length;s+=1)if(U&&navigator.userAgent.indexOf(n[s])>=0)return 1;return 0}(),Le=U&&window.Promise?function Z(n){var s=!1;return function(){s||(s=!0,window.Promise.resolve().then(function(){s=!1,n()}))}}:function Ce(n){var s=!1;return function(){s||(s=!0,setTimeout(function(){s=!1,n()},q))}};function ye(n){return n&&"[object Function]"==={}.toString.call(n)}function G(n,s){if(1!==n.nodeType)return[];var c=n.ownerDocument.defaultView.getComputedStyle(n,null);return s?c[s]:c}function Se(n){return"HTML"===n.nodeName?n:n.parentNode||n.host}function pe(n){if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}var s=G(n);return/(auto|scroll|overlay)/.test(s.overflow+s.overflowY+s.overflowX)?n:pe(Se(n))}function yt(n){return n&&n.referenceNode?n.referenceNode:n}var Je=U&&!(!window.MSInputMethodContext||!document.documentMode),ke=U&&/MSIE 10/.test(navigator.userAgent);function De(n){return 11===n?Je:10===n?ke:Je||ke}function xe(n){if(!n)return document.documentElement;for(var s=De(10)?document.body:null,l=n.offsetParent||null;l===s&&n.nextElementSibling;)l=(n=n.nextElementSibling).offsetParent;var c=l&&l.nodeName;return c&&"BODY"!==c&&"HTML"!==c?-1!==["TH","TD","TABLE"].indexOf(l.nodeName)&&"static"===G(l,"position")?xe(l):l:n?n.ownerDocument.documentElement:document.documentElement}function te(n){return null!==n.parentNode?te(n.parentNode):n}function ge(n,s){if(!(n&&n.nodeType&&s&&s.nodeType))return document.documentElement;var l=n.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_FOLLOWING,c=l?n:s,u=l?s:n,h=document.createRange();h.setStart(c,0),h.setEnd(u,0);var m=h.commonAncestorContainer;if(n!==m&&s!==m||c.contains(u))return function ee(n){var s=n.nodeName;return"BODY"!==s&&("HTML"===s||xe(n.firstElementChild)===n)}(m)?m:xe(m);var g=te(n);return g.host?ge(g.host,s):ge(n,te(s).host)}function Ne(n){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",l="top"===s?"scrollTop":"scrollLeft",c=n.nodeName;if("BODY"===c||"HTML"===c){var u=n.ownerDocument.documentElement,h=n.ownerDocument.scrollingElement||u;return h[l]}return n[l]}function zt(n,s){var l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=Ne(s,"top"),u=Ne(s,"left"),h=l?-1:1;return n.top+=c*h,n.bottom+=c*h,n.left+=u*h,n.right+=u*h,n}function qt(n,s){var l="x"===s?"Left":"Top",c="Left"===l?"Right":"Bottom";return parseFloat(n["border"+l+"Width"])+parseFloat(n["border"+c+"Width"])}function Vt(n,s,l,c){return Math.max(s["offset"+n],s["scroll"+n],l["client"+n],l["offset"+n],l["scroll"+n],De(10)?parseInt(l["offset"+n])+parseInt(c["margin"+("Height"===n?"Top":"Left")])+parseInt(c["margin"+("Height"===n?"Bottom":"Right")]):0)}function Ut(n){var s=n.body,l=n.documentElement,c=De(10)&&getComputedStyle(l);return{height:Vt("Height",s,l,c),width:Vt("Width",s,l,c)}}var wt=function(n,s){if(!(n instanceof s))throw new TypeError("Cannot call a class as a function")},Yt=function(){function n(s,l){for(var c=0;c<l.length;c++){var u=l[c];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(s,u.key,u)}}return function(s,l,c){return l&&n(s.prototype,l),c&&n(s,c),s}}(),ze=function(n,s,l){return s in n?Object.defineProperty(n,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[s]=l,n},ue=Object.assign||function(n){for(var s=1;s<arguments.length;s++){var l=arguments[s];for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&(n[c]=l[c])}return n};function we(n){return ue({},n,{right:n.left+n.width,bottom:n.top+n.height})}function at(n){var s={};try{if(De(10)){s=n.getBoundingClientRect();var l=Ne(n,"top"),c=Ne(n,"left");s.top+=l,s.left+=c,s.bottom+=l,s.right+=c}else s=n.getBoundingClientRect()}catch(E){}var u={left:s.left,top:s.top,width:s.right-s.left,height:s.bottom-s.top},h="HTML"===n.nodeName?Ut(n.ownerDocument):{},b=n.offsetWidth-(h.width||n.clientWidth||u.width),O=n.offsetHeight-(h.height||n.clientHeight||u.height);if(b||O){var T=G(n);b-=qt(T,"x"),O-=qt(T,"y"),u.width-=b,u.height-=O}return we(u)}function lt(n,s){var l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=De(10),u="HTML"===s.nodeName,h=at(n),m=at(s),g=pe(n),b=G(s),O=parseFloat(b.borderTopWidth),T=parseFloat(b.borderLeftWidth);l&&u&&(m.top=Math.max(m.top,0),m.left=Math.max(m.left,0));var E=we({top:h.top-m.top-O,left:h.left-m.left-T,width:h.width,height:h.height});if(E.marginTop=0,E.marginLeft=0,!c&&u){var N=parseFloat(b.marginTop),A=parseFloat(b.marginLeft);E.top-=O-N,E.bottom-=O-N,E.left-=T-A,E.right-=T-A,E.marginTop=N,E.marginLeft=A}return(c&&!l?s.contains(g):s===g&&"BODY"!==g.nodeName)&&(E=zt(E,s)),E}function Kt(n){var s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=n.ownerDocument.documentElement,c=lt(n,l),u=Math.max(l.clientWidth,window.innerWidth||0),h=Math.max(l.clientHeight,window.innerHeight||0),m=s?0:Ne(l),g=s?0:Ne(l,"left"),b={top:m-c.top+c.marginTop,left:g-c.left+c.marginLeft,width:u,height:h};return we(b)}function Et(n){var s=n.nodeName;if("BODY"===s||"HTML"===s)return!1;if("fixed"===G(n,"position"))return!0;var l=Se(n);return!!l&&Et(l)}function Ot(n){if(!n||!n.parentElement||De())return document.documentElement;for(var s=n.parentElement;s&&"none"===G(s,"transform");)s=s.parentElement;return s||document.documentElement}function Ze(n,s,l,c){var u=arguments.length>4&&void 0!==arguments[4]&&arguments[4],h={top:0,left:0},m=u?Ot(n):ge(n,yt(s));if("viewport"===c)h=Kt(m,u);else{var g=void 0;"scrollParent"===c?"BODY"===(g=pe(Se(s))).nodeName&&(g=n.ownerDocument.documentElement):g="window"===c?n.ownerDocument.documentElement:c;var b=lt(g,m,u);if("HTML"!==g.nodeName||Et(m))h=b;else{var O=Ut(n.ownerDocument),T=O.height,E=O.width;h.top+=b.top-b.marginTop,h.bottom=T+b.top,h.left+=b.left-b.marginLeft,h.right=E+b.left}}var N="number"==typeof(l=l||0);return h.left+=N?l:l.left||0,h.top+=N?l:l.top||0,h.right-=N?l:l.right||0,h.bottom-=N?l:l.bottom||0,h}function Xt(n){return n.width*n.height}function p(n,s,l,c,u){var h=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===n.indexOf("auto"))return n;var m=Ze(l,c,h,u),g={top:{width:m.width,height:s.top-m.top},right:{width:m.right-s.right,height:m.height},bottom:{width:m.width,height:m.bottom-s.bottom},left:{width:s.left-m.left,height:m.height}},b=Object.keys(g).map(function(N){return ue({key:N},g[N],{area:Xt(g[N])})}).sort(function(N,A){return A.area-N.area}),O=b.filter(function(N){return N.width>=l.clientWidth&&N.height>=l.clientHeight}),T=O.length>0?O[0].key:b[0].key,E=n.split("-")[1];return T+(E?"-"+E:"")}function Ee(n,s,l){var c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,u=c?Ot(s):ge(s,yt(l));return lt(l,u,c)}function qe(n){var l=n.ownerDocument.defaultView.getComputedStyle(n),c=parseFloat(l.marginTop||0)+parseFloat(l.marginBottom||0),u=parseFloat(l.marginLeft||0)+parseFloat(l.marginRight||0);return{width:n.offsetWidth+u,height:n.offsetHeight+c}}function ie(n){var s={left:"right",right:"left",bottom:"top",top:"bottom"};return n.replace(/left|right|bottom|top/g,function(l){return s[l]})}function et(n,s,l){l=l.split("-")[0];var c=qe(n),u={width:c.width,height:c.height},h=-1!==["right","left"].indexOf(l),m=h?"top":"left",g=h?"left":"top",b=h?"height":"width",O=h?"width":"height";return u[m]=s[m]+s[b]/2-c[b]/2,u[g]=l===g?s[g]-c[O]:s[ie(g)],u}function Oe(n,s){return Array.prototype.find?n.find(s):n.filter(s)[0]}function Ve(n,s,l){var c=void 0===l?n:n.slice(0,function Qt(n,s,l){if(Array.prototype.findIndex)return n.findIndex(function(u){return u[s]===l});var c=Oe(n,function(u){return u[s]===l});return n.indexOf(c)}(n,"name",l));return c.forEach(function(u){u.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var h=u.function||u.fn;u.enabled&&ye(h)&&(s.offsets.popper=we(s.offsets.popper),s.offsets.reference=we(s.offsets.reference),s=h(s,u))}),s}function Gt(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};n.offsets.reference=Ee(this.state,this.popper,this.reference,this.options.positionFixed),n.placement=p(this.options.placement,n.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),n.originalPlacement=n.placement,n.positionFixed=this.options.positionFixed,n.offsets.popper=et(this.popper,n.offsets.reference,n.placement),n.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",n=Ve(this.modifiers,n),this.state.isCreated?this.options.onUpdate(n):(this.state.isCreated=!0,this.options.onCreate(n))}}function ct(n,s){return n.some(function(l){return l.enabled&&l.name===s})}function X(n){for(var s=[!1,"ms","Webkit","Moz","O"],l=n.charAt(0).toUpperCase()+n.slice(1),c=0;c<s.length;c++){var u=s[c],h=u?""+u+l:n;if(void 0!==document.body.style[h])return h}return null}function S(){return this.state.isDestroyed=!0,ct(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[X("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Tt(n){var s=n.ownerDocument;return s?s.defaultView:window}function At(n,s,l,c){var u="BODY"===n.nodeName,h=u?n.ownerDocument.defaultView:n;h.addEventListener(s,l,{passive:!0}),u||At(pe(h.parentNode),s,l,c),c.push(h)}function gi(n,s,l,c){l.updateBound=c,Tt(n).addEventListener("resize",l.updateBound,{passive:!0});var u=pe(n);return At(u,"scroll",l.updateBound,l.scrollParents),l.scrollElement=u,l.eventsEnabled=!0,l}function Pe(){this.state.eventsEnabled||(this.state=gi(this.reference,0,this.state,this.scheduleUpdate))}function Me(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function Ie(n,s){return Tt(n).removeEventListener("resize",s.updateBound),s.scrollParents.forEach(function(l){l.removeEventListener("scroll",s.updateBound)}),s.updateBound=null,s.scrollParents=[],s.scrollElement=null,s.eventsEnabled=!1,s}(this.reference,this.state))}function je(n){return""!==n&&!isNaN(parseFloat(n))&&isFinite(n)}function Ct(n,s){Object.keys(s).forEach(function(l){var c="";-1!==["width","height","top","right","bottom","left"].indexOf(l)&&je(s[l])&&(c="px"),n.style[l]=s[l]+c})}var Zt=U&&/Firefox/i.test(navigator.userAgent);function ti(n,s,l){var c=Oe(n,function(g){return g.name===s}),u=!!c&&n.some(function(g){return g.name===l&&g.enabled&&g.order<c.order});if(!u){var h="`"+s+"`";console.warn("`"+l+"` modifier is required by "+h+" modifier in order to work, be sure to include it before "+h+"!")}return u}var tt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ut=tt.slice(3);function Lt(n){var s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=ut.indexOf(n),c=ut.slice(l+1).concat(ut.slice(0,l));return s?c.reverse():c}var St={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function Ue(n){var s=n.placement,l=s.split("-")[0],c=s.split("-")[1];if(c){var u=n.offsets,h=u.reference,m=u.popper,g=-1!==["bottom","top"].indexOf(l),b=g?"left":"top",O=g?"width":"height",T={start:ze({},b,h[b]),end:ze({},b,h[b]+h[O]-m[O])};n.offsets.popper=ue({},m,T[c])}return n}},offset:{order:200,enabled:!0,fn:function oe(n,s){var b,l=s.offset,u=n.offsets,h=u.popper,m=u.reference,g=n.placement.split("-")[0];return b=je(+l)?[+l,0]:function ce(n,s,l,c){var u=[0,0],h=-1!==["right","left"].indexOf(c),m=n.split(/(\+|\-)/).map(function(T){return T.trim()}),g=m.indexOf(Oe(m,function(T){return-1!==T.search(/,|\s/)}));m[g]&&-1===m[g].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var b=/\s*,\s*|\s+/,O=-1!==g?[m.slice(0,g).concat([m[g].split(b)[0]]),[m[g].split(b)[1]].concat(m.slice(g+1))]:[m];return O=O.map(function(T,E){var N=(1===E?!h:h)?"height":"width",A=!1;return T.reduce(function(C,$){return""===C[C.length-1]&&-1!==["+","-"].indexOf($)?(C[C.length-1]=$,A=!0,C):A?(C[C.length-1]+=$,A=!1,C):C.concat($)},[]).map(function(C){return function le(n,s,l,c){var u=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),h=+u[1],m=u[2];return h?0===m.indexOf("%")?we("%p"===m?l:c)[s]/100*h:"vh"===m||"vw"===m?("vh"===m?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*h:h:n}(C,N,s,l)})}),O.forEach(function(T,E){T.forEach(function(N,A){je(N)&&(u[E]+=N*("-"===T[A-1]?-1:1))})}),u}(l,h,m,g),"left"===g?(h.top+=b[0],h.left-=b[1]):"right"===g?(h.top+=b[0],h.left+=b[1]):"top"===g?(h.left+=b[0],h.top-=b[1]):"bottom"===g&&(h.left+=b[0],h.top+=b[1]),n.popper=h,n},offset:0},preventOverflow:{order:300,enabled:!0,fn:function dt(n,s){var l=s.boundariesElement||xe(n.instance.popper);n.instance.reference===l&&(l=xe(l));var c=X("transform"),u=n.instance.popper.style,h=u.top,m=u.left,g=u[c];u.top="",u.left="",u[c]="";var b=Ze(n.instance.popper,n.instance.reference,s.padding,l,n.positionFixed);u.top=h,u.left=m,u[c]=g,s.boundaries=b;var T=n.offsets.popper,E={primary:function(A){var C=T[A];return T[A]<b[A]&&!s.escapeWithReference&&(C=Math.max(T[A],b[A])),ze({},A,C)},secondary:function(A){var C="right"===A?"left":"top",$=T[C];return T[A]>b[A]&&!s.escapeWithReference&&($=Math.min(T[C],b[A]-("right"===A?T.width:T.height))),ze({},C,$)}};return s.priority.forEach(function(N){var A=-1!==["left","top"].indexOf(N)?"primary":"secondary";T=ue({},T,E[A](N))}),n.offsets.popper=T,n},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function ne(n){var s=n.offsets,l=s.popper,c=s.reference,u=n.placement.split("-")[0],h=Math.floor,m=-1!==["top","bottom"].indexOf(u),g=m?"right":"bottom",b=m?"left":"top",O=m?"width":"height";return l[g]<h(c[b])&&(n.offsets.popper[b]=h(c[b])-l[O]),l[b]>h(c[g])&&(n.offsets.popper[b]=h(c[g])),n}},arrow:{order:500,enabled:!0,fn:function xt(n,s){var l;if(!ti(n.instance.modifiers,"arrow","keepTogether"))return n;var c=s.element;if("string"==typeof c){if(!(c=n.instance.popper.querySelector(c)))return n}else if(!n.instance.popper.contains(c))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var u=n.placement.split("-")[0],h=n.offsets,m=h.popper,g=h.reference,b=-1!==["left","right"].indexOf(u),O=b?"height":"width",T=b?"Top":"Left",E=T.toLowerCase(),N=b?"left":"top",A=b?"bottom":"right",C=qe(c)[O];g[A]-C<m[E]&&(n.offsets.popper[E]-=m[E]-(g[A]-C)),g[E]+C>m[A]&&(n.offsets.popper[E]+=g[E]+C-m[A]),n.offsets.popper=we(n.offsets.popper);var $=g[E]+g[O]/2-C/2,Y=G(n.instance.popper),Ae=parseFloat(Y["margin"+T]),re=parseFloat(Y["border"+T+"Width"]),J=$-n.offsets.popper[E]-Ae-re;return J=Math.max(Math.min(m[O]-C,J),0),n.arrowElement=c,n.offsets.arrow=(ze(l={},E,Math.round(J)),ze(l,N,""),l),n},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function He(n,s){if(ct(n.instance.modifiers,"inner")||n.flipped&&n.placement===n.originalPlacement)return n;var l=Ze(n.instance.popper,n.instance.reference,s.padding,s.boundariesElement,n.positionFixed),c=n.placement.split("-")[0],u=ie(c),h=n.placement.split("-")[1]||"",m=[];switch(s.behavior){case"flip":m=[c,u];break;case"clockwise":m=Lt(c);break;case"counterclockwise":m=Lt(c,!0);break;default:m=s.behavior}return m.forEach(function(g,b){if(c!==g||m.length===b+1)return n;c=n.placement.split("-")[0],u=ie(c);var O=n.offsets.popper,T=n.offsets.reference,E=Math.floor,N="left"===c&&E(O.right)>E(T.left)||"right"===c&&E(O.left)<E(T.right)||"top"===c&&E(O.bottom)>E(T.top)||"bottom"===c&&E(O.top)<E(T.bottom),A=E(O.left)<E(l.left),C=E(O.right)>E(l.right),$=E(O.top)<E(l.top),Y=E(O.bottom)>E(l.bottom),Ae="left"===c&&A||"right"===c&&C||"top"===c&&$||"bottom"===c&&Y,re=-1!==["top","bottom"].indexOf(c),pt=!!s.flipVariations&&(re&&"start"===h&&A||re&&"end"===h&&C||!re&&"start"===h&&$||!re&&"end"===h&&Y)||!!s.flipVariationsByContent&&(re&&"start"===h&&C||re&&"end"===h&&A||!re&&"start"===h&&Y||!re&&"end"===h&&$);(N||Ae||pt)&&(n.flipped=!0,(N||Ae)&&(c=m[b+1]),pt&&(h=function ht(n){return"end"===n?"start":"start"===n?"end":n}(h)),n.placement=c+(h?"-"+h:""),n.offsets.popper=ue({},n.offsets.popper,et(n.instance.popper,n.offsets.reference,n.placement)),n=Ve(n.instance.modifiers,n,"flip"))}),n},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function Ye(n){var s=n.placement,l=s.split("-")[0],c=n.offsets,u=c.popper,h=c.reference,m=-1!==["left","right"].indexOf(l),g=-1===["top","left"].indexOf(l);return u[m?"left":"top"]=h[l]-(g?u[m?"width":"height"]:0),n.placement=ie(s),n.offsets.popper=we(u),n}},hide:{order:800,enabled:!0,fn:function Re(n){if(!ti(n.instance.modifiers,"hide","preventOverflow"))return n;var s=n.offsets.reference,l=Oe(n.instance.modifiers,function(c){return"preventOverflow"===c.name}).boundaries;if(s.bottom<l.top||s.left>l.right||s.top>l.bottom||s.right<l.left){if(!0===n.hide)return n;n.hide=!0,n.attributes["x-out-of-boundaries"]=""}else{if(!1===n.hide)return n;n.hide=!1,n.attributes["x-out-of-boundaries"]=!1}return n}},computeStyle:{order:850,enabled:!0,fn:function ei(n,s){var l=s.x,c=s.y,u=n.offsets.popper,h=Oe(n.instance.modifiers,function(J){return"applyStyle"===J.name}).gpuAcceleration;void 0!==h&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var C,$,m=void 0!==h?h:s.gpuAcceleration,g=xe(n.instance.popper),b=at(g),O={position:u.position},T=function ve(n,s){var l=n.offsets,c=l.popper,h=Math.round,m=Math.floor,g=function(Ae){return Ae},b=h(l.reference.width),O=h(c.width),T=-1!==["left","right"].indexOf(n.placement),E=-1!==n.placement.indexOf("-"),C=s?T||E||b%2==O%2?h:m:g,$=s?h:g;return{left:C(b%2==1&&O%2==1&&!E&&s?c.left-1:c.left),top:$(c.top),bottom:$(c.bottom),right:C(c.right)}}(n,window.devicePixelRatio<2||!Zt),E="bottom"===l?"top":"bottom",N="right"===c?"left":"right",A=X("transform");if($="bottom"===E?"HTML"===g.nodeName?-g.clientHeight+T.bottom:-b.height+T.bottom:T.top,C="right"===N?"HTML"===g.nodeName?-g.clientWidth+T.right:-b.width+T.right:T.left,m&&A)O[A]="translate3d("+C+"px, "+$+"px, 0)",O[E]=0,O[N]=0,O.willChange="transform";else{var Ae="right"===N?-1:1;O[E]=$*("bottom"===E?-1:1),O[N]=C*Ae,O.willChange=E+", "+N}return n.attributes=ue({},{"x-placement":n.placement},n.attributes),n.styles=ue({},O,n.styles),n.arrowStyles=ue({},n.offsets.arrow,n.arrowStyles),n},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function Be(n){return Ct(n.instance.popper,n.styles),function Jt(n,s){Object.keys(s).forEach(function(l){!1!==s[l]?n.setAttribute(l,s[l]):n.removeAttribute(l)})}(n.instance.popper,n.attributes),n.arrowElement&&Object.keys(n.arrowStyles).length&&Ct(n.arrowElement,n.arrowStyles),n},onLoad:function ft(n,s,l,c,u){var h=Ee(u,s,n,l.positionFixed),m=p(l.placement,h,s,n,l.modifiers.flip.boundariesElement,l.modifiers.flip.padding);return s.setAttribute("x-placement",m),Ct(s,{position:l.positionFixed?"fixed":"absolute"}),l},gpuAcceleration:void 0}}},Te=function(){function n(s,l){var c=this,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};wt(this,n),this.scheduleUpdate=function(){return requestAnimationFrame(c.update)},this.update=Le(this.update.bind(this)),this.options=ue({},n.Defaults,u),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=s&&s.jquery?s[0]:s,this.popper=l&&l.jquery?l[0]:l,this.options.modifiers={},Object.keys(ue({},n.Defaults.modifiers,u.modifiers)).forEach(function(m){c.options.modifiers[m]=ue({},n.Defaults.modifiers[m]||{},u.modifiers?u.modifiers[m]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(m){return ue({name:m},c.options.modifiers[m])}).sort(function(m,g){return m.order-g.order}),this.modifiers.forEach(function(m){m.enabled&&ye(m.onLoad)&&m.onLoad(c.reference,c.popper,c.options,m,c.state)}),this.update();var h=this.options.eventsEnabled;h&&this.enableEventListeners(),this.state.eventsEnabled=h}return Yt(n,[{key:"update",value:function(){return Gt.call(this)}},{key:"destroy",value:function(){return S.call(this)}},{key:"enableEventListeners",value:function(){return Pe.call(this)}},{key:"disableEventListeners",value:function(){return Me.call(this)}}]),n}();return Te.Utils=("undefined"!=typeof window?window:global).PopperUtils,Te.placements=tt,Te.Defaults=St,Te}),function(U,q){"object"==typeof exports&&"undefined"!=typeof module?module.exports=q():"function"==typeof define&&define.amd?define(q):(U="undefined"!=typeof globalThis?globalThis:U||self).bootstrap=q()}(this,function(){"use strict";const U="transitionend",q=i=>{let e=i.getAttribute("data-bs-target");if(!e||"#"===e){let t=i.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),e=t&&"#"!==t?t.trim():null}return e},Z=i=>{const e=q(i);return e&&document.querySelector(e)?e:null},Ce=i=>{const e=q(i);return e?document.querySelector(e):null},$t=i=>{i.dispatchEvent(new Event(U))},Le=i=>!(!i||"object"!=typeof i)&&(void 0!==i.jquery&&(i=i[0]),void 0!==i.nodeType),ye=i=>Le(i)?i.jquery?i[0]:i:"string"==typeof i&&i.length>0?document.querySelector(i):null,G=(i,e,t)=>{Object.keys(t).forEach(o=>{const r=t[o],a=e[o],f=a&&Le(a)?"element":null==(d=a)?`${d}`:{}.toString.call(d).match(/\s([a-z]+)/i)[1].toLowerCase();var d;if(!new RegExp(r).test(f))throw new TypeError(`${i.toUpperCase()}: Option "${o}" provided type "${f}" but expected type "${r}".`)})},Se=i=>!(!Le(i)||0===i.getClientRects().length)&&"visible"===getComputedStyle(i).getPropertyValue("visibility"),pe=i=>!i||i.nodeType!==Node.ELEMENT_NODE||!!i.classList.contains("disabled")||(void 0!==i.disabled?i.disabled:i.hasAttribute("disabled")&&"false"!==i.getAttribute("disabled")),yt=i=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof i.getRootNode){const e=i.getRootNode();return e instanceof ShadowRoot?e:null}return i instanceof ShadowRoot?i:i.parentNode?yt(i.parentNode):null},Je=()=>{},De=()=>{const{jQuery:i}=window;return i&&!document.body.hasAttribute("data-bs-no-jquery")?i:null},xe=[],ee=()=>"rtl"===document.documentElement.dir,te=i=>{var e;e=()=>{const t=De();if(t){const o=i.NAME,r=t.fn[o];t.fn[o]=i.jQueryInterface,t.fn[o].Constructor=i,t.fn[o].noConflict=()=>(t.fn[o]=r,i.jQueryInterface)}},"loading"===document.readyState?(xe.length||document.addEventListener("DOMContentLoaded",()=>{xe.forEach(t=>t())}),xe.push(e)):e()},ge=i=>{"function"==typeof i&&i()},Ne=(i,e,t=!0)=>{if(!t)return void ge(i);const o=(f=>{if(!f)return 0;let{transitionDuration:d,transitionDelay:v}=window.getComputedStyle(f);const y=Number.parseFloat(d),w=Number.parseFloat(v);return y||w?(d=d.split(",")[0],v=v.split(",")[0],1e3*(Number.parseFloat(d)+Number.parseFloat(v))):0})(e)+5;let r=!1;const a=({target:f})=>{f===e&&(r=!0,e.removeEventListener(U,a),ge(i))};e.addEventListener(U,a),setTimeout(()=>{r||$t(e)},o)},zt=(i,e,t,o)=>{let r=i.indexOf(e);if(-1===r)return i[!t&&o?i.length-1:0];const a=i.length;return r+=t?1:-1,o&&(r=(r+a)%a),i[Math.max(0,Math.min(r,a-1))]},qt=/[^.]*(?=\..*)\.|.*/,Vt=/\..*/,Ut=/::\d+$/,wt={};let Yt=1;const ze={mouseenter:"mouseover",mouseleave:"mouseout"},ue=/^(mouseenter|mouseleave)/i,we=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 at(i,e){return e&&`${e}::${Yt++}`||i.uidEvent||Yt++}function lt(i){const e=at(i);return i.uidEvent=e,wt[e]=wt[e]||{},wt[e]}function Kt(i,e,t=null){const o=Object.keys(i);for(let r=0,a=o.length;r<a;r++){const f=i[o[r]];if(f.originalHandler===e&&f.delegationSelector===t)return f}return null}function Et(i,e,t){const o="string"==typeof e,r=o?t:e;let a=Xt(i);return we.has(a)||(a=i),[o,r,a]}function Ot(i,e,t,o,r){if("string"!=typeof e||!i)return;if(t||(t=o,o=null),ue.test(e)){const x=L=>function(D){if(!D.relatedTarget||D.relatedTarget!==D.delegateTarget&&!D.delegateTarget.contains(D.relatedTarget))return L.call(this,D)};o?o=x(o):t=x(t)}const[a,f,d]=Et(e,t,o),v=lt(i),y=v[d]||(v[d]={}),w=Kt(y,f,a?t:null);if(w)return void(w.oneOff=w.oneOff&&r);const _=at(f,e.replace(qt,"")),M=a?(x=i,L=t,D=o,function k(z){const H=x.querySelectorAll(L);for(let{target:P}=z;P&&P!==this;P=P.parentNode)for(let R=H.length;R--;)if(H[R]===P)return z.delegateTarget=P,k.oneOff&&p.off(x,z.type,L,D),D.apply(P,[z]);return null}):function(x,L){return function D(k){return k.delegateTarget=x,D.oneOff&&p.off(x,k.type,L),L.apply(x,[k])}}(i,t);var x,L,D;M.delegationSelector=a?t:null,M.originalHandler=f,M.oneOff=r,M.uidEvent=_,y[_]=M,i.addEventListener(d,M,a)}function Ze(i,e,t,o,r){const a=Kt(e[t],o,r);a&&(i.removeEventListener(t,a,Boolean(r)),delete e[t][a.uidEvent])}function Xt(i){return i=i.replace(Vt,""),ze[i]||i}const p={on(i,e,t,o){Ot(i,e,t,o,!1)},one(i,e,t,o){Ot(i,e,t,o,!0)},off(i,e,t,o){if("string"!=typeof e||!i)return;const[r,a,f]=Et(e,t,o),d=f!==e,v=lt(i),y=e.startsWith(".");if(void 0!==a)return v&&v[f]?void Ze(i,v,f,a,r?t:null):void 0;y&&Object.keys(v).forEach(_=>{!function(M,x,L,D){const k=x[L]||{};Object.keys(k).forEach(z=>{if(z.includes(D)){const H=k[z];Ze(M,x,L,H.originalHandler,H.delegationSelector)}})}(i,v,_,e.slice(1))});const w=v[f]||{};Object.keys(w).forEach(_=>{const M=_.replace(Ut,"");if(!d||e.includes(M)){const x=w[_];Ze(i,v,f,x.originalHandler,x.delegationSelector)}})},trigger(i,e,t){if("string"!=typeof e||!i)return null;const o=De(),r=Xt(e),a=e!==r,f=we.has(r);let d,v=!0,y=!0,w=!1,_=null;return a&&o&&(d=o.Event(e,t),o(i).trigger(d),v=!d.isPropagationStopped(),y=!d.isImmediatePropagationStopped(),w=d.isDefaultPrevented()),f?(_=document.createEvent("HTMLEvents"),_.initEvent(r,v,!0)):_=new CustomEvent(e,{bubbles:v,cancelable:!0}),void 0!==t&&Object.keys(t).forEach(M=>{Object.defineProperty(_,M,{get:()=>t[M]})}),w&&_.preventDefault(),y&&i.dispatchEvent(_),_.defaultPrevented&&void 0!==d&&d.preventDefault(),_}},Ee=new Map,qe={set(i,e,t){Ee.has(i)||Ee.set(i,new Map);const o=Ee.get(i);o.has(e)||0===o.size?o.set(e,t):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get:(i,e)=>Ee.has(i)&&Ee.get(i).get(e)||null,remove(i,e){if(!Ee.has(i))return;const t=Ee.get(i);t.delete(e),0===t.size&&Ee.delete(i)}};class ie{constructor(e){(e=ye(e))&&(this._element=e,qe.set(this._element,this.constructor.DATA_KEY,this))}dispose(){qe.remove(this._element,this.constructor.DATA_KEY),p.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(e=>{this[e]=null})}_queueCallback(e,t,o=!0){Ne(e,t,o)}static getInstance(e){return qe.get(ye(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 et=(i,e="hide")=>{const o=i.NAME;p.on(document,`click.dismiss${i.EVENT_KEY}`,`[data-bs-dismiss="${o}"]`,function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),pe(this))return;const a=Ce(this)||this.closest(`.${o}`);i.getOrCreateInstance(a)[e]()})};class Oe extends ie{static get NAME(){return"alert"}close(){if(p.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(),p.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Oe.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)}})}}et(Oe,"close"),te(Oe);const Qt='[data-bs-toggle="button"]';class Ve extends ie{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=Ve.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}function Gt(i){return"true"===i||"false"!==i&&(i===Number(i).toString()?Number(i):""===i||"null"===i?null:i)}function ct(i){return i.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}p.on(document,"click.bs.button.data-api",Qt,i=>{i.preventDefault();const e=i.target.closest(Qt);Ve.getOrCreateInstance(e).toggle()}),te(Ve);const X={setDataAttribute(i,e,t){i.setAttribute(`data-bs-${ct(e)}`,t)},removeDataAttribute(i,e){i.removeAttribute(`data-bs-${ct(e)}`)},getDataAttributes(i){if(!i)return{};const e={};return Object.keys(i.dataset).filter(t=>t.startsWith("bs")).forEach(t=>{let o=t.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),e[o]=Gt(i.dataset[t])}),e},getDataAttribute:(i,e)=>Gt(i.getAttribute(`data-bs-${ct(e)}`)),offset(i){const e=i.getBoundingClientRect();return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}},position:i=>({top:i.offsetTop,left:i.offsetLeft})},S={find:(i,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,i)),findOne:(i,e=document.documentElement)=>Element.prototype.querySelector.call(e,i),children:(i,e)=>[].concat(...i.children).filter(t=>t.matches(e)),parents(i,e){const t=[];let o=i.parentNode;for(;o&&o.nodeType===Node.ELEMENT_NODE&&3!==o.nodeType;)o.matches(e)&&t.push(o),o=o.parentNode;return t},prev(i,e){let t=i.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(i,e){let t=i.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(i){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(", ");return this.find(e,i).filter(t=>!pe(t)&&Se(t))}},Tt="carousel",At={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},gi={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Pe="next",Ie="prev",Me="left",je="right",Ct={ArrowLeft:je,ArrowRight:Me},Jt="slid.bs.carousel",Be="active",ft=".active.carousel-item";class ve extends ie{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=S.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 At}static get NAME(){return Tt}next(){this._slide(Pe)}nextWhenVisible(){!document.hidden&&Se(this._element)&&this.next()}prev(){this._slide(Ie)}pause(e){e||(this._isPaused=!0),S.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&($t(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=S.findOne(ft,this._element);const t=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0)){if(!this._isSliding)return t===e?(this.pause(),void this.cycle()):void this._slide(e>t?Pe:Ie,this._items[e]);p.one(this._element,Jt,()=>this.to(e))}}_getConfig(e){return e=I(I(I({},At),X.getDataAttributes(this._element)),"object"==typeof e?e:{}),G(Tt,e,gi),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?je:Me)}_addEventListeners(){this._config.keyboard&&p.on(this._element,"keydown.bs.carousel",e=>this._keydown(e)),"hover"===this._config.pause&&(p.on(this._element,"mouseenter.bs.carousel",e=>this.pause(e)),p.on(this._element,"mouseleave.bs.carousel",e=>this.cycle(e))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=a=>this._pointerEvent&&("pen"===a.pointerType||"touch"===a.pointerType),t=a=>{e(a)?this.touchStartX=a.clientX:this._pointerEvent||(this.touchStartX=a.touches[0].clientX)},o=a=>{this.touchDeltaX=a.touches&&a.touches.length>1?0:a.touches[0].clientX-this.touchStartX},r=a=>{e(a)&&(this.touchDeltaX=a.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(f=>this.cycle(f),500+this._config.interval))};S.find(".carousel-item img",this._element).forEach(a=>{p.on(a,"dragstart.bs.carousel",f=>f.preventDefault())}),this._pointerEvent?(p.on(this._element,"pointerdown.bs.carousel",a=>t(a)),p.on(this._element,"pointerup.bs.carousel",a=>r(a)),this._element.classList.add("pointer-event")):(p.on(this._element,"touchstart.bs.carousel",a=>t(a)),p.on(this._element,"touchmove.bs.carousel",a=>o(a)),p.on(this._element,"touchend.bs.carousel",a=>r(a)))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Ct[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?S.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){return zt(this._items,t,e===Pe,this._config.wrap)}_triggerSlideEvent(e,t){const o=this._getItemIndex(e),r=this._getItemIndex(S.findOne(ft,this._element));return p.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:r,to:o})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=S.findOne(".active",this._indicatorsElement);t.classList.remove(Be),t.removeAttribute("aria-current");const o=S.find("[data-bs-target]",this._indicatorsElement);for(let r=0;r<o.length;r++)if(Number.parseInt(o[r].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(e)){o[r].classList.add(Be),o[r].setAttribute("aria-current","true");break}}}_updateInterval(){const e=this._activeElement||S.findOne(ft,this._element);if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(e,t){const o=this._directionToOrder(e),r=S.findOne(ft,this._element),a=this._getItemIndex(r),f=t||this._getItemByOrder(o,r),d=this._getItemIndex(f),v=Boolean(this._interval),y=o===Pe,w=y?"carousel-item-start":"carousel-item-end",_=y?"carousel-item-next":"carousel-item-prev",M=this._orderToDirection(o);if(f&&f.classList.contains(Be))return void(this._isSliding=!1);if(this._isSliding||this._triggerSlideEvent(f,M).defaultPrevented||!r||!f)return;this._isSliding=!0,v&&this.pause(),this._setActiveIndicatorElement(f),this._activeElement=f;const x=()=>{p.trigger(this._element,Jt,{relatedTarget:f,direction:M,from:a,to:d})};this._element.classList.contains("slide")?(f.classList.add(_),r.classList.add(w),f.classList.add(w),this._queueCallback(()=>{f.classList.remove(w,_),f.classList.add(Be),r.classList.remove(Be,_,w),this._isSliding=!1,setTimeout(x,0)},r,!0)):(r.classList.remove(Be),f.classList.add(Be),this._isSliding=!1,x()),v&&this.cycle()}_directionToOrder(e){return[je,Me].includes(e)?ee()?e===Me?Ie:Pe:e===Me?Pe:Ie:e}_orderToDirection(e){return[Pe,Ie].includes(e)?ee()?e===Ie?Me:je:e===Ie?je:Me:e}static carouselInterface(e,t){const o=ve.getOrCreateInstance(e,t);let{_config:r}=o;"object"==typeof t&&(r=I(I({},r),t));const a="string"==typeof t?t:r.slide;if("number"==typeof t)o.to(t);else if("string"==typeof a){if(void 0===o[a])throw new TypeError(`No method named "${a}"`);o[a]()}else r.interval&&r.ride&&(o.pause(),o.cycle())}static jQueryInterface(e){return this.each(function(){ve.carouselInterface(this,e)})}static dataApiClickHandler(e){const t=Ce(this);if(!t||!t.classList.contains("carousel"))return;const o=I(I({},X.getDataAttributes(t)),X.getDataAttributes(this)),r=this.getAttribute("data-bs-slide-to");r&&(o.interval=!1),ve.carouselInterface(t,o),r&&ve.getInstance(t).to(r),e.preventDefault()}}p.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",ve.dataApiClickHandler),p.on(window,"load.bs.carousel.data-api",()=>{const i=S.find('[data-bs-ride="carousel"]');for(let e=0,t=i.length;e<t;e++)ve.carouselInterface(i[e],ve.getInstance(i[e]))}),te(ve);const Zt="collapse",ei={toggle:!0,parent:null},ti={toggle:"boolean",parent:"(null|element)"},xt="show",ht="collapse",tt="collapsing",ut="collapsed",Lt=":scope .collapse .collapse",it='[data-bs-toggle="collapse"]';class He extends ie{constructor(e,t){super(e),this._isTransitioning=!1,this._config=this._getConfig(t),this._triggerArray=[];const o=S.find(it);for(let r=0,a=o.length;r<a;r++){const f=o[r],d=Z(f),v=S.find(d).filter(y=>y===this._element);null!==d&&v.length&&(this._selector=d,this._triggerArray.push(f))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ei}static get NAME(){return Zt}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,t=[];if(this._config.parent){const f=S.find(Lt,this._config.parent);t=S.find(".collapse.show, .collapse.collapsing",this._config.parent).filter(d=>!f.includes(d))}const o=S.findOne(this._selector);if(t.length){const f=t.find(d=>o!==d);if(e=f?He.getInstance(f):null,e&&e._isTransitioning)return}if(p.trigger(this._element,"show.bs.collapse").defaultPrevented)return;t.forEach(f=>{o!==f&&He.getOrCreateInstance(f,{toggle:!1}).hide(),e||qe.set(f,"bs.collapse",null)});const r=this._getDimension();this._element.classList.remove(ht),this._element.classList.add(tt),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const a=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(tt),this._element.classList.add(ht,xt),this._element.style[r]="",p.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[r]=`${this._element[a]}px`}hide(){if(this._isTransitioning||!this._isShown()||p.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,this._element.classList.add(tt),this._element.classList.remove(ht,xt);const t=this._triggerArray.length;for(let o=0;o<t;o++){const r=this._triggerArray[o],a=Ce(r);a&&!this._isShown(a)&&this._addAriaAndCollapsedClass([r],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(tt),this._element.classList.add(ht),p.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}_isShown(e=this._element){return e.classList.contains(xt)}_getConfig(e){return(e=I(I(I({},ei),X.getDataAttributes(this._element)),e)).toggle=Boolean(e.toggle),e.parent=ye(e.parent),G(Zt,e,ti),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=S.find(Lt,this._config.parent);S.find(it,this._config.parent).filter(t=>!e.includes(t)).forEach(t=>{const o=Ce(t);o&&this._addAriaAndCollapsedClass([t],this._isShown(o))})}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach(o=>{t?o.classList.remove(ut):o.classList.add(ut),o.setAttribute("aria-expanded",t)})}static jQueryInterface(e){return this.each(function(){const t={};"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1);const o=He.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===o[e])throw new TypeError(`No method named "${e}"`);o[e]()}})}}p.on(document,"click.bs.collapse.data-api",it,function(i){("A"===i.target.tagName||i.delegateTarget&&"A"===i.delegateTarget.tagName)&&i.preventDefault();const e=Z(this);S.find(e).forEach(t=>{He.getOrCreateInstance(t,{toggle:!1}).toggle()})}),te(He);var ne="top",le="bottom",ce="right",oe="left",dt="auto",Ue=[ne,le,ce,oe],Re="start",Ye="end",ii="clippingParents",St="viewport",Te="popper",n="reference",s=Ue.reduce(function(i,e){return i.concat([e+"-"+Re,e+"-"+Ye])},[]),l=[].concat(Ue,[dt]).reduce(function(i,e){return i.concat([e,e+"-"+Re,e+"-"+Ye])},[]),c="beforeRead",u="read",h="afterRead",m="beforeMain",g="main",b="afterMain",O="beforeWrite",T="write",E="afterWrite",N=[c,u,h,m,g,b,O,T,E];function A(i){return i?(i.nodeName||"").toLowerCase():null}function C(i){if(null==i)return window;if("[object Window]"!==i.toString()){var e=i.ownerDocument;return e&&e.defaultView||window}return i}function $(i){return i instanceof C(i).Element||i instanceof Element}function Y(i){return i instanceof C(i).HTMLElement||i instanceof HTMLElement}function Ae(i){return"undefined"!=typeof ShadowRoot&&(i instanceof C(i).ShadowRoot||i instanceof ShadowRoot)}const re={name:"applyStyles",enabled:!0,phase:"write",fn:function(i){var e=i.state;Object.keys(e.elements).forEach(function(t){var o=e.styles[t]||{},r=e.attributes[t]||{},a=e.elements[t];Y(a)&&A(a)&&(Object.assign(a.style,o),Object.keys(r).forEach(function(f){var d=r[f];!1===d?a.removeAttribute(f):a.setAttribute(f,!0===d?"":d)}))})},effect:function(i){var e=i.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(o){var r=e.elements[o],a=e.attributes[o]||{},f=Object.keys(e.styles.hasOwnProperty(o)?e.styles[o]:t[o]).reduce(function(d,v){return d[v]="",d},{});Y(r)&&A(r)&&(Object.assign(r.style,f),Object.keys(a).forEach(function(d){r.removeAttribute(d)}))})}},requires:["computeStyles"]};function J(i){return i.split("-")[0]}function Ke(i,e){var t=i.getBoundingClientRect();return{width:t.width/1,height:t.height/1,top:t.top/1,right:t.right/1,bottom:t.bottom/1,left:t.left/1,x:t.left/1,y:t.top/1}}function pt(i){var e=Ke(i),t=i.offsetWidth,o=i.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-o)<=1&&(o=e.height),{x:i.offsetLeft,y:i.offsetTop,width:t,height:o}}function Mi(i,e){var t=e.getRootNode&&e.getRootNode();if(i.contains(e))return!0;if(t&&Ae(t)){var o=e;do{if(o&&i.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function We(i){return C(i).getComputedStyle(i)}function eo(i){return["table","td","th"].indexOf(A(i))>=0}function Xe(i){return(($(i)?i.ownerDocument:i.document)||window.document).documentElement}function ni(i){return"html"===A(i)?i:i.assignedSlot||i.parentNode||(Ae(i)?i.host:null)||Xe(i)}function ji(i){return Y(i)&&"fixed"!==We(i).position?i.offsetParent:null}function kt(i){for(var e=C(i),t=ji(i);t&&eo(t)&&"static"===We(t).position;)t=ji(t);return t&&("html"===A(t)||"body"===A(t)&&"static"===We(t).position)?e:t||function(o){var r=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Y(o)&&"fixed"===We(o).position)return null;for(var a=ni(o);Y(a)&&["html","body"].indexOf(A(a))<0;){var f=We(a);if("none"!==f.transform||"none"!==f.perspective||"paint"===f.contain||-1!==["transform","perspective"].indexOf(f.willChange)||r&&"filter"===f.willChange||r&&f.filter&&"none"!==f.filter)return a;a=a.parentNode}return null}(i)||e}function vi(i){return["top","bottom"].indexOf(i)>=0?"x":"y"}var Qe=Math.max,Dt=Math.min,oi=Math.round;function ri(i,e,t){return Qe(i,Dt(e,t))}function Bi(i){return Object.assign({},{top:0,right:0,bottom:0,left:0},i)}function Hi(i,e){return e.reduce(function(t,o){return t[o]=i,t},{})}const Ri={name:"arrow",enabled:!0,phase:"main",fn:function(i){var e,F,V,t=i.state,o=i.name,r=i.options,a=t.elements.arrow,f=t.modifiersData.popperOffsets,d=J(t.placement),v=vi(d),y=[oe,ce].indexOf(d)>=0?"height":"width";if(a&&f){var w=(V=t,Bi("number"!=typeof(F="function"==typeof(F=r.padding)?F(Object.assign({},V.rects,{placement:V.placement})):F)?F:Hi(F,Ue))),_=pt(a),M="y"===v?ne:oe,x="y"===v?le:ce,L=t.rects.reference[y]+t.rects.reference[v]-f[v]-t.rects.popper[y],D=f[v]-t.rects.reference[v],k=kt(a),z=k?"y"===v?k.clientHeight||0:k.clientWidth||0:0,j=z/2-_[y]/2+(L/2-D/2),B=ri(w[M],j,z-_[y]-w[x]);t.modifiersData[o]=((e={})[v]=B,e.centerOffset=B-j,e)}},effect:function(i){var e=i.state,t=i.options.element,o=void 0===t?"[data-popper-arrow]":t;null!=o&&("string"!=typeof o||(o=e.elements.popper.querySelector(o)))&&Mi(e.elements.popper,o)&&(e.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function mt(i){return i.split("-")[1]}var to={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Wi(i){var e,se,_e,Q,t=i.popper,o=i.popperRect,r=i.placement,a=i.variation,f=i.offsets,d=i.position,v=i.gpuAcceleration,y=i.adaptive,w=i.roundOffsets,_=!0===w?(_e=(se=f).y,Q=window.devicePixelRatio||1,{x:oi(oi(se.x*Q)/Q)||0,y:oi(oi(_e*Q)/Q)||0}):"function"==typeof w?w(f):f,M=_.x,x=void 0===M?0:M,L=_.y,D=void 0===L?0:L,k=f.hasOwnProperty("x"),z=f.hasOwnProperty("y"),H=oe,P=ne,R=window;if(y){var j=kt(t),B="clientHeight",W="clientWidth";j===C(t)&&"static"!==We(j=Xe(t)).position&&"absolute"===d&&(B="scrollHeight",W="scrollWidth"),j=j,r!==ne&&(r!==oe&&r!==ce||a!==Ye)||(P=le,D-=j[B]-o.height,D*=v?1:-1),r!==oe&&(r!==ne&&r!==le||a!==Ye)||(H=ce,x-=j[W]-o.width,x*=v?1:-1)}var F,V=Object.assign({position:d},y&&to);return Object.assign({},V,v?((F={})[P]=z?"0":"",F[H]=k?"0":"",F.transform=(R.devicePixelRatio||1)<=1?"translate("+x+"px, "+D+"px)":"translate3d("+x+"px, "+D+"px, 0)",F):((e={})[P]=z?D+"px":"",e[H]=k?x+"px":"",e.transform="",e))}const _i={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(i){var e=i.state,t=i.options,o=t.gpuAcceleration,r=void 0===o||o,a=t.adaptive,f=void 0===a||a,d=t.roundOffsets,v=void 0===d||d,y={placement:J(e.placement),variation:mt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Wi(Object.assign({},y,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:f,roundOffsets:v})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Wi(Object.assign({},y,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:v})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var si={passive:!0};const bi={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(i){var e=i.state,t=i.instance,o=i.options,r=o.scroll,a=void 0===r||r,f=o.resize,d=void 0===f||f,v=C(e.elements.popper),y=[].concat(e.scrollParents.reference,e.scrollParents.popper);return a&&y.forEach(function(w){w.addEventListener("scroll",t.update,si)}),d&&v.addEventListener("resize",t.update,si),function(){a&&y.forEach(function(w){w.removeEventListener("scroll",t.update,si)}),d&&v.removeEventListener("resize",t.update,si)}},data:{}};var io={left:"right",right:"left",bottom:"top",top:"bottom"};function ai(i){return i.replace(/left|right|bottom|top/g,function(e){return io[e]})}var no={start:"end",end:"start"};function Fi(i){return i.replace(/start|end/g,function(e){return no[e]})}function yi(i){var e=C(i);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function wi(i){return Ke(Xe(i)).left+yi(i).scrollLeft}function Ei(i){var e=We(i);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function $i(i){return["html","body","#document"].indexOf(A(i))>=0?i.ownerDocument.body:Y(i)&&Ei(i)?i:$i(ni(i))}function Nt(i,e){var t;void 0===e&&(e=[]);var o=$i(i),r=o===(null==(t=i.ownerDocument)?void 0:t.body),a=C(o),f=r?[a].concat(a.visualViewport||[],Ei(o)?o:[]):o,d=e.concat(f);return r?d:d.concat(Nt(ni(f)))}function Oi(i){return Object.assign({},i,{left:i.x,top:i.y,right:i.x+i.width,bottom:i.y+i.height})}function zi(i,e){return e===St?Oi((o=C(t=i),f=(r=Xe(t)).clientWidth,d=r.clientHeight,v=0,y=0,(a=o.visualViewport)&&(f=a.width,d=a.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(v=a.offsetLeft,y=a.offsetTop)),{width:f,height:d,x:v+wi(t),y})):Y(e)?function(t){var o=Ke(t);return o.top=o.top+t.clientTop,o.left=o.left+t.clientLeft,o.bottom=o.top+t.clientHeight,o.right=o.left+t.clientWidth,o.width=t.clientWidth,o.height=t.clientHeight,o.x=o.left,o.y=o.top,o}(e):Oi(function(t){var o,r=Xe(t),a=yi(t),f=null==(o=t.ownerDocument)?void 0:o.body,d=Qe(r.scrollWidth,r.clientWidth,f?f.scrollWidth:0,f?f.clientWidth:0),v=Qe(r.scrollHeight,r.clientHeight,f?f.scrollHeight:0,f?f.clientHeight:0),y=-a.scrollLeft+wi(t),w=-a.scrollTop;return"rtl"===We(f||r).direction&&(y+=Qe(r.clientWidth,f?f.clientWidth:0)-d),{width:d,height:v,x:y,y:w}}(Xe(i)));var t,o,r,a,f,d,v,y}function qi(i){var e,t=i.reference,o=i.element,r=i.placement,a=r?J(r):null,f=r?mt(r):null,d=t.x+t.width/2-o.width/2,v=t.y+t.height/2-o.height/2;switch(a){case ne:e={x:d,y:t.y-o.height};break;case le:e={x:d,y:t.y+t.height};break;case ce:e={x:t.x+t.width,y:v};break;case oe:e={x:t.x-o.width,y:v};break;default:e={x:t.x,y:t.y}}var y=a?vi(a):null;if(null!=y){var w="y"===y?"height":"width";switch(f){case Re:e[y]=e[y]-(t[w]/2-o[w]/2);break;case Ye:e[y]=e[y]+(t[w]/2-o[w]/2)}}return e}function gt(i,e){void 0===e&&(e={});var fe,_e,Q,K,st,de,rt,Fe,ae,o=e.placement,r=void 0===o?i.placement:o,a=e.boundary,f=void 0===a?ii:a,d=e.rootBoundary,v=void 0===d?St:d,y=e.elementContext,w=void 0===y?Te:y,_=e.altBoundary,M=void 0!==_&&_,x=e.padding,L=void 0===x?0:x,D=Bi("number"!=typeof L?L:Hi(L,Ue)),z=i.rects.popper,H=i.elements[M?w===Te?n:Te:w],P=(fe=$(H)?H:H.contextElement||Xe(i.elements.popper),Q=v,rt="clippingParents"===(_e=f)?(st=Nt(ni(K=fe)),$(de=["absolute","fixed"].indexOf(We(K).position)>=0&&Y(K)?kt(K):K)?st.filter(function(he){return $(he)&&Mi(he,de)&&"body"!==A(he)}):[]):[].concat(_e),ae=(Fe=[].concat(rt,[Q])).reduce(function(K,st){var de=zi(fe,st);return K.top=Qe(de.top,K.top),K.right=Dt(de.right,K.right),K.bottom=Dt(de.bottom,K.bottom),K.left=Qe(de.left,K.left),K},zi(fe,Fe[0])),ae.width=ae.right-ae.left,ae.height=ae.bottom-ae.top,ae.x=ae.left,ae.y=ae.top,ae),R=Ke(i.elements.reference),j=qi({reference:R,element:z,strategy:"absolute",placement:r}),B=Oi(Object.assign({},z,j)),W=w===Te?B:R,F={top:P.top-W.top+D.top,bottom:W.bottom-P.bottom+D.bottom,left:P.left-W.left+D.left,right:W.right-P.right+D.right},V=i.modifiersData.offset;if(w===Te&&V){var se=V[r];Object.keys(F).forEach(function(fe){var _e=[ce,le].indexOf(fe)>=0?1:-1,Q=[ne,le].indexOf(fe)>=0?"y":"x";F[fe]+=se[Q]*_e})}return F}const Vi={name:"flip",enabled:!0,phase:"main",fn:function(i){var e=i.state,t=i.options,o=i.name;if(!e.modifiersData[o]._skip){for(var r=t.mainAxis,a=void 0===r||r,f=t.altAxis,d=void 0===f||f,v=t.fallbackPlacements,y=t.padding,w=t.boundary,_=t.rootBoundary,M=t.altBoundary,x=t.flipVariations,L=void 0===x||x,D=t.allowedAutoPlacements,k=e.options.placement,z=J(k),H=v||(z!==k&&L?function(he){if(J(he)===dt)return[];var be=ai(he);return[Fi(he),be,Fi(be)]}(k):[ai(k)]),P=[k].concat(H).reduce(function(he,be){return he.concat(J(be)===dt?function oo(i,e){void 0===e&&(e={});var r=e.boundary,a=e.rootBoundary,f=e.padding,d=e.flipVariations,v=e.allowedAutoPlacements,y=void 0===v?l:v,w=mt(e.placement),_=w?d?s:s.filter(function(L){return mt(L)===w}):Ue,M=_.filter(function(L){return y.indexOf(L)>=0});0===M.length&&(M=_);var x=M.reduce(function(L,D){return L[D]=gt(i,{placement:D,boundary:r,rootBoundary:a,padding:f})[J(D)],L},{});return Object.keys(x).sort(function(L,D){return x[L]-x[D]})}(e,{placement:be,boundary:w,rootBoundary:_,padding:y,flipVariations:L,allowedAutoPlacements:D}):be)},[]),R=e.rects.reference,j=e.rects.popper,B=new Map,W=!0,F=P[0],V=0;V<P.length;V++){var se=P[V],fe=J(se),_e=mt(se)===Re,Q=[ne,le].indexOf(fe)>=0,rt=Q?"width":"height",Fe=gt(e,{placement:se,boundary:w,rootBoundary:_,altBoundary:M,padding:y}),$e=Q?_e?ce:oe:_e?le:ne;R[rt]>j[rt]&&($e=ai($e));var ae=ai($e),K=[];if(a&&K.push(Fe[fe]<=0),d&&K.push(Fe[$e]<=0,Fe[ae]<=0),K.every(function(he){return he})){F=se,W=!1;break}B.set(se,K)}if(W)for(var st=function(he){var be=P.find(function(di){var Ft=B.get(di);if(Ft)return Ft.slice(0,he).every(function(bt){return bt})});if(be)return F=be,"break"},de=L?3:1;de>0&&"break"!==st(de);de--);e.placement!==F&&(e.modifiersData[o]._skip=!0,e.placement=F,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ui(i,e,t){return void 0===t&&(t={x:0,y:0}),{top:i.top-e.height-t.y,right:i.right-e.width+t.x,bottom:i.bottom-e.height+t.y,left:i.left-e.width-t.x}}function Yi(i){return[ne,ce,le,oe].some(function(e){return i[e]>=0})}const Ki={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(i){var e=i.state,t=i.name,o=e.rects.reference,r=e.rects.popper,a=e.modifiersData.preventOverflow,f=gt(e,{elementContext:"reference"}),d=gt(e,{altBoundary:!0}),v=Ui(f,o),y=Ui(d,r,a),w=Yi(v),_=Yi(y);e.modifiersData[t]={referenceClippingOffsets:v,popperEscapeOffsets:y,isReferenceHidden:w,hasPopperEscaped:_},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":w,"data-popper-escaped":_})}},Xi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(i){var e=i.state,o=i.name,r=i.options.offset,a=void 0===r?[0,0]:r,f=l.reduce(function(w,_){return w[_]=(x=e.rects,L=a,D=J(M=_),k=[oe,ne].indexOf(D)>=0?-1:1,H=(H=(z="function"==typeof L?L(Object.assign({},x,{placement:M})):L)[0])||0,P=((P=z[1])||0)*k,[oe,ce].indexOf(D)>=0?{x:P,y:H}:{x:H,y:P}),w;var M,x,L,D,k,z,H,P},{}),d=f[e.placement],y=d.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=d.x,e.modifiersData.popperOffsets.y+=y),e.modifiersData[o]=f}},Ti={name:"popperOffsets",enabled:!0,phase:"read",fn:function(i){var e=i.state;e.modifiersData[i.name]=qi({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},Qi={name:"preventOverflow",enabled:!0,phase:"main",fn:function(i){var e=i.state,t=i.options,o=i.name,r=t.mainAxis,a=void 0===r||r,f=t.altAxis,d=void 0!==f&&f,M=t.tether,x=void 0===M||M,L=t.tetherOffset,D=void 0===L?0:L,k=gt(e,{boundary:t.boundary,rootBoundary:t.rootBoundary,padding:t.padding,altBoundary:t.altBoundary}),z=J(e.placement),H=mt(e.placement),P=!H,R=vi(z),j="x"===R?"y":"x",B=e.modifiersData.popperOffsets,W=e.rects.reference,F=e.rects.popper,V="function"==typeof D?D(Object.assign({},e.rects,{placement:e.placement})):D,se={x:0,y:0};if(B){if(a||d){var fe="y"===R?ne:oe,_e="y"===R?le:ce,Q="y"===R?"height":"width",rt=B[R],Fe=B[R]+k[fe],$e=B[R]-k[_e],ae=x?-F[Q]/2:0,K=H===Re?W[Q]:F[Q],st=H===Re?-F[Q]:-W[Q],de=e.elements.arrow,he=x&&de?pt(de):{width:0,height:0},be=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},di=be[fe],Ft=be[_e],bt=ri(0,W[Q],he[Q]),Ro=P?W[Q]/2-ae-bt-di-V:K-bt-di-V,Wo=P?-W[Q]/2+ae+bt+Ft+V:st+bt+Ft+V,Ii=e.elements.arrow&&kt(e.elements.arrow),Vn=e.modifiersData.offset?e.modifiersData.offset[e.placement][R]:0,Un=B[R]+Ro-Vn-(Ii?"y"===R?Ii.clientTop||0:Ii.clientLeft||0:0),Yn=B[R]+Wo-Vn;if(a){var Kn=ri(x?Dt(Fe,Un):Fe,rt,x?Qe($e,Yn):$e);B[R]=Kn,se[R]=Kn-rt}if(d){var pi=B[j],Xn=pi+k["x"===R?ne:oe],Qn=pi-k["x"===R?le:ce],Gn=ri(x?Dt(Xn,Un):Xn,pi,x?Qe(Qn,Yn):Qn);B[j]=Gn,se[j]=Gn-pi}}e.modifiersData[o]=se}},requiresIfExists:["offset"]};function ro(i,e,t){void 0===t&&(t=!1);var o=Y(e);Y(e)&&e.getBoundingClientRect();var r,a,f=Xe(e),d=Ke(i),v={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(o||!o&&!t)&&(("body"!==A(e)||Ei(f))&&(v=(r=e)!==C(r)&&Y(r)?{scrollLeft:(a=r).scrollLeft,scrollTop:a.scrollTop}:yi(r)),Y(e)?((y=Ke(e)).x+=e.clientLeft,y.y+=e.clientTop):f&&(y.x=wi(f))),{x:d.left+v.scrollLeft-y.x,y:d.top+v.scrollTop-y.y,width:d.width,height:d.height}}function so(i){var e=new Map,t=new Set,o=[];function r(a){t.add(a.name),[].concat(a.requires||[],a.requiresIfExists||[]).forEach(function(f){if(!t.has(f)){var d=e.get(f);d&&r(d)}}),o.push(a)}return i.forEach(function(a){e.set(a.name,a)}),i.forEach(function(a){t.has(a.name)||r(a)}),o}var Gi={placement:"bottom",modifiers:[],strategy:"absolute"};function Ji(){for(var i=arguments.length,e=new Array(i),t=0;t<i;t++)e[t]=arguments[t];return!e.some(function(o){return!(o&&"function"==typeof o.getBoundingClientRect)})}function li(i){void 0===i&&(i={});var t=i.defaultModifiers,o=void 0===t?[]:t,r=i.defaultOptions,a=void 0===r?Gi:r;return function(f,d,v){void 0===v&&(v=a);var y,w,_={placement:"bottom",orderedModifiers:[],options:Object.assign({},Gi,a),modifiersData:{},elements:{reference:f,popper:d},attributes:{},styles:{}},M=[],x=!1,L={state:_,setOptions:function(k){var z="function"==typeof k?k(_.options):k;D(),_.options=Object.assign({},a,_.options,z),_.scrollParents={reference:$(f)?Nt(f):f.contextElement?Nt(f.contextElement):[],popper:Nt(d)};var H,P,j,B,R=(H=[].concat(o,_.options.modifiers),P=H.reduce(function(j,B){var W=j[B.name];return j[B.name]=W?Object.assign({},W,B,{options:Object.assign({},W.options,B.options),data:Object.assign({},W.data,B.data)}):B,j},{}),j=Object.keys(P).map(function(j){return P[j]}),B=so(j),N.reduce(function(W,F){return W.concat(B.filter(function(V){return V.phase===F}))},[]));return _.orderedModifiers=R.filter(function(j){return j.enabled}),_.orderedModifiers.forEach(function(j){var W=j.options,V=j.effect;if("function"==typeof V){var se=V({state:_,name:j.name,instance:L,options:void 0===W?{}:W});M.push(se||function(){})}}),L.update()},forceUpdate:function(){if(!x){var k=_.elements,z=k.reference,H=k.popper;if(Ji(z,H)){_.rects={reference:ro(z,kt(H),"fixed"===_.options.strategy),popper:pt(H)},_.reset=!1,_.placement=_.options.placement,_.orderedModifiers.forEach(function(V){return _.modifiersData[V.name]=Object.assign({},V.data)});for(var P=0;P<_.orderedModifiers.length;P++)if(!0!==_.reset){var R=_.orderedModifiers[P],j=R.fn,B=R.options;"function"==typeof j&&(_=j({state:_,options:void 0===B?{}:B,name:R.name,instance:L})||_)}else _.reset=!1,P=-1}}},update:(y=function(){return new Promise(function(k){L.forceUpdate(),k(_)})},function(){return w||(w=new Promise(function(k){Promise.resolve().then(function(){w=void 0,k(y())})})),w}),destroy:function(){D(),x=!0}};if(!Ji(f,d))return L;function D(){M.forEach(function(k){return k()}),M=[]}return L.setOptions(v).then(function(k){!x&&v.onFirstUpdate&&v.onFirstUpdate(k)}),L}}var ao=li(),lo=li({defaultModifiers:[bi,Ti,_i,re]}),Ai=li({defaultModifiers:[bi,Ti,_i,re,Xi,Vi,Qi,Ri,Ki]});const Zi=Object.freeze({__proto__:null,popperGenerator:li,detectOverflow:gt,createPopperBase:ao,createPopper:Ai,createPopperLite:lo,top:ne,bottom:le,right:ce,left:oe,auto:dt,basePlacements:Ue,start:Re,end:Ye,clippingParents:ii,viewport:St,popper:Te,reference:n,variationPlacements:s,placements:l,beforeRead:c,read:u,afterRead:h,beforeMain:m,main:g,afterMain:b,beforeWrite:O,write:T,afterWrite:E,modifierPhases:N,applyStyles:re,arrow:Ri,computeStyles:_i,eventListeners:bi,flip:Vi,hide:Ki,offset:Xi,popperOffsets:Ti,preventOverflow:Qi}),Ci="dropdown",xi="Escape",tn="ArrowUp",Li="ArrowDown",co=new RegExp("ArrowUp|ArrowDown|Escape"),nn="click.bs.dropdown.data-api",on="keydown.bs.dropdown.data-api",vt="show",Pt='[data-bs-toggle="dropdown"]',Si=".dropdown-menu",fo=ee()?"top-end":"top-start",ho=ee()?"top-start":"top-end",uo=ee()?"bottom-end":"bottom-start",po=ee()?"bottom-start":"bottom-end",mo=ee()?"left-start":"right-start",go=ee()?"right-start":"left-start",vo={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},_o={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class me extends ie{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 vo}static get DefaultType(){return _o}static get NAME(){return Ci}toggle(){return this._isShown()?this.hide():this.show()}show(){if(pe(this._element)||this._isShown(this._menu))return;const e={relatedTarget:this._element};if(p.trigger(this._element,"show.bs.dropdown",e).defaultPrevented)return;const t=me.getParentFromElement(this._element);this._inNavbar?X.setDataAttribute(this._menu,"popper","none"):this._createPopper(t),"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&[].concat(...document.body.children).forEach(o=>p.on(o,"mouseover",Je)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(vt),this._element.classList.add(vt),p.trigger(this._element,"shown.bs.dropdown",e)}hide(){!pe(this._element)&&this._isShown(this._menu)&&this._completeHide({relatedTarget:this._element})}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){p.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>p.off(t,"mouseover",Je)),this._popper&&this._popper.destroy(),this._menu.classList.remove(vt),this._element.classList.remove(vt),this._element.setAttribute("aria-expanded","false"),X.removeDataAttribute(this._menu,"popper"),p.trigger(this._element,"hidden.bs.dropdown",e))}_getConfig(e){if(e=I(I(I({},this.constructor.Default),X.getDataAttributes(this._element)),e),G(Ci,e,this.constructor.DefaultType),"object"==typeof e.reference&&!Le(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Ci.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(e){if(void 0===Zi)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=e:Le(this._config.reference)?t=ye(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const o=this._getPopperConfig(),r=o.modifiers.find(a=>"applyStyles"===a.name&&!1===a.enabled);this._popper=Ai(t,this._menu,o),r&&X.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains(vt)}_getMenuElement(){return S.next(this._element,Si)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return mo;if(e.classList.contains("dropstart"))return go;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?ho:fo:t?po:uo}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(t=>Number.parseInt(t,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}]),I(I({},e),"function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig)}_selectMenuItem({key:e,target:t}){const o=S.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(Se);o.length&&zt(o,t,e===Li,!o.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=me.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=S.find(Pt);for(let o=0,r=t.length;o<r;o++){const a=me.getInstance(t[o]);if(!a||!1===a._config.autoClose||!a._isShown())continue;const f={relatedTarget:a._element};if(e){const d=e.composedPath(),v=d.includes(a._menu);if(d.includes(a._element)||"inside"===a._config.autoClose&&!v||"outside"===a._config.autoClose&&v||a._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;"click"===e.type&&(f.clickEvent=e)}a._completeHide(f)}}static getParentFromElement(e){return Ce(e)||e.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?"Space"===e.key||e.key!==xi&&(e.key!==Li&&e.key!==tn||e.target.closest(Si)):!co.test(e.key))return;const t=this.classList.contains(vt);if(!t&&e.key===xi||(e.preventDefault(),e.stopPropagation(),pe(this)))return;const o=this.matches(Pt)?this:S.prev(this,Pt)[0],r=me.getOrCreateInstance(o);if(e.key!==xi)return e.key===tn||e.key===Li?(t||r.show(),void r._selectMenuItem(e)):void(t&&"Space"!==e.key||me.clearMenus());r.hide()}}p.on(document,on,Pt,me.dataApiKeydownHandler),p.on(document,on,Si,me.dataApiKeydownHandler),p.on(document,nn,me.clearMenus),p.on(document,"keyup.bs.dropdown.data-api",me.clearMenus),p.on(document,nn,Pt,function(i){i.preventDefault(),me.getOrCreateInstance(this).toggle()}),te(me);const rn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",sn=".sticky-top";class ki{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",t=>t+e),this._setElementAttributes(rn,"paddingRight",t=>t+e),this._setElementAttributes(sn,"marginRight",t=>t-e)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,o){const r=this.getWidth();this._applyManipulationCallback(e,a=>{if(a!==this._element&&window.innerWidth>a.clientWidth+r)return;this._saveInitialAttribute(a,t);const f=window.getComputedStyle(a)[t];a.style[t]=`${o(Number.parseFloat(f))}px`})}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(rn,"paddingRight"),this._resetElementAttributes(sn,"marginRight")}_saveInitialAttribute(e,t){const o=e.style[t];o&&X.setDataAttribute(e,t,o)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,o=>{const r=X.getDataAttribute(o,t);void 0===r?o.style.removeProperty(t):(X.removeDataAttribute(o,t),o.style[t]=r)})}_applyManipulationCallback(e,t){Le(e)?t(e):S.find(e,this._element).forEach(t)}isOverflowing(){return this.getWidth()>0}}const bo={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},yo={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},ln="mousedown.bs.backdrop";class cn{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&this._getElement(),this._getElement().classList.add("show"),this._emulateAnimation(()=>{ge(e)})):ge(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),ge(e)})):ge(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=I(I({},bo),"object"==typeof e?e:{})).rootElement=ye(e.rootElement),G("backdrop",e,yo),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),p.on(this._getElement(),ln,()=>{ge(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(p.off(this._element,ln),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){Ne(e,this._getElement(),this._config.isAnimated)}}const wo={trapElement:null,autofocus:!0},Eo={trapElement:"element",autofocus:"boolean"},fn=".bs.focustrap",hn="backward";class un{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(),p.off(document,fn),p.on(document,"focusin.bs.focustrap",o=>this._handleFocusin(o)),p.on(document,"keydown.tab.bs.focustrap",o=>this._handleKeydown(o)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,p.off(document,fn))}_handleFocusin(e){const{target:t}=e,{trapElement:o}=this._config;if(t===document||t===o||o.contains(t))return;const r=S.focusableChildren(o);0===r.length?o.focus():this._lastTabNavDirection===hn?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?hn:"forward")}_getConfig(e){return e=I(I({},wo),"object"==typeof e?e:{}),G("focustrap",e,Eo),e}}const mn={backdrop:!0,keyboard:!0,focus:!0},Oo={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},gn="hidden.bs.modal",vn="show.bs.modal",_n="resize.bs.modal",bn="click.dismiss.bs.modal",yn="keydown.dismiss.bs.modal",wn="mousedown.dismiss.bs.modal",En="modal-open",Di="modal-static";class nt extends ie{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=S.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 ki}static get Default(){return mn}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||p.trigger(this._element,vn,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(En),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),p.on(this._dialog,wn,()=>{p.one(this._element,"mouseup.dismiss.bs.modal",t=>{t.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(e)))}hide(){if(!this._isShown||this._isTransitioning||p.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("show"),p.off(this._element,bn),p.off(this._dialog,wn),this._queueCallback(()=>this._hideModal(),this._element,e)}dispose(){[window,this._dialog].forEach(e=>p.off(e,".bs.modal")),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new cn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new un({trapElement:this._element})}_getConfig(e){return e=I(I(I({},mn),X.getDataAttributes(this._element)),"object"==typeof e?e:{}),G("modal",e,Oo),e}_showElement(e){const t=this._isAnimated(),o=S.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,o&&(o.scrollTop=0),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,p.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,t)}_setEscapeEvent(){this._isShown?p.on(this._element,yn,e=>{this._config.keyboard&&"Escape"===e.key?(e.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==e.key||this._triggerBackdropTransition()}):p.off(this._element,yn)}_setResizeEvent(){this._isShown?p.on(window,_n,()=>this._adjustDialog()):p.off(window,_n)}_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(En),this._resetAdjustments(),this._scrollBar.reset(),p.trigger(this._element,gn)})}_showBackdrop(e){p.on(this._element,bn,t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.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(p.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:e,scrollHeight:t,style:o}=this._element,r=t>document.documentElement.clientHeight;!r&&"hidden"===o.overflowY||e.contains(Di)||(r||(o.overflowY="hidden"),e.add(Di),this._queueCallback(()=>{e.remove(Di),r||this._queueCallback(()=>{o.overflowY=""},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),o=t>0;(!o&&e&&!ee()||o&&!e&&ee())&&(this._element.style.paddingLeft=`${t}px`),(o&&!e&&!ee()||!o&&e&&ee())&&(this._element.style.paddingRight=`${t}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const o=nt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===o[e])throw new TypeError(`No method named "${e}"`);o[e](t)}})}}p.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(i){const e=Ce(this);["A","AREA"].includes(this.tagName)&&i.preventDefault(),p.one(e,vn,o=>{o.defaultPrevented||p.one(e,gn,()=>{Se(this)&&this.focus()})});const t=S.findOne(".modal.show");t&&nt.getInstance(t).hide(),nt.getOrCreateInstance(e).toggle(this)}),et(nt),te(nt);const Tn="offcanvas",An={backdrop:!0,keyboard:!0,scroll:!1},To={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},xn=".offcanvas.show",Ln="hidden.bs.offcanvas";class Ge extends ie{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 Tn}static get Default(){return An}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||p.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new ki).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show"),this._queueCallback(()=>{this._config.scroll||this._focustrap.activate(),p.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&(p.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove("show"),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 ki).reset(),p.trigger(this._element,Ln)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e=I(I(I({},An),X.getDataAttributes(this._element)),"object"==typeof e?e:{}),G(Tn,e,To),e}_initializeBackDrop(){return new cn({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new un({trapElement:this._element})}_addEventListeners(){p.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=Ge.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)}})}}p.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(i){const e=Ce(this);if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),pe(this))return;p.one(e,Ln,()=>{Se(this)&&this.focus()});const t=S.findOne(xn);t&&t!==e&&Ge.getInstance(t).hide(),Ge.getOrCreateInstance(e).toggle(this)}),p.on(window,"load.bs.offcanvas.data-api",()=>S.find(xn).forEach(i=>Ge.getOrCreateInstance(i).show())),et(Ge),te(Ge);const Ao=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Co=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,xo=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Lo=(i,e)=>{const t=i.nodeName.toLowerCase();if(e.includes(t))return!Ao.has(t)||Boolean(Co.test(i.nodeValue)||xo.test(i.nodeValue));const o=e.filter(r=>r instanceof RegExp);for(let r=0,a=o.length;r<a;r++)if(o[r].test(t))return!0;return!1};function Sn(i,e,t){if(!i.length)return i;if(t&&"function"==typeof t)return t(i);const o=(new window.DOMParser).parseFromString(i,"text/html"),r=[].concat(...o.body.querySelectorAll("*"));for(let a=0,f=r.length;a<f;a++){const d=r[a],v=d.nodeName.toLowerCase();if(!Object.keys(e).includes(v)){d.remove();continue}const y=[].concat(...d.attributes),w=[].concat(e["*"]||[],e[v]||[]);y.forEach(_=>{Lo(_,w)||d.removeAttribute(_.nodeName)})}return o.body.innerHTML}const kn="tooltip",So=new Set(["sanitize","allowList","sanitizeFn"]),ko={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)"},Do={AUTO:"auto",TOP:"top",RIGHT:ee()?"left":"right",BOTTOM:"bottom",LEFT:ee()?"right":"left"},No={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',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},Po={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"},ci="fade",It="show",Mt="show",Dn=".tooltip-inner",Pn="hide.bs.modal",fi="hover";class ot extends ie{constructor(e,t){if(void 0===Zi)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(t),this.tip=null,this._setListeners()}static get Default(){return No}static get NAME(){return kn}static get Event(){return Po}static get DefaultType(){return ko}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(It))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),p.off(this._element.closest(".modal"),Pn,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=p.trigger(this._element,this.constructor.Event.SHOW),t=yt(this._element),o=null===t?this._element.ownerDocument.documentElement.contains(this._element):t.contains(this._element);if(e.defaultPrevented||!o)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(Dn).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const r=this.getTipElement(),a=(_=>{do{_+=Math.floor(1e6*Math.random())}while(document.getElementById(_));return _})(this.constructor.NAME);r.setAttribute("id",a),this._element.setAttribute("aria-describedby",a),this._config.animation&&r.classList.add(ci);const f="function"==typeof this._config.placement?this._config.placement.call(this,r,this._element):this._config.placement,d=this._getAttachment(f);this._addAttachmentClass(d);const{container:v}=this._config;qe.set(r,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(v.append(r),p.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=Ai(this._element,r,this._getPopperConfig(d)),r.classList.add(It);const y=this._resolvePossibleFunction(this._config.customClass);y&&r.classList.add(...y.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(_=>{p.on(_,"mouseover",Je)});const w=this.tip.classList.contains(ci);this._queueCallback(()=>{const _=this._hoverState;this._hoverState=null,p.trigger(this._element,this.constructor.Event.SHOWN),"out"===_&&this._leave(null,this)},this.tip,w)}hide(){if(!this._popper)return;const e=this.getTipElement();if(p.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;e.classList.remove(It),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(o=>p.off(o,"mouseover",Je)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const t=this.tip.classList.contains(ci);this._queueCallback(()=>{this._isWithActiveTrigger()||(this._hoverState!==Mt&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),p.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(ci,It),this.tip=t,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),Dn)}_sanitizeAndSetContent(e,t,o){const r=S.findOne(o,e);t||!r?this.setElementContent(r,t):r.remove()}setElementContent(e,t){if(null!==e)return Le(t)?(t=ye(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=Sn(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(t=>Number.parseInt(t,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:o=>this._handlePopperPlacementChange(o)}],onFirstUpdate:o=>{o.options.placement!==o.placement&&this._handlePopperPlacementChange(o)}};return I(I({},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 Do[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(e=>{if("click"===e)p.on(this._element,this.constructor.Event.CLICK,this._config.selector,t=>this.toggle(t));else if("manual"!==e){const o=e===fi?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;p.on(this._element,e===fi?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,this._config.selector,r=>this._enter(r)),p.on(this._element,o,this._config.selector,r=>this._leave(r))}}),this._hideModalHandler=()=>{this._element&&this.hide()},p.on(this._element.closest(".modal"),Pn,this._hideModalHandler),this._config.selector?this._config=mi(I({},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?"focus":fi]=!0),t.getTipElement().classList.contains(It)||t._hoverState===Mt?t._hoverState=Mt:(clearTimeout(t._timeout),t._hoverState=Mt,t._config.delay&&t._config.delay.show?t._timeout=setTimeout(()=>{t._hoverState===Mt&&t.show()},t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?"focus":fi]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t._config.delay&&t._config.delay.hide?t._timeout=setTimeout(()=>{"out"===t._hoverState&&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=X.getDataAttributes(this._element);return Object.keys(t).forEach(o=>{So.has(o)&&delete t[o]}),(e=I(I(I({},this.constructor.Default),t),"object"==typeof e&&e?e:{})).container=!1===e.container?document.body:ye(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()),G(kn,e,this.constructor.DefaultType),e.sanitize&&(e.template=Sn(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"),o=e.getAttribute("class").match(t);null!==o&&o.length>0&&o.map(r=>r.trim()).forEach(r=>e.classList.remove(r))}_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=ot.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}te(ot);const Io=mi(I({},ot.Default),{placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Mo=mi(I({},ot.DefaultType),{content:"(string|element|function)"}),jo={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 hi extends ot{static get Default(){return Io}static get NAME(){return"popover"}static get Event(){return jo}static get DefaultType(){return Mo}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=hi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}te(hi);const Mn="scrollspy",jn={offset:10,method:"auto",target:""},Bo={offset:"number",method:"string",target:"(string|element)"},_t="active",Pi=".nav-link, .list-group-item, .dropdown-item",Bn="position";class jt extends ie{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,p.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return jn}static get NAME(){return Mn}refresh(){const t="auto"===this._config.method?this._scrollElement===this._scrollElement.window?"offset":Bn:this._config.method,o=t===Bn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),S.find(Pi,this._config.target).map(r=>{const a=Z(r),f=a?S.findOne(a):null;if(f){const d=f.getBoundingClientRect();if(d.width||d.height)return[X[t](f).top+o,a]}return null}).filter(r=>r).sort((r,a)=>r[0]-a[0]).forEach(r=>{this._offsets.push(r[0]),this._targets.push(r[1])})}dispose(){p.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(e){return(e=I(I(I({},jn),X.getDataAttributes(this._element)),"object"==typeof e&&e?e:{})).target=ye(e.target)||document.documentElement,G(Mn,e,Bo),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(),o=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=o){const r=this._targets[this._targets.length-1];this._activeTarget!==r&&this._activate(r)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let r=this._offsets.length;r--;)this._activeTarget!==this._targets[r]&&e>=this._offsets[r]&&(void 0===this._offsets[r+1]||e<this._offsets[r+1])&&this._activate(this._targets[r])}}_activate(e){this._activeTarget=e,this._clear();const t=Pi.split(",").map(r=>`${r}[data-bs-target="${e}"],${r}[href="${e}"]`),o=S.findOne(t.join(","),this._config.target);o.classList.add(_t),o.classList.contains("dropdown-item")?S.findOne(".dropdown-toggle",o.closest(".dropdown")).classList.add(_t):S.parents(o,".nav, .list-group").forEach(r=>{S.prev(r,".nav-link, .list-group-item").forEach(a=>a.classList.add(_t)),S.prev(r,".nav-item").forEach(a=>{S.children(a,".nav-link").forEach(f=>f.classList.add(_t))})}),p.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})}_clear(){S.find(Pi,this._config.target).filter(e=>e.classList.contains(_t)).forEach(e=>e.classList.remove(_t))}static jQueryInterface(e){return this.each(function(){const t=jt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}p.on(window,"load.bs.scrollspy.data-api",()=>{S.find('[data-bs-spy="scroll"]').forEach(i=>new jt(i))}),te(jt);const Bt="active",Wn=".active",Fn=":scope > li > .active";class Ht extends ie{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Bt))return;let e;const t=Ce(this._element),o=this._element.closest(".nav, .list-group");o&&(e=S.find("UL"===o.nodeName||"OL"===o.nodeName?Fn:Wn,o),e=e[e.length-1]);const r=e?p.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;if(p.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==r&&r.defaultPrevented)return;this._activate(this._element,o);const a=()=>{p.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),p.trigger(this._element,"shown.bs.tab",{relatedTarget:e})};t?this._activate(t,t.parentNode,a):a()}_activate(e,t,o){const r=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?S.children(t,Wn):S.find(Fn,t))[0],a=o&&r&&r.classList.contains("fade"),f=()=>this._transitionComplete(e,r,o);r&&a?(r.classList.remove("show"),this._queueCallback(f,e,!0)):f()}_transitionComplete(e,t,o){if(t){t.classList.remove(Bt);const a=S.findOne(":scope > .dropdown-menu .active",t.parentNode);a&&a.classList.remove(Bt),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add(Bt),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),e.classList.contains("fade")&&e.classList.add("show");let r=e.parentNode;if(r&&"LI"===r.nodeName&&(r=r.parentNode),r&&r.classList.contains("dropdown-menu")){const a=e.closest(".dropdown");a&&S.find(".dropdown-toggle",a).forEach(f=>f.classList.add(Bt)),e.setAttribute("aria-expanded",!0)}o&&o()}static jQueryInterface(e){return this.each(function(){const t=Ht.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}p.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(i){["A","AREA"].includes(this.tagName)&&i.preventDefault(),pe(this)||Ht.getOrCreateInstance(this).show()}),te(Ht);const Rt="show",ui="showing",Ho={animation:"boolean",autohide:"boolean",delay:"number"},qn={animation:!0,autohide:!0,delay:5e3};class Wt extends ie{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 Ho}static get Default(){return qn}static get NAME(){return"toast"}show(){p.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add(Rt),this._element.classList.add(ui),this._queueCallback(()=>{this._element.classList.remove(ui),p.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this._element.classList.contains(Rt)&&(p.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(ui),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(ui),this._element.classList.remove(Rt),p.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(Rt)&&this._element.classList.remove(Rt),super.dispose()}_getConfig(e){return e=I(I(I({},qn),X.getDataAttributes(this._element)),"object"==typeof e&&e?e:{}),G("toast",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 o=e.relatedTarget;this._element===o||this._element.contains(o)||this._maybeScheduleHide()}_setListeners(){p.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),p.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),p.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),p.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=Wt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return et(Wt),te(Wt),{Alert:Oe,Button:Ve,Carousel:ve,Collapse:He,Dropdown:me,Modal:nt,Offcanvas:Ge,Popover:hi,ScrollSpy:jt,Tab:Ht,Toast:Wt,Tooltip:ot}});
|