marketplacepos 3.2.0 → 3.4.0

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 (112) hide show
  1. package/Marketplace/3rdpartylicenses.txt +202 -187
  2. package/Marketplace/chunk-2KQ4WEPD.js +1 -0
  3. package/Marketplace/chunk-2OB3TW2H.js +4 -0
  4. package/Marketplace/chunk-3ICHEZSE.js +1 -0
  5. package/Marketplace/chunk-3TM7EKQZ.js +1 -0
  6. package/Marketplace/chunk-45IJGKR3.js +1 -0
  7. package/Marketplace/chunk-4O5EV6W4.js +1 -0
  8. package/Marketplace/chunk-5DS4AFTV.js +1 -0
  9. package/Marketplace/chunk-5DVM7TJ7.js +5 -0
  10. package/Marketplace/chunk-5JZJC54P.js +2 -0
  11. package/Marketplace/chunk-67YIEWYV.js +1 -0
  12. package/Marketplace/chunk-7DXQ5BDE.js +1 -0
  13. package/Marketplace/chunk-7RCRNZNI.js +1 -0
  14. package/Marketplace/chunk-7Y73MGEU.js +1 -0
  15. package/Marketplace/chunk-AIZ2SLGZ.js +5 -0
  16. package/Marketplace/chunk-B4RPQGTA.js +1 -0
  17. package/Marketplace/chunk-BELWZRNY.js +1 -0
  18. package/Marketplace/chunk-BYDOIRDD.js +1 -0
  19. package/Marketplace/chunk-CS64SQAA.js +1 -0
  20. package/Marketplace/chunk-CWG6UUW5.js +1 -0
  21. package/Marketplace/chunk-DBEZLCZM.js +1 -0
  22. package/Marketplace/chunk-ECB4VT3U.js +1 -0
  23. package/Marketplace/chunk-FWCMOK42.js +8 -0
  24. package/Marketplace/chunk-G5D7W2T3.js +2 -0
  25. package/Marketplace/chunk-GD6CRVOV.js +1 -0
  26. package/Marketplace/chunk-GFW452UY.js +1 -0
  27. package/Marketplace/chunk-GIFWICGN.js +2 -0
  28. package/Marketplace/chunk-GMALFTAY.js +1 -0
  29. package/Marketplace/chunk-H7KLY4IB.js +1 -0
  30. package/Marketplace/chunk-HWOBJ4Z3.js +1 -0
  31. package/Marketplace/chunk-I4V2RPID.js +1 -0
  32. package/Marketplace/chunk-IJIIMLQ7.js +1 -0
  33. package/Marketplace/chunk-ISBEY2N5.js +1 -0
  34. package/Marketplace/chunk-KEKROO5B.js +1 -0
  35. package/Marketplace/chunk-KX7WACSK.js +1 -0
  36. package/Marketplace/chunk-LJ6J4EIT.js +1 -0
  37. package/Marketplace/chunk-LKSBRXCX.js +1 -0
  38. package/Marketplace/chunk-MA4ZKUP6.js +4 -0
  39. package/Marketplace/chunk-MORUNYG3.js +6 -0
  40. package/Marketplace/chunk-MRWTB7OG.js +8 -0
  41. package/Marketplace/chunk-N76YHCQ6.js +1 -0
  42. package/Marketplace/chunk-NZBQKND7.js +1 -0
  43. package/Marketplace/chunk-O3V3GTIM.js +1 -0
  44. package/Marketplace/chunk-PJQTGT4K.js +1 -0
  45. package/Marketplace/chunk-PQGHN52M.js +1 -0
  46. package/Marketplace/chunk-Q7FH7Z7R.js +1 -0
  47. package/Marketplace/chunk-QK2PM3OO.js +2 -0
  48. package/Marketplace/chunk-QKVTZKIC.js +3 -0
  49. package/Marketplace/chunk-RFTG6MKX.js +1 -0
  50. package/Marketplace/chunk-S65ISV4X.js +5 -0
  51. package/Marketplace/chunk-SKA4KCAB.js +1 -0
  52. package/Marketplace/chunk-SWQXA73A.js +1 -0
  53. package/Marketplace/chunk-T6XRWLCZ.js +1 -0
  54. package/Marketplace/chunk-TBY7FO23.js +3 -0
  55. package/Marketplace/chunk-TJRQ2WWD.js +1 -0
  56. package/Marketplace/chunk-TMUAQXEK.js +1 -0
  57. package/Marketplace/chunk-TNVZKPJP.js +1 -0
  58. package/Marketplace/chunk-TQ6UUVH3.js +1 -0
  59. package/Marketplace/chunk-TT7NBZMD.js +1 -0
  60. package/Marketplace/chunk-UNZLFKB2.js +1 -0
  61. package/Marketplace/chunk-VIJ5HUKS.js +1 -0
  62. package/Marketplace/chunk-VRSV5O5R.js +1 -0
  63. package/Marketplace/chunk-VTFOZMLI.js +1 -0
  64. package/Marketplace/chunk-WBI4ZM2X.js +1 -0
  65. package/Marketplace/chunk-WYMCYQCR.js +1 -0
  66. package/Marketplace/chunk-XWIBRKIY.js +5 -0
  67. package/Marketplace/chunk-YQEEQRFM.js +2 -0
  68. package/Marketplace/chunk-YQXKX6O7.js +7 -0
  69. package/Marketplace/chunk-YWVMHX45.js +1 -0
  70. package/Marketplace/chunk-Z2ABDS6L.js +1 -0
  71. package/Marketplace/index.html +2 -2
  72. package/Marketplace/main-B2AQI7UJ.js +1 -0
  73. package/Marketplace/polyfills-KQQO3SZT.js +2 -0
  74. package/Marketplace/scripts-M46NWPTC.js +5 -0
  75. package/Marketplace/styles-WZSIIWL7.css +1 -0
  76. package/package.json +1 -1
  77. package/Marketplace/103.bc1f4c51ca99f04f.js +0 -1
  78. package/Marketplace/168.50d66b17241a3765.js +0 -1
  79. package/Marketplace/231.0c7ab993977632a2.js +0 -1
  80. package/Marketplace/257.d1592e885695ba4b.js +0 -1
  81. package/Marketplace/278.e89610409641d910.js +0 -1
  82. package/Marketplace/296.93310f70e5f9d3a9.js +0 -1
  83. package/Marketplace/311.afcc0c4a03ea0076.js +0 -1
  84. package/Marketplace/389.02d8fd64069d0119.js +0 -1
  85. package/Marketplace/394.11ae606578598904.js +0 -1
  86. package/Marketplace/445.cbf341bc0afe3ffc.js +0 -1
  87. package/Marketplace/452.58ce3ef12b9b5a47.js +0 -1
  88. package/Marketplace/476.d08ef7b92327904d.js +0 -1
  89. package/Marketplace/478.a63c640a3e971a16.js +0 -1
  90. package/Marketplace/500.c2e6963e4771761e.js +0 -1
  91. package/Marketplace/527.984c24771dbd0f8e.js +0 -1
  92. package/Marketplace/556.5d624cfb73f161b2.js +0 -1
  93. package/Marketplace/56.0432dfcbb3e04e39.js +0 -1
  94. package/Marketplace/599.8de0c2b4c7af0f9d.js +0 -1
  95. package/Marketplace/609.0e0a820d30efd4d4.js +0 -1
  96. package/Marketplace/617.4db1b737553fe58b.js +0 -1
  97. package/Marketplace/62.4f9a8ca2692bdd97.js +0 -1
  98. package/Marketplace/687.1fb4b2602d2b185a.js +0 -1
  99. package/Marketplace/699.d68a917277dbe11a.js +0 -1
  100. package/Marketplace/700.755c54d915bd281e.js +0 -1
  101. package/Marketplace/726.40535ee28a35e978.js +0 -1
  102. package/Marketplace/806.4037f673990a5242.js +0 -1
  103. package/Marketplace/810.629a800ca97725b7.js +0 -1
  104. package/Marketplace/877.bbdea3b04cc75780.js +0 -1
  105. package/Marketplace/900.b7de175b628a8dbe.js +0 -1
  106. package/Marketplace/967.2b39f548c7f4eb30.js +0 -1
  107. package/Marketplace/common.2cffc11d42ed963f.js +0 -1
  108. package/Marketplace/main.892c697dc9030f18.js +0 -1
  109. package/Marketplace/polyfills.503b3f4bf922d237.js +0 -1
  110. package/Marketplace/runtime.a3441aa39d1419eb.js +0 -1
  111. package/Marketplace/scripts.0d34bffadb54993a.js +0 -1
  112. package/Marketplace/styles.095460a0131dd2fc.css +0 -19
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[429],{5321:(ie,Ee,de)=>{de(8332)},8332:()=>{!function(e){const n=e.performance;function s(j){n&&n.mark&&n.mark(j)}function r(j,h){n&&n.measure&&n.measure(j,h)}s("Zone");const i=e.__Zone_symbol_prefix||"__zone_symbol__";function l(j){return i+j}const p=!0===e[l("forceDuplicateZoneCheck")];if(e.Zone){if(p||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let E=(()=>{class h{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=h.current;for(;t.parent;)t=t.parent;return t}static get current(){return W.zone}static get currentTask(){return re}static __load_patch(t,_,w=!1){if(oe.hasOwnProperty(t)){if(!w&&p)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const L="Zone:"+t;s(L),oe[t]=_(e,h,Y),r(L,L)}}get parent(){return this._parent}get name(){return this._name}constructor(t,_){this._parent=t,this._name=_?_.name||"unnamed":"<root>",this._properties=_&&_.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,_)}get(t){const _=this.getZoneWith(t);if(_)return _._properties[t]}getZoneWith(t){let _=this;for(;_;){if(_._properties.hasOwnProperty(t))return _;_=_._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,_){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const w=this._zoneDelegate.intercept(this,t,_),L=this;return function(){return L.runGuarded(w,this,arguments,_)}}run(t,_,w,L){W={parent:W,zone:this};try{return this._zoneDelegate.invoke(this,t,_,w,L)}finally{W=W.parent}}runGuarded(t,_=null,w,L){W={parent:W,zone:this};try{try{return this._zoneDelegate.invoke(this,t,_,w,L)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{W=W.parent}}runTask(t,_,w){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===G&&(t.type===Q||t.type===P))return;const L=t.state!=y;L&&t._transitionTo(y,A),t.runCount++;const a=re;re=t,W={parent:W,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,_,w)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{t.state!==G&&t.state!==d&&(t.type==Q||t.data&&t.data.isPeriodic?L&&t._transitionTo(A,y):(t.runCount=0,this._updateTaskCount(t,-1),L&&t._transitionTo(G,y,G))),W=W.parent,re=a}}scheduleTask(t){if(t.zone&&t.zone!==this){let w=this;for(;w;){if(w===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);w=w.parent}}t._transitionTo(z,G);const _=[];t._zoneDelegates=_,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(w){throw t._transitionTo(d,z,G),this._zoneDelegate.handleError(this,w),w}return t._zoneDelegates===_&&this._updateTaskCount(t,1),t.state==z&&t._transitionTo(A,z),t}scheduleMicroTask(t,_,w,L){return this.scheduleTask(new m(I,t,_,w,L,void 0))}scheduleMacroTask(t,_,w,L,a){return this.scheduleTask(new m(P,t,_,w,L,a))}scheduleEventTask(t,_,w,L,a){return this.scheduleTask(new m(Q,t,_,w,L,a))}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+")");if(t.state===A||t.state===y){t._transitionTo(V,A,y);try{this._zoneDelegate.cancelTask(this,t)}catch(_){throw t._transitionTo(d,V),this._zoneDelegate.handleError(this,_),_}return this._updateTaskCount(t,-1),t._transitionTo(G,V),t.runCount=0,t}}_updateTaskCount(t,_){const w=t._zoneDelegates;-1==_&&(t._zoneDelegates=null);for(let L=0;L<w.length;L++)w[L]._updateTaskCount(t.type,_)}}return h.__symbol__=l,h})();const b={name:"",onHasTask:(j,h,c,t)=>j.hasTask(c,t),onScheduleTask:(j,h,c,t)=>j.scheduleTask(c,t),onInvokeTask:(j,h,c,t,_,w)=>j.invokeTask(c,t,_,w),onCancelTask:(j,h,c,t)=>j.cancelTask(c,t)};class v{constructor(h,c,t){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=h,this._parentDelegate=c,this._forkZS=t&&(t&&t.onFork?t:c._forkZS),this._forkDlgt=t&&(t.onFork?c:c._forkDlgt),this._forkCurrZone=t&&(t.onFork?this.zone:c._forkCurrZone),this._interceptZS=t&&(t.onIntercept?t:c._interceptZS),this._interceptDlgt=t&&(t.onIntercept?c:c._interceptDlgt),this._interceptCurrZone=t&&(t.onIntercept?this.zone:c._interceptCurrZone),this._invokeZS=t&&(t.onInvoke?t:c._invokeZS),this._invokeDlgt=t&&(t.onInvoke?c:c._invokeDlgt),this._invokeCurrZone=t&&(t.onInvoke?this.zone:c._invokeCurrZone),this._handleErrorZS=t&&(t.onHandleError?t:c._handleErrorZS),this._handleErrorDlgt=t&&(t.onHandleError?c:c._handleErrorDlgt),this._handleErrorCurrZone=t&&(t.onHandleError?this.zone:c._handleErrorCurrZone),this._scheduleTaskZS=t&&(t.onScheduleTask?t:c._scheduleTaskZS),this._scheduleTaskDlgt=t&&(t.onScheduleTask?c:c._scheduleTaskDlgt),this._scheduleTaskCurrZone=t&&(t.onScheduleTask?this.zone:c._scheduleTaskCurrZone),this._invokeTaskZS=t&&(t.onInvokeTask?t:c._invokeTaskZS),this._invokeTaskDlgt=t&&(t.onInvokeTask?c:c._invokeTaskDlgt),this._invokeTaskCurrZone=t&&(t.onInvokeTask?this.zone:c._invokeTaskCurrZone),this._cancelTaskZS=t&&(t.onCancelTask?t:c._cancelTaskZS),this._cancelTaskDlgt=t&&(t.onCancelTask?c:c._cancelTaskDlgt),this._cancelTaskCurrZone=t&&(t.onCancelTask?this.zone:c._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const _=t&&t.onHasTask;(_||c&&c._hasTaskZS)&&(this._hasTaskZS=_?t:b,this._hasTaskDlgt=c,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=h,t.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=c,this._scheduleTaskCurrZone=this.zone),t.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=c,this._invokeTaskCurrZone=this.zone),t.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=c,this._cancelTaskCurrZone=this.zone))}fork(h,c){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,h,c):new E(h,c)}intercept(h,c,t){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,h,c,t):c}invoke(h,c,t,_,w){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,h,c,t,_,w):c.apply(t,_)}handleError(h,c){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,h,c)}scheduleTask(h,c){let t=c;if(this._scheduleTaskZS)this._hasTaskZS&&t._zoneDelegates.push(this._hasTaskDlgtOwner),t=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,h,c),t||(t=c);else if(c.scheduleFn)c.scheduleFn(c);else{if(c.type!=I)throw new Error("Task is missing scheduleFn.");C(c)}return t}invokeTask(h,c,t,_){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,h,c,t,_):c.callback.apply(t,_)}cancelTask(h,c){let t;if(this._cancelTaskZS)t=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,h,c);else{if(!c.cancelFn)throw Error("Task is not cancelable");t=c.cancelFn(c)}return t}hasTask(h,c){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,h,c)}catch(t){this.handleError(h,t)}}_updateTaskCount(h,c){const t=this._taskCounts,_=t[h],w=t[h]=_+c;if(w<0)throw new Error("More tasks executed then were scheduled.");0!=_&&0!=w||this.hasTask(this.zone,{microTask:t.microTask>0,macroTask:t.macroTask>0,eventTask:t.eventTask>0,change:h})}}class m{constructor(h,c,t,_,w,L){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=h,this.source=c,this.data=_,this.scheduleFn=w,this.cancelFn=L,!t)throw new Error("callback is not defined");this.callback=t;const a=this;this.invoke=h===Q&&_&&_.useG?m.invokeTask:function(){return m.invokeTask.call(e,a,this,arguments)}}static invokeTask(h,c,t){h||(h=this),ee++;try{return h.runCount++,h.zone.runTask(h,c,t)}finally{1==ee&&T(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(G,z)}_transitionTo(h,c,t){if(this._state!==c&&this._state!==t)throw new Error(`${this.type} '${this.source}': can not transition to '${h}', expecting state '${c}'${t?" or '"+t+"'":""}, was '${this._state}'.`);this._state=h,h==G&&(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 M=l("setTimeout"),Z=l("Promise"),N=l("then");let J,U=[],x=!1;function X(j){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let h=J[N];h||(h=J.then),h.call(J,j)}else e[M](j,0)}function C(j){0===ee&&0===U.length&&X(T),j&&U.push(j)}function T(){if(!x){for(x=!0;U.length;){const j=U;U=[];for(let h=0;h<j.length;h++){const c=j[h];try{c.zone.runTask(c,null,null)}catch(t){Y.onUnhandledError(t)}}}Y.microtaskDrainDone(),x=!1}}const K={name:"NO ZONE"},G="notScheduled",z="scheduling",A="scheduled",y="running",V="canceling",d="unknown",I="microTask",P="macroTask",Q="eventTask",oe={},Y={symbol:l,currentZoneFrame:()=>W,onUnhandledError:q,microtaskDrainDone:q,scheduleMicroTask:C,showUncaughtError:()=>!E[l("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:q,patchMethod:()=>q,bindArguments:()=>[],patchThen:()=>q,patchMacroTask:()=>q,patchEventPrototype:()=>q,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>q,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>q,wrapWithCurrentZone:()=>q,filterProperties:()=>[],attachOriginToPatched:()=>q,_redefineProperty:()=>q,patchCallbacks:()=>q,nativeScheduleMicroTask:X};let W={parent:null,zone:new E(null,null)},re=null,ee=0;function q(){}r("Zone","Zone"),e.Zone=E}(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,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,s,r,i){return Zone.current.scheduleMacroTask(e,n,s,r,i)}const H=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,$=Pe&&Te||"object"==typeof self&&self||global,ct="removeAttribute";function Le(e,n){for(let s=e.length-1;s>=0;s--)"function"==typeof e[s]&&(e[s]=Ie(e[s],n+"_"+s));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 $)&&typeof $.process<"u"&&"[object process]"==={}.toString.call($.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof $.process<"u"&&"[object process]"==={}.toString.call($.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||$.event))return;let n=Re[e.type];n||(n=Re[e.type]=H("ON_PROPERTY"+e.type));const s=this||e.target||$,r=s[n];let i;return Ae&&s===Te&&"error"===e.type?(i=r&&r.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===i&&e.preventDefault()):(i=r&&r.apply(this,arguments),null!=i&&!i&&e.preventDefault()),i};function qe(e,n,s){let r=ie(e,n);if(!r&&s&&ie(s,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;const i=H("on"+n+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete r.writable,delete r.value;const l=r.get,p=r.set,E=n.slice(2);let b=Re[E];b||(b=Re[E]=H("ON_PROPERTY"+E)),r.set=function(v){let m=this;!m&&e===$&&(m=$),m&&("function"==typeof m[b]&&m.removeEventListener(E,We),p&&p.call(m,null),m[b]=v,"function"==typeof v&&m.addEventListener(E,We,!1))},r.get=function(){let v=this;if(!v&&e===$&&(v=$),!v)return null;const m=v[b];if(m)return m;if(l){let M=l.call(this);if(M)return r.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},Ee(e,n,r),e[i]=!0}function Xe(e,n,s){if(n)for(let r=0;r<n.length;r++)qe(e,"on"+n[r],s);else{const r=[];for(const i in e)"on"==i.slice(0,2)&&r.push(i);for(let i=0;i<r.length;i++)qe(e,r[i],s)}}const ne=H("originalInstance");function ve(e){const n=$[e];if(!n)return;$[H(e)]=n,$[e]=function(){const i=Le(arguments,e);switch(i.length){case 0:this[ne]=new n;break;case 1:this[ne]=new n(i[0]);break;case 2:this[ne]=new n(i[0],i[1]);break;case 3:this[ne]=new n(i[0],i[1],i[2]);break;case 4:this[ne]=new n(i[0],i[1],i[2],i[3]);break;default:throw new Error("Arg list too long.")}},ue($[e],n);const s=new n(function(){});let r;for(r in s)"XMLHttpRequest"===e&&"responseBlob"===r||function(i){"function"==typeof s[i]?$[e].prototype[i]=function(){return this[ne][i].apply(this[ne],arguments)}:Ee($[e].prototype,i,{set:function(l){"function"==typeof l?(this[ne][i]=Ie(l,e+"."+i),ue(this[ne][i],l)):this[ne][i]=l},get:function(){return this[ne][i]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&($[e][r]=n[r])}function le(e,n,s){let r=e;for(;r&&!r.hasOwnProperty(n);)r=de(r);!r&&e[n]&&(r=e);const i=H(n);let l=null;if(r&&(!(l=r[i])||!r.hasOwnProperty(i))&&(l=r[i]=r[n],Fe(r&&ie(r,n)))){const E=s(l,i,n);r[n]=function(){return E(this,arguments)},ue(r[n],l)}return l}function lt(e,n,s){let r=null;function i(l){const p=l.data;return p.args[p.cbIdx]=function(){l.invoke.apply(this,arguments)},r.apply(p.target,p.args),l}r=le(e,n,l=>function(p,E){const b=s(p,E);return b.cbIdx>=0&&"function"==typeof E[b.cbIdx]?Me(b.name,E[b.cbIdx],b,i):l.apply(p,E)})}function ue(e,n){e[H("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,s)=>{const r=Object.getOwnPropertyDescriptor,i=Object.defineProperty,p=s.symbol,E=[],b=!0===e[p("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=p("Promise"),m=p("then"),M="__creationTrace__";s.onUnhandledError=a=>{if(s.showUncaughtError()){const u=a&&a.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",a.zone.name,"; Task:",a.task&&a.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(a)}},s.microtaskDrainDone=()=>{for(;E.length;){const a=E.shift();try{a.zone.runGuarded(()=>{throw a.throwOriginal?a.rejection:a})}catch(u){N(u)}}};const Z=p("unhandledPromiseRejectionHandler");function N(a){s.onUnhandledError(a);try{const u=n[Z];"function"==typeof u&&u.call(this,a)}catch{}}function U(a){return a&&a.then}function x(a){return a}function J(a){return c.reject(a)}const X=p("state"),C=p("value"),T=p("finally"),K=p("parentPromiseValue"),G=p("parentPromiseState"),z="Promise.then",A=null,y=!0,V=!1,d=0;function I(a,u){return o=>{try{Y(a,u,o)}catch(f){Y(a,!1,f)}}}const P=function(){let a=!1;return function(o){return function(){a||(a=!0,o.apply(null,arguments))}}},Q="Promise resolved with itself",oe=p("currentTaskTrace");function Y(a,u,o){const f=P();if(a===o)throw new TypeError(Q);if(a[X]===A){let k=null;try{("object"==typeof o||"function"==typeof o)&&(k=o&&o.then)}catch(R){return f(()=>{Y(a,!1,R)})(),a}if(u!==V&&o instanceof c&&o.hasOwnProperty(X)&&o.hasOwnProperty(C)&&o[X]!==A)re(o),Y(a,o[X],o[C]);else if(u!==V&&"function"==typeof k)try{k.call(o,f(I(a,u)),f(I(a,!1)))}catch(R){f(()=>{Y(a,!1,R)})()}else{a[X]=u;const R=a[C];if(a[C]=o,a[T]===T&&u===y&&(a[X]=a[G],a[C]=a[K]),u===V&&o instanceof Error){const g=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];g&&i(o,oe,{configurable:!0,enumerable:!1,writable:!0,value:g})}for(let g=0;g<R.length;)ee(a,R[g++],R[g++],R[g++],R[g++]);if(0==R.length&&u==V){a[X]=d;let g=o;try{throw new Error("Uncaught (in promise): "+function l(a){return a&&a.toString===Object.prototype.toString?(a.constructor&&a.constructor.name||"")+": "+JSON.stringify(a):a?a.toString():Object.prototype.toString.call(a)}(o)+(o&&o.stack?"\n"+o.stack:""))}catch(D){g=D}b&&(g.throwOriginal=!0),g.rejection=o,g.promise=a,g.zone=n.current,g.task=n.currentTask,E.push(g),s.scheduleMicroTask()}}}return a}const W=p("rejectionHandledHandler");function re(a){if(a[X]===d){try{const u=n[W];u&&"function"==typeof u&&u.call(this,{rejection:a[C],promise:a})}catch{}a[X]=V;for(let u=0;u<E.length;u++)a===E[u].promise&&E.splice(u,1)}}function ee(a,u,o,f,k){re(a);const R=a[X],g=R?"function"==typeof f?f:x:"function"==typeof k?k:J;u.scheduleMicroTask(z,()=>{try{const D=a[C],S=!!o&&T===o[T];S&&(o[K]=D,o[G]=R);const O=u.run(g,void 0,S&&g!==J&&g!==x?[]:[D]);Y(o,!0,O)}catch(D){Y(o,!1,D)}},o)}const j=function(){},h=e.AggregateError;class c{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return Y(new this(null),y,u)}static reject(u){return Y(new this(null),V,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new h([],"All promises were rejected"));const o=[];let f=0;try{for(let g of u)f++,o.push(c.resolve(g))}catch{return Promise.reject(new h([],"All promises were rejected"))}if(0===f)return Promise.reject(new h([],"All promises were rejected"));let k=!1;const R=[];return new c((g,D)=>{for(let S=0;S<o.length;S++)o[S].then(O=>{k||(k=!0,g(O))},O=>{R.push(O),f--,0===f&&(k=!0,D(new h(R,"All promises were rejected")))})})}static race(u){let o,f,k=new this((D,S)=>{o=D,f=S});function R(D){o(D)}function g(D){f(D)}for(let D of u)U(D)||(D=this.resolve(D)),D.then(R,g);return k}static all(u){return c.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof c?this:c).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,o){let f,k,R=new this((O,F)=>{f=O,k=F}),g=2,D=0;const S=[];for(let O of u){U(O)||(O=this.resolve(O));const F=D;try{O.then(B=>{S[F]=o?o.thenCallback(B):B,g--,0===g&&f(S)},B=>{o?(S[F]=o.errorCallback(B),g--,0===g&&f(S)):k(B)})}catch(B){k(B)}g++,D++}return g-=2,0===g&&f(S),R}constructor(u){const o=this;if(!(o instanceof c))throw new Error("Must be an instanceof Promise.");o[X]=A,o[C]=[];try{const f=P();u&&u(f(I(o,y)),f(I(o,V)))}catch(f){Y(o,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return c}then(u,o){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||c);const k=new f(j),R=n.current;return this[X]==A?this[C].push(R,k,u,o):ee(this,R,k,u,o),k}catch(u){return this.then(null,u)}finally(u){let o=this.constructor?.[Symbol.species];(!o||"function"!=typeof o)&&(o=c);const f=new o(j);f[T]=T;const k=n.current;return this[X]==A?this[C].push(k,f,u,u):ee(this,k,f,u,u),f}}c.resolve=c.resolve,c.reject=c.reject,c.race=c.race,c.all=c.all;const t=e[v]=e.Promise;e.Promise=c;const _=p("thenPatched");function w(a){const u=a.prototype,o=r(u,"then");if(o&&(!1===o.writable||!o.configurable))return;const f=u.then;u[m]=f,a.prototype.then=function(k,R){return new c((D,S)=>{f.call(this,D,S)}).then(k,R)},a[_]=!0}return s.patchThen=w,t&&(w(t),le(e,"fetch",a=>function L(a){return function(u,o){let f=a.apply(u,o);if(f instanceof c)return f;let k=f.constructor;return k[_]||w(k),f}}(a))),Promise[n.__symbol__("uncaughtPromiseErrors")]=E,c}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,s=H("OriginalDelegate"),r=H("Promise"),i=H("Error"),l=function(){if("function"==typeof this){const v=this[s];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=e[r];if(m)return n.call(m)}if(this===Error){const m=e[i];if(m)return n.call(m)}}return n.call(this)};l[s]=n,Function.prototype.toString=l;const p=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":p.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=H("propagationStopped");function Je(e,n){const s=(n?n(e):e)+ae,r=(n?n(e):e)+ce,i=ke+s,l=ke+r;te[e]={},te[e][ae]=i,te[e][ce]=l}function dt(e,n,s,r){const i=r&&r.add||Se,l=r&&r.rm||Oe,p=r&&r.listeners||"eventListeners",E=r&&r.rmAll||"removeAllListeners",b=H(i),v="."+i+":",m="prependListener",M="."+m+":",Z=function(C,T,K){if(C.isRemoved)return;const G=C.callback;let z;"object"==typeof G&&G.handleEvent&&(C.callback=y=>G.handleEvent(y),C.originalDelegate=G);try{C.invoke(C,T,[K])}catch(y){z=y}const A=C.options;return A&&"object"==typeof A&&A.once&&T[l].call(T,K.type,C.originalDelegate?C.originalDelegate:C.callback,A),z};function N(C,T,K){if(!(T=T||e.event))return;const G=C||T.target||e,z=G[te[T.type][K?ce:ae]];if(z){const A=[];if(1===z.length){const y=Z(z[0],G,T);y&&A.push(y)}else{const y=z.slice();for(let V=0;V<y.length&&(!T||!0!==T[Ke]);V++){const d=Z(y[V],G,T);d&&A.push(d)}}if(1===A.length)throw A[0];for(let y=0;y<A.length;y++){const V=A[y];n.nativeScheduleMicroTask(()=>{throw V})}}}const U=function(C){return N(this,C,!1)},x=function(C){return N(this,C,!0)};function J(C,T){if(!C)return!1;let K=!0;T&&void 0!==T.useG&&(K=T.useG);const G=T&&T.vh;let z=!0;T&&void 0!==T.chkDup&&(z=T.chkDup);let A=!1;T&&void 0!==T.rt&&(A=T.rt);let y=C;for(;y&&!y.hasOwnProperty(i);)y=de(y);if(!y&&C[i]&&(y=C),!y||y[b])return!1;const V=T&&T.eventNameToString,d={},I=y[b]=y[i],P=y[H(l)]=y[l],Q=y[H(p)]=y[p],oe=y[H(E)]=y[E];let Y;T&&T.prepend&&(Y=y[H(T.prepend)]=y[T.prepend]);const c=K?function(o){if(!d.isExisting)return I.call(d.target,d.eventName,d.capture?x:U,d.options)}:function(o){return I.call(d.target,d.eventName,o.invoke,d.options)},t=K?function(o){if(!o.isRemoved){const f=te[o.eventName];let k;f&&(k=f[o.capture?ce:ae]);const R=k&&o.target[k];if(R)for(let g=0;g<R.length;g++)if(R[g]===o){R.splice(g,1),o.isRemoved=!0,0===R.length&&(o.allRemoved=!0,o.target[k]=null);break}}if(o.allRemoved)return P.call(o.target,o.eventName,o.capture?x:U,o.options)}:function(o){return P.call(o.target,o.eventName,o.invoke,o.options)},w=T&&T.diff?T.diff:function(o,f){const k=typeof f;return"function"===k&&o.callback===f||"object"===k&&o.originalDelegate===f},L=Zone[H("UNPATCHED_EVENTS")],a=e[H("PASSIVE_EVENTS")],u=function(o,f,k,R,g=!1,D=!1){return function(){const S=this||e;let O=arguments[0];T&&T.transferEventName&&(O=T.transferEventName(O));let F=arguments[1];if(!F)return o.apply(this,arguments);if(we&&"uncaughtException"===O)return o.apply(this,arguments);let B=!1;if("function"!=typeof F){if(!F.handleEvent)return o.apply(this,arguments);B=!0}if(G&&!G(o,F,S,arguments))return;const fe=ye&&!!a&&-1!==a.indexOf(O),se=function W(o,f){return!ye&&"object"==typeof o&&o?!!o.capture:ye&&f?"boolean"==typeof o?{capture:o,passive:!0}:o?"object"==typeof o&&!1!==o.passive?{...o,passive:!0}:o:{passive:!0}:o}(arguments[2],fe);if(L)for(let _e=0;_e<L.length;_e++)if(O===L[_e])return fe?o.call(S,O,F,se):o.apply(this,arguments);const xe=!!se&&("boolean"==typeof se||se.capture),nt=!(!se||"object"!=typeof se)&&se.once,kt=Zone.current;let Ge=te[O];Ge||(Je(O,V),Ge=te[O]);const rt=Ge[xe?ce:ae];let De,me=S[rt],ot=!1;if(me){if(ot=!0,z)for(let _e=0;_e<me.length;_e++)if(w(me[_e],F))return}else me=S[rt]=[];const st=S.constructor.name,it=Ye[st];it&&(De=it[O]),De||(De=st+f+(V?V(O):O)),d.options=se,nt&&(d.options.once=!1),d.target=S,d.capture=xe,d.eventName=O,d.isExisting=ot;const be=K?ht:void 0;be&&(be.taskData=d);const he=kt.scheduleEventTask(De,F,be,k,R);return d.target=null,be&&(be.taskData=null),nt&&(se.once=!0),!ye&&"boolean"==typeof he.options||(he.options=se),he.target=S,he.capture=xe,he.eventName=O,B&&(he.originalDelegate=F),D?me.unshift(he):me.push(he),g?S:void 0}};return y[i]=u(I,v,c,t,A),Y&&(y[m]=u(Y,M,function(o){return Y.call(d.target,d.eventName,o.invoke,d.options)},t,A,!0)),y[l]=function(){const o=this||e;let f=arguments[0];T&&T.transferEventName&&(f=T.transferEventName(f));const k=arguments[2],R=!!k&&("boolean"==typeof k||k.capture),g=arguments[1];if(!g)return P.apply(this,arguments);if(G&&!G(P,g,o,arguments))return;const D=te[f];let S;D&&(S=D[R?ce:ae]);const O=S&&o[S];if(O)for(let F=0;F<O.length;F++){const B=O[F];if(w(B,g))return O.splice(F,1),B.isRemoved=!0,0===O.length&&(B.allRemoved=!0,o[S]=null,"string"==typeof f)&&(o[ke+"ON_PROPERTY"+f]=null),B.zone.cancelTask(B),A?o:void 0}return P.apply(this,arguments)},y[p]=function(){const o=this||e;let f=arguments[0];T&&T.transferEventName&&(f=T.transferEventName(f));const k=[],R=Qe(o,V?V(f):f);for(let g=0;g<R.length;g++){const D=R[g];k.push(D.originalDelegate?D.originalDelegate:D.callback)}return k},y[E]=function(){const o=this||e;let f=arguments[0];if(f){T&&T.transferEventName&&(f=T.transferEventName(f));const k=te[f];if(k){const D=o[k[ae]],S=o[k[ce]];if(D){const O=D.slice();for(let F=0;F<O.length;F++){const B=O[F];this[l].call(this,f,B.originalDelegate?B.originalDelegate:B.callback,B.options)}}if(S){const O=S.slice();for(let F=0;F<O.length;F++){const B=O[F];this[l].call(this,f,B.originalDelegate?B.originalDelegate:B.callback,B.options)}}}}else{const k=Object.keys(o);for(let R=0;R<k.length;R++){const D=$e.exec(k[R]);let S=D&&D[1];S&&"removeListener"!==S&&this[E].call(this,S)}this[E].call(this,"removeListener")}if(A)return this},ue(y[i],I),ue(y[l],P),oe&&ue(y[E],oe),Q&&ue(y[p],Q),!0}let X=[];for(let C=0;C<s.length;C++)X[C]=J(s[C],r);return X}function Qe(e,n){if(!n){const l=[];for(let p in e){const E=$e.exec(p);let b=E&&E[1];if(b&&(!n||b===n)){const v=e[p];if(v)for(let m=0;m<v.length;m++)l.push(v[m])}}return l}let s=te[n];s||(Je(n),s=te[n]);const r=e[s[ae]],i=e[s[ce]];return r?i?r.concat(i):r.slice():i?i.slice():[]}function _t(e,n){const s=e.Event;s&&s.prototype&&n.patchMethod(s.prototype,"stopImmediatePropagation",r=>function(i,l){i[Ke]=!0,r&&r.apply(i,l)})}function Et(e,n,s,r,i){const l=Zone.__symbol__(r);if(n[l])return;const p=n[l]=n[r];n[r]=function(E,b,v){return b&&b.prototype&&i.forEach(function(m){const M=`${s}.${r}::`+m,Z=b.prototype;try{if(Z.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,m,N)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],M))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],M))}catch{}}),p.call(n,E,b,v)},e.attachOriginToPatched(n[r],p)}function et(e,n,s){if(!s||0===s.length)return n;const r=s.filter(l=>l.target===e);if(!r||0===r.length)return n;const i=r[0].ignoreProperties;return n.filter(l=>-1===i.indexOf(l))}function tt(e,n,s,r){e&&Xe(e,et(e,n,s),r)}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,s)=>{const r=He(e);s.patchOnProperties=Xe,s.patchMethod=le,s.bindArguments=Le,s.patchMacroTask=lt;const i=n.__symbol__("BLACK_LISTED_EVENTS"),l=n.__symbol__("UNPATCHED_EVENTS");e[l]&&(e[i]=e[l]),e[i]&&(n[i]=n[l]=e[i]),s.patchEventPrototype=_t,s.patchEventTarget=dt,s.isIEOrEdge=ft,s.ObjectDefineProperty=Ee,s.ObjectGetOwnPropertyDescriptor=ie,s.ObjectCreate=ge,s.ArraySlice=Ve,s.patchClass=ve,s.wrapWithCurrentZone=Ie,s.filterProperties=et,s.attachOriginToPatched=ue,s._redefineProperty=Object.defineProperty,s.patchCallbacks=Et,s.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:r,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=H("zoneTask");function pe(e,n,s,r){let i=null,l=null;s+=r;const p={};function E(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=i.apply(e,m.args),v}function b(v){return l.call(e,v.data.handleId)}i=le(e,n+=r,v=>function(m,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete p[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const U=Me(n,M[0],Z,E,b);if(!U)return U;const x=U.data.handleId;return"number"==typeof x?p[x]=U:x&&(x[Ce]=U),x&&x.ref&&x.unref&&"function"==typeof x.ref&&"function"==typeof x.unref&&(U.ref=x.ref.bind(x),U.unref=x.unref.bind(x)),"number"==typeof x||x?x:U}return v.apply(e,M)}),l=le(e,s,v=>function(m,M){const Z=M[0];let N;"number"==typeof Z?N=p[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 p[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",s="clear";pe(e,n,s,"Timeout"),pe(e,n,s,"Interval"),pe(e,n,s,"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 s=["alert","prompt","confirm"];for(let r=0;r<s.length;r++)le(e,s[r],(l,p,E)=>function(b,v){return n.current.run(l,e,v,E)})}),Zone.__load_patch("EventTarget",(e,n,s)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,s),function mt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:s,zoneSymbolEventNames:r,TRUE_STR:i,FALSE_STR:l,ZONE_SYMBOL_PREFIX:p}=n.getGlobalObjects();for(let b=0;b<s.length;b++){const v=s[b],Z=p+(v+l),N=p+(v+i);r[v]={},r[v][l]=Z,r[v][i]=N}const E=e.EventTarget;E&&E.prototype&&n.patchEventTarget(e,n,[E&&E.prototype])}(e,s);const r=e.XMLHttpRequestEventTarget;r&&r.prototype&&s.patchEventTarget(e,s,[r.prototype])}),Zone.__load_patch("MutationObserver",(e,n,s)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,s)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,s)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,s)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const s=n.__Zone_ignore_on_properties;let r=[];if(Ae){const i=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const l=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:i,ignoreProperties:["error"]}]:[];tt(i,He(i),s&&s.concat(l),de(i))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i<r.length;i++){const l=n[r[i]];l&&l.prototype&&tt(l.prototype,He(l.prototype),s)}}(s,e)}),Zone.__load_patch("customElements",(e,n,s)=>{!function pt(e,n){const{isBrowser:s,isMix:r}=n.getGlobalObjects();(s||r)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,s)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const m=v.XMLHttpRequest;if(!m)return;const M=m.prototype;let N=M[Ze],U=M[Ne];if(!N){const d=v.XMLHttpRequestEventTarget;if(d){const I=d.prototype;N=I[Ze],U=I[Ne]}}const x="readystatechange",J="scheduled";function X(d){const I=d.data,P=I.target;P[l]=!1,P[E]=!1;const Q=P[i];N||(N=P[Ze],U=P[Ne]),Q&&U.call(P,x,Q);const oe=P[i]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[l]&&d.state===J){const W=P[n.__symbol__("loadfalse")];if(0!==P.status&&W&&W.length>0){const re=d.invoke;d.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let q=0;q<ee.length;q++)ee[q]===d&&ee.splice(q,1);!I.aborted&&d.state===J&&re.call(d)},W.push(d)}else d.invoke()}else!I.aborted&&!1===P[l]&&(P[E]=!0)};return N.call(P,x,oe),P[s]||(P[s]=d),y.apply(P,I.args),P[l]=!0,d}function C(){}function T(d){const I=d.data;return I.aborted=!0,V.apply(I.target,I.args)}const K=le(M,"open",()=>function(d,I){return d[r]=0==I[2],d[p]=I[1],K.apply(d,I)}),z=H("fetchTaskAborting"),A=H("fetchTaskScheduling"),y=le(M,"send",()=>function(d,I){if(!0===n.current[A]||d[r])return y.apply(d,I);{const P={target:d,url:d[p],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",C,P,X,T);d&&!0===d[E]&&!P.aborted&&Q.state===J&&Q.invoke()}}),V=le(M,"abort",()=>function(d,I){const P=function Z(d){return d[s]}(d);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[z])return V.apply(d,I)})}(e);const s=H("xhrTask"),r=H("xhrSync"),i=H("xhrListener"),l=H("xhrScheduled"),p=H("xhrURL"),E=H("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const s=e.constructor.name;for(let r=0;r<n.length;r++){const i=n[r],l=e[i];if(l){if(!Fe(ie(e,i)))continue;e[i]=(E=>{const b=function(){return E.apply(this,Le(arguments,s+"."+i))};return ue(b,E),b})(l)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function s(r){return function(i){Qe(e,r).forEach(p=>{const E=e.PromiseRejectionEvent;if(E){const b=new E(r,{promise:i.promise,reason:i.rejection});p.invoke(b)}})}}e.PromiseRejectionEvent&&(n[H("unhandledPromiseRejectionHandler")]=s("unhandledrejection"),n[H("rejectionHandledHandler")]=s("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,s)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",s=>function(r,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}(e,s)})}},ie=>{ie(ie.s=5321)}]);
@@ -1 +0,0 @@
1
- (()=>{"use strict";var e,h={},v={};function r(e){var f=v[e];if(void 0!==f)return f.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=(f,t,n,d)=>{if(!t){var a=1/0;for(c=0;c<e.length;c++){for(var[t,n,d]=e[c],s=!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):(s=!1,d<a&&(a=d));if(s){e.splice(c--,1);var b=n();void 0!==b&&(f=b)}}return f}d=d||0;for(var c=e.length;c>0&&e[c-1][2]>d;c--)e[c]=e[c-1];e[c]=[t,n,d]},r.n=e=>{var f=e&&e.__esModule?()=>e.default:()=>e;return r.d(f,{a:f}),f},(()=>{var f,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,n){if(1&n&&(t=this(t)),8&n||"object"==typeof t&&t&&(4&n&&t.__esModule||16&n&&"function"==typeof t.then))return t;var d=Object.create(null);r.r(d);var c={};f=f||[null,e({}),e([]),e(e)];for(var a=2&n&&t;"object"==typeof a&&!~f.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(s=>c[s]=()=>t[s]);return c.default=()=>t,r.d(d,c),d}})(),r.d=(e,f)=>{for(var t in f)r.o(f,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:f[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((f,t)=>(r.f[t](e,f),f),[])),r.u=e=>(592===e?"common":e)+"."+{56:"0432dfcbb3e04e39",62:"4f9a8ca2692bdd97",103:"bc1f4c51ca99f04f",168:"50d66b17241a3765",231:"0c7ab993977632a2",257:"d1592e885695ba4b",278:"e89610409641d910",296:"93310f70e5f9d3a9",311:"afcc0c4a03ea0076",389:"02d8fd64069d0119",394:"11ae606578598904",445:"cbf341bc0afe3ffc",452:"58ce3ef12b9b5a47",476:"d08ef7b92327904d",478:"a63c640a3e971a16",500:"c2e6963e4771761e",527:"984c24771dbd0f8e",556:"5d624cfb73f161b2",592:"2cffc11d42ed963f",599:"8de0c2b4c7af0f9d",609:"0e0a820d30efd4d4",617:"4db1b737553fe58b",687:"1fb4b2602d2b185a",699:"d68a917277dbe11a",700:"755c54d915bd281e",726:"40535ee28a35e978",806:"4037f673990a5242",810:"629a800ca97725b7",877:"bbdea3b04cc75780",900:"b7de175b628a8dbe",967:"2b39f548c7f4eb30"}[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,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={},f="pos-marketplace:";r.l=(t,n,d,c)=>{if(e[t])e[t].push(n);else{var a,s;if(void 0!==d)for(var o=document.getElementsByTagName("script"),b=0;b<o.length;b++){var i=o[b];if(i.getAttribute("src")==t||i.getAttribute("data-webpack")==f+d){a=i;break}}a||(s=!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",f+d),a.src=r.tu(t)),e[t]=[n];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),s&&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:f=>f},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@3.2.0/Marketplace/",(()=>{var e={666:0};r.f.j=(n,d)=>{var c=r.o(e,n)?e[n]:void 0;if(0!==c)if(c)d.push(c[2]);else if(666!=n){var a=new Promise((i,p)=>c=e[n]=[i,p]);d.push(c[2]=a);var s=r.p+r.u(n),o=new Error;r.l(s,i=>{if(r.o(e,n)&&(0!==(c=e[n])&&(e[n]=void 0),c)){var p=i&&("load"===i.type?"missing":i.type),l=i&&i.target&&i.target.src;o.message="Loading chunk "+n+" failed.\n("+p+": "+l+")",o.name="ChunkLoadError",o.type=p,o.request=l,c[1](o)}},"chunk-"+n,n)}else e[n]=0},r.O.j=n=>0===e[n];var f=(n,d)=>{var o,b,[c,a,s]=d,i=0;if(c.some(l=>0!==e[l])){for(o in a)r.o(a,o)&&(r.m[o]=a[o]);if(s)var p=s(r)}for(n&&n(d);i<c.length;i++)r.o(e,b=c[i])&&e[b]&&e[b][0](),e[b]=0;return r.O(p)},t=self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[];t.forEach(f.bind(null,0)),t.push=f.bind(null,t.push.bind(t))})()})();
@@ -1 +0,0 @@
1
- !function(S,u){"object"==typeof exports&&typeof module<"u"?module.exports=u():"function"==typeof define&&define.amd?define(u):(S=typeof globalThis<"u"?globalThis:S||self).bootstrap=u()}(this,function(){"use strict";const S=new Map,u={set(r,t,e){S.has(r)||S.set(r,new Map);const l=S.get(r);l.has(t)||0===l.size?l.set(t,e):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(l.keys())[0]}.`)},get:(r,t)=>S.has(r)&&S.get(r).get(t)||null,remove(r,t){if(!S.has(r))return;const e=S.get(r);e.delete(t),0===e.size&&S.delete(r)}},m="transitionend",f=r=>(r&&window.CSS&&window.CSS.escape&&(r=r.replace(/#([^\s"#']+)/g,(t,e)=>`#${CSS.escape(e)}`)),r),v=r=>{r.dispatchEvent(new Event(m))},_=r=>!(!r||"object"!=typeof r)&&(void 0!==r.jquery&&(r=r[0]),void 0!==r.nodeType),b=r=>_(r)?r.jquery?r[0]:r:"string"==typeof r&&r.length>0?document.querySelector(f(r)):null,g=r=>{if(!_(r)||0===r.getClientRects().length)return!1;const t="visible"===getComputedStyle(r).getPropertyValue("visibility"),e=r.closest("details:not([open])");if(!e)return t;if(e!==r){const l=r.closest("summary");if(l&&l.parentNode!==e||null===l)return!1}return t},h=r=>!r||r.nodeType!==Node.ELEMENT_NODE||!!r.classList.contains("disabled")||(void 0!==r.disabled?r.disabled:r.hasAttribute("disabled")&&"false"!==r.getAttribute("disabled")),a=r=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof r.getRootNode){const t=r.getRootNode();return t instanceof ShadowRoot?t:null}return r instanceof ShadowRoot?r:r.parentNode?a(r.parentNode):null},i=()=>{},o=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,s=[],c=()=>"rtl"===document.documentElement.dir,y=r=>{var t;t=()=>{const e=o();if(e){const l=r.NAME,d=e.fn[l];e.fn[l]=r.jQueryInterface,e.fn[l].Constructor=r,e.fn[l].noConflict=()=>(e.fn[l]=d,r.jQueryInterface)}},"loading"===document.readyState?(s.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of s)e()}),s.push(t)):t()},E=(r,t=[],e=r)=>"function"==typeof r?r(...t):e,T=(r,t,e=!0)=>{if(!e)return void E(r);const l=(w=>{if(!w)return 0;let{transitionDuration:O,transitionDelay:x}=window.getComputedStyle(w);const j=Number.parseFloat(O),P=Number.parseFloat(x);return j||P?(O=O.split(",")[0],x=x.split(",")[0],1e3*(Number.parseFloat(O)+Number.parseFloat(x))):0})(t)+5;let d=!1;const p=({target:w})=>{w===t&&(d=!0,t.removeEventListener(m,p),E(r))};t.addEventListener(m,p),setTimeout(()=>{d||v(t)},l)},tt=(r,t,e,l)=>{const d=r.length;let p=r.indexOf(t);return-1===p?!e&&l?r[d-1]:r[0]:(p+=e?1:-1,l&&(p=(p+d)%d),r[Math.max(0,Math.min(p,d-1))])},gt=/[^.]*(?=\..*)\.|.*/,$=/\..*/,Q=/::\d+$/,F={};let U=1;const rt={mouseenter:"mouseover",mouseleave:"mouseout"},vt=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function _e(r,t){return t&&`${t}::${U++}`||r.uidEvent||U++}function me(r){const t=_e(r);return r.uidEvent=t,F[t]=F[t]||{},F[t]}function En(r,t,e=null){return Object.values(r).find(l=>l.callable===t&&l.delegationSelector===e)}function An(r,t,e){const l="string"==typeof t,d=l?e:t||e;let p=Cn(r);return vt.has(p)||(p=r),[l,d,p]}function xn(r,t,e,l,d){if("string"!=typeof t||!r)return;let[p,w,O]=An(t,e,l);var I;t in rt&&(I=w,w=function(M){if(!M.relatedTarget||M.relatedTarget!==M.delegateTarget&&!M.delegateTarget.contains(M.relatedTarget))return I.call(this,M)});const x=me(r),j=x[O]||(x[O]={}),P=En(j,w,p?e:null);if(P)return void(P.oneOff=P.oneOff&&d);const C=_e(w,t.replace(gt,"")),R=p?function(L,I,M){return function D(V){const K=L.querySelectorAll(I);for(let{target:B}=V;B&&B!==this;B=B.parentNode)for(const z of K)if(z===B)return He(V,{delegateTarget:B}),D.oneOff&&A.off(L,V.type,I,M),M.apply(B,[V])}}(r,e,w):function(L,I){return function M(D){return He(D,{delegateTarget:L}),M.oneOff&&A.off(L,D.type,I),I.apply(L,[D])}}(r,w);R.delegationSelector=p?e:null,R.callable=w,R.oneOff=d,R.uidEvent=C,j[C]=R,r.addEventListener(O,R,p)}function Be(r,t,e,l,d){const p=En(t[e],l,d);p&&(r.removeEventListener(e,p,!!d),delete t[e][p.uidEvent])}function so(r,t,e,l){const d=t[e]||{};for(const[p,w]of Object.entries(d))p.includes(l)&&Be(r,t,e,w.callable,w.delegationSelector)}function Cn(r){return r=r.replace($,""),rt[r]||r}const A={on(r,t,e,l){xn(r,t,e,l,!1)},one(r,t,e,l){xn(r,t,e,l,!0)},off(r,t,e,l){if("string"!=typeof t||!r)return;const[d,p,w]=An(t,e,l),O=w!==t,x=me(r),j=x[w]||{},P=t.startsWith(".");if(void 0===p){if(P)for(const C of Object.keys(x))so(r,x,C,t.slice(1));for(const[C,R]of Object.entries(j)){const L=C.replace(Q,"");O&&!t.includes(L)||Be(r,x,w,R.callable,R.delegationSelector)}}else{if(!Object.keys(j).length)return;Be(r,x,w,p,d?e:null)}},trigger(r,t,e){if("string"!=typeof t||!r)return null;const l=o();let d=null,p=!0,w=!0,O=!1;t!==Cn(t)&&l&&(d=l.Event(t,e),l(r).trigger(d),p=!d.isPropagationStopped(),w=!d.isImmediatePropagationStopped(),O=d.isDefaultPrevented());const x=He(new Event(t,{bubbles:p,cancelable:!0}),e);return O&&x.preventDefault(),w&&r.dispatchEvent(x),x.defaultPrevented&&d&&d.preventDefault(),x}};function He(r,t={}){for(const[e,l]of Object.entries(t))try{r[e]=l}catch{Object.defineProperty(r,e,{configurable:!0,get:()=>l})}return r}function Tn(r){if("true"===r)return!0;if("false"===r)return!1;if(r===Number(r).toString())return Number(r);if(""===r||"null"===r)return null;if("string"!=typeof r)return r;try{return JSON.parse(decodeURIComponent(r))}catch{return r}}function ze(r){return r.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const At={setDataAttribute(r,t,e){r.setAttribute(`data-bs-${ze(t)}`,e)},removeDataAttribute(r,t){r.removeAttribute(`data-bs-${ze(t)}`)},getDataAttributes(r){if(!r)return{};const t={},e=Object.keys(r.dataset).filter(l=>l.startsWith("bs")&&!l.startsWith("bsConfig"));for(const l of e){let d=l.replace(/^bs/,"");d=d.charAt(0).toLowerCase()+d.slice(1,d.length),t[d]=Tn(r.dataset[l])}return t},getDataAttribute:(r,t)=>Tn(r.getAttribute(`data-bs-${ze(t)}`))};class re{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(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const l=_(e)?At.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof l?l:{},..._(e)?At.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[d,p]of Object.entries(e)){const w=t[d],O=_(w)?"element":null==(l=w)?`${l}`:Object.prototype.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(p).test(O))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${d}" provided type "${O}" but expected type "${p}".`)}var l}}class _t extends re{constructor(t,e){super(),(t=b(t))&&(this._element=t,this._config=this._getConfig(e),u.set(this._element,this.constructor.DATA_KEY,this))}dispose(){u.remove(this._element,this.constructor.DATA_KEY),A.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,l=!0){T(t,e,l)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return u.get(b(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.2"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const Fe=r=>{let t=r.getAttribute("data-bs-target");if(!t||"#"===t){let e=r.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e=`#${e.split("#")[1]}`),t=e&&"#"!==e?f(e.trim()):null}return t},k={find:(r,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,r)),findOne:(r,t=document.documentElement)=>Element.prototype.querySelector.call(t,r),children:(r,t)=>[].concat(...r.children).filter(e=>e.matches(t)),parents(r,t){const e=[];let l=r.parentNode.closest(t);for(;l;)e.push(l),l=l.parentNode.closest(t);return e},prev(r,t){let e=r.previousElementSibling;for(;e;){if(e.matches(t))return[e];e=e.previousElementSibling}return[]},next(r,t){let e=r.nextElementSibling;for(;e;){if(e.matches(t))return[e];e=e.nextElementSibling}return[]},focusableChildren(r){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,r).filter(e=>!h(e)&&g(e))},getSelectorFromElement(r){const t=Fe(r);return t&&k.findOne(t)?t:null},getElementFromSelector(r){const t=Fe(r);return t?k.findOne(t):null},getMultipleElementsFromSelector(r){const t=Fe(r);return t?k.find(t):[]}},be=(r,t="hide")=>{const l=r.NAME;A.on(document,`click.dismiss${r.EVENT_KEY}`,`[data-bs-dismiss="${l}"]`,function(d){if(["A","AREA"].includes(this.tagName)&&d.preventDefault(),h(this))return;const p=k.getElementFromSelector(this)||this.closest(`.${l}`);r.getOrCreateInstance(p)[t]()})},jn=".bs.alert",ao=`close${jn}`,lo=`closed${jn}`;class se extends _t{static get NAME(){return"alert"}close(){if(A.trigger(this._element,ao).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),A.trigger(this._element,lo),this.dispose()}static jQueryInterface(t){return this.each(function(){const e=se.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}be(se,"close"),y(se);const Sn='[data-bs-toggle="button"]';class ae extends _t{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){const e=ae.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}A.on(document,"click.bs.button.data-api",Sn,r=>{r.preventDefault();const t=r.target.closest(Sn);ae.getOrCreateInstance(t).toggle()}),y(ae);const Gt=".bs.swipe",co=`touchstart${Gt}`,uo=`touchmove${Gt}`,fo=`touchend${Gt}`,ho=`pointerdown${Gt}`,po=`pointerup${Gt}`,go={endCallback:null,leftCallback:null,rightCallback:null},_o={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ve extends re{constructor(t,e){super(),this._element=t,t&&ve.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return go}static get DefaultType(){return _o}static get NAME(){return"swipe"}dispose(){A.off(this._element,Gt)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),E(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&E(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(A.on(this._element,ho,t=>this._start(t)),A.on(this._element,po,t=>this._end(t)),this._element.classList.add("pointer-event")):(A.on(this._element,co,t=>this._start(t)),A.on(this._element,uo,t=>this._move(t)),A.on(this._element,fo,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const jt=".bs.carousel",Pn=".data-api",le="next",Xt="prev",Vt="left",ye="right",mo=`slide${jt}`,Ge=`slid${jt}`,bo=`keydown${jt}`,vo=`mouseenter${jt}`,yo=`mouseleave${jt}`,wo=`dragstart${jt}`,Oo=`load${jt}${Pn}`,Eo=`click${jt}${Pn}`,kn="carousel",we="active",Ln=".active",Mn=".carousel-item",Ao=Ln+Mn,xo={ArrowLeft:ye,ArrowRight:Vt},Co={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},To={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Wt extends _t{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=k.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===kn&&this.cycle()}static get Default(){return Co}static get DefaultType(){return To}static get NAME(){return"carousel"}next(){this._slide(le)}nextWhenVisible(){!document.hidden&&g(this._element)&&this.next()}prev(){this._slide(Xt)}pause(){this._isSliding&&v(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?A.one(this._element,Ge,()=>this.cycle()):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void A.one(this._element,Ge,()=>this.to(t));const l=this._getItemIndex(this._getActive());l!==t&&this._slide(t>l?le:Xt,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&A.on(this._element,bo,t=>this._keydown(t)),"hover"===this._config.pause&&(A.on(this._element,vo,()=>this.pause()),A.on(this._element,yo,()=>this._maybeEnableCycle())),this._config.touch&&ve.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of k.find(".carousel-item img",this._element))A.on(e,wo,l=>l.preventDefault());this._swipeHelper=new ve(this._element,{leftCallback:()=>this._slide(this._directionToOrder(Vt)),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(t){if(/input|textarea/i.test(t.target.tagName))return;const e=xo[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=k.findOne(Ln,this._indicatorsElement);e.classList.remove(we),e.removeAttribute("aria-current");const l=k.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);l&&(l.classList.add(we),l.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const l=this._getActive(),d=t===le,p=e||tt(this._getItems(),l,d,this._config.wrap);if(p===l)return;const w=this._getItemIndex(p),O=C=>A.trigger(this._element,C,{relatedTarget:p,direction:this._orderToDirection(t),from:this._getItemIndex(l),to:w});if(O(mo).defaultPrevented||!l||!p)return;const x=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(w),this._activeElement=p;const j=d?"carousel-item-start":"carousel-item-end",P=d?"carousel-item-next":"carousel-item-prev";p.classList.add(P),l.classList.add(j),p.classList.add(j),this._queueCallback(()=>{p.classList.remove(j,P),p.classList.add(we),l.classList.remove(we,P,j),this._isSliding=!1,O(Ge)},l,this._isAnimated()),x&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return k.findOne(Ao,this._element)}_getItems(){return k.find(Mn,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return c()?t===Vt?Xt:le:t===Vt?le:Xt}_orderToDirection(t){return c()?t===Xt?Vt:ye:t===Xt?ye:Vt}static jQueryInterface(t){return this.each(function(){const e=Wt.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)})}}A.on(document,Eo,"[data-bs-slide], [data-bs-slide-to]",function(r){const t=k.getElementFromSelector(this);if(!t||!t.classList.contains(kn))return;r.preventDefault();const e=Wt.getOrCreateInstance(t),l=this.getAttribute("data-bs-slide-to");return l?(e.to(l),void e._maybeEnableCycle()):"next"===At.getDataAttribute(this,"slide")?(e.next(),void e._maybeEnableCycle()):(e.prev(),void e._maybeEnableCycle())}),A.on(window,Oo,()=>{const r=k.find('[data-bs-ride="carousel"]');for(const t of r)Wt.getOrCreateInstance(t)}),y(Wt);const ce=".bs.collapse",jo=`show${ce}`,So=`shown${ce}`,Po=`hide${ce}`,ko=`hidden${ce}`,Lo=`click${ce}.data-api`,Xe="show",Ut="collapse",Oe="collapsing",Mo=`:scope .${Ut} .${Ut}`,Ve='[data-bs-toggle="collapse"]',Io={parent:null,toggle:!0},Do={parent:"(null|element)",toggle:"boolean"};class qt extends _t{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const l=k.find(Ve);for(const d of l){const p=k.getSelectorFromElement(d),w=k.find(p).filter(O=>O===this._element);null!==p&&w.length&&this._triggerArray.push(d)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Io}static get DefaultType(){return Do}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(d=>d!==this._element).map(d=>qt.getOrCreateInstance(d,{toggle:!1}))),t.length&&t[0]._isTransitioning||A.trigger(this._element,jo).defaultPrevented)return;for(const d of t)d.hide();const e=this._getDimension();this._element.classList.remove(Ut),this._element.classList.add(Oe),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const l=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Oe),this._element.classList.add(Ut,Xe),this._element.style[e]="",A.trigger(this._element,So)},this._element,!0),this._element.style[e]=`${this._element[l]}px`}hide(){if(this._isTransitioning||!this._isShown()||A.trigger(this._element,Po).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,this._element.classList.add(Oe),this._element.classList.remove(Ut,Xe);for(const e of this._triggerArray){const l=k.getElementFromSelector(e);l&&!this._isShown(l)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Oe),this._element.classList.add(Ut),A.trigger(this._element,ko)},this._element,!0)}_isShown(t=this._element){return t.classList.contains(Xe)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=b(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Ve);for(const e of t){const l=k.getElementFromSelector(e);l&&this._addAriaAndCollapsedClass([e],this._isShown(l))}}_getFirstLevelChildren(t){const e=k.find(Mo,this._config.parent);return k.find(t,this._config.parent).filter(l=>!e.includes(l))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const l of t)l.classList.toggle("collapsed",!e),l.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each(function(){const l=qt.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===l[t])throw new TypeError(`No method named "${t}"`);l[t]()}})}}A.on(document,Lo,Ve,function(r){("A"===r.target.tagName||r.delegateTarget&&"A"===r.delegateTarget.tagName)&&r.preventDefault();for(const t of k.getMultipleElementsFromSelector(this))qt.getOrCreateInstance(t,{toggle:!1}).toggle()}),y(qt);var et="top",st="bottom",at="right",nt="left",Ee="auto",Kt=[et,st,at,nt],Lt="start",Qt="end",In="clippingParents",We="viewport",Yt="popper",Dn="reference",Ue=Kt.reduce(function(r,t){return r.concat([t+"-"+Lt,t+"-"+Qt])},[]),qe=[].concat(Kt,[Ee]).reduce(function(r,t){return r.concat([t,t+"-"+Lt,t+"-"+Qt])},[]),Rn="beforeRead",$n="afterRead",Bn="beforeMain",zn="afterMain",Fn="beforeWrite",Xn="afterWrite",Vn=[Rn,"read",$n,Bn,"main",zn,Fn,"write",Xn];function yt(r){return r?(r.nodeName||"").toLowerCase():null}function lt(r){if(null==r)return window;if("[object Window]"!==r.toString()){var t=r.ownerDocument;return t&&t.defaultView||window}return r}function Mt(r){return r instanceof lt(r).Element||r instanceof Element}function ut(r){return r instanceof lt(r).HTMLElement||r instanceof HTMLElement}function Ke(r){return typeof ShadowRoot<"u"&&(r instanceof lt(r).ShadowRoot||r instanceof ShadowRoot)}const Qe={name:"applyStyles",enabled:!0,phase:"write",fn:function(r){var t=r.state;Object.keys(t.elements).forEach(function(e){var l=t.styles[e]||{},d=t.attributes[e]||{},p=t.elements[e];ut(p)&&yt(p)&&(Object.assign(p.style,l),Object.keys(d).forEach(function(w){var O=d[w];!1===O?p.removeAttribute(w):p.setAttribute(w,!0===O?"":O)}))})},effect:function(r){var t=r.state,e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,e.popper),t.styles=e,t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow),function(){Object.keys(t.elements).forEach(function(l){var d=t.elements[l],p=t.attributes[l]||{},w=Object.keys(t.styles.hasOwnProperty(l)?t.styles[l]:e[l]).reduce(function(O,x){return O[x]="",O},{});ut(d)&&yt(d)&&(Object.assign(d.style,w),Object.keys(p).forEach(function(O){d.removeAttribute(O)}))})}},requires:["computeStyles"]};function wt(r){return r.split("-")[0]}var It=Math.max,Ae=Math.min,Jt=Math.round;function Ye(){var r=navigator.userAgentData;return null!=r&&r.brands&&Array.isArray(r.brands)?r.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Wn(){return!/^((?!chrome|android).)*safari/i.test(Ye())}function Zt(r,t,e){void 0===t&&(t=!1),void 0===e&&(e=!1);var l=r.getBoundingClientRect(),d=1,p=1;t&&ut(r)&&(d=r.offsetWidth>0&&Jt(l.width)/r.offsetWidth||1,p=r.offsetHeight>0&&Jt(l.height)/r.offsetHeight||1);var w=(Mt(r)?lt(r):window).visualViewport,O=!Wn()&&e,x=(l.left+(O&&w?w.offsetLeft:0))/d,j=(l.top+(O&&w?w.offsetTop:0))/p,P=l.width/d,C=l.height/p;return{width:P,height:C,top:j,right:x+P,bottom:j+C,left:x,x,y:j}}function Je(r){var t=Zt(r),e=r.offsetWidth,l=r.offsetHeight;return Math.abs(t.width-e)<=1&&(e=t.width),Math.abs(t.height-l)<=1&&(l=t.height),{x:r.offsetLeft,y:r.offsetTop,width:e,height:l}}function Un(r,t){var e=t.getRootNode&&t.getRootNode();if(r.contains(t))return!0;if(e&&Ke(e)){var l=t;do{if(l&&r.isSameNode(l))return!0;l=l.parentNode||l.host}while(l)}return!1}function xt(r){return lt(r).getComputedStyle(r)}function Ro(r){return["table","td","th"].indexOf(yt(r))>=0}function St(r){return((Mt(r)?r.ownerDocument:r.document)||window.document).documentElement}function xe(r){return"html"===yt(r)?r:r.assignedSlot||r.parentNode||(Ke(r)?r.host:null)||St(r)}function qn(r){return ut(r)&&"fixed"!==xt(r).position?r.offsetParent:null}function ue(r){for(var t=lt(r),e=qn(r);e&&Ro(e)&&"static"===xt(e).position;)e=qn(e);return e&&("html"===yt(e)||"body"===yt(e)&&"static"===xt(e).position)?t:e||function(l){var d=/firefox/i.test(Ye());if(/Trident/i.test(Ye())&&ut(l)&&"fixed"===xt(l).position)return null;var p=xe(l);for(Ke(p)&&(p=p.host);ut(p)&&["html","body"].indexOf(yt(p))<0;){var w=xt(p);if("none"!==w.transform||"none"!==w.perspective||"paint"===w.contain||-1!==["transform","perspective"].indexOf(w.willChange)||d&&"filter"===w.willChange||d&&w.filter&&"none"!==w.filter)return p;p=p.parentNode}return null}(r)||t}function Ze(r){return["top","bottom"].indexOf(r)>=0?"x":"y"}function fe(r,t,e){return It(r,Ae(t,e))}function Kn(r){return Object.assign({},{top:0,right:0,bottom:0,left:0},r)}function Qn(r,t){return t.reduce(function(e,l){return e[l]=r,e},{})}const Yn={name:"arrow",enabled:!0,phase:"main",fn:function(r){var t,W,X,e=r.state,l=r.name,d=r.options,p=e.elements.arrow,w=e.modifiersData.popperOffsets,O=wt(e.placement),x=Ze(O),j=[nt,at].indexOf(O)>=0?"height":"width";if(p&&w){var P=(X=e,Kn("number"!=typeof(W="function"==typeof(W=d.padding)?W(Object.assign({},X.rects,{placement:X.placement})):W)?W:Qn(W,Kt))),C=Je(p),R="y"===x?et:nt,L="y"===x?st:at,I=e.rects.reference[j]+e.rects.reference[x]-w[x]-e.rects.popper[j],M=w[x]-e.rects.reference[x],D=ue(p),V=D?"y"===x?D.clientHeight||0:D.clientWidth||0:0,N=V/2-C[j]/2+(I/2-M/2),H=fe(P[R],N,V-C[j]-P[L]);e.modifiersData[l]=((t={})[x]=H,t.centerOffset=H-N,t)}},effect:function(r){var t=r.state,e=r.options.element,l=void 0===e?"[data-popper-arrow]":e;null!=l&&("string"!=typeof l||(l=t.elements.popper.querySelector(l)))&&Un(t.elements.popper,l)&&(t.elements.arrow=l)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(r){return r.split("-")[1]}var No={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Jn(r){var t,e=r.popper,l=r.popperRect,d=r.placement,p=r.variation,w=r.offsets,O=r.position,x=r.gpuAcceleration,j=r.adaptive,P=r.roundOffsets,C=r.isFixed,R=w.x,L=void 0===R?0:R,I=w.y,M=void 0===I?0:I,D="function"==typeof P?P({x:L,y:M}):{x:L,y:M};L=D.x,M=D.y;var V=w.hasOwnProperty("x"),K=w.hasOwnProperty("y"),B=nt,z=et,N=window;if(j){var H=ue(e),G="clientHeight",W="clientWidth";H===lt(e)&&"static"!==xt(H=St(e)).position&&"absolute"===O&&(G="scrollHeight",W="scrollWidth"),(d===et||(d===nt||d===at)&&p===Qt)&&(z=st,M-=(C&&H===N&&N.visualViewport?N.visualViewport.height:H[G])-l.height,M*=x?1:-1),d!==nt&&(d!==et&&d!==st||p!==Qt)||(B=at,L-=(C&&H===N&&N.visualViewport?N.visualViewport.width:H[W])-l.width,L*=x?1:-1)}var X,bt,it,dt,Y,J=Object.assign({position:O},j&&No),ct=!0===P?(bt={x:L,y:M},it=lt(e),dt=bt.y,{x:Jt(bt.x*(Y=it.devicePixelRatio||1))/Y||0,y:Jt(dt*Y)/Y||0}):{x:L,y:M};return L=ct.x,M=ct.y,Object.assign({},J,x?((X={})[z]=K?"0":"",X[B]=V?"0":"",X.transform=(N.devicePixelRatio||1)<=1?"translate("+L+"px, "+M+"px)":"translate3d("+L+"px, "+M+"px, 0)",X):((t={})[z]=K?M+"px":"",t[B]=V?L+"px":"",t.transform="",t))}const tn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(r){var t=r.state,e=r.options,l=e.gpuAcceleration,d=void 0===l||l,p=e.adaptive,w=void 0===p||p,O=e.roundOffsets,x=void 0===O||O,j={placement:wt(t.placement),variation:te(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:d,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Jn(Object.assign({},j,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:w,roundOffsets:x})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Jn(Object.assign({},j,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:x})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var Ce={passive:!0};const en={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(r){var t=r.state,e=r.instance,l=r.options,d=l.scroll,p=void 0===d||d,w=l.resize,O=void 0===w||w,x=lt(t.elements.popper),j=[].concat(t.scrollParents.reference,t.scrollParents.popper);return p&&j.forEach(function(P){P.addEventListener("scroll",e.update,Ce)}),O&&x.addEventListener("resize",e.update,Ce),function(){p&&j.forEach(function(P){P.removeEventListener("scroll",e.update,Ce)}),O&&x.removeEventListener("resize",e.update,Ce)}},data:{}};var $o={left:"right",right:"left",bottom:"top",top:"bottom"};function Te(r){return r.replace(/left|right|bottom|top/g,function(t){return $o[t]})}var Bo={start:"end",end:"start"};function Zn(r){return r.replace(/start|end/g,function(t){return Bo[t]})}function nn(r){var t=lt(r);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function on(r){return Zt(St(r)).left+nn(r).scrollLeft}function rn(r){var t=xt(r);return/auto|scroll|overlay|hidden/.test(t.overflow+t.overflowY+t.overflowX)}function ti(r){return["html","body","#document"].indexOf(yt(r))>=0?r.ownerDocument.body:ut(r)&&rn(r)?r:ti(xe(r))}function he(r,t){var e;void 0===t&&(t=[]);var l=ti(r),d=l===(null==(e=r.ownerDocument)?void 0:e.body),p=lt(l),w=d?[p].concat(p.visualViewport||[],rn(l)?l:[]):l,O=t.concat(w);return d?O:O.concat(he(xe(w)))}function sn(r){return Object.assign({},r,{left:r.x,top:r.y,right:r.x+r.width,bottom:r.y+r.height})}function ei(r,t,e){return t===We?sn(function(l,d){var p=lt(l),w=St(l),O=p.visualViewport,x=w.clientWidth,j=w.clientHeight,P=0,C=0;if(O){x=O.width,j=O.height;var R=Wn();(R||!R&&"fixed"===d)&&(P=O.offsetLeft,C=O.offsetTop)}return{width:x,height:j,x:P+on(l),y:C}}(r,e)):Mt(t)?((p=Zt(l=t,!1,"fixed"===e)).top=p.top+l.clientTop,p.left=p.left+l.clientLeft,p.bottom=p.top+l.clientHeight,p.right=p.left+l.clientWidth,p.width=l.clientWidth,p.height=l.clientHeight,p.x=p.left,p.y=p.top,p):sn(function(l){var d,p=St(l),w=nn(l),O=null==(d=l.ownerDocument)?void 0:d.body,x=It(p.scrollWidth,p.clientWidth,O?O.scrollWidth:0,O?O.clientWidth:0),j=It(p.scrollHeight,p.clientHeight,O?O.scrollHeight:0,O?O.clientHeight:0),P=-w.scrollLeft+on(l),C=-w.scrollTop;return"rtl"===xt(O||p).direction&&(P+=It(p.clientWidth,O?O.clientWidth:0)-x),{width:x,height:j,x:P,y:C}}(St(r)));var l,p}function ni(r){var t,e=r.reference,l=r.element,d=r.placement,p=d?wt(d):null,w=d?te(d):null,O=e.x+e.width/2-l.width/2,x=e.y+e.height/2-l.height/2;switch(p){case et:t={x:O,y:e.y-l.height};break;case st:t={x:O,y:e.y+e.height};break;case at:t={x:e.x+e.width,y:x};break;case nt:t={x:e.x-l.width,y:x};break;default:t={x:e.x,y:e.y}}var j=p?Ze(p):null;if(null!=j){var P="y"===j?"height":"width";switch(w){case Lt:t[j]=t[j]-(e[P]/2-l[P]/2);break;case Qt:t[j]=t[j]+(e[P]/2-l[P]/2)}}return t}function ee(r,t){void 0===t&&(t={});var it,ht,dt,Y,q,ot,pt,Ot,Et,Z,l=t.placement,d=void 0===l?r.placement:l,p=t.strategy,w=void 0===p?r.strategy:p,O=t.boundary,x=void 0===O?In:O,j=t.rootBoundary,P=void 0===j?We:j,C=t.elementContext,R=void 0===C?Yt:C,L=t.altBoundary,I=void 0!==L&&L,M=t.padding,D=void 0===M?0:M,V=Kn("number"!=typeof D?D:Qn(D,Kt)),B=r.rects.popper,z=r.elements[I?R===Yt?Dn:Yt:R],N=(it=Mt(z)?z:z.contextElement||St(r.elements.popper),dt=P,Y=w,Ot="clippingParents"===(ht=x)?(ot=he(xe(q=it)),Mt(pt=["absolute","fixed"].indexOf(xt(q).position)>=0&&ut(q)?ue(q):q)?ot.filter(function(kt){return Mt(kt)&&Un(kt,pt)&&"body"!==yt(kt)}):[]):[].concat(ht),Z=(Et=[].concat(Ot,[dt])).reduce(function(q,ot){var pt=ei(it,ot,Y);return q.top=It(pt.top,q.top),q.right=Ae(pt.right,q.right),q.bottom=Ae(pt.bottom,q.bottom),q.left=It(pt.left,q.left),q},ei(it,Et[0],Y)),Z.width=Z.right-Z.left,Z.height=Z.bottom-Z.top,Z.x=Z.left,Z.y=Z.top,Z),H=Zt(r.elements.reference),G=ni({reference:H,element:B,strategy:"absolute",placement:d}),W=sn(Object.assign({},B,G)),X=R===Yt?W:H,J={top:N.top-X.top+V.top,bottom:X.bottom-N.bottom+V.bottom,left:N.left-X.left+V.left,right:X.right-N.right+V.right},ct=r.modifiersData.offset;if(R===Yt&&ct){var bt=ct[d];Object.keys(J).forEach(function(it){var ht=[at,st].indexOf(it)>=0?1:-1,dt=[et,st].indexOf(it)>=0?"y":"x";J[it]+=bt[dt]*ht})}return J}const ii={name:"flip",enabled:!0,phase:"main",fn:function(r){var t=r.state,e=r.options,l=r.name;if(!t.modifiersData[l]._skip){for(var d=e.mainAxis,p=void 0===d||d,w=e.altAxis,O=void 0===w||w,x=e.fallbackPlacements,j=e.padding,P=e.boundary,C=e.rootBoundary,R=e.altBoundary,L=e.flipVariations,I=void 0===L||L,M=e.allowedAutoPlacements,D=t.options.placement,V=wt(D),K=x||(V!==D&&I?function(q){if(wt(q)===Ee)return[];var ot=Te(q);return[Zn(q),ot,Zn(ot)]}(D):[Te(D)]),B=[D].concat(K).reduce(function(q,ot){return q.concat(wt(ot)===Ee?function Ho(r,t){void 0===t&&(t={});var d=t.boundary,p=t.rootBoundary,w=t.padding,O=t.flipVariations,x=t.allowedAutoPlacements,j=void 0===x?qe:x,P=te(t.placement),C=P?O?Ue:Ue.filter(function(I){return te(I)===P}):Kt,R=C.filter(function(I){return j.indexOf(I)>=0});0===R.length&&(R=C);var L=R.reduce(function(I,M){return I[M]=ee(r,{placement:M,boundary:d,rootBoundary:p,padding:w})[wt(M)],I},{});return Object.keys(L).sort(function(I,M){return L[I]-L[M]})}(t,{placement:ot,boundary:P,rootBoundary:C,padding:j,flipVariations:I,allowedAutoPlacements:M}):ot)},[]),z=t.rects.reference,N=t.rects.popper,H=new Map,G=!0,W=B[0],X=0;X<B.length;X++){var J=B[X],ct=wt(J),bt=te(J)===Lt,it=[et,st].indexOf(ct)>=0,ht=it?"width":"height",dt=ee(t,{placement:J,boundary:P,rootBoundary:C,altBoundary:R,padding:j}),Y=it?bt?at:nt:bt?st:et;z[ht]>N[ht]&&(Y=Te(Y));var Ot=Te(Y),Et=[];if(p&&Et.push(dt[ct]<=0),O&&Et.push(dt[Y]<=0,dt[Ot]<=0),Et.every(function(q){return q})){W=J,G=!1;break}H.set(J,Et)}if(G)for(var oe=function(q){var ot=B.find(function(pt){var kt=H.get(pt);if(kt)return kt.slice(0,q).every(function(Re){return Re})});if(ot)return W=ot,"break"},Z=I?3:1;Z>0&&"break"!==oe(Z);Z--);t.placement!==W&&(t.modifiersData[l]._skip=!0,t.placement=W,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function oi(r,t,e){return void 0===e&&(e={x:0,y:0}),{top:r.top-t.height-e.y,right:r.right-t.width+e.x,bottom:r.bottom-t.height+e.y,left:r.left-t.width-e.x}}function ri(r){return[et,at,st,nt].some(function(t){return r[t]>=0})}const si={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(r){var t=r.state,e=r.name,l=t.rects.reference,d=t.rects.popper,p=t.modifiersData.preventOverflow,w=ee(t,{elementContext:"reference"}),O=ee(t,{altBoundary:!0}),x=oi(w,l),j=oi(O,d,p),P=ri(x),C=ri(j);t.modifiersData[e]={referenceClippingOffsets:x,popperEscapeOffsets:j,isReferenceHidden:P,hasPopperEscaped:C},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":P,"data-popper-escaped":C})}},ai={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(r){var t=r.state,l=r.name,d=r.options.offset,p=void 0===d?[0,0]:d,w=qe.reduce(function(P,C){return P[C]=(L=t.rects,I=p,M=wt(R=C),D=[nt,et].indexOf(M)>=0?-1:1,K=(K=(V="function"==typeof I?I(Object.assign({},L,{placement:R})):I)[0])||0,B=((B=V[1])||0)*D,[nt,at].indexOf(M)>=0?{x:B,y:K}:{x:K,y:B}),P;var R,L,I,M,D,V,K,B},{}),O=w[t.placement],j=O.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=O.x,t.modifiersData.popperOffsets.y+=j),t.modifiersData[l]=w}},an={name:"popperOffsets",enabled:!0,phase:"read",fn:function(r){var t=r.state;t.modifiersData[r.name]=ni({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},li={name:"preventOverflow",enabled:!0,phase:"main",fn:function(r){var On,ro,t=r.state,e=r.options,l=r.name,d=e.mainAxis,p=void 0===d||d,w=e.altAxis,O=void 0!==w&&w,R=e.tether,L=void 0===R||R,I=e.tetherOffset,M=void 0===I?0:I,D=ee(t,{boundary:e.boundary,rootBoundary:e.rootBoundary,padding:e.padding,altBoundary:e.altBoundary}),V=wt(t.placement),K=te(t.placement),B=!K,z=Ze(V),N="x"===z?"y":"x",H=t.modifiersData.popperOffsets,G=t.rects.reference,W=t.rects.popper,X="function"==typeof M?M(Object.assign({},t.rects,{placement:t.placement})):M,J="number"==typeof X?{mainAxis:X,altAxis:X}:Object.assign({mainAxis:0,altAxis:0},X),ct=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,bt={x:0,y:0};if(H){if(p){var it,ht="y"===z?et:nt,dt="y"===z?st:at,Y="y"===z?"height":"width",Ot=H[z],Et=Ot+D[ht],oe=Ot-D[dt],Z=L?-W[Y]/2:0,q=K===Lt?G[Y]:W[Y],ot=K===Lt?-W[Y]:-G[Y],pt=t.elements.arrow,kt=L&&pt?Je(pt):{width:0,height:0},Re=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},qi=Re[ht],Ki=Re[dt],Ne=fe(0,G[Y],kt[Y]),gs=B?G[Y]/2-Z-Ne-qi-J.mainAxis:q-Ne-qi-J.mainAxis,_s=B?-G[Y]/2+Z+Ne+Ki+J.mainAxis:ot+Ne+Ki+J.mainAxis,yn=t.elements.arrow&&ue(t.elements.arrow),ms=yn?"y"===z?yn.clientTop||0:yn.clientLeft||0:0,Qi=null!=(it=ct?.[z])?it:0,bs=Ot+_s-Qi,Yi=fe(L?Ae(Et,Ot+gs-Qi-ms):Et,Ot,L?It(oe,bs):oe);H[z]=Yi,bt[z]=Yi-Ot}if(O){var Ji,Ft=H[N],$e="y"===N?"height":"width",Zi=Ft+D["x"===z?et:nt],to=Ft-D["x"===z?st:at],wn=-1!==[et,nt].indexOf(V),eo=null!=(Ji=ct?.[N])?Ji:0,no=wn?Zi:Ft-G[$e]-W[$e]-eo+J.altAxis,io=wn?Ft+G[$e]+W[$e]-eo-J.altAxis:to,oo=L&&wn?(ro=fe(no,Ft,On=io))>On?On:ro:fe(L?no:Zi,Ft,L?io:to);H[N]=oo,bt[N]=oo-Ft}t.modifiersData[l]=bt}},requiresIfExists:["offset"]};function zo(r,t,e){void 0===e&&(e=!1);var l,d,C,R,L,I,p=ut(t),w=ut(t)&&(R=(C=t).getBoundingClientRect(),L=Jt(R.width)/C.offsetWidth||1,I=Jt(R.height)/C.offsetHeight||1,1!==L||1!==I),O=St(t),x=Zt(r,w,e),j={scrollLeft:0,scrollTop:0},P={x:0,y:0};return(p||!p&&!e)&&(("body"!==yt(t)||rn(O))&&(j=(l=t)!==lt(l)&&ut(l)?{scrollLeft:(d=l).scrollLeft,scrollTop:d.scrollTop}:nn(l)),ut(t)?((P=Zt(t,!0)).x+=t.clientLeft,P.y+=t.clientTop):O&&(P.x=on(O))),{x:x.left+j.scrollLeft-P.x,y:x.top+j.scrollTop-P.y,width:x.width,height:x.height}}function Fo(r){var t=new Map,e=new Set,l=[];function d(p){e.add(p.name),[].concat(p.requires||[],p.requiresIfExists||[]).forEach(function(w){if(!e.has(w)){var O=t.get(w);O&&d(O)}}),l.push(p)}return r.forEach(function(p){t.set(p.name,p)}),r.forEach(function(p){e.has(p.name)||d(p)}),l}var ci={placement:"bottom",modifiers:[],strategy:"absolute"};function ui(){for(var r=arguments.length,t=new Array(r),e=0;e<r;e++)t[e]=arguments[e];return!t.some(function(l){return!(l&&"function"==typeof l.getBoundingClientRect)})}function je(r){void 0===r&&(r={});var e=r.defaultModifiers,l=void 0===e?[]:e,d=r.defaultOptions,p=void 0===d?ci:d;return function(w,O,x){void 0===x&&(x=p);var j,P,C={placement:"bottom",orderedModifiers:[],options:Object.assign({},ci,p),modifiersData:{},elements:{reference:w,popper:O},attributes:{},styles:{}},R=[],L=!1,I={state:C,setOptions:function(D){var V="function"==typeof D?D(C.options):D;M(),C.options=Object.assign({},p,C.options,V),C.scrollParents={reference:Mt(w)?he(w):w.contextElement?he(w.contextElement):[],popper:he(O)};var K,B,N,H,z=(K=[].concat(l,C.options.modifiers),B=K.reduce(function(N,H){var G=N[H.name];return N[H.name]=G?Object.assign({},G,H,{options:Object.assign({},G.options,H.options),data:Object.assign({},G.data,H.data)}):H,N},{}),N=Object.keys(B).map(function(N){return B[N]}),H=Fo(N),Vn.reduce(function(G,W){return G.concat(H.filter(function(X){return X.phase===W}))},[]));return C.orderedModifiers=z.filter(function(N){return N.enabled}),C.orderedModifiers.forEach(function(N){var G=N.options,X=N.effect;if("function"==typeof X){var J=X({state:C,name:N.name,instance:I,options:void 0===G?{}:G});R.push(J||function(){})}}),I.update()},forceUpdate:function(){if(!L){var D=C.elements,V=D.reference,K=D.popper;if(ui(V,K)){C.rects={reference:zo(V,ue(K),"fixed"===C.options.strategy),popper:Je(K)},C.reset=!1,C.placement=C.options.placement,C.orderedModifiers.forEach(function(X){return C.modifiersData[X.name]=Object.assign({},X.data)});for(var B=0;B<C.orderedModifiers.length;B++)if(!0!==C.reset){var z=C.orderedModifiers[B],N=z.fn,H=z.options;"function"==typeof N&&(C=N({state:C,options:void 0===H?{}:H,name:z.name,instance:I})||C)}else C.reset=!1,B=-1}}},update:(j=function(){return new Promise(function(D){I.forceUpdate(),D(C)})},function(){return P||(P=new Promise(function(D){Promise.resolve().then(function(){P=void 0,D(j())})})),P}),destroy:function(){M(),L=!0}};if(!ui(w,O))return I;function M(){R.forEach(function(D){return D()}),R=[]}return I.setOptions(x).then(function(D){!L&&x.onFirstUpdate&&x.onFirstUpdate(D)}),I}}var Go=je(),Xo=je({defaultModifiers:[en,an,tn,Qe]}),ln=je({defaultModifiers:[en,an,tn,Qe,ai,ii,li,Yn,si]});const fi=Object.freeze(Object.defineProperty({__proto__:null,afterMain:zn,afterRead:$n,afterWrite:Xn,applyStyles:Qe,arrow:Yn,auto:Ee,basePlacements:Kt,beforeMain:Bn,beforeRead:Rn,beforeWrite:Fn,bottom:st,clippingParents:In,computeStyles:tn,createPopper:ln,createPopperBase:Go,createPopperLite:Xo,detectOverflow:ee,end:Qt,eventListeners:en,flip:ii,hide:si,left:nt,main:"main",modifierPhases:Vn,offset:ai,placements:qe,popper:Yt,popperGenerator:je,popperOffsets:an,preventOverflow:li,read:"read",reference:Dn,right:at,start:Lt,top:et,variationPlacements:Ue,viewport:We,write:"write"},Symbol.toStringTag,{value:"Module"})),hi="dropdown",Dt=".bs.dropdown",cn=".data-api",Vo="ArrowUp",di="ArrowDown",Wo=`hide${Dt}`,Uo=`hidden${Dt}`,qo=`show${Dt}`,Ko=`shown${Dt}`,pi=`click${Dt}${cn}`,gi=`keydown${Dt}${cn}`,Qo=`keyup${Dt}${cn}`,ne="show",Rt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Yo=`${Rt}.${ne}`,Se=".dropdown-menu",Jo=c()?"top-end":"top-start",Zo=c()?"top-start":"top-end",tr=c()?"bottom-end":"bottom-start",er=c()?"bottom-start":"bottom-end",nr=c()?"left-start":"right-start",ir=c()?"right-start":"left-start",or={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},rr={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class mt extends _t{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=k.next(this._element,Se)[0]||k.prev(this._element,Se)[0]||k.findOne(Se,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return or}static get DefaultType(){return rr}static get NAME(){return hi}toggle(){return this._isShown()?this.hide():this.show()}show(){if(h(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!A.trigger(this._element,qo,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const e of[].concat(...document.body.children))A.on(e,"mouseover",i);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ne),this._element.classList.add(ne),A.trigger(this._element,Ko,t)}}hide(){!h(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(t){if(!A.trigger(this._element,Wo,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))A.off(e,"mouseover",i);this._popper&&this._popper.destroy(),this._menu.classList.remove(ne),this._element.classList.remove(ne),this._element.setAttribute("aria-expanded","false"),At.removeDataAttribute(this._menu,"popper"),A.trigger(this._element,Uo,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!_(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${hi.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===fi)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:_(this._config.reference)?t=b(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=ln(t,this._menu,e)}_isShown(){return this._menu.classList.contains(ne)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return nr;if(t.classList.contains("dropstart"))return ir;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?Zo:Jo:e?er:tr}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(At.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...E(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const l=k.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(d=>g(d));l.length&&tt(l,e,t===di,!l.includes(e)).focus()}static jQueryInterface(t){return this.each(function(){const e=mt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=k.find(Yo);for(const l of e){const d=mt.getInstance(l);if(!d||!1===d._config.autoClose)continue;const p=t.composedPath(),w=p.includes(d._menu);if(p.includes(d._element)||"inside"===d._config.autoClose&&!w||"outside"===d._config.autoClose&&w||d._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const O={relatedTarget:d._element};"click"===t.type&&(O.clickEvent=t),d._completeHide(O)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),l="Escape"===t.key,d=[Vo,di].includes(t.key);if(!d&&!l||e&&!l)return;t.preventDefault();const p=this.matches(Rt)?this:k.prev(this,Rt)[0]||k.next(this,Rt)[0]||k.findOne(Rt,t.delegateTarget.parentNode),w=mt.getOrCreateInstance(p);if(d)return t.stopPropagation(),w.show(),void w._selectMenuItem(t);w._isShown()&&(t.stopPropagation(),w.hide(),p.focus())}}A.on(document,gi,Rt,mt.dataApiKeydownHandler),A.on(document,gi,Se,mt.dataApiKeydownHandler),A.on(document,pi,mt.clearMenus),A.on(document,Qo,mt.clearMenus),A.on(document,pi,Rt,function(r){r.preventDefault(),mt.getOrCreateInstance(this).toggle()}),y(mt);const _i="backdrop",bi=`mousedown.bs.${_i}`,sr={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ar={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class vi extends re{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return sr}static get DefaultType(){return ar}static get NAME(){return _i}show(t){if(!this._config.isVisible)return void E(t);this._append();this._getElement().classList.add("show"),this._emulateAnimation(()=>{E(t)})}hide(t){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),E(t)})):E(t)}dispose(){this._isAppended&&(A.off(this._element,bi),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=b(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),A.on(t,bi,()=>{E(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){T(t,this._getElement(),this._config.isAnimated)}}const Pe=".bs.focustrap",lr=`focusin${Pe}`,cr=`keydown.tab${Pe}`,yi="backward",ur={autofocus:!0,trapElement:null},fr={autofocus:"boolean",trapElement:"element"};class wi extends re{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ur}static get DefaultType(){return fr}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),A.off(document,Pe),A.on(document,lr,t=>this._handleFocusin(t)),A.on(document,cr,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,A.off(document,Pe))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const l=k.focusableChildren(e);0===l.length?e.focus():this._lastTabNavDirection===yi?l[l.length-1].focus():l[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?yi:"forward")}}const Oi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ei=".sticky-top",ke="padding-right",Ai="margin-right";class un{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ke,e=>e+t),this._setElementAttributes(Oi,ke,e=>e+t),this._setElementAttributes(Ei,Ai,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ke),this._resetElementAttributes(Oi,ke),this._resetElementAttributes(Ei,Ai)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,l){const d=this.getWidth();this._applyManipulationCallback(t,p=>{if(p!==this._element&&window.innerWidth>p.clientWidth+d)return;this._saveInitialAttribute(p,e);const w=window.getComputedStyle(p).getPropertyValue(e);p.style.setProperty(e,`${l(Number.parseFloat(w))}px`)})}_saveInitialAttribute(t,e){const l=t.style.getPropertyValue(e);l&&At.setDataAttribute(t,e,l)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,l=>{const d=At.getDataAttribute(l,e);null!==d?(At.removeDataAttribute(l,e),l.style.setProperty(e,d)):l.style.removeProperty(e)})}_applyManipulationCallback(t,e){if(_(t))e(t);else for(const l of k.find(t,this._element))e(l)}}const ft=".bs.modal",hr=`hide${ft}`,dr=`hidePrevented${ft}`,xi=`hidden${ft}`,Ci=`show${ft}`,pr=`shown${ft}`,gr=`resize${ft}`,_r=`click.dismiss${ft}`,mr=`mousedown.dismiss${ft}`,br=`keydown.dismiss${ft}`,vr=`click${ft}.data-api`,Ti="modal-open",fn="modal-static",yr={backdrop:!0,focus:!0,keyboard:!0},wr={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Nt extends _t{constructor(t,e){super(t,e),this._dialog=k.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new un,this._addEventListeners()}static get Default(){return yr}static get DefaultType(){return wr}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||A.trigger(this._element,Ci,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ti),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){this._isShown&&!this._isTransitioning&&(A.trigger(this._element,hr).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){A.off(window,ft),A.off(this._dialog,ft),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new vi({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new wi({trapElement:this._element})}_showElement(t){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 e=k.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,A.trigger(this._element,pr,{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){A.on(this._element,br,t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),A.on(window,gr,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),A.on(this._element,mr,t=>{A.one(this._element,_r,e=>{this._element===t.target&&this._element===e.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(Ti),this._resetAdjustments(),this._scrollBar.reset(),A.trigger(this._element,xi)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(A.trigger(this._element,dr).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(fn)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(fn),this._queueCallback(()=>{this._element.classList.remove(fn),this._queueCallback(()=>{this._element.style.overflowY=e},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),l=e>0;if(l&&!t){const d=c()?"paddingLeft":"paddingRight";this._element.style[d]=`${e}px`}if(!l&&t){const d=c()?"paddingRight":"paddingLeft";this._element.style[d]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){const l=Nt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===l[t])throw new TypeError(`No method named "${t}"`);l[t](e)}})}}A.on(document,vr,'[data-bs-toggle="modal"]',function(r){const t=k.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&r.preventDefault(),A.one(t,Ci,l=>{l.defaultPrevented||A.one(t,xi,()=>{g(this)&&this.focus()})});const e=k.findOne(".modal.show");e&&Nt.getInstance(e).hide(),Nt.getOrCreateInstance(t).toggle(this)}),be(Nt),y(Nt);const Ct=".bs.offcanvas",Si=".data-api",Or=`load${Ct}${Si}`,ki="showing",Mi=".offcanvas.show",Er=`show${Ct}`,Ar=`shown${Ct}`,xr=`hide${Ct}`,Ii=`hidePrevented${Ct}`,Di=`hidden${Ct}`,Cr=`resize${Ct}`,Tr=`click${Ct}${Si}`,jr=`keydown.dismiss${Ct}`,Sr={backdrop:!0,keyboard:!0,scroll:!1},Pr={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Tt extends _t{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Sr}static get DefaultType(){return Pr}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||A.trigger(this._element,Er,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new un).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ki),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(ki),A.trigger(this._element,Ar,{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&(A.trigger(this._element,xr).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 un).reset(),A.trigger(this._element,Di)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=!!this._config.backdrop;return new vi({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():A.trigger(this._element,Ii)}:null})}_initializeFocusTrap(){return new wi({trapElement:this._element})}_addEventListeners(){A.on(this._element,jr,t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():A.trigger(this._element,Ii))})}static jQueryInterface(t){return this.each(function(){const e=Tt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}A.on(document,Tr,'[data-bs-toggle="offcanvas"]',function(r){const t=k.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),h(this))return;A.one(t,Di,()=>{g(this)&&this.focus()});const e=k.findOne(Mi);e&&e!==t&&Tt.getInstance(e).hide(),Tt.getOrCreateInstance(t).toggle(this)}),A.on(window,Or,()=>{for(const r of k.find(Mi))Tt.getOrCreateInstance(r).show()}),A.on(window,Cr,()=>{for(const r of k.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(r).position&&Tt.getOrCreateInstance(r).hide()}),be(Tt),y(Tt);const Ri={"*":["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:[]},kr=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Lr=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Mr=(r,t)=>{const e=r.nodeName.toLowerCase();return t.includes(e)?!kr.has(e)||!!Lr.test(r.nodeValue):t.filter(l=>l instanceof RegExp).some(l=>l.test(e))},Ir={allowList:Ri,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Dr={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Rr={entry:"(string|element|function|null)",selector:"(string|element)"};class Nr extends re{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Ir}static get DefaultType(){return Dr}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[d,p]of Object.entries(this._config.content))this._setContent(t,p,d);const e=t.children[0],l=this._resolvePossibleFunction(this._config.extraClass);return l&&e.classList.add(...l.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,l]of Object.entries(t))super._typeCheckConfig({selector:e,entry:l},Rr)}_setContent(t,e,l){const d=k.findOne(l,t);d&&((e=this._resolvePossibleFunction(e))?_(e)?this._putElementInTemplate(b(e),d):this._config.html?d.innerHTML=this._maybeSanitize(e):d.textContent=e:d.remove())}_maybeSanitize(t){return this._config.sanitize?function(e,l,d){if(!e.length)return e;if(d&&"function"==typeof d)return d(e);const p=(new window.DOMParser).parseFromString(e,"text/html"),w=[].concat(...p.body.querySelectorAll("*"));for(const O of w){const x=O.nodeName.toLowerCase();if(!Object.keys(l).includes(x)){O.remove();continue}const j=[].concat(...O.attributes),P=[].concat(l["*"]||[],l[x]||[]);for(const C of j)Mr(C,P)||O.removeAttribute(C.nodeName)}return p.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return E(t,[this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const $r=new Set(["sanitize","allowList","sanitizeFn"]),hn="fade",Le="show",$i="hide.bs.modal",de="hover",dn="focus",Br={AUTO:"auto",TOP:"top",RIGHT:c()?"left":"right",BOTTOM:"bottom",LEFT:c()?"right":"left"},Hr={allowList:Ri,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},zr={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 $t extends _t{constructor(t,e){if(void 0===fi)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),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 Hr}static get DefaultType(){return zr}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),A.off(this._element.closest(".modal"),$i,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 t=A.trigger(this._element,this.constructor.eventName("show")),e=(a(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const l=this._getTipElement();this._element.setAttribute("aria-describedby",l.getAttribute("id"));const{container:d}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(d.append(l),A.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(l),l.classList.add(Le),"ontouchstart"in document.documentElement)for(const p of[].concat(...document.body.children))A.on(p,"mouseover",i);this._queueCallback(()=>{A.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!A.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Le),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))A.off(t,"mouseover",i);this._activeTrigger.click=!1,this._activeTrigger[dn]=!1,this._activeTrigger[de]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),A.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(hn,Le),e.classList.add(`bs-${this.constructor.NAME}-auto`);const l=(d=>{do{d+=Math.floor(1e6*Math.random())}while(document.getElementById(d));return d})(this.constructor.NAME).toString();return e.setAttribute("id",l),this._isAnimated()&&e.classList.add(hn),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Nr({...this._config,content:t,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(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(hn)}_isShown(){return this.tip&&this.tip.classList.contains(Le)}_createPopper(t){const e=E(this._config.placement,[this,t,this._element]),l=Br[e.toUpperCase()];return ln(this._element,t,this._getPopperConfig(l))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return E(t,[this._element])}_getPopperConfig(t){const e={placement:t,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:l=>{this._getTipElement().setAttribute("data-popper-placement",l.state.placement)}}]};return{...e,...E(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)A.on(this._element,this.constructor.eventName("click"),this._config.selector,l=>{this._initializeOnDelegatedTarget(l).toggle()});else if("manual"!==e){const l=this.constructor.eventName(e===de?"mouseenter":"focusin"),d=this.constructor.eventName(e===de?"mouseleave":"focusout");A.on(this._element,l,this._config.selector,p=>{const w=this._initializeOnDelegatedTarget(p);w._activeTrigger["focusin"===p.type?dn:de]=!0,w._enter()}),A.on(this._element,d,this._config.selector,p=>{const w=this._initializeOnDelegatedTarget(p);w._activeTrigger["focusout"===p.type?dn:de]=w._element.contains(p.relatedTarget),w._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},A.on(this._element.closest(".modal"),$i,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),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(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=At.getDataAttributes(this._element);for(const l of Object.keys(e))$r.has(l)&&delete e[l];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:b(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,l]of Object.entries(this._config))this.constructor.Default[e]!==l&&(t[e]=l);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const e=$t.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}y($t);const Fr={...$t.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"},Gr={...$t.DefaultType,content:"(null|string|element|function)"};class Me extends $t{static get Default(){return Fr}static get DefaultType(){return Gr}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(t){return this.each(function(){const e=Me.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}y(Me);const pn=".bs.scrollspy",Xr=`activate${pn}`,Bi=`click${pn}`,Vr=`load${pn}.data-api`,ie="active",gn="[href]",Hi=".nav-link",Wr=`${Hi}, .nav-item > ${Hi}, .list-group-item`,Ur={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},qr={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class pe extends _t{constructor(t,e){super(t,e),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 Ur}static get DefaultType(){return qr}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=b(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map(e=>Number.parseFloat(e))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(A.off(this._config.target,Bi),A.on(this._config.target,Bi,gn,t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const l=this._rootElement||window,d=e.offsetTop-this._element.offsetTop;if(l.scrollTo)return void l.scrollTo({top:d,behavior:"smooth"});l.scrollTop=d}}))}_getNewObserver(){return new IntersectionObserver(e=>this._observerCallback(e),{root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin})}_observerCallback(t){const e=w=>this._targetLinks.get(`#${w.target.id}`),l=w=>{this._previousScrollData.visibleEntryTop=w.target.offsetTop,this._process(e(w))},d=(this._rootElement||document.documentElement).scrollTop,p=d>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=d;for(const w of t){if(!w.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(w));continue}const O=w.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(p&&O){if(l(w),!d)return}else p||O||l(w)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=k.find(gn,this._config.target);for(const e of t){if(!e.hash||h(e))continue;const l=k.findOne(decodeURI(e.hash),this._element);g(l)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,l))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(ie),this._activateParents(t),A.trigger(this._element,Xr,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))k.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(ie);else for(const e of k.parents(t,".nav, .list-group"))for(const l of k.prev(e,Wr))l.classList.add(ie)}_clearActiveClass(t){t.classList.remove(ie);const e=k.find(`${gn}.${ie}`,t);for(const l of e)l.classList.remove(ie)}static jQueryInterface(t){return this.each(function(){const e=pe.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}A.on(window,Vr,()=>{for(const r of k.find('[data-bs-spy="scroll"]'))pe.getOrCreateInstance(r)}),y(pe);const Bt=".bs.tab",Kr=`hide${Bt}`,Qr=`hidden${Bt}`,Yr=`show${Bt}`,Jr=`shown${Bt}`,Zr=`click${Bt}`,ts=`keydown${Bt}`,es=`load${Bt}`,ns="ArrowLeft",zi="ArrowRight",is="ArrowUp",Fi="ArrowDown",_n="Home",Gi="End",Ht="active",mn="show",Vi=".dropdown-toggle",bn=`:not(${Vi})`,Wi='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',vn=`.nav-link${bn}, .list-group-item${bn}, [role="tab"]${bn}, ${Wi}`,os=`.${Ht}[data-bs-toggle="tab"], .${Ht}[data-bs-toggle="pill"], .${Ht}[data-bs-toggle="list"]`;class zt extends _t{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),A.on(this._element,ts,e=>this._keydown(e)))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),l=e?A.trigger(e,Kr,{relatedTarget:t}):null;A.trigger(t,Yr,{relatedTarget:e}).defaultPrevented||l&&l.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(Ht),this._activate(k.getElementFromSelector(t)),this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),A.trigger(t,Jr,{relatedTarget:e})):t.classList.add(mn)},t,t.classList.contains("fade")))}_deactivate(t,e){t&&(t.classList.remove(Ht),t.blur(),this._deactivate(k.getElementFromSelector(t)),this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),A.trigger(t,Qr,{relatedTarget:e})):t.classList.remove(mn)},t,t.classList.contains("fade")))}_keydown(t){if(![ns,zi,is,Fi,_n,Gi].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter(d=>!h(d));let l;if([_n,Gi].includes(t.key))l=e[t.key===_n?0:e.length-1];else{const d=[zi,Fi].includes(t.key);l=tt(e,t.target,d,!0)}l&&(l.focus({preventScroll:!0}),zt.getOrCreateInstance(l).show())}_getChildren(){return k.find(vn,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const l of e)this._setInitialAttributesOnChild(l)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),l=this._getOuterElement(t);t.setAttribute("aria-selected",e),l!==t&&this._setAttributeIfNotExists(l,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=k.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const l=this._getOuterElement(t);if(!l.classList.contains("dropdown"))return;const d=(p,w)=>{const O=k.findOne(p,l);O&&O.classList.toggle(w,e)};d(Vi,Ht),d(".dropdown-menu",mn),l.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,l){t.hasAttribute(e)||t.setAttribute(e,l)}_elemIsActive(t){return t.classList.contains(Ht)}_getInnerElement(t){return t.matches(vn)?t:k.findOne(vn,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each(function(){const e=zt.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}A.on(document,Zr,Wi,function(r){["A","AREA"].includes(this.tagName)&&r.preventDefault(),h(this)||zt.getOrCreateInstance(this).show()}),A.on(window,es,()=>{for(const r of k.find(os))zt.getOrCreateInstance(r)}),y(zt);const Pt=".bs.toast",rs=`mouseover${Pt}`,ss=`mouseout${Pt}`,as=`focusin${Pt}`,ls=`focusout${Pt}`,cs=`hide${Pt}`,us=`hidden${Pt}`,fs=`show${Pt}`,hs=`shown${Pt}`,Ie="show",De="showing",ds={animation:"boolean",autohide:"boolean",delay:"number"},ps={animation:!0,autohide:!0,delay:5e3};class ge extends _t{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ps}static get DefaultType(){return ds}static get NAME(){return"toast"}show(){A.trigger(this._element,fs).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add(Ie,De),this._queueCallback(()=>{this._element.classList.remove(De),A.trigger(this._element,hs),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(A.trigger(this._element,cs).defaultPrevented||(this._element.classList.add(De),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(De,Ie),A.trigger(this._element,us)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Ie),super.dispose()}isShown(){return this._element.classList.contains(Ie)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const l=t.relatedTarget;this._element===l||this._element.contains(l)||this._maybeScheduleHide()}_setListeners(){A.on(this._element,rs,t=>this._onInteraction(t,!0)),A.on(this._element,ss,t=>this._onInteraction(t,!1)),A.on(this._element,as,t=>this._onInteraction(t,!0)),A.on(this._element,ls,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const e=ge.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return be(ge),y(ge),{Alert:se,Button:ae,Carousel:Wt,Collapse:qt,Dropdown:mt,Modal:Nt,Offcanvas:Tt,Popover:Me,ScrollSpy:pe,Tab:zt,Toast:ge,Tooltip:$t}}),function(S){var u={};function m(f){if(u[f])return u[f].exports;var v=u[f]={i:f,l:!1,exports:{}};return S[f].call(v.exports,v,v.exports,m),v.l=!0,v.exports}m.m=S,m.c=u,m.d=function(f,v,_){m.o(f,v)||Object.defineProperty(f,v,{enumerable:!0,get:_})},m.r=function(f){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})},m.t=function(f,v){if(1&v&&(f=m(f)),8&v||4&v&&"object"==typeof f&&f&&f.__esModule)return f;var _=Object.create(null);if(m.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:f}),2&v&&"string"!=typeof f)for(var b in f)m.d(_,b,function(g){return f[g]}.bind(null,b));return _},m.n=function(f){var v=f&&f.__esModule?function(){return f.default}:function(){return f};return m.d(v,"a",v),v},m.o=function(f,v){return Object.prototype.hasOwnProperty.call(f,v)},m.p="",m(m.s=15)}([function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.default=function f(v,_){(function(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")})(this,f),this.data=v,this.text=_.text||v,this.options=_}},function(S,u,m){"use strict";var f;function v(n,o,s){return o in n?Object.defineProperty(n,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[o]=s,n}Object.defineProperty(u,"__esModule",{value:!0});var _=u.SET_A=0,b=u.SET_B=1,g=u.SET_C=2,h=(u.SHIFT=98,u.START_A=103),a=u.START_B=104,i=u.START_C=105;u.MODULO=103,u.STOP=106,u.FNC1=207,u.SET_BY_CODE=(v(f={},h,_),v(f,a,b),v(f,i,g),f),u.SWAP={101:_,100:b,99:g},u.A_START_CHAR=String.fromCharCode(208),u.B_START_CHAR=String.fromCharCode(209),u.C_START_CHAR=String.fromCharCode(210),u.A_CHARS="[\0-_\xc8-\xcf]",u.B_CHARS="[ -\x7f\xc8-\xcf]",u.C_CHARS="(\xcf*[0-9]{2}\xcf*)",u.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.SIDE_BIN="101",u.MIDDLE_BIN="01010",u.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]},u.EAN2_STRUCTURE=["LL","LG","GL","GG"],u.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],u.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=m(2);u.default=function(v,_,b){var g=v.split("").map(function(a,i){return f.BINARIES[_[i]]}).map(function(a,i){return a?a[v[i]]:""});if(b){var h=v.length-1;g=g.map(function(a,i){return i<h?a+b:a})}return g.join("")}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function h(a,i){for(var n=0;n<i.length;n++){var o=i[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(a,o.key,o)}}return function(a,i,n){return i&&h(a.prototype,i),n&&h(a,n),a}}(),b=function(h){function a(i,n){return function(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")}(this,a),function(o,s){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||"object"!=typeof s&&"function"!=typeof s?o:s}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i,n))}return function(i,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)}(a,h),v(a,[{key:"encode",value:function(){for(var i="110",n=0;n<this.data.length;n++){var o=parseInt(this.data[n]).toString(2);o=g(o,4-o.length);for(var s=0;s<o.length;s++)i+="0"==o[s]?"100":"110"}return{data:i+="1001",text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]+$/)}}]),a}(((f=m(0))&&f.__esModule?f:{default:f}).default);function g(h,a){for(var i=0;i<a;i++)h="0"+h;return h}u.default=b},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function a(i,n){for(var o=0;o<n.length;o++){var s=n[o];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}return function(i,n,o){return n&&a(i.prototype,n),o&&a(i,o),i}}(),b=(f=m(0))&&f.__esModule?f:{default:f},g=m(1),h=function(a){function i(n,o){!function(c,y){if(!(c instanceof y))throw new TypeError("Cannot call a class as a function")}(this,i);var s=function(c,y){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!y||"object"!=typeof y&&"function"!=typeof y?c:y}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,n.substring(1),o));return s.bytes=n.split("").map(function(c){return c.charCodeAt(0)}),s}return function(n,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function, not "+typeof o);n.prototype=Object.create(o&&o.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(n,o):n.__proto__=o)}(i,a),v(i,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var n=this.bytes,o=n.shift()-105,s=g.SET_BY_CODE[o];if(void 0===s)throw new RangeError("The encoding does not start with a start character.");!0===this.shouldEncodeAsEan128()&&n.unshift(g.FNC1);var c=i.next(n,1,s);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:i.getBar(o)+c.result+i.getBar((c.checksum+o)%g.MODULO)+i.getBar(g.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var n=this.options.ean128||!1;return"string"==typeof n&&(n="true"===n.toLowerCase()),n}}],[{key:"getBar",value:function(n){return g.BARS[n]?g.BARS[n].toString():""}},{key:"correctIndex",value:function(n,o){if(o===g.SET_A){var s=n.shift();return s<32?s+64:s-32}return o===g.SET_B?n.shift()-32:10*(n.shift()-48)+n.shift()-48}},{key:"next",value:function(n,o,s){if(!n.length)return{result:"",checksum:0};var c=void 0,y=void 0;if(n[0]>=200){y=n.shift()-105;var E=g.SWAP[y];void 0!==E?c=i.next(n,o+1,E):(s!==g.SET_A&&s!==g.SET_B||y!==g.SHIFT||(n[0]=s===g.SET_A?n[0]>95?n[0]-96:n[0]:n[0]<32?n[0]+96:n[0]),c=i.next(n,o+1,s))}else y=i.correctIndex(n,s),c=i.next(n,o+1,s);var T=y*o;return{result:i.getBar(y)+c.result,checksum:T+c.checksum}}}]),i}(b.default);u.default=h},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.mod10=function(f){for(var v=0,_=0;_<f.length;_++){var b=parseInt(f[_]);v+=(_+f.length)%2==0?b:2*b%10+Math.floor(2*b/10)}return(10-v%10)%10},u.mod11=function(f){for(var v=0,_=[2,3,4,5,6,7],b=0;b<f.length;b++){var g=parseInt(f[f.length-1-b]);v+=_[b%_.length]*g}return(11-v%11)%11}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=Object.assign||function(v){for(var _=1;_<arguments.length;_++){var b=arguments[_];for(var g in b)Object.prototype.hasOwnProperty.call(b,g)&&(v[g]=b[g])}return v};u.default=function(v,_){return f({},v,_)}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=function(){function h(a,i){for(var n=0;n<i.length;n++){var o=i[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(a,o.key,o)}}return function(a,i,n){return i&&h(a.prototype,i),n&&h(a,n),a}}(),v=m(2),_=b(m(3));function b(h){return h&&h.__esModule?h:{default:h}}var g=function(h){function a(i,n){!function(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")}(this,a);var o=function(s,c){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||"object"!=typeof c&&"function"!=typeof c?s:c}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i,n));return o.fontSize=!n.flat&&n.fontSize>10*n.width?10*n.width:n.fontSize,o.guardHeight=n.height+o.fontSize/2+n.textMargin,o}return function(i,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)}(a,h),f(a,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(i,n){return this.text.substr(i,n)}},{key:"leftEncode",value:function(i,n){return(0,_.default)(i,n)}},{key:"rightText",value:function(i,n){return this.text.substr(i,n)}},{key:"rightEncode",value:function(i,n){return(0,_.default)(i,n)}},{key:"encodeGuarded",value:function(){var i={fontSize:this.fontSize},n={height:this.guardHeight};return[{data:v.SIDE_BIN,options:n},{data:this.leftEncode(),text:this.leftText(),options:i},{data:v.MIDDLE_BIN,options:n},{data:this.rightEncode(),text:this.rightText(),options:i},{data:v.SIDE_BIN,options:n}]}},{key:"encodeFlat",value:function(){return{data:[v.SIDE_BIN,this.leftEncode(),v.MIDDLE_BIN,this.rightEncode(),v.SIDE_BIN].join(""),text:this.text}}}]),a}(b(m(0)).default);u.default=g},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=function(){function h(a,i){for(var n=0;n<i.length;n++){var o=i[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(a,o.key,o)}}return function(a,i,n){return i&&h(a.prototype,i),n&&h(a,n),a}}();u.checksum=g;var v=_(m(3));function _(h){return h&&h.__esModule?h:{default:h}}var b=function(h){function a(i,n){(function(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")})(this,a),-1!==i.search(/^[0-9]{11}$/)&&(i+=g(i));var o=function(s,c){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||"object"!=typeof c&&"function"!=typeof c?s:c}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i,n));return o.displayValue=n.displayValue,o.fontSize=n.fontSize>10*n.width?10*n.width:n.fontSize,o.guardHeight=n.height+o.fontSize/2+n.textMargin,o}return function(i,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)}(a,h),f(a,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{12}$/)&&this.data[11]==g(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var i="";return i+="101",i+=(0,v.default)(this.data.substr(0,6),"LLLLLL"),i+="01010",i+=(0,v.default)(this.data.substr(6,6),"RRRRRR"),{data:i+="101",text:this.text}}},{key:"guardedEncoding",value:function(){var i=[];return this.displayValue&&i.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),i.push({data:"101"+(0,v.default)(this.data[0],"L"),options:{height:this.guardHeight}}),i.push({data:(0,v.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),i.push({data:"01010",options:{height:this.guardHeight}}),i.push({data:(0,v.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),i.push({data:(0,v.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&i.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),i}}]),a}(_(m(0)).default);function g(h){var a,i=0;for(a=1;a<11;a+=2)i+=parseInt(h[a]);for(a=0;a<11;a+=2)i+=3*parseInt(h[a]);return(10-i%10)%10}u.default=b},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function i(n,o){for(var s=0;s<o.length;s++){var c=o[s];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(n,c.key,c)}}return function(n,o,s){return o&&i(n.prototype,o),s&&i(n,s),n}}(),_=m(31),a=function(i){function n(){return function g(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),function h(i,n){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?i:n}(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(o,s){if("function"!=typeof s&&null!==s)throw new TypeError("Super expression must either be null or a function, not "+typeof s);o.prototype=Object.create(s&&s.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(o,s):o.__proto__=s)}(n,i),v(n,[{key:"valid",value:function(){return-1!==this.data.search(/^([0-9]{2})+$/)}},{key:"encode",value:function(){var o=this,s=this.data.match(/.{2}/g).map(function(c){return o.encodePair(c)}).join("");return{data:_.START_BIN+s+_.END_BIN,text:this.text}}},{key:"encodePair",value:function(o){var s=_.BINARIES[o[1]];return _.BINARIES[o[0]].split("").map(function(c,y){return("1"===c?"111":"1")+("1"===s[y]?"000":"0")}).join("")}}]),n}(((f=m(0))&&f.__esModule?f:{default:f}).default);u.default=a},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.default=function(f){var v=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var _ in v)v.hasOwnProperty(_)&&"string"==typeof f[_=v[_]]&&(f[_]=parseInt(f[_],10));return"string"==typeof f.displayValue&&(f.displayValue="false"!=f.displayValue),f}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.default={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.getTotalWidthOfEncodings=u.calculateEncodingAttributes=u.getBarcodePadding=u.getEncodingHeight=u.getMaximumHeightOfEncodings=void 0;var f,_=(f=m(7))&&f.__esModule?f:{default:f};function b(a,i){return i.height+(i.displayValue&&a.text.length>0?i.fontSize+i.textMargin:0)+i.marginTop+i.marginBottom}function g(a,i,n){if(n.displayValue&&i<a){if("center"==n.textAlign)return Math.floor((a-i)/2);if("left"==n.textAlign)return 0;if("right"==n.textAlign)return Math.floor(a-i)}return 0}function h(a,i,n){var o;if(n)o=n;else{if(typeof document>"u")return 0;o=document.createElement("canvas").getContext("2d")}o.font=i.fontOptions+" "+i.fontSize+"px "+i.font;var s=o.measureText(a);return s?s.width:0}u.getMaximumHeightOfEncodings=function(a){for(var i=0,n=0;n<a.length;n++)a[n].height>i&&(i=a[n].height);return i},u.getEncodingHeight=b,u.getBarcodePadding=g,u.calculateEncodingAttributes=function(a,i,n){for(var o=0;o<a.length;o++){var s,c=a[o],y=(0,_.default)(i,c.options);s=y.displayValue?h(c.text,y,n):0;var E=c.data.length*y.width;c.width=Math.ceil(Math.max(s,E)),c.height=b(c,y),c.barcodePadding=g(s,E,y)}},u.getTotalWidthOfEncodings=function(a){for(var i=0,n=0;n<a.length;n++)i+=a[n].width;return i}},function(S,u,m){"use strict";function f(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}function v(a,i){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!i||"object"!=typeof i&&"function"!=typeof i?a:i}function _(a,i){if("function"!=typeof i&&null!==i)throw new TypeError("Super expression must either be null or a function, not "+typeof i);a.prototype=Object.create(i&&i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(a,i):a.__proto__=i)}Object.defineProperty(u,"__esModule",{value:!0});var b=function(a){function i(n,o){f(this,i);var s=v(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return s.name="InvalidInputException",s.symbology=n,s.input=o,s.message='"'+s.input+'" is not a valid input for '+s.symbology,s}return _(i,Error),i}(),g=function(a){function i(){f(this,i);var n=v(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return n.name="InvalidElementException",n.message="Not supported type to render on",n}return _(i,Error),i}(),h=function(a){function i(){f(this,i);var n=v(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return n.name="NoElementException",n.message="No element to render on.",n}return _(i,Error),i}();u.InvalidInputException=b,u.InvalidElementException=g,u.NoElementException=h},function(S,u,m){"use strict";var f=o(m(16)),v=o(m(7)),_=o(m(41)),b=o(m(42)),g=o(m(43)),h=o(m(11)),a=o(m(49)),i=m(14),n=o(m(12));function o($){return $&&$.__esModule?$:{default:$}}var s=function(){},c=function($,Q,F){var U=new s;if(void 0===$)throw Error("No element to render on was provided.");return U._renderProperties=(0,g.default)($),U._encodings=[],U._options=n.default,U._errorHandler=new a.default(U),void 0!==Q&&((F=F||{}).format||(F.format=tt()),U.options(F)[F.format](Q,F).render()),U};for(var y in c.getModule=function($){return f.default[$]},f.default)f.default.hasOwnProperty(y)&&E(f.default,y);function E($,Q){s.prototype[Q]=s.prototype[Q.toUpperCase()]=s.prototype[Q.toLowerCase()]=function(F,U){var rt=this;return rt._errorHandler.wrapBarcodeCall(function(){U.text=void 0===U.text?void 0:""+U.text;var vt=(0,v.default)(rt._options,U);vt=(0,h.default)(vt);var me=T(F,$[Q],vt);return rt._encodings.push(me),rt})}}function T($,Q,F){var U=new Q($=""+$,F);if(!U.valid())throw new i.InvalidInputException(U.constructor.name,$);var rt=U.encode();rt=(0,_.default)(rt);for(var vt=0;vt<rt.length;vt++)rt[vt].options=(0,v.default)(F,rt[vt].options);return rt}function tt(){return f.default.CODE128?"CODE128":Object.keys(f.default)[0]}function gt($,Q,F){Q=(0,_.default)(Q);for(var U=0;U<Q.length;U++)Q[U].options=(0,v.default)(F,Q[U].options),(0,b.default)(Q[U].options);(0,b.default)(F),new $.renderer($.element,Q,F).render(),$.afterRender&&$.afterRender()}s.prototype.options=function($){return this._options=(0,v.default)(this._options,$),this},s.prototype.blank=function($){var Q=new Array($+1).join("0");return this._encodings.push({data:Q}),this},s.prototype.init=function(){var $;if(this._renderProperties)for(var Q in Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]),this._renderProperties){var F=(0,v.default)(this._options,($=this._renderProperties[Q]).options);"auto"==F.format&&(F.format=tt()),this._errorHandler.wrapBarcodeCall(function(){var U=T(F.value,f.default[F.format.toUpperCase()],F);gt($,U,F)})}},s.prototype.render=function(){if(!this._renderProperties)throw new i.NoElementException;if(Array.isArray(this._renderProperties))for(var $=0;$<this._renderProperties.length;$++)gt(this._renderProperties[$],this._encodings,this._options);else gt(this._renderProperties,this._encodings,this._options);return this},s.prototype._defaults=n.default,typeof window<"u"&&(window.JsBarcode=c),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function($,Q){var F=[];return jQuery(this).each(function(){F.push(this)}),c(F,$,Q)}),S.exports=c},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=m(17),v=m(18),_=m(24),b=m(30),g=m(33),h=m(38),a=m(39),i=m(40);u.default={CODE39:f.CODE39,CODE128:v.CODE128,CODE128A:v.CODE128A,CODE128B:v.CODE128B,CODE128C:v.CODE128C,EAN13:_.EAN13,EAN8:_.EAN8,EAN5:_.EAN5,EAN2:_.EAN2,UPC:_.UPC,UPCE:_.UPCE,ITF14:b.ITF14,ITF:b.ITF,MSI:g.MSI,MSI10:g.MSI10,MSI11:g.MSI11,MSI1010:g.MSI1010,MSI1110:g.MSI1110,pharmacode:h.pharmacode,codabar:a.codabar,GenericBarcode:i.GenericBarcode}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.CODE39=void 0;var f,v=function(){function n(o,s){for(var c=0;c<s.length;c++){var y=s[c];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(o,y.key,y)}}return function(o,s,c){return s&&n(o.prototype,s),c&&n(o,c),o}}(),b=function(n){function o(s,c){return function(y,E){if(!(y instanceof E))throw new TypeError("Cannot call a class as a function")}(this,o),s=s.toUpperCase(),c.mod43&&(s+=(y=function(y){for(var E=0,T=0;T<y.length;T++)E+=i(y[T]);return E%43}(s),g[y])),function(y,E){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!E||"object"!=typeof E&&"function"!=typeof E?y:E}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,s,c));var y}return function(s,c){if("function"!=typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);s.prototype=Object.create(c&&c.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(s,c):s.__proto__=c)}(o,n),v(o,[{key:"encode",value:function(){for(var s=a("*"),c=0;c<this.data.length;c++)s+=a(this.data[c])+"0";return{data:s+=a("*"),text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)}}]),o}(((f=m(0))&&f.__esModule?f:{default:f}).default),g=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],h=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function a(n){return o=i(n),h[o].toString(2);var o}function i(n){return g.indexOf(n)}u.CODE39=b},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.CODE128C=u.CODE128B=u.CODE128A=u.CODE128=void 0;var f=g(m(19)),v=g(m(21)),_=g(m(22)),b=g(m(23));function g(h){return h&&h.__esModule?h:{default:h}}u.CODE128=f.default,u.CODE128A=v.default,u.CODE128B=_.default,u.CODE128C=b.default},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=_(m(5)),v=_(m(20));function _(h){return h&&h.__esModule?h:{default:h}}function b(h,a){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||"object"!=typeof a&&"function"!=typeof a?h:a}var g=function(h){function a(i,n){if(function(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")}(this,a),/^[\x00-\x7F\xC8-\xD3]+$/.test(i))var o=b(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,(0,v.default)(i),n));else o=b(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i,n));return b(o)}return function(i,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)}(a,h),a}(f.default);u.default=g},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=m(1),v=function(a){return a.match(new RegExp("^"+f.A_CHARS+"*"))[0].length},_=function(a){return a.match(new RegExp("^"+f.B_CHARS+"*"))[0].length},b=function(a){return a.match(new RegExp("^"+f.C_CHARS+"*"))[0]};function g(a,i){var n=i?f.A_CHARS:f.B_CHARS,o=a.match(new RegExp("^("+n+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(o)return o[1]+String.fromCharCode(204)+h(a.substring(o[1].length));var s=a.match(new RegExp("^"+n+"+"))[0];return s.length===a.length?a:s+String.fromCharCode(i?205:206)+g(a.substring(s.length),!i)}function h(a){var i=b(a),n=i.length;if(n===a.length)return a;a=a.substring(n);var o=v(a)>=_(a);return i+String.fromCharCode(o?206:205)+g(a,o)}u.default=function(a){var i=void 0;if(b(a).length>=2)i=f.C_START_CHAR+h(a);else{var n=v(a)>_(a);i=(n?f.A_START_CHAR:f.B_START_CHAR)+g(a,n)}return i.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(o,s){return String.fromCharCode(203)+s})}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function a(i,n){for(var o=0;o<n.length;o++){var s=n[o];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}return function(i,n,o){return n&&a(i.prototype,n),o&&a(i,o),i}}(),b=(f=m(5))&&f.__esModule?f:{default:f},g=m(1),h=function(a){function i(n,o){return function(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")}(this,i),function(s,c){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||"object"!=typeof c&&"function"!=typeof c?s:c}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,g.A_START_CHAR+n,o))}return function(n,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function, not "+typeof o);n.prototype=Object.create(o&&o.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(n,o):n.__proto__=o)}(i,a),v(i,[{key:"valid",value:function(){return new RegExp("^"+g.A_CHARS+"+$").test(this.data)}}]),i}(b.default);u.default=h},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function a(i,n){for(var o=0;o<n.length;o++){var s=n[o];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}return function(i,n,o){return n&&a(i.prototype,n),o&&a(i,o),i}}(),b=(f=m(5))&&f.__esModule?f:{default:f},g=m(1),h=function(a){function i(n,o){return function(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")}(this,i),function(s,c){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||"object"!=typeof c&&"function"!=typeof c?s:c}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,g.B_START_CHAR+n,o))}return function(n,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function, not "+typeof o);n.prototype=Object.create(o&&o.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(n,o):n.__proto__=o)}(i,a),v(i,[{key:"valid",value:function(){return new RegExp("^"+g.B_CHARS+"+$").test(this.data)}}]),i}(b.default);u.default=h},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function a(i,n){for(var o=0;o<n.length;o++){var s=n[o];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}return function(i,n,o){return n&&a(i.prototype,n),o&&a(i,o),i}}(),b=(f=m(5))&&f.__esModule?f:{default:f},g=m(1),h=function(a){function i(n,o){return function(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")}(this,i),function(s,c){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||"object"!=typeof c&&"function"!=typeof c?s:c}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,g.C_START_CHAR+n,o))}return function(n,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function, not "+typeof o);n.prototype=Object.create(o&&o.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(n,o):n.__proto__=o)}(i,a),v(i,[{key:"valid",value:function(){return new RegExp("^"+g.C_CHARS+"+$").test(this.data)}}]),i}(b.default);u.default=h},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.UPCE=u.UPC=u.EAN2=u.EAN5=u.EAN8=u.EAN13=void 0;var f=a(m(25)),v=a(m(26)),_=a(m(27)),b=a(m(28)),g=a(m(9)),h=a(m(29));function a(i){return i&&i.__esModule?i:{default:i}}u.EAN13=f.default,u.EAN8=v.default,u.EAN5=_.default,u.EAN2=b.default,u.UPC=g.default,u.UPCE=h.default},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function n(o,s){for(var c=0;c<s.length;c++){var y=s[c];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(o,y.key,y)}}return function(o,s,c){return s&&n(o.prototype,s),c&&n(o,c),o}}(),_=function n(o,s,c){null===o&&(o=Function.prototype);var y=Object.getOwnPropertyDescriptor(o,s);if(void 0===y){var E=Object.getPrototypeOf(o);return null===E?void 0:n(E,s,c)}if("value"in y)return y.value;var T=y.get;return void 0!==T?T.call(c):void 0},b=m(2),h=(f=m(8))&&f.__esModule?f:{default:f},a=function(n){return(10-n.substr(0,12).split("").map(function(o){return+o}).reduce(function(o,s,c){return c%2?o+3*s:o+s},0)%10)%10},i=function(n){function o(s,c){(function(E,T){if(!(E instanceof T))throw new TypeError("Cannot call a class as a function")})(this,o),-1!==s.search(/^[0-9]{12}$/)&&(s+=a(s));var y=function(E,T){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!T||"object"!=typeof T&&"function"!=typeof T?E:T}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,s,c));return y.lastChar=c.lastChar,y}return function(s,c){if("function"!=typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);s.prototype=Object.create(c&&c.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(s,c):s.__proto__=c)}(o,n),v(o,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{13}$/)&&+this.data[12]===a(this.data)}},{key:"leftText",value:function(){return _(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var s=this.data.substr(1,6),c=b.EAN13_STRUCTURE[this.data[0]];return _(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"leftEncode",this).call(this,s,c)}},{key:"rightText",value:function(){return _(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var s=this.data.substr(7,6);return _(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"rightEncode",this).call(this,s,"RRRRRR")}},{key:"encodeGuarded",value:function(){var s=_(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(s.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(s.push({data:"00"}),s.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),s}}]),o}(h.default);u.default=i},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function i(n,o){for(var s=0;s<o.length;s++){var c=o[s];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(n,c.key,c)}}return function(n,o,s){return o&&i(n.prototype,o),s&&i(n,s),n}}(),_=function i(n,o,s){null===n&&(n=Function.prototype);var c=Object.getOwnPropertyDescriptor(n,o);if(void 0===c){var y=Object.getPrototypeOf(n);return null===y?void 0:i(y,o,s)}if("value"in c)return c.value;var E=c.get;return void 0!==E?E.call(s):void 0},g=(f=m(8))&&f.__esModule?f:{default:f},h=function(i){return(10-i.substr(0,7).split("").map(function(n){return+n}).reduce(function(n,o,s){return s%2?n+o:n+3*o},0)%10)%10},a=function(i){function n(o,s){return function(c,y){if(!(c instanceof y))throw new TypeError("Cannot call a class as a function")}(this,n),-1!==o.search(/^[0-9]{7}$/)&&(o+=h(o)),function(c,y){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!y||"object"!=typeof y&&"function"!=typeof y?c:y}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,o,s))}return function(o,s){if("function"!=typeof s&&null!==s)throw new TypeError("Super expression must either be null or a function, not "+typeof s);o.prototype=Object.create(s&&s.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(o,s):o.__proto__=s)}(n,i),v(n,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{8}$/)&&+this.data[7]===h(this.data)}},{key:"leftText",value:function(){return _(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var o=this.data.substr(0,4);return _(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"leftEncode",this).call(this,o,"LLLL")}},{key:"rightText",value:function(){return _(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var o=this.data.substr(4,4);return _(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"rightEncode",this).call(this,o,"RRRR")}}]),n}(g.default);u.default=a},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=function(){function a(i,n){for(var o=0;o<n.length;o++){var s=n[o];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}return function(i,n,o){return n&&a(i.prototype,n),o&&a(i,o),i}}(),v=m(2),_=g(m(3));function g(a){return a&&a.__esModule?a:{default:a}}var h=function(a){function i(n,o){return function(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")}(this,i),function(s,c){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||"object"!=typeof c&&"function"!=typeof c?s:c}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,n,o))}return function(n,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function, not "+typeof o);n.prototype=Object.create(o&&o.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(n,o):n.__proto__=o)}(i,a),f(i,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{5}$/)}},{key:"encode",value:function(){var n,o=v.EAN5_STRUCTURE[(n=this.data,n.split("").map(function(s){return+s}).reduce(function(s,c,y){return y%2?s+9*c:s+3*c},0)%10)];return{data:"1011"+(0,_.default)(this.data,o,"01"),text:this.text}}}]),i}(g(m(0)).default);u.default=h},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=function(){function h(a,i){for(var n=0;n<i.length;n++){var o=i[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(a,o.key,o)}}return function(a,i,n){return i&&h(a.prototype,i),n&&h(a,n),a}}(),v=m(2),_=b(m(3));function b(h){return h&&h.__esModule?h:{default:h}}var g=function(h){function a(i,n){return function(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")}(this,a),function(o,s){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||"object"!=typeof s&&"function"!=typeof s?o:s}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i,n))}return function(i,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)}(a,h),f(a,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{2}$/)}},{key:"encode",value:function(){var i=v.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,_.default)(this.data,i,"01"),text:this.text}}}]),a}(b(m(0)).default);u.default=g},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=function(){function s(c,y){for(var E=0;E<y.length;E++){var T=y[E];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(c,T.key,T)}}return function(c,y,E){return y&&s(c.prototype,y),E&&s(c,E),c}}(),v=g(m(3)),_=g(m(0)),b=m(9);function g(s){return s&&s.__esModule?s:{default:s}}function h(s,c){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||"object"!=typeof c&&"function"!=typeof c?s:c}var a=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],i=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],n=function(s){function c(y,E){!function(tt,gt){if(!(tt instanceof gt))throw new TypeError("Cannot call a class as a function")}(this,c);var T=h(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,y,E));if(T.isValid=!1,-1!==y.search(/^[0-9]{6}$/))T.middleDigits=y,T.upcA=o(y,"0"),T.text=E.text||""+T.upcA[0]+y+T.upcA[T.upcA.length-1],T.isValid=!0;else{if(-1===y.search(/^[01][0-9]{7}$/)||(T.middleDigits=y.substring(1,y.length-1),T.upcA=o(T.middleDigits,y[0]),T.upcA[T.upcA.length-1]!==y[y.length-1]))return h(T);T.isValid=!0}return T.displayValue=E.displayValue,T.fontSize=E.fontSize>10*E.width?10*E.width:E.fontSize,T.guardHeight=E.height+T.fontSize/2+E.textMargin,T}return function(y,E){if("function"!=typeof E&&null!==E)throw new TypeError("Super expression must either be null or a function, not "+typeof E);y.prototype=Object.create(E&&E.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(y,E):y.__proto__=E)}(c,s),f(c,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var y="";return y+="101",y+=this.encodeMiddleDigits(),{data:y+="010101",text:this.text}}},{key:"guardedEncoding",value:function(){var y=[];return this.displayValue&&y.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),y.push({data:"101",options:{height:this.guardHeight}}),y.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),y.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&y.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),y}},{key:"encodeMiddleDigits",value:function(){var y=this.upcA[0],T=i[parseInt(this.upcA[this.upcA.length-1])][parseInt(y)];return(0,v.default)(this.middleDigits,T)}}]),c}(_.default);function o(s,c){for(var y=parseInt(s[s.length-1]),E=a[y],T="",tt=0,gt=0;gt<E.length;gt++){var $=E[gt];T+="X"===$?s[tt++]:$}return(T=""+c+T)+(0,b.checksum)(T)}u.default=n},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.ITF14=u.ITF=void 0;var f=_(m(10)),v=_(m(32));function _(b){return b&&b.__esModule?b:{default:b}}u.ITF=f.default,u.ITF14=v.default},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.START_BIN="1010",u.END_BIN="11101",u.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function a(i,n){for(var o=0;o<n.length;o++){var s=n[o];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}return function(i,n,o){return n&&a(i.prototype,n),o&&a(i,o),i}}(),b=(f=m(10))&&f.__esModule?f:{default:f},g=function(a){var i=a.substr(0,13).split("").map(function(n){return parseInt(n,10)}).reduce(function(n,o,s){return n+o*(3-s%2*2)},0);return 10*Math.ceil(i/10)-i},h=function(a){function i(n,o){return function(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")}(this,i),-1!==n.search(/^[0-9]{13}$/)&&(n+=g(n)),function(s,c){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||"object"!=typeof c&&"function"!=typeof c?s:c}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,n,o))}return function(n,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function, not "+typeof o);n.prototype=Object.create(o&&o.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(n,o):n.__proto__=o)}(i,a),v(i,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{14}$/)&&+this.data[13]===g(this.data)}}]),i}(b.default);u.default=h},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.MSI1110=u.MSI1010=u.MSI11=u.MSI10=u.MSI=void 0;var f=h(m(4)),v=h(m(34)),_=h(m(35)),b=h(m(36)),g=h(m(37));function h(a){return a&&a.__esModule?a:{default:a}}u.MSI=f.default,u.MSI10=v.default,u.MSI11=_.default,u.MSI1010=b.default,u.MSI1110=g.default},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,_=(f=m(4))&&f.__esModule?f:{default:f},b=m(6),g=function(h){function a(i,n){return function(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")}(this,a),function(o,s){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||"object"!=typeof s&&"function"!=typeof s?o:s}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i+(0,b.mod10)(i),n))}return function(i,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)}(a,h),a}(_.default);u.default=g},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,_=(f=m(4))&&f.__esModule?f:{default:f},b=m(6),g=function(h){function a(i,n){return function(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")}(this,a),function(o,s){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||"object"!=typeof s&&"function"!=typeof s?o:s}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i+(0,b.mod11)(i),n))}return function(i,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)}(a,h),a}(_.default);u.default=g},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,_=(f=m(4))&&f.__esModule?f:{default:f},b=m(6),g=function(h){function a(i,n){return function(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")}(this,a),i+=(0,b.mod10)(i),i+=(0,b.mod10)(i),function(o,s){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||"object"!=typeof s&&"function"!=typeof s?o:s}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i,n))}return function(i,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)}(a,h),a}(_.default);u.default=g},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,_=(f=m(4))&&f.__esModule?f:{default:f},b=m(6),g=function(h){function a(i,n){return function(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")}(this,a),i+=(0,b.mod11)(i),i+=(0,b.mod10)(i),function(o,s){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||"object"!=typeof s&&"function"!=typeof s?o:s}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i,n))}return function(i,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)}(a,h),a}(_.default);u.default=g},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.pharmacode=void 0;var f,v=function(){function g(h,a){for(var i=0;i<a.length;i++){var n=a[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(h,n.key,n)}}return function(h,a,i){return a&&g(h.prototype,a),i&&g(h,i),h}}(),b=function(g){function h(a,i){!function(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")}(this,h);var n=function(o,s){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||"object"!=typeof s&&"function"!=typeof s?o:s}(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,a,i));return n.number=parseInt(a,10),n}return function(a,i){if("function"!=typeof i&&null!==i)throw new TypeError("Super expression must either be null or a function, not "+typeof i);a.prototype=Object.create(i&&i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(a,i):a.__proto__=i)}(h,g),v(h,[{key:"encode",value:function(){for(var a=this.number,i="";!isNaN(a)&&0!=a;)a%2==0?(i="11100"+i,a=(a-2)/2):(i="100"+i,a=(a-1)/2);return{data:i=i.slice(0,-2),text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),h}(((f=m(0))&&f.__esModule?f:{default:f}).default);u.pharmacode=b},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.codabar=void 0;var f,v=function(){function g(h,a){for(var i=0;i<a.length;i++){var n=a[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(h,n.key,n)}}return function(h,a,i){return a&&g(h.prototype,a),i&&g(h,i),h}}(),b=function(g){function h(a,i){(function(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")})(this,h),0===a.search(/^[0-9\-\$\:\.\+\/]+$/)&&(a="A"+a+"A");var n=function(o,s){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||"object"!=typeof s&&"function"!=typeof s?o:s}(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,a.toUpperCase(),i));return n.text=n.options.text||n.text.replace(/[A-D]/g,""),n}return function(a,i){if("function"!=typeof i&&null!==i)throw new TypeError("Super expression must either be null or a function, not "+typeof i);a.prototype=Object.create(i&&i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(a,i):a.__proto__=i)}(h,g),v(h,[{key:"valid",value:function(){return-1!==this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)}},{key:"encode",value:function(){for(var a=[],i=this.getEncodings(),n=0;n<this.data.length;n++)a.push(i[this.data.charAt(n)]),n!==this.data.length-1&&a.push("0");return{text:this.text,data:a.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),h}(((f=m(0))&&f.__esModule?f:{default:f}).default);u.codabar=b},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.GenericBarcode=void 0;var f,v=function(){function g(h,a){for(var i=0;i<a.length;i++){var n=a[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(h,n.key,n)}}return function(h,a,i){return a&&g(h.prototype,a),i&&g(h,i),h}}(),b=function(g){function h(a,i){return function(n,o){if(!(n instanceof o))throw new TypeError("Cannot call a class as a function")}(this,h),function(n,o){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!o||"object"!=typeof o&&"function"!=typeof o?n:o}(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,a,i))}return function(a,i){if("function"!=typeof i&&null!==i)throw new TypeError("Super expression must either be null or a function, not "+typeof i);a.prototype=Object.create(i&&i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(a,i):a.__proto__=i)}(h,g),v(h,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),h}(((f=m(0))&&f.__esModule?f:{default:f}).default);u.GenericBarcode=b},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.default=function(f){var v=[];return function _(b){if(Array.isArray(b))for(var g=0;g<b.length;g++)_(b[g]);else b.text=b.text||"",b.data=b.data||"",v.push(b)}(f),v}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.default=function(f){return f.marginTop=f.marginTop||f.margin,f.marginBottom=f.marginBottom||f.margin,f.marginRight=f.marginRight||f.margin,f.marginLeft=f.marginLeft||f.margin,f}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},v=g(m(44)),_=g(m(45)),b=m(14);function g(a){return a&&a.__esModule?a:{default:a}}u.default=function h(a){if("string"==typeof a)return function(c){var y=document.querySelectorAll(c);if(0!==y.length){for(var E=[],T=0;T<y.length;T++)E.push(h(y[T]));return E}}(a);if(Array.isArray(a)){for(var i=[],n=0;n<a.length;n++)i.push(h(a[n]));return i}if(typeof HTMLCanvasElement<"u"&&a instanceof HTMLImageElement)return o=a,{element:s=document.createElement("canvas"),options:(0,v.default)(o),renderer:_.default.CanvasRenderer,afterRender:function(){o.setAttribute("src",s.toDataURL())}};if(a&&a.nodeName&&"svg"===a.nodeName.toLowerCase()||typeof SVGElement<"u"&&a instanceof SVGElement)return{element:a,options:(0,v.default)(a),renderer:_.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&a instanceof HTMLCanvasElement)return{element:a,options:(0,v.default)(a),renderer:_.default.CanvasRenderer};if(a&&a.getContext)return{element:a,renderer:_.default.CanvasRenderer};if(a&&"object"===(void 0===a?"undefined":f(a))&&!a.nodeName)return{element:a,renderer:_.default.ObjectRenderer};throw new b.InvalidElementException;var o,s}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=_(m(11)),v=_(m(12));function _(b){return b&&b.__esModule?b:{default:b}}u.default=function(b){var g={};for(var h in v.default)v.default.hasOwnProperty(h)&&(b.hasAttribute("jsbarcode-"+h.toLowerCase())&&(g[h]=b.getAttribute("jsbarcode-"+h.toLowerCase())),b.hasAttribute("data-"+h.toLowerCase())&&(g[h]=b.getAttribute("data-"+h.toLowerCase())));return g.value=b.getAttribute("jsbarcode-value")||b.getAttribute("data-value"),(0,f.default)(g)}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=b(m(46)),v=b(m(47)),_=b(m(48));function b(g){return g&&g.__esModule?g:{default:g}}u.default={CanvasRenderer:f.default,SVGRenderer:v.default,ObjectRenderer:_.default}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function a(i,n){for(var o=0;o<n.length;o++){var s=n[o];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}return function(i,n,o){return n&&a(i.prototype,n),o&&a(i,o),i}}(),b=(f=m(7))&&f.__esModule?f:{default:f},g=m(13),h=function(){function a(i,n,o){(function(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")})(this,a),this.canvas=i,this.encodings=n,this.options=o}return v(a,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var i=0;i<this.encodings.length;i++){var n=(0,b.default)(this.options,this.encodings[i].options);this.drawCanvasBarcode(n,this.encodings[i]),this.drawCanvasText(n,this.encodings[i]),this.moveCanvasDrawing(this.encodings[i])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var i=this.canvas.getContext("2d");i.save(),(0,g.calculateEncodingAttributes)(this.encodings,this.options,i);var n=(0,g.getTotalWidthOfEncodings)(this.encodings),o=(0,g.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=n+this.options.marginLeft+this.options.marginRight,this.canvas.height=o,i.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(i.fillStyle=this.options.background,i.fillRect(0,0,this.canvas.width,this.canvas.height)),i.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(i,n){var o,s=this.canvas.getContext("2d"),c=n.data;o="top"==i.textPosition?i.marginTop+i.fontSize+i.textMargin:i.marginTop,s.fillStyle=i.lineColor;for(var y=0;y<c.length;y++){var E=y*i.width+n.barcodePadding;"1"===c[y]?s.fillRect(E,o,i.width,i.height):c[y]&&s.fillRect(E,o,i.width,i.height*c[y])}}},{key:"drawCanvasText",value:function(i,n){var o,s,c=this.canvas.getContext("2d");i.displayValue&&(s="top"==i.textPosition?i.marginTop+i.fontSize-i.textMargin:i.height+i.textMargin+i.marginTop+i.fontSize,c.font=i.fontOptions+" "+i.fontSize+"px "+i.font,"left"==i.textAlign||n.barcodePadding>0?(o=0,c.textAlign="left"):"right"==i.textAlign?(o=n.width-1,c.textAlign="right"):(o=n.width/2,c.textAlign="center"),c.fillText(n.text,o,s))}},{key:"moveCanvasDrawing",value:function(i){this.canvas.getContext("2d").translate(i.width,0)}},{key:"restoreCanvas",value:function(){this.canvas.getContext("2d").restore()}}]),a}();u.default=h},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function i(n,o){for(var s=0;s<o.length;s++){var c=o[s];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(n,c.key,c)}}return function(n,o,s){return o&&i(n.prototype,o),s&&i(n,s),n}}(),b=(f=m(7))&&f.__esModule?f:{default:f},g=m(13),h="http://www.w3.org/2000/svg",a=function(){function i(n,o,s){(function(c,y){if(!(c instanceof y))throw new TypeError("Cannot call a class as a function")})(this,i),this.svg=n,this.encodings=o,this.options=s,this.document=s.xmlDocument||document}return v(i,[{key:"render",value:function(){var n=this.options.marginLeft;this.prepareSVG();for(var o=0;o<this.encodings.length;o++){var s=this.encodings[o],c=(0,b.default)(this.options,s.options),y=this.createGroup(n,c.marginTop,this.svg);this.setGroupOptions(y,c),this.drawSvgBarcode(y,c,s),this.drawSVGText(y,c,s),n+=s.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,g.calculateEncodingAttributes)(this.encodings,this.options);var n=(0,g.getTotalWidthOfEncodings)(this.encodings),o=(0,g.getMaximumHeightOfEncodings)(this.encodings),s=n+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(s,o),this.options.background&&this.drawRect(0,0,s,o,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(n,o,s){var c,y=s.data;c="top"==o.textPosition?o.fontSize+o.textMargin:0;for(var E=0,T=0,tt=0;tt<y.length;tt++)T=tt*o.width+s.barcodePadding,"1"===y[tt]?E++:E>0&&(this.drawRect(T-o.width*E,c,o.width*E,o.height,n),E=0);E>0&&this.drawRect(T-o.width*(E-1),c,o.width*E,o.height,n)}},{key:"drawSVGText",value:function(n,o,s){var c,y,E=this.document.createElementNS(h,"text");o.displayValue&&(E.setAttribute("style","font:"+o.fontOptions+" "+o.fontSize+"px "+o.font),y="top"==o.textPosition?o.fontSize-o.textMargin:o.height+o.textMargin+o.fontSize,"left"==o.textAlign||s.barcodePadding>0?(c=0,E.setAttribute("text-anchor","start")):"right"==o.textAlign?(c=s.width-1,E.setAttribute("text-anchor","end")):(c=s.width/2,E.setAttribute("text-anchor","middle")),E.setAttribute("x",c),E.setAttribute("y",y),E.appendChild(this.document.createTextNode(s.text)),n.appendChild(E))}},{key:"setSvgAttributes",value:function(n,o){var s=this.svg;s.setAttribute("width",n+"px"),s.setAttribute("height",o+"px"),s.setAttribute("x","0px"),s.setAttribute("y","0px"),s.setAttribute("viewBox","0 0 "+n+" "+o),s.setAttribute("xmlns",h),s.setAttribute("version","1.1"),s.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(n,o,s){var c=this.document.createElementNS(h,"g");return c.setAttribute("transform","translate("+n+", "+o+")"),s.appendChild(c),c}},{key:"setGroupOptions",value:function(n,o){n.setAttribute("style","fill:"+o.lineColor+";")}},{key:"drawRect",value:function(n,o,s,c,y){var E=this.document.createElementNS(h,"rect");return E.setAttribute("x",n),E.setAttribute("y",o),E.setAttribute("width",s),E.setAttribute("height",c),y.appendChild(E),E}}]),i}();u.default=a},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=function(){function _(b,g){for(var h=0;h<g.length;h++){var a=g[h];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(b,a.key,a)}}return function(b,g,h){return g&&_(b.prototype,g),h&&_(b,h),b}}(),v=function(){function _(b,g,h){(function(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")})(this,_),this.object=b,this.encodings=g,this.options=h}return f(_,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),_}();u.default=v},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=function(){function _(b,g){for(var h=0;h<g.length;h++){var a=g[h];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(b,a.key,a)}}return function(b,g,h){return g&&_(b.prototype,g),h&&_(b,h),b}}(),v=function(){function _(b){(function(g,h){if(!(g instanceof h))throw new TypeError("Cannot call a class as a function")})(this,_),this.api=b}return f(_,[{key:"handleCatch",value:function(b){if("InvalidInputException"!==b.name)throw b;if(this.api._options.valid===this.api._defaults.valid)throw b.message;this.api._options.valid(!1),this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(b){try{var g=b.apply(void 0,arguments);return this.api._options.valid(!0),g}catch(h){return this.handleCatch(h),this.api}}}]),_}();u.default=v}]);