marketplacepos 2.9.4 → 2.9.6

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.
Files changed (70) hide show
  1. package/Marketplace/103.bd9a1f982b50e346.js +1 -0
  2. package/Marketplace/168.f88b133ecbdcb96a.js +1 -0
  3. package/Marketplace/231.0c7ab993977632a2.js +1 -0
  4. package/Marketplace/257.d1592e885695ba4b.js +1 -0
  5. package/Marketplace/278.e89610409641d910.js +1 -0
  6. package/Marketplace/296.93310f70e5f9d3a9.js +1 -0
  7. package/Marketplace/299.86cba892502ce6e4.js +1 -0
  8. package/Marketplace/307.f56ec0946ec944b7.js +1 -0
  9. package/Marketplace/311.17b5fcab2ef01d3f.js +1 -0
  10. package/Marketplace/389.f73b3c5db7bdf654.js +1 -0
  11. package/Marketplace/3rdpartylicenses.txt +1 -1
  12. package/Marketplace/445.8f1497373c95bb64.js +1 -0
  13. package/Marketplace/452.12b65c3c6f144b7e.js +1 -0
  14. package/Marketplace/476.d08ef7b92327904d.js +1 -0
  15. package/Marketplace/478.348a0f1d9f25448d.js +1 -0
  16. package/Marketplace/500.c2e6963e4771761e.js +1 -0
  17. package/Marketplace/527.e23646167d384e97.js +1 -0
  18. package/Marketplace/556.5d624cfb73f161b2.js +1 -0
  19. package/Marketplace/56.0432dfcbb3e04e39.js +1 -0
  20. package/Marketplace/599.8de0c2b4c7af0f9d.js +1 -0
  21. package/Marketplace/617.4db1b737553fe58b.js +1 -0
  22. package/Marketplace/62.4f9a8ca2692bdd97.js +1 -0
  23. package/Marketplace/671.8d5ec5d95df1c8e5.js +1 -0
  24. package/Marketplace/699.e1f8489991913e8e.js +1 -0
  25. package/Marketplace/726.318498721a0c771c.js +1 -0
  26. package/Marketplace/810.af61302495e16f98.js +1 -0
  27. package/Marketplace/877.bbdea3b04cc75780.js +1 -0
  28. package/Marketplace/900.f4171c8753af159f.js +1 -0
  29. package/Marketplace/967.2b39f548c7f4eb30.js +1 -0
  30. package/Marketplace/common.91711b840b02b984.js +1 -0
  31. package/Marketplace/index.html +6 -5
  32. package/Marketplace/main.e646f758e999bb20.js +1 -0
  33. package/Marketplace/polyfills.503b3f4bf922d237.js +1 -0
  34. package/Marketplace/runtime.2e7e4ee8428d338f.js +1 -0
  35. package/Marketplace/scripts.3e75d50128144df1.js +1 -0
  36. package/Marketplace/styles.7f496be7a7c4b295.css +19 -0
  37. package/package.json +1 -1
  38. package/Marketplace/213.73aa99e3f8dc5caa.js +0 -1
  39. package/Marketplace/277.e644e3531765ce65.js +0 -1
  40. package/Marketplace/360.8279e3b4ceab63e1.js +0 -1
  41. package/Marketplace/369.881799be1b0c0cd7.js +0 -1
  42. package/Marketplace/379.aad8784dbdb3dd33.js +0 -1
  43. package/Marketplace/392.f4537160149f627a.js +0 -1
  44. package/Marketplace/395.2943aa5a44308399.js +0 -1
  45. package/Marketplace/397.13ff3d72465810f8.js +0 -1
  46. package/Marketplace/425.03f8f97da7452806.js +0 -1
  47. package/Marketplace/455.c9dd08adf08a1b65.js +0 -1
  48. package/Marketplace/46.40ebac81bd0fb91b.js +0 -1
  49. package/Marketplace/481.64ffd74d20798f93.js +0 -1
  50. package/Marketplace/501.7645c32a140dd7f8.js +0 -1
  51. package/Marketplace/512.52dc49022c04fa43.js +0 -1
  52. package/Marketplace/53.3655b31ecb37ade9.js +0 -1
  53. package/Marketplace/533.cc5ab7f3ce13770c.js +0 -1
  54. package/Marketplace/545.4809f373cc63f3b4.js +0 -1
  55. package/Marketplace/655.ae475c8285604367.js +0 -1
  56. package/Marketplace/717.5d253da5bb63552f.js +0 -1
  57. package/Marketplace/739.0de1f18deac0ed90.js +0 -1
  58. package/Marketplace/767.eca7237ccb50aa86.js +0 -1
  59. package/Marketplace/835.6cfe266f3c9b5cc9.js +0 -1
  60. package/Marketplace/859.3a4d26983bbb5254.js +0 -1
  61. package/Marketplace/874.5b06431d2b5a1e8f.js +0 -1
  62. package/Marketplace/913.ec8155bc121fb0a6.js +0 -1
  63. package/Marketplace/993.5c22ca4b00b8c459.js +0 -1
  64. package/Marketplace/997.1e5281aa64540dee.js +0 -1
  65. package/Marketplace/common.af67cc08f47a8d44.js +0 -1
  66. package/Marketplace/main.4874ea507cbcab3a.js +0 -1
  67. package/Marketplace/polyfills.bee3c4d96e890990.js +0 -1
  68. package/Marketplace/runtime.357a02c3b18dd5e6.js +0 -1
  69. package/Marketplace/scripts.b7cebc1258dbcca8.js +0 -1
  70. package/Marketplace/styles.97105d62c44869cb.css +0 -20
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[429],{7435:(ie,Ee,de)=>{de(8583)},8583:()=>{!function(e){const n=e.performance;function i(M){n&&n.mark&&n.mark(M)}function o(M,E){n&&n.measure&&n.measure(M,E)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(M){return c+M}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class M{constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"<root>",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=M.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,M,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===w))return;const C=t.state!=p;C&&t._transitionTo(p,j),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==w&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(j,p):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,p,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(j,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new m(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new m(w,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new m(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");t._transitionTo(G,j,p);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;C<k.length;C++)k[C]._updateTaskCount(t.type,r)}}return M.__symbol__=a,M})();const P={name:"",onHasTask:(M,E,t,r)=>M.hasTask(t,r),onScheduleTask:(M,E,t,r)=>M.scheduleTask(t,r),onInvokeTask:(M,E,t,r,k,C)=>M.invokeTask(t,r,k,C),onCancelTask:(M,E,t,r)=>M.cancelTask(t,r)};class v{constructor(E,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=E,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:P,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=E,r.onScheduleTask||(this._scheduleTaskZS=P,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=P,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=P,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(E,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,E,t):new d(E,t)}intercept(E,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,E,t,r):t}invoke(E,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,E,t,r,k,C):t.apply(r,k)}handleError(E,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,E,t)}scheduleTask(E,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,E,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(E,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,E,t,r,k):t.callback.apply(r,k)}cancelTask(E,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,E,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(E,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,E,t)}catch(r){this.handleError(E,r)}}_updateTaskCount(E,t){const r=this._taskCounts,k=r[E],C=r[E]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:E})}}class m{constructor(E,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=E,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=E===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(E,t,r){E||(E=this),ee++;try{return E.runCount++,E.zone.runTask(E,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(E,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${E}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=E,E==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const L=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(M){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let E=J[N];E||(E=J.then),E.call(J,M)}else e[L](M,0)}function R(M){0===ee&&0===B.length&&q(_),M&&B.push(M)}function _(){if(!H){for(H=!0;B.length;){const M=B;B=[];for(let E=0;E<M.length;E++){const t=M[E];try{t.zone.runTask(t,null,null)}catch(r){z.onUnhandledError(r)}}}z.microtaskDrainDone(),H=!1}}const K={name:"NO ZONE"},x="notScheduled",X="scheduling",j="scheduled",p="running",G="canceling",h="unknown",I="microTask",w="macroTask",Q="eventTask",oe={},z={symbol:a,currentZoneFrame:()=>U,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Oe="addEventListener",Se="removeEventListener",Ze=Zone.__symbol__(Oe),Ne=Zone.__symbol__(Se),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const A=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||"object"==typeof self&&self||global;function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),je=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=A("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return je&&i===Te&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let P=Re[d];P||(P=Re[d]=A("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&e===Y&&(m=Y),m&&("function"==typeof m[P]&&m.removeEventListener(d,We),y&&y.call(m,null),m[P]=v,"function"==typeof v&&m.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const m=v[P];if(m)return m;if(a){let L=a.call(this);if(L)return o.set.call(this,L),"function"==typeof v.removeAttribute&&v.removeAttribute(n),L}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;o<n.length;o++)qe(e,"on"+n[o],i);else{const o=[];for(const c in e)"on"==c.slice(0,2)&&o.push(c);for(let c=0;c<o.length;c++)qe(e,o[c],i)}}const ne=A("originalInstance");function ve(e){const n=Y[e];if(!n)return;Y[A(e)]=n,Y[e]=function(){const c=Le(arguments,e);switch(c.length){case 0:this[ne]=new n;break;case 1:this[ne]=new n(c[0]);break;case 2:this[ne]=new n(c[0],c[1]);break;case 3:this[ne]=new n(c[0],c[1],c[2]);break;case 4:this[ne]=new n(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},ue(Y[e],n);const i=new n(function(){});let o;for(o in i)"XMLHttpRequest"===e&&"responseBlob"===o||function(c){"function"==typeof i[c]?Y[e].prototype[c]=function(){return this[ne][c].apply(this[ne],arguments)}:Ee(Y[e].prototype,c,{set:function(a){"function"==typeof a?(this[ne][c]=Ie(a,e+"."+c),ue(this[ne][c],a)):this[ne][c]=a},get:function(){return this[ne][c]}})}(o);for(o in n)"prototype"!==o&&n.hasOwnProperty(o)&&(Y[e][o]=n[o])}function le(e,n,i){let o=e;for(;o&&!o.hasOwnProperty(n);)o=de(o);!o&&e[n]&&(o=e);const c=A(n);let a=null;if(o&&(!(a=o[c])||!o.hasOwnProperty(c))&&(a=o[c]=o[n],Fe(o&&ie(o,n)))){const d=i(a,c,n);o[n]=function(){return d(this,arguments)},ue(o[n],a)}return a}function lt(e,n,i){let o=null;function c(a){const y=a.data;return y.args[y.cbIdx]=function(){a.invoke.apply(this,arguments)},o.apply(y.target,y.args),a}o=le(e,n,a=>function(y,d){const P=i(y,d);return P.cbIdx>=0&&"function"==typeof d[P.cbIdx]?Me(P.name,d[P.cbIdx],P,c):a.apply(y,d)})}function ue(e,n){e[A("OriginalDelegate")]=n}let ze=!1,Ae=!1;function ft(){if(ze)return Ae;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ae=!0)}catch{}return Ae}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],P=!0===e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),j=null,p=!0,G=!1;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const w=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},oe=y("currentTaskTrace");function z(l,u,s){const f=w();if(l===s)throw new TypeError("Promise resolved with itself");if(l[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(b){return f(()=>{z(l,!1,b)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(b){f(()=>{z(l,!1,b)})()}else{l[q]=u;const b=l[R];if(l[R]=s,l[_]===_&&u===p&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const T=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;T&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:T})}for(let T=0;T<b.length;)ee(l,b[T++],b[T++],b[T++],b[T++]);if(0==b.length&&u==G){l[q]=0;let T=s;try{throw new Error("Uncaught (in promise): "+function a(l){return l&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(D){T=D}P&&(T.throwOriginal=!0),T.rejection=s,T.promise=l,T.zone=n.current,T.task=n.currentTask,d.push(T),i.scheduleMicroTask()}}}return l}const U=y("rejectionHandledHandler");function re(l){if(0===l[q]){try{const u=n[U];u&&"function"==typeof u&&u.call(this,{rejection:l[R],promise:l})}catch{}l[q]=G;for(let u=0;u<d.length;u++)l===d[u].promise&&d.splice(u,1)}}function ee(l,u,s,f,g){re(l);const b=l[q],T=b?"function"==typeof f?f:H:"function"==typeof g?g:J;u.scheduleMicroTask("Promise.then",()=>{try{const D=l[R],O=!!s&&_===s[_];O&&(s[K]=D,s[x]=b);const S=u.run(T,void 0,O&&T!==J&&T!==H?[]:[D]);z(s,!0,S)}catch(D){z(s,!1,D)}},s)}const M=function(){},E=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),p,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new E([],"All promises were rejected"));const s=[];let f=0;try{for(let T of u)f++,s.push(t.resolve(T))}catch{return Promise.reject(new E([],"All promises were rejected"))}if(0===f)return Promise.reject(new E([],"All promises were rejected"));let g=!1;const b=[];return new t((T,D)=>{for(let O=0;O<s.length;O++)s[O].then(S=>{g||(g=!0,T(S))},S=>{b.push(S),f--,0===f&&(g=!0,D(new E(b,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,O)=>{s=D,f=O});function b(D){s(D)}function T(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(b,T);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,b=new this((S,V)=>{f=S,g=V}),T=2,D=0;const O=[];for(let S of u){B(S)||(S=this.resolve(S));const V=D;try{S.then(F=>{O[V]=s?s.thenCallback(F):F,T--,0===T&&f(O)},F=>{s?(O[V]=s.errorCallback(F),T--,0===T&&f(O)):g(F)})}catch(F){g(F)}T++,D++}return T-=2,0===T&&f(O),b}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=w();u&&u(f(I(s,p)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){var f;let g=null===(f=this.constructor)||void 0===f?void 0:f[Symbol.species];(!g||"function"!=typeof g)&&(g=this.constructor||t);const b=new g(M),T=n.current;return this[q]==j?this[R].push(T,b,u,s):ee(this,T,b,u,s),b}catch(u){return this.then(null,u)}finally(u){var s;let f=null===(s=this.constructor)||void 0===s?void 0:s[Symbol.species];(!f||"function"!=typeof f)&&(f=t);const g=new f(M);g[_]=_;const b=n.current;return this[q]==j?this[R].push(b,g,u,u):ee(this,b,g,u,u),g}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[m]=f,l.prototype.then=function(g,b){return new t((D,O)=>{f.call(this,D,O)}).then(g,b)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=e[o];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=A("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Oe,a=o&&o.rm||Se,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",P=A(c),v="."+c+":",m="prependListener",L="."+m+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=p=>x.handleEvent(p),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(p){X=p}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const j=[];if(1===X.length){const p=Z(X[0],x,_);p&&j.push(p)}else{const p=X.slice();for(let G=0;G<p.length&&(!_||!0!==_[Ke]);G++){const h=Z(p[G],x,_);h&&j.push(h)}}if(1===j.length)throw j[0];for(let p=0;p<j.length;p++){const G=j[p];n.nativeScheduleMicroTask(()=>{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let p=R;for(;p&&!p.hasOwnProperty(c);)p=de(p);if(!p&&R[c]&&(p=R),!p||p[P])return!1;const G=_&&_.eventNameToString,h={},I=p[P]=p[c],w=p[A(a)]=p[a],Q=p[A(y)]=p[y],oe=p[A(d)]=p[d];let z;function U(s,f){return!ye&&"object"==typeof s&&s?!!s.capture:ye&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}_&&_.prepend&&(z=p[A(_.prepend)]=p[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const b=g&&s.target[g];if(b)for(let T=0;T<b.length;T++)if(b[T]===s){b.splice(T,1),s.isRemoved=!0,0===b.length&&(s.allRemoved=!0,s.target[g]=null);break}}if(s.allRemoved)return w.call(s.target,s.eventName,s.capture?H:B,s.options)}:function(s){return w.call(s.target,s.eventName,s.invoke,s.options)},C=_&&_.diff?_.diff:function(s,f){const g=typeof f;return"function"===g&&s.callback===f||"object"===g&&s.originalDelegate===f},$=Zone[A("UNPATCHED_EVENTS")],l=e[A("PASSIVE_EVENTS")],u=function(s,f,g,b,T=!1,D=!1){return function(){const O=this||e;let S=arguments[0];_&&_.transferEventName&&(S=_.transferEventName(S));let V=arguments[1];if(!V)return s.apply(this,arguments);if(we&&"uncaughtException"===S)return s.apply(this,arguments);let F=!1;if("function"!=typeof V){if(!V.handleEvent)return s.apply(this,arguments);F=!0}if(x&&!x(s,V,O,arguments))return;const fe=ye&&!!l&&-1!==l.indexOf(S),se=U(arguments[2],fe);if($)for(let _e=0;_e<$.length;_e++)if(S===$[_e])return fe?s.call(O,S,V,se):s.apply(this,arguments);const xe=!!se&&("boolean"==typeof se||se.capture),nt=!(!se||"object"!=typeof se)&&se.once,gt=Zone.current;let Ge=te[S];Ge||(Je(S,G),Ge=te[S]);const rt=Ge[xe?ce:ae];let De,me=O[rt],ot=!1;if(me){if(ot=!0,X)for(let _e=0;_e<me.length;_e++)if(C(me[_e],V))return}else me=O[rt]=[];const st=O.constructor.name,it=Ye[st];it&&(De=it[S]),De||(De=st+f+(G?G(S):S)),h.options=se,nt&&(h.options.once=!1),h.target=O,h.capture=xe,h.eventName=S,h.isExisting=ot;const be=K?ht:void 0;be&&(be.taskData=h);const he=gt.scheduleEventTask(De,V,be,g,b);return h.target=null,be&&(be.taskData=null),nt&&(se.once=!0),!ye&&"boolean"==typeof he.options||(he.options=se),he.target=O,he.capture=xe,he.eventName=S,F&&(he.originalDelegate=V),D?me.unshift(he):me.push(he),T?O:void 0}};return p[c]=u(I,v,t,r,j),z&&(p[m]=u(z,L,function(s){return z.call(h.target,h.eventName,s.invoke,h.options)},r,j,!0)),p[a]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=arguments[2],b=!!g&&("boolean"==typeof g||g.capture),T=arguments[1];if(!T)return w.apply(this,arguments);if(x&&!x(w,T,s,arguments))return;const D=te[f];let O;D&&(O=D[b?ce:ae]);const S=O&&s[O];if(S)for(let V=0;V<S.length;V++){const F=S[V];if(C(F,T))return S.splice(V,1),F.isRemoved=!0,0===S.length&&(F.allRemoved=!0,s[O]=null,"string"==typeof f)&&(s[ke+"ON_PROPERTY"+f]=null),F.zone.cancelTask(F),j?s:void 0}return w.apply(this,arguments)},p[y]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=[],b=Qe(s,G?G(f):f);for(let T=0;T<b.length;T++){const D=b[T];g.push(D.originalDelegate?D.originalDelegate:D.callback)}return g},p[d]=function(){const s=this||e;let f=arguments[0];if(f){_&&_.transferEventName&&(f=_.transferEventName(f));const g=te[f];if(g){const D=s[g[ae]],O=s[g[ce]];if(D){const S=D.slice();for(let V=0;V<S.length;V++){const F=S[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}if(O){const S=O.slice();for(let V=0;V<S.length;V++){const F=S[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}}}else{const g=Object.keys(s);for(let b=0;b<g.length;b++){const D=$e.exec(g[b]);let O=D&&D[1];O&&"removeListener"!==O&&this[d].call(this,O)}this[d].call(this,"removeListener")}if(j)return this},ue(p[c],I),ue(p[a],w),oe&&ue(p[d],oe),Q&&ue(p[y],Q),!0}let q=[];for(let R=0;R<i.length;R++)q[R]=J(i[R],o);return q}function Qe(e,n){if(!n){const a=[];for(let y in e){const d=$e.exec(y);let P=d&&d[1];if(P&&(!n||P===n)){const v=e[y];if(v)for(let m=0;m<v.length;m++)a.push(v[m])}}return a}let i=te[n];i||(Je(n),i=te[n]);const o=e[i[ae]],c=e[i[ce]];return o?c?o.concat(c):o.slice():c?c.slice():[]}function _t(e,n){const i=e.Event;i&&i.prototype&&n.patchMethod(i.prototype,"stopImmediatePropagation",o=>function(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,P,v){return P&&P.prototype&&c.forEach(function(m){const L=`${i}.${o}::`+m,Z=P.prototype;try{if(Z.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,L),e._redefineProperty(P.prototype,m,N)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}catch{}}),y.call(n,d,P,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:je,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Oe,REMOVE_EVENT_LISTENER_STR:Se})});const Ce=A("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),v}function P(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(m,L){if("function"==typeof L[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},N=L[0];L[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,L[0],Z,d,P);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,L)}),a=le(e,i,v=>function(m,L){const Z=L[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,L)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;o<i.length;o++)le(e,i[o],(a,y,d)=>function(P,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function mt(e,n){n.patchEventPrototype(e,n)})(e,i),function pt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let P=0;P<i.length;P++){const v=i[P],Z=y+(v+a),N=y+(v+c);o[v]={},o[v][a]=Z,o[v][c]=N}const d=e.EventTarget;d&&d.prototype&&n.patchEventTarget(e,n,[d&&d.prototype])}(e,i);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&i.patchEventTarget(e,i,[o.prototype])}),Zone.__load_patch("MutationObserver",(e,n,i)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(je){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c<o.length;c++){const a=n[o[c]];a&&a.prototype&&tt(a.prototype,He(a.prototype),i)}}(i,e)}),Zone.__load_patch("customElements",(e,n,i)=>{!function yt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function P(v){const m=v.XMLHttpRequest;if(!m)return;const L=m.prototype;let N=L[Ze],B=L[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,w=I.target;w[a]=!1,w[d]=!1;const Q=w[c];N||(N=w[Ze],B=w[Ne]),Q&&B.call(w,H,Q);const oe=w[c]=()=>{if(w.readyState===w.DONE)if(!I.aborted&&w[a]&&h.state===J){const U=w[n.__symbol__("loadfalse")];if(0!==w.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=w[n.__symbol__("loadfalse")];for(let W=0;W<ee.length;W++)ee[W]===h&&ee.splice(W,1);!I.aborted&&h.state===J&&re.call(h)},U.push(h)}else h.invoke()}else!I.aborted&&!1===w[a]&&(w[d]=!0)};return N.call(w,H,oe),w[i]||(w[i]=h),p.apply(w,I.args),w[a]=!0,h}function R(){}function _(h){const I=h.data;return I.aborted=!0,G.apply(I.target,I.args)}const K=le(L,"open",()=>function(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),p=le(L,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return p.apply(h,I);{const w={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,w,q,_);h&&!0===h[d]&&!w.aborted&&Q.state===J&&Q.invoke()}}),G=le(L,"abort",()=>function(h,I){const w=function Z(h){return h[i]}(h);if(w&&"string"==typeof w.type){if(null==w.cancelFn||w.data&&w.data.aborted)return;w.zone.cancelTask(w)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o<n.length;o++){const c=n[o],a=e[c];if(a){if(!Fe(ie(e,c)))continue;e[c]=(d=>{const P=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(P,d),P})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const P=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(P)}})}}e.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))})}},ie=>{ie(ie.s=7435)}]);
@@ -1 +0,0 @@
1
- (()=>{"use strict";var e,h={},v={};function r(e){var n=v[e];if(void 0!==n)return n.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return h[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=h,e=[],r.O=(n,t,f,d)=>{if(!t){var a=1/0;for(c=0;c<e.length;c++){for(var[t,f,d]=e[c],b=!0,o=0;o<t.length;o++)(!1&d||a>=d)&&Object.keys(r.O).every(u=>r.O[u](t[o]))?t.splice(o--,1):(b=!1,d<a&&(a=d));if(b){e.splice(c--,1);var s=f();void 0!==s&&(n=s)}}return n}d=d||0;for(var c=e.length;c>0&&e[c-1][2]>d;c--)e[c]=e[c-1];e[c]=[t,f,d]},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,f){if(1&f&&(t=this(t)),8&f||"object"==typeof t&&t&&(4&f&&t.__esModule||16&f&&"function"==typeof t.then))return t;var d=Object.create(null);r.r(d);var c={};n=n||[null,e({}),e([]),e(e)];for(var a=2&f&&t;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(b=>c[b]=()=>t[b]);return c.default=()=>t,r.d(d,c),d}})(),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=>(592===e?"common":e)+"."+{46:"40ebac81bd0fb91b",53:"3655b31ecb37ade9",213:"73aa99e3f8dc5caa",277:"e644e3531765ce65",360:"8279e3b4ceab63e1",369:"881799be1b0c0cd7",379:"aad8784dbdb3dd33",392:"f4537160149f627a",395:"2943aa5a44308399",397:"13ff3d72465810f8",425:"03f8f97da7452806",455:"c9dd08adf08a1b65",481:"64ffd74d20798f93",501:"7645c32a140dd7f8",512:"52dc49022c04fa43",533:"cc5ab7f3ce13770c",545:"4809f373cc63f3b4",592:"af67cc08f47a8d44",655:"ae475c8285604367",717:"5d253da5bb63552f",739:"0de1f18deac0ed90",767:"eca7237ccb50aa86",835:"6cfe266f3c9b5cc9",859:"3a4d26983bbb5254",874:"5b06431d2b5a1e8f",913:"ec8155bc121fb0a6",993:"5c22ca4b00b8c459",997:"1e5281aa64540dee"}[e]+".js",r.miniCssF=e=>{},r.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="pos-marketplace:";r.l=(t,f,d,c)=>{if(e[t])e[t].push(f);else{var a,b;if(void 0!==d)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var i=o[s];if(i.getAttribute("src")==t||i.getAttribute("data-webpack")==n+d){a=i;break}}a||(b=!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+d),a.src=r.tu(t)),e[t]=[f];var p=(g,u)=>{a.onerror=a.onload=null,clearTimeout(l);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(y=>y(u)),g)return g(u)},l=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),b&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&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},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="https://cdn.jsdelivr.net/npm/marketplacepos@2.9.4/Marketplace/",(()=>{var e={666:0};r.f.j=(f,d)=>{var c=r.o(e,f)?e[f]:void 0;if(0!==c)if(c)d.push(c[2]);else if(666!=f){var a=new Promise((i,p)=>c=e[f]=[i,p]);d.push(c[2]=a);var b=r.p+r.u(f),o=new Error;r.l(b,i=>{if(r.o(e,f)&&(0!==(c=e[f])&&(e[f]=void 0),c)){var p=i&&("load"===i.type?"missing":i.type),l=i&&i.target&&i.target.src;o.message="Loading chunk "+f+" failed.\n("+p+": "+l+")",o.name="ChunkLoadError",o.type=p,o.request=l,c[1](o)}},"chunk-"+f,f)}else e[f]=0},r.O.j=f=>0===e[f];var n=(f,d)=>{var o,s,[c,a,b]=d,i=0;if(c.some(l=>0!==e[l])){for(o in a)r.o(a,o)&&(r.m[o]=a[o]);if(b)var p=b(r)}for(f&&f(d);i<c.length;i++)r.o(e,s=c[i])&&e[s]&&e[s][0](),e[s]=0;return r.O(p)},t=self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})()})();
@@ -1 +0,0 @@
1
- !function(be,ve){"object"==typeof exports&&typeof module<"u"?module.exports=ve():"function"==typeof define&&define.amd?define(ve):(be=typeof globalThis<"u"?globalThis:be||self).bootstrap=ve()}(this,function(){"use strict";const be="transitionend",ve=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},Qt=i=>{const e=ve(i);return e&&document.querySelector(e)?e:null},J=i=>{const e=ve(i);return e?document.querySelector(e):null},Ut=i=>{i.dispatchEvent(new Event(be))},ee=i=>!(!i||"object"!=typeof i)&&(void 0!==i.jquery&&(i=i[0]),void 0!==i.nodeType),oe=i=>ee(i)?i.jquery?i[0]:i:"string"==typeof i&&i.length>0?document.querySelector(i):null,ye=i=>{if(!ee(i)||0===i.getClientRects().length)return!1;const e="visible"===getComputedStyle(i).getPropertyValue("visibility"),t=i.closest("details:not([open])");if(!t)return e;if(t!==i){const n=i.closest("summary");if(n&&n.parentNode!==t||null===n)return!1}return e},re=i=>!i||i.nodeType!==Node.ELEMENT_NODE||!!i.classList.contains("disabled")||(void 0!==i.disabled?i.disabled:i.hasAttribute("disabled")&&"false"!==i.getAttribute("disabled")),Gt=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?Gt(i.parentNode):null},Ve=()=>{},Zt=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,gt=[],W=()=>"rtl"===document.documentElement.dir,F=i=>{var e;e=()=>{const t=Zt();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?(gt.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of gt)t()}),gt.push(e)):e()},te=i=>{"function"==typeof i&&i()},Jt=(i,e,t=!0)=>{if(!t)return void te(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(be,o),te(i))};e.addEventListener(be,o),setTimeout(()=>{s||Ut(e)},n)},mt=(i,e,t,n)=>{const s=i.length;let o=i.indexOf(e);return-1===o?!t&&n?i[s-1]:i[0]:(o+=t?1:-1,n&&(o=(o+s)%s),i[Math.max(0,Math.min(o,s-1))])},Mn=/[^.]*(?=\..*)\.|.*/,Hn=/\..*/,$n=/::\d+$/,_t={};let ei=1;const ti={mouseenter:"mouseover",mouseleave:"mouseout"},Bn=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 ii(i,e){return e&&`${e}::${ei++}`||i.uidEvent||ei++}function ni(i){const e=ii(i);return i.uidEvent=e,_t[e]=_t[e]||{},_t[e]}function si(i,e,t=null){return Object.values(i).find(n=>n.callable===e&&n.delegationSelector===t)}function oi(i,e,t){const n="string"==typeof e,s=n?t:e||t;let o=ai(i);return Bn.has(o)||(o=i),[n,s,o]}function ri(i,e,t,n,s){if("string"!=typeof e||!i)return;let[o,r,a]=oi(e,t,n);var g;e in ti&&(g=r,r=function(p){if(!p.relatedTarget||p.relatedTarget!==p.delegateTarget&&!p.delegateTarget.contains(p.relatedTarget))return g.call(this,p)});const c=ni(i),d=c[a]||(c[a]={}),u=si(d,r,o?t:null);if(u)return void(u.oneOff=u.oneOff&&s);const h=ii(r,e.replace(Mn,"")),b=o?function(f,g,p){return function m(T){const k=f.querySelectorAll(g);for(let{target:y}=T;y&&y!==this;y=y.parentNode)for(const A of k)if(A===y)return vt(T,{delegateTarget:y}),m.oneOff&&l.off(f,T.type,g,p),p.apply(y,[T])}}(i,t,r):function(f,g){return function p(m){return vt(m,{delegateTarget:f}),p.oneOff&&l.off(f,m.type,g),g.apply(f,[m])}}(i,r);b.delegationSelector=o?t:null,b.callable=r,b.oneOff=s,b.uidEvent=h,d[h]=b,i.addEventListener(a,b,o)}function bt(i,e,t,n,s){const o=si(e[t],n,s);o&&(i.removeEventListener(t,o,Boolean(s)),delete e[t][o.uidEvent])}function Wn(i,e,t,n){const s=e[t]||{};for(const o of Object.keys(s))if(o.includes(n)){const r=s[o];bt(i,e,t,r.callable,r.delegationSelector)}}function ai(i){return i=i.replace(Hn,""),ti[i]||i}const l={on(i,e,t,n){ri(i,e,t,n,!1)},one(i,e,t,n){ri(i,e,t,n,!0)},off(i,e,t,n){if("string"!=typeof e||!i)return;const[s,o,r]=oi(e,t,n),a=r!==e,c=ni(i),d=c[r]||{},u=e.startsWith(".");if(void 0===o){if(u)for(const h of Object.keys(c))Wn(i,c,h,e.slice(1));for(const h of Object.keys(d)){const b=h.replace($n,"");if(!a||e.includes(b)){const f=d[h];bt(i,c,r,f.callable,f.delegationSelector)}}}else{if(!Object.keys(d).length)return;bt(i,c,r,o,s?t:null)}},trigger(i,e,t){if("string"!=typeof e||!i)return null;const n=Zt();let s=null,o=!0,r=!0,a=!1;e!==ai(e)&&n&&(s=n.Event(e,t),n(i).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());let c=new Event(e,{bubbles:o,cancelable:!0});return c=vt(c,t),a&&c.preventDefault(),r&&i.dispatchEvent(c),c.defaultPrevented&&s&&s.preventDefault(),c}};function vt(i,e){for(const[t,n]of Object.entries(e||{}))try{i[t]=n}catch{Object.defineProperty(i,t,{configurable:!0,get:()=>n})}return i}const ae=new Map,yt={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)}};function li(i){if("true"===i)return!0;if("false"===i)return!1;if(i===Number(i).toString())return Number(i);if(""===i||"null"===i)return null;if("string"!=typeof i)return i;try{return JSON.parse(decodeURIComponent(i))}catch{return i}}function wt(i){return i.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const ie={setDataAttribute(i,e,t){i.setAttribute(`data-bs-${wt(e)}`,t)},removeDataAttribute(i,e){i.removeAttribute(`data-bs-${wt(e)}`)},getDataAttributes(i){if(!i)return{};const e={},t=Object.keys(i.dataset).filter(n=>n.startsWith("bs")&&!n.startsWith("bsConfig"));for(const n of t){let s=n.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),e[s]=li(i.dataset[n])}return e},getDataAttribute:(i,e)=>li(i.getAttribute(`data-bs-${wt(e)}`))};class Pe{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=ee(t)?ie.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...ee(t)?ie.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const s of Object.keys(t)){const o=t[s],r=e[s],a=ee(r)?"element":null==(n=r)?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${a}" but expected type "${o}".`)}var n}}class K extends Pe{constructor(e,t){super(),(e=oe(e))&&(this._element=e,this._config=this._getConfig(t),yt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){yt.remove(this._element,this.constructor.DATA_KEY),l.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){Jt(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return yt.get(oe(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.2.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Ke=(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(),re(this))return;const o=J(this)||this.closest(`.${n}`);i.getOrCreateInstance(o)[e]()})};class je extends K{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=je.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)}})}}Ke(je,"close"),F(je);const ci='[data-bs-toggle="button"]';class Me extends K{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=Me.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}l.on(document,"click.bs.button.data-api",ci,i=>{i.preventDefault();const e=i.target.closest(ci);Me.getOrCreateInstance(e).toggle()}),F(Me);const _={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.closest(e);for(;n;)t.push(n),n=n.parentNode.closest(e);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=>!re(t)&&ye(t))}},Fn={endCallback:null,leftCallback:null,rightCallback:null},zn={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Xe extends Pe{constructor(e,t){super(),this._element=e,e&&Xe.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Fn}static get DefaultType(){return zn}static get NAME(){return"swipe"}dispose(){l.off(this._element,".bs.swipe")}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),te(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&te(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(l.on(this._element,"pointerdown.bs.swipe",e=>this._start(e)),l.on(this._element,"pointerup.bs.swipe",e=>this._end(e)),this._element.classList.add("pointer-event")):(l.on(this._element,"touchstart.bs.swipe",e=>this._start(e)),l.on(this._element,"touchmove.bs.swipe",e=>this._move(e)),l.on(this._element,"touchend.bs.swipe",e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const He="next",we="prev",Ae="left",Ye="right",At="slid.bs.carousel",hi="carousel",Qe="active",qn={ArrowLeft:Ye,ArrowRight:Ae},Rn={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Vn={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ee extends K{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=_.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===hi&&this.cycle()}static get Default(){return Rn}static get DefaultType(){return Vn}static get NAME(){return"carousel"}next(){this._slide(He)}nextWhenVisible(){!document.hidden&&ye(this._element)&&this.next()}prev(){this._slide(we)}pause(){this._isSliding&&Ut(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?l.one(this._element,At,()=>this.cycle()):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void l.one(this._element,At,()=>this.to(e));const n=this._getItemIndex(this._getActive());n!==e&&this._slide(e>n?He:we,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_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",()=>this.pause()),l.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&Xe.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of _.find(".carousel-item img",this._element))l.on(t,"dragstart.bs.carousel",n=>n.preventDefault());this._swipeHelper=new Xe(this._element,{leftCallback:()=>this._slide(this._directionToOrder(Ae)),rightCallback:()=>this._slide(this._directionToOrder(Ye)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}})}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=qn[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=_.findOne(".active",this._indicatorsElement);t.classList.remove(Qe),t.removeAttribute("aria-current");const n=_.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(Qe),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const n=this._getActive(),s=e===He,o=t||mt(this._getItems(),n,s,this._config.wrap);if(o===n)return;const r=this._getItemIndex(o),a=h=>l.trigger(this._element,h,{relatedTarget:o,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:r});if(a("slide.bs.carousel").defaultPrevented||!n||!o)return;const c=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(r),this._activeElement=o;const d=s?"carousel-item-start":"carousel-item-end",u=s?"carousel-item-next":"carousel-item-prev";o.classList.add(u),n.classList.add(d),o.classList.add(d),this._queueCallback(()=>{o.classList.remove(d,u),o.classList.add(Qe),n.classList.remove(Qe,u,d),this._isSliding=!1,a(At)},n,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return _.findOne(".active.carousel-item",this._element)}_getItems(){return _.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return W()?e===Ae?we:He:e===Ae?He:we}_orderToDirection(e){return W()?e===we?Ae:Ye:e===we?Ye:Ae}static jQueryInterface(e){return this.each(function(){const t=Ee.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)})}}l.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(i){const e=J(this);if(!e||!e.classList.contains(hi))return;i.preventDefault();const t=Ee.getOrCreateInstance(e),n=this.getAttribute("data-bs-slide-to");return n?(t.to(n),void t._maybeEnableCycle()):"next"===ie.getDataAttribute(this,"slide")?(t.next(),void t._maybeEnableCycle()):(t.prev(),void t._maybeEnableCycle())}),l.on(window,"load.bs.carousel.data-api",()=>{const i=_.find('[data-bs-ride="carousel"]');for(const e of i)Ee.getOrCreateInstance(e)}),F(Ee);const Et="show",Ue="collapse",Ge="collapsing",Ct='[data-bs-toggle="collapse"]',Kn={parent:null,toggle:!0},Xn={parent:"(null|element)",toggle:"boolean"};class Ce extends K{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=_.find(Ct);for(const s of n){const o=Qt(s),r=_.find(o).filter(a=>a===this._element);null!==o&&r.length&&this._triggerArray.push(s)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Kn}static get DefaultType(){return Xn}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(s=>s!==this._element).map(s=>Ce.getOrCreateInstance(s,{toggle:!1}))),e.length&&e[0]._isTransitioning||l.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(const s of e)s.hide();const t=this._getDimension();this._element.classList.remove(Ue),this._element.classList.add(Ge),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ge),this._element.classList.add(Ue,Et),this._element.style[t]="",l.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[t]=`${this._element[n]}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(Ge),this._element.classList.remove(Ue,Et);for(const t of this._triggerArray){const n=J(t);n&&!this._isShown(n)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ge),this._element.classList.add(Ue),l.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}_isShown(e=this._element){return e.classList.contains(Et)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=oe(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Ct);for(const t of e){const n=J(t);n&&this._addAriaAndCollapsedClass([t],this._isShown(n))}}_getFirstLevelChildren(e){const t=_.find(":scope .collapse .collapse",this._config.parent);return _.find(e,this._config.parent).filter(n=>!t.includes(n))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const n=Ce.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",Ct,function(i){("A"===i.target.tagName||i.delegateTarget&&"A"===i.delegateTarget.tagName)&&i.preventDefault();const e=Qt(this),t=_.find(e);for(const n of t)Ce.getOrCreateInstance(n,{toggle:!1}).toggle()}),F(Ce);var I="top",H="bottom",$="right",N="left",Ze="auto",Te=[I,H,$,N],he="start",Oe="end",di="clippingParents",Tt="viewport",xe="popper",ui="reference",Ot=Te.reduce(function(i,e){return i.concat([e+"-"+he,e+"-"+Oe])},[]),xt=[].concat(Te,[Ze]).reduce(function(i,e){return i.concat([e,e+"-"+he,e+"-"+Oe])},[]),fi="beforeRead",gi="afterRead",mi="beforeMain",bi="afterMain",vi="beforeWrite",wi="afterWrite",Ai=[fi,"read",gi,mi,"main",bi,vi,"write",wi];function Q(i){return i?(i.nodeName||"").toLowerCase():null}function z(i){if(null==i)return window;if("[object Window]"!==i.toString()){var e=i.ownerDocument;return e&&e.defaultView||window}return i}function de(i){return i instanceof z(i).Element||i instanceof Element}function q(i){return i instanceof z(i).HTMLElement||i instanceof HTMLElement}function kt(i){return typeof ShadowRoot<"u"&&(i instanceof z(i).ShadowRoot||i instanceof ShadowRoot)}const Lt={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];q(o)&&Q(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},{});q(s)&&Q(s)&&(Object.assign(s.style,r),Object.keys(o).forEach(function(a){s.removeAttribute(a)}))})}},requires:["computeStyles"]};function U(i){return i.split("-")[0]}var ue=Math.max,Je=Math.min,ke=Math.round;function Dt(){var i=navigator.userAgentData;return null!=i&&i.brands?i.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Ei(){return!/^((?!chrome|android).)*safari/i.test(Dt())}function Le(i,e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);var n=i.getBoundingClientRect(),s=1,o=1;e&&q(i)&&(s=i.offsetWidth>0&&ke(n.width)/i.offsetWidth||1,o=i.offsetHeight>0&&ke(n.height)/i.offsetHeight||1);var r=(de(i)?z(i):window).visualViewport,a=!Ei()&&t,c=(n.left+(a&&r?r.offsetLeft:0))/s,d=(n.top+(a&&r?r.offsetTop:0))/o,u=n.width/s,h=n.height/o;return{width:u,height:h,top:d,right:c+u,bottom:d+h,left:c,x:c,y:d}}function St(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 Ci(i,e){var t=e.getRootNode&&e.getRootNode();if(i.contains(e))return!0;if(t&&kt(t)){var n=e;do{if(n&&i.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ne(i){return z(i).getComputedStyle(i)}function Yn(i){return["table","td","th"].indexOf(Q(i))>=0}function le(i){return((de(i)?i.ownerDocument:i.document)||window.document).documentElement}function et(i){return"html"===Q(i)?i:i.assignedSlot||i.parentNode||(kt(i)?i.host:null)||le(i)}function Ti(i){return q(i)&&"fixed"!==ne(i).position?i.offsetParent:null}function $e(i){for(var e=z(i),t=Ti(i);t&&Yn(t)&&"static"===ne(t).position;)t=Ti(t);return t&&("html"===Q(t)||"body"===Q(t)&&"static"===ne(t).position)?e:t||function(n){var s=/firefox/i.test(Dt());if(/Trident/i.test(Dt())&&q(n)&&"fixed"===ne(n).position)return null;var o=et(n);for(kt(o)&&(o=o.host);q(o)&&["html","body"].indexOf(Q(o))<0;){var r=ne(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 It(i){return["top","bottom"].indexOf(i)>=0?"x":"y"}function Be(i,e,t){return ue(i,Je(e,t))}function Oi(i){return Object.assign({},{top:0,right:0,bottom:0,left:0},i)}function xi(i,e){return e.reduce(function(t,n){return t[n]=i,t},{})}const ki={name:"arrow",enabled:!0,phase:"main",fn:function(i){var e,O,C,t=i.state,n=i.name,s=i.options,o=t.elements.arrow,r=t.modifiersData.popperOffsets,a=U(t.placement),c=It(a),d=[N,$].indexOf(a)>=0?"height":"width";if(o&&r){var u=(C=t,Oi("number"!=typeof(O="function"==typeof(O=s.padding)?O(Object.assign({},C.rects,{placement:C.placement})):O)?O:xi(O,Te))),h=St(o),b="y"===c?I:N,f="y"===c?H:$,g=t.rects.reference[d]+t.rects.reference[c]-r[c]-t.rects.popper[d],p=r[c]-t.rects.reference[c],m=$e(o),T=m?"y"===c?m.clientHeight||0:m.clientWidth||0:0,v=T/2-h[d]/2+(g/2-p/2),w=Be(u[b],v,T-h[d]-u[f]);t.modifiersData[n]=((e={})[c]=w,e.centerOffset=w-v,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)))&&Ci(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function De(i){return i.split("-")[1]}var Qn={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Li(i){var e,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=i.isFixed,b=r.x,f=void 0===b?0:b,g=r.y,p=void 0===g?0:g,m="function"==typeof u?u({x:f,y:p}):{x:f,y:p};f=m.x,p=m.y;var T=r.hasOwnProperty("x"),k=r.hasOwnProperty("y"),y=N,A=I,v=window;if(d){var w=$e(t),E="clientHeight",O="clientWidth";w===z(t)&&"static"!==ne(w=le(t)).position&&"absolute"===a&&(E="scrollHeight",O="scrollWidth"),(s===I||(s===N||s===$)&&o===Oe)&&(A=H,p-=(h&&w===v&&v.visualViewport?v.visualViewport.height:w[E])-n.height,p*=c?1:-1),s!==N&&(s!==I&&s!==H||o!==Oe)||(y=$,f-=(h&&w===v&&v.visualViewport?v.visualViewport.width:w[O])-n.width,f*=c?1:-1)}var C,Y,R,j,L=Object.assign({position:a},d&&Qn),B=!0===u?(R=(Y={x:f,y:p}).y,j=window.devicePixelRatio||1,{x:ke(Y.x*j)/j||0,y:ke(R*j)/j||0}):{x:f,y:p};return f=B.x,p=B.y,Object.assign({},L,c?((C={})[A]=k?"0":"",C[y]=T?"0":"",C.transform=(v.devicePixelRatio||1)<=1?"translate("+f+"px, "+p+"px)":"translate3d("+f+"px, "+p+"px, 0)",C):((e={})[A]=k?p+"px":"",e[y]=T?f+"px":"",e.transform="",e))}const Nt={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:U(e.placement),variation:De(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Li(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,Li(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 tt={passive:!0};const Pt={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=z(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&d.forEach(function(u){u.addEventListener("scroll",t.update,tt)}),a&&c.addEventListener("resize",t.update,tt),function(){o&&d.forEach(function(u){u.removeEventListener("scroll",t.update,tt)}),a&&c.removeEventListener("resize",t.update,tt)}},data:{}};var Un={left:"right",right:"left",bottom:"top",top:"bottom"};function it(i){return i.replace(/left|right|bottom|top/g,function(e){return Un[e]})}var Gn={start:"end",end:"start"};function Di(i){return i.replace(/start|end/g,function(e){return Gn[e]})}function jt(i){var e=z(i);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Mt(i){return Le(le(i)).left+jt(i).scrollLeft}function Ht(i){var e=ne(i);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function Si(i){return["html","body","#document"].indexOf(Q(i))>=0?i.ownerDocument.body:q(i)&&Ht(i)?i:Si(et(i))}function We(i,e){var t;void 0===e&&(e=[]);var n=Si(i),s=n===(null==(t=i.ownerDocument)?void 0:t.body),o=z(n),r=s?[o].concat(o.visualViewport||[],Ht(n)?n:[]):n,a=e.concat(r);return s?a:a.concat(We(et(r)))}function $t(i){return Object.assign({},i,{left:i.x,top:i.y,right:i.x+i.width,bottom:i.y+i.height})}function Ii(i,e,t){return e===Tt?$t(function(n,s){var o=z(n),r=le(n),a=o.visualViewport,c=r.clientWidth,d=r.clientHeight,u=0,h=0;if(a){c=a.width,d=a.height;var b=Ei();(b||!b&&"fixed"===s)&&(u=a.offsetLeft,h=a.offsetTop)}return{width:c,height:d,x:u+Mt(n),y:h}}(i,t)):de(e)?((o=Le(n=e,!1,"fixed"===t)).top=o.top+n.clientTop,o.left=o.left+n.clientLeft,o.bottom=o.top+n.clientHeight,o.right=o.left+n.clientWidth,o.width=n.clientWidth,o.height=n.clientHeight,o.x=o.left,o.y=o.top,o):$t(function(n){var s,o=le(n),r=jt(n),a=null==(s=n.ownerDocument)?void 0:s.body,c=ue(o.scrollWidth,o.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),d=ue(o.scrollHeight,o.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),u=-r.scrollLeft+Mt(n),h=-r.scrollTop;return"rtl"===ne(a||o).direction&&(u+=ue(o.clientWidth,a?a.clientWidth:0)-c),{width:c,height:d,x:u,y:h}}(le(i)));var n,o}function Ni(i){var e,t=i.reference,n=i.element,s=i.placement,o=s?U(s):null,r=s?De(s):null,a=t.x+t.width/2-n.width/2,c=t.y+t.height/2-n.height/2;switch(o){case I:e={x:a,y:t.y-n.height};break;case H:e={x:a,y:t.y+t.height};break;case $:e={x:t.x+t.width,y:c};break;case N:e={x:t.x-n.width,y:c};break;default:e={x:t.x,y:t.y}}var d=o?It(o):null;if(null!=d){var u="y"===d?"height":"width";switch(r){case he:e[d]=e[d]-(t[u]/2-n[u]/2);break;case Oe:e[d]=e[d]+(t[u]/2-n[u]/2)}}return e}function Se(i,e){void 0===e&&(e={});var P,R,j,S,x,M,V,G,Z,D,n=e.placement,s=void 0===n?i.placement:n,o=e.strategy,r=void 0===o?i.strategy:o,a=e.boundary,c=void 0===a?di:a,d=e.rootBoundary,u=void 0===d?Tt:d,h=e.elementContext,b=void 0===h?xe:h,f=e.altBoundary,g=void 0!==f&&f,p=e.padding,m=void 0===p?0:p,T=Oi("number"!=typeof m?m:xi(m,Te)),y=i.rects.popper,A=i.elements[g?b===xe?ui:xe:b],v=(P=de(A)?A:A.contextElement||le(i.elements.popper),j=u,S=r,G="clippingParents"===(R=c)?(M=We(et(x=P)),de(V=["absolute","fixed"].indexOf(ne(x).position)>=0&&q(x)?$e(x):x)?M.filter(function(ce){return de(ce)&&Ci(ce,V)&&"body"!==Q(ce)}):[]):[].concat(R),D=(Z=[].concat(G,[j])).reduce(function(x,M){var V=Ii(P,M,S);return x.top=ue(V.top,x.top),x.right=Je(V.right,x.right),x.bottom=Je(V.bottom,x.bottom),x.left=ue(V.left,x.left),x},Ii(P,Z[0],S)),D.width=D.right-D.left,D.height=D.bottom-D.top,D.x=D.left,D.y=D.top,D),w=Le(i.elements.reference),E=Ni({reference:w,element:y,strategy:"absolute",placement:s}),O=$t(Object.assign({},y,E)),C=b===xe?O:w,L={top:v.top-C.top+T.top,bottom:C.bottom-v.bottom+T.bottom,left:v.left-C.left+T.left,right:C.right-v.right+T.right},B=i.modifiersData.offset;if(b===xe&&B){var Y=B[s];Object.keys(L).forEach(function(P){var R=[$,H].indexOf(P)>=0?1:-1,j=[I,H].indexOf(P)>=0?"y":"x";L[P]+=Y[j]*R})}return L}const Pi={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,b=t.altBoundary,f=t.flipVariations,g=void 0===f||f,p=t.allowedAutoPlacements,m=e.options.placement,T=U(m),k=c||(T!==m&&g?function(x){if(U(x)===Ze)return[];var M=it(x);return[Di(x),M,Di(M)]}(m):[it(m)]),y=[m].concat(k).reduce(function(x,M){return x.concat(U(M)===Ze?function Zn(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?xt:c,u=De(e.placement),h=u?a?Ot:Ot.filter(function(g){return De(g)===u}):Te,b=h.filter(function(g){return d.indexOf(g)>=0});0===b.length&&(b=h);var f=b.reduce(function(g,p){return g[p]=Se(i,{placement:p,boundary:s,rootBoundary:o,padding:r})[U(p)],g},{});return Object.keys(f).sort(function(g,p){return f[g]-f[p]})}(e,{placement:M,boundary:u,rootBoundary:h,padding:d,flipVariations:g,allowedAutoPlacements:p}):M)},[]),A=e.rects.reference,v=e.rects.popper,w=new Map,E=!0,O=y[0],C=0;C<y.length;C++){var L=y[C],B=U(L),Y=De(L)===he,P=[I,H].indexOf(B)>=0,R=P?"width":"height",j=Se(e,{placement:L,boundary:u,rootBoundary:h,altBoundary:b,padding:d}),S=P?Y?$:N:Y?H:I;A[R]>v[R]&&(S=it(S));var G=it(S),Z=[];if(o&&Z.push(j[B]<=0),a&&Z.push(j[S]<=0,j[G]<=0),Z.every(function(x){return x})){O=L,E=!1;break}w.set(L,Z)}if(E)for(var Ie=function(x){var M=y.find(function(V){var ce=w.get(V);if(ce)return ce.slice(0,x).every(function(ut){return ut})});if(M)return O=M,"break"},D=g?3:1;D>0&&"break"!==Ie(D);D--);e.placement!==O&&(e.modifiersData[n]._skip=!0,e.placement=O,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ji(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 Mi(i){return[I,$,H,N].some(function(e){return i[e]>=0})}const Hi={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=Se(e,{elementContext:"reference"}),a=Se(e,{altBoundary:!0}),c=ji(r,n),d=ji(a,s,o),u=Mi(c),h=Mi(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=xt.reduce(function(u,h){return u[h]=(f=e.rects,g=o,p=U(b=h),m=[N,I].indexOf(p)>=0?-1:1,k=(k=(T="function"==typeof g?g(Object.assign({},f,{placement:b})):g)[0])||0,y=((y=T[1])||0)*m,[N,$].indexOf(p)>=0?{x:y,y:k}:{x:k,y}),u;var b,f,g,p,m,T,k,y},{}),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}},Bt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(i){var e=i.state;e.modifiersData[i.name]=Ni({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},Bi={name:"preventOverflow",enabled:!0,phase:"main",fn:function(i){var Yt,jn,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,b=t.tether,f=void 0===b||b,g=t.tetherOffset,p=void 0===g?0:g,m=Se(e,{boundary:t.boundary,rootBoundary:t.rootBoundary,padding:t.padding,altBoundary:t.altBoundary}),T=U(e.placement),k=De(e.placement),y=!k,A=It(T),v="x"===A?"y":"x",w=e.modifiersData.popperOffsets,E=e.rects.reference,O=e.rects.popper,C="function"==typeof p?p(Object.assign({},e.rects,{placement:e.placement})):p,L="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),B=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,Y={x:0,y:0};if(w){if(o){var P,R="y"===A?I:N,j="y"===A?H:$,S="y"===A?"height":"width",G=w[A],Z=G+m[R],Ie=G-m[j],D=f?-O[S]/2:0,x=k===he?E[S]:O[S],M=k===he?-O[S]:-E[S],V=e.elements.arrow,ce=f&&V?St(V):{width:0,height:0},ut=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Cn=ut[R],Tn=ut[j],ft=Be(0,E[S],ce[S]),Fs=y?E[S]/2-D-ft-Cn-L.mainAxis:x-ft-Cn-L.mainAxis,zs=y?-E[S]/2+D+ft+Tn+L.mainAxis:M+ft+Tn+L.mainAxis,Kt=e.elements.arrow&&$e(e.elements.arrow),On=null!=(P=B?.[A])?P:0,Rs=G+zs-On,xn=Be(f?Je(Z,G+Fs-On-(Kt?"y"===A?Kt.clientTop||0:Kt.clientLeft||0:0)):Z,G,f?ue(Ie,Rs):Ie);w[A]=xn,Y[A]=xn-G}if(a){var kn,_e=w[v],pt="y"===v?"height":"width",Ln=_e+m["x"===A?I:N],Dn=_e-m["x"===A?H:$],Xt=-1!==[I,N].indexOf(T),Sn=null!=(kn=B?.[v])?kn:0,In=Xt?Ln:_e-E[pt]-O[pt]-Sn+L.altAxis,Nn=Xt?_e+E[pt]+O[pt]-Sn-L.altAxis:Dn,Pn=f&&Xt?(jn=Be(In,_e,Yt=Nn))>Yt?Yt:jn:Be(f?In:Ln,_e,f?Nn:Dn);w[v]=Pn,Y[v]=Pn-_e}e.modifiersData[n]=Y}},requiresIfExists:["offset"]};function Jn(i,e,t){void 0===t&&(t=!1);var n,s,h,b,f,g,o=q(e),r=q(e)&&(b=(h=e).getBoundingClientRect(),f=ke(b.width)/h.offsetWidth||1,g=ke(b.height)/h.offsetHeight||1,1!==f||1!==g),a=le(e),c=Le(i,r,t),d={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!t)&&(("body"!==Q(e)||Ht(a))&&(d=(n=e)!==z(n)&&q(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:jt(n)),q(e)?((u=Le(e,!0)).x+=e.clientLeft,u.y+=e.clientTop):a&&(u.x=Mt(a))),{x:c.left+d.scrollLeft-u.x,y:c.top+d.scrollTop-u.y,width:c.width,height:c.height}}function es(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 Wi={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 nt(i){void 0===i&&(i={});var t=i.defaultModifiers,n=void 0===t?[]:t,s=i.defaultOptions,o=void 0===s?Wi:s;return function(r,a,c){void 0===c&&(c=o);var d,u,h={placement:"bottom",orderedModifiers:[],options:Object.assign({},Wi,o),modifiersData:{},elements:{reference:r,popper:a},attributes:{},styles:{}},b=[],f=!1,g={state:h,setOptions:function(m){var T="function"==typeof m?m(h.options):m;p(),h.options=Object.assign({},o,h.options,T),h.scrollParents={reference:de(r)?We(r):r.contextElement?We(r.contextElement):[],popper:We(a)};var k,y,v,w,A=(k=[].concat(n,h.options.modifiers),y=k.reduce(function(v,w){var E=v[w.name];return v[w.name]=E?Object.assign({},E,w,{options:Object.assign({},E.options,w.options),data:Object.assign({},E.data,w.data)}):w,v},{}),v=Object.keys(y).map(function(v){return y[v]}),w=es(v),Ai.reduce(function(E,O){return E.concat(w.filter(function(C){return C.phase===O}))},[]));return h.orderedModifiers=A.filter(function(v){return v.enabled}),h.orderedModifiers.forEach(function(v){var E=v.options,C=v.effect;if("function"==typeof C){var L=C({state:h,name:v.name,instance:g,options:void 0===E?{}:E});b.push(L||function(){})}}),g.update()},forceUpdate:function(){if(!f){var m=h.elements,T=m.reference,k=m.popper;if(Fi(T,k)){h.rects={reference:Jn(T,$e(k),"fixed"===h.options.strategy),popper:St(k)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(C){return h.modifiersData[C.name]=Object.assign({},C.data)});for(var y=0;y<h.orderedModifiers.length;y++)if(!0!==h.reset){var A=h.orderedModifiers[y],v=A.fn,w=A.options;"function"==typeof v&&(h=v({state:h,options:void 0===w?{}:w,name:A.name,instance:g})||h)}else h.reset=!1,y=-1}}},update:(d=function(){return new Promise(function(m){g.forceUpdate(),m(h)})},function(){return u||(u=new Promise(function(m){Promise.resolve().then(function(){u=void 0,m(d())})})),u}),destroy:function(){p(),f=!0}};if(!Fi(r,a))return g;function p(){b.forEach(function(m){return m()}),b=[]}return g.setOptions(c).then(function(m){!f&&c.onFirstUpdate&&c.onFirstUpdate(m)}),g}}var ts=nt(),is=nt({defaultModifiers:[Pt,Bt,Nt,Lt]}),Wt=nt({defaultModifiers:[Pt,Bt,Nt,Lt,$i,Pi,Bi,ki,Hi]});const zi=Object.freeze(Object.defineProperty({__proto__:null,popperGenerator:nt,detectOverflow:Se,createPopperBase:ts,createPopper:Wt,createPopperLite:is,top:I,bottom:H,right:$,left:N,auto:Ze,basePlacements:Te,start:he,end:Oe,clippingParents:di,viewport:Tt,popper:xe,reference:ui,variationPlacements:Ot,placements:xt,beforeRead:fi,read:"read",afterRead:gi,beforeMain:mi,main:"main",afterMain:bi,beforeWrite:vi,write:"write",afterWrite:wi,modifierPhases:Ai,applyStyles:Lt,arrow:ki,computeStyles:Nt,eventListeners:Pt,flip:Pi,hide:Hi,offset:$i,popperOffsets:Bt,preventOverflow:Bi},Symbol.toStringTag,{value:"Module"})),qi="dropdown",ns="ArrowUp",Ri="ArrowDown",Vi="click.bs.dropdown.data-api",Ki="keydown.bs.dropdown.data-api",Fe="show",fe='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',ss=`${fe}.show`,st=".dropdown-menu",os=W()?"top-end":"top-start",rs=W()?"top-start":"top-end",as=W()?"bottom-end":"bottom-start",ls=W()?"bottom-start":"bottom-end",cs=W()?"left-start":"right-start",hs=W()?"right-start":"left-start",ds={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},us={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class X extends K{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=_.next(this._element,st)[0]||_.prev(this._element,st)[0]||_.findOne(st,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return ds}static get DefaultType(){return us}static get NAME(){return qi}toggle(){return this._isShown()?this.hide():this.show()}show(){if(re(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!l.trigger(this._element,"show.bs.dropdown",e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))l.on(t,"mouseover",Ve);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Fe),this._element.classList.add(Fe),l.trigger(this._element,"shown.bs.dropdown",e)}}hide(){!re(this._element)&&this._isShown()&&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){if(!l.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))l.off(t,"mouseover",Ve);this._popper&&this._popper.destroy(),this._menu.classList.remove(Fe),this._element.classList.remove(Fe),this._element.setAttribute("aria-expanded","false"),ie.removeDataAttribute(this._menu,"popper"),l.trigger(this._element,"hidden.bs.dropdown",e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!ee(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${qi.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===zi)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:ee(this._config.reference)?e=oe(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=Wt(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Fe)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return cs;if(e.classList.contains("dropstart"))return hs;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?rs:os:t?ls:as}_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(this._inNavbar||"static"===this._config.display)&&(ie.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const n=_.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(s=>ye(s));n.length&&mt(n,t,e===Ri,!n.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=X.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(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=_.find(ss);for(const n of t){const s=X.getInstance(n);if(!s||!1===s._config.autoClose)continue;const o=e.composedPath(),r=o.includes(s._menu);if(o.includes(s._element)||"inside"===s._config.autoClose&&!r||"outside"===s._config.autoClose&&r||s._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:s._element};"click"===e.type&&(a.clickEvent=e),s._completeHide(a)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,s=[ns,Ri].includes(e.key);if(!s&&!n||t&&!n)return;e.preventDefault();const o=this.matches(fe)?this:_.prev(this,fe)[0]||_.next(this,fe)[0]||_.findOne(fe,e.delegateTarget.parentNode),r=X.getOrCreateInstance(o);if(s)return e.stopPropagation(),r.show(),void r._selectMenuItem(e);r._isShown()&&(e.stopPropagation(),r.hide(),o.focus())}}l.on(document,Ki,fe,X.dataApiKeydownHandler),l.on(document,Ki,st,X.dataApiKeydownHandler),l.on(document,Vi,X.clearMenus),l.on(document,"keyup.bs.dropdown.data-api",X.clearMenus),l.on(document,Vi,fe,function(i){i.preventDefault(),X.getOrCreateInstance(this).toggle()}),F(X);const Xi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Yi=".sticky-top",ot="padding-right",Qi="margin-right";class Ft{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,ot,t=>t+e),this._setElementAttributes(Xi,ot,t=>t+e),this._setElementAttributes(Yi,Qi,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ot),this._resetElementAttributes(Xi,ot),this._resetElementAttributes(Yi,Qi)}isOverflowing(){return this.getWidth()>0}_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).getPropertyValue(t);o.style.setProperty(t,`${n(Number.parseFloat(r))}px`)})}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&&ie.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,n=>{const s=ie.getDataAttribute(n,t);null!==s?(ie.removeDataAttribute(n,t),n.style.setProperty(t,s)):n.style.removeProperty(t)})}_applyManipulationCallback(e,t){if(ee(e))t(e);else for(const n of _.find(e,this._element))t(n)}}const Gi="mousedown.bs.backdrop",fs={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ps={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Zi extends Pe{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return fs}static get DefaultType(){return ps}static get NAME(){return"backdrop"}show(e){if(!this._config.isVisible)return void te(e);this._append();this._getElement().classList.add("show"),this._emulateAnimation(()=>{te(e)})}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),te(e)})):te(e)}dispose(){this._isAppended&&(l.off(this._element,Gi),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=oe(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),l.on(e,Gi,()=>{te(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Jt(e,this._getElement(),this._config.isAnimated)}}const Ji=".bs.focustrap",en="backward",gs={autofocus:!0,trapElement:null},ms={autofocus:"boolean",trapElement:"element"};class tn extends Pe{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return gs}static get DefaultType(){return ms}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),l.off(document,Ji),l.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),l.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,l.off(document,Ji))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const n=_.focusableChildren(t);0===n.length?t.focus():this._lastTabNavDirection===en?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?en:"forward")}}const nn="hidden.bs.modal",sn="show.bs.modal",on="modal-open",zt="modal-static",_s={backdrop:!0,focus:!0,keyboard:!0},bs={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class pe extends K{constructor(e,t){super(e,t),this._dialog=_.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ft,this._addEventListeners()}static get Default(){return _s}static get DefaultType(){return bs}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,sn,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(on),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){this._isShown&&!this._isTransitioning&&(l.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){for(const e of[window,this._dialog])l.off(e,".bs.modal");this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Zi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new tn({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=_.findOne(".modal-body",this._dialog);t&&(t.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,this._isAnimated())}_addEventListeners(){l.on(this._element,"keydown.dismiss.bs.modal",e=>{if("Escape"===e.key)return this._config.keyboard?(e.preventDefault(),void this.hide()):void this._triggerBackdropTransition()}),l.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),l.on(this._element,"mousedown.dismiss.bs.modal",e=>{l.one(this._element,"click.dismiss.bs.modal",t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_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(on),this._resetAdjustments(),this._scrollBar.reset(),l.trigger(this._element,nn)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(l.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(zt)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(zt),this._queueCallback(()=>{this._element.classList.remove(zt),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){const s=W()?"paddingLeft":"paddingRight";this._element.style[s]=`${t}px`}if(!n&&e){const s=W()?"paddingRight":"paddingLeft";this._element.style[s]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const n=pe.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=J(this);["A","AREA"].includes(this.tagName)&&i.preventDefault(),l.one(e,sn,n=>{n.defaultPrevented||l.one(e,nn,()=>{ye(this)&&this.focus()})});const t=_.findOne(".modal.show");t&&pe.getInstance(t).hide(),pe.getOrCreateInstance(e).toggle(this)}),Ke(pe),F(pe);const ln="showing",hn=".offcanvas.show",dn="hidePrevented.bs.offcanvas",un="hidden.bs.offcanvas",vs={backdrop:!0,keyboard:!0,scroll:!1},ys={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class se extends K{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return vs}static get DefaultType(){return ys}static get NAME(){return"offcanvas"}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._backdrop.show(),this._config.scroll||(new Ft).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ln),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(ln),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.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new Ft).reset(),l.trigger(this._element,un)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new Zi({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():l.trigger(this._element,dn)}:null})}_initializeFocusTrap(){return new tn({trapElement:this._element})}_addEventListeners(){l.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():l.trigger(this._element,dn))})}static jQueryInterface(e){return this.each(function(){const t=se.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=J(this);if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),re(this))return;l.one(e,un,()=>{ye(this)&&this.focus()});const t=_.findOne(hn);t&&t!==e&&se.getInstance(t).hide(),se.getOrCreateInstance(e).toggle(this)}),l.on(window,"load.bs.offcanvas.data-api",()=>{for(const i of _.find(hn))se.getOrCreateInstance(i).show()}),l.on(window,"resize.bs.offcanvas",()=>{for(const i of _.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(i).position&&se.getOrCreateInstance(i).hide()}),Ke(se),F(se);const ws=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),As=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Es=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Cs=(i,e)=>{const t=i.nodeName.toLowerCase();return e.includes(t)?!ws.has(t)||Boolean(As.test(i.nodeValue)||Es.test(i.nodeValue)):e.filter(n=>n instanceof RegExp).some(n=>n.test(t))},fn={"*":["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:[]},Ts={allowList:fn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Os={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},xs={entry:"(string|element|function|null)",selector:"(string|element)"};class ks extends Pe{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Ts}static get DefaultType(){return Os}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[s,o]of Object.entries(this._config.content))this._setContent(e,o,s);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},xs)}_setContent(e,t,n){const s=_.findOne(n,e);s&&((t=this._resolvePossibleFunction(t))?ee(t)?this._putElementInTemplate(oe(t),s):this._config.html?s.innerHTML=this._maybeSanitize(t):s.textContent=t:s.remove())}_maybeSanitize(e){return this._config.sanitize?function(t,n,s){if(!t.length)return t;if(s&&"function"==typeof s)return s(t);const o=(new window.DOMParser).parseFromString(t,"text/html"),r=[].concat(...o.body.querySelectorAll("*"));for(const a of r){const c=a.nodeName.toLowerCase();if(!Object.keys(n).includes(c)){a.remove();continue}const d=[].concat(...a.attributes),u=[].concat(n["*"]||[],n[c]||[]);for(const h of d)Cs(h,u)||a.removeAttribute(h.nodeName)}return o.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return"function"==typeof e?e(this):e}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const Ls=new Set(["sanitize","allowList","sanitizeFn"]),qt="fade",rt="show",gn="hide.bs.modal",at="hover",Ds={AUTO:"auto",TOP:"top",RIGHT:W()?"left":"right",BOTTOM:"bottom",LEFT:W()?"right":"left"},Ss={allowList:fn,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Is={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class ge extends K{constructor(e,t){if(void 0===zi)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Ss}static get DefaultType(){return Is}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),l.off(this._element.closest(".modal"),gn,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("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.eventName("show")),t=(Gt(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(n),l.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(rt),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))l.on(o,"mouseover",Ve);this._queueCallback(()=>{l.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!l.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(rt),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))l.off(e,"mouseover",Ve);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),l.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(qt,rt),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(s=>{do{s+=Math.floor(1e6*Math.random())}while(document.getElementById(s));return s})(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(qt),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new ks({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(qt)}_isShown(){return this.tip&&this.tip.classList.contains(rt)}_createPopper(e){const t="function"==typeof this._config.placement?this._config.placement.call(this,e,this._element):this._config.placement,n=Ds[t.toUpperCase()];return Wt(this._element,e,this._getPopperConfig(n))}_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:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:n=>{this._getTipElement().setAttribute("data-popper-placement",n.state.placement)}}]};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)l.on(this._element,this.constructor.eventName("click"),this._config.selector,n=>{this._initializeOnDelegatedTarget(n).toggle()});else if("manual"!==t){const n=this.constructor.eventName(t===at?"mouseenter":"focusin"),s=this.constructor.eventName(t===at?"mouseleave":"focusout");l.on(this._element,n,this._config.selector,o=>{const r=this._initializeOnDelegatedTarget(o);r._activeTrigger["focusin"===o.type?"focus":at]=!0,r._enter()}),l.on(this._element,s,this._config.selector,o=>{const r=this._initializeOnDelegatedTarget(o);r._activeTrigger["focusout"===o.type?"focus":at]=r._element.contains(o.relatedTarget),r._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},l.on(this._element.closest(".modal"),gn,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=ie.getDataAttributes(this._element);for(const n of Object.keys(t))Ls.has(n)&&delete t[n];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:oe(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()),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=ge.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}F(ge);const Ns={...ge.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Ps={...ge.DefaultType,content:"(null|string|element|function)"};class lt extends ge{static get Default(){return Ns}static get DefaultType(){return Ps}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=lt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}F(lt);const _n="click.bs.scrollspy",ze="active",js={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Ms={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class qe extends K{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return js}static get DefaultType(){return Ms}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=oe(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map(t=>Number.parseFloat(t))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(l.off(this._config.target,_n),l.on(this._config.target,_n,"[href]",e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,s=t.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:s,behavior:"smooth"});n.scrollTop=s}}))}_getNewObserver(){return new IntersectionObserver(t=>this._observerCallback(t),{root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin})}_observerCallback(e){const t=r=>this._targetLinks.get(`#${r.target.id}`),n=r=>{this._previousScrollData.visibleEntryTop=r.target.offsetTop,this._process(t(r))},s=(this._rootElement||document.documentElement).scrollTop,o=s>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=s;for(const r of e){if(!r.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(r));continue}const a=r.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&a){if(n(r),!s)return}else o||a||n(r)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=_.find("[href]",this._config.target);for(const t of e){if(!t.hash||re(t))continue;const n=_.findOne(t.hash,this._element);ye(n)&&(this._targetLinks.set(t.hash,t),this._observableSections.set(t.hash,n))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(ze),this._activateParents(e),l.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))_.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(ze);else for(const t of _.parents(e,".nav, .list-group"))for(const n of _.prev(t,".nav-link, .nav-item > .nav-link, .list-group-item"))n.classList.add(ze)}_clearActiveClass(e){e.classList.remove(ze);const t=_.find("[href].active",e);for(const n of t)n.classList.remove(ze)}static jQueryInterface(e){return this.each(function(){const t=qe.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]()}})}}l.on(window,"load.bs.scrollspy.data-api",()=>{for(const i of _.find('[data-bs-spy="scroll"]'))qe.getOrCreateInstance(i)}),F(qe);const Hs="ArrowLeft",vn="ArrowRight",$s="ArrowUp",yn="ArrowDown",ct="active",Rt="show",An='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Vt=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${An}`;class me extends K{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),l.on(this._element,"keydown.bs.tab",t=>this._keydown(t)))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),n=t?l.trigger(t,"hide.bs.tab",{relatedTarget:e}):null;l.trigger(e,"show.bs.tab",{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(ct),this._activate(J(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),l.trigger(e,"shown.bs.tab",{relatedTarget:t})):e.classList.add(Rt)},e,e.classList.contains("fade")))}_deactivate(e,t){e&&(e.classList.remove(ct),e.blur(),this._deactivate(J(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),l.trigger(e,"hidden.bs.tab",{relatedTarget:t})):e.classList.remove(Rt)},e,e.classList.contains("fade")))}_keydown(e){if(![Hs,vn,$s,yn].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[vn,yn].includes(e.key),n=mt(this._getChildren().filter(s=>!re(s)),e.target,t,!0);n&&(n.focus({preventScroll:!0}),me.getOrCreateInstance(n).show())}_getChildren(){return _.find(Vt,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const n of t)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=J(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`#${e.id}`))}_toggleDropDown(e,t){const n=this._getOuterElement(e);if(!n.classList.contains("dropdown"))return;const s=(o,r)=>{const a=_.findOne(o,n);a&&a.classList.toggle(r,t)};s(".dropdown-toggle",ct),s(".dropdown-menu",Rt),n.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(ct)}_getInnerElement(e){return e.matches(Vt)?e:_.findOne(Vt,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}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]()}})}}l.on(document,"click.bs.tab",An,function(i){["A","AREA"].includes(this.tagName)&&i.preventDefault(),re(this)||me.getOrCreateInstance(this).show()}),l.on(window,"load.bs.tab",()=>{for(const i of _.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))me.getOrCreateInstance(i)}),F(me);const ht="show",dt="showing",Bs={animation:"boolean",autohide:"boolean",delay:"number"},Ws={animation:!0,autohide:!0,delay:5e3};class Re extends K{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Ws}static get DefaultType(){return Bs}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(ht,dt),this._queueCallback(()=>{this._element.classList.remove(dt),l.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(l.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(dt),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(dt,ht),l.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ht),super.dispose()}isShown(){return this._element.classList.contains(ht)}_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=Re.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return Ke(Re),F(Re),{Alert:je,Button:Me,Carousel:Ee,Collapse:Ce,Dropdown:X,Modal:pe,Offcanvas:se,Popover:lt,ScrollSpy:qe,Tab:me,Toast:Re,Tooltip:ge}});