dealpostools 1.0.9 → 1.1.2

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.
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkweb_tools=self.webpackChunkweb_tools||[]).push([[429],{7435:(we,ue,he)=>{he(8583)},8583:()=>{!function(e){const n=e.performance;function i(I){n&&n.mark&&n.mark(I)}function r(I,p){n&&n.measure&&n.measure(I,p)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function u(I){return c+I}const f=!0===e[u("forceDuplicateZoneCheck")];if(e.Zone){if(f||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let _=(()=>{class I{constructor(t,o){this._parent=t,this._name=o?o.name||"unnamed":"<root>",this._properties=o&&o.properties||{},this._zoneDelegate=new T(this,this._parent&&this._parent._zoneDelegate,o)}static assertZonePatched(){if(e.Promise!==J.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=I.current;for(;t.parent;)t=t.parent;return t}static get current(){return G.zone}static get currentTask(){return te}static __load_patch(t,o,y=!1){if(J.hasOwnProperty(t)){if(!y&&f)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const P="Zone:"+t;i(P),J[t]=o(e,I,le),r(P,P)}}get parent(){return this._parent}get name(){return this._name}get(t){const o=this.getZoneWith(t);if(o)return o._properties[t]}getZoneWith(t){let o=this;for(;o;){if(o._properties.hasOwnProperty(t))return o;o=o._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,o){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const y=this._zoneDelegate.intercept(this,t,o),P=this;return function(){return P.runGuarded(y,this,arguments,o)}}run(t,o,y,P){G={parent:G,zone:this};try{return this._zoneDelegate.invoke(this,t,o,y,P)}finally{G=G.parent}}runGuarded(t,o=null,y,P){G={parent:G,zone:this};try{try{return this._zoneDelegate.invoke(this,t,o,y,P)}catch(K){if(this._zoneDelegate.handleError(this,K))throw K}}finally{G=G.parent}}runTask(t,o,y){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||z).name+"; Execution: "+this.name+")");if(t.state===j&&(t.type===R||t.type===M))return;const P=t.state!=X;P&&t._transitionTo(X,O),t.runCount++;const K=te;te=t,G={parent:G,zone:this};try{t.type==M&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,o,y)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==j&&t.state!==Y&&(t.type==R||t.data&&t.data.isPeriodic?P&&t._transitionTo(O,X):(t.runCount=0,this._updateTaskCount(t,-1),P&&t._transitionTo(j,X,j))),G=G.parent,te=K}}scheduleTask(t){if(t.zone&&t.zone!==this){let y=this;for(;y;){if(y===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);y=y.parent}}t._transitionTo(q,j);const o=[];t._zoneDelegates=o,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(y){throw t._transitionTo(Y,q,j),this._zoneDelegate.handleError(this,y),y}return t._zoneDelegates===o&&this._updateTaskCount(t,1),t.state==q&&t._transitionTo(O,q),t}scheduleMicroTask(t,o,y,P){return this.scheduleTask(new m(v,t,o,y,P,void 0))}scheduleMacroTask(t,o,y,P,K){return this.scheduleTask(new m(M,t,o,y,P,K))}scheduleEventTask(t,o,y,P,K){return this.scheduleTask(new m(R,t,o,y,P,K))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||z).name+"; Execution: "+this.name+")");t._transitionTo(A,O,X);try{this._zoneDelegate.cancelTask(this,t)}catch(o){throw t._transitionTo(Y,A),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(t,-1),t._transitionTo(j,A),t.runCount=0,t}_updateTaskCount(t,o){const y=t._zoneDelegates;-1==o&&(t._zoneDelegates=null);for(let P=0;P<y.length;P++)y[P]._updateTaskCount(t.type,o)}}return I.__symbol__=u,I})();const g={name:"",onHasTask:(I,p,t,o)=>I.hasTask(t,o),onScheduleTask:(I,p,t,o)=>I.scheduleTask(t,o),onInvokeTask:(I,p,t,o,y,P)=>I.invokeTask(t,o,y,P),onCancelTask:(I,p,t,o)=>I.cancelTask(t,o)};class T{constructor(p,t,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=p,this._parentDelegate=t,this._forkZS=o&&(o&&o.onFork?o:t._forkZS),this._forkDlgt=o&&(o.onFork?t:t._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:t._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:t._interceptZS),this._interceptDlgt=o&&(o.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:t._invokeZS),this._invokeDlgt=o&&(o.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:t._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:t._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:t._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:t._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const y=o&&o.onHasTask;(y||t&&t._hasTaskZS)&&(this._hasTaskZS=y?o:g,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=p,o.onScheduleTask||(this._scheduleTaskZS=g,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=g,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=g,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(p,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,p,t):new _(p,t)}intercept(p,t,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,p,t,o):t}invoke(p,t,o,y,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,p,t,o,y,P):t.apply(o,y)}handleError(p,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,p,t)}scheduleTask(p,t){let o=t;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,p,t),o||(o=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=v)throw new Error("Task is missing scheduleFn.");d(t)}return o}invokeTask(p,t,o,y){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,p,t,o,y):t.callback.apply(o,y)}cancelTask(p,t){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,p,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");o=t.cancelFn(t)}return o}hasTask(p,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,p,t)}catch(o){this.handleError(p,o)}}_updateTaskCount(p,t){const o=this._taskCounts,y=o[p],P=o[p]=y+t;if(P<0)throw new Error("More tasks executed then were scheduled.");0!=y&&0!=P||this.hasTask(this.zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:p})}}class m{constructor(p,t,o,y,P,K){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=p,this.source=t,this.data=y,this.scheduleFn=P,this.cancelFn=K,!o)throw new Error("callback is not defined");this.callback=o;const l=this;this.invoke=p===R&&y&&y.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(p,t,o){p||(p=this),re++;try{return p.runCount++,p.zone.runTask(p,t,o)}finally{1==re&&L(),re--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(j,q)}_transitionTo(p,t,o){if(this._state!==t&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${p}', expecting state '${t}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=p,p==j&&(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 S=u("setTimeout"),D=u("Promise"),Z=u("then");let E,B=[],V=!1;function d(I){if(0===re&&0===B.length)if(E||e[D]&&(E=e[D].resolve(0)),E){let p=E[Z];p||(p=E.then),p.call(E,L)}else e[S](L,0);I&&B.push(I)}function L(){if(!V){for(V=!0;B.length;){const I=B;B=[];for(let p=0;p<I.length;p++){const t=I[p];try{t.zone.runTask(t,null,null)}catch(o){le.onUnhandledError(o)}}}le.microtaskDrainDone(),V=!1}}const z={name:"NO ZONE"},j="notScheduled",q="scheduling",O="scheduled",X="running",A="canceling",Y="unknown",v="microTask",M="macroTask",R="eventTask",J={},le={symbol:u,currentZoneFrame:()=>G,onUnhandledError:F,microtaskDrainDone:F,scheduleMicroTask:d,showUncaughtError:()=>!_[u("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:F,patchMethod:()=>F,bindArguments:()=>[],patchThen:()=>F,patchMacroTask:()=>F,patchEventPrototype:()=>F,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>F,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>F,wrapWithCurrentZone:()=>F,filterProperties:()=>[],attachOriginToPatched:()=>F,_redefineProperty:()=>F,patchCallbacks:()=>F};let G={parent:null,zone:new _(null,null)},te=null,re=0;function F(){}r("Zone","Zone"),e.Zone=_}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const ue=Object.getOwnPropertyDescriptor,he=Object.defineProperty,de=Object.getPrototypeOf,Be=Object.create,ut=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ie=Zone.__symbol__(Oe),se="true",ie="false",ke=Zone.__symbol__("");function Le(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,r,c){return Zone.current.scheduleMacroTask(e,n,i,r,c)}const x=Zone.__symbol__,Pe="undefined"!=typeof window,pe=Pe?window:void 0,$=Pe&&pe||"object"==typeof self&&self||global,ht=[null];function Ae(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Le(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const Ue="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,Re=!("nw"in $)&&void 0!==$.process&&"[object process]"==={}.toString.call($.process),je=!Re&&!Ue&&!(!Pe||!pe.HTMLElement),We=void 0!==$.process&&"[object process]"==={}.toString.call($.process)&&!Ue&&!(!Pe||!pe.HTMLElement),Ce={},qe=function(e){if(!(e=e||$.event))return;let n=Ce[e.type];n||(n=Ce[e.type]=x("ON_PROPERTY"+e.type));const i=this||e.target||$,r=i[n];let c;if(je&&i===pe&&"error"===e.type){const u=e;c=r&&r.call(this,u.message,u.filename,u.lineno,u.colno,u.error),!0===c&&e.preventDefault()}else c=r&&r.apply(this,arguments),null!=c&&!c&&e.preventDefault();return c};function Xe(e,n,i){let r=ue(e,n);if(!r&&i&&ue(i,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;const c=x("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete r.writable,delete r.value;const u=r.get,f=r.set,_=n.substr(2);let g=Ce[_];g||(g=Ce[_]=x("ON_PROPERTY"+_)),r.set=function(T){let m=this;!m&&e===$&&(m=$),m&&(m[g]&&m.removeEventListener(_,qe),f&&f.apply(m,ht),"function"==typeof T?(m[g]=T,m.addEventListener(_,qe,!1)):m[g]=null)},r.get=function(){let T=this;if(!T&&e===$&&(T=$),!T)return null;const m=T[g];if(m)return m;if(u){let S=u&&u.call(this);if(S)return r.set.call(this,S),"function"==typeof T.removeAttribute&&T.removeAttribute(n),S}return null},he(e,n,r),e[c]=!0}function Ye(e,n,i){if(n)for(let r=0;r<n.length;r++)Xe(e,"on"+n[r],i);else{const r=[];for(const c in e)"on"==c.substr(0,2)&&r.push(c);for(let c=0;c<r.length;c++)Xe(e,r[c],i)}}const ne=x("originalInstance");function ve(e){const n=$[e];if(!n)return;$[x(e)]=n,$[e]=function(){const c=Ae(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.")}},ae($[e],n);const i=new n(function(){});let r;for(r in i)"XMLHttpRequest"===e&&"responseBlob"===r||function(c){"function"==typeof i[c]?$[e].prototype[c]=function(){return this[ne][c].apply(this[ne],arguments)}:he($[e].prototype,c,{set:function(u){"function"==typeof u?(this[ne][c]=Le(u,e+"."+c),ae(this[ne][c],u)):this[ne][c]=u},get:function(){return this[ne][c]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&($[e][r]=n[r])}function ce(e,n,i){let r=e;for(;r&&!r.hasOwnProperty(n);)r=de(r);!r&&e[n]&&(r=e);const c=x(n);let u=null;if(r&&(!(u=r[c])||!r.hasOwnProperty(c))&&(u=r[c]=r[n],Fe(r&&ue(r,n)))){const _=i(u,c,n);r[n]=function(){return _(this,arguments)},ae(r[n],u)}return u}function _t(e,n,i){let r=null;function c(u){const f=u.data;return f.args[f.cbIdx]=function(){u.invoke.apply(this,arguments)},r.apply(f.target,f.args),u}r=ce(e,n,u=>function(f,_){const g=i(f,_);return g.cbIdx>=0&&"function"==typeof _[g.cbIdx]?Me(g.name,_[g.cbIdx],g,c):u.apply(f,_)})}function ae(e,n){e[x("OriginalDelegate")]=n}let $e=!1,He=!1;function mt(){if($e)return He;$e=!0;try{const e=pe.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(He=!0)}catch(e){}return He}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const r=Object.getOwnPropertyDescriptor,c=Object.defineProperty,f=i.symbol,_=[],g=!0===e[f("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],T=f("Promise"),m=f("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const s=l&&l.rejection;s?console.error("Unhandled Promise rejection:",s instanceof Error?s.message:s,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",s,s instanceof Error?s.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;_.length;){const l=_.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(s){Z(s)}}};const D=f("unhandledPromiseRejectionHandler");function Z(l){i.onUnhandledError(l);try{const s=n[D];"function"==typeof s&&s.call(this,l)}catch(s){}}function B(l){return l&&l.then}function V(l){return l}function E(l){return t.reject(l)}const d=f("state"),L=f("value"),z=f("finally"),j=f("parentPromiseValue"),q=f("parentPromiseState"),X=null,A=!0,Y=!1;function M(l,s){return a=>{try{G(l,s,a)}catch(h){G(l,!1,h)}}}const le=f("currentTaskTrace");function G(l,s,a){const h=function(){let l=!1;return function(a){return function(){l||(l=!0,a.apply(null,arguments))}}}();if(l===a)throw new TypeError("Promise resolved with itself");if(l[d]===X){let w=null;try{("object"==typeof a||"function"==typeof a)&&(w=a&&a.then)}catch(C){return h(()=>{G(l,!1,C)})(),l}if(s!==Y&&a instanceof t&&a.hasOwnProperty(d)&&a.hasOwnProperty(L)&&a[d]!==X)re(a),G(l,a[d],a[L]);else if(s!==Y&&"function"==typeof w)try{w.call(a,h(M(l,s)),h(M(l,!1)))}catch(C){h(()=>{G(l,!1,C)})()}else{l[d]=s;const C=l[L];if(l[L]=a,l[z]===z&&s===A&&(l[d]=l[q],l[L]=l[j]),s===Y&&a instanceof Error){const k=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;k&&c(a,le,{configurable:!0,enumerable:!1,writable:!0,value:k})}for(let k=0;k<C.length;)F(l,C[k++],C[k++],C[k++],C[k++]);if(0==C.length&&s==Y){l[d]=0;let k=a;try{throw new Error("Uncaught (in promise): "+function u(l){return l&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l)}(a)+(a&&a.stack?"\n"+a.stack:""))}catch(b){k=b}g&&(k.throwOriginal=!0),k.rejection=a,k.promise=l,k.zone=n.current,k.task=n.currentTask,_.push(k),i.scheduleMicroTask()}}}return l}const te=f("rejectionHandledHandler");function re(l){if(0===l[d]){try{const s=n[te];s&&"function"==typeof s&&s.call(this,{rejection:l[L],promise:l})}catch(s){}l[d]=Y;for(let s=0;s<_.length;s++)l===_[s].promise&&_.splice(s,1)}}function F(l,s,a,h,w){re(l);const C=l[d],k=C?"function"==typeof h?h:V:"function"==typeof w?w:E;s.scheduleMicroTask("Promise.then",()=>{try{const b=l[L],N=!!a&&z===a[z];N&&(a[j]=b,a[q]=C);const H=s.run(k,void 0,N&&k!==E&&k!==V?[]:[b]);G(a,!0,H)}catch(b){G(a,!1,b)}},a)}const p=function(){};class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(s){return G(new this(null),A,s)}static reject(s){return G(new this(null),Y,s)}static race(s){let a,h,w=new this((b,N)=>{a=b,h=N});function C(b){a(b)}function k(b){h(b)}for(let b of s)B(b)||(b=this.resolve(b)),b.then(C,k);return w}static all(s){return t.allWithCallback(s)}static allSettled(s){return(this&&this.prototype instanceof t?this:t).allWithCallback(s,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(s,a){let h,w,C=new this((H,U)=>{h=H,w=U}),k=2,b=0;const N=[];for(let H of s){B(H)||(H=this.resolve(H));const U=b;try{H.then(Q=>{N[U]=a?a.thenCallback(Q):Q,k--,0===k&&h(N)},Q=>{a?(N[U]=a.errorCallback(Q),k--,0===k&&h(N)):w(Q)})}catch(Q){w(Q)}k++,b++}return k-=2,0===k&&h(N),C}constructor(s){const a=this;if(!(a instanceof t))throw new Error("Must be an instanceof Promise.");a[d]=X,a[L]=[];try{s&&s(M(a,A),M(a,Y))}catch(h){G(a,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(s,a){let h=this.constructor[Symbol.species];(!h||"function"!=typeof h)&&(h=this.constructor||t);const w=new h(p),C=n.current;return this[d]==X?this[L].push(C,w,s,a):F(this,C,w,s,a),w}catch(s){return this.then(null,s)}finally(s){let a=this.constructor[Symbol.species];(!a||"function"!=typeof a)&&(a=t);const h=new a(p);h[z]=z;const w=n.current;return this[d]==X?this[L].push(w,h,s,s):F(this,w,h,s,s),h}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const o=e[T]=e.Promise;e.Promise=t;const y=f("thenPatched");function P(l){const s=l.prototype,a=r(s,"then");if(a&&(!1===a.writable||!a.configurable))return;const h=s.then;s[m]=h,l.prototype.then=function(w,C){return new t((b,N)=>{h.call(this,b,N)}).then(w,C)},l[y]=!0}return i.patchThen=P,o&&(P(o),ce(e,"fetch",l=>function K(l){return function(s,a){let h=l.apply(s,a);if(h instanceof t)return h;let w=h.constructor;return w[y]||P(w),h}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=_,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=x("OriginalDelegate"),r=x("Promise"),c=x("Error"),u=function(){if("function"==typeof this){const T=this[i];if(T)return"function"==typeof T?n.call(T):Object.prototype.toString.call(T);if(this===Promise){const m=e[r];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};u[i]=n,Function.prototype.toString=u;const f=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":f.call(this)}});let me=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){me=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){me=!1}const Et={useG:!0},ee={},Ke={},Je=new RegExp("^"+ke+"(\\w+)(true|false)$"),xe=x("propagationStopped");function Qe(e,n){const i=(n?n(e):e)+ie,r=(n?n(e):e)+se,c=ke+i,u=ke+r;ee[e]={},ee[e][ie]=c,ee[e][se]=u}function Tt(e,n,i){const r=i&&i.add||Se,c=i&&i.rm||Oe,u=i&&i.listeners||"eventListeners",f=i&&i.rmAll||"removeAllListeners",_=x(r),g="."+r+":",S=function(E,d,L){if(E.isRemoved)return;const z=E.callback;"object"==typeof z&&z.handleEvent&&(E.callback=q=>z.handleEvent(q),E.originalDelegate=z),E.invoke(E,d,[L]);const j=E.options;j&&"object"==typeof j&&j.once&&d[c].call(d,L.type,E.originalDelegate?E.originalDelegate:E.callback,j)},D=function(E){if(!(E=E||e.event))return;const d=this||E.target||e,L=d[ee[E.type][ie]];if(L)if(1===L.length)S(L[0],d,E);else{const z=L.slice();for(let j=0;j<z.length&&(!E||!0!==E[xe]);j++)S(z[j],d,E)}},Z=function(E){if(!(E=E||e.event))return;const d=this||E.target||e,L=d[ee[E.type][se]];if(L)if(1===L.length)S(L[0],d,E);else{const z=L.slice();for(let j=0;j<z.length&&(!E||!0!==E[xe]);j++)S(z[j],d,E)}};function B(E,d){if(!E)return!1;let L=!0;d&&void 0!==d.useG&&(L=d.useG);const z=d&&d.vh;let j=!0;d&&void 0!==d.chkDup&&(j=d.chkDup);let q=!1;d&&void 0!==d.rt&&(q=d.rt);let O=E;for(;O&&!O.hasOwnProperty(r);)O=de(O);if(!O&&E[r]&&(O=E),!O||O[_])return!1;const X=d&&d.eventNameToString,A={},Y=O[_]=O[r],v=O[x(c)]=O[c],M=O[x(u)]=O[u],R=O[x(f)]=O[f];let J;function le(s,a){return!me&&"object"==typeof s&&s?!!s.capture:me&&a?"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}d&&d.prepend&&(J=O[x(d.prepend)]=O[d.prepend]);const p=L?function(s){if(!A.isExisting)return Y.call(A.target,A.eventName,A.capture?Z:D,A.options)}:function(s){return Y.call(A.target,A.eventName,s.invoke,A.options)},t=L?function(s){if(!s.isRemoved){const a=ee[s.eventName];let h;a&&(h=a[s.capture?se:ie]);const w=h&&s.target[h];if(w)for(let C=0;C<w.length;C++)if(w[C]===s){w.splice(C,1),s.isRemoved=!0,0===w.length&&(s.allRemoved=!0,s.target[h]=null);break}}if(s.allRemoved)return v.call(s.target,s.eventName,s.capture?Z:D,s.options)}:function(s){return v.call(s.target,s.eventName,s.invoke,s.options)},y=d&&d.diff?d.diff:function(s,a){const h=typeof a;return"function"===h&&s.callback===a||"object"===h&&s.originalDelegate===a},P=Zone[x("UNPATCHED_EVENTS")],K=e[x("PASSIVE_EVENTS")],l=function(s,a,h,w,C=!1,k=!1){return function(){const b=this||e;let N=arguments[0];d&&d.transferEventName&&(N=d.transferEventName(N));let H=arguments[1];if(!H)return s.apply(this,arguments);if(Re&&"uncaughtException"===N)return s.apply(this,arguments);let U=!1;if("function"!=typeof H){if(!H.handleEvent)return s.apply(this,arguments);U=!0}if(z&&!z(s,H,b,arguments))return;const Q=me&&!!K&&-1!==K.indexOf(N),oe=le(arguments[2],Q);if(P)for(let _e=0;_e<P.length;_e++)if(N===P[_e])return Q?s.call(b,N,H,oe):s.apply(this,arguments);const Ge=!!oe&&("boolean"==typeof oe||oe.capture),st=!(!oe||"object"!=typeof oe)&&oe.once,At=Zone.current;let ze=ee[N];ze||(Qe(N,X),ze=ee[N]);const it=ze[Ge?se:ie];let De,ge=b[it],ct=!1;if(ge){if(ct=!0,j)for(let _e=0;_e<ge.length;_e++)if(y(ge[_e],H))return}else ge=b[it]=[];const at=b.constructor.name,lt=Ke[at];lt&&(De=lt[N]),De||(De=at+a+(X?X(N):N)),A.options=oe,st&&(A.options.once=!1),A.target=b,A.capture=Ge,A.eventName=N,A.isExisting=ct;const be=L?Et:void 0;be&&(be.taskData=A);const fe=At.scheduleEventTask(De,H,be,h,w);return A.target=null,be&&(be.taskData=null),st&&(oe.once=!0),!me&&"boolean"==typeof fe.options||(fe.options=oe),fe.target=b,fe.capture=Ge,fe.eventName=N,U&&(fe.originalDelegate=H),k?ge.unshift(fe):ge.push(fe),C?b:void 0}};return O[r]=l(Y,g,p,t,q),J&&(O.prependListener=l(J,".prependListener:",function(s){return J.call(A.target,A.eventName,s.invoke,A.options)},t,q,!0)),O[c]=function(){const s=this||e;let a=arguments[0];d&&d.transferEventName&&(a=d.transferEventName(a));const h=arguments[2],w=!!h&&("boolean"==typeof h||h.capture),C=arguments[1];if(!C)return v.apply(this,arguments);if(z&&!z(v,C,s,arguments))return;const k=ee[a];let b;k&&(b=k[w?se:ie]);const N=b&&s[b];if(N)for(let H=0;H<N.length;H++){const U=N[H];if(y(U,C))return N.splice(H,1),U.isRemoved=!0,0===N.length&&(U.allRemoved=!0,s[b]=null,"string"==typeof a)&&(s[ke+"ON_PROPERTY"+a]=null),U.zone.cancelTask(U),q?s:void 0}return v.apply(this,arguments)},O[u]=function(){const s=this||e;let a=arguments[0];d&&d.transferEventName&&(a=d.transferEventName(a));const h=[],w=et(s,X?X(a):a);for(let C=0;C<w.length;C++){const k=w[C];h.push(k.originalDelegate?k.originalDelegate:k.callback)}return h},O[f]=function(){const s=this||e;let a=arguments[0];if(a){d&&d.transferEventName&&(a=d.transferEventName(a));const h=ee[a];if(h){const k=s[h[ie]],b=s[h[se]];if(k){const N=k.slice();for(let H=0;H<N.length;H++){const U=N[H];this[c].call(this,a,U.originalDelegate?U.originalDelegate:U.callback,U.options)}}if(b){const N=b.slice();for(let H=0;H<N.length;H++){const U=N[H];this[c].call(this,a,U.originalDelegate?U.originalDelegate:U.callback,U.options)}}}}else{const h=Object.keys(s);for(let w=0;w<h.length;w++){const k=Je.exec(h[w]);let b=k&&k[1];b&&"removeListener"!==b&&this[f].call(this,b)}this[f].call(this,"removeListener")}if(q)return this},ae(O[r],Y),ae(O[c],v),R&&ae(O[f],R),M&&ae(O[u],M),!0}let V=[];for(let E=0;E<n.length;E++)V[E]=B(n[E],i);return V}function et(e,n){if(!n){const u=[];for(let f in e){const _=Je.exec(f);let g=_&&_[1];if(g&&(!n||g===n)){const T=e[f];if(T)for(let m=0;m<T.length;m++)u.push(T[m])}}return u}let i=ee[n];i||(Qe(n),i=ee[n]);const r=e[i[ie]],c=e[i[se]];return r?c?r.concat(c):r.slice():c?c.slice():[]}function yt(e,n){const i=e.Event;i&&i.prototype&&n.patchMethod(i.prototype,"stopImmediatePropagation",r=>function(c,u){c[xe]=!0,r&&r.apply(c,u)})}function gt(e,n,i,r,c){const u=Zone.__symbol__(r);if(n[u])return;const f=n[u]=n[r];n[r]=function(_,g,T){return g&&g.prototype&&c.forEach(function(m){const S=`${i}.${r}::`+m,D=g.prototype;if(D.hasOwnProperty(m)){const Z=e.ObjectGetOwnPropertyDescriptor(D,m);Z&&Z.value?(Z.value=e.wrapWithCurrentZone(Z.value,S),e._redefineProperty(g.prototype,m,Z)):D[m]&&(D[m]=e.wrapWithCurrentZone(D[m],S))}else D[m]&&(D[m]=e.wrapWithCurrentZone(D[m],S))}),f.call(n,_,g,T)},e.attachOriginToPatched(n[r],f)}const Ve=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],wt=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],tt=["load"],nt=["blur","error","focus","load","resize","scroll","messageerror"],Dt=["bounce","finish","start"],rt=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Ee=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],St=["close","error","open","message"],Ot=["error","message"],Te=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Ve,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ot(e,n,i){if(!i||0===i.length)return n;const r=i.filter(u=>u.target===e);if(!r||0===r.length)return n;const c=r[0].ignoreProperties;return n.filter(u=>-1===c.indexOf(u))}function W(e,n,i,r){e&&Ye(e,ot(e,n,i),r)}Zone.__load_patch("util",(e,n,i)=>{i.patchOnProperties=Ye,i.patchMethod=ce,i.bindArguments=Ae,i.patchMacroTask=_t;const r=n.__symbol__("BLACK_LISTED_EVENTS"),c=n.__symbol__("UNPATCHED_EVENTS");e[c]&&(e[r]=e[c]),e[r]&&(n[r]=n[c]=e[r]),i.patchEventPrototype=yt,i.patchEventTarget=Tt,i.isIEOrEdge=mt,i.ObjectDefineProperty=he,i.ObjectGetOwnPropertyDescriptor=ue,i.ObjectCreate=Be,i.ArraySlice=ut,i.patchClass=ve,i.wrapWithCurrentZone=Le,i.filterProperties=ot,i.attachOriginToPatched=ae,i._redefineProperty=Object.defineProperty,i.patchCallbacks=gt,i.getGlobalObjects=()=>({globalSources:Ke,zoneSymbolEventNames:ee,eventNames:Te,isBrowser:je,isMix:We,isNode:Re,TRUE_STR:se,FALSE_STR:ie,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ne=x("zoneTask");function ye(e,n,i,r){let c=null,u=null;i+=r;const f={};function _(T){const m=T.data;return m.args[0]=function(){return T.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),T}function g(T){return u.call(e,T.data.handleId)}c=ce(e,n+=r,T=>function(m,S){if("function"==typeof S[0]){const D={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?S[1]||0:void 0,args:S},Z=S[0];S[0]=function(){try{return Z.apply(this,arguments)}finally{D.isPeriodic||("number"==typeof D.handleId?delete f[D.handleId]:D.handleId&&(D.handleId[Ne]=null))}};const B=Me(n,S[0],D,_,g);if(!B)return B;const V=B.data.handleId;return"number"==typeof V?f[V]=B:V&&(V[Ne]=B),V&&V.ref&&V.unref&&"function"==typeof V.ref&&"function"==typeof V.unref&&(B.ref=V.ref.bind(V),B.unref=V.unref.bind(V)),"number"==typeof V||V?V:B}return T.apply(e,S)}),u=ce(e,i,T=>function(m,S){const D=S[0];let Z;"number"==typeof D?Z=f[D]:(Z=D&&D[Ne],Z||(Z=D)),Z&&"string"==typeof Z.type?"notScheduled"!==Z.state&&(Z.cancelFn&&Z.data.isPeriodic||0===Z.runCount)&&("number"==typeof D?delete f[D]:D&&(D[Ne]=null),Z.zone.cancelTask(Z)):T.apply(e,S)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",r=>function(c,u){n.current.scheduleMicroTask("queueMicrotask",u[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";ye(e,n,i,"Timeout"),ye(e,n,i,"Interval"),ye(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{ye(e,"request","cancel","AnimationFrame"),ye(e,"mozRequest","mozCancel","AnimationFrame"),ye(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let r=0;r<i.length;r++)ce(e,i[r],(u,f,_)=>function(g,T){return n.current.run(u,e,T,_)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function Mt(e,n){n.patchEventPrototype(e,n)})(e,i),function Lt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:r,TRUE_STR:c,FALSE_STR:u,ZONE_SYMBOL_PREFIX:f}=n.getGlobalObjects();for(let g=0;g<i.length;g++){const T=i[g],D=f+(T+u),Z=f+(T+c);r[T]={},r[T][u]=D,r[T][c]=Z}const _=e.EventTarget;_&&_.prototype&&n.patchEventTarget(e,[_&&_.prototype])}(e,i);const r=e.XMLHttpRequestEventTarget;r&&r.prototype&&i.patchEventTarget(e,[r.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 Zt(e,n){if(Re&&!We||Zone[e.symbol("patchEvents")])return;const i="undefined"!=typeof WebSocket,r=n.__Zone_ignore_on_properties;if(je){const f=window,_=function pt(){try{const e=pe.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}()?[{target:f,ignoreProperties:["error"]}]:[];W(f,Te.concat(["messageerror"]),r&&r.concat(_),de(f)),W(Document.prototype,Te,r),void 0!==f.SVGElement&&W(f.SVGElement.prototype,Te,r),W(Element.prototype,Te,r),W(HTMLElement.prototype,Te,r),W(HTMLMediaElement.prototype,wt,r),W(HTMLFrameSetElement.prototype,Ve.concat(nt),r),W(HTMLBodyElement.prototype,Ve.concat(nt),r),W(HTMLFrameElement.prototype,tt,r),W(HTMLIFrameElement.prototype,tt,r);const g=f.HTMLMarqueeElement;g&&W(g.prototype,Dt,r);const T=f.Worker;T&&W(T.prototype,Ot,r)}const c=n.XMLHttpRequest;c&&W(c.prototype,rt,r);const u=n.XMLHttpRequestEventTarget;u&&W(u&&u.prototype,rt,r),"undefined"!=typeof IDBIndex&&(W(IDBIndex.prototype,Ee,r),W(IDBRequest.prototype,Ee,r),W(IDBOpenDBRequest.prototype,Ee,r),W(IDBDatabase.prototype,Ee,r),W(IDBTransaction.prototype,Ee,r),W(IDBCursor.prototype,Ee,r)),i&&W(WebSocket.prototype,St,r)}(i,e)}),Zone.__load_patch("customElements",(e,n,i)=>{!function It(e,n){const{isBrowser:i,isMix:r}=n.getGlobalObjects();(i||r)&&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 g(T){const m=T.XMLHttpRequest;if(!m)return;const S=m.prototype;let Z=S[Ze],B=S[Ie];if(!Z){const v=T.XMLHttpRequestEventTarget;if(v){const M=v.prototype;Z=M[Ze],B=M[Ie]}}const V="readystatechange",E="scheduled";function d(v){const M=v.data,R=M.target;R[u]=!1,R[_]=!1;const J=R[c];Z||(Z=R[Ze],B=R[Ie]),J&&B.call(R,V,J);const le=R[c]=()=>{if(R.readyState===R.DONE)if(!M.aborted&&R[u]&&v.state===E){const te=R[n.__symbol__("loadfalse")];if(0!==R.status&&te&&te.length>0){const re=v.invoke;v.invoke=function(){const F=R[n.__symbol__("loadfalse")];for(let I=0;I<F.length;I++)F[I]===v&&F.splice(I,1);!M.aborted&&v.state===E&&re.call(v)},te.push(v)}else v.invoke()}else!M.aborted&&!1===R[u]&&(R[_]=!0)};return Z.call(R,V,le),R[i]||(R[i]=v),A.apply(R,M.args),R[u]=!0,v}function L(){}function z(v){const M=v.data;return M.aborted=!0,Y.apply(M.target,M.args)}const j=ce(S,"open",()=>function(v,M){return v[r]=0==M[2],v[f]=M[1],j.apply(v,M)}),O=x("fetchTaskAborting"),X=x("fetchTaskScheduling"),A=ce(S,"send",()=>function(v,M){if(!0===n.current[X]||v[r])return A.apply(v,M);{const R={target:v,url:v[f],isPeriodic:!1,args:M,aborted:!1},J=Me("XMLHttpRequest.send",L,R,d,z);v&&!0===v[_]&&!R.aborted&&J.state===E&&J.invoke()}}),Y=ce(S,"abort",()=>function(v,M){const R=function D(v){return v[i]}(v);if(R&&"string"==typeof R.type){if(null==R.cancelFn||R.data&&R.data.aborted)return;R.zone.cancelTask(R)}else if(!0===n.current[O])return Y.apply(v,M)})}(e);const i=x("xhrTask"),r=x("xhrSync"),c=x("xhrListener"),u=x("xhrScheduled"),f=x("xhrURL"),_=x("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function dt(e,n){const i=e.constructor.name;for(let r=0;r<n.length;r++){const c=n[r],u=e[c];if(u){if(!Fe(ue(e,c)))continue;e[c]=(_=>{const g=function(){return _.apply(this,Ae(arguments,i+"."+c))};return ae(g,_),g})(u)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(r){return function(c){et(e,r).forEach(f=>{const _=e.PromiseRejectionEvent;if(_){const g=new _(r,{promise:c.promise,reason:c.rejection});f.invoke(g)}})}}e.PromiseRejectionEvent&&(n[x("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[x("rejectionHandledHandler")]=i("rejectionhandled"))})}},we=>{we(we.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,f)=>{if(!t){var a=1/0;for(i=0;i<e.length;i++){for(var[t,o,f]=e[i],u=!0,s=0;s<t.length;s++)(!1&f||a>=f)&&Object.keys(r.O).every(b=>r.O[b](t[s]))?t.splice(s--,1):(u=!1,f<a&&(a=f));if(u){e.splice(i--,1);var d=o();void 0!==d&&(n=d)}}return n}f=f||0;for(var i=e.length;i>0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[t,o,f]},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 f=Object.create(null);r.r(f);var i={};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(u=>i[u]=()=>t[u]);return i.default=()=>t,r.d(f,i),f}})(),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+".224f33c5b45eae82.js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="web-tools:";r.l=(t,o,f,i)=>{if(e[t])e[t].push(o);else{var a,u;if(void 0!==f)for(var s=document.getElementsByTagName("script"),d=0;d<s.length;d++){var l=s[d];if(l.getAttribute("src")==t||l.getAttribute("data-webpack")==n+f){a=l;break}}a||(u=!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+f),a.src=r.tu(t)),e[t]=[o];var c=(g,b)=>{a.onerror=a.onload=null,clearTimeout(p);var h=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),h&&h.forEach(y=>y(b)),g)return g(b)},p=setTimeout(c.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=c.bind(null,a.onerror),a.onload=c.bind(null,a.onload),u&&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/dealpostools@1.1.2/tools/",(()=>{var e={666:0};r.f.j=(o,f)=>{var i=r.o(e,o)?e[o]:void 0;if(0!==i)if(i)f.push(i[2]);else if(666!=o){var a=new Promise((l,c)=>i=e[o]=[l,c]);f.push(i[2]=a);var u=r.p+r.u(o),s=new Error;r.l(u,l=>{if(r.o(e,o)&&(0!==(i=e[o])&&(e[o]=void 0),i)){var c=l&&("load"===l.type?"missing":l.type),p=l&&l.target&&l.target.src;s.message="Loading chunk "+o+" failed.\n("+c+": "+p+")",s.name="ChunkLoadError",s.type=c,s.request=p,i[1](s)}},"chunk-"+o,o)}else e[o]=0},r.O.j=o=>0===e[o];var n=(o,f)=>{var s,d,[i,a,u]=f,l=0;if(i.some(p=>0!==e[p])){for(s in a)r.o(a,s)&&(r.m[s]=a[s]);if(u)var c=u(r)}for(o&&o(f);l<i.length;l++)r.o(e,d=i[l])&&e[d]&&e[d][0](),e[d]=0;return r.O(c)},t=self.webpackChunkweb_tools=self.webpackChunkweb_tools||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})()})();
@@ -0,0 +1 @@
1
+ var qs=Object.defineProperty,Fs=Object.defineProperties,Us=Object.getOwnPropertyDescriptors,Fn=Object.getOwnPropertySymbols,Vs=Object.prototype.hasOwnProperty,Ks=Object.prototype.propertyIsEnumerable,Un=(I,S,B)=>S in I?qs(I,S,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[S]=B,v=(I,S)=>{for(var B in S||(S={}))Vs.call(S,B)&&Un(I,B,S[B]);if(Fn)for(var B of Fn(S))Ks.call(S,B)&&Un(I,B,S[B]);return I},gt=(I,S)=>Fs(I,Us(S));!function(I,S){"object"==typeof exports&&"undefined"!=typeof module?module.exports=S():"function"==typeof define&&define.amd?define(S):(I="undefined"!=typeof globalThis?globalThis:I||self).bootstrap=S()}(this,function(){"use strict";const I="transitionend",S=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},B=i=>{const e=S(i);return e&&document.querySelector(e)?e:null},oe=i=>{const e=S(i);return e?document.querySelector(e):null},Vt=i=>{i.dispatchEvent(new Event(I))},de=i=>!(!i||"object"!=typeof i)&&(void 0!==i.jquery&&(i=i[0]),void 0!==i.nodeType),re=i=>de(i)?i.jquery?i[0]:i:"string"==typeof i&&i.length>0?document.querySelector(i):null,J=(i,e,t)=>{Object.keys(t).forEach(n=>{const s=t[n],o=e[n],r=o&&de(o)?"element":null==(a=o)?`${a}`:{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase();var a;if(!new RegExp(s).test(r))throw new TypeError(`${i.toUpperCase()}: Option "${n}" provided type "${r}" but expected type "${s}".`)})},Pe=i=>!(!de(i)||0===i.getClientRects().length)&&"visible"===getComputedStyle(i).getPropertyValue("visibility"),ue=i=>!i||i.nodeType!==Node.ELEMENT_NODE||!!i.classList.contains("disabled")||(void 0!==i.disabled?i.disabled:i.hasAttribute("disabled")&&"false"!==i.getAttribute("disabled")),Kt=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?Kt(i.parentNode):null},Je=()=>{},Xt=()=>{const{jQuery:i}=window;return i&&!document.body.hasAttribute("data-bs-no-jquery")?i:null},_t=[],R=()=>"rtl"===document.documentElement.dir,V=i=>{var e;e=()=>{const t=Xt();if(t){const n=i.NAME,s=t.fn[n];t.fn[n]=i.jQueryInterface,t.fn[n].Constructor=i,t.fn[n].noConflict=()=>(t.fn[n]=s,i.jQueryInterface)}},"loading"===document.readyState?(_t.length||document.addEventListener("DOMContentLoaded",()=>{_t.forEach(t=>t())}),_t.push(e)):e()},fe=i=>{"function"==typeof i&&i()},Yt=(i,e,t=!0)=>{if(!t)return void fe(i);const n=(r=>{if(!r)return 0;let{transitionDuration:a,transitionDelay:c}=window.getComputedStyle(r);const d=Number.parseFloat(a),u=Number.parseFloat(c);return d||u?(a=a.split(",")[0],c=c.split(",")[0],1e3*(Number.parseFloat(a)+Number.parseFloat(c))):0})(e)+5;let s=!1;const o=({target:r})=>{r===e&&(s=!0,e.removeEventListener(I,o),fe(i))};e.addEventListener(I,o),setTimeout(()=>{s||Vt(e)},n)},Qt=(i,e,t,n)=>{let s=i.indexOf(e);if(-1===s)return i[!t&&n?i.length-1:0];const o=i.length;return s+=t?1:-1,n&&(s=(s+o)%o),i[Math.max(0,Math.min(s,o-1))]},Vn=/[^.]*(?=\..*)\.|.*/,Kn=/\..*/,Xn=/::\d+$/,bt={};let Gt=1;const Yn={mouseenter:"mouseover",mouseleave:"mouseout"},Qn=/^(mouseenter|mouseleave)/i,Jt=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 Zt(i,e){return e&&`${e}::${Gt++}`||i.uidEvent||Gt++}function ei(i){const e=Zt(i);return i.uidEvent=e,bt[e]=bt[e]||{},bt[e]}function ti(i,e,t=null){const n=Object.keys(i);for(let s=0,o=n.length;s<o;s++){const r=i[n[s]];if(r.originalHandler===e&&r.delegationSelector===t)return r}return null}function ii(i,e,t){const n="string"==typeof e,s=n?t:e;let o=si(i);return Jt.has(o)||(o=i),[n,s,o]}function ni(i,e,t,n,s){if("string"!=typeof e||!i)return;if(t||(t=n,n=null),Qn.test(e)){const f=p=>function(_){if(!_.relatedTarget||_.relatedTarget!==_.delegateTarget&&!_.delegateTarget.contains(_.relatedTarget))return p.call(this,_)};n?n=f(n):t=f(t)}const[o,r,a]=ii(e,t,n),c=ei(i),d=c[a]||(c[a]={}),u=ti(d,r,o?t:null);if(u)return void(u.oneOff=u.oneOff&&s);const h=Zt(r,e.replace(Vn,"")),y=o?(f=i,p=t,_=n,function g(k){const A=f.querySelectorAll(p);for(let{target:b}=k;b&&b!==this;b=b.parentNode)for(let T=A.length;T--;)if(A[T]===b)return k.delegateTarget=b,g.oneOff&&l.off(f,k.type,p,_),_.apply(b,[k]);return null}):function(f,p){return function _(g){return g.delegateTarget=f,_.oneOff&&l.off(f,g.type,p),p.apply(f,[g])}}(i,t);var f,p,_;y.delegationSelector=o?t:null,y.originalHandler=r,y.oneOff=s,y.uidEvent=h,d[h]=y,i.addEventListener(a,y,o)}function vt(i,e,t,n,s){const o=ti(e[t],n,s);o&&(i.removeEventListener(t,o,Boolean(s)),delete e[t][o.uidEvent])}function si(i){return i=i.replace(Kn,""),Yn[i]||i}const l={on(i,e,t,n){ni(i,e,t,n,!1)},one(i,e,t,n){ni(i,e,t,n,!0)},off(i,e,t,n){if("string"!=typeof e||!i)return;const[s,o,r]=ii(e,t,n),a=r!==e,c=ei(i),d=e.startsWith(".");if(void 0!==o)return c&&c[r]?void vt(i,c,r,o,s?t:null):void 0;d&&Object.keys(c).forEach(h=>{!function(y,f,p,_){const g=f[p]||{};Object.keys(g).forEach(k=>{if(k.includes(_)){const A=g[k];vt(y,f,p,A.originalHandler,A.delegationSelector)}})}(i,c,h,e.slice(1))});const u=c[r]||{};Object.keys(u).forEach(h=>{const y=h.replace(Xn,"");if(!a||e.includes(y)){const f=u[h];vt(i,c,r,f.originalHandler,f.delegationSelector)}})},trigger(i,e,t){if("string"!=typeof e||!i)return null;const n=Xt(),s=si(e),o=e!==s,r=Jt.has(s);let a,c=!0,d=!0,u=!1,h=null;return o&&n&&(a=n.Event(e,t),n(i).trigger(a),c=!a.isPropagationStopped(),d=!a.isImmediatePropagationStopped(),u=a.isDefaultPrevented()),r?(h=document.createEvent("HTMLEvents"),h.initEvent(s,c,!0)):h=new CustomEvent(e,{bubbles:c,cancelable:!0}),void 0!==t&&Object.keys(t).forEach(y=>{Object.defineProperty(h,y,{get:()=>t[y]})}),u&&h.preventDefault(),d&&i.dispatchEvent(h),h.defaultPrevented&&void 0!==a&&a.preventDefault(),h}},ae=new Map,je={set(i,e,t){ae.has(i)||ae.set(i,new Map);const n=ae.get(i);n.has(e)||0===n.size?n.set(e,t):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(i,e)=>ae.has(i)&&ae.get(i).get(e)||null,remove(i,e){if(!ae.has(i))return;const t=ae.get(i);t.delete(e),0===t.size&&ae.delete(i)}};class Q{constructor(e){(e=re(e))&&(this._element=e,je.set(this._element,this.constructor.DATA_KEY,this))}dispose(){je.remove(this._element,this.constructor.DATA_KEY),l.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(e=>{this[e]=null})}_queueCallback(e,t,n=!0){Yt(e,t,n)}static getInstance(e){return je.get(re(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 Ze=(i,e="hide")=>{const n=i.NAME;l.on(document,`click.dismiss${i.EVENT_KEY}`,`[data-bs-dismiss="${n}"]`,function(s){if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),ue(this))return;const o=oe(this)||this.closest(`.${n}`);i.getOrCreateInstance(o)[e]()})};class Me extends Q{static get NAME(){return"alert"}close(){if(l.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(),l.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Me.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)}})}}Ze(Me,"close"),V(Me);const oi='[data-bs-toggle="button"]';class He extends Q{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=He.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}function ri(i){return"true"===i||"false"!==i&&(i===Number(i).toString()?Number(i):""===i||"null"===i?null:i)}function yt(i){return i.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}l.on(document,"click.bs.button.data-api",oi,i=>{i.preventDefault();const e=i.target.closest(oi);He.getOrCreateInstance(e).toggle()}),V(He);const N={setDataAttribute(i,e,t){i.setAttribute(`data-bs-${yt(e)}`,t)},removeDataAttribute(i,e){i.removeAttribute(`data-bs-${yt(e)}`)},getDataAttributes(i){if(!i)return{};const e={};return Object.keys(i.dataset).filter(t=>t.startsWith("bs")).forEach(t=>{let n=t.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=ri(i.dataset[t])}),e},getDataAttribute:(i,e)=>ri(i.getAttribute(`data-bs-${yt(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})},m={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 n=i.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(e)&&t.push(n),n=n.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=>!ue(t)&&Pe(t))}},ai="carousel",li={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Gn={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},pe="next",me="prev",ge="left",Be="right",Jn={ArrowLeft:Be,ArrowRight:ge},ci="slid.bs.carousel",_e="active",et=".active.carousel-item";class Z extends Q{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=m.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 li}static get NAME(){return ai}next(){this._slide(pe)}nextWhenVisible(){!document.hidden&&Pe(this._element)&&this.next()}prev(){this._slide(me)}pause(e){e||(this._isPaused=!0),m.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(Vt(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=m.findOne(et,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:me,this._items[e]);l.one(this._element,ci,()=>this.to(e))}}_getConfig(e){return e=v(v(v({},li),N.getDataAttributes(this._element)),"object"==typeof e?e:{}),J(ai,e,Gn),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?Be:ge)}_addEventListeners(){this._config.keyboard&&l.on(this._element,"keydown.bs.carousel",e=>this._keydown(e)),"hover"===this._config.pause&&(l.on(this._element,"mouseenter.bs.carousel",e=>this.pause(e)),l.on(this._element,"mouseleave.bs.carousel",e=>this.cycle(e))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=o=>this._pointerEvent&&("pen"===o.pointerType||"touch"===o.pointerType),t=o=>{e(o)?this.touchStartX=o.clientX:this._pointerEvent||(this.touchStartX=o.touches[0].clientX)},n=o=>{this.touchDeltaX=o.touches&&o.touches.length>1?0:o.touches[0].clientX-this.touchStartX},s=o=>{e(o)&&(this.touchDeltaX=o.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(r=>this.cycle(r),500+this._config.interval))};m.find(".carousel-item img",this._element).forEach(o=>{l.on(o,"dragstart.bs.carousel",r=>r.preventDefault())}),this._pointerEvent?(l.on(this._element,"pointerdown.bs.carousel",o=>t(o)),l.on(this._element,"pointerup.bs.carousel",o=>s(o)),this._element.classList.add("pointer-event")):(l.on(this._element,"touchstart.bs.carousel",o=>t(o)),l.on(this._element,"touchmove.bs.carousel",o=>n(o)),l.on(this._element,"touchend.bs.carousel",o=>s(o)))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Jn[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?m.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){return Qt(this._items,t,e===pe,this._config.wrap)}_triggerSlideEvent(e,t){const n=this._getItemIndex(e),s=this._getItemIndex(m.findOne(et,this._element));return l.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:s,to:n})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=m.findOne(".active",this._indicatorsElement);t.classList.remove(_e),t.removeAttribute("aria-current");const n=m.find("[data-bs-target]",this._indicatorsElement);for(let s=0;s<n.length;s++)if(Number.parseInt(n[s].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(e)){n[s].classList.add(_e),n[s].setAttribute("aria-current","true");break}}}_updateInterval(){const e=this._activeElement||m.findOne(et,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 n=this._directionToOrder(e),s=m.findOne(et,this._element),o=this._getItemIndex(s),r=t||this._getItemByOrder(n,s),a=this._getItemIndex(r),c=Boolean(this._interval),d=n===pe,u=d?"carousel-item-start":"carousel-item-end",h=d?"carousel-item-next":"carousel-item-prev",y=this._orderToDirection(n);if(r&&r.classList.contains(_e))return void(this._isSliding=!1);if(this._isSliding||this._triggerSlideEvent(r,y).defaultPrevented||!s||!r)return;this._isSliding=!0,c&&this.pause(),this._setActiveIndicatorElement(r),this._activeElement=r;const f=()=>{l.trigger(this._element,ci,{relatedTarget:r,direction:y,from:o,to:a})};this._element.classList.contains("slide")?(r.classList.add(h),s.classList.add(u),r.classList.add(u),this._queueCallback(()=>{r.classList.remove(u,h),r.classList.add(_e),s.classList.remove(_e,h,u),this._isSliding=!1,setTimeout(f,0)},s,!0)):(s.classList.remove(_e),r.classList.add(_e),this._isSliding=!1,f()),c&&this.cycle()}_directionToOrder(e){return[Be,ge].includes(e)?R()?e===ge?me:pe:e===ge?pe:me:e}_orderToDirection(e){return[pe,me].includes(e)?R()?e===me?ge:Be:e===me?Be:ge:e}static carouselInterface(e,t){const n=Z.getOrCreateInstance(e,t);let{_config:s}=n;"object"==typeof t&&(s=v(v({},s),t));const o="string"==typeof t?t:s.slide;if("number"==typeof t)n.to(t);else if("string"==typeof o){if(void 0===n[o])throw new TypeError(`No method named "${o}"`);n[o]()}else s.interval&&s.ride&&(n.pause(),n.cycle())}static jQueryInterface(e){return this.each(function(){Z.carouselInterface(this,e)})}static dataApiClickHandler(e){const t=oe(this);if(!t||!t.classList.contains("carousel"))return;const n=v(v({},N.getDataAttributes(t)),N.getDataAttributes(this)),s=this.getAttribute("data-bs-slide-to");s&&(n.interval=!1),Z.carouselInterface(t,n),s&&Z.getInstance(t).to(s),e.preventDefault()}}l.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",Z.dataApiClickHandler),l.on(window,"load.bs.carousel.data-api",()=>{const i=m.find('[data-bs-ride="carousel"]');for(let e=0,t=i.length;e<t;e++)Z.carouselInterface(i[e],Z.getInstance(i[e]))}),V(Z);const hi="collapse",di={toggle:!0,parent:null},Zn={toggle:"boolean",parent:"(null|element)"},wt="show",tt="collapse",it="collapsing",ui="collapsed",fi=":scope .collapse .collapse",Et='[data-bs-toggle="collapse"]';class be extends Q{constructor(e,t){super(e),this._isTransitioning=!1,this._config=this._getConfig(t),this._triggerArray=[];const n=m.find(Et);for(let s=0,o=n.length;s<o;s++){const r=n[s],a=B(r),c=m.find(a).filter(d=>d===this._element);null!==a&&c.length&&(this._selector=a,this._triggerArray.push(r))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return di}static get NAME(){return hi}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,t=[];if(this._config.parent){const r=m.find(fi,this._config.parent);t=m.find(".collapse.show, .collapse.collapsing",this._config.parent).filter(a=>!r.includes(a))}const n=m.findOne(this._selector);if(t.length){const r=t.find(a=>n!==a);if(e=r?be.getInstance(r):null,e&&e._isTransitioning)return}if(l.trigger(this._element,"show.bs.collapse").defaultPrevented)return;t.forEach(r=>{n!==r&&be.getOrCreateInstance(r,{toggle:!1}).hide(),e||je.set(r,"bs.collapse",null)});const s=this._getDimension();this._element.classList.remove(tt),this._element.classList.add(it),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(it),this._element.classList.add(tt,wt),this._element.style[s]="",l.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[s]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||l.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(it),this._element.classList.remove(tt,wt);const t=this._triggerArray.length;for(let n=0;n<t;n++){const s=this._triggerArray[n],o=oe(s);o&&!this._isShown(o)&&this._addAriaAndCollapsedClass([s],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(it),this._element.classList.add(tt),l.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}_isShown(e=this._element){return e.classList.contains(wt)}_getConfig(e){return(e=v(v(v({},di),N.getDataAttributes(this._element)),e)).toggle=Boolean(e.toggle),e.parent=re(e.parent),J(hi,e,Zn),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=m.find(fi,this._config.parent);m.find(Et,this._config.parent).filter(t=>!e.includes(t)).forEach(t=>{const n=oe(t);n&&this._addAriaAndCollapsedClass([t],this._isShown(n))})}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach(n=>{t?n.classList.remove(ui):n.classList.add(ui),n.setAttribute("aria-expanded",t)})}static jQueryInterface(e){return this.each(function(){const t={};"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1);const n=be.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}})}}l.on(document,"click.bs.collapse.data-api",Et,function(i){("A"===i.target.tagName||i.delegateTarget&&"A"===i.delegateTarget.tagName)&&i.preventDefault();const e=B(this);m.find(e).forEach(t=>{be.getOrCreateInstance(t,{toggle:!1}).toggle()})}),V(be);var W="top",q="bottom",F="right",$="left",nt="auto",Oe=[W,q,F,$],ve="start",Ce="end",pi="clippingParents",At="viewport",ke="popper",mi="reference",Tt=Oe.reduce(function(i,e){return i.concat([e+"-"+ve,e+"-"+Ce])},[]),Ot=[].concat(Oe,[nt]).reduce(function(i,e){return i.concat([e,e+"-"+ve,e+"-"+Ce])},[]),gi="beforeRead",bi="afterRead",vi="beforeMain",wi="afterMain",Ei="beforeWrite",Ti="afterWrite",Oi=[gi,"read",bi,vi,"main",wi,Ei,"write",Ti];function ee(i){return i?(i.nodeName||"").toLowerCase():null}function G(i){if(null==i)return window;if("[object Window]"!==i.toString()){var e=i.ownerDocument;return e&&e.defaultView||window}return i}function Re(i){return i instanceof G(i).Element||i instanceof Element}function K(i){return i instanceof G(i).HTMLElement||i instanceof HTMLElement}function Ci(i){return"undefined"!=typeof ShadowRoot&&(i instanceof G(i).ShadowRoot||i instanceof ShadowRoot)}const Ct={name:"applyStyles",enabled:!0,phase:"write",fn:function(i){var e=i.state;Object.keys(e.elements).forEach(function(t){var n=e.styles[t]||{},s=e.attributes[t]||{},o=e.elements[t];K(o)&&ee(o)&&(Object.assign(o.style,n),Object.keys(s).forEach(function(r){var a=s[r];!1===a?o.removeAttribute(r):o.setAttribute(r,!0===a?"":a)}))})},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(n){var s=e.elements[n],o=e.attributes[n]||{},r=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:t[n]).reduce(function(a,c){return a[c]="",a},{});K(s)&&ee(s)&&(Object.assign(s.style,r),Object.keys(o).forEach(function(a){s.removeAttribute(a)}))})}},requires:["computeStyles"]};function te(i){return i.split("-")[0]}function Le(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 kt(i){var e=Le(i),t=i.offsetWidth,n=i.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:i.offsetLeft,y:i.offsetTop,width:t,height:n}}function ki(i,e){var t=e.getRootNode&&e.getRootNode();if(i.contains(e))return!0;if(t&&Ci(t)){var n=e;do{if(n&&i.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ie(i){return G(i).getComputedStyle(i)}function es(i){return["table","td","th"].indexOf(ee(i))>=0}function le(i){return((Re(i)?i.ownerDocument:i.document)||window.document).documentElement}function st(i){return"html"===ee(i)?i:i.assignedSlot||i.parentNode||(Ci(i)?i.host:null)||le(i)}function Li(i){return K(i)&&"fixed"!==ie(i).position?i.offsetParent:null}function We(i){for(var e=G(i),t=Li(i);t&&es(t)&&"static"===ie(t).position;)t=Li(t);return t&&("html"===ee(t)||"body"===ee(t)&&"static"===ie(t).position)?e:t||function(n){var s=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&K(n)&&"fixed"===ie(n).position)return null;for(var o=st(n);K(o)&&["html","body"].indexOf(ee(o))<0;){var r=ie(o);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||s&&"filter"===r.willChange||s&&r.filter&&"none"!==r.filter)return o;o=o.parentNode}return null}(i)||e}function Lt(i){return["top","bottom"].indexOf(i)>=0?"x":"y"}var ce=Math.max,$e=Math.min,ot=Math.round;function rt(i,e,t){return ce(i,$e(e,t))}function xi(i){return Object.assign({},{top:0,right:0,bottom:0,left:0},i)}function Di(i,e){return e.reduce(function(t,n){return t[n]=i,t},{})}const Si={name:"arrow",enabled:!0,phase:"main",fn:function(i){var e,C,L,t=i.state,n=i.name,s=i.options,o=t.elements.arrow,r=t.modifiersData.popperOffsets,a=te(t.placement),c=Lt(a),d=[$,F].indexOf(a)>=0?"height":"width";if(o&&r){var u=(L=t,xi("number"!=typeof(C="function"==typeof(C=s.padding)?C(Object.assign({},L.rects,{placement:L.placement})):C)?C:Di(C,Oe))),h=kt(o),y="y"===c?W:$,f="y"===c?q:F,p=t.rects.reference[d]+t.rects.reference[c]-r[c]-t.rects.popper[d],_=r[c]-t.rects.reference[c],g=We(o),k=g?"y"===c?g.clientHeight||0:g.clientWidth||0:0,w=k/2-h[d]/2+(p/2-_/2),E=rt(u[y],w,k-h[d]-u[f]);t.modifiersData[n]=((e={})[c]=E,e.centerOffset=E-w,e)}},effect:function(i){var e=i.state,t=i.options.element,n=void 0===t?"[data-popper-arrow]":t;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&ki(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function xe(i){return i.split("-")[1]}var ts={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ni(i){var e,P,X,D,t=i.popper,n=i.popperRect,s=i.placement,o=i.variation,r=i.offsets,a=i.position,c=i.gpuAcceleration,d=i.adaptive,u=i.roundOffsets,h=!0===u?(X=(P=r).y,D=window.devicePixelRatio||1,{x:ot(ot(P.x*D)/D)||0,y:ot(ot(X*D)/D)||0}):"function"==typeof u?u(r):r,y=h.x,f=void 0===y?0:y,p=h.y,_=void 0===p?0:p,g=r.hasOwnProperty("x"),k=r.hasOwnProperty("y"),A=$,b=W,T=window;if(d){var w=We(t),E="clientHeight",O="clientWidth";w===G(t)&&"static"!==ie(w=le(t)).position&&"absolute"===a&&(E="scrollHeight",O="scrollWidth"),w=w,s!==W&&(s!==$&&s!==F||o!==Ce)||(b=q,_-=w[E]-n.height,_*=c?1:-1),s!==$&&(s!==W&&s!==q||o!==Ce)||(A=F,f-=w[O]-n.width,f*=c?1:-1)}var C,L=Object.assign({position:a},d&&ts);return Object.assign({},L,c?((C={})[b]=k?"0":"",C[A]=g?"0":"",C.transform=(T.devicePixelRatio||1)<=1?"translate("+f+"px, "+_+"px)":"translate3d("+f+"px, "+_+"px, 0)",C):((e={})[b]=k?_+"px":"",e[A]=g?f+"px":"",e.transform="",e))}const xt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(i){var e=i.state,t=i.options,n=t.gpuAcceleration,s=void 0===n||n,o=t.adaptive,r=void 0===o||o,a=t.roundOffsets,c=void 0===a||a,d={placement:te(e.placement),variation:xe(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Ni(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Ni(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var at={passive:!0};const Dt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(i){var e=i.state,t=i.instance,n=i.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,c=G(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&d.forEach(function(u){u.addEventListener("scroll",t.update,at)}),a&&c.addEventListener("resize",t.update,at),function(){o&&d.forEach(function(u){u.removeEventListener("scroll",t.update,at)}),a&&c.removeEventListener("resize",t.update,at)}},data:{}};var is={left:"right",right:"left",bottom:"top",top:"bottom"};function lt(i){return i.replace(/left|right|bottom|top/g,function(e){return is[e]})}var ns={start:"end",end:"start"};function Ii(i){return i.replace(/start|end/g,function(e){return ns[e]})}function St(i){var e=G(i);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Nt(i){return Le(le(i)).left+St(i).scrollLeft}function It(i){var e=ie(i);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function Pi(i){return["html","body","#document"].indexOf(ee(i))>=0?i.ownerDocument.body:K(i)&&It(i)?i:Pi(st(i))}function ze(i,e){var t;void 0===e&&(e=[]);var n=Pi(i),s=n===(null==(t=i.ownerDocument)?void 0:t.body),o=G(n),r=s?[o].concat(o.visualViewport||[],It(n)?n:[]):n,a=e.concat(r);return s?a:a.concat(ze(st(r)))}function Pt(i){return Object.assign({},i,{left:i.x,top:i.y,right:i.x+i.width,bottom:i.y+i.height})}function ji(i,e){return e===At?Pt((n=G(t=i),r=(s=le(t)).clientWidth,a=s.clientHeight,c=0,d=0,(o=n.visualViewport)&&(r=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(c=o.offsetLeft,d=o.offsetTop)),{width:r,height:a,x:c+Nt(t),y:d})):K(e)?function(t){var n=Le(t);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e):Pt(function(t){var n,s=le(t),o=St(t),r=null==(n=t.ownerDocument)?void 0:n.body,a=ce(s.scrollWidth,s.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),c=ce(s.scrollHeight,s.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),d=-o.scrollLeft+Nt(t),u=-o.scrollTop;return"rtl"===ie(r||s).direction&&(d+=ce(s.clientWidth,r?r.clientWidth:0)-a),{width:a,height:c,x:d,y:u}}(le(i)));var t,n,s,o,r,a,c,d}function Mi(i){var e,t=i.reference,n=i.element,s=i.placement,o=s?te(s):null,r=s?xe(s):null,a=t.x+t.width/2-n.width/2,c=t.y+t.height/2-n.height/2;switch(o){case W:e={x:a,y:t.y-n.height};break;case q:e={x:a,y:t.y+t.height};break;case F:e={x:t.x+t.width,y:c};break;case $:e={x:t.x-n.width,y:c};break;default:e={x:t.x,y:t.y}}var d=o?Lt(o):null;if(null!=d){var u="y"===d?"height":"width";switch(r){case ve:e[d]=e[d]-(t[u]/2-n[u]/2);break;case Ce:e[d]=e[d]+(t[u]/2-n[u]/2)}}return e}function De(i,e){void 0===e&&(e={});var M,X,D,x,Ae,z,Ee,ne,j,n=e.placement,s=void 0===n?i.placement:n,o=e.boundary,r=void 0===o?pi:o,a=e.rootBoundary,c=void 0===a?At:a,d=e.elementContext,u=void 0===d?ke:d,h=e.altBoundary,y=void 0!==h&&h,f=e.padding,p=void 0===f?0:f,_=xi("number"!=typeof p?p:Di(p,Oe)),k=i.rects.popper,A=i.elements[y?u===ke?mi:ke:u],b=(M=Re(A)?A:A.contextElement||le(i.elements.popper),D=c,Ee="clippingParents"===(X=r)?(Ae=ze(st(x=M)),Re(z=["absolute","fixed"].indexOf(ie(x).position)>=0&&K(x)?We(x):x)?Ae.filter(function(H){return Re(H)&&ki(H,z)&&"body"!==ee(H)}):[]):[].concat(X),j=(ne=[].concat(Ee,[D])).reduce(function(x,Ae){var z=ji(M,Ae);return x.top=ce(z.top,x.top),x.right=$e(z.right,x.right),x.bottom=$e(z.bottom,x.bottom),x.left=ce(z.left,x.left),x},ji(M,ne[0])),j.width=j.right-j.left,j.height=j.bottom-j.top,j.x=j.left,j.y=j.top,j),T=Le(i.elements.reference),w=Mi({reference:T,element:k,strategy:"absolute",placement:s}),E=Pt(Object.assign({},k,w)),O=u===ke?E:T,C={top:b.top-O.top+_.top,bottom:O.bottom-b.bottom+_.bottom,left:b.left-O.left+_.left,right:O.right-b.right+_.right},L=i.modifiersData.offset;if(u===ke&&L){var P=L[s];Object.keys(C).forEach(function(M){var X=[F,q].indexOf(M)>=0?1:-1,D=[W,q].indexOf(M)>=0?"y":"x";C[M]+=P[D]*X})}return C}const Hi={name:"flip",enabled:!0,phase:"main",fn:function(i){var e=i.state,t=i.options,n=i.name;if(!e.modifiersData[n]._skip){for(var s=t.mainAxis,o=void 0===s||s,r=t.altAxis,a=void 0===r||r,c=t.fallbackPlacements,d=t.padding,u=t.boundary,h=t.rootBoundary,y=t.altBoundary,f=t.flipVariations,p=void 0===f||f,_=t.allowedAutoPlacements,g=e.options.placement,k=te(g),A=c||(k!==g&&p?function(H){if(te(H)===nt)return[];var Y=lt(H);return[Ii(H),Y,Ii(Y)]}(g):[lt(g)]),b=[g].concat(A).reduce(function(H,Y){return H.concat(te(Y)===nt?function ss(i,e){void 0===e&&(e={});var s=e.boundary,o=e.rootBoundary,r=e.padding,a=e.flipVariations,c=e.allowedAutoPlacements,d=void 0===c?Ot:c,u=xe(e.placement),h=u?a?Tt:Tt.filter(function(p){return xe(p)===u}):Oe,y=h.filter(function(p){return d.indexOf(p)>=0});0===y.length&&(y=h);var f=y.reduce(function(p,_){return p[_]=De(i,{placement:_,boundary:s,rootBoundary:o,padding:r})[te(_)],p},{});return Object.keys(f).sort(function(p,_){return f[p]-f[_]})}(e,{placement:Y,boundary:u,rootBoundary:h,padding:d,flipVariations:p,allowedAutoPlacements:_}):Y)},[]),T=e.rects.reference,w=e.rects.popper,E=new Map,O=!0,C=b[0],L=0;L<b.length;L++){var P=b[L],M=te(P),X=xe(P)===ve,D=[W,q].indexOf(M)>=0,Ee=D?"width":"height",ne=De(e,{placement:P,boundary:u,rootBoundary:h,altBoundary:y,padding:d}),se=D?X?F:$:X?q:W;T[Ee]>w[Ee]&&(se=lt(se));var j=lt(se),x=[];if(o&&x.push(ne[M]<=0),a&&x.push(ne[se]<=0,ne[j]<=0),x.every(function(H){return H})){C=P,O=!1;break}E.set(P,x)}if(O)for(var Ae=function(H){var Y=b.find(function(pt){var Ge=E.get(pt);if(Ge)return Ge.slice(0,H).every(function(Ie){return Ie})});if(Y)return C=Y,"break"},z=p?3:1;z>0&&"break"!==Ae(z);z--);e.placement!==C&&(e.modifiersData[n]._skip=!0,e.placement=C,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Bi(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 Ri(i){return[W,F,q,$].some(function(e){return i[e]>=0})}const Wi={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(i){var e=i.state,t=i.name,n=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,r=De(e,{elementContext:"reference"}),a=De(e,{altBoundary:!0}),c=Bi(r,n),d=Bi(a,s,o),u=Ri(c),h=Ri(d);e.modifiersData[t]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}},$i={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(i){var e=i.state,n=i.name,s=i.options.offset,o=void 0===s?[0,0]:s,r=Ot.reduce(function(u,h){return u[h]=(f=e.rects,p=o,_=te(y=h),g=[$,W].indexOf(_)>=0?-1:1,A=(A=(k="function"==typeof p?p(Object.assign({},f,{placement:y})):p)[0])||0,b=((b=k[1])||0)*g,[$,F].indexOf(_)>=0?{x:b,y:A}:{x:A,y:b}),u;var y,f,p,_,g,k,A,b},{}),a=r[e.placement],d=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=a.x,e.modifiersData.popperOffsets.y+=d),e.modifiersData[n]=r}},jt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(i){var e=i.state;e.modifiersData[i.name]=Mi({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},zi={name:"preventOverflow",enabled:!0,phase:"main",fn:function(i){var e=i.state,t=i.options,n=i.name,s=t.mainAxis,o=void 0===s||s,r=t.altAxis,a=void 0!==r&&r,y=t.tether,f=void 0===y||y,p=t.tetherOffset,_=void 0===p?0:p,g=De(e,{boundary:t.boundary,rootBoundary:t.rootBoundary,padding:t.padding,altBoundary:t.altBoundary}),k=te(e.placement),A=xe(e.placement),b=!A,T=Lt(k),w="x"===T?"y":"x",E=e.modifiersData.popperOffsets,O=e.rects.reference,C=e.rects.popper,L="function"==typeof _?_(Object.assign({},e.rects,{placement:e.placement})):_,P={x:0,y:0};if(E){if(o||a){var M="y"===T?W:$,X="y"===T?q:F,D="y"===T?"height":"width",Ee=E[T],ne=E[T]+g[M],se=E[T]-g[X],j=f?-C[D]/2:0,x=A===ve?O[D]:C[D],Ae=A===ve?-C[D]:-O[D],z=e.elements.arrow,H=f&&z?kt(z):{width:0,height:0},Y=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},pt=Y[M],Ge=Y[X],Ie=rt(0,O[D],H[D]),Bs=b?O[D]/2-j-Ie-pt-L:x-Ie-pt-L,Rs=b?-O[D]/2+j+Ie+Ge+L:Ae+Ie+Ge+L,Ut=e.elements.arrow&&We(e.elements.arrow),Hn=e.modifiersData.offset?e.modifiersData.offset[e.placement][T]:0,Bn=E[T]+Bs-Hn-(Ut?"y"===T?Ut.clientTop||0:Ut.clientLeft||0:0),Rn=E[T]+Rs-Hn;if(o){var Wn=rt(f?$e(ne,Bn):ne,Ee,f?ce(se,Rn):se);E[T]=Wn,P[T]=Wn-Ee}if(a){var mt=E[w],$n=mt+g["x"===T?W:$],zn=mt-g["x"===T?q:F],qn=rt(f?$e($n,Bn):$n,mt,f?ce(zn,Rn):zn);E[w]=qn,P[w]=qn-mt}}e.modifiersData[n]=P}},requiresIfExists:["offset"]};function os(i,e,t){void 0===t&&(t=!1);var n=K(e);K(e)&&e.getBoundingClientRect();var s,o,r=le(e),a=Le(i),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(n||!n&&!t)&&(("body"!==ee(e)||It(r))&&(c=(s=e)!==G(s)&&K(s)?{scrollLeft:(o=s).scrollLeft,scrollTop:o.scrollTop}:St(s)),K(e)?((d=Le(e)).x+=e.clientLeft,d.y+=e.clientTop):r&&(d.x=Nt(r))),{x:a.left+c.scrollLeft-d.x,y:a.top+c.scrollTop-d.y,width:a.width,height:a.height}}function rs(i){var e=new Map,t=new Set,n=[];function s(o){t.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach(function(r){if(!t.has(r)){var a=e.get(r);a&&s(a)}}),n.push(o)}return i.forEach(function(o){e.set(o.name,o)}),i.forEach(function(o){t.has(o.name)||s(o)}),n}var qi={placement:"bottom",modifiers:[],strategy:"absolute"};function Fi(){for(var i=arguments.length,e=new Array(i),t=0;t<i;t++)e[t]=arguments[t];return!e.some(function(n){return!(n&&"function"==typeof n.getBoundingClientRect)})}function ct(i){void 0===i&&(i={});var t=i.defaultModifiers,n=void 0===t?[]:t,s=i.defaultOptions,o=void 0===s?qi:s;return function(r,a,c){void 0===c&&(c=o);var d,u,h={placement:"bottom",orderedModifiers:[],options:Object.assign({},qi,o),modifiersData:{},elements:{reference:r,popper:a},attributes:{},styles:{}},y=[],f=!1,p={state:h,setOptions:function(g){var k="function"==typeof g?g(h.options):g;_(),h.options=Object.assign({},o,h.options,k),h.scrollParents={reference:Re(r)?ze(r):r.contextElement?ze(r.contextElement):[],popper:ze(a)};var A,b,w,E,T=(A=[].concat(n,h.options.modifiers),b=A.reduce(function(w,E){var O=w[E.name];return w[E.name]=O?Object.assign({},O,E,{options:Object.assign({},O.options,E.options),data:Object.assign({},O.data,E.data)}):E,w},{}),w=Object.keys(b).map(function(w){return b[w]}),E=rs(w),Oi.reduce(function(O,C){return O.concat(E.filter(function(L){return L.phase===C}))},[]));return h.orderedModifiers=T.filter(function(w){return w.enabled}),h.orderedModifiers.forEach(function(w){var O=w.options,L=w.effect;if("function"==typeof L){var P=L({state:h,name:w.name,instance:p,options:void 0===O?{}:O});y.push(P||function(){})}}),p.update()},forceUpdate:function(){if(!f){var g=h.elements,k=g.reference,A=g.popper;if(Fi(k,A)){h.rects={reference:os(k,We(A),"fixed"===h.options.strategy),popper:kt(A)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(L){return h.modifiersData[L.name]=Object.assign({},L.data)});for(var b=0;b<h.orderedModifiers.length;b++)if(!0!==h.reset){var T=h.orderedModifiers[b],w=T.fn,E=T.options;"function"==typeof w&&(h=w({state:h,options:void 0===E?{}:E,name:T.name,instance:p})||h)}else h.reset=!1,b=-1}}},update:(d=function(){return new Promise(function(g){p.forceUpdate(),g(h)})},function(){return u||(u=new Promise(function(g){Promise.resolve().then(function(){u=void 0,g(d())})})),u}),destroy:function(){_(),f=!0}};if(!Fi(r,a))return p;function _(){y.forEach(function(g){return g()}),y=[]}return p.setOptions(c).then(function(g){!f&&c.onFirstUpdate&&c.onFirstUpdate(g)}),p}}var as=ct(),ls=ct({defaultModifiers:[Dt,jt,xt,Ct]}),Mt=ct({defaultModifiers:[Dt,jt,xt,Ct,$i,Hi,zi,Si,Wi]});const Ui=Object.freeze({__proto__:null,popperGenerator:ct,detectOverflow:De,createPopperBase:as,createPopper:Mt,createPopperLite:ls,top:W,bottom:q,right:F,left:$,auto:nt,basePlacements:Oe,start:ve,end:Ce,clippingParents:pi,viewport:At,popper:ke,reference:mi,variationPlacements:Tt,placements:Ot,beforeRead:gi,read:"read",afterRead:bi,beforeMain:vi,main:"main",afterMain:wi,beforeWrite:Ei,write:"write",afterWrite:Ti,modifierPhases:Oi,applyStyles:Ct,arrow:Si,computeStyles:xt,eventListeners:Dt,flip:Hi,hide:Wi,offset:$i,popperOffsets:jt,preventOverflow:zi}),Ht="dropdown",Bt="Escape",Ki="ArrowUp",Rt="ArrowDown",cs=new RegExp("ArrowUp|ArrowDown|Escape"),Xi="click.bs.dropdown.data-api",Yi="keydown.bs.dropdown.data-api",Se="show",qe='[data-bs-toggle="dropdown"]',Wt=".dropdown-menu",hs=R()?"top-end":"top-start",ds=R()?"top-start":"top-end",us=R()?"bottom-end":"bottom-start",fs=R()?"bottom-start":"bottom-end",ps=R()?"left-start":"right-start",ms=R()?"right-start":"left-start",gs={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},_s={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class U extends Q{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 gs}static get DefaultType(){return _s}static get NAME(){return Ht}toggle(){return this._isShown()?this.hide():this.show()}show(){if(ue(this._element)||this._isShown(this._menu))return;const e={relatedTarget:this._element};if(l.trigger(this._element,"show.bs.dropdown",e).defaultPrevented)return;const t=U.getParentFromElement(this._element);this._inNavbar?N.setDataAttribute(this._menu,"popper","none"):this._createPopper(t),"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&[].concat(...document.body.children).forEach(n=>l.on(n,"mouseover",Je)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Se),this._element.classList.add(Se),l.trigger(this._element,"shown.bs.dropdown",e)}hide(){!ue(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){l.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>l.off(t,"mouseover",Je)),this._popper&&this._popper.destroy(),this._menu.classList.remove(Se),this._element.classList.remove(Se),this._element.setAttribute("aria-expanded","false"),N.removeDataAttribute(this._menu,"popper"),l.trigger(this._element,"hidden.bs.dropdown",e))}_getConfig(e){if(e=v(v(v({},this.constructor.Default),N.getDataAttributes(this._element)),e),J(Ht,e,this.constructor.DefaultType),"object"==typeof e.reference&&!de(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Ht.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(e){if(void 0===Ui)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=e:de(this._config.reference)?t=re(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const n=this._getPopperConfig(),s=n.modifiers.find(o=>"applyStyles"===o.name&&!1===o.enabled);this._popper=Mt(t,this._menu,n),s&&N.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains(Se)}_getMenuElement(){return m.next(this._element,Wt)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return ps;if(e.classList.contains("dropstart"))return ms;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?ds:hs:t?fs:us}_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}]),v(v({},e),"function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig)}_selectMenuItem({key:e,target:t}){const n=m.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(Pe);n.length&&Qt(n,t,e===Rt,!n.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=U.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=m.find(qe);for(let n=0,s=t.length;n<s;n++){const o=U.getInstance(t[n]);if(!o||!1===o._config.autoClose||!o._isShown())continue;const r={relatedTarget:o._element};if(e){const a=e.composedPath(),c=a.includes(o._menu);if(a.includes(o._element)||"inside"===o._config.autoClose&&!c||"outside"===o._config.autoClose&&c||o._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;"click"===e.type&&(r.clickEvent=e)}o._completeHide(r)}}static getParentFromElement(e){return oe(e)||e.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?"Space"===e.key||e.key!==Bt&&(e.key!==Rt&&e.key!==Ki||e.target.closest(Wt)):!cs.test(e.key))return;const t=this.classList.contains(Se);if(!t&&e.key===Bt||(e.preventDefault(),e.stopPropagation(),ue(this)))return;const n=this.matches(qe)?this:m.prev(this,qe)[0],s=U.getOrCreateInstance(n);if(e.key!==Bt)return e.key===Ki||e.key===Rt?(t||s.show(),void s._selectMenuItem(e)):void(t&&"Space"!==e.key||U.clearMenus());s.hide()}}l.on(document,Yi,qe,U.dataApiKeydownHandler),l.on(document,Yi,Wt,U.dataApiKeydownHandler),l.on(document,Xi,U.clearMenus),l.on(document,"keyup.bs.dropdown.data-api",U.clearMenus),l.on(document,Xi,qe,function(i){i.preventDefault(),U.getOrCreateInstance(this).toggle()}),V(U);const Qi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Gi=".sticky-top";class $t{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(Qi,"paddingRight",t=>t+e),this._setElementAttributes(Gi,"marginRight",t=>t-e)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const s=this.getWidth();this._applyManipulationCallback(e,o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+s)return;this._saveInitialAttribute(o,t);const r=window.getComputedStyle(o)[t];o.style[t]=`${n(Number.parseFloat(r))}px`})}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(Qi,"paddingRight"),this._resetElementAttributes(Gi,"marginRight")}_saveInitialAttribute(e,t){const n=e.style[t];n&&N.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,n=>{const s=N.getDataAttribute(n,t);void 0===s?n.style.removeProperty(t):(N.removeDataAttribute(n,t),n.style[t]=s)})}_applyManipulationCallback(e,t){de(e)?t(e):m.find(e,this._element).forEach(t)}isOverflowing(){return this.getWidth()>0}}const bs={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},vs={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},Zi="mousedown.bs.backdrop";class en{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(()=>{fe(e)})):fe(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),fe(e)})):fe(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=v(v({},bs),"object"==typeof e?e:{})).rootElement=re(e.rootElement),J("backdrop",e,vs),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),l.on(this._getElement(),Zi,()=>{fe(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(l.off(this._element,Zi),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){Yt(e,this._getElement(),this._config.isAnimated)}}const ys={trapElement:null,autofocus:!0},ws={trapElement:"element",autofocus:"boolean"},tn=".bs.focustrap",nn="backward";class sn{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(),l.off(document,tn),l.on(document,"focusin.bs.focustrap",n=>this._handleFocusin(n)),l.on(document,"keydown.tab.bs.focustrap",n=>this._handleKeydown(n)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,l.off(document,tn))}_handleFocusin(e){const{target:t}=e,{trapElement:n}=this._config;if(t===document||t===n||n.contains(t))return;const s=m.focusableChildren(n);0===s.length?n.focus():this._lastTabNavDirection===nn?s[s.length-1].focus():s[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?nn:"forward")}_getConfig(e){return e=v(v({},ys),"object"==typeof e?e:{}),J("focustrap",e,ws),e}}const an={backdrop:!0,keyboard:!0,focus:!0},Es={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},ln="hidden.bs.modal",cn="show.bs.modal",hn="resize.bs.modal",dn="click.dismiss.bs.modal",un="keydown.dismiss.bs.modal",fn="mousedown.dismiss.bs.modal",pn="modal-open",zt="modal-static";class ye extends Q{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=m.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 $t}static get Default(){return an}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||l.trigger(this._element,cn,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(pn),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),l.on(this._dialog,fn,()=>{l.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||l.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"),l.off(this._element,dn),l.off(this._dialog,fn),this._queueCallback(()=>this._hideModal(),this._element,e)}dispose(){[window,this._dialog].forEach(e=>l.off(e,".bs.modal")),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new en({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new sn({trapElement:this._element})}_getConfig(e){return e=v(v(v({},an),N.getDataAttributes(this._element)),"object"==typeof e?e:{}),J("modal",e,Es),e}_showElement(e){const t=this._isAnimated(),n=m.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,n&&(n.scrollTop=0),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,l.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,t)}_setEscapeEvent(){this._isShown?l.on(this._element,un,e=>{this._config.keyboard&&"Escape"===e.key?(e.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==e.key||this._triggerBackdropTransition()}):l.off(this._element,un)}_setResizeEvent(){this._isShown?l.on(window,hn,()=>this._adjustDialog()):l.off(window,hn)}_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(pn),this._resetAdjustments(),this._scrollBar.reset(),l.trigger(this._element,ln)})}_showBackdrop(e){l.on(this._element,dn,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(l.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:e,scrollHeight:t,style:n}=this._element,s=t>document.documentElement.clientHeight;!s&&"hidden"===n.overflowY||e.contains(zt)||(s||(n.overflowY="hidden"),e.add(zt),this._queueCallback(()=>{e.remove(zt),s||this._queueCallback(()=>{n.overflowY=""},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;(!n&&e&&!R()||n&&!e&&R())&&(this._element.style.paddingLeft=`${t}px`),(n&&!e&&!R()||!n&&e&&R())&&(this._element.style.paddingRight=`${t}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const n=ye.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}})}}l.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(i){const e=oe(this);["A","AREA"].includes(this.tagName)&&i.preventDefault(),l.one(e,cn,n=>{n.defaultPrevented||l.one(e,ln,()=>{Pe(this)&&this.focus()})});const t=m.findOne(".modal.show");t&&ye.getInstance(t).hide(),ye.getOrCreateInstance(e).toggle(this)}),Ze(ye),V(ye);const gn="offcanvas",_n={backdrop:!0,keyboard:!0,scroll:!1},As={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},vn=".offcanvas.show",yn="hidden.bs.offcanvas";class he extends Q{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 gn}static get Default(){return _n}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||l.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new $t).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(),l.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&(l.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 $t).reset(),l.trigger(this._element,yn)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e=v(v(v({},_n),N.getDataAttributes(this._element)),"object"==typeof e?e:{}),J(gn,e,As),e}_initializeBackDrop(){return new en({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new sn({trapElement:this._element})}_addEventListeners(){l.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=he.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)}})}}l.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(i){const e=oe(this);if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),ue(this))return;l.one(e,yn,()=>{Pe(this)&&this.focus()});const t=m.findOne(vn);t&&t!==e&&he.getInstance(t).hide(),he.getOrCreateInstance(e).toggle(this)}),l.on(window,"load.bs.offcanvas.data-api",()=>m.find(vn).forEach(i=>he.getOrCreateInstance(i).show())),Ze(he),V(he);const Ts=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Os=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Cs=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,ks=(i,e)=>{const t=i.nodeName.toLowerCase();if(e.includes(t))return!Ts.has(t)||Boolean(Os.test(i.nodeValue)||Cs.test(i.nodeValue));const n=e.filter(s=>s instanceof RegExp);for(let s=0,o=n.length;s<o;s++)if(n[s].test(t))return!0;return!1};function wn(i,e,t){if(!i.length)return i;if(t&&"function"==typeof t)return t(i);const n=(new window.DOMParser).parseFromString(i,"text/html"),s=[].concat(...n.body.querySelectorAll("*"));for(let o=0,r=s.length;o<r;o++){const a=s[o],c=a.nodeName.toLowerCase();if(!Object.keys(e).includes(c)){a.remove();continue}const d=[].concat(...a.attributes),u=[].concat(e["*"]||[],e[c]||[]);d.forEach(h=>{ks(h,u)||a.removeAttribute(h.nodeName)})}return n.body.innerHTML}const En="tooltip",Ls=new Set(["sanitize","allowList","sanitizeFn"]),xs={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)"},Ds={AUTO:"auto",TOP:"top",RIGHT:R()?"left":"right",BOTTOM:"bottom",LEFT:R()?"right":"left"},Ss={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},Ns={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"},ht="fade",Fe="show",Ue="show",An=".tooltip-inner",On="hide.bs.modal",dt="hover";class we extends Q{constructor(e,t){if(void 0===Ui)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 Ss}static get NAME(){return En}static get Event(){return Ns}static get DefaultType(){return xs}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(Fe))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),l.off(this._element.closest(".modal"),On,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=l.trigger(this._element,this.constructor.Event.SHOW),t=Kt(this._element),n=null===t?this._element.ownerDocument.documentElement.contains(this._element):t.contains(this._element);if(e.defaultPrevented||!n)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(An).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const s=this.getTipElement(),o=(h=>{do{h+=Math.floor(1e6*Math.random())}while(document.getElementById(h));return h})(this.constructor.NAME);s.setAttribute("id",o),this._element.setAttribute("aria-describedby",o),this._config.animation&&s.classList.add(ht);const r="function"==typeof this._config.placement?this._config.placement.call(this,s,this._element):this._config.placement,a=this._getAttachment(r);this._addAttachmentClass(a);const{container:c}=this._config;je.set(s,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(c.append(s),l.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=Mt(this._element,s,this._getPopperConfig(a)),s.classList.add(Fe);const d=this._resolvePossibleFunction(this._config.customClass);d&&s.classList.add(...d.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(h=>{l.on(h,"mouseover",Je)});const u=this.tip.classList.contains(ht);this._queueCallback(()=>{const h=this._hoverState;this._hoverState=null,l.trigger(this._element,this.constructor.Event.SHOWN),"out"===h&&this._leave(null,this)},this.tip,u)}hide(){if(!this._popper)return;const e=this.getTipElement();if(l.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;e.classList.remove(Fe),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(n=>l.off(n,"mouseover",Je)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const t=this.tip.classList.contains(ht);this._queueCallback(()=>{this._isWithActiveTrigger()||(this._hoverState!==Ue&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),l.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(ht,Fe),this.tip=t,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),An)}_sanitizeAndSetContent(e,t,n){const s=m.findOne(n,e);t||!s?this.setElementContent(s,t):s.remove()}setElementContent(e,t){if(null!==e)return de(t)?(t=re(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=wn(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:n=>this._handlePopperPlacementChange(n)}],onFirstUpdate:n=>{n.options.placement!==n.placement&&this._handlePopperPlacementChange(n)}};return v(v({},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 Ds[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(e=>{if("click"===e)l.on(this._element,this.constructor.Event.CLICK,this._config.selector,t=>this.toggle(t));else if("manual"!==e){const n=e===dt?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;l.on(this._element,e===dt?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,this._config.selector,s=>this._enter(s)),l.on(this._element,n,this._config.selector,s=>this._leave(s))}}),this._hideModalHandler=()=>{this._element&&this.hide()},l.on(this._element.closest(".modal"),On,this._hideModalHandler),this._config.selector?this._config=gt(v({},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":dt]=!0),t.getTipElement().classList.contains(Fe)||t._hoverState===Ue?t._hoverState=Ue:(clearTimeout(t._timeout),t._hoverState=Ue,t._config.delay&&t._config.delay.show?t._timeout=setTimeout(()=>{t._hoverState===Ue&&t.show()},t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?"focus":dt]=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=N.getDataAttributes(this._element);return Object.keys(t).forEach(n=>{Ls.has(n)&&delete t[n]}),(e=v(v(v({},this.constructor.Default),t),"object"==typeof e&&e?e:{})).container=!1===e.container?document.body:re(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()),J(En,e,this.constructor.DefaultType),e.sanitize&&(e.template=wn(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const e=this.getTipElement(),t=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),n=e.getAttribute("class").match(t);null!==n&&n.length>0&&n.map(s=>s.trim()).forEach(s=>e.classList.remove(s))}_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=we.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}V(we);const Is=gt(v({},we.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>'}),Ps=gt(v({},we.DefaultType),{content:"(string|element|function)"}),js={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 ut extends we{static get Default(){return Is}static get NAME(){return"popover"}static get Event(){return js}static get DefaultType(){return Ps}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=ut.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}V(ut);const kn="scrollspy",Ln={offset:10,method:"auto",target:""},Ms={offset:"number",method:"string",target:"(string|element)"},Ne="active",Ft=".nav-link, .list-group-item, .dropdown-item",xn="position";class Ve extends Q{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,l.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return Ln}static get NAME(){return kn}refresh(){const t="auto"===this._config.method?this._scrollElement===this._scrollElement.window?"offset":xn:this._config.method,n=t===xn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),m.find(Ft,this._config.target).map(s=>{const o=B(s),r=o?m.findOne(o):null;if(r){const a=r.getBoundingClientRect();if(a.width||a.height)return[N[t](r).top+n,o]}return null}).filter(s=>s).sort((s,o)=>s[0]-o[0]).forEach(s=>{this._offsets.push(s[0]),this._targets.push(s[1])})}dispose(){l.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(e){return(e=v(v(v({},Ln),N.getDataAttributes(this._element)),"object"==typeof e&&e?e:{})).target=re(e.target)||document.documentElement,J(kn,e,Ms),e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){const s=this._targets[this._targets.length-1];this._activeTarget!==s&&this._activate(s)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let s=this._offsets.length;s--;)this._activeTarget!==this._targets[s]&&e>=this._offsets[s]&&(void 0===this._offsets[s+1]||e<this._offsets[s+1])&&this._activate(this._targets[s])}}_activate(e){this._activeTarget=e,this._clear();const t=Ft.split(",").map(s=>`${s}[data-bs-target="${e}"],${s}[href="${e}"]`),n=m.findOne(t.join(","),this._config.target);n.classList.add(Ne),n.classList.contains("dropdown-item")?m.findOne(".dropdown-toggle",n.closest(".dropdown")).classList.add(Ne):m.parents(n,".nav, .list-group").forEach(s=>{m.prev(s,".nav-link, .list-group-item").forEach(o=>o.classList.add(Ne)),m.prev(s,".nav-item").forEach(o=>{m.children(o,".nav-link").forEach(r=>r.classList.add(Ne))})}),l.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})}_clear(){m.find(Ft,this._config.target).filter(e=>e.classList.contains(Ne)).forEach(e=>e.classList.remove(Ne))}static jQueryInterface(e){return this.each(function(){const t=Ve.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}l.on(window,"load.bs.scrollspy.data-api",()=>{m.find('[data-bs-spy="scroll"]').forEach(i=>new Ve(i))}),V(Ve);const Ke="active",Nn=".active",In=":scope > li > .active";class Xe extends Q{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Ke))return;let e;const t=oe(this._element),n=this._element.closest(".nav, .list-group");n&&(e=m.find("UL"===n.nodeName||"OL"===n.nodeName?In:Nn,n),e=e[e.length-1]);const s=e?l.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;if(l.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==s&&s.defaultPrevented)return;this._activate(this._element,n);const o=()=>{l.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),l.trigger(this._element,"shown.bs.tab",{relatedTarget:e})};t?this._activate(t,t.parentNode,o):o()}_activate(e,t,n){const s=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?m.children(t,Nn):m.find(In,t))[0],o=n&&s&&s.classList.contains("fade"),r=()=>this._transitionComplete(e,s,n);s&&o?(s.classList.remove("show"),this._queueCallback(r,e,!0)):r()}_transitionComplete(e,t,n){if(t){t.classList.remove(Ke);const o=m.findOne(":scope > .dropdown-menu .active",t.parentNode);o&&o.classList.remove(Ke),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add(Ke),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),e.classList.contains("fade")&&e.classList.add("show");let s=e.parentNode;if(s&&"LI"===s.nodeName&&(s=s.parentNode),s&&s.classList.contains("dropdown-menu")){const o=e.closest(".dropdown");o&&m.find(".dropdown-toggle",o).forEach(r=>r.classList.add(Ke)),e.setAttribute("aria-expanded",!0)}n&&n()}static jQueryInterface(e){return this.each(function(){const t=Xe.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}l.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(),ue(this)||Xe.getOrCreateInstance(this).show()}),V(Xe);const Ye="show",ft="showing",Hs={animation:"boolean",autohide:"boolean",delay:"number"},Mn={animation:!0,autohide:!0,delay:5e3};class Qe extends Q{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 Hs}static get Default(){return Mn}static get NAME(){return"toast"}show(){l.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(Ye),this._element.classList.add(ft),this._queueCallback(()=>{this._element.classList.remove(ft),l.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this._element.classList.contains(Ye)&&(l.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(ft),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(ft),this._element.classList.remove(Ye),l.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(Ye)&&this._element.classList.remove(Ye),super.dispose()}_getConfig(e){return e=v(v(v({},Mn),N.getDataAttributes(this._element)),"object"==typeof e&&e?e:{}),J("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 n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){l.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),l.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),l.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),l.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=Qe.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return Ze(Qe),V(Qe),{Alert:Me,Button:He,Carousel:Z,Collapse:be,Dropdown:U,Modal:ye,Offcanvas:he,Popover:ut,ScrollSpy:Ve,Tab:Xe,Toast:Qe,Tooltip:we}});